/* ==========================================================
   Woo Custom Wishlist by Medidenta
   ========================================================== */

:root {
    --wcw-primary: #163f8f;
    --wcw-primary-dark: #0f2f6f;
    --wcw-success: #047857;
    --wcw-success-bg: #ecfdf5;
    --wcw-danger: #b42318;
    --wcw-danger-bg: #fee4e2;
    --wcw-text: #111827;
    --wcw-muted: #6b7280;
    --wcw-border: #e5e7eb;
    --wcw-border-dark: #d1d5db;
    --wcw-bg-soft: #f7f8fa;
    --wcw-white: #ffffff;
    --wcw-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    --wcw-font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

/* Apply Montserrat to all Wishlist elements */
.wcw-add-message,
.wcw-form-message,
.wcw-variation-error,
.wcw-variation-selector,
.wcw-variation-card-selector,
.wcw-product-wishlist-box,
.wcw-floating-button,
.wcw-popup-overlay,
.wcw-popup,
.wcw-popup button,
.wcw-popup input,
.wcw-popup select,
.wcw-popup textarea {
    font-family: var(--wcw-font-family);
}

/* ==========================================================
   General Messages
   ========================================================== */

.wcw-add-message,
.wcw-form-message,
.wcw-variation-error {
    width: 100%;
    margin-top: 0;
    font-size: 14px;
    font-weight: 700;
}

.wcw-add-message.is-success,
.wcw-form-message.is-success {
    color: var(--wcw-success);
}

.wcw-add-message.is-error,
.wcw-form-message.is-error,
.wcw-variation-error {
    color: var(--wcw-danger);
}

/* ==========================================================
   Variation Cards / Selection Grid
   ========================================================== */

.wcw-variation-selector,
.wcw-variation-card-selector {
    width: 100%;
    max-width: 100%;
    margin: 18px 0 22px;
    box-sizing: border-box;
}

.wcw-variation-selector *,
.wcw-variation-selector *::before,
.wcw-variation-selector *::after {
    box-sizing: border-box;
}

.wcw-variation-heading {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--wcw-text);
    font-family: var(--wcw-font-family);
}

.wcw-variation-options {
    width: 100%;
    max-width: 100%;
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 18px;
    margin: 0;
}

.vo-variation-card,
.wcw-variation-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex !important;
    gap: 15px;
    align-items: center;
    padding: 15px;
    border: 1px solid #d1d5db;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    box-shadow: none;
    transform: none;
    font-family: var(--wcw-font-family);
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.vo-variation-card:hover,
.wcw-variation-card:hover {
    border-color: var(--wcw-primary);
    background: #fbfdff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.vo-variation-card:active,
.wcw-variation-card:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.vo-variation-card.is-selected,
.wcw-variation-card.is-selected {
    border: 2px solid var(--wcw-primary);
    background: #f8fbff;
    box-shadow:
        0 0 0 3px rgba(22, 63, 143, 0.12),
        0 8px 22px rgba(0, 0, 0, 0.08);
}

.vo-variation-card.is-selected::after,
.wcw-variation-card.is-selected::after {
    display: none !important;
    content: none !important;
}

.vo-variation-card:focus,
.wcw-variation-card:focus {
    outline: none;
}

.vo-variation-card:focus-visible,
.wcw-variation-card:focus-visible {
    outline: 3px solid rgba(22, 63, 143, 0.25);
    outline-offset: 2px;
}

.vo-variation-image {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    border-radius: 0;
    background: #f8fafc;
    border: 1px solid #edf0f3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vo-variation-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.vo-variation-content {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.vo-variation-content h4 {
    margin: 0 0 8px;
    padding: 0;
    font-size: 15px !important;
    line-height: 1.35;
    font-weight: 600 !important;
    color: var(--wcw-text);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    font-family: var(--wcw-font-family);
}

.vo-variation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.vo-variation-sku,
.vo-variation-price,
.vo-variation-stock {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.1;
    white-space: normal;
    overflow-wrap: anywhere;
    font-family: var(--wcw-font-family);
}

.vo-variation-sku {
    background: #f3f4f6;
    color: #374151;
}

.vo-variation-price {
    background: var(--wcw-success-bg);
    color: var(--wcw-success);
    font-weight: 700;
}

.vo-variation-price .woocommerce-Price-amount,
.vo-variation-price bdi,
.vo-variation-price .woocommerce-Price-currencySymbol {
    color: inherit;
    font-weight: inherit;
}

.vo-variation-stock {
    background: var(--wcw-danger-bg);
    color: var(--wcw-danger);
    font-weight: 700;
}

/* ==========================================================
   Add to Wishlist / Full Width Quantity Stepper
   ========================================================== */

.wcw-product-wishlist-box {
    width: 100%;
    max-width: 100%;
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wcw-qty-control {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wcw-qty-control label {
    margin: 0;
    color: var(--wcw-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: var(--wcw-font-family);
}

.wcw-qty-stepper {
    width: 100%;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: center;
    min-height: 52px;
    border: 1px solid var(--wcw-border-dark);
    background: #ffffff;
    overflow: hidden;
}

.wcw-qty-btn {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 0;
    background: #f8fafc;
    color: var(--wcw-text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    font-family: var(--wcw-font-family);
    transition: background 0.18s ease, color 0.18s ease;
}

.wcw-qty-btn:hover {
    background: var(--wcw-primary);
    color: #ffffff;
}

.wcw-qty-btn:active {
    background: var(--wcw-primary-dark);
    color: #ffffff;
}

.wcw-product-qty {
    width: 100%;
    height: 52px;
    min-height: 52px;
    padding: 0 10px;
    border: 0;
    border-left: 1px solid var(--wcw-border-dark);
    border-right: 1px solid var(--wcw-border-dark);
    border-radius: 0;
    background: #ffffff;
    color: var(--wcw-text);
    font-size: 17px;
    font-weight: 700;
    line-height: 52px;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
    font-family: var(--wcw-font-family);
}

.wcw-product-qty::-webkit-outer-spin-button,
.wcw-product-qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.wcw-product-qty:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(22, 63, 143, 0.22);
}

.wcw-add-to-wishlist-btn {
    border: 1px solid #122243;
    border-radius: 50px;
    color: #122243;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--wcw-font-family);
    padding: 10px 30px;
    width: 100%;
    min-height: 52px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.wcw-add-to-wishlist-btn:hover {
    background: var(--wcw-primary-dark);
    border-color: var(--wcw-primary-dark);
    color: #ffffff;
}

/* ==========================================================
   Floating Wishlist Button
   ========================================================== */

.wcw-floating-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 999998;
    min-height: 48px;
    border: 1px solid var(--wcw-primary);
    border-radius: 500px;
    padding: 12px 25px;
    background: var(--wcw-primary);
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.18);
    transition: all 0.18s ease;
}

.wcw-floating-button:hover {
    background: var(--wcw-primary-dark);
    border-color: var(--wcw-primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.wcw-floating-count,
.wcw-inline-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    margin-left: 7px;
    padding: 0 7px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--wcw-primary);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--wcw-font-family);
}

/* ==========================================================
   Wishlist Drawer - Right Side Cart Style
   ========================================================== */

.wcw-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
    background: rgba(17, 24, 39, 0.42);
}

.wcw-popup-overlay.is-open {
    display: flex;
}

.wcw-popup {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 100dvh;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border-left: 1px solid var(--wcw-border);
    border-radius: 0;
    box-shadow: -16px 0 34px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: wcwDrawerSlideIn 0.24s ease forwards;
}

@keyframes wcwDrawerSlideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.wcw-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border: 1px solid #d7d7d7;
    border-radius: 0;
    background: #ffffff;
    color: #1f2937;
    font-size: 26px;
    line-height: 28px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.18s ease;
}

.wcw-popup-close:hover {
    background: var(--wcw-primary);
    border-color: var(--wcw-primary);
    color: #ffffff;
}

.wcw-popup-step {
    display: none;
    height: 100%;
    min-height: 0;
}

.wcw-popup-step.is-active {
    display: flex;
    flex-direction: column;
}

.wcw-popup-step h3 {
    margin: 0;
    padding: 28px 66px 8px 24px;
    color: var(--wcw-text);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-family: var(--wcw-font-family);
}

.wcw-popup-step p {
    margin: 0;
    padding: 0 24px 18px;
    color: var(--wcw-muted);
    font-size: 14px;
    line-height: 1.55;
    font-family: var(--wcw-font-family);
}

/* ==========================================================
   Drawer Product List
   ========================================================== */

.wcw-wishlist-items {
    flex: 1;
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    border-top: 1px solid var(--wcw-border);
    background: #ffffff;
}

.wcw-empty-list {
    margin: 24px;
    padding: 24px 18px;
    border: 1px dashed #cfd4dc;
    border-radius: 0;
    background: #f8fafc;
    color: var(--wcw-muted);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    font-family: var(--wcw-font-family);
}

.wcw-wishlist-item {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 32px;
    gap: 14px;
    align-items: start;
    padding: 18px 24px;
    border-bottom: 1px solid var(--wcw-border);
    background: #ffffff;
}

.wcw-wishlist-item:hover {
    background: #fbfdff;
}

.wcw-item-image {
    width: 76px;
    height: 76px;
    background: #f7f8fa;
    border: 1px solid #edf0f3;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcw-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.wcw-item-info {
    min-width: 0;
    padding-right: 4px;
}

.wcw-item-info strong {
    display: block;
    margin: 0 0 7px;
    color: var(--wcw-text);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    font-family: var(--wcw-font-family);
}

.wcw-item-info span {
    display: block;
    margin-bottom: 4px;
    color: var(--wcw-muted);
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 500;
    font-family: var(--wcw-font-family);
}

.wcw-item-info a {
    display: inline-block;
    margin-top: 3px;
    color: var(--wcw-primary);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    font-family: var(--wcw-font-family);
}

.wcw-item-info a:hover {
    text-decoration: underline;
}

.wcw-remove-item {
    width: 30px;
    height: 30px;
    border: 1px solid var(--wcw-border);
    border-radius: 0;
    background: #ffffff;
    color: var(--wcw-muted);
    font-size: 22px;
    line-height: 24px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.18s ease;
}

.wcw-remove-item:hover {
    border-color: var(--wcw-danger);
    background: #fff5f5;
    color: var(--wcw-danger);
}

.wcw-item-qty {
    grid-column: 2 / 4;
    display: grid;
    grid-template-columns: auto 92px;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.wcw-item-qty label {
    margin: 0;
    color: var(--wcw-text);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-family: var(--wcw-font-family);
}

.wcw-item-qty input {
    width: 92px;
    min-height: 36px;
    padding: 6px 8px;
    border: 1px solid var(--wcw-border-dark);
    border-radius: 0;
    background: #ffffff;
    color: var(--wcw-text);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    font-family: var(--wcw-font-family);
}

.wcw-item-qty input:focus {
    outline: none;
    border-color: var(--wcw-primary);
    box-shadow: 0 0 0 2px rgba(22, 63, 143, 0.12);
}

/* ==========================================================
   Drawer Footer Actions
   ========================================================== */

.wcw-popup-actions {
    margin-top: auto;
    padding: 18px 24px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #ffffff;
    border-top: 1px solid var(--wcw-border);
}

.wcw-popup-actions button,
.wcw-find-dealer-btn,
.wcw-submit-request-btn,
.wcw-back-to-list-btn,
.wcw-clear-list-btn,
.wcw-popup-close-success,
.wcw-open-wishlist-btn,
.wcw-empty-cta-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 500px;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    cursor: pointer;
    box-shadow: none;
    font-family: var(--wcw-font-family);
    transition: all 0.18s ease;
}

.wcw-find-dealer-btn,
.wcw-submit-request-btn,
.wcw-empty-cta-btn {
    border: 1px solid var(--wcw-primary);
    background: var(--wcw-primary);
    color: #ffffff !important;
}

.wcw-find-dealer-btn:hover,
.wcw-submit-request-btn:hover,
.wcw-empty-cta-btn:hover {
    border-color: var(--wcw-primary-dark);
    background: var(--wcw-primary-dark);
    color: #ffffff;
}

.wcw-clear-list-btn,
.wcw-back-to-list-btn,
.wcw-popup-close-success,
.wcw-open-wishlist-btn {
    border: 1px solid var(--wcw-border-dark);
    background: #ffffff;
    color: var(--wcw-text);
}

.wcw-clear-list-btn:hover,
.wcw-back-to-list-btn:hover,
.wcw-popup-close-success:hover,
.wcw-open-wishlist-btn:hover {
    border-color: var(--wcw-primary);
    color: var(--wcw-primary);
    background: #f8fbff;
}

.wcw-find-dealer-btn:disabled,
.wcw-submit-request-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ==========================================================
   Drawer Form
   ========================================================== */

#wcw-wishlist-form {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.wcw-form-grid {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 24px 24px;
    overflow-y: auto;
    border-top: 1px solid var(--wcw-border);
    background: #ffffff;
}

.wcw-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.wcw-field-full {
    grid-column: auto;
}

.wcw-field label {
    color: var(--wcw-text);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    font-family: var(--wcw-font-family);
}

.wcw-field input,
.wcw-field select,
.wcw-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--wcw-border-dark);
    border-radius: 0;
    background: #ffffff;
    color: var(--wcw-text);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    font-family: var(--wcw-font-family);
}

.wcw-field textarea {
    min-height: 96px;
    resize: vertical;
}

.wcw-field input:focus,
.wcw-field select:focus,
.wcw-field textarea:focus {
    outline: none;
    border-color: var(--wcw-primary);
    box-shadow: 0 0 0 2px rgba(22, 63, 143, 0.12);
}

.wcw-form-message {
    padding: 0 24px;
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
}

.wcw-empty-steps {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
    margin-bottom: 50px;
    font-family: var(--wcw-font-family);
}

/* ==========================================================
   Success State
   ========================================================== */

.wcw-step-success {
    justify-content: center;
    align-items: stretch;
    padding: 32px 24px;
    text-align: center;
}

.wcw-step-success h3 {
    padding: 0;
    margin: 0 0 10px;
    font-size: 24px;
    font-family: var(--wcw-font-family);
}

.wcw-step-success p {
    padding: 0;
    margin: 0 0 22px;
    font-family: var(--wcw-font-family);
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 900px) {
    .wcw-variation-options {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 520px) {
    .wcw-popup {
        max-width: 100%;
        width: 100%;
    }

    .wcw-popup-step h3 {
        padding: 24px 62px 8px 18px;
        font-size: 21px;
    }

    .wcw-popup-step p {
        padding: 0 18px 16px;
    }

    .wcw-wishlist-item {
        grid-template-columns: 68px minmax(0, 1fr) 30px;
        gap: 12px;
        padding: 16px 18px;
    }

    .wcw-item-image {
        width: 68px;
        height: 68px;
    }

    .wcw-item-qty {
        grid-template-columns: auto 86px;
    }

    .wcw-item-qty input {
        width: 86px;
    }

    .wcw-form-grid,
    .wcw-popup-actions {
        padding-left: 18px;
        padding-right: 18px;
    }

    .wcw-floating-button {
        right: 16px;
        bottom: 16px;
        padding: 13px 16px;
    }

    .vo-variation-card,
    .wcw-variation-card {
        align-items: flex-start;
        gap: 12px;
        padding: 13px;
    }

    .vo-variation-image {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
    }

    .vo-variation-content h4 {
        font-size: 14px !important;
    }
}

/* ==========================================================
   Center X Icons
   ========================================================== */

.wcw-popup-close,
.wcw-remove-item {
    border-radius: 500px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0;

    text-align: center;
    line-height: 1 !important;
    font-family: Arial, Helvetica, sans-serif;
}

.wcw-popup-close {
    width: 34px;
    height: 34px;
    font-size: 26px;
    font-weight: 300;
}

.wcw-remove-item {
    width: 30px;
    height: 30px;
    font-size: 22px;
    font-weight: 300;
}


/* ==========================================================
   Select Boxes
   ========================================================== */

.wcw-uses-dropdown-variations .wcw-variation-options {
    display: none !important;
}

.wcw-variation-dropdown-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0 0 18px;
}

.wcw-variation-dropdown-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.wcw-variation-dropdown-field label {
    margin: 0;
    color: var(--wcw-text);
    font-family: var(--wcw-font-family, "Montserrat", Arial, Helvetica, sans-serif);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wcw-variation-dropdown-field select {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--wcw-border-dark);
    border-radius: 0;
    background: #ffffff;
    color: var(--wcw-text);
    font-family: var(--wcw-font-family, "Montserrat", Arial, Helvetica, sans-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.wcw-variation-dropdown-field select:focus {
    outline: none;
    border-color: var(--wcw-primary);
    box-shadow: 0 0 0 2px rgba(22, 63, 143, 0.12);
}

.wcw-variation-dropdown-field option:disabled {
    color: #9ca3af;
}


/* ==========================================================
   Empty Wishlist
   ========================================================== */
.wcw-empty-list {
    margin: 24px;
    padding: 30px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: var(--wcw-text);
    text-align: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.wcw-empty-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--wcw-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    line-height: 1;
    border: 1px solid rgba(22, 63, 143, 0.12);
}

.wcw-empty-list h3 {
    margin: 0 10px;
    color: var(--wcw-text);
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.wcw-empty-intro {
    max-width: 340px;
    margin: 0 auto 24px;
    padding: 0;
    color: var(--wcw-muted);
    font-size: 14px;
    line-height: 1.6;
}

.wcw-empty-process {
    display: grid;
    gap: 12px;
    margin: 0 0 26px;
    text-align: left;
}

.wcw-empty-step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.wcw-step-number {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--wcw-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.wcw-empty-step strong {
    display: block;
    margin: 0 0 4px;
    color: var(--wcw-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.wcw-empty-step p {
    margin: 0;
    padding: 0;
    color: var(--wcw-muted);
    font-size: 13px;
    line-height: 1.5;
}

.wcw-empty-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--wcw-primary);
    border: 1px solid var(--wcw-primary);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: all 0.18s ease;
}

.wcw-empty-cta-btn:hover {
    background: var(--wcw-primary-dark);
    border-color: var(--wcw-primary-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(22, 63, 143, 0.2);
}


/* ==========================================================
   Browse Button
   ========================================================== */
.wcw-browse-products-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 500px;
    padding: 12px 25px;
    border: 1px solid var(--wcw-primary);
    background: var(--wcw-primary);
    color: #ffffff !important;
    font-family: var(--wcw-font-family, "Montserrat", Arial, Helvetica, sans-serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.18s ease;
}

.wcw-browse-products-btn:hover {
    border-color: var(--wcw-primary-dark);
    background: var(--wcw-primary-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
}


.wcw-popup-actions:has(.wcw-browse-products-btn) {
    grid-template-columns: 1fr;
}

.wcw-browse-products-btn {
    display: flex;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
}

.wcw-popup-actions.wcw-popup-actions-single {
    grid-template-columns: 1fr;
}

.wcw-popup-actions-single .wcw-browse-products-btn {
    width: 100%;
    max-width: 100%;
}


.vo-variation-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.vo-variation-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.vo-variation-attribute {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f3f6;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.vo-variation-attribute-label {
    color: #666;
    font-weight: 600;
}

.vo-variation-attribute-value {
    color: #111;
    font-weight: 700;
}

.vo-variation-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 13px;
}

.vo-variation-sku {
    color: #555;
}

.vo-variation-price {
    font-weight: 700;
}


/***********************************/


/* ==========================================================
   WCW Custom Variation Select - Clean Elementor-Safe Styles
   Add this near the bottom of the wishlist CSS file
   ========================================================== */

.wcw-custom-select-variation-selector {
    width: 100%;
    max-width: 100%;
    margin: 18px 0 22px;
    font-family: var(--wcw-font-family, "Montserrat", Arial, Helvetica, sans-serif);
    color: var(--wcw-text, #111827);
}

.wcw-custom-select-variation-selector,
.wcw-custom-select-variation-selector *,
.wcw-custom-select-variation-selector *::before,
.wcw-custom-select-variation-selector *::after {
    box-sizing: border-box;
}

/* Prevent old variation card/dropdown styles from interfering */
.wcw-custom-select-variation-selector .wcw-variation-options,
.wcw-custom-select-variation-selector .wcw-variation-dropdown-selector {
    display: none !important;
}

.wcw-custom-select-variation-selector .wcw-variation-heading {
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: var(--wcw-text, #111827) !important;
    font-family: var(--wcw-font-family, "Montserrat", Arial, Helvetica, sans-serif) !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
}

/* ==========================================================
   Field Layout
   ========================================================== */

.wcw-custom-variation-fields {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.wcw-custom-select-field {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.wcw-custom-select-field label {
    display: block;
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: var(--wcw-text, #111827) !important;
    font-family: var(--wcw-font-family, "Montserrat", Arial, Helvetica, sans-serif) !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: 0.045em;
}

/* ==========================================================
   Elementor Button Reset
   ========================================================== */

.wcw-custom-select-toggle,
.wcw-custom-select-option {
    appearance: none !important;
    -webkit-appearance: none !important;

    margin: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;

    font-family: var(--wcw-font-family, "Montserrat", Arial, Helvetica, sans-serif) !important;

    box-shadow: none;
    outline: none;

    -webkit-tap-highlight-color: transparent;
}

.wcw-custom-select-toggle,
.wcw-custom-select-toggle:hover,
.wcw-custom-select-toggle:focus,
.wcw-custom-select-toggle:active,
.wcw-custom-select-option,
.wcw-custom-select-option:hover,
.wcw-custom-select-option:focus,
.wcw-custom-select-option:active {
    text-decoration: none !important;
}

/* ==========================================================
   Select Toggle
   ========================================================== */

.wcw-custom-select-toggle {
    width: 100% !important;
    min-height: 54px !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 30px;
    align-items: center;
    gap: 12px;

    padding: 12px 14px !important;

    border: 1px solid var(--wcw-border-dark, #d1d5db) !important;

    background: #ffffff !important;
    color: var(--wcw-text, #111827) !important;

    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
    text-align: left !important;

    cursor: pointer;

    transition:
        border-color 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.wcw-custom-select-toggle:hover {
    border-color: var(--wcw-primary, #163f8f) !important;
    background: #f8fbff !important;
    color: var(--wcw-text, #111827) !important;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.07);
}

.wcw-custom-select-toggle:focus,
.wcw-custom-select-toggle:focus-visible,
.wcw-custom-select-toggle.is-open {
    border-color: var(--wcw-primary, #163f8f) !important;
    background: #ffffff !important;
    color: var(--wcw-text, #111827) !important;
    box-shadow:
        0 0 0 3px rgba(22, 63, 143, 0.14),
        0 8px 20px rgba(15, 23, 42, 0.08) !important;
}

.wcw-custom-select-toggle:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06) !important;
}

.wcw-custom-select-value {
    display: block;
    min-width: 0;
    color: inherit;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wcw-custom-select-arrow {
    width: 30px;
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    background: #eff6ff;
    color: var(--wcw-primary, #163f8f);

    font-size: 15px;
    font-weight: 900;
    line-height: 1;

    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease;
}

.wcw-custom-select-toggle:hover .wcw-custom-select-arrow,
.wcw-custom-select-toggle.is-open .wcw-custom-select-arrow {
    background: var(--wcw-primary, #163f8f);
    color: #ffffff;
}

.wcw-custom-select-toggle.is-open .wcw-custom-select-arrow {
    transform: rotate(180deg);
}

/* ==========================================================
   Dropdown Menu
   ========================================================== */

.wcw-custom-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 9999;

    display: none;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;

    padding: 8px;

    border: 1px solid var(--wcw-border-dark, #d1d5db);

    background: #ffffff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.wcw-custom-select-menu.is-open {
    display: grid;
    gap: 6px;
}

.wcw-custom-select-menu::-webkit-scrollbar {
    width: 9px;
}

.wcw-custom-select-menu::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 999px;
}

.wcw-custom-select-menu::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.wcw-custom-select-menu::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ==========================================================
   Dropdown Options
   ========================================================== */

.wcw-custom-select-option {
    width: 100% !important;
    min-height: 44px !important;

    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding: 10px 12px !important;

    border: 1px solid transparent !important;

    background: #ffffff !important;
    color: var(--wcw-text, #111827) !important;

    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
    text-align: left !important;

    cursor: pointer;

    transition:
        border-color 0.16s ease,
        background-color 0.16s ease,
        color 0.16s ease,
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.wcw-custom-select-option:hover {
    border-color: rgba(22, 63, 143, 0.2) !important;
    background: #f8fbff !important;
    color: var(--wcw-primary, #163f8f) !important;
    transform: translateY(-1px);
}

.wcw-custom-select-option:focus,
.wcw-custom-select-option:focus-visible {
    outline: none !important;
    border-color: var(--wcw-primary, #163f8f) !important;
    background: #f8fbff !important;
    color: var(--wcw-primary, #163f8f) !important;
    box-shadow: 0 0 0 3px rgba(22, 63, 143, 0.12) !important;
}

.wcw-custom-select-option:active {
    transform: translateY(0);
    box-shadow: none !important;
}

.wcw-custom-select-option.is-selected {
    border-color: rgba(22, 63, 143, 0.28) !important;
    background: #eff6ff !important;
    color: var(--wcw-primary, #163f8f) !important;
    box-shadow: inset 3px 0 0 var(--wcw-primary, #163f8f);
}

.wcw-custom-select-option.is-selected::after {
    content: "✓";
    flex: 0 0 auto;

    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    background: var(--wcw-primary, #163f8f);
    color: #ffffff;

    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.wcw-custom-select-option.is-disabled,
.wcw-custom-select-option:disabled {
    opacity: 0.42 !important;
    cursor: not-allowed !important;
    pointer-events: none;

    border-color: transparent !important;
    background: #f9fafb !important;
    color: #9ca3af !important;

    transform: none !important;
    box-shadow: none !important;
}

.wcw-custom-select-option-title {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* ==========================================================
   Selected Variation Preview Card
   ========================================================== */

.wcw-selected-variation-card {
    width: 100%;
    max-width: 100%;
    margin-top: 16px;

    display: flex;
    gap: 14px;
    align-items: center;

    padding: 14px;

    border: 1px solid rgba(22, 63, 143, 0.18);

    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);

    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.wcw-selected-variation-image {
    flex: 0 0 78px;
    width: 78px;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #edf0f3;
    border-radius: 14px;

    background: #ffffff;
    overflow: hidden;
}

.wcw-selected-variation-image img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 7px;
    object-fit: contain;
}

.wcw-selected-variation-info {
    flex: 1;
    min-width: 0;

    display: grid;
    gap: 7px;
}

.wcw-selected-variation-title {
    display: block;
    margin: 0 !important;
    padding: 0 !important;

    color: var(--wcw-text, #111827) !important;
    font-family: var(--wcw-font-family, "Montserrat", Arial, Helvetica, sans-serif) !important;
    font-size: 14px !important;
    line-height: 1.3 !important;

    overflow-wrap: anywhere;
}

.wcw-selected-variation-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wcw-selected-variation-attribute {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    width: fit-content;
    max-width: 100%;

    padding: 4px 8px;
    border-radius: 999px;

    background: #f1f5f9;
    color: #334155;

    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;

    overflow-wrap: anywhere;
}

.wcw-selected-variation-attribute strong {
    color: #64748b;
    font-size: inherit;
    font-weight: 800;
}

.wcw-selected-variation-sku,
.wcw-selected-variation-price {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;

    padding: 5px 9px;
    border-radius: 999px;

    font-size: 12px;
    line-height: 1.1;

    overflow-wrap: anywhere;
}

.wcw-selected-variation-sku:empty,
.wcw-selected-variation-price:empty {
    display: none;
}

.wcw-selected-variation-sku {
    background: #f3f4f6;
    color: #374151;
    font-weight: 800;
}

.wcw-selected-variation-price {
    background: var(--wcw-success-bg, #ecfdf5);
    color: var(--wcw-success, #047857);
    font-weight: 900;
}

.wcw-selected-variation-price .woocommerce-Price-amount,
.wcw-selected-variation-price bdi,
.wcw-selected-variation-price .woocommerce-Price-currencySymbol {
    color: inherit !important;
    font-weight: inherit !important;
}

/* ==========================================================
   Error Message
   ========================================================== */

.wcw-custom-select-variation-selector .wcw-variation-error {
    margin-top: 10px;
    color: var(--wcw-danger, #b42318) !important;
    font-family: var(--wcw-font-family, "Montserrat", Arial, Helvetica, sans-serif) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4;
}

/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 520px) {
    .wcw-custom-select-variation-selector .wcw-variation-heading {
        font-size: 17px !important;
    }

    .wcw-custom-variation-fields {
        gap: 12px;
    }

    .wcw-custom-select-toggle {
        min-height: 52px !important;
        grid-template-columns: minmax(0, 1fr) 28px;
        border-radius: 12px !important;
        padding: 11px 13px !important;
    }

    .wcw-custom-select-arrow {
        width: 28px;
        height: 28px;
    }

    .wcw-custom-select-menu {
        max-height: 235px;
    }

    .wcw-custom-select-option {
        min-height: 42px !important;
        border-radius: 10px !important;
    }

    .wcw-selected-variation-card {
        align-items: flex-start;
        gap: 12px;
        padding: 13px;
        border-radius: 16px;
    }

    .wcw-selected-variation-image {
        flex-basis: 66px;
        width: 66px;
        height: 66px;
        border-radius: 12px;
    }

    .wcw-selected-variation-title {
        font-size: 13.5px !important;
    }
}