@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Inter:wght@300;400;600&display=swap');

:root {
    --primary-gold: #C6A664;
    --primary-gold-light: #E0C184;
    --accent-gold: #D4AF37;
    --bg-dark: #1A1A1A;
    --bg-light: #F9F9F9;
    --text-dark: #2F2D2D;
    --text-muted: #666666;
    --white: #FFFFFF;
    --black: #000000;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
    --section-padding: 80px 5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Marcellus', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--bg-dark);
    color: var(--white);
    text-align: center;
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1001;
    position: relative;
}

.announcement-bar a {
    color: var(--primary-gold);
}

.announcement-bar a:hover {
    text-decoration: underline;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 40px; /* Below announcement bar */
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

header.scrolled {
    top: 0;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--bg-dark);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--bg-dark);
}

.logo span {
    color: var(--primary-gold);
}

nav.desktop-nav ul {
    display: flex;
    gap: 30px;
}

nav.desktop-nav ul li {
    position: relative;
}

nav.desktop-nav ul li a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    display: inline-block;
}

nav.desktop-nav ul li a:hover {
    color: var(--primary-gold);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    border-top: 3px solid var(--primary-gold);
    display: flex;
    flex-direction: column;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    padding: 10px 20px !important;
    text-transform: none !important;
    font-weight: 400 !important;
    font-size: 0.95rem !important;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #f9f9f9;
    padding-left: 25px !important;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-link {
    font-size: 1.2rem;
    color: var(--bg-dark);
}

.icon-link:hover {
    color: var(--primary-gold);
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--primary-gold);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Cart Drawer */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(2px);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 2001;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
}

.cart-drawer.active {
    transform: translateX(-400px);
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.2rem;
    color: var(--bg-dark);
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close-cart:hover {
    color: var(--primary-gold);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 50px;
}

.cart-qty-selector {
    display: flex;
    align-items: center;
    background: #fdfdfd;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
    height: 32px;
}

.qty-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    color: var(--primary-gold);
    background: rgba(198, 166, 100, 0.05);
}

.qty-value {
    min-width: 30px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Marcellus', serif;
    padding: 0 5px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;
}


/* Hero Carousel */
.hero-carousel {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: calc(var(--header-height) + 40px); /* Account for header + announcement bar */
}

.carousel-track {
    height: 100%;
    width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    height: 100%;
    width: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 10%;
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
    animation: fadeInUp 1.2s ease;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-gold);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: fadeInUp 1.4s ease;
}

.btn:hover {
    background-color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Benefits Bar */
.benefits-bar {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 20px 5%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefit-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

/* Product Section */
.products {
    padding: var(--section-padding);
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* Visual gap of 15px matches reference */
    max-width: 1140px; /* Exact max-width from reference */
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--white);
    border: 1px solid #f0f0f0;
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.product-image {
    height: 266px; /* Exact height from reference */
    background: #f9f9f9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    height: 95%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

/* Badges */
.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    color: #1a1a1a;
    padding: 8px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.discount-badge i {
    color: #c6a664;
    font-size: 1rem;
    margin-bottom: 2px;
}

.promo-bar {
    background-color: rgb(233, 222, 201);
    padding: 4px 12px;
    font-size: 14px;
    color: rgb(74, 46, 15);
    font-weight: 400;
    text-align: right;
    font-family: 'Inter', sans-serif;
}

.product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 14px;
    margin-bottom: 12px;
    color: rgb(26, 26, 26);
    font-family: 'Inter', sans-serif;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5;
    font-weight: 400;
    min-height: 3em;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
}

.product-price {
    font-family: 'Marcellus', serif;
    font-weight: 700;
    color: rgb(26, 26, 26);
    font-size: 18px;
    margin-bottom: 0;
}

.price-original {
    font-family: 'Marcellus', serif;
    text-decoration: line-through;
    color: rgb(74, 74, 74);
    font-size: 14px;
}

.price-pix {
    color: rgb(90, 143, 123);
    font-family: 'Marcellus', serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.add-to-cart {
    width: 100%;
    height: 35px;
    background: rgb(198, 166, 100);
    border: none;
    color: rgb(28, 28, 30);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 2px;
    margin-top: auto;
}

.add-to-cart:hover {
    background: rgb(180, 148, 85);
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 12px;
    color: #FBC02D;
    font-size: 13px;
}

.rating-count {
    color: rgb(26, 26, 26);
    margin-left: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

/* Product Detail Modal */
.product-detail-modal {
    background: var(--white);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 12px;
    position: relative;
    overflow-y: auto;
    padding: 40px;
    animation: zoomIn 0.3s ease;
}

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    z-index: 10;
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.modal-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 8px;
    background: #fdfdfd;
}

.modal-info {
    display: flex;
    flex-direction: column;
}

.modal-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.modal-description {
    margin: 20px 0;
}

.modal-description h4 {
    font-size: 0.9rem;
    color: var(--bg-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-description p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.modal-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.badge {
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.stock-status {
    font-size: 0.85rem;
    font-weight: 500;
}

.stock-status.in-stock { color: #10b981; }
.stock-status.low-stock { color: #f59e0b; }

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
    }
    .product-detail-modal {
        padding: 30px 20px;
    }
    .modal-image img {
        height: 300px;
    }
}

/* Age Verification Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.age-modal {
    background: var(--white);
    padding: 60px 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border-radius: 4px;
}

.age-modal h2 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.age-modal p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.age-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--bg-dark);
    color: var(--bg-dark);
}

/* Awards Section */
.awards-section {
    padding: var(--section-padding);
    background-color: var(--white);
    text-align: center;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.award-item {
    padding: 20px;
    transition: var(--transition-smooth);
}

.award-item:hover {
    transform: translateY(-5px);
}

.award-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.award-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 5%;
    background-color: var(--primary-gold-light);
    color: var(--bg-dark);
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.newsletter-form button {
    background-color: var(--bg-dark);
    color: var(--white);
    border-radius: 4px;
}

.newsletter-form button:hover {
    background-color: var(--black);
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 80px 5% 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h4 {
    margin-bottom: 25px;
    color: var(--primary-gold);
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.social-icons a {
    color: #ccc;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    color: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.payment-methods {
    font-size: 2rem;
    color: #ccc;
    display: flex;
    gap: 15px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav.desktop-nav {
        position: fixed;
        top: calc(var(--header-height) + 40px);
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - var(--header-height) - 40px);
        background: var(--white);
        flex-direction: column;
        transition: var(--transition-smooth);
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    nav.desktop-nav.active {
        left: 0;
    }

    nav.desktop-nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav.desktop-nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    nav.desktop-nav ul li a {
        padding: 20px;
        width: 100%;
        color: var(--bg-dark);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 0;
        border-top: none;
        background: #f9f9f9;
    }

    .has-dropdown.active .dropdown-menu {
        display: flex;
    }
    
    header.scrolled nav.desktop-nav {
        top: var(--header-height);
        height: calc(100vh - var(--header-height));
    }
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    header {
        padding: 0 20px;
    }
    .benefits-bar {
        flex-direction: column;
        gap: 20px;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    .cart-drawer.active {
        transform: translateX(-100%);
    }
    .form-row {
        flex-direction: column;
    }
}

/* Authentication Pages */
.auth-page {
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.auth-header {
    position: relative;
    top: 0;
    box-shadow: none;
    border-bottom: 1px solid #eee;
    justify-content: center;
}

.auth-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 5%;
}

.auth-container {
    width: 100%;
    max-width: 500px;
}

.auth-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(198, 166, 100, 0.1);
}

.btn-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

/* Checkout Page */
.checkout-page {
    background-color: var(--bg-light);
}

.checkout-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: flex-start;
}

.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-step {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    overflow: hidden;
}

.step-header {
    padding: 20px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--primary-gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.step-content {
    padding: 20px;
}

.user-info-box {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logout-link {
    color: #ff4444;
    font-size: 0.9rem;
}

/* Payment Methods */
.payment-methods-container {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.payment-option {
    border-bottom: 1px solid #eee;
}

.payment-option:last-child {
    border-bottom: none;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fafafa;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.payment-header:hover {
    background: #f0f0f0;
}

.payment-body {
    padding: 0 20px;
    background: var(--white);
    border-top: 1px solid #eee;
}

/* Checkout Sidebar (Right Column) */
.checkout-sidebar {
    position: sticky;
    top: 100px;
}

.summary-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    padding: 20px;
}

.summary-card h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.item-img-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    border: 1px solid #eee;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.item-img-wrapper img {
    max-height: 50px;
}

.item-qty {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--text-muted);
    color: var(--white);
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.item-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.item-price {
    font-weight: bold;
}

.discount-code {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 20px;
}

.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.grand-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

@media (max-width: 992px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .checkout-sidebar {
        position: static;
        order: -1; /* Move summary to top on mobile */
    }

    #checkout-btn {
        display: none;
    }

    #checkout-btn-mobile {
        display: block !important;
    }
}
/* Reviews Section */
.reviews-section {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.reviews-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.review-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f9f9f9;
}

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

.review-user {
    font-weight: 700;
    font-size: 0.95rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-stars {
    color: #FBC02D;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.review-comment {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.rating-container .stars {
    color: #FBC02D;
    font-size: 0.85rem;
    display: flex;
    gap: 2px;
}

.rating-container .rating-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Review Form */
.review-form-container {
    margin-top: 30px;
    background: #fdfdfd;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.review-form h5 {
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.2s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #FBC02D;
}

.review-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    resize: none;
    font-family: inherit;
    font-size: 0.9rem;
}

.review-form .btn-small {
    padding: 10px 25px;
    font-size: 0.8rem;
}

/* Premium Product Modal */
.product-detail-modal {
    background: #fff;
    width: 95%;
    max-width: 1100px;
    max-height: 90vh;
    border-radius: 12px;
    position: relative;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.modal-body-top {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .modal-body-top {
        flex-direction: column;
    }
    .modal-gallery {
        flex-direction: column-reverse;
    }
    .thumbnails-column {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
}

/* Image Gallery */
.modal-gallery {
    flex: 1.6;
    display: flex;
    gap: 20px;
    min-width: 0; /* Prevents overflow/collapse issues */
}

.thumbnails-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80px;
    flex-shrink: 0;
}

.thumb-item {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}

.thumb-item.active {
    border-color: var(--primary-gold);
    border-width: 2px;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image-container {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 600px; /* Increased height */
    border: 1px solid #f5f5f5;
    position: relative;
    cursor: zoom-in;
}

.main-image-container img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.main-image-container:hover img {
    transform: scale(1.1); /* Subtle zoom on hover */
}

/* Product Info */
.modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modal-breadcrumbs {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.modal-info h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.modal-price-box {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.pix-price-detail {
    color: #27ae60;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 5px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.quantity-selector {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-selector button {
    background: #fff;
    border: none;
    width: 40px;
    font-size: 1.2rem;
    cursor: pointer;
}

.quantity-selector button:hover {
    background: #f5f5f5;
}

.quantity-selector input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    font-weight: 600;
}

.modal-shipping-placeholder {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 30px;
}

.shipping-input-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.shipping-input-group input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.shipping-input-group button {
    padding: 10px 20px;
    background: var(--text-dark);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-description-section h4 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.modal-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.modal-specs span {
    display: flex;
    align-items: center;
}

.modal-specs i {
    color: #27ae60;
    margin-right: 8px;
}

.reviews-header-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
