/* ========================================
   WOO COMMERCE PRODUCT CARD GRID PLUGIN
   v3.4.1 — Safari/Mac Fixed
   ======================================== */

/* ===== GRID ===== */
.woo-product-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.woo-product-card button.woo-size-chart-link{
    border: none;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins' !important;
}
button.woo-size-chart-link:focus{
    background: none;
    color: #2B56AC;
}
button.woo-cart-trigger-btn span.woo-cart-trigger-icon {
    color: white;
}
button.woo-cart-trigger-btn span.woo-cart-trigger-icon:hover {
    color: black;
}
button.woo-size-chart-link:hover{
    background: none;
    color: #2B56AC;
}
.rz-csr-couriers {
    display: none;
}

/* ===== CARD ===== */
.woo-product-card {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 10px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    min-height: 480px;
    animation: fadeIn 0.3s ease both;
}
.woo-product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-6px);
    background: #fff;
}

/* ===== WISHLIST BUTTON ===== */
.woo-card-wishlist {
    position: absolute;
    top: 18px;
    right: 15px;
    z-index: 10;
}
.woo-wishlist-btn {
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    font-size: 24px;
    padding: 0;
    line-height: 1;
    position: relative;
    overflow: hidden;
}
.woo-wishlist-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(233,75,60,0.3);
}
.woo-heart-empty {
    position: absolute;
    color: #bbb;
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 1;
    transform: scale(1);
    line-height: 1;
}
.woo-heart-filled {
    position: absolute;
    color: #E94B3C;
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.36, 0.07, 0.19, 0.97);
    opacity: 0;
    transform: scale(0.4);
    line-height: 1;
}
.woo-wishlist-btn.active .woo-heart-empty  { opacity: 0; transform: scale(0.4); }
.woo-wishlist-btn.active .woo-heart-filled { opacity: 1; transform: scale(1);   }
.woo-wishlist-btn:not(.active):hover .woo-heart-empty { color: #E94B3C; }

@keyframes heartPop {
    0%   { transform: scale(1);   }
    40%  { transform: scale(1.4); }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1);   }
}
.woo-wishlist-btn.woo-heart-pop .woo-heart-filled { animation: heartPop 0.4s ease forwards; }

/* ===== PRODUCT IMAGE ===== */
.woo-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    border-radius: 12px;
    border: 1px solid #E2E2E2;
    overflow: hidden;
    position: relative;
}

/* Full-cover invisible link — sits above slides, below wishlist btn */
.woo-card-image-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
}

/* Single-image fallback (no gallery) — keeps the scale-on-hover */
.woo-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}
.woo-product-card:hover .woo-product-img { transform: scale(1.08); }

.woo-no-img-text {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; color: #ccc; font-size: 14px;
}

/* ===== IMAGE SLIDER ===== */
.woo-img-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.woo-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease;
    display: block;
}

.woo-slide.active {
    opacity: 1;
}

.woo-slide-dots {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 3;
    pointer-events: none;
}

.woo-slide-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.woo-slide-dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

/* ===== RATING (on image) ===== */
.woo-card-rating {
    position: absolute;
    bottom: 12px; left: 12px;
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; padding: 6px 10px;
    background: rgba(255,255,255,0.95);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    z-index: 5;
}
.woo-star {
    font-weight: 600; color: #000000; font-family: 'Poppins';
    font-size: 14px; display: flex; align-items: center; gap: 3px; white-space: nowrap;
}
.woo-reviews { color: #999; font-size: 11px; }

/* ===== TITLE ===== */
.woo-card-title {
    font-size: 16px; font-family: 'Poppins'; font-weight: 500; color: #000000;
    margin: 0; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
}
.woo-card-title a { color: #333; text-decoration: none; transition: color 0.2s ease; }
.woo-card-title a:hover { color: #0066cc; }

/* ===== PRICE ===== */
.woo-card-price { display: flex; align-items: center; gap: 8px; margin: 0; min-height: 26px; }
.woo-price-current {
    display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
    font-size: 18px; font-family: 'Poppins'; font-weight: 600; color: #000;
    transition: all 0.2s ease;
}
.woo-sale-price     { font-size: 16px; font-weight: 700; font-family: 'Poppins'; color: #000; }
.woo-original-price { font-size: 13px; color: #919191; font-family: 'Poppins'; text-decoration: line-through; }
.woo-on-sale {
    display: inline-block; visibility: hidden;
    background: #E94B3C; color: white;
    padding: 2px 6px; border-radius: 3px; font-size: 10px; font-weight: 600;
}
.woo-price-current .woocommerce-Price-amount { font-size: 15px; font-weight: 700; color: #000; }

/* ===== PRICE + SIZE ON SAME ROW ===== */
.woo-price-size-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; flex-wrap: wrap; }
.woo-price-size-row .woo-card-price           { flex-shrink: 0; min-width: 0; }
.woo-price-size-row .woo-card-sizes-container { flex: 1; display: flex; justify-content: flex-end; margin: 0; min-width: 0; }
.woo-price-size-row .woo-card-sizes           { justify-content: flex-end; flex-wrap: wrap; gap: 4px; }

/* ===== SEE SIZE CHART LINK ===== */
.woo-size-chart-link {
    display: inline-block; font-size: 13px; font-family: 'Poppins'; font-weight: 600;
    color: #0066cc; text-decoration: underline; text-underline-offset: 2px;
    cursor: pointer; background: none; border: none; padding: 0; margin: 0;
    line-height: 1.4; transition: color 0.2s ease;
}
.woo-size-chart-link:hover { color: #0052a3; text-decoration: underline; }

/* ===== SIZES ===== */
.woo-card-sizes-container { margin: 8px 0; border-radius: 4px; transition: outline 0.2s ease; }
.woo-card-sizes-container.woo-selection-required {
    outline: 2px solid #E94B3C;
    animation: shakeRequired 0.4s ease;
}
@keyframes shakeRequired {
    0%,100% { transform: translateX(0);    }
    20%      { transform: translateX(-4px); }
    40%      { transform: translateX(4px);  }
    60%      { transform: translateX(-4px); }
    80%      { transform: translateX(4px);  }
}
.woo-card-sizes { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.woo-size-btn {
    padding: 7px 10px !important;
    border: 1px solid #CECECE !important;
    background: white; border-radius: 4px !important;
    font-size: 13px; font-family: 'Poppins' !important; font-weight: 500 !important;
    cursor: pointer; transition: all 0.2s ease; color: #333; text-align: center; line-height: 1;
    min-width: 34px;
}
.woo-size-btn:hover { border-color: #254E34; color: #254E34; background: #254E341A; transform: translateY(-1px); }
.woo-size-btn.active { background: #254E341A; color: #254E34 !important; border-color: #254E34 !important; font-weight: 600; }

.woo-oos-wrap.woo-oos-hidden {
    display: none !important;
}

.woo-size-btn.woo-size-oos {
    color: #bbb !important;
    border-color: #e0e0e0 !important;
    background: #fafafa !important;
    cursor: not-allowed !important;
    position: relative;
    overflow: hidden;
}
.woo-size-btn.woo-size-oos::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 4px;
    right: 4px;
    height: 1px;
    background: #ccc;
    transform: rotate(-30deg);
}
.woo-size-btn.woo-size-oos:hover {
    border-color: #e0e0e0 !important;
    color: #bbb !important;
    background: #fafafa !important;
    transform: none !important;
}
.woo-size-btn.woo-size-oos.active {
    background: #f5f5f5 !important;
    color: #999 !important;
    border-color: #ccc !important;
}

.woo-btn-add-to-cart.woo-btn-oos {
    background: #9ca3af !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}
.woo-btn-add-to-cart.woo-btn-oos:hover {
    background: #9ca3af !important;
    transform: none !important;
}

/* ===== ADD TO CART ===== */
.woo-btn-add-to-cart {
    width: 100%; padding: 11px 0 !important;
    background: #254E34; color: white; border: none; border-radius: 62px !important;
    font-size: 15px; font-weight: 600 !important; cursor: pointer; font-family: 'Poppins';
    transition: background 0.2s ease, box-shadow 0.2s ease;
    margin-top: auto; text-transform: uppercase; letter-spacing: 0.5px;
}
.woo-btn-add-to-cart:hover  { background: #333; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.woo-btn-add-to-cart.loading{ opacity: 0.7; pointer-events: none; cursor: wait; }
.woo-btn-add-to-cart.added  { background: #27ae60; cursor: pointer; }
.woo-btn-add-to-cart.added:hover { background: #219a52; }

/* (rz-cart-shipping-wrap legacy override removed — pincode block is now
   .rz-pin-box, styled at the end of this file under "RAVEZA PIN-BOX") */

/* ===== FOCUS / ACCESSIBILITY ===== */
.woo-wishlist-btn:focus,
.woo-size-btn:focus,
.woo-btn-add-to-cart:focus,
.woo-size-chart-link:focus { outline: 1.5px solid #254E34; outline-offset: 0px; }

/* ===== MISC ===== */
.woo-no-products { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: #999; }
.woo-product-cards-wrapper { width: 100%; }

/* ==================================================
   GRID HEADER BAR
   ================================================== */
.woo-grid-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
}
.woo-grid-header-left  { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.woo-grid-heading      { font-size: 20px; font-family: 'Poppins', sans-serif; font-weight: 700; color: #111; line-height: 1.3; }
.woo-grid-count        { font-size: 14px; font-family: 'Poppins', sans-serif; font-weight: 400; color: #888; line-height: 1.3; }
.woo-grid-header-right { display: flex; align-items: center; gap: 10px; }
.woo-sort-dropdown     { position: relative; }
.woo-sort-btn {
    display: flex; align-items: center; gap: 6px; padding: 8px 14px;
    background: #fff; border: 1.5px solid #e0e0e0; border-radius: 8px;
    font-size: 13px; font-family: 'Poppins', sans-serif; font-weight: 400;
    color: #444; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap; line-height: 1.4;
}
.woo-sort-btn strong    { font-weight: 600; color: #111; }
.woo-sort-btn:hover     { border-color: #bbb; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.woo-sort-caret         { transition: transform 0.2s ease; flex-shrink: 0; color: #666; }
.woo-sort-dropdown.open .woo-sort-caret { transform: rotate(180deg); }
.woo-sort-menu {
    position: absolute; top: calc(100% + 6px); right: 0; min-width: 190px;
    background: #fff; border: 1.5px solid #e0e0e0; border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); padding: 6px 0; margin: 0;
    list-style: none; z-index: 9990; opacity: 0; pointer-events: none;
    transform: translateY(6px); transition: opacity 0.18s ease, transform 0.18s ease;
}
.woo-sort-dropdown.open .woo-sort-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.woo-sort-option {
    padding: 9px 16px; font-size: 13px; font-family: 'Poppins', sans-serif;
    font-weight: 400; color: #444; cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    display: flex; align-items: center; gap: 8px;
}
.woo-sort-option:hover                    { background: #f5f5f5; color: #111; }
.woo-sort-option.active                   { font-weight: 600; color: #254E34; background: #f0f7f3; }
.woo-sort-option.active::before           { content: '✓'; font-size: 12px; color: #254E34; font-weight: 700; width: 14px; flex-shrink: 0; }
.woo-sort-option:not(.active)::before     { content: ''; width: 14px; flex-shrink: 0; display: inline-block; }
.woo-product-cards-grid.woo-grid-loading  { opacity: 0.45; pointer-events: none; transition: opacity 0.2s ease; }

@media (max-width: 600px) {
    .woo-grid-header { flex-direction: column; align-items: center; }
    .woo-grid-header-right { align-self: center; }
    .woo-grid-header-left { align-items: center; justify-content: center; width: 100%; }
    .woo-sort-menu { right: auto; left: 50%; transform: translateX(-50%); min-width: 190px; }
}

/* ===== TOAST NOTIFICATION ===== */
button#woo-bis-submit {
    width: 100% !important;
    background-color: #076524 !important;
    color: white !important;
}
/* Hide on desktop (default) */
button.woo-filter-mobile-toggle,
button.woo-filter-mobile-close {
    display: none;
}

/* Show only on mobile screens */
@media (max-width: 768px) {
    button.woo-filter-mobile-toggle,
    button.woo-filter-mobile-close {
        display: inline-block; /* or block if needed */
    }
}
.woo-notification {
    position: fixed; bottom: 20px; right: 20px; padding: 14px 20px;
    border-radius: 4px; z-index: 99999; font-size: 14px; font-weight: 500;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25); animation: slideInNotification 0.3s ease both;
    max-width: 300px; color: white; background: #4CAF50;
}
.woo-notification.error   { background: #f44336; }
.woo-notification.info    { background: #2196F3; }
.woo-notification.success { background: #4CAF50; }

/* ==================================================
   "ADDED TO BAG" TOAST (Myntra-style)
   Fixed top-right, product thumbnail + label, auto-dismiss in 3s.
   Single instance — replaces previous toast on rapid clicks.
   ================================================== */
.woo-added-toast {
    position: fixed;
    top: 90px;            /* sits just under typical header */
    right: 24px;
    z-index: 100000;      /* above sidebar overlay (99998) */
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
    max-width: 320px;
    padding: 10px 16px 10px 10px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    pointer-events: none;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    will-change: opacity, transform;
}
.woo-added-toast.show {
    opacity: 1;
    transform: translateX(0);
}
.woo-added-toast-thumb {
    flex-shrink: 0;
    width: 48px;
    height: 56px;
    background: #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.woo-added-toast-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.woo-added-toast-text {
    flex: 1;
    color: #fff;
    letter-spacing: 0.2px;
}
@media (max-width: 600px) {
    .woo-added-toast {
        top: 72px;
        right: 12px;
        left: 12px;
        min-width: 0;
        max-width: none;
    }
}

/* ==================================================
   "GO TO CART" button state on product cards
   Same shape as ADD TO BAG, slightly lighter so users
   can tell at a glance the size is already in their bag.
   ================================================== */
.woo-btn-add-to-cart.woo-btn-go-to-cart {
    background: #ffffff;
    color: #254E34;
    border: 1.5px solid #254E34;
    font-weight: 700;
    transition: background 0.18s ease, color 0.18s ease;
}
.woo-btn-add-to-cart.woo-btn-go-to-cart:hover,
.woo-btn-add-to-cart.woo-btn-go-to-cart:focus {
    background: #254E34;
    color: #ffffff;
}

/* ==================================================
   WISHLIST PAGE
   ================================================== */
.woo-wishlist-page { max-width: 1200px; margin: 0 auto; padding: 20px 0 60px; }

.woo-wishlist-header { margin-bottom: 32px; }
.woo-wishlist-page-title {
    font-size: 44px; font-weight: 600; color: #000000;
    font-family: "Montserrat", Sans-serif;
    margin: 0 0 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.woo-wishlist-count-badge {
    font-size: 28px; font-weight: 600; color: #888; font-family: "Montserrat", Sans-serif;
}
.woo-wishlist-items-label {
    font-size: 28px; font-weight: 600; color: #888; font-family: "Montserrat", Sans-serif;
}

.woo-wishlist-header-line {
    width: 60px;
    height: 3px;
    background: #B8860B;
    border-radius: 2px;
}

.woo-wishlist-subtitle    { display: none; }
.woo-wishlist-login-link  { display: none; }
.woo-wishlist-guest-notice { display: none; }
.woo-notice-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.woo-wishlist-guest-notice a { color: #0066cc; font-weight: 600; }
.woo-wishlist-loading { text-align: center; padding: 60px 20px; color: #888; }
.woo-wishlist-spinner {
    width: 40px; height: 40px; border: 4px solid #f0f0f0; border-top-color: #E94B3C;
    border-radius: 50%; animation: spinnerRotate 0.8s linear infinite; margin: 0 auto 16px;
}
@keyframes spinnerRotate { to { transform: rotate(360deg); } }
.woo-wishlist-empty { text-align: center; padding: 80px 20px; color: #999; }
.woo-wishlist-empty-icon { font-size: 64px; color: #ddd; line-height: 1; margin-bottom: 16px; }
.woo-wishlist-empty h3   { font-size: 22px; color: #555; margin: 0 0 10px; }
.woo-wishlist-empty p    { font-size: 15px; margin: 0 0 24px; }
.woo-wishlist-shop-btn {
    display: inline-block; padding: 13px 30px; background: #000; color: white;
    border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.2s ease;
}
.woo-wishlist-shop-btn:hover { background: #333; color: white; }

/* ===== WISHLIST CARD ACTION ROW ===== */
.woo-wishlist-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.woo-wishlist-delete-btn {
    flex-shrink: 0;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    background: #f5f5f5 !important;
    border: 1.5px solid #ddd !important;
    border-radius: 8px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 0;
    line-height: 1;
}
.woo-wishlist-delete-btn:hover {
    background: #fff0f0 !important;
    border-color: #E94B3C !important;
    color: #E94B3C !important;
    transform: none !important;
    box-shadow: none !important;
}
.woo-wishlist-delete-btn svg { pointer-events: none; }

.woo-wishlist-action-row .woo-btn-add-to-bag {
    flex: 1;
    margin-top: 0 !important;
    padding: 11px 0 !important;
    font-size: 13px !important;
    letter-spacing: 0.8px !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0);    }
}
@keyframes slideInNotification {
    from { transform: translateX(110%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) { .woo-product-cards-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; } }
@media (max-width: 1024px) {
    .woo-product-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .woo-product-card { padding: 14px; gap: 10px; }
    .woo-card-title { font-size: 12px; }
}
@media (max-width: 768px) {
    .woo-product-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .woo-product-card { padding: 12px; gap: 8px; min-height: auto; }
    .woo-sale-price { font-size: 14px; }
    .woo-original-price { font-size: 11px; }
    .woo-price-current .woocommerce-Price-amount { font-size: 14px; }
    .woo-size-btn { padding: 6px 8px !important; font-size: 11px !important; min-width: 30px; }
    .woo-card-sizes { gap: 4px !important; }
    .woo-btn-add-to-cart { padding: 9px 12px; font-size: 12px; }
    .woo-wishlist-page-title { font-size: 26px; }
    .woo-wishlist-count-badge, .woo-wishlist-items-label { font-size: 18px; }
}

@media (max-width: 575px) {
    .woo-price-size-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .woo-price-size-row .woo-card-sizes-container {
        justify-content: flex-start;
        width: 100%;
    }
    .woo-price-size-row .woo-card-sizes {
        justify-content: flex-start;
        gap: 4px !important;
    }
    .woo-sale-price { font-size: 14px; font-weight: 700; }
    .woo-original-price { font-size: 11px; }
    .woo-size-btn {
        padding: 6px 9px !important;
        font-size: 11px !important;
        min-width: 28px;
    }
    .woo-card-sizes { gap: 4px !important; }
}

@media (max-width: 480px) {
    .woo-product-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .woo-product-card { min-height: auto; padding: 10px; }
    .woo-wishlist-btn { width: 40px; height: 40px; font-size: 18px; }
}

/* ==================================================
   SIZE CHART POPUP
   ================================================== */
.woo-size-chart-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65);
    z-index: 999998; opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
    display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box;
}
.woo-size-chart-overlay.open { opacity: 1; pointer-events: all; }
.woo-size-chart-popup {
    position: relative; background: #fff; border-radius: 12px; overflow-y: auto;
    max-width: 700px; width: 100%; max-height: 90vh;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    -webkit-transform: scale(0.88) translateY(20px);
    transform: scale(0.88) translateY(20px);
    transition: -webkit-transform 0.3s cubic-bezier(0.34, 1.25, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.25, 0.64, 1), opacity 0.25s ease;
    opacity: 0;
}
.woo-size-chart-overlay.open .woo-size-chart-popup {
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    opacity: 1;
}
.woo-size-chart-popup::-webkit-scrollbar       { width: 4px; }
.woo-size-chart-popup::-webkit-scrollbar-track { background: transparent; }
.woo-size-chart-popup::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
.woo-size-chart-close {
    position: absolute; top: 10px; right: 10px; z-index: 10;
    background: rgba(0, 0, 0, 0.55); border: none; border-radius: 50%;
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #fff; transition: background 0.2s ease, transform 0.15s ease;
    padding: 0; line-height: 1; flex-shrink: 0;
}
.woo-size-chart-close:hover { background: rgba(0, 0, 0, 0.85); transform: scale(1.1); }
.woo-size-chart-close:focus { outline: 2px solid #fff; outline-offset: 2px; }
.woo-size-chart-skeleton {
    display: block; width: 100%; height: 420px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
    background-size: 200% 100%; animation: scSkeleton 1.2s infinite; border-radius: 12px;
}
@keyframes scSkeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.woo-size-chart-img { display: block; width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 480px) {
    .woo-size-chart-overlay { padding: 12px; }
    .woo-size-chart-popup   { border-radius: 8px; }
    .woo-size-chart-skeleton{ height: 260px; }
}

/* ==================================================
   CART SIDEBAR
   FIX: Added -webkit- prefixes + will-change for Safari/Mac
   ================================================== */
.woo-cart-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45);
    z-index: 99998; opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
    /* FIX: GPU acceleration for smooth Safari animation */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.woo-cart-overlay.open { opacity: 1; pointer-events: all; }

/* FIX: Cart sidebar — replaced translateX(100%) with explicit cross-browser fix */
.woo-cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 340px;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    /* FIX: Use -webkit- prefixed transform for Safari compatibility */
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    /* FIX: Transition on transform with webkit prefix */
    -webkit-transition: -webkit-transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    transition: -webkit-transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    /* FIX: Force GPU layer for Safari */
    will-change: transform;
    -webkit-overflow-scrolling: touch;
    /* FIX: Ensure sidebar is always in DOM flow and Safari sees it */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.woo-cart-sidebar.open {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
body.woo-cart-open { overflow: hidden; }

.woo-cart-sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid #f0f0f0; flex-shrink: 0;
}
.woo-cart-header-left  { display: flex; align-items: center; gap: 10px; }
.woo-cart-icon         { color: #333; display: flex; align-items: center; }
.woo-cart-sidebar-title{ font-size: 18px; font-family: 'Poppins'; font-weight: 700; color: #111; margin: 0; line-height: 1; }
.woo-cart-item-count   {
    background: #111; color: #fff; font-size: 11px; font-weight: 700;
    border-radius: 50%; width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.woo-cart-close-btn {
    background: none; border: none; cursor: pointer; color: #555;
    display: flex; align-items: center; justify-content: center;
    padding: 6px; border-radius: 50%; transition: background 0.2s ease, color 0.2s ease; line-height: 1;
}
.woo-cart-close-btn:hover { background: #f5f5f5; color: #111; }

.woo-cart-items-wrap {
    flex: 1; overflow-y: auto; padding: 12px 0; -webkit-overflow-scrolling: touch;
}
.woo-cart-items-wrap::-webkit-scrollbar       { width: 4px; }
.woo-cart-items-wrap::-webkit-scrollbar-track { background: transparent; }
.woo-cart-items-wrap::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.woo-cart-empty-msg { text-align: center; padding: 60px 20px; color: #999; font-size: 15px; }

.woo-cart-item {
    display: flex; gap: 14px; padding: 14px 20px;
    border-bottom: 1px solid #f5f5f5; animation: fadeIn 0.25s ease both;
}
.woo-cart-item:last-child { border-bottom: none; }

.woo-cart-item-image {
    width: 90px; height: 90px; flex-shrink: 0;
    border-radius: 6px; overflow: hidden; background: #f5f5f5; border: 1px solid #E2E2E2;
}
.woo-cart-item-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.woo-cart-item-details {
    flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0;
}
.woo-cart-item-price-size { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.woo-cart-item-price      { font-size: 15px; font-weight: 600; color: #000000; font-family: 'Poppins'; line-height: 1; }
.woo-cart-item-size {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 28px; height: 28px; padding: 0 8px;
    border: 1.5px solid #ddd; border-radius: 4px;
    font-size: 12px; font-weight: 600; color: #333; background: #fff; line-height: 1;
}

.woo-cart-item-qty-row {
    display: flex; align-items: center;
    border: 1.5px solid #ddd; border-radius: 30px;
    width: fit-content; overflow: hidden; height: 36px;
}
.woo-cart-qty-btn {
    background: none; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; font-size: 16px; font-weight: 600; color: #444;
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0; line-height: 1; padding: 0;
}
.woo-cart-qty-btn:hover { background: #f5f5f5; color: #111; }

.woo-cart-qty-display {
    font-size: 14px; font-weight: 600; color: #111;
    min-width: 28px; text-align: center; line-height: 36px;
    border-left: 1.5px solid #ddd; border-right: 1.5px solid #ddd; padding: 0 4px;
}

.woo-cart-sidebar-footer {
    padding: 16px 20px 24px; border-top: 1px solid #f0f0f0; flex-shrink: 0; background: #fff;
}
.woo-cart-subtotal-row    { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.woo-cart-subtotal-label  { font-size: 14px; color: #000000; font-family: 'Poppins'; font-weight: 500; }
.woo-cart-subtotal-value  { font-size: 18px; font-weight: 600; color: #254E34; font-family: 'Poppins'; line-height: 1; }

.woo-cart-goto-btn {
    display: block; width: 100%; padding: 14px 20px;
    background: #1a3d2b; color: #fff; text-align: center;
    border-radius: 40px; font-size: 15px; font-weight: 700; text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease; letter-spacing: 0.3px;
}
.woo-cart-goto-btn:hover  { background: #14522c; color: #fff; transform: translateY(-1px); }
.woo-cart-goto-btn:active { transform: scale(0.98); }

/* ── Cart Sidebar: Shipping Pincode Estimator ── */
.woo-cart-shipping-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.woo-cart-shipping-head { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #14532d; margin-bottom: 9px; }
.woo-cart-pin-row { display: flex; gap: 6px; align-items: center; }
.woo-cart-pin-input { flex: 1; height: 36px; border: 1.5px solid #86efac; border-radius: 7px; padding: 0 10px; font-size: 16px; outline: none; background: #fff; transition: border-color .2s; min-width: 0; }
.woo-cart-pin-input:focus { border-color: #16a34a; }
.woo-cart-pin-btn { height: 36px; padding: 0 14px; background: #254E34; color: #fff; border: none; border-radius: 7px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .18s; }
.woo-cart-pin-btn:hover { background: #1a3d28; }
.woo-cart-pin-btn:disabled { background: #9ca3af; cursor: not-allowed; }
.woo-cart-shipping-result { margin-top: 10px; }
.woo-csr-card { display: flex; align-items: flex-start; gap: 8px; background: #fff; border: 1px solid #d1fae5; border-radius: 7px; padding: 9px 11px; }
.woo-csr-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; font-size: 12px; }
.woo-csr-date { color: #1e293b; font-size: 13px; }
.woo-csr-charge { color: #dc2626; font-weight: 700; font-size: 13px; }
.woo-csr-free { color: #16a34a; font-weight: 700; font-size: 13px; }
.woo-csr-cod { font-size: 11px; background: #dcfce7; color: #15803d; padding: 1px 7px; border-radius: 10px; display: inline-block; width: fit-content; font-weight: 600; }
.woo-csr-courier { color: #6b7280; font-size: 11px; }
.woo-csr-error { background: #fef2f2; border: 1px solid #fecaca; border-radius: 7px; padding: 8px 11px; font-size: 12px; color: #dc2626; }
.woo-csr-more { margin-top: 8px; display: none !important; }
.woo-csr-row { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #6b7280; padding: 4px 0; border-top: 1px solid #f0fdf4; }
.woo-csr-row span:last-child { color: #374151; font-weight: 500; }
.woo-csr-promo { margin-top: 8px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 7px; padding: 7px 10px; font-size: 11px; color: #15803d; font-weight: 600; text-align: center; }

@media (max-width: 480px) {
    .woo-cart-sidebar { width: 100vw; }
    .woo-cart-pin-row { flex-direction: column; }
    .woo-cart-pin-input, .woo-cart-pin-btn { width: 100%; }
}

/* ==================================================
   CART TRIGGER BUTTON
   ================================================== */
.woo-cart-trigger-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none !important;
    cursor: pointer;
    padding: 6px 8px !important;
    border-radius: 8px !important;
    color: #333;
    transition: background 0.2s ease, color 0.2s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}
.woo-cart-trigger-btn:hover,
.woo-cart-trigger-btn:focus {
    background: #f0f0f0 !important;
    color: #111 !important;
    outline: none;
}
.woo-cart-trigger-icon {
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.woo-cart-trigger-label { font-size: 14px; font-weight: 500; }

.woo-cart-trigger-count {
    position: absolute;
    top: 0px; right: 0px;
    background: #254E34;
    color: #fff;
    font-size: 10px; font-weight: 700;
    border-radius: 50%;
    min-width: 17px; height: 17px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; padding: 0 2px; box-sizing: border-box;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.woo-cart-trigger-count:empty,
.woo-cart-trigger-count[data-count="0"] {
    opacity: 0;
    transform: scale(0);
}
.woo-cart-trigger-count.bump {
    animation: countBump 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes countBump {
    0%   { transform: scale(1);    }
    30%  { transform: scale(1.55); }
    60%  { transform: scale(0.9);  }
    80%  { transform: scale(1.15); }
    100% { transform: scale(1);    }
}

/* ==================================================
   WISHLIST TRIGGER BUTTON
   ================================================== */
.woo-wishlist-trigger-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none !important;
    cursor: pointer;
    padding: 6px 8px !important;
    border-radius: 8px !important;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}
.woo-wishlist-trigger-btn:hover,
.woo-wishlist-trigger-btn:focus {
    background: #f0f0f0 !important;
    color: #111 !important;
    outline: none;
    text-decoration: none;
}
.woo-wishlist-trigger-icon {
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.woo-wishlist-trigger-label { font-size: 14px; font-weight: 500; }

.woo-wishlist-trigger-count {
    position: absolute;
    top: 0px; right: 0px;
    background: #E94B3C;
    color: #fff;
    font-size: 10px; font-weight: 700;
    border-radius: 50%;
    min-width: 17px; height: 17px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; padding: 0 2px; box-sizing: border-box;
    pointer-events: none;
    transition: transform 0.2s ease;
}
.woo-wishlist-trigger-count.bump {
    animation: countBump 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* ==================================================
   ACCOUNT TRIGGER BUTTON
   ================================================== */
.woo-account-trigger {
    position: relative;
    display: inline-block;
}
button#woo-login-submit{
    background-color: #1e3238;
    color: white;
}
button#woo-register-submit{
    background-color: #1e3238;
    color: white;
}
.woo-account-trigger-btn {
    background: none;
    border: none !important;
    cursor: pointer;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
    line-height: 1;
}
.woo-account-trigger-btn:hover { opacity: 0.82; transform: scale(1.05); }
.woo-account-icon-svg { display: block; }

.woo-account-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.13);
    padding: 8px 0;
    z-index: 99990;
    opacity: 0;
    pointer-events: none;
    -webkit-transform: translateY(8px) scale(0.97);
    transform: translateY(8px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.2s ease, -webkit-transform 0.2s ease, transform 0.2s ease;
}
.woo-account-trigger.open .woo-account-dropdown {
    opacity: 1;
    pointer-events: all;
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
}

.woo-account-dropdown::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 0; right: 0;
    height: 10px;
    background: transparent;
}

.woo-account-dropdown::before {
    content: '';
    position: absolute;
    top: -6px; right: 14px;
    width: 12px; height: 12px;
    background: #fff;
    border-left: 1px solid #ececec;
    border-top: 1px solid #ececec;
    transform: rotate(45deg);
    border-radius: 2px;
}

.woo-account-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #222;
    cursor: pointer;
    background: none;
    border: none !important;
    width: 100%;
    text-align: left;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    border-radius: 0;
    white-space: nowrap;
}
.woo-account-dropdown-item:hover { background: #f5f5f5; color: #0D1B1E; }
.woo-account-dropdown-item svg   { flex-shrink: 0; color: #888; }
.woo-account-dropdown-item:hover svg { color: #0D1B1E; }
.woo-account-logout { color: #e74c3c; }
.woo-account-logout:hover { background: #fff5f5; color: #c0392b; }
.woo-account-logout:hover svg { color: #c0392b; }

.woo-account-dropdown { padding: 10px; }
.woo-account-dropdown .woo-auth-open-btn[data-tab="login"] {
    background: #0D1B1E;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 11px 18px;
    margin-bottom: 6px;
    justify-content: center;
    font-weight: 600;
}
.woo-account-dropdown .woo-auth-open-btn[data-tab="login"] svg { color: #fff; }
.woo-account-dropdown .woo-auth-open-btn[data-tab="login"]:hover { background: #254E34 !important; }
.woo-account-dropdown .woo-auth-open-btn[data-tab="register"] {
    background: transparent;
    color: #0D1B1E !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 10px 18px;
    justify-content: center;
    font-weight: 600;
}
.woo-account-dropdown .woo-auth-open-btn[data-tab="register"]:hover {
    background: #f8fafc !important;
    border-color: #0D1B1E !important;
}

/* ==================================================
   AUTH MODAL
   ================================================== */
.woo-auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999997;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.woo-auth-overlay.open {
    opacity: 1;
    pointer-events: all;
}
body.woo-auth-open { overflow: hidden; }

.woo-auth-modal {
    position: relative;
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 36px 36px 32px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.22);
    -webkit-transform: scale(0.92) translateY(20px);
    transform: scale(0.92) translateY(20px);
    transition: -webkit-transform 0.3s cubic-bezier(0.34, 1.25, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.25, 0.64, 1), opacity 0.25s ease;
    opacity: 0;
    scrollbar-width: none;
}
.woo-auth-modal::-webkit-scrollbar { display: none; }
.woo-auth-overlay.open .woo-auth-modal {
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    opacity: 1;
}

.woo-auth-close {
    position: absolute;
    top: 14px; right: 14px;
    background: #f5f5f5;
    border: none !important;
    border-radius: 50%;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #666;
    transition: background 0.2s ease, color 0.2s ease;
    padding: 0;
    z-index: 2;
}
.woo-auth-close:hover { background: #ebebeb; color: #111; }

.woo-auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}
.woo-auth-brand-icon { display: flex; align-items: center; flex-shrink: 0; }
.woo-auth-brand-name {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #0D1B1E;
    line-height: 1;
}

.woo-auth-tabs {
    display: flex;
    position: relative;
    background: #f2f2f2;
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 24px;
    gap: 0;
}
.woo-auth-tab {
    flex: 1;
    background: none;
    border: none !important;
    padding: 9px 4px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #888;
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.woo-auth-tab.active { color: #0D1B1E; }
.woo-auth-tab-indicator {
    position: absolute;
    top: 3px; bottom: 3px; left: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    z-index: 1;
    transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 33.333%;
    pointer-events: none;
}

.woo-auth-panel-subtitle {
    font-size: 13px;
    color: #888;
    font-family: 'Poppins', sans-serif;
    margin: 0 0 20px;
    line-height: 1.5;
}

.woo-auth-form { display: flex; flex-direction: column; gap: 16px; }
.woo-auth-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.woo-auth-field { display: flex; flex-direction: column; gap: 6px; }
.woo-auth-field label {
    font-size: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #444;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.woo-auth-field input {
    padding: 12px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #111;
    background: #fafafa;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
.woo-auth-field input:focus {
    border-color: #254E34;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,78,52,0.09);
}
.woo-auth-field input::placeholder { color: #bbb; }

.woo-auth-pass-wrap { position: relative; }
.woo-auth-pass-wrap input { padding-right: 44px; }
.woo-auth-eye {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none !important;
    cursor: pointer;
    padding: 4px;
    color: #999;
    display: flex; align-items: center;
    transition: color 0.2s ease;
}
.woo-auth-eye:hover { color: #333; }

.woo-auth-strength-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -4px;
}
.woo-auth-strength-bar {
    flex: 1;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
}
.woo-auth-strength-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
}
.woo-auth-strength-label {
    font-size: 11px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    min-width: 40px;
}

.woo-auth-forgot-row { text-align: right; margin-top: -6px; }
.woo-auth-forgot {
    font-size: 12px;
    color: #254E34;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    font-weight: 500;
}
.woo-auth-forgot:hover { text-decoration: underline; }

.woo-auth-error {
    font-size: 13px;
    color: #e74c3c;
    font-family: 'Poppins', sans-serif;
    background: #fff5f5;
    border-radius: 8px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
}
.woo-auth-error:not(:empty) {
    padding: 10px 14px;
    max-height: 80px;
}

.woo-auth-submit {
    width: 100%;
    padding: 14px 0;
    background: #0D1B1E;
    color: #fff;
    border: none !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.3px;
    position: relative;
    margin-top: 4px;
}
.woo-auth-submit:hover { background: #1e3238; box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.woo-auth-submit:active { transform: scale(0.98); }
.woo-auth-submit.loading { opacity: 0.7; pointer-events: none; }
.woo-auth-submit.loading .woo-auth-submit-text { opacity: 0; }
.woo-auth-spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: authSpin 0.7s linear infinite;
    display: none;
    position: absolute;
}
.woo-auth-submit.loading .woo-auth-spinner { display: block; }
@keyframes authSpin { to { transform: rotate(360deg); } }

.woo-auth-guest-content {
    text-align: center;
    padding: 8px 0 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.woo-auth-guest-icon {
    width: 72px; height: 72px;
    background: rgba(37,78,52,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.woo-auth-guest-title {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #0D1B1E;
    margin: 0;
}
.woo-auth-guest-desc {
    font-size: 13px;
    color: #777;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    max-width: 320px;
}
.woo-auth-guest-perks {
    list-style: none;
    padding: 0; margin: 0;
    text-align: left;
    align-self: stretch;
}
.woo-auth-guest-perks li {
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    color: #444;
    padding: 6px 12px;
    border-radius: 8px;
    background: #f8f8f8;
    margin-bottom: 6px;
    font-weight: 500;
}
.woo-auth-guest-continue {
    background: #254E34 !important;
    width: 100%;
    margin-top: 4px;
}
.woo-auth-guest-continue:hover { background: #1e3d29 !important; }

.woo-auth-switch {
    text-align: center;
    font-size: 13px;
    color: #888;
    font-family: 'Poppins', sans-serif;
    margin: 16px 0 0;
}
.woo-auth-switch-btn {
    background: none;
    border: none !important;
    color: #254E34;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
}
.woo-auth-switch-btn:hover { text-decoration: underline; }

@media (max-width: 480px) {
    .woo-auth-modal { padding: 28px 20px 24px; border-radius: 16px; }
    .woo-auth-row-2 { grid-template-columns: 1fr; }
}

/* ==================================================
   MY ACCOUNT PAGE
   ================================================== */
.woo-ma-guest-wrap {
    text-align: center;
    padding: 60px 20px;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.woo-ma-guest-icon {
    width: 90px; height: 90px;
    background: rgba(37,78,52,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 4px;
}
.woo-ma-guest-wrap h2 { font-size: 24px; font-family: 'Montserrat', sans-serif; font-weight: 700; color: #0D1B1E; margin: 0; }
.woo-ma-guest-wrap p  { font-size: 14px; color: #888; font-family: 'Poppins', sans-serif; margin: 0; }
.woo-ma-signin-btn {
    background: #0D1B1E;
    color: #fff;
    border: none !important;
    padding: 13px 36px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 6px;
}
.woo-ma-signin-btn:hover { background: #1e3238; }
.woo-ma-or { font-size: 13px; color: #999; font-family: 'Poppins', sans-serif; margin: 0; }
.woo-ma-reg-link { background: none; border: none !important; color: #254E34; font-weight: 600; cursor: pointer; font-size: 13px; font-family: 'Poppins', sans-serif; text-decoration: underline; padding: 0; }

.woo-ma-wrap {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0 60px;
    font-family: 'Poppins', sans-serif;
}

.woo-ma-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 24px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.woo-ma-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #0D1B1E;
    padding: 0 24px 16px;
    margin: 0;
    border-bottom: 1px solid #f2f2f2;
}
.woo-ma-nav { display: flex; flex-direction: column; padding: 8px 0; }
.woo-ma-nav-item {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
    border-left: 3px solid transparent;
    background: none;
    border-top: none; border-right: none; border-bottom: none;
    text-align: left;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}
.woo-ma-nav-item:hover   { background: #f8f8f8; color: #0D1B1E; }
.woo-ma-nav-item.active  { color: #1a56f0; border-left-color: #1a56f0; background: #f0f4ff; font-weight: 600; }
.woo-ma-logout-link      { color: #e74c3c; margin-top: 8px; border-top: 1px solid #f5f5f5; }
.woo-ma-logout-link:hover { background: #fff5f5; color: #c0392b; }

.woo-ma-main { flex: 1; min-width: 0; }
.woo-ma-panel { padding: 0; }
.woo-ma-ajax-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    min-height: 200px;
}
.woo-ma-panel-header { margin-bottom: 24px; }
.woo-ma-panel-title {
    font-size: 22px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #0D1B1E;
    margin: 0 0 4px;
}
.woo-ma-panel-subtitle { font-size: 13px; color: #888; margin: 0; }

.woo-ma-avatar-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.woo-ma-avatar-ring {
    position: relative;
    width: 88px; height: 88px;
    flex-shrink: 0;
}
.woo-ma-avatar-img {
    width: 88px; height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    display: block;
}
.woo-ma-avatar-edit {
    position: absolute;
    bottom: 2px; right: 2px;
    width: 26px; height: 26px;
    background: #254E34;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: background 0.2s ease;
}
.woo-ma-avatar-edit:hover { background: #1e3d29; }
.woo-ma-avatar-spinner {
    display: flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
}
.woo-ma-spinner {
    display: none !important;
    width: 16px !important; height: 16px !important;
    border-width: 2px !important;
    position: static !important;
    flex-shrink: 0;
}
.woo-ma-save-btn.loading .woo-ma-spinner { display: inline-block !important; }

.woo-ma-form { display: flex; flex-direction: column; gap: 20px; }
.woo-ma-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.woo-ma-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.woo-ma-field { display: flex; flex-direction: column; gap: 6px; }
.woo-ma-field label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}
.woo-ma-field input,
.woo-ma-field select {
    padding: 12px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #111;
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
.woo-ma-field input:focus,
.woo-ma-field select:focus {
    border-color: #254E34;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,78,52,0.09);
}
.woo-ma-field input::placeholder { color: #bbb; }
.woo-ma-field input[readonly] { background: #f5f5f5; color: #888; cursor: default; }
.woo-ma-field input.woo-ma-field-active { background: #fff; color: #111; cursor: text; border-color: #254E34; }

.woo-ma-input-btn-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.woo-ma-input-btn-wrap input { flex: 1; }
.woo-ma-change-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none !important;
    color: #1a56f0;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s ease;
}
.woo-ma-change-btn:hover { color: #0e3bb0; }

.woo-ma-phone-prefix {
    position: absolute;
    left: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    font-family: 'Poppins', sans-serif;
    pointer-events: none;
    z-index: 1;
}

.woo-ma-select-wrap { position: relative; }
.woo-ma-select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 36px; }
.woo-ma-select-arrow {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 10px;
    color: #888;
}

.woo-ma-input-icon-wrap { position: relative; }
.woo-ma-input-icon-wrap input { width: 100%; }

.woo-ma-form-result {
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    border-radius: 8px;
    transition: max-height 0.25s ease, padding 0.25s ease;
}
.woo-ma-form-result.success { color: #27ae60; background: #f0faf4; }
.woo-ma-form-result.error   { color: #e74c3c; background: #fff5f5; }
.woo-ma-form-result:not(:empty) { padding: 10px 14px; max-height: 80px; }

.woo-ma-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 40px;
    background: #254E34;
    color: #fff;
    border: none !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    align-self: flex-start;
    position: relative;
    min-width: 120px;
}
.woo-ma-save-btn:hover  { background: #1e3d29; box-shadow: 0 4px 16px rgba(37,78,52,0.25); }
.woo-ma-save-btn:active { transform: scale(0.98); }
.woo-ma-save-btn.loading { opacity: 0.7; pointer-events: none; }
.woo-ma-save-btn.loading .woo-ma-save-text { opacity: 0; }

@media (max-width: 900px) {
    .woo-ma-wrap { flex-direction: column; gap: 20px; }
    .woo-ma-sidebar { width: 100%; }
    .woo-ma-nav { flex-direction: row; flex-wrap: wrap; padding: 0; }
    .woo-ma-nav-item { border-left: none !important; border-bottom: 3px solid transparent; padding: 12px 16px; }
    .woo-ma-nav-item.active { border-bottom-color: #1a56f0; background: #f0f4ff; }
    .woo-ma-row-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .woo-ma-row-3, .woo-ma-row-2 { grid-template-columns: 1fr; }
    .woo-ma-panel-title { font-size: 18px; }
}

/* MY ACCOUNT — ORDERS, ADDRESSES, PAYMENT PANELS */
.woo-ma-empty-state {
    text-align: center;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.woo-ma-empty-icon {
    width: 88px; height: 88px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.woo-ma-empty-state h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}
.woo-ma-empty-state p {
    font-size: 13px;
    color: #999;
    max-width: 340px;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}
.woo-ma-action-btn {
    display: inline-block;
    padding: 11px 28px;
    background: #0D1B1E;
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: background 0.2s ease;
    margin-top: 4px;
}
.woo-ma-action-btn:hover { background: #1e3238; color: #fff; text-decoration: none; }

.woo-ma-orders-table-wrap { overflow-x: auto; }
.woo-ma-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
}
.woo-ma-table thead tr {
    background: #f8f8f8;
    border-bottom: 2px solid #ececec;
}
.woo-ma-table th {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    text-align: left;
    white-space: nowrap;
}
.woo-ma-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f2f2f2;
    color: #333;
    vertical-align: middle;
}
.woo-ma-table tbody tr:hover { background: #fafafa; }
.woo-ma-table tbody tr:last-child td { border-bottom: none; }

.woo-ma-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-transform: capitalize;
}
.woo-ma-status-pending    { background: #fff3cd; color: #856404; }
.woo-ma-status-processing { background: #cce5ff; color: #004085; }
.woo-ma-status-on-hold    { background: #e2d9f3; color: #4a235a; }
.woo-ma-status-completed  { background: #d4edda; color: #155724; }
.woo-ma-status-cancelled  { background: #f8d7da; color: #721c24; }
.woo-ma-status-refunded   { background: #d6d8db; color: #383d41; }
.woo-ma-status-failed     { background: #f8d7da; color: #721c24; }

.woo-ma-table-btn {
    display: inline-block;
    padding: 5px 12px;
    border: 1.5px solid #0D1B1E;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #0D1B1E;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    margin-right: 6px;
    white-space: nowrap;
}
.woo-ma-table-btn:hover { background: #0D1B1E; color: #fff; text-decoration: none; }
.woo-ma-btn-danger { border-color: #e74c3c; color: #e74c3c; }
.woo-ma-btn-danger:hover { background: #e74c3c; color: #fff; border-color: #e74c3c; }

.woo-ma-addresses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.woo-ma-address-card {
    background: #fff;
    border: 1.5px solid #ececec;
    border-radius: 14px;
    padding: 22px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.2s ease;
}
.woo-ma-address-card:hover { border-color: #ddd; }
.woo-ma-address-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.woo-ma-address-card-header h4 {
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #0D1B1E;
    margin: 0;
}
.woo-ma-address-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1.5px solid #254E34 !important;
    color: #254E34;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.woo-ma-address-edit-btn:hover { background: #254E34; color: #fff; }
.woo-ma-address-display address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.8;
    color: #555;
}
.woo-ma-address-empty {
    font-size: 13px;
    color: #aaa;
    font-style: italic;
    margin: 0;
}
.woo-ma-address-form { margin-top: 16px; }
.woo-ma-addr-btn-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.woo-ma-cancel-btn {
    background: none;
    border: 1.5px solid #ccc !important;
    color: #888;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.woo-ma-cancel-btn:hover { border-color: #999 !important; color: #555; }

.woo-ma-payment-list { display: flex; flex-direction: column; gap: 16px; }
.woo-ma-payment-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1.5px solid #ececec;
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.2s ease;
}
.woo-ma-payment-card.is-default { border-color: #254E34; }
.woo-ma-payment-card-icon { flex-shrink: 0; }
.woo-ma-payment-card-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}
.woo-ma-default-badge {
    display: inline-block;
    background: #254E34;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.woo-ma-payment-card-actions { display: flex; gap: 8px; }

@media (max-width: 700px) {
    .woo-ma-addresses-grid { grid-template-columns: 1fr; }
    .woo-ma-payment-card { flex-wrap: wrap; }
    .woo-ma-table th, .woo-ma-table td { padding: 10px 10px; font-size: 12px; }
}

/* MY ORDERS */
.woo-mo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}
.woo-mo-header .woo-ma-panel-title { margin: 0; }
.woo-mo-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.woo-mo-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7f7f7;
    border: 1.5px solid #e8e8e8;
    border-radius: 50px;
    padding: 9px 16px;
    min-width: 220px;
}
.woo-mo-search {
    border: none !important;
    background: transparent;
    outline: none;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    width: 100%;
}
.woo-mo-search::placeholder { color: #aaa; }

.woo-mo-timefilter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    white-space: nowrap;
}
.woo-mo-timefilter strong { font-weight: 600; color: #111; }
.woo-mo-time-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.woo-mo-time-select {
    appearance: none;
    -webkit-appearance: none;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 6px 30px 6px 12px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fff;
    cursor: pointer;
    outline: none;
}
.woo-mo-select-caret {
    position: absolute;
    right: 8px;
    pointer-events: none;
}

.woo-mo-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.woo-mo-tab {
    padding: 9px 20px;
    border-radius: 50px;
    border: 1.5px solid #e0e0e0 !important;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #555;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.woo-mo-tab:hover { border-color: #bbb !important; color: #111; }
.woo-mo-tab.active {
    background: #f5e6d3;
    border-color: #f5e6d3 !important;
    color: #8B4513;
    font-weight: 600;
}

.woo-mo-list { display: flex; flex-direction: column; gap: 0; }
.woo-mo-card {
    border: 1.5px solid #ececec;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #fff;
    transition: box-shadow 0.18s ease;
}
.woo-mo-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.07); }
.woo-mo-card.woo-mo-hidden { display: none; }

.woo-mo-card-meta {
    display: flex;
    align-items: flex-start;
    gap: 0;
    background: #f8f8f8;
    border-bottom: 1px solid #ececec;
    padding: 14px 20px;
    flex-wrap: wrap;
    gap: 20px;
}
.woo-mo-meta-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 100px;
}
.woo-mo-meta-label {
    font-size: 10px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.woo-mo-meta-value {
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #111;
}
.woo-mo-dispatch-name { color: #1a56f0; }
.woo-mo-detail-link {
    color: #1a56f0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}
.woo-mo-detail-link:hover { text-decoration: underline; color: #0e3bb0; }
.woo-mo-pipe { color: #ccc; }

.woo-mo-card-status-bar {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.woo-mo-eta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #0D1B1E;
}
.woo-mo-eta-delivered { color: #155724; }
.woo-mo-eta-cancelled { color: #721c24; }
.woo-mo-eta-arriving  { color: #0D1B1E; }

.woo-mo-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
}
.woo-mo-item:last-child { border-bottom: none; }
.woo-mo-item-thumb-link { flex-shrink: 0; display: block; }
.woo-mo-item-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    background: #f5f5f5;
    display: block;
}
.woo-mo-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 4px;
}
.woo-mo-item-name {
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #111;
    text-decoration: none;
    line-height: 1.5;
}
.woo-mo-item-name:hover { color: #254E34; text-decoration: underline; }
.woo-mo-item-price {
    font-size: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: #111;
}
.woo-mo-return-closed {
    font-size: 12px;
    color: #aaa;
    font-family: 'Poppins', sans-serif;
}

.woo-mo-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    flex-shrink: 0;
    padding-top: 4px;
}
.woo-mo-btn {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    text-align: center;
    min-width: 130px;
    border: 2px solid transparent;
}
.woo-mo-btn-cancel {
    background: transparent;
    border-color: #e74c3c !important;
    color: #e74c3c;
}
.woo-mo-btn-cancel:hover { background: #e74c3c; color: #fff; text-decoration: none; }
.woo-mo-btn-buyagain {
    background: #1e3d29;
    border-color: #1e3d29 !important;
    color: #fff;
}
.woo-mo-btn-buyagain:hover { background: #254E34; text-decoration: none; color: #fff; }
.woo-mo-btn-review {
    background: transparent;
    border-color: #ccc !important;
    color: #333;
}
.woo-mo-btn-review:hover { border-color: #888 !important; color: #111; text-decoration: none; }

/* SAVED ADDRESSES */
.woo-addr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.woo-addr-card-add {
    border: 2px dashed #ccc !important;
    border-radius: 14px;
    background: #fff;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
}
.woo-addr-card-add:hover { border-color: #254E34 !important; background: #f8fdf9; }
.woo-addr-add-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: none;
    border: none !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #0D1B1E;
    padding: 20px;
}
.woo-addr-plus {
    font-size: 36px;
    font-weight: 300;
    color: #254E34;
    line-height: 1;
}

.woo-addr-card {
    border: 1.5px solid #e8e8e8;
    border-radius: 14px;
    background: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.woo-addr-card:hover { box-shadow: 0 3px 14px rgba(0,0,0,0.07); }
.woo-addr-card-default { border-color: #254E34; }

.woo-addr-default-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #254E34;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woo-addr-card-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.woo-addr-name {
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #0D1B1E;
    display: block;
    margin-bottom: 4px;
}
.woo-addr-card-body span {
    font-size: 13px;
    color: #555;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}
.woo-addr-phone {
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin-top: 6px;
}
.woo-addr-phone strong { font-weight: 600; color: #111; }

.woo-addr-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding-top: 4px;
    border-top: 1px solid #f5f5f5;
}
.woo-addr-action-link {
    background: none;
    border: none !important;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.woo-addr-action-link:hover { opacity: 0.7; }
.woo-addr-edit-btn    { color: #254E34; }
.woo-addr-delete-btn  { color: #e74c3c; }
.woo-addr-default-btn { color: #254E34; }
.woo-addr-sep { color: #ccc; font-size: 13px; }

.woo-addr-edit-form {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1.5px solid #f0f0f0;
}

.woo-addr-new-form-wrap {
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 14px;
    padding: 24px;
    margin-top: 8px;
}
.woo-addr-new-title {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #0D1B1E;
    margin: 0 0 20px;
}

/* SAVED PAYMENT METHODS */
.woo-pay-section {
    margin-bottom: 28px;
}
.woo-pay-section-title {
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin: 0 0 12px;
}

.woo-pay-method-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 16px 20px;
    min-height: 60px;
}
.woo-pay-method-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 32px;
}
.woo-pay-upi-icon { width: 60px; }
.woo-pay-empty-label {
    flex: 1;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    color: #888;
}
.woo-pay-add-btn {
    background: none;
    border: none !important;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: #1a56f0;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    white-space: nowrap;
    transition: color 0.15s ease;
}
.woo-pay-add-btn:hover { color: #0e3bb0; }

.woo-pay-token-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.woo-pay-token-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    color: #333;
}
.woo-pay-remove-link {
    color: #e74c3c;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    margin-left: auto;
}
.woo-pay-remove-link:hover { text-decoration: underline; }

@media (max-width: 860px) {
    .woo-mo-header { flex-direction: column; align-items: flex-start; }
    .woo-mo-header-right { width: 100%; }
    .woo-mo-search-wrap { flex: 1; min-width: 0; }
    .woo-mo-card-meta { gap: 12px; }
    .woo-mo-meta-col { min-width: 80px; }
}
@media (max-width: 640px) {
    .woo-mo-item { flex-wrap: wrap; }
    .woo-mo-item-actions { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
    .woo-mo-btn { min-width: 0; padding: 8px 14px; font-size: 12px; }
    .woo-addr-grid { grid-template-columns: 1fr; }
    .woo-mo-card-meta { flex-direction: column; gap: 8px; }
    .woo-mo-tabs { gap: 6px; }
    .woo-mo-tab { padding: 7px 14px; font-size: 12px; }
    .woo-pay-method-row { flex-wrap: wrap; }
}

/* CANCEL ORDER MODAL */
#woo-cancel-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.woo-cancel-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.woo-cancel-modal-box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px 32px;
    max-width: 440px;
    width: calc(100% - 32px);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    animation: woo-modal-pop .22s ease;
}
@keyframes woo-modal-pop {
    from { transform: scale(.88); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.woo-cancel-modal-icon { margin-bottom: 18px; }
.woo-cancel-modal-icon svg { filter: drop-shadow(0 4px 12px rgba(231,76,60,.18)); }
.woo-cancel-modal-title {
    font-family: Poppins, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0D1B1E;
    margin: 0 0 10px;
}
.woo-cancel-modal-msg {
    font-family: Poppins, sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.55;
    margin: 0 0 16px;
}
.woo-cancel-modal-order-info {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 24px;
    font-family: Poppins, sans-serif;
    font-size: 13px;
    color: #555;
}
.woo-cancel-modal-order-info strong { color: #0D1B1E; }
.woo-cancel-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.woo-cancel-modal-no {
    flex: 1;
    background: #f2f2f2;
    border: none;
    border-radius: 50px;
    padding: 13px 20px;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: background .18s;
}
.woo-cancel-modal-no:hover { background: #e8e8e8; }
.woo-cancel-modal-yes {
    flex: 1;
    background: #e74c3c;
    border: none;
    border-radius: 50px;
    padding: 13px 20px;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .18s, opacity .18s;
    position: relative;
}
.woo-cancel-modal-yes:hover:not(:disabled) { background: #c0392b; }
.woo-cancel-modal-yes:disabled { opacity: .7; cursor: not-allowed; }
.woo-cancel-modal-yes .woo-cancel-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border-width: 2px;
    border-color: rgba(255,255,255,.3);
    border-top-color: #fff;
}
.woo-cancel-modal-yes.loading .woo-cancel-modal-yes-text { opacity: .5; }
.woo-cancel-modal-yes.loading .woo-cancel-spinner { display: block; }

.woo-mo-all-cancelled {
    padding: 48px 20px;
    text-align: center;
}
.woo-mo-all-cancelled .woo-ma-action-btn {
    display: inline-block;
    background: #0D1B1E;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s;
}
.woo-mo-all-cancelled .woo-ma-action-btn:hover { background: #254E34; }

body.woo-modal-open { overflow: hidden; }

@media (max-width: 480px) {
    .woo-cancel-modal-box { padding: 32px 20px 24px; }
    .woo-cancel-modal-actions { flex-direction: column-reverse; }
    .woo-cancel-modal-no,
    .woo-cancel-modal-yes { width: 100%; }
}

.elementor-shortcode a.woo-wishlist-trigger-btn span.woo-wishlist-trigger-icon{
    color: white;
}
.elementor-shortcode a.woo-wishlist-trigger-btn span.woo-wishlist-trigger-icon:hover {
    color: black;
}
.elementor-shortcode a.woo-wishlist-trigger-btn span.woo-wishlist-trigger-icon:focus{
    color: black;
}
.elementor-shortcode a.woo-wishlist-trigger-btn span.woo-wishlist-trigger-icon:active{
    color: black;
}

/* =========================================================================
   FILTER SIDEBAR + PRODUCT GRID LAYOUT
   FIX: Changed from left:-110% to transform:translateX(-110%) for Safari/Mac
   ========================================================================= */
.woo-grid-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* FIX: Filter panel uses transform instead of left for better Safari support */
.woo-filter-panel {
    width: 240px;
    min-width: 220px;
    max-width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
}
.woo-filter-panel::-webkit-scrollbar { width: 3px; }
.woo-filter-panel::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.woo-filter-inner {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
}

.woo-filter-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.woo-filter-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 14px;
}
.woo-filter-title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.2px;
}
.woo-filter-clear-all {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    color: #1b5e20;
    font-weight: 600;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    transition: color 0.15s;
}
.woo-filter-clear-all:hover { color: #0d4412; text-decoration: underline; }

.woo-filter-mobile-close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.15s;
}
.woo-filter-mobile-close:hover { background: #f0f0f0; color: #111; }

.woo-filter-footer {
    display: none;
    padding: 14px 18px;
    border-top: 1px solid #f0f0f0;
    gap: 10px;
    background: #fff;
    flex-shrink: 0;
}
.woo-filter-footer-apply {
    flex: 1;
    padding: 11px 18px;
    background: #254E34;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.15s;
}
.woo-filter-footer-apply:hover { background: #1a3d28; }
.woo-filter-footer-clear {
    padding: 11px 14px;
    background: none;
    color: #374151;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: border-color 0.15s;
    white-space: nowrap;
}
.woo-filter-footer-clear:hover { border-color: #374151; }

@media (max-width: 960px) {
    .woo-filter-mobile-close {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        border: 1.5px solid #e0e0e0;
    }
    .woo-filter-footer {
        display: flex !important;
        padding: 12px 16px;
        background: #fff;
        border-top: 1px solid #e8e8e8;
        flex-shrink: 0;
    }
}

.woo-filter-loading { display: flex; align-items: center; justify-content: center; padding: 28px 0; }
.woo-filter-spinner {
    width: 20px; height: 20px;
    border: 2.5px solid #eee;
    border-top-color: #254E34;
    border-radius: 50%;
    animation: wfSpin 0.7s linear infinite;
}
@keyframes wfSpin { to { transform: rotate(360deg); } }

.woo-filter-body { padding: 0 0 8px; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }

.woo-filter-section { border-top: 1px solid #f0f0f0; }
.woo-filter-section:first-child { border-top: none; }

.woo-filter-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px 10px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}
.woo-filter-section-head:hover { background: #fafafa; }

.woo-filter-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    font-family: 'Poppins', sans-serif;
}
.woo-filter-caret {
    color: #888;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.woo-filter-section.open .woo-filter-caret { transform: rotate(180deg); }

.woo-filter-list {
    list-style: none;
    margin: 0;
    padding: 0 18px 6px;
}
.woo-filter-item { margin-bottom: 0; }
.woo-filter-item.hidden { display: none; }

.woo-filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 2px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.12s;
}
.woo-filter-label:hover { background: #f5f9f6; }

.woo-filter-label input[type=checkbox],
.woo-filter-label input[type=radio] {
    width: 15px;
    height: 15px;
    accent-color: #254E34;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
    border-radius: 3px;
}
.woo-filter-color-dot {
    width: 13px; height: 13px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    flex-shrink: 0;
    display: inline-block;
}
.woo-filter-label-text {
    font-size: 13px;
    color: #444;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}
.woo-filter-label input:checked ~ .woo-filter-label-text {
    font-weight: 600;
    color: #111;
}

.woo-filter-show-more {
    background: none;
    border: none;
    padding: 3px 18px 8px;
    font-size: 12.5px;
    color: #254E34;
    font-weight: 600;
    cursor: pointer;
    display: block;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    transition: color 0.15s;
}
.woo-filter-show-more:hover { color: #1a3d28; }

.woo-filter-divider { display: none; }

.woo-grid-content { flex: 1; min-width: 0; }

.woo-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.woo-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0f7f3;
    border: 1px solid #b2d4bc;
    border-radius: 20px;
    padding: 4px 10px 4px 12px;
    font-size: 12px;
    color: #254E34;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}
.woo-filter-chip-remove {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #7aad8c;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}
.woo-filter-chip-remove:hover { color: #254E34; }

/* FIX: Mobile filter toggle button */
.woo-filter-mobile-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #374151;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.15s, color 0.15s;
    white-space: nowrap;
    position: static;
    transform: none;
    box-shadow: none;
    z-index: auto;
}
.woo-filter-mobile-toggle:hover { border-color: #254E34; color: #254E34; }

/* FIX: Mobile overlay */
.woo-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.42);
    z-index: 1098;
}
.woo-filter-overlay.open { display: block; }

body.woo-filter-panel-open { overflow: hidden !important; }

.woo-grid-content .woo-product-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (min-width: 1200px) {
    .woo-grid-content .woo-product-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 961px) {
    .woo-filter-panel { width: 210px; min-width: 200px; }
    .woo-grid-content .woo-product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* FIX: Tablet/mobile filter panel — transform-based slide instead of left-based */
@media (max-width: 960px) {
    .woo-grid-layout { display: block; }

    .woo-filter-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px !important;
        max-width: 88vw;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        z-index: 1099;
        border-radius: 0 16px 16px 0;
        background: #fff;
        /* FIX: Use transform instead of left for Safari compatibility */
        -webkit-transform: translateX(-110%);
        transform: translateX(-110%);
        -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
        transition: -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
        box-shadow: 4px 0 32px rgba(0,0,0,.18);
        min-width: unset;
        overflow: hidden;
        /* FIX: visibility hidden prevents Safari from accidentally showing it */
        visibility: hidden;
        /* FIX: GPU layer for smooth Safari animation */
        will-change: transform;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        display: flex;
        flex-direction: column;
    }
    .woo-filter-panel.open {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        visibility: visible;
    }

    .woo-filter-mobile-toggle { display: flex; }

    .woo-grid-content {
        width: 100%;
    }

    .woo-grid-content .woo-product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .woo-filter-panel {
        width: 100% !important;
        max-width: 100vw !important;
        border-radius: 0;
    }
    .woo-grid-content .woo-product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 400px) {
    .woo-grid-content .woo-product-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* COMPREHENSIVE MOBILE RESPONSIVENESS */
@media (max-width: 600px) {
    .woo-cart-sidebar {
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
    }
    .woo-cart-sidebar-header { padding: 14px 16px; }
    .woo-cart-sidebar-footer { padding: 12px 16px 20px; }
    .woo-cart-items-wrap { padding: 8px 10px; }
    .woo-cart-shipping-box { padding: 10px 12px; }
    .woo-cart-subtotal-value { font-size: 16px; }
    .woo-cart-goto-btn { padding: 13px 18px; font-size: 14px; }
    .woo-cart-item { padding: 12px 12px; gap: 10px; }
    .woo-cart-item-image { width: 70px; height: 70px; }
    .woo-cart-item-price { font-size: 14px; }
    .woo-cart-item-price-size { gap: 8px; }
    .woo-cart-item-qty-row { height: 32px; }
    .woo-cart-qty-btn { width: 32px; height: 32px; font-size: 14px; }
    .woo-cart-qty-display { min-width: 24px; line-height: 30px; font-size: 13px; }
    .woo-cart-item-size { min-width: 24px; height: 24px; font-size: 11px; padding: 0 5px; }
    .woo-cart-sidebar-title { font-size: 16px; }
    .woo-cart-item-count { font-size: 11px; min-width: 18px; height: 18px; }
    .woo-cart-pin-row { flex-direction: column; }
    .woo-cart-pin-input, .woo-cart-pin-btn { width: 100%; box-sizing: border-box; }
}

@media (max-width: 600px) {
    .woo-auth-modal {
        width: 100% !important;
        max-width: 100vw !important;
        min-height: 50vh;
        border-radius: 20px 20px 0 0 !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        -webkit-transform: none !important;
        transform: none !important;
        margin: 0 !important;
        max-height: 90vh;
        overflow-y: auto;
    }
    .woo-auth-overlay {
        align-items: flex-end !important;
    }
    .woo-auth-tabs { gap: 0; }
    .woo-auth-tab { font-size: 13px; padding: 10px 14px; }
}

@media (max-width: 768px) {
    .woo-wishlist-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}
@media (max-width: 420px) {
    .woo-wishlist-grid {
        grid-template-columns: 1fr !important;
    }
    .woo-wishlist-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 1024px) {
    .woo-product-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}
@media (max-width: 768px) {
    .woo-product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .woo-card-title { font-size: 13px; }
}
@media (max-width: 360px) {
    .woo-product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .woo-size-chart-popup {
        width: 95vw !important;
        max-height: 85vh;
        border-radius: 14px !important;
        padding: 14px !important;
    }
    .woo-size-chart-img { border-radius: 8px; }
}

@media (max-width: 768px) {
    .woo-account-layout {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .woo-account-sidebar {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 0 !important;
    }
    .woo-account-nav {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0;
        padding: 0 4px;
        scrollbar-width: none;
    }
    .woo-account-nav::-webkit-scrollbar { display: none; }
    .woo-account-nav-item {
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 0 !important;
        border-bottom: 3px solid transparent !important;
        padding: 12px 14px !important;
        font-size: 13px !important;
    }
    .woo-account-nav-item.active {
        border-bottom-color: #254E34 !important;
        background: transparent !important;
        color: #254E34 !important;
    }
    .woo-account-content { padding: 16px !important; }
    .woo-account-content-inner { max-width: 100% !important; }
    .woo-profile-row { flex-direction: column !important; gap: 16px !important; }
    .woo-profile-avatar-wrap { align-self: center; }
}
@media (max-width: 480px) {
    .woo-orders-table { font-size: 12px; }
    .woo-orders-table th, .woo-orders-table td { padding: 8px 10px !important; }
    .woo-address-grid { grid-template-columns: 1fr !important; }
    .woo-account-form-row { flex-direction: column !important; }
    .woo-account-form-row > * { width: 100% !important; }
}

@media (max-width: 600px) {
    .woo-sort-row {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }
    .woo-sort-select { width: 100%; }
    .woo-grid-count { font-size: 12px; }
}

@media (max-width: 480px) {
    .woo-filter-chips-bar { gap: 6px; }
    .woo-filter-chip { font-size: 12px; padding: 4px 10px; }
}

@media (max-width: 767px) {
    .woo-product-cards-wrapper,
    .woo-grid-layout,
    .woo-wishlist-wrap,
    .woo-account-wrap {
        overflow-x: hidden;
    }
    .woo-btn-add-to-cart,
    .woo-wishlist-btn,
    .woo-card-action-btn {
        min-height: 40px;
        min-width: 40px;
    }
}

@media (max-width: 600px) {
    /* (legacy .rz-cart-shipping-wrap mobile rules removed — new .rz-pin-box
       handles its own responsive styles in the section near the end of this file) */
}

/* OUT OF STOCK */
.woo-oos-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}
.woo-oos-badge {
    display: inline-block;
    background: #fee2e2;
    color: #dc2626;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: .4px;
    text-transform: uppercase;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
}
.woo-btn-notify-me {
    width: 100%;
    padding: 11px 16px;
    background: transparent;
    color: #254E34;
    border: 1.5px solid #254E34;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
    text-align: center;
}
.woo-btn-notify-me:hover {
    background: #254E34;
    color: #fff;
}

/* BIS NOTIFY ME MODAL */
.woo-bis-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.woo-bis-overlay.open {
    display: flex;
}
body.woo-bis-open {
    overflow: hidden;
}
.woo-bis-modal {
    background: #fff;
    border-radius: 18px;
    padding: 32px 28px 28px;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    animation: bisSlideUp 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes bisSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.woo-bis-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    transition: background 0.15s;
}
.woo-bis-close:hover { background: #e0e0e0; }
.woo-bis-header {
    text-align: center;
    margin-bottom: 22px;
}
.woo-bis-icon {
    font-size: 36px;
    margin-bottom: 8px;
    line-height: 1;
}
.woo-bis-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0 0 6px;
    font-family: 'Poppins', sans-serif;
}
.woo-bis-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    font-style: italic;
    font-weight: 500;
}
.woo-bis-logged-info {
    text-align: center;
    font-size: 13px;
    color: #374151;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 0 0 18px;
}
.woo-bis-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}
.woo-bis-input {
    width: 100%;
    height: 44px;
    border: 1.5px solid #d1d5db;
    border-radius: 9px;
    padding: 0 14px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.18s;
    box-sizing: border-box;
}
.woo-bis-input:focus { border-color: #254E34; }
.woo-bis-submit {
    width: 100%;
    height: 48px;
    background: #254E34;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.18s, transform 0.15s;
    letter-spacing: .3px;
}
.woo-bis-submit:hover  { background: #1a3d28; transform: translateY(-1px); }
.woo-bis-submit:active { transform: translateY(0); }
.woo-bis-submit:disabled { background: #9ca3af; cursor: not-allowed; transform: none; }
.woo-bis-msg {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}
.woo-bis-msg.success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.woo-bis-msg.error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

@media (max-width: 480px) {
    .woo-bis-modal { padding: 24px 18px 20px; border-radius: 20px 20px 0 0; }
    .woo-bis-overlay { align-items: flex-end; padding: 0; }
}

/* Phone field in auth modal */
.woo-auth-phone-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
    background: #fff;
}
.woo-auth-phone-wrap:focus-within { border-color: #0D1B1E; }
.woo-auth-phone-prefix {
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: #f8fafc;
    border-right: 1.5px solid #e2e8f0;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    line-height: 46px;
}
.woo-auth-phone-wrap input {
    border: none !important;
    border-radius: 0 !important;
    flex: 1;
    padding: 0 12px !important;
}
.woo-auth-phone-wrap input:focus { outline: none !important; box-shadow: none !important; }

.woo-auth-forgot-msg {
    font-size: 13px;
    margin: 6px 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}
.woo-auth-forgot {
    background: none;
    border: none !important;
    cursor: pointer;
    font-size: 13px;
    color: #4b5563;
    font-family: 'Poppins', sans-serif;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0;
    transition: color 0.15s;
}
.woo-auth-forgot:hover { color: #0D1B1E; }

/* OTP Verification field */
.woo-otp-input-wrap {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.woo-otp-input-wrap input {
    flex: 1;
    letter-spacing: 4px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    font-family: 'Poppins', monospace;
}
.woo-otp-resend {
    flex-shrink: 0;
    padding: 0 14px;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background 0.15s;
    white-space: nowrap;
}
.woo-otp-resend:hover { background: #e2e8f0; }
.woo-otp-hint {
    font-size: 12px;
    margin: 4px 0 0;
    min-height: 16px;
    font-family: 'Poppins', sans-serif;
}

/* My Account: Mandatory phone notice */
.woo-ma-phone-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fffbeb;
    border: 1.5px solid #f59e0b;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #92400e;
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
}
.woo-ma-phone-notice svg {
    flex-shrink: 0;
    color: #f59e0b;
    margin-top: 1px;
}
.woo-ma-phone-notice span { flex: 1; }
.woo-ma-form[data-phone-required="1"] .woo-ma-field:has(#woo-ma-phone) label::after {
    content: ' *';
    color: #e74c3c;
}
.woo-ma-form[data-phone-required="1"] #woo-ma-phone {
    border-color: #f59e0b !important;
}
button.woo-ma-signin-btn.woo-auth-open-btn, button.woo-auth-open-btn.woo-ma-reg-link, button#woo-ma-profile-save {
    color: #fff;
    background-color: #1e3238;
    text-decoration: none;
}
button.woo-ma-signin-btn.woo-auth-open-btn:hover, button.woo-auth-open-btn.woo-ma-reg-link:hover, button#woo-ma-profile-save:hover {
    color: #fff;
    background-color: #605be5;
    text-decoration: none;
}

/* ===================================
MOBILE LOGIN / SIGNUP FIX
=================================== */

@media (max-width:768px){

/* Signup Signin Buttons Section */
.auth-btn-wrapper,
.woo-auth-buttons,
.login-signup-buttons{
    display:flex !important;
    flex-direction:column;
    gap:12px;
    width:100%;
}

/* Buttons Full Width */
.auth-btn-wrapper button,
.woo-auth-buttons button,
.login-signup-buttons button{
    width:100% !important;
    font-size:16px;
    padding:14px;
}

/* Popup Main Box */
.woo-auth-modal,
.auth-popup,
.woo-login-popup,
.woo-register-popup{
    width:100% !important;
    max-width:100% !important;
    margin:auto;
    border-radius:14px;
    padding:20px;
}

/* Inputs */
.woo-auth-modal input,
.auth-popup input{
    width:100% !important;
    font-size:16px;
    padding:12px;
}

/* Heading */
.woo-auth-modal h2,
.auth-popup h2{
    font-size:22px;
    text-align:center;
}

/* Close Button */
.popup-close{
    top:10px;
    right:10px;
}

/* Prevent overflow */
body.popup-open{
    overflow:hidden;
}

}

/* ============================================================
   MOBILE INPUT ZOOM FIX
   Prevents iOS Safari / Android from zooming in when user
   taps any input field. Triggered when font-size < 16px.
   This single rule fixes ALL inputs site-wide on mobile.
   ============================================================ */

@media (max-width: 768px) {

    /* Global — every input on the site */
    input,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    input[type="url"],
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Your auth modal inputs */
    .woo-auth-modal input,
    .woo-auth-modal select,
    .woo-auth-modal textarea,
    #woo-login-email,
    #woo-login-password,
    #woo-register-name,
    #woo-register-email,
    #woo-register-password,
    #woo-register-phone,
    #woo-otp-input,
    #woo-reset-email {
        font-size: 16px !important;
    }

    /* WooCommerce checkout fields */
    #billing_first_name,
    #billing_last_name,
    #billing_email,
    #billing_phone,
    #billing_address_1,
    #billing_city,
    #billing_postcode,
    #billing_state,
    #order_comments,
    .woocommerce-Input,
    .woocommerce input,
    .woocommerce select,
    .woocommerce textarea {
        font-size: 16px !important;
    }

    /* Elementor form fields */
    .elementor-field input,
    .elementor-field textarea,
    .elementor-field select,
    .elementor-field-type-email input,
    .elementor-field-type-text input,
    .elementor-field-type-tel input {
        font-size: 16px !important;
    }

    /* Coupon / promo code input */
    .woo-coupon-input,
    input.woo-coupon-input,
    #coupon_code,
    .coupon input[type="text"] {
        font-size: 16px !important;
    }

    /* Search bar */
    input[type="search"],
    .search-field,
    .wp-block-search__input {
        font-size: 16px !important;
    }

}
/* ════════════════════════════════════════════════════════════════════════
   RAVEZA CART PAGE — Myntra-style cart layout (v3.6.0)
   All cart-page styles namespaced under .rz-cart-page so they don't
   collide with anything else. Single source of truth for cart-page UI.
   ════════════════════════════════════════════════════════════════════════ */
.rz-cart-page {
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 16px 60px;
    color: #1f2937;
    box-sizing: border-box;
}
.rz-cart-page *, .rz-cart-page *::before, .rz-cart-page *::after { box-sizing: border-box; }

/* ── Empty state ─────────────────────────────────────────────────── */
.rz-cart-empty {
    text-align: center;
    padding: 64px 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.rz-cart-empty-icon  { font-size: 56px; margin-bottom: 8px; }
.rz-cart-empty h2    { font-size: 22px; font-weight: 700; margin: 8px 0 6px; color: #111; }
.rz-cart-empty p     { font-size: 14px; color: #6b7280; margin: 0 0 24px; }
.rz-cart-empty-btn   {
    display: inline-block; padding: 12px 28px; background: #254E34; color: #fff !important;
    text-decoration: none !important; border-radius: 8px; font-weight: 600; font-size: 14px;
    transition: background .18s;
}
.rz-cart-empty-btn:hover { background: #1a3d28; }

/* ── Layout ──────────────────────────────────────────────────────── */
.rz-cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}
.rz-cart-main { min-width: 0; }
.rz-cart-sidebar { position: sticky; top: 24px; }

/* ── Progress bar (free shipping unlock banner) ──────────────────── */
.rz-cart-progress {
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.rz-cart-progress-locked   { background: #1f3a2a; color: #fff; }
.rz-cart-progress-unlocked { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.rz-cart-progress strong   { font-weight: 700; }

/* ── Page title ──────────────────────────────────────────────────── */
.rz-cart-title {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #fb923c;
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
}
.rz-cart-title-count {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

/* ── Item card ───────────────────────────────────────────────────── */
.rz-cart-items { display: flex; flex-direction: column; gap: 14px; }

.rz-cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 16px;
    background: #fff;
    border: 1px solid #eaeaec;
    border-radius: 10px;
    padding: 16px;
    transition: opacity .2s, background .15s;
}
.rz-cart-item.rz-item-loading  { opacity: .55; pointer-events: none; }
.rz-cart-item.rz-item-removing { opacity: .4; }

.rz-cart-item-remove {
    position: absolute; top: 10px; right: 12px;
    background: none; border: none !important; padding: 4px 8px !important;
    font-size: 22px !important; color: #9ca3af !important; cursor: pointer !important;
    line-height: 1; border-radius: 4px !important;
    transition: color .15s, background .15s !important;
}
.rz-cart-item-remove:hover { color: #dc2626 !important; background: #fef2f2 !important; }

.rz-cart-item-img img {
    width: 110px; height: 130px; object-fit: cover;
    border-radius: 8px; display: block;
}

.rz-cart-item-body { min-width: 0; padding-right: 30px; }

.rz-cart-item-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #111 !important;
    text-decoration: none !important;
    margin-bottom: 6px;
    line-height: 1.35;
}
.rz-cart-item-title:hover { color: #254E34 !important; }

.rz-cart-item-delivery {
    display: flex; align-items: center; gap: 8px;
    font-size: 12.5px; color: #6b7280;
    margin: 6px 0 10px;
}
.rz-cart-item-tick {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px;
    background: #e7f5ec; color: #03a685;
    border-radius: 50%; font-weight: 700; font-size: 11px;
}
.rz-cart-item-delivery strong { color: #111; font-weight: 600; }

.rz-cart-item-controls {
    display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.rz-cart-size-select, .rz-cart-qty-select {
    height: 34px;
    padding: 0 30px 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    border: 1px solid #d4d5d9;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    /* Fixed compact width so it looks like a pill, never stretches.
       Matches the Myntra design (image 3) — both pills are the same
       visual size, sitting close together, not flex-grown. */
    width: auto;
    min-width: 110px;
    max-width: 140px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23374151' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color .15s;
}
.rz-cart-size-select:hover, .rz-cart-qty-select:hover { border-color: #9ca3af; }
.rz-cart-size-select:focus, .rz-cart-qty-select:focus { border-color: #254E34; }
.rz-cart-size-select:disabled { background-color: #f9fafb; color: #6b7280; cursor: not-allowed; }

.rz-cart-item-price {
    text-align: right;
    min-width: 140px;
    align-self: center;
}
.rz-cart-price-line {
    display: flex; gap: 8px; justify-content: flex-end; align-items: baseline;
}
.rz-cart-sale {
    font-size: 16px; font-weight: 700; color: #111;
}
.rz-cart-mrp {
    font-size: 13px; color: #9ca3af; text-decoration: line-through; font-weight: 500;
}
.rz-cart-saving {
    font-size: 12.5px; color: #00882B; font-weight: 600; margin-top: 4px;
}
.rz-cart-saving strong { font-weight: 700; }

/* ── Right sidebar boxes ─────────────────────────────────────────── */
.rz-cart-sidebar > * + * { margin-top: 14px; }

/* The existing .rz-cart-shipping-wrap has its own styles already (PHP-inlined),
   we just need to nudge its margin within the sidebar. */
.rz-cart-sidebar .rz-cart-shipping-wrap { margin-bottom: 0; }

/* Coupon box */
.rz-cart-coupon-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
}
.rz-cart-coupon-head {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: #111;
    margin-bottom: 12px;
}
.rz-coupon-icon { font-size: 18px; }
.rz-cart-coupon-row {
    display: flex; gap: 8px;
}
.rz-cart-coupon-input {
    flex: 1;
    height: 40px;
    border: 1.5px solid #d1d5db;
    border-radius: 7px;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    transition: border-color .15s;
    text-transform: uppercase;
}
.rz-cart-coupon-input:focus { border-color: #254E34; }
.rz-cart-coupon-btn {
    height: 40px; padding: 0 20px;
    background: #254E34; color: #fff;
    border: none; border-radius: 7px;
    font-size: 14px; font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}
.rz-cart-coupon-btn:hover    { background: #1a3d28; }
.rz-cart-coupon-btn:disabled { background: #9ca3af; cursor: not-allowed; }

.rz-cart-applied-coupons { margin-bottom: 12px; }
.rz-cart-applied-coupons:empty { margin-bottom: 0; }
.rz-cart-coupon-applied {
    display: flex; align-items: center; gap: 8px;
    background: #f0fdf4;
    border: 1px dashed #86efac;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 6px;
    font-size: 13px;
}
.rz-cart-coupon-applied:last-child { margin-bottom: 0; }
.rz-cart-coupon-tick {
    color: #16a34a; font-weight: 700;
}
.rz-cart-coupon-code  { font-weight: 700; color: #166534; flex: 1; letter-spacing: .5px; }
.rz-cart-coupon-amount{ font-weight: 700; color: #166534; }
.rz-cart-coupon-remove{
    background: none; border: none; cursor: pointer;
    font-size: 18px; line-height: 1; color: #6b7280;
    padding: 0 4px;
    transition: color .15s;
}
.rz-cart-coupon-remove:hover { color: #dc2626; }

.rz-cart-coupon-msg {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 500;
}

/* Cart summary */
.rz-cart-summary-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 18px 20px;
}
.rz-cart-summary-box h3 {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .8px;
}
.rz-summary-row {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 13.5px;
    color: #374151;
    padding: 7px 0;
}
.rz-summary-row.rz-sum-discount-row { color: #6b7280; }
.rz-sum-discount   { color: #16a34a; font-weight: 600; }
.rz-shipping-free  { color: #16a34a; font-weight: 700; }

.rz-summary-hr {
    border: none;
    border-top: 1px dashed #e5e7eb;
    margin: 6px 0;
}

/* Grand Total row — medium bold, sits between MRP section and coupon section */
.rz-summary-grand-total {
    font-size: 15px; font-weight: 700; color: #111;
    padding: 5px 0;
}

/* To Pay row — biggest, final */
.rz-summary-total {
    font-size: 17px; font-weight: 800; color: #111;
    padding-top: 4px;
}

.rz-cart-checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 16px;
    padding: 14px;
    background: #254E34;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    letter-spacing: .3px;
    transition: background .15s, transform .08s;
}
.rz-cart-checkout-btn:hover  { background: #1a3d28; }
.rz-cart-checkout-btn:active { transform: scale(.98); }

.rz-cart-savings-line {
    margin-top: 12px;
    padding: 8px 12px;
    background: #f0fdf4;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    color: #166534;
    font-weight: 500;
}
.rz-cart-savings-line strong { font-weight: 700; }

/* ── Remove confirm popup ────────────────────────────────────────── */
.rz-remove-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 99998;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.rz-remove-popup {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px 24px;
    z-index: 99999;
    width: 320px; max-width: calc(100vw - 32px);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
}
.rz-remove-icon { font-size: 40px; margin-bottom: 10px; }
.rz-remove-popup h3 {
    font-size: 18px; font-weight: 700;
    margin: 0 0 8px; color: #111;
}
.rz-remove-popup p {
    font-size: 13.5px; color: #6b7280;
    margin: 0 0 20px; line-height: 1.5;
}
.rz-remove-actions { display: flex; gap: 10px; }
.rz-remove-btn {
    flex: 1; height: 42px;
    border-radius: 6px; font-size: 13.5px;
    font-weight: 700; cursor: pointer;
    transition: background .15s;
}
.rz-remove-btn-no  {
    background: #fff; color: #111; border: 1.5px solid #d1d5db;
}
.rz-remove-btn-no:hover { background: #f9fafb; }
.rz-remove-btn-yes {
    background: #dc2626; color: #fff; border: none;
}
.rz-remove-btn-yes:hover { background: #b91c1c; }

/* ── Cart-page message toast ─────────────────────────────────────── */
.rz-cart-msg {
    position: fixed;
    bottom: 24px; left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 22px;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
}
.rz-cart-msg.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.rz-cart-msg-error   { background: #dc2626; }
.rz-cart-msg-success { background: #16a34a; }
.rz-cart-msg-info    { background: #0f172a; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .rz-cart-layout { grid-template-columns: 1fr; }
    .rz-cart-sidebar { position: static; }
}

@media (max-width: 600px) {
    .rz-cart-page { padding: 16px 12px 50px; }
    .rz-cart-title { font-size: 22px; }

    .rz-cart-item {
        grid-template-columns: 90px 1fr;
        gap: 12px;
        padding: 14px;
    }
    .rz-cart-item-img img { width: 90px; height: 108px; }

    .rz-cart-item-body { padding-right: 24px; }

    /* On mobile, price block stacks under the body */
    .rz-cart-item-price {
        grid-column: 1 / -1;
        text-align: left;
        min-width: 0;
        margin-top: 8px;
        padding-top: 10px;
        border-top: 1px dashed #e5e7eb;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .rz-cart-price-line { justify-content: flex-start; }
    .rz-cart-saving { margin-top: 0; }

    .rz-cart-item-controls { flex-wrap: wrap; gap: 8px; }
    .rz-cart-size-select, .rz-cart-qty-select {
        flex: 0 1 auto;
        min-width: 100px;
        max-width: 140px;
    }
}

/* ════════════════════════════════════════════════════════════════════════
   RAVEZA PIN-BOX — Check Delivery Date pincode widget (v3.6.0)
   Replaces the older .rz-cart-shipping-wrap. Lives inside the cart sidebar.
   ════════════════════════════════════════════════════════════════════════ */
.rz-pin-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
}
.rz-pin-box.rz-pin-has-saved {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Header label (when no pincode saved) */
.rz-pin-head {
    background: #fef2f2;
    color: #111;
    padding: 10px 14px;
    border-radius: 8px;
    margin: -4px -4px 12px;
    font-size: 14px;
    font-weight: 600;
}
.rz-pin-head-label { letter-spacing: .2px; }

/* Input row */
.rz-pin-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.rz-pin-input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 1.5px solid #d1d5db;
    border-radius: 7px;
    padding: 0 14px;
    font-size: 14px;
    letter-spacing: .5px;
    outline: none;
    transition: border-color .15s;
    color: #111;
}
.rz-pin-input::placeholder { color: #9ca3af; letter-spacing: 0; }
.rz-pin-input:focus { border-color: #254E34; }
.rz-pin-btn {
    height: 42px;
    padding: 0 22px !important;
    background: #fff;
    color: #ff3f6c !important;
    border: 1.5px solid #ff3f6c !important;
    border-radius: 7px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .5px;
    cursor: pointer !important;
    transition: background .15s, color .15s !important;
    white-space: nowrap !important;
}
.rz-pin-btn:hover    { background: #ff3f6c !important; color: #fff !important; }
.rz-pin-btn:disabled { background: #f3f4f6; color: #9ca3af; border-color: #d1d5db; cursor: not-allowed; }

/* Saved row */
.rz-pin-saved {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.rz-pin-saved-info { flex: 1; min-width: 0; }
.rz-pin-saved-line {
    display: flex; align-items: center; gap: 8px;
    font-size: 13.5px; color: #111;
}
.rz-pin-tick {
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    width: 18px; height: 18px;
    background: #dcfce7; color: #16a34a;
    border-radius: 50%;
    font-weight: 700; font-size: 11px;
}
.rz-pin-saved-text strong { font-weight: 700; }
.rz-pin-saved-meta {
    display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
    margin-top: 4px;
    font-size: 12px; color: #6b7280;
    padding-left: 26px;
}
.rz-pin-charge-wrap { display: inline-flex; align-items: center; gap: 6px; }
.rz-pin-charge      { color: #111; font-weight: 700; }
.rz-pin-charge-free { color: #16a34a; font-weight: 700; }

.rz-pin-change-btn {
    flex-shrink: 0;
    background: transparent;
    border: none !important;
    color: #ff3f6c !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .3px;
    cursor: pointer !important;
    padding: 4px 6px !important;
    margin-top: -2px;
    border-radius: 4px !important;
    transition: background .15s !important;
    white-space: nowrap !important;
}
.rz-pin-change-btn:hover { background: #fef2f2 !important; }

/* Error / status message */
.rz-pin-msg {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 500;
}
.rz-pin-msg-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.rz-pin-msg-info  { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* Responsive */
@media (max-width: 480px) {
    .rz-pin-input-row { flex-direction: column; align-items: stretch; }
    .rz-pin-input, .rz-pin-btn { width: 100%; }
    .rz-pin-saved { flex-direction: column; align-items: stretch; }
    .rz-pin-change-btn { align-self: flex-start; padding-left: 26px; }
}

/* ════════════════════════════════════════════════════════════════════════
   FINE-TUNES + ENTITY FIX
   The rupee symbol is now sent as a real character from PHP, so any text
   slot that previously needed escapeHtml() works correctly. No CSS change
   needed for that — kept here as a marker for future grep.
   ════════════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════════════
   RAVEZA CART — v3.6.1 POLISH PASS
   • Move to Wishlist link
   • Shipping hint row (when no pincode set)
   • Tighter UI in spirit of Myntra (image 1)
   ════════════════════════════════════════════════════════════════════════ */

/* Move to Wishlist link — subtle, underlined, sits under saving line */
.rz-cart-move-wishlist {
    margin-top: 8px;
    background: transparent;
    border: none !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #2563eb !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    line-height: 1.4;
    letter-spacing: 0.1px;
    transition: color .12s !important;
}
.rz-cart-move-wishlist:hover  { color: #1d4ed8 !important; background-color: #605be500 !important;}
.rz-cart-move-wishlist:active { color: #1e40af !important; background-color: #605be500 !important;}
.rz-cart-move-wishlist:disabled {
    color: #9ca3af !important; cursor: not-allowed !important; text-decoration: none !important;
}
.rz-cart-move-wishlist-loading {
    pointer-events: none; opacity: .7;
}

/* Shipping hint row — shown when no pincode set */
.rz-sum-shipping-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    margin: 6px 0;
    background: #fef3c7;
    border: 1px dashed #f59e0b;
    border-radius: 6px;
    font-size: 12px;
    color: #92400e;
    line-height: 1.4;
}
.rz-sum-shipping-hint-icon { font-size: 14px; flex-shrink: 0; }

/* ── Polish: tighter cart layout matching Myntra (image 1) ─────────── */
.rz-cart-item {
    background: #fff;
    border: 1px solid #f1f3f5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: box-shadow .15s, opacity .2s, background .15s;
}
.rz-cart-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Tighter padding on summary rows */
.rz-summary-row { padding: 6px 0; font-size: 13px; }
.rz-summary-row.rz-summary-grand-total { font-size: 14px; padding: 5px 0; }
.rz-summary-row.rz-summary-total { font-size: 16px; font-weight: 800; padding: 6px 0 2px; }

/* Summary box: slightly cleaner */
.rz-cart-summary-box {
    padding: 16px 16px 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.rz-cart-summary-box h3 {
    font-size: 13px;
    letter-spacing: 0.6px;
    color: #1f2937;
}

/* Coupon + pincode boxes: same subtle shadow */
.rz-cart-coupon-box,
.rz-pin-box {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Pay button — slightly more prominent shadow */
.rz-cart-checkout-btn {
    box-shadow: 0 2px 6px rgba(37, 78, 52, 0.22);
}
.rz-cart-checkout-btn:hover { box-shadow: 0 3px 10px rgba(37, 78, 52, 0.32); }

/* Item image — slightly smaller on tablet to leave room for price block */
@media (max-width: 1100px) and (min-width: 600px) {
    .rz-cart-item { grid-template-columns: 96px 1fr auto; }
    .rz-cart-item-img img { width: 96px; height: 116px; }
}

/* Mobile: wishlist link goes full-width and sits in its own row */
@media (max-width: 600px) {
    .rz-cart-move-wishlist {
        display: inline-block;
        margin-top: 4px;
        font-size: 13px;
    }
    .rz-cart-item-price {
        flex-wrap: wrap;
        gap: 4px 12px;
    }
    .rz-cart-saving { width: 100%; text-align: left; }

    /* Slightly larger shipping hint on mobile */
    .rz-sum-shipping-hint { font-size: 12.5px; padding: 9px 11px; }
}

/* Wider tablet view: keep price block right-aligned even when fewer cols */
@media (min-width: 600px) and (max-width: 1100px) {
    .rz-cart-item-price { min-width: 130px; }
}

/* ════════════════════════════════════════════════════════════════════════
   RAVEZA CHECKOUT — pincode status pill (v3.6.2)
   Shows under the postcode field on /checkout/ to confirm delivery details
   are carried over from cart, or to flag a non-serviceable pincode.
   ════════════════════════════════════════════════════════════════════════ */
.rz-checkout-pin-status {
    display: none;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    line-height: 1.4;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}
.rz-checkout-pin-status.rz-pin-status-loading {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    display: flex !important;
    align-items: center;
    gap: 8px;
}
.rz-checkout-pin-status.rz-pin-status-ok {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    display: block !important;
}
.rz-checkout-pin-status.rz-pin-status-err {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    display: block !important;
}
.rz-pin-status-charge {
    font-weight: 700;
    color: #111;
    background: #fff;
    border-radius: 4px;
    padding: 1px 7px;
    font-size: 11.5px;
    margin-left: 2px;
}
.rz-pin-status-ok .rz-pin-status-charge { color: #15803d; border: 1px solid #bbf7d0; }
.rz-pin-status-spinner {
    width: 14px; height: 14px;
    border: 2px solid #cbd5e1;
    border-top-color: #475569;
    border-radius: 50%;
    animation: rzPinSpin 0.65s linear infinite;
    flex-shrink: 0;
}
@keyframes rzPinSpin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
    .rz-checkout-pin-status { font-size: 12px; padding: 7px 10px; }
}

/* =========================================================================
   SHOP PAGE OFFER STRIP — above the product grid, right of filters
   Desktop: 3-column light-pink card. Mobile: one-at-a-time swipe slider.
   ========================================================================= */
.rz-shop-offer-strip {
    width: 100%;
    margin-bottom: 16px;
    border: 1.5px solid #ffd0d0;
    border-radius: 10px;
    background: #fff5f5;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.rz-shop-offer-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rz-shop-offer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    flex: 1 1 0%;
    min-width: 0;
    border-right: 1.5px solid #ffd0d0;
    box-sizing: border-box;
}
.rz-shop-offer-item:last-child { border-right: none; }

.rz-shop-offer-icon {
    flex-shrink: 0;
    color: #c62828;
    display: flex;
    align-items: center;
}

.rz-shop-offer-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rz-shop-offer-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    white-space: normal;
}

.rz-shop-offer-sub {
    font-size: 12px;
    font-weight: 400;
    color: #555;
    line-height: 1.3;
    white-space: normal;
}

/* Dot indicators (shown only on mobile by JS) */
.rz-shop-offer-dots {
    display: none;
    justify-content: center;
    gap: 7px;
    padding: 6px 0 8px;
    background: #fff5f5;
}
.rz-shop-offer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffc1c1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    padding: 0;
}
.rz-shop-offer-dot.rz-dot-active {
    background: #c62828;
    transform: scale(1.25);
}

/* Mobile: each item becomes a full-width slide */
@media (max-width: 768px) {
    .rz-shop-offer-strip {
        border-radius: 8px;
        touch-action: pan-y;
    }

    .rz-shop-offer-strip.rz-slider-active .rz-shop-offer-track {
        flex-wrap: nowrap;
        will-change: transform;
    }

    .rz-shop-offer-strip.rz-slider-active .rz-shop-offer-item {
        flex: 0 0 100%;
        width: 100%;
        border-right: none;
        justify-content: center;
        text-align: left;
        padding: 14px 20px;
    }

    .rz-shop-offer-strip.rz-slider-active .rz-shop-offer-dots {
        display: flex;
    }
}

/* =========================================================================
   OFFER STRIP — desktop static banner / mobile swipe slider
   ========================================================================= */
.rz-offer-strip {
    background: #c62828;
    color: #fff;
    width: 100%;
    overflow: hidden;
    margin: 0 0 18px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 8px rgba(198,40,40,0.18);
    position: relative;
}

/* Desktop: all items in a single static flex row */
.rz-offer-strip-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    gap: 0;
    min-height: 44px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rz-offer-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    padding: 2px 16px;
    letter-spacing: 0.25px;
    border-right: 1px solid rgba(255,255,255,0.28);
}
.rz-offer-item:last-child { border-right: none; }

.rz-offer-tag {
    font-style: normal;
    font-size: 14px;
    line-height: 1;
}

/* Dot indicators — hidden on desktop, shown by JS on mobile */
.rz-offer-dots {
    display: none;
    justify-content: center;
    gap: 7px;
    padding: 5px 0 7px;
    background: #c62828;
}
.rz-offer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    padding: 0;
}
.rz-offer-dot.rz-dot-active {
    background: #fff;
    transform: scale(1.2);
}

/* Mobile: each item becomes a full-width slide */
@media (max-width: 768px) {
    .rz-offer-strip {
        border-radius: 0;
        margin-bottom: 16px;
        touch-action: pan-y;
    }

    /* JS adds this class to activate the slider layout */
    .rz-offer-strip.rz-slider-active .rz-offer-strip-track {
        flex-wrap: nowrap;
        padding: 0;
        will-change: transform;
    }

    .rz-offer-strip.rz-slider-active .rz-offer-item {
        flex: 0 0 100%;
        width: 100%;
        justify-content: center;
        text-align: center;
        border-right: none;
        padding: 12px 16px;
        font-size: 12.5px;
        box-sizing: border-box;
        min-height: 44px;
    }

    .rz-offer-strip.rz-slider-active .rz-offer-dots {
        display: flex;
    }
}