/* Overlay */
.extendons-mvp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

/* Dialog */
.extendons-mvp-dialog {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 750px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Header */
.extendons-mvp-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
}
.extendons-mvp-close {
    font-size: 28px;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}
.extendons-mvp-close:hover { color: #333; }

/* Content */
.extendons-mvp-content {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}
.extendons-mvp-product-container {
    display: flex;
    gap: 40px;
}
.extendons-mvp-product-image {
    flex: 0 0 300px;
    background: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.extendons-mvp-product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Details */
.extendons-mvp-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}
.extendons-mvp-color-label {
    font-size: 14px;
    margin-bottom: 15px;
}
.extendons-mvp-color-label strong { color: #333; }


.extendons-mvp-color-swatch {
    border-radius: 50%;
}


/* Sizes */
.extendons-mvp-size-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}
.extendons-mvp-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.extendons-mvp-size-option {
    width: 60px;
    height: 45px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}
.extendons-mvp-size-option:hover { border-color: #999; }
.extendons-mvp-size-option.extendons-mvp-selected {
    border-color: #46847b;
    background: #46847b;
    color: #fff;
}

/* Footer */
.extendons-mvp-footer {
    padding: 20px 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
}
.extendons-mvp-update {
    background: #46847b;
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.extendons-mvp-update:hover { background: #3a6e66; }

/* Trigger button */
.extendons-mvp-trigger {
    background: #46847b;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 20px auto;
    display: block;
}
.extendons-mvp-trigger:hover { background: #3a6e66; }

@media (max-width:768px) {
    .extendons-mvp-product-container {
        flex-direction: column;
        gap: 20px;
    }
    .extendons-mvp-product-image { flex:0 0 auto; }
    .extendons-mvp-content { padding:20px; }
}





.extendons-mvp-update.extendons-mvp-out-of-stock {
    background: #cccccc;
    cursor: not-allowed;
}

.extendons-vs-variation-radio-btn.disabled-option {
    cursor: not-allowed;
    pointer-events: none;
}


dt.variation-extendons_btn_change_variation{
    display: none !important;
}



.wc-block-components-product-details__extendons-btn-change-variation 
.wc-block-components-product-details__name {
    display: none !important;
}

.wc-block-components-product-details__extendons-btn-change-variation 
.wc-block-components-product-details__value {
  display: none ;
  
}



.extendons-vs-dropdown-style {
    position: relative;
    display: inline-block;
    min-width: 200px;
}

.extendons-vs-dropdown-button {
    padding: 10px 35px 10px 15px;
    background: #333;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    position: relative;
}

.extendons-vs-dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    transition: transform 0.2s;
}

.extendons-vs-dropdown-style.open .extendons-vs-dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.extendons-vs-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgb(2, 10, 22);
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.extendons-vs-dropdown-list.active {
    display: block;
}

.extendons-vs-dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex !important;
    align-items: center;
    background: white;
}

.extendons-vs-dropdown-item:last-child {
    border-bottom: none;
}

.extendons-vs-dropdown-item:hover {
    background: #f5f5f5;
}

.extendons-vs-dropdown-item input[type="radio"] {
    display: none;
}

.extendons-vs-dropdown-item .extendons-vs-round-variation-radios,
.extendons-vs-dropdown-item .extendons-vs-square-variation-radios {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}

.extendons-vs-dropdown-item .extendons-vs-tooltiptext,
.extendons-vs-dropdown-item .ext-vs-radio-span {
    display: inline !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 14px;
    color: #333;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* .extendons-vs-dropdown-item .extendons-vs-image img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    /* border-radius: 2px; 
}
 */

.extendons-vs-dropdown-item.extendons-vs-blur .extendons-vs-tooltiptext {
    color: #ccc;
}



.extendons-vs-tooltip {
    /* display:inline-table !important; */
}

.extendons-vs-custom-attribute-options {
    /* display: inline-block; */
    /* display: inline; */
}

.extendons-vs-custom-attribute-options {
  /* display: unset !important; */
}

.extendons-vs-custom-attribute-options {
  display: inline-block !important;
}


.change-variation-btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #d5d5d5; /* WooCommerce blue */
    color: #333333;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border: none;
    text-decoration: none;
}

/* Add hover effect
.change-variation-btn:hover {
    background-color: #005f87;
} */



.wc-block-components-product-details__extendons-btn-change-variation 
.wc-block-components-product-details__name {
    display: none !important;
}
