/* --- Centered Header Section --- */
.watch-buy-header {
    text-align: center; /* Centers the heading and subheading */
    margin-bottom: 30px;
}

.watch-buy-header h2 {
    font-weight: 800;
    font-size: 32px;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--royal-red);
    margin: 0;
}

.cursive-sub {
    font-family: 'Playfair Display', serif; /* Elegant Cursive */
    font-style: italic;
    color: #d4a373; /* Sophisticated gold/beige theme color */
    font-size: 18px;
    margin-top: 5px;
}

/* --- Enhanced Grid Card --- */
.wb-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9/16;
    background: #000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.wb-card:hover {
    transform: translateY(-5px);
}

/* --- Enhanced Pricing Style --- */
.wb-card-footer {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px 15px 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: #fff;
    z-index: 5;
}

.wb-card-footer h4 {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 6px;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-price {
    font-weight: 800; /* Extra bold for visibility */
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.5px;
}

.old-price {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-decoration: line-through;
}

/* --- Pagination Theme Sync --- */
.wbSwiper .swiper-pagination-bullet-active {
    background: #d4a373 !important; /* Matches your theme color */
    width: 20px;
    border-radius: 5px;
}

/* --- REEL GRID --- */
.watch-buy-container { max-width: 100%; padding: 40px 15px; }
.watch-buy-header h2 { font-weight: 800; font-size: 26px; margin: 0; }
.cursive-sub { font-family: 'Playfair Display', serif; font-style: italic; color: #888; margin-top: 5px; }

.wb-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9/16;
    background: #000;
    transition: transform 0.3s ease;
}
.wb-card:hover { transform: scale(1.02); }

.wb-video-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.gif-hover-preview { position: absolute; top: 0; left: 0; opacity: 0; transition: 0.4s; }
.wb-card:hover .gif-hover-preview { opacity: 1; }

.wb-card-footer {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 12px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}
.wb-card-footer h4 { font-size: 13px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.new-price { font-weight: 700; font-size: 14px; }

/* --- REEL MODAL --- */
.reel-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 9999; justify-content: center; align-items: center;
}
.reel-container { position: relative; width: 100%; max-width: 450px; height: 100%; }
#main-reel-video { width: 100%; height: 100%; object-fit: cover; }
.close-reel { position: absolute; top: 20px; right: 20px; color: #fff; font-size: 30px; z-index: 1001; cursor: pointer; }

/* --- FLOATING CARD --- */
.floating-product-card {
    position: absolute; bottom: 40px; left: 15px; right: 15px;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(15px);
    padding: 15px; border-radius: 16px; display: flex; align-items: center; gap: 15px; z-index: 50;
}
.p-thumb img { width: 55px; height: 55px; border-radius: 8px; object-fit: cover; }
.p-meta { flex: 1; }
.p-meta h4 { font-size: 14px; margin: 0; font-weight: 600; color: #111; }
.shop-now-trigger { background: var(--royal-red); color: #fff; border: none; padding: 10px 15px; border-radius: 8px; font-weight: 600; cursor: pointer; }

/* --- DRAWER --- */
.size-drawer {
    position: absolute; bottom: -100%; left: 0; right: 0;
    background: #fff; border-radius: 24px 24px 0 0;
    transition: 0.5s cubic-bezier(0.32, 0.72, 0, 1); z-index: 100; padding: 24px;
}
.size-drawer.open { bottom: 0; }
.drawer-drag-handle { width: 35px; height: 5px; background: #eee; border-radius: 10px; margin: -10px auto 20px; }
.section-label { font-size: 11px; color: #999; text-transform: uppercase; margin-bottom: 10px; display: block; }

.color-options { display: flex; gap: 12px; }
.color-swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; outline: 1px solid #ddd; cursor: pointer; transition: 0.2s; }
.color-swatch.active { outline: 2px solid #000; transform: scale(1.1); }

.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-options span { padding: 10px 15px; border: 1px solid #eee; border-radius: 8px; cursor: pointer; font-size: 13px; }
.size-options span.active { background: #000; color: #fff; }
.size-options span.out-of-stock { opacity: 0.3; text-decoration: line-through; pointer-events: none; }

.drawer-footer { display: flex; gap: 10px; padding-top: 20px; border-top: 1px solid #f9f9f9; margin-top: 20px; }
.qty-selector { display: flex; align-items: center; background: #f5f5f5; border-radius: 8px; padding: 2px; }
.qty-btn { width: 35px; height: 35px; border: none; background: #fff; border-radius: 6px; cursor: pointer; font-weight: bold; }
.qty-selector input { width: 35px; border: none; text-align: center; background: transparent; font-weight: 700; }
.add-to-cart-final { flex: 1; background: #000; color: #fff; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; }

/* --- Volume Toggle Button --- */
.volume-toggle {
    position: absolute;
    top: 25px;
    right: 70px; /* Offset from the close button */
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.volume-toggle:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.volume-toggle i {
    font-size: 14px;
}

/* --- Vertical Navigation Arrows --- */
.reel-nav {
    position: absolute;
    right: -60px; /* Positions arrows outside the video on desktop */
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 1005;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.prev-reel { top: 40%; }
.next-reel { top: 52%; }

.reel-nav:hover {
    background: #d4a373; /* Theme Gold */
    transform: scale(1.1);
}

/* On Mobile, move arrows inside or hide them as users will swipe */
@media (max-width: 768px) {
    .reel-nav {
        right: 15px;
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.3);
    }
    .prev-reel { top: 30%; }
    .next-reel { bottom: 30%; top: auto; }
}


/* Quick View Panel Animation */
.product-quick-view {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100%; /* Increase this from 75% to 90% or 100% */
    background: #fff;
    border-radius: 24px 24px 0 0;
    z-index: 1010;
    transform: translateY(100%); /* Keeps it hidden until active */
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex; 
    flex-direction: column;
    color: #333;
}
.product-quick-view.active { transform: translateY(0); }

.qv-header { display: flex; justify-content: space-between; padding: 20px; align-items: center; }
.back-to-video { background: none; border: none; font-weight: 600; cursor: pointer; color:var(--royal-red)}

.qv-content { padding: 0 20px 20px; overflow-y: auto; flex: 1; }
.qv-price-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
#qv-price { font-size: 22px; font-weight: 800; color: #000; }
.qv-coupon-badge { background: #e8f5e9; color: #2e7d32; padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }

/* Color Grid */
.qv-color-grid { display: flex; gap: 10px; margin-top: 10px; }

/* --- Product Title & Price --- */
#qv-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--royal-red);
    margin-bottom: 8px;
    line-height: 1.2;
}

.qv-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

#qv-stars-display {
    color: #ffb400; /* High-quality Gold */
    font-size: 14px;
}

.qv-rev-count {
    font-size: 13px;
    color: #777;
}

.qv-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

#qv-price {
    font-size: 26px;
    font-weight: 800;
    color: #000;
}

#qv-old-price {
    font-size: 16px;
    color: #999;
}

.qv-coupon-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.qv-sku {
    font-size: 12px;
    color: #888;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Section Labels --- */
.qv-section label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

#qv-color-selected, #qv-size-selected {
    font-weight: 400;
    color: #666;
    margin-left: 5px;
}

/* --- Color Selection Grid --- */
.qv-color-grid {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.color-item {
    width: 45px;
    height: 60px;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
    padding: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-item:hover {
    border-color: #ddd;
}

.color-item.active {
    border-color: #000;
    transform: scale(1.05);
}

.color-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* --- Size Selection Grid --- */
.qv-size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-item {
    min-width: 65px;
    height: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #eee;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
	color: var(--royal-red);
}

.size-item small {
    font-size: 9px;
    font-weight: 400;
    color: var(--royal-red);
    margin-top: 2px;
}

.size-item:hover:not(.disabled) {
    border-color: #bbb;
    background: #fafafa;
}

.size-item.active {
    background: #000; 
    color: #FFF;
    border-color: #000;
}

.size-item.active small {
    color: rgba(255,255,255);
}

.size-item.disabled {
    background: #f8f8f8;       /* Slightly darker grey background */
    border: 1px solid #e0e0e0; /* Solid border instead of dashed for better structure */
    color: #000;               /* More visible grey text */
    opacity: 0.8;              /* Increased opacity so the block remains solid */
    cursor: not-allowed;       /* Change cursor to indicate no-action */
    position: relative;
    overflow: hidden;
}

/* Optional: Add a diagonal line to cross out the size */
.size-item.disabled::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 1px;
    
    transform: rotate(-15deg);
}

.size-item.disabled small {
    color: #ccc;               /* Ensure stock text is also visible but muted */
}


.color-item { width: 50px; height: 65px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; overflow: hidden; }
.color-item.active { border-color: #000; }
.color-item img { width: 100%; height: 100%; object-fit: cover; }

/* Size Grid & Tooltips */
.qv-size-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }


/* View Full Button */
.view-full-btn { display: block; text-align: center; margin-top: 20px; color: #666; font-size: 13px; text-decoration: underline; }

/* Qty & Add to Cart */
.qv-footer { display: flex; gap: 12px; margin-top: 20px; border-top: 1px solid #eee; padding-top: 20px; }
/* --- Updated Quantity Control --- */
.qty-control { 
    display: flex; 
    align-items: center; 
    background: #f5f5f5; 
    border-radius: 12px; 
    overflow: hidden;
    /* Increase min-width to make the whole block wider */
    min-width: 130px; 
    height: 50px; /* Slightly taller for better touch targets */
}

.qty-btn { 
    width: 45px; 
    height: 100%; 
    border: none; 
    background: none; 
    font-size: 20px; 
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e0e0e0;
}

#qv-qty-input { 
    /* Increase width of the number area */
    width: 40px; 
    border: none; 
    background: none; 
    text-align: center; 
    font-weight: 700; 
    font-size: 18px; /* Larger text for readability */
    color: #000;
}

.add-to-cart-btn { flex: 1; background: var(--royal-red); color: #fff; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; }

/* Enhanced Image Slider Container */
.qvImageSwiper { 
    width: 100%; 
    height: auto; /* Allow height to adjust based on content */

    
    border-radius: 12px;
    overflow: hidden;
}

/* Fix for Image Cutting */
.qvImageSwiper .swiper-slide img { 
    width: 100%; 
   
    object-fit: contain; /* Shows full image without cutting */
 
}

.product-page-container .swiper-slide {

  width: 100% !important;
}
/* Professional Pagination dots */
.qvImageSwiper .swiper-pagination-bullet {
    background: #000;
    opacity: 0.3;
}

.qvImageSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    border-radius: 5px;
    transition: width 0.3s ease;
}
.qv-navigation-links {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    text-align: center;
}

.view-full-detail {
    display: inline-block;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border: 1px solid #000;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.view-full-detail:hover {
    background: var(--royal-red);
    color: #fff;
    gap: 10px;
}

.view-full-detail i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.view-full-detail:hover i {
    transform: translateX(5px);
}

.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ff3e6c; /* Bright color */
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 2px;
    border-radius: 50%;
    min-width: 18px;
	min-height:10px;
    text-align: center;
}


.item-coupons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 5px 0;
}

.badge-coupon {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px dashed #2196f3;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.badge-coupon i {
    margin-right: 3px;
}

/* Sidebar Container */
/* --- Cart Sidebar Structure --- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px; /* Hidden state */
    width: 400px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.cart-sidebar.active {
    right: 0;
}

/* Background Dimming */
.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    z-index: 9998;
    display: none;
}

.cart-sidebar-overlay.active {
    display: block;
}

/* --- Header Section --- */
.cart-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-sidebar-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.close-cart-sidebar {
    font-size: 24px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.close-cart-sidebar:hover {
    color: #000;
}

/* --- Product List Area --- */
#cart-sidebar-content {
    flex: 1;
    overflow-y: auto;
    background: #fff;
}

.cart-product-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #f9f9f9;
    gap: 15px;
}

/* Variant Static Image */
.cart-product-thumb img {
    width: 85px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    background: #f5f5f5;
}

.cart-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-product-name-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.cart-product-name-row h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    padding-right: 10px;
}

.line-total-price {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
}

/* Metadata (Size/Color) */
.cart-item-meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}

.cart-item-meta strong {
    color: #333;
}

/* --- Pricing Breakdown --- */
.item-pricing-details {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.reg-price-strike {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
}

.sale-price-display {
    color: #000;
    font-weight: 600;
    font-size: 14px;
}

.save-amount-badge {
    color: #16a34a; /* Success Green */
    font-size: 12px;
    font-weight: 600;
}

/* --- Controls Footer --- */
.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.cart-qty-updater {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    height: 32px;
    overflow: hidden;
}

.update-qty-btn {
    width: 30px;
    height: 100%;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.update-qty-btn:hover {
    background: #f5f5f5;
}

.cart-qty-updater input {
    width: 35px;
    border: none;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    pointer-events: none;
}

.remove-item-link {
    background: none;
    border: none;
    color: #bbbbbb;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: color 0.2s;
}

.remove-item-link:hover {
    color: #ef4444;
}

/* --- Sidebar Footer & Totals --- */
.cart-sidebar-summary {
    padding: 20px;
    border-top: 1px solid #f1f1f1;
    background: #fff;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.total-row span:first-child {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.grand-total-val {
    font-size: 20px;
    font-weight: 800;
    color: #000;
}

.checkout-btn {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s, background 0.2s;
}

.checkout-btn:hover {
    background: #222;
    transform: translateY(-2px);
    color: #fff;
}

/* --- Empty Cart Styling --- */
.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #999;
    font-weight: 500;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* --- Sidebar Footer Container --- */
.cart-sidebar-summary {
    padding: 20px 25px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

/* Subtotal Row */
.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.total-row span:first-child {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.grand-total-val {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

/* Notice Area */
.cart-notice-area {
    margin-bottom: 20px;
}

.tax-notice {
    font-size: 13px;
    color: #777;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.exchange-notice {
    font-size: 13px;
    color: #16a34a; /* Professional Green */
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.exchange-notice i {
    font-size: 12px;
}

/* Checkout Button */
.checkout-btn {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s ease;
}

.checkout-btn:hover {
    background: #333;
    color: #fff;
}

/* Login Overlay - Dims the background */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: none; /* Controlled by .active class */
    align-items: center;
    justify-content: center;
    z-index: 10001; /* Must be higher than cart sidebar (9999) */
}

.login-modal-overlay.active {
    display: flex;
}

/* Modal Box */
.login-modal-content {
    background: #fff;
    width: 90%;
    max-width: 400px;
    padding: 40px 30px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
}

/* Close Button */
.close-login {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.close-login:hover {
    color: #333;
}

/* Typography */
.login-modal-content h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.login-modal-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

/* Form Styles */
#login-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

#login-form input {
    width: 100%;
	box-sizing: border-box; /* ADD THIS LINE */
    padding: 14px 16px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

#login-form input:focus {
    border-color: #000;
}

/* Submit Button */
#login-submit-btn {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

#login-submit-btn:hover {
    background: #333;
}

/* OTP Section Animation */
#otp-section {
    padding-top: 10px;
    border-top: 1px dashed #eee;
    margin-top: 10px;
}

@media (max-width: 480px) {
    .login-modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .login-modal-content h3 {
        font-size: 18px;
    }
}


.astro-suggestion-box {
    margin: 15px 0;
    padding: 12px 18px;
    background: linear-gradient(135deg, #fdf4ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(156, 39, 176, 0.05);
}

.astro-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5b21b6;
}

.astro-content i {
    font-size: 18px;
    color: #9333ea;
}

.color-text {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #7e22ce;
    font-size: 14px;
}

.guest-msg span {
    color: #6b7280;
}

.open-login-link {
    color: #9333ea;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #9333ea;
}

.open-login-link:hover {
    color: #7e22ce;
}

/* Optional: Add a subtle glow to the magic icon */
.fa-magic {
    text-shadow: 0 0 8px rgba(147, 51, 234, 0.4);
    animation: astro-glow 2s infinite alternate;
}

@keyframes astro-glow {
    from { transform: rotate(-5deg); }
    to { transform: rotate(10deg); }
}


/* product page/////////////////////////////////////////////*/
/* Container Spacing */
@media (min-width: 1024px) {
    .product-page-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 1400px) {
    .product-page-container {
        padding-left: 80px;
        padding-right: 80px;
    }
}
.product-page-container {
    padding: 10px 30px;
    background-color: #ffffff;
    min-height: 80vh;
}

/* Breadcrumb Styling */
.product-breadcrumb {
    padding: 10px 0;
    margin-bottom: 15px;
	white-space: nowrap;
  text-overflow: clip;
  overflow: hidden;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-list li {
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #999;
}

.breadcrumb-list li a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list li a:hover {
    color: #000;
}

.breadcrumb-list li i {
    font-size: 9px;
    color: #ccc;
}

.breadcrumb-list li.current-page {
    color: #1a1a1a;
    font-weight: 600;
}

/* Row Alignment */
.product-main-layout {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}


.product-page-container {
    padding: 20px;
	padding-left: 5%;
  padding-right: 5%;
}

.product-main-layout {
    margin-top: 20px;
}

/* 🔥 PRODUCT SLIDER IMAGE */

.qvImageSwiper {
    width: 100%;
}

/* slide */
.qvImageSwiper .swiper-slide {
    display: flex;
	overflow: hidden;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
}

/* image */
.qvImageSwiper img {
    width: 100%;
   transition: transform 0.4s ease;
    object-fit: contain;
   
}
/* hover effect */
@media (min-width: 1024px) {
    .qvImageSwiper .swiper-slide:hover img {
        transform: scale(1.15);
    }
}

.qvImageSwiper img.zoomed {
    transform: scale(2);
}


/* 🔥 FULL SCREEN OVERLAY */
.size-chart-modal {
    position: fixed;
    inset: 0; /* shorthand for top/left/right/bottom */
    background: rgba(0,0,0,0.6);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;
}

/* 🔥 HIDE BY DEFAULT */
.size-chart-modal {
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

/* 🔥 ACTIVE STATE */
.size-chart-modal.active {
    opacity: 1;
    visibility: visible;
}

/* 🔥 MODAL BOX */
.size-chart-box {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;

    max-height: 90vh;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    animation: scaleIn 0.25s ease;
}

/* 🔥 HEADER */
.size-chart-box h3 {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    margin: 0;
}

/* 🔥 CONTENT AREA */
#size-chart-content {
    padding: 15px;
    overflow-y: auto;
}

/* 🔥 IMAGE */
.size-chart-box img {
    width: 100%;
    border-radius: 8px;
}

/* 🔥 CLOSE BUTTON */
.close-size-chart {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    cursor: pointer;
}

/* 🔥 ANIMATION */
@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.size-chart-link a {
    font-size: 14px;
    font-weight: 500;
    color: #ff3f6c; /* brand style */
    text-decoration: none;
    border-bottom: 1px dashed #ff3f6c;
    padding-bottom: 2px;
    transition: 0.2s ease;
}

.size-chart-link a:hover {
    color: #e6335a;
    border-bottom: 1px solid #e6335a;
}
.size-chart-link {
    margin-top: 8px;
}


.coupon-list {
    margin-top: 18px;
}

.coupon-heading {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.coupon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    border: 1px solid #eee;
    border-left: 4px solid #ff3f6c;

    padding: 10px 12px;
    border-radius: 8px;

    margin-bottom: 10px;
    background: #fff;

    transition: 0.2s ease;
}

.coupon-item:hover {
    background: #fff7f8;
    border-color: #ff3f6c;
}

.coupon-title {
    font-size: 14px;
    font-weight: 600;
    color: #ff3f6c;
}

.coupon-sub {
    font-size: 12px;
    color: #666;
}

.copy-coupon-btn {
    background: transparent;
    border: 1px solid #ff3f6c;
    color: #ff3f6c;

    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;

    transition: 0.2s ease;
}

.copy-coupon-btn:hover {
    background: #ff3f6c;
    color: #fff;
}


/* wrapper */
.toggle-wrapper {
    border-top: 1px solid #eee;
    padding: 10px 0;
}

/* header */
.toggle-section {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 15px;
    font-weight: 600;
    cursor: pointer;

    padding: 10px 0;
}

/* arrow */
.toggle-section i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

/* content */
.toggle-content {
    display: none;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    padding-bottom: 10px;
}

/* active state */
.toggle-wrapper.active .toggle-section i {
    transform: rotate(180deg);
}

.toggle-content p {
    margin-bottom: 8px;
}

.toggle-content ul {
    padding-left: 18px;
}

.toggle-content li {
    margin-bottom: 5px;
}

.toggle-content strong {
    font-weight: 600;
    color: #333;
}
.toggle-wrapper:hover {
    background: #fafafa;
    border-radius: 6px;
    padding-left: 6px;
    padding-right: 6px;
}
.toggle-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.toggle-wrapper.active .toggle-content {
    max-height: 500px; /* adjust based on content */
}

.product-tabs {
    margin-top: 30px;
}

/* header */
.tab-header {
    display: flex;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

/* tab buttons */
.tab-btn {
    padding: 12px 0;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    position: relative;
}

/* active tab */
.tab-btn.active {
    color: #000;
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
}

/* content */
.tab-content {
    display: none;
    padding-top: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.tab-content.active {
    display: block;
}

.review-box {
    padding: 10px 0;
}

.write-review-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}

/* summary */
.review-summary {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.avg-rating {
    font-size: 20px;
    font-weight: 600;
}

.total-reviews {
    color: #777;
}

/* stars */
.rating-stars i {
    font-size: 20px;
    color: #ddd;
    cursor: pointer;
}

.rating-stars i.active {
    color: #ffb400;
}

/* textarea */
.review-form textarea {
    width: 100%;
    height: 80px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* button */
#submit-review {
    margin-top: 10px;
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}

/* review list */
.review-item {
    border-top: 1px solid #eee;
    padding: 10px 0;
}

.review-stars {
    color: #ffb400;
}




.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-info {
    padding: 10px;
    text-align: center; /* 🔥 center everything */
}

/* name */
.product-name {
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
    height: 34px;
    overflow: hidden;
}

/* price row */
.product-price-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* selling price */
.price {
    font-weight: 600;
    font-size: 14px;
    color: #000;
}

/* old price */
.old-price {
    font-size: 12px;
    color: #888;
    text-decoration: line-through;
}

/* discount */
.discount {
    font-size: 12px;
    color: #ff3f6c;
    font-weight: 500;
}

.wb-top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}

.view-all-link {
    font-size: 13px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-all-link:hover {
    opacity: 0.7;
}

@media (min-width: 1024px) {
    .product-img img {
        height: 620px;
    }
}



.wb-top-bar {
    display: flex;
	justify-content: center; /* 🔥 center */
      text-align: center;
    margin: 14px 0 6px;   /* 👈 spacing control */
    align-items: center;
    margin-bottom: 12px;
}

.view-all-wrap {
  
}

.view-all-btn {
   
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
}
/* 🔥 BUTTON STYLE */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;


    font-size: 12px;
    font-weight: 600;

    background: var(--royal-red);
    color: #fff;
    text-decoration: none;

    transition: all 0.25s ease;
}

/* hover */
.view-all-btn:hover {
    background: #333;
    transform: translateX(2px);
}

/* arrow animation */
.view-all-btn i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.view-all-btn:hover i {
    transform: translateX(4px);
}


.cat-scroll-wrapper {
    overflow-x: auto;
    padding: 10px 8px; margin:auto;
		justify-content: center; /* 🔥 center */
}

.cat-scroll {
    
	 display: flex;
    gap: 14px;
    justify-content: center;   /* 👈 center items */
}

.cat-scroll-wrapper {
    overflow-x: auto;
    padding: 12px 16px;   /* 👈 left-right spacing fix */
    -webkit-overflow-scrolling: touch;
}
.cat-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.cat-scroll-wrapper {
    scrollbar-width: none; /* Firefox */
}
.cat-scroll {
    display: flex;
    gap: 14px;
    width: max-content;
    min-width: 100%;
}
.cat-item {
    flex: 0 0 auto;
    text-align: center;
   ;
}
.cat-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.cat-item {
    flex: 0 0 auto;
    text-align: center;
    width: 22vw;              /* 👈 responsive width */
    max-width: 200px;        /* 👈 desktop cap */
    min-width: 80px;         /* 👈 mobile safety */
    text-decoration: none;
    color: #222;
}

.cat-img {
    width: 100%;
    aspect-ratio: 1 / 1;     /* 👈 perfect circle always */
    margin: 0 auto 6px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    border: 2px solid var(--royal-red);
}

@media (hover: hover) {
    .cat-item:hover {
        transform: translateY(-3px);
        transition: 0.2s ease;
    }
}
/* Image base */
.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;  /* 👈 smooth zoom */
}

/* Hover effect (desktop only) */
@media (hover: hover) {
    .cat-item:hover img {
        transform: scale(1.12);   /* 👈 zoom in */
    }
}

.cat-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    display: block;
}

.cat-scroll {
    scroll-snap-type: x mandatory;
}

.cat-item {
    scroll-snap-align: start;
}


.reel-actions {
    position: absolute;
    left: 10px;
    top: 200px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 5;
}

.action-btn {
    text-align: center;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}

.action-btn i {
    font-size: 22px;
    display: block;
    margin-bottom: 4px;
}

/* Like active */
.like-btn.liked i {
    color: #ff2e63;
}


/* Overlay */
.share-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: flex-end;   /* 👈 bottom sheet style */
    justify-content: center;
    z-index: 99999;
}

/* Box */
.share-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 18px 16px 20px;
    animation: slideUp 0.25s ease;
}

/* Animation */
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Title */
.share-box h3 {
    text-align: center;
    font-size: 16px;
    margin-bottom: 14px;
}

/* Options row */
.share-options {
    display: flex;
    justify-content: space-around;
    gap: 12px;
}

/* Each item */
.share-options a,
.share-options button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    width: 70px;
}

/* Icon circle */
.share-options i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Colors */
#share-whatsapp i {
    background: #25D366;
    color: #fff;
}

#share-facebook i {
    background: #1877F2;
    color: #fff;
}

#copy-link-btn i {
    background: #eee;
    color: #333;
}

/* Text */
.share-options span {
    font-size: 12px;
}

/* Close button */
.close-share {
    margin-top: 16px;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #f2f2f2;
    font-weight: 600;
    cursor: pointer;
}

.home-section{
	
	max-width: 100%;
  padding: 40px 15px;
}
.section-header {
  text-align: center;
  margin-bottom: 30px;
}
.section-header h2 {font-weight: 800;
  font-size: 26px;
  margin: 0;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--royal-red);
}


/* NEW SLIDER WRAP */
.product-slider-wrap {
    width: 100%;
    padding: 0 10px;
}

/* SWIPER */
.productSwiper {
    width: 100%;
}

.productSwiper .swiper-slide {
    width: auto;
}
.productSwiper {
    padding: 0 10px;
}


.review-slider-wrap {
    padding: 0 10px;
}

.review-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
}



@media (min-width: 1024px) {
  .review-product-img img {
    height: 620px !important;
  }
}
.review-product-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
    border-radius: 8px;
}

.review-rating {
    font-weight: bold;
    margin-top: 6px;
}

.review-text {
    font-size: 13px;
    margin: 6px 0;
    color: #555;
}
.review-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* 🔥 only 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-user {
    font-size: 12px;
    color: #888;
}


/* 🔥 SINGLE LINE TEXT WITH ELLIPSIS */
.text-ellipsis-1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 🔥 OPTIONAL: 2 LINE CLAMP (better UX) */
.text-ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main-footer {
  position: relative;
  color: #fff;
  background: #1a0f0f;
 
  overflow: hidden;
}

/* Background image */
.main-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/images/ethnic-pattern.png') repeat;
  opacity: 0.08;
}

/* Overlay gradient */
.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #1a0f0f, #2b1515);
}

.footer-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
 max-width: 100%;
  padding: 40px 15px;
  margin: auto;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #f5d28e;
}

.footer-logo {
  font-size: 24px;
  color: #f5d28e;
}

.footer-desc {
  font-size: 14px;
  opacity: 0.8;
  margin: 10px 0 15px;
}

.socials a {
  margin-right: 12px;
  font-size: 16px;
  color: #fff;
  transition: 0.3s;
}

.socials a:hover {
  color: #f5d28e;
}

.contact-col p {
  font-size: 14px;
  margin-bottom: 10px;
}

.contact-col i {
  margin-right: 8px;
  color: #f5d28e;
}

.contact-col a {
  color: #ccc;
  text-decoration: none;
}

.contact-col a:hover {
  color: #f5d28e;
}

.footer-col p {
  font-size: 14px;
  opacity: 0.8;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #f5d28e;
}

.socials a {
  margin-right: 10px;
  color: #fff;
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  opacity: 0.7;
}

@media (max-width: 768px) {

  .footer-container {
    display: block;
  }

  .footer-col {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 12px 0;
  }

  .footer-col h4 {
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin: 0;
  }

  /* arrow icon */
  .footer-col h4::after {
    content: "+";
    font-size: 18px;
    transition: 0.3s;
  }

  .footer-col.active h4::after {
    content: "-";
  }

  .footer-col ul,
  .footer-col p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .footer-col.active ul,
  .footer-col.active p {
    max-height: 300px; /* adjust if needed */
    margin-top: 10px;
  }

  /* brand always open */
  .footer-col:first-child ul,
  .footer-col:first-child p {
    max-height: unset;
  }
}

.footer-seo {
  background: #140c0c;
  color: #ccc;
  padding: 30px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.seo-container {
  max-width: 1100px;
  margin: auto;
}

.seo-title {
  font-size: 18px;
  color: #f5d28e;
  margin-bottom: 10px;
}

.footer-seo p {
  font-size: 14px;
  line-height: 1.6;
}

.seo-more {
  display: none;
}

.seo-toggle {
  margin-top: 10px;
  background: none;
  border: none;
  color: #f5d28e;
  cursor: pointer;
  font-size: 13px;
}


.collection-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.collection-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.collection-top h1 {
  font-size: 20px;
}

#product-count {
  font-size: 13px;
  color: #777;
}

.collection-filters {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.collection-filters select {
  padding: 6px 10px;
  font-size: 13px;
}

/* 🔥 sticky filter bar */
.collection-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}


#collection-products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px; padding: 20px;
}

@media (min-width: 768px) {
  #collection-products {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

#product-count {
  font-size: 13px;
  color: #888;
  font-weight: 500;
}

.checkout-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  padding: 20px;
}

.checkout-card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.checkout-card h3 {
  margin-bottom: 10px;
}

.checkout-card input,
.checkout-card textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
}

.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.summary-total {
  font-weight: bold;
  font-size: 16px;
}

#place-order-btn {
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}

.sticky {
  position: sticky;
  top: 80px;
}

/* MOBILE */
@media (max-width: 768px) {
  .checkout-container {
    grid-template-columns: 1fr;
  }
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row input {
  flex: 1;
}

.checkout-card input,
.checkout-card textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

.coupon-row {
  display: flex;
  gap: 10px;
}

.coupon-row input {
  flex: 1;
}

.coupon-row button {
  padding: 10px 15px;
  background: #000;
  color: #fff;
  border: none;
}

.pincode-status {
  font-size: 13px;
  margin-bottom: 10px;
}

.pincode-success {
  color: green;
}

.pincode-error {
  color: red;
}

.pay-option {
  display: block;
  margin-bottom: 8px;
}


@keyframes savePop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

#coupon-info {
  animation: savePop 0.4s ease;
}


.payment-card h3 {
  margin-bottom: 10px;
}

.payment-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.2s;
  position: relative;
}

/* hide default radio */
.payment-option input {
  display: none;
}

/* hover */
.payment-option:hover {
  border-color: #000;
}

/* active state */
.payment-option.active {
  border: 2px solid #000;
  background: #fafafa;
}

/* content */
.payment-content {
  display: flex;
  flex-direction: column;
}

.pay-title {
  font-weight: 600;
}

.pay-desc {
  font-size: 12px;
  color: #777;
}

/* custom check circle */
.pay-check {
  width: 18px;
  height: 18px;
  border: 2px solid #aaa;
  border-radius: 50%;
  position: relative;
}

/* checked state */
.payment-option.active .pay-check {
  border-color: #000;
}

.payment-option.active .pay-check::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
}


.thankyou-container {
  display: flex;
  justify-content: center;
  padding: 40px 15px;
}

.thankyou-card {
  max-width: 500px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.success-icon {
  width: 70px;
  height: 70px;
  background: #eafaf1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.success-icon i {
  font-size: 30px;
  color: #2ecc71;
}

.thankyou-msg {
  color: #555;
  margin-bottom: 15px;
}

.order-info {
  background: #f8f8f8;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
}

.order-items {
  text-align: left;
  margin-bottom: 15px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.order-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-bottom: 20px;
}

.thankyou-actions {
  display: flex;
  gap: 10px;
}

.btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
}

.btn.primary {
  background: #000;
  color: #fff;
}

.btn.secondary {
  border: 1px solid #000;
  color: #000;
}

.account-container {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.account-sidebar {
  width: 220px;
  border-right: 1px solid #eee;
}

.account-sidebar ul {
  list-style: none;
  padding: 0;
}

.account-sidebar li {
  padding: 12px;
  cursor: pointer;
  border-radius: 6px;
}

.account-sidebar li.active,
.account-sidebar li:hover {
  background: #000;
  color: #fff;
}

.account-content {
  flex: 1;
}

.account-tab {
  display: none;
}

.account-tab.active {
  display: block;
}

.profile-box {
  background: #f8f8f8;
  padding: 15px;
  border-radius: 8px;
}

.order-card {
  border: 1px solid #eee;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 8px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 5px;
}

.order-items {
  font-size: 13px;
  color: #555;
}

.address-card {
  border: 1px solid #eee;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.address-actions {
  margin-top: 8px;
}

.address-actions button {
  margin-right: 10px;
  font-size: 12px;
}

/* 🔥 Address Section */
.address-section {
  margin-top: 25px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.section-header h3 {
  font-size: 18px;
  font-weight: 600;
}

#add-address-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

#add-address-btn:hover {
  background: #333;
}

/* 🔥 Address Cards */
.address-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
  position: relative;
  background: #fff;
}

.address-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.address-card.active {
  border: 2px solid #000;
  background: #fafafa;
}

/* Default Tag */
.address-card.active::before {
  content: "Default";
  position: absolute;
  top: -8px;
  right: 10px;
  background: #000;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Address Text */
.address-card strong {
  display: block;
  margin-bottom: 4px;
}

.address-card p {
  font-size: 13px;
  color: #555;
  margin: 0;
}

/* Actions */
.address-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.address-actions button {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.select-address {
  background: #000;
  color: #fff;
}

.delete-address {
  background: #eee;
}

/* 🔥 Modal Overlay */
#address-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;    z-index: 99999; /* 🔥 higher than header */
 
}

/* Modal Box */
#address-modal .modal-content {
  background: #fff;
  padding: 20px;  margin:auto;
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: fadeUp 0.3s ease;
}

.account-tab {
  display: none;
}

.account-tab.active {
  display: block;
}
@keyframes fadeUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* 🔥 DEFAULT (DESKTOP) */
.account-container {
  display: flex;
  gap: 20px;
}

.account-sidebar {
  width: 220px;
}

.account-content {
  flex: 1;
}


/* 🔥 MOBILE FIX */
@media (max-width: 768px) {

  .account-container {
    flex-direction: column; /* 🔥 stack */
  }

  .account-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .account-sidebar ul {
    display: flex;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
  }

  .account-sidebar li {
    flex: 1;
    padding: 12px;
    font-size: 13px;
    border-right: 1px solid #ddd;
  }

  .account-sidebar li:last-child {
    border-right: none;
  }

  .account-sidebar li.active {
    background: #000;
    color: #fff;
  }

  .account-content {
    width: 100%;
  }

}


/* Heading */
#address-modal h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

/* Inputs */
#address-modal input,
#address-modal textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

/* Row */
.modal-row {
  display: flex;
  gap: 10px;
}

.modal-row input {
  flex: 1;
}

/* Save Button */
#save-address {
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

#save-address:hover {
  background: #333;
}

@media (max-width: 768px) {

  .modal-row {
    flex-direction: column;
  }

  .address-card {
    padding: 12px;
  }

  .section-header h3 {
    font-size: 16px;
  }

}

.checkout-address-list {
  margin-bottom: 15px;
}

.checkout-address-item {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}

.checkout-address-item.active {
  border: 2px solid #000;
  background: #fafafa;
}

.checkout-address-card{
    border:1px solid #e5e5e5;
    border-radius:14px;
    padding:14px;
    margin-bottom:12px;
    background:#fff;
    transition:.2s;
}

.checkout-address-card.active{
    border:2px solid #000;
    background:#fafafa;
}

.address-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:10px;
}

.address-name{
    font-weight:700;
    font-size:15px;
}

.address-phone{
    font-size:13px;
    color:#666;
    margin-top:3px;
}

.address-text{
    font-size:14px;
    line-height:1.5;
    color:#333;
    margin-bottom:14px;
}

.default-badge{
    background:#000;
    color:#fff;
    font-size:11px;
    padding:4px 10px;
    border-radius:20px;
}

.address-actions{
    display:flex;
    gap:10px;
}

.deliver-here-btn{
    flex:1;
    height:42px;
    border:none;
    background:#000;
    color:#fff;
    border-radius:10px;
    font-weight:600;
}

.mini-delete-btn{
    width:90px;
    border:none;
    background:#f3f3f3;
    border-radius:10px;
}

.add-address-btn{
    width:100%;
    height:48px;
    border:2px dashed #ccc;
    background:#fafafa;
    border-radius:12px;
    font-weight:600;
}


#address-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:99999;
}

.address-modal-box{
    width:92%;
    max-width:420px;
    background:#fff;
    border-radius:18px;
    padding:20px;
}

.address-modal-box input{
    width:100%;
    height:48px;
    border:1px solid #ddd;
    border-radius:10px;
    padding:0 14px;
    margin-bottom:12px;
}

#save-address{
    width:100%;
    height:50px;
    border:none;
    background:#000;
    color:#fff;
    border-radius:12px;
    font-weight:700;
}

/* 🔥 STATIC PAGE WRAPPER */
.static-page {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px 60px;
    line-height: 1.7;
    color: #222;
}

/* Top breadcrumb/title */
.static-page .page-small-title {
    font-size: 14px;
    color: #777;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Main heading */
.static-page h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 18px;
    font-weight: 700;
    color: #111;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 18px;
}

/* Section headings */
.static-page h2 {
    font-size: 30px;
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #111;
}

.static-page h3 {
    font-size: 24px;
    margin-top: 28px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Paragraphs */
.static-page p {
    font-size: 17px;
    color: #444;
    margin-bottom: 16px;
}

/* Lists */
.static-page ul,
.static-page ol {
    margin: 18px 0;
    padding-left: 22px;
}

.static-page li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

/* Highlight bold text */
.static-page strong {
    color: #000;
    font-weight: 700;
}

/* Section cards */
.static-page .policy-section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 22px;
    transition: .2s ease;
}

.static-page .policy-section:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
}

/* Divider */
.static-page hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 35px 0;
}

/* Notes / warning box */
.static-page .note-box {
    background: #fff8e7;
    border-left: 4px solid #d4a017;
    padding: 14px 18px;
    border-radius: 10px;
    margin-top: 18px;
    font-size: 15px;
}

/* Links */
.static-page a {
    color: #000;
    text-decoration: underline;
}

.static-page a:hover {
    opacity: .7;
}

/* Table */
.static-page table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
}

.static-page table th,
.static-page table td {
    border: 1px solid #eee;
    padding: 12px;
    text-align: left;
}

.static-page table th {
    background: #fafafa;
    font-weight: 700;
}

/* 🔥 MOBILE */
@media (max-width: 768px) {

    .static-page {
        margin: 20px auto;
        padding: 0 16px 40px;
    }

    .static-page h1 {
        font-size: 30px;
    }

    .static-page h2 {
        font-size: 24px;
    }

    .static-page h3 {
        font-size: 20px;
    }

    .static-page p,
    .static-page li {
        font-size: 15px;
    }

    .static-page .policy-section {
        padding: 18px;
        border-radius: 14px;
    }

}