/* ========================================
   WOO COMMERCE PRODUCT CARD GRID PLUGIN
   v3.4.0 — With Wishlist + Size Chart
   ======================================== */

/* ===== 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;
    border: none !important;
    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;
}

/* ===== CARD ===== */
.woo-product-card {
    background: #000000;
    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 #e0ec86;
    border: 1px solid #e0ec86;
    transform: translateY(-6px);
    background: #000000;
}

/* ===== 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% !important;
    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 ===== */
/* Container that fills the entire .woo-card-image box */
.woo-img-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Every slide stacks via absolute, hidden by default */
.woo-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease;
    display: block;
}

/* Active slide fades in */
.woo-slide.active {
    opacity: 1;
}

/* Dot indicators — bottom-right corner */
.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: "Italiana", sans-serif !important; font-weight: 600; 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: #e0ec86; font-family: "Italiana", sans-serif; 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: 18px; font-weight: 600; font-family: 'Poppins'; color: #000; }
.woo-original-price { font-size: 18px; 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: #ffffff !important; }
.woo-price-current del span.woocommerce-Price-amount.amount{color: #FF0000 !important;}

/* ===== PRICE + SIZE ON SAME ROW ===== */
.woo-price-size-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
.woo-price-size-row .woo-card-price           { flex-shrink: 0; }
.woo-price-size-row .woo-card-sizes-container { flex: 1; display: flex; justify-content: flex-end; margin: 0; }
.woo-price-size-row .woo-card-sizes           { justify-content: flex-end; }

/* ===== 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: 8.5px !important;
    border: 1px solid #CECECE !important;
    background: white; border-radius: 4px !important;
    font-size: 15px; font-family: 'Poppins' !important; font-weight: 500 !important;
    cursor: pointer; transition: all 0.2s ease; color: #333; text-align: center; line-height: 1;
}
.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; }

/* ===== 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; }

/* ===== 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 (heading + product count + sort)
   ================================================== */
.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: #e0ec86; line-height: 1.3; }
.woo-grid-count        { font-size: 14px; font-family: 'Poppins', sans-serif; font-weight: 400; color: #e0ec86; 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: flex-start; }
    .woo-grid-header-right { align-self: flex-end; }
    .woo-sort-menu { right: 0; min-width: 170px; }
}

/* ===== TOAST NOTIFICATION ===== */
.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; }

/* ==================================================
   WISHLIST PAGE
   ================================================== */
.woo-wishlist-page { max-width: 1200px; margin: 0 auto; padding: 20px 0 60px; }

/* Header: title + count + Items label, then decorative line below */
.woo-wishlist-header { margin-bottom: 32px; }
.woo-wishlist-page-title {
    font-size: 44px; font-weight: 600; color: #e0ec86;
    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: #e0ec86; font-family: "Montserrat", Sans-serif;
}
.woo-wishlist-items-label {
    font-size: 28px; font-weight: 600; color: #e0ec86; font-family: "Montserrat", Sans-serif;
}

/* Decorative underline — matches the golden/brown line in the design */
.woo-wishlist-header-line {
    width: 60px;
    height: 3px;
    background: #B8860B;
    border-radius: 2px;
}

/* Keep these for any edge cases but they won't render anymore */
.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 (delete + Add to Bag) ===== */
/* Shown instead of the standard Add to Cart button on the wishlist page */
.woo-wishlist-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

/* Trash / delete button */
.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; /* hide any fallback text */
    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; }

/* ADD TO BAG button — fills remaining space, same style as Add to Cart */
.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, .woo-price-current .woocommerce-Price-amount { font-size: 13px; }
    .woo-original-price { font-size: 11px; }
    .woo-size-btn { padding: 6px 8px; font-size: 11px; min-width: 36px; }
    .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: 480px) {
    .woo-product-cards-grid { grid-template-columns: 1fr; }
    .woo-product-card { min-height: auto; }
    .woo-wishlist-btn { width: 40px; height: 40px; font-size: 18px; }
    .woo-size-btn { padding: 7px 9px; min-width: auto; }
}

/* ==================================================
   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);
    transform: scale(0.88) translateY(20px);
    transition: 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 { 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
   ================================================== */
.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;
}
.woo-cart-overlay.open { opacity: 1; pointer-events: all; }

.woo-cart-sidebar {
    position: fixed; top: 0; right: 0;
    width: 340px; max-width: 100vw; height: 100vh; background: #121212;
    z-index: 99999; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}
.woo-cart-sidebar.open { 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: #7b824a; display: flex; align-items: center; }
.woo-cart-sidebar-title{ font-size: 18px; font-family: 'Poppins'; font-weight: 700; color: #b5be6e; margin: 0; line-height: 1; }
.woo-cart-item-count   {
    background: #e0ec86; color: #000; 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: #e0ec86; border: 1px solid #e0ec86;
}
.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: #e0ec86; 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: #e0ec86;
    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); }

@media (max-width: 480px) { .woo-cart-sidebar { width: 100vw; } }

/* ==================================================
   CART TRIGGER BUTTON  — [woo_cart_trigger] shortcode
   Drop this button into any header / menu / widget
   to open the cart sidebar from any page.
   ================================================== */
.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; }

/* Green count bubble — top-right corner */
.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;
}
/* Hide badge when empty */
.woo-cart-trigger-count:empty,
.woo-cart-trigger-count[data-count="0"] {
    opacity: 0;
    transform: scale(0);
}
/* Bounce animation when count changes */
.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] shortcode
   Renders a heart icon link to the wishlist page from any page.
   Clicking navigates directly to the wishlist URL.
   ================================================== */
.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; }

/* Red count bubble — top-right corner */
.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;
}
/* Bounce animation when count changes */
.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]
   ================================================== */
.woo-account-trigger {
    position: relative;
    display: inline-block;
}

.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; }

/* Dropdown panel */
.woo-account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    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;
    transform: translateY(8px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.woo-account-trigger.open .woo-account-dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

/* Small arrow notch at top */
.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; }

/* ==================================================
   AUTH MODAL — Sign In / Sign Up / Guest
   ================================================== */
.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);
}
.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);
    transform: scale(0.92) translateY(20px);
    transition: 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 {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Close button */
.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; }

/* Brand row */
.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;
}

/* Tab bar */
.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;
}

/* Panel subtitle */
.woo-auth-panel-subtitle {
    font-size: 13px;
    color: #888;
    font-family: 'Poppins', sans-serif;
    margin: 0 0 20px;
    line-height: 1.5;
}

/* Form fields */
.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; }

/* Password wrap + eye toggle */
.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; }

/* Strength bar */
.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;
}

/* Forgot row */
.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; }

/* Error */
.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;
}

/* Submit button */
.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); } }

/* Guest panel */
.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; }

/* Switch row */
.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_my_account]
   Matches the design mockup: sidebar + main panel
   ================================================== */

/* Guest (not logged in) state */
.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; }

/* Outer wrapper */
.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;
}

/* ── Sidebar ── */
.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; }

/* ── Main Panel ── */
.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; }

/* ── Avatar ── */
.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; }

/* ── Form layout ── */
.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; }

/* Input + button pair (email, phone) */
.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; }

/* Phone prefix badge */
.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;
}

/* Select wrap */
.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;
}

/* Date input icon area */
.woo-ma-input-icon-wrap { position: relative; }
.woo-ma-input-icon-wrap input { width: 100%; }

/* Form result message */
.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; }

/* Save button */
.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; }

/* Responsive */
@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
   ================================================== */

/* ── Empty state (used by orders + payment) ── */
.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; }

/* ── Orders table ── */
.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; }

/* Status badges */
.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; }

/* Table action buttons */
.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; }

/* ── Addresses grid ── */
.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; }

/* ── Payment methods ── */
.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; }

/* Responsive */
@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 — Design matching mockup Image 3
   ============================================================ */

/* Header row: title + search + time filter */
.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;
}

/* Search bar */
.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; }

/* Time filter */
.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;
}

/* Filter tabs */
.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;
}

/* Order card */
.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; }

/* Order meta row (ORDER PLACED ON / DISPATCH TO / Order ID / Tracking / More) */
.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; }

/* Status / ETA bar */
.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; }

/* Order item row */
.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;
}

/* Item action buttons */
.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;
}
/* Cancel Order — red outline */
.woo-mo-btn-cancel {
    background: transparent;
    border-color: #e74c3c !important;
    color: #e74c3c;
}
.woo-mo-btn-cancel:hover { background: #e74c3c; color: #fff; text-decoration: none; }
/* Buy it Again — dark green filled */
.woo-mo-btn-buyagain {
    background: #1e3d29;
    border-color: #1e3d29 !important;
    color: #fff;
}
.woo-mo-btn-buyagain:hover { background: #254E34; text-decoration: none; color: #fff; }
/* Write Review — light outline */
.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 — Design matching mockup Image 2
   ============================================================ */

.woo-addr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

/* Add New Address card — dashed border, centered + icon */
.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;
}

/* Saved address card */
.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; }

/* Default badge */
.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;
}

/* Address card body */
.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; }

/* Action links: Edit | Delete | Set as Default */
.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; }

/* Inline edit form inside address card */
.woo-addr-edit-form {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1.5px solid #f0f0f0;
}

/* Add new address expanded form */
.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 — Design matching mockup Image 1
   ============================================================ */

.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;
}

/* Each payment method row (icon + label + ADD NEW) */
.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; }

/* Token list inside payment row */
.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; }

/* ============================================================
   RESPONSIVE — orders, addresses, payment
   ============================================================ */
@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);
}
.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; }

/* All-cancelled empty state */
.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;
}
.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;
}