/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* CSS Variables for Premium Rose Gold, Warm Cream, & Navy Theme */
:root {
    --primary-color: #c98a72; /* Elegant Rose Gold */
    --primary-light: #f7e6e1;
    --primary-dark: #b16a52;
    --accent-color: #1a303a; /* Deep Navy */
    --bg-cream: #f7f3ed; /* Warm Cream Background */
    --bg-white: #ffffff;
    --card-shadow: 0 10px 30px rgba(201, 138, 114, 0.08);
    --card-shadow-hover: 0 15px 40px rgba(201, 138, 114, 0.15);
    
    /* Standard Font Sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 2rem;
    --font-4xl: 2.5rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Font Size Scales for Accessibility */
body.font-sm {
    --font-xs: 0.7rem;
    --font-sm: 0.8rem;
    --font-base: 0.9rem;
    --font-lg: 1rem;
    --font-xl: 1.1rem;
    --font-2xl: 1.3rem;
    --font-3xl: 1.7rem;
    --font-4xl: 2.1rem;
}
body.font-md {
    /* Standard default values */
}
body.font-lg {
    --font-xs: 0.85rem;
    --font-sm: 0.95rem;
    --font-base: 1.1rem;
    --font-lg: 1.25rem;
    --font-xl: 1.4rem;
    --font-2xl: 1.7rem;
    --font-3xl: 2.3rem;
    --font-4xl: 2.8rem;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Sarabun', 'Prompt', sans-serif;
    background-color: var(--bg-cream);
    color: var(--accent-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 120px; /* Space for sticky footer */
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
    color: var(--accent-color);
    line-height: 1.3;
}

.serif-title {
    font-family: 'Playfair Display', 'Prompt', serif;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 600px; /* Target mobile look, max width of 600px keeps it centered and elegant like a native app on desktop */
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-muted { color: #889296; }
.price-strike { text-decoration: line-through; color: #b5bec1; font-size: var(--font-sm); margin-right: 5px; }

/* Header Design */
header {
    background: linear-gradient(135deg, #fff7f5 0%, #fff0eb 100%);
    padding: 20px 0;
    border-bottom: 1px solid rgba(201, 138, 114, 0.15);
}


.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
}





.logo-sub {
    font-size: var(--font-xs);
    color: var(--accent-color);
    letter-spacing: 2px;
    font-weight: 500;
}

/* Accessibility Control (Font Resizer) */
.font-controls {
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(201, 138, 114, 0.2);
    border-radius: 20px;
    padding: 3px;
}

.font-btn {
    border: none;
    background: transparent;
    padding: 5px 12px;
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--accent-color);
    cursor: pointer;
    border-radius: 17px;
    transition: var(--transition);
}

.font-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Hero Section */
.hero-sec {
    padding: 30px 0 15px 0;
}

.hero-banner-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(201, 138, 114, 0.15);
}








/* Card Sections Base Style */
.section-card {
    background-color: var(--bg-white);
    border-radius: 24px;
    padding: 25px 20px;
    margin-bottom: 25px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(201, 138, 114, 0.05);
    transition: var(--transition);
}

.section-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.section-title {
    font-size: var(--font-lg);
    font-weight: 600;
	color: #916848;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

/* Custom Light Cream Phone Input Styling (Replaces default blue focus/autofill background) */
#phone-input {
    background-color: #fffdfa !important;
    border: 1.5px solid #e2d5cb !important;
    color: var(--accent-color) !important;
    transition: all 0.3s ease;
}

#phone-input:focus {
    background-color: #fffaf5 !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(201, 138, 114, 0.15) !important;
    outline: none !important;
}

/* Override Chrome / Safari / Edge Autofill Blue Background */
#phone-input:-webkit-autofill,
#phone-input:-webkit-autofill:hover, 
#phone-input:-webkit-autofill:focus, 
#phone-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #fffaf5 inset !important;
    -webkit-text-fill-color: var(--accent-color) !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* CEO Letter Card Style */
.letter-box {
    background: #fffdfb;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 24px 24px 0;
    padding: 20px 15px;
}

.letter-content {
    font-size: var(--font-base);
    color: #4a5559;
    text-align: justify;
    max-height: 380px; /* Cut-off height */
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-out;
}

.letter-content.expanded {
    max-height: 5000px; /* High enough to contain full content */
}

/* Fade Overlay for Collapsed State */
.letter-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, #fffdfb, rgba(255, 253, 251, 0));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.letter-content.expanded::after {
    opacity: 0;
}

.letter-meta {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.ceo-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    object-fit: cover;
}

.ceo-info {
    text-align: right;
}

.ceo-name {
    font-size: var(--font-sm);
    font-weight: 700;
    color: var(--accent-color);
}

.ceo-title {
    font-size: var(--font-xs);
    color: var(--primary-dark);
}

/* Expand Button */
.btn-expand {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fae2dc 100%);
    border: none;
    padding: 12px;
    border-radius: 14px;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: var(--font-sm);
    cursor: pointer;
    margin-top: 15px;
    transition: var(--transition);
    text-align: center;
}

.btn-expand:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Event Notice Info Badge */
.info-notice {
    background-color: #f0f7f4;
    border-left: 4px solid #489b70;
    padding: 12px;
    border-radius: 0 12px 12px 0;
    font-size: var(--font-sm);
    margin-bottom: 20px;
    color: #2b573d;
}

/* 7-Eleven Style Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns on mobile */
    gap: 15px;
}

@media (max-width: 360px) {
    .product-grid {
        grid-template-columns: 1fr; /* 1 column on extremely small devices */
    }
}

.product-card {
    background-color: var(--bg-white);
    border: 1px solid #f2ece8;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 138, 114, 0.08);
    border-color: var(--primary-light);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: #faf7f5;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 6px;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

/* Discount Badge */
.discount-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    background: linear-gradient(135deg, #e76f51 0%, #f4a261 100%);
    color: var(--bg-white);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 30px;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(231, 111, 81, 0.15);
}

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.35;
    margin-bottom: 2px;
    height: 36px; /* Two-line height limit */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-weight {
    font-size: 10px;
    color: #889296;
    margin-bottom: 4px;
}

.product-price-row {
    margin-bottom: 6px;
}

.product-price-actual {
    font-size: 16px;
    font-weight: 800;
    color: #e63946; /* Clean, premium vibrant red */
    font-family: 'Sarabun', sans-serif;
}



.currency-unit {
    font-size: 0.75em;
    font-weight: 500;
    color: #889296;
    margin-left: 2px;
}

.currency-unit-large {
    font-size: 0.55em;
    font-weight: 600;
    color: #e63946;
    margin-left: 3px;
}


/* 50% condition tag in cards */
.promo-condition-tag {
    font-size: 9px;
    color: #ffffff;
    background-color: #a82025; /* Elegant dark red */
    border-radius: 5px;
    padding: 2px 6px;
    display: inline-block;
    margin-top: 2px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(168, 32, 37, 0.1);
}


/* Quantity Control Buttons */
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #faf7f5;
    border-radius: 8px;
    padding: 2px;
    margin-top: auto;
}

.qty-btn {
    border: none;
    background-color: var(--bg-white);
    color: var(--accent-color);
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.qty-btn:active {
    transform: scale(0.9);
}

.qty-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.qty-val {
    font-size: var(--font-base);
    font-weight: 700;
    font-family: 'Sarabun', sans-serif;
    width: 20px;
    text-align: center;
}


/* Shipping Settings Card */
.shipping-options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.ship-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: var(--font-sm);
    font-weight: 600;
}

.ship-label input {
    margin-right: 8px;
    accent-color: var(--primary-color);
}

.ship-label.selected {
    border-color: #0ea5e9;
    background-color: #ECF8F8;
    color: #0369a1;
}

.ship-label.selected input {
    accent-color: #0ea5e9;
}

.ship-price {
    font-weight: 700;
    color: #889296;
    margin-left: auto;
}

.ship-label.selected .ship-price {
    color: #0369a1;
}

.ship-label.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #f0ebea;
    border-color: #e2d9d5;
    color: #9c8e8a;
}


/* Sticky Bottom Drawer for Calculator Summary */
.sticky-summary {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(201, 138, 114, 0.15);
    border-radius: 24px 24px 0 0;
    padding: 15px 20px 20px 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
    z-index: 99;
    display: none; /* Shown dynamically via JS */
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideUp {
    from { transform: translate(-50%, 100%); }
    to { transform: translate(-50%, 0); }
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.summary-title {
    font-size: var(--font-base);
    font-weight: 700;
    color: var(--accent-color);
}

.summary-toggle {
    border: none;
    background: transparent;
    color: var(--primary-dark);
    font-size: var(--font-xs);
    font-weight: 700;
    cursor: pointer;
}

.summary-detail {
    display: none;
    border-top: 1px dashed rgba(201, 138, 114, 0.15);
    padding-top: 12px;
    margin-bottom: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.summary-detail.show {
    display: block;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-sm);
    margin-bottom: 6px;
    color: #4a5559;
}

.summary-calc-info {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-xs);
    color: #889296;
    margin-bottom: 4px;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-top: 1px solid rgba(201, 138, 114, 0.1);
    padding-top: 10px;
}

.total-label {
    font-size: var(--font-base);
    font-weight: 700;
}

.total-price {
    font-size: var(--font-2xl);
    font-weight: 800;
    color: #e63946; /* Clean, premium vibrant red */
    font-family: 'Sarabun', sans-serif;
}

.summary-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.btn-share {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: var(--bg-white);
    padding: 14px;
    border-radius: 16px;
    font-weight: 700;
    font-size: var(--font-base);
    font-family: 'Sarabun', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 15px rgba(201, 138, 114, 0.3);
    transition: var(--transition);
}


.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(201, 138, 114, 0.4);
}

/* Sales Articles Grid Style */
.article-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-card {
    display: flex;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid #f7ece8;
    padding-bottom: 15px;
}

.article-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.article-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    background-color: #faf7f5;
}

.article-info {
    flex-grow: 1;
}

.article-title {
    font-size: var(--font-base);
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--accent-color);
}

.article-excerpt {
    font-size: var(--font-sm);
    color: #6a767a;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Modal Popup for Articles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 48, 58, 0.6);
    backdrop-filter: blur(5px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px 20px 20px 20px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    animation: zoomIn 0.3s ease forwards;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    background-color: #faf7f5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.modal-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 20px;
    background-color: #faf7f5;
}

.modal-title {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-color);
}

.modal-text {
    font-size: var(--font-base);
    color: #4a5559;
    line-height: 1.8;
}

/* Toast Notification for Clipboard Copy Feedback */
.toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--bg-cream);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: var(--font-sm);
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 999;
    display: none;
    animation: fadeInOut 2.5s ease forwards;
}

@keyframes fadeInOut {
    0% { transform: translate(-50%, -20px); opacity: 0; }
    10% { transform: translate(-50%, 0); opacity: 1; }
    90% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, -20px); opacity: 0; }
}

/* Footer Section */
footer {
    padding: 40px 0;
    background-color: #fffaf7;
    border-top: 1px solid rgba(201, 138, 114, 0.1);
}

.footer-logo {
    font-size: var(--font-lg);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}


/* ==========================================================================
   ADDED FOR 14-YEARS EVENT NEW LAYOUT
   ========================================================================== */

/* Horizontal Scroller Layout for categories */
.horizontal-scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 10px 4px 20px 4px;
    scrollbar-width: none; /* Firefox */
}
.horizontal-scroller::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.horizontal-scroller .product-card {
    flex: 0 0 196px; /* Fixed width for horizontal swipe cards (reduced 30% from 280px) */
    scroll-snap-align: start;
    margin-bottom: 0;
}

/* Category styling */
.category-block {
    margin-bottom: 20px;
}
.category-title {
    font-size: var(--font-base);
    color: var(--primary-dark);
    margin-bottom: 12px;
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
    font-weight: 700;
}

/* Search Form and Results styles */
.search-form input:focus {
    border-color: var(--primary-color) !important;
}
.results-state {
    margin-top: 15px;
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Shipping Progress Scale styling */
.shipping-scale-container {
    margin-top: 15px;
}

/* Dynamic Agent Card styling */
#agent-contact-card {
    background-color: #fffaf7;
    border: 1px solid rgba(201, 138, 114, 0.15);
}

/* Hidden Class Utility */
.hidden {
    display: none !important;
}

/* Responsive Two-Column Layout for Desktop (>= 992px) */
@media (min-width: 992px) {
    /* Expand main container width on desktop */
    main.container {
        max-width: 1120px;
        width: 100%;
        padding: 0 24px;
        margin: 0 auto;
    }
    
    /* Layout grid wrapper */
    .main-layout-grid {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 24px;
        align-items: start;
        margin-top: 20px;
    }
    
    /* Left column (main content / catalog) */
    .main-column-left {
        min-width: 0; /* Prevents grid items from overflowing */
    }
    
    /* Right column (sticky cart & agent summary) */
    .main-column-right {
        position: sticky;
        top: 20px;
        z-index: 10;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        padding-right: 4px; /* Space for elegant breathing room */
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }
    
    .main-column-right::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome/Safari/Edge */
    }
}

/* Promotional Popup Modal styling */
.promo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000; /* Extremely high z-index to overlay everything */
    display: none; /* Controlled by JavaScript */
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.promo-modal.active {
    display: flex !important;
}

.promo-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.65); /* Elegant dark slate background overlay */
    backdrop-filter: blur(4px); /* Premium soft blur filter */
    transition: all 0.3s ease;
}

.promo-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    max-height: 85vh; /* Keep popup within viewport height limits */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 10001;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: promoModalScaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes promoModalScaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.promo-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    color: #1e293b;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10003;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    font-size: 14px;
}

.promo-modal-close:hover {
    background: #ffffff;
    color: var(--accent-color);
    transform: scale(1.05);
}

.promo-modal-body {
    position: relative;
    width: 100%;
    overflow-y: auto; /* Enable internal scrolling if image is too tall */
    flex: 1;
    line-height: 0; /* Prevents tiny line-height gap underneath images */
}

.promo-modal-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.promo-modal-footer {
    padding: 14px 18px;
    background-color: #fffaf7;
    border-top: 1px solid rgba(201, 138, 114, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-dont-show-again {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12.5px;
    color: #475569;
    font-weight: 500;
    user-select: none;
}

.promo-dont-show-again input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-color);
    cursor: pointer;
}

/* Product Card Video Play Button */
.product-video-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--accent-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    z-index: 5;
}

.product-video-btn:hover {
    background: #ffffff;
    color: #be185d;
    transform: scale(1.1);
}

/* Product Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10010; /* Make it higher than other elements */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.video-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 640px; /* Video player aspect ratio widescreen default */
    width: 100%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    z-index: 10011;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: videoModalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes videoModalScaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: #faf7f5;
    border: none;
    color: #475569;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10013;
    transition: all 0.2s ease;
    font-size: 14px;
}

.video-modal-close:hover {
    background: #f1f5f9;
    color: var(--accent-color);
    transform: scale(1.05);
}
