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

:root {
    /* New Red & White Theme */
    --primary-color: #C00000; /* A strong, classic red */
    --secondary-color: #A00000; /* A darker red for hover states */
    --accent-color: #D4AF37;
    --bg-light: #FFFFFF;
    --bg-section: #F8F9FA; /* Light grey for section backgrounds */
    --text-dark: #212529;
    --text-light: #FFFFFF;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.modal-open {
    overflow: hidden;
}
main { display: block; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(192, 0, 0, 0.2); }
    50% { box-shadow: 0 0 22px rgba(192, 0, 0, 0.25); }
}

.section-animated {
    animation: fadeIn 0.8s ease-out forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Top Header */
.top-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 0;
    font-size: 14px;
}

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

.top-header p {
    margin: 0;
}

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-links a:hover {
    text-decoration: underline;
}

/* Main Header */
header {
    background-color: var(--bg-light);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-bottom: 1px solid var(--border-color);
}

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

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.dropdown {
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.dropdown > a::after {
    display: none;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-light);
    min-width: 180px;
    list-style: none;
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

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

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
}

.dropdown-menu li a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.header-icons a {
    color: var(--text-dark);
    font-size: 20px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.header-icons a:hover {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    color: var(--text-dark);
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: rotate(90deg);
}

/* Auth Modal Styles */
.auth-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .auth-modal-backdrop {
        padding: 12px;
    }

    .auth-modal {
        width: calc(100% - 24px);
        padding: 20px 18px 20px;
        border-radius: 18px;
    }

    .auth-modal-close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
    }

    .auth-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }

    .auth-tab {
        padding: 10px;
        font-size: 0.95rem;
    }

    .auth-google-btn,
    .auth-submit-btn {
        padding: 12px;
        font-size: 14px;
    }

    .auth-input-group label {
        font-size: 0.95rem;
    }

    .auth-input-group input {
        padding: 11px 12px;
    }
}

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

.auth-modal {
    width: min(100%, 500px);
    background: linear-gradient(135deg, #fff 0%, #fffaf6 100%);
    border-radius: 24px;
    padding: 28px 26px 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(192, 0, 0, 0.08);
}

.auth-modal-backdrop.active .auth-modal {
    transform: translateY(0);
}

.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: 0;
    background: #f3f3f3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-dark);
}

.auth-modal-hero {
    text-align: center;
    margin-bottom: 18px;
}

.auth-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #e06b4b);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    box-shadow: 0 8px 20px rgba(192, 0, 0, 0.18);
}

.auth-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
    color: var(--primary-color);
}

.auth-modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.auth-tab {
    flex: 1;
    border: 1px solid var(--border-color);
    background: #fff;
    padding: 10px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
}

.auth-tab.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.auth-google-btn {
    width: 100%;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.auth-google-btn:hover {
    background: #f8fafc;
}

.auth-divider {
    text-align: center;
    margin: 10px 0 14px;
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: linear-gradient(135deg, #fff 0%, #fffaf6 100%);
    padding: 0 8px;
}

.auth-form-panel {
    display: none;
}

.auth-form-panel.active {
    display: block;
}

.auth-input-group {
    margin-bottom: 12px;
}

.auth-input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.auth-input-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
}

.auth-input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(192, 0, 0, 0.08);
}

.auth-message {
    min-height: 20px;
    font-size: 0.95rem;
    margin: 8px 0 12px;
}

.auth-message.error {
    color: var(--primary-color);
}

.auth-message.success {
    color: #058c3b;
}

.auth-link-row {
    margin-top: 10px;
    text-align: center;
}

.auth-link-btn {
    border: 0;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}

.auth-link-btn:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    width: 100%;
    border: 0;
    background: linear-gradient(135deg, var(--primary-color), #d46f3a);
    color: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(192, 0, 0, 0.16);
}

.auth-submit-btn:hover {
    background: var(--secondary-color);
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* New Search Bar Styles */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-toggle, .close-search-icon {
    color: var(--text-dark);
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.close-search-icon {
    display: none;
}

.search-form {
    position: absolute;
    right: 30px; /* Position next to the icon */
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 5px;
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow: hidden;
}

.search-container.active .search-form {
    width: 250px;
    opacity: 1;
    visibility: visible;
}

.search-container.active .search-icon-toggle {
    display: none;
}

.search-container.active .close-search-icon {
    display: block;
}

.search-form input {
    border: none;
    outline: none;
    background: transparent;
    padding: 5px 10px;
    font-size: 14px;
    width: 100%;
}

/* Search Suggestions */
#search-suggestions {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    width: 350px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    z-index: 1100;
    max-height: 400px;
    overflow-y: auto;
    display: none; /* Hidden by default */
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: var(--bg-section);
}

.suggestion-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

.hero-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.hero-banner.left {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?q=80&w=1200&auto=format&fit=crop');
}

.hero-banner.right {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1617038260897-41a1f14a8ca0?q=80&w=1200&auto=format&fit=crop');
}

.hero-content {
    text-align: center;
    color: var(--text-light); 
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    border: 2px solid var(--text-light);
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
}

/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center; 
    margin-bottom: 50px;
    color: var(--text-dark);
}

/* Categories Section */
.categories-section {
    padding: 80px 0; 
    background-color: var(--bg-section);
}

.category-circles {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.category-item {
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.category-item:hover {
    transform: translateY(-10px);
}

.category-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px; 
    border: 3px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.category-item:hover .category-image {
    border-color: var(--primary-color);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item span {
    font-weight: 500;
    font-size: 16px;
}

/* Celebrity Section */
.celebrity-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.celebrity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.celebrity-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden; 
    height: 300px;
}

.celebrity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.celebrity-card:hover img {
    transform: scale(1.1);
}

.celebrity-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px;
    color: var(--text-light);
}

.celebrity-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.celebrity-info p {
    margin-bottom: 15px;
    font-size: 14px;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background-color: var(--bg-light); 
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}
.product-card.hidden {
    display: none;
}


.product-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.product-card .add-to-cart:hover {
    animation: pulseGlow 1.1s ease-in-out infinite;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    z-index: 10;
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    transition: bottom 0.3s;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: var(--primary-color); 
    color: var(--text-light);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-size: 14px;
}

.rating span {
    color: var(--text-muted);
    margin-left: 5px;
}

.price {
    margin-bottom: 15px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 10px;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--text-light); 
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: var(--secondary-color);
}

/* Collection Banner */
.collection-banner {
    padding: 80px 0;
    background-color: var(--bg-section);
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.banner-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 350px;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.banner-item:hover img {
    transform: scale(1.1);
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px;
    color: var(--text-light);
    text-align: center;
}

.banner-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 10px;
}

.banner-content p {
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-section);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
    text-align: center;
}

.testimonial-item.active {
    display: block;
}

.testimonial-content {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    display: flex;
    border: 1px solid var(--border-color);
    align-items: center;
    gap: 30px;
}

.customer-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.testimonial-text {
    flex: 1;
    text-align: left;
    color: var(--text-dark);
}

.testimonial-text .rating {
    justify-content: flex-start;
    margin-bottom: 15px;
}

.testimonial-text p {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-text span {
    color: var(--text-muted);
    font-size: 14px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%; 
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark); 
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover { 
    background-color: var(--primary-color);
    color: var(--text-light);
}

.carousel-btn.prev {
    left: -70px;
}

.carousel-btn.next {
    right: -70px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--bg-light); 
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-section);
}

.faq-question h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
} 

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Trust Section */
.trust-section {
    padding: 60px 0;
    background-color: var(--bg-section);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-item {
    text-align: center;
    color: var(--text-dark);
}

.trust-item i {
    font-size: 40px;
    margin-bottom: 15px;
}

.trust-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #1C1C1C;
    color: var(--text-light); 
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-column p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 20px; 
    color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%; 
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light); 
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 30px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .hero-banner {
        min-height: 300px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .celebrity-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .top-header {
        display: none;
    }

    header {
        padding: 15px 0;
    }

    header .container {
        flex-wrap: wrap;
    }

    .logo {
        flex: 1;
    }

    .header-icons {
        margin-left: auto;
        gap: 14px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-light);
        padding: 15px 20px 20px;
        z-index: 999;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 0 12px 25px rgba(0,0,0,0.12);
        border-top: 1px solid var(--border-color);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        display: block;
        padding: 13px 0;
        width: 100%;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 15px;
        padding-top: 0;
        display: none;
        background: transparent;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-btn {
        display: block;
        cursor: pointer;
        font-size: 24px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .category-circles {
        gap: 20px;
    }
    
    .category-image {
        width: 100px;
        height: 100px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-text {
        text-align: center;
    }
    
    .testimonial-text .rating {
        justify-content: center;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Homepage editorial treatment */
.home-page {
    --home-ink: #24211e;
    --home-muted: #817b73;
    --home-blush: #fbf7f2;
    --home-line: #e9e1d8;
    background: #fff;
    color: var(--home-ink);
    font-family: 'Poppins', sans-serif;
}

.home-page .top-header {
    background: #fff;
    color: var(--home-muted);
    border-bottom: 1px solid var(--home-line);
    padding: 7px 0;
    font-size: 10px;
    letter-spacing: .04em;
}

.home-page .top-links a { color: var(--home-muted); }
.home-page header {
    position: relative;
    padding: 15px 0;
    box-shadow: none;
    border-bottom: 1px solid var(--home-line);
}
.home-page .logo img { height: 38px; }
.home-page .main-nav ul { gap: 25px; }
.home-page .main-nav a { font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.home-page .header-icons { gap: 15px; }
.home-page .header-icons a { color: var(--home-ink); font-size: 12px; }

.home-page .hero-section {
    display: block;
    padding: 0 0 46px;
    background: #fff;
}
.home-page .hero-banner.left {
    min-height: min(768px, calc(100vh - 82px));
    max-width: none;
    margin: 0 auto;
    background: linear-gradient(90deg, rgba(34, 22, 14, .48), rgba(34, 22, 14, .04) 72%), url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?q=80&w=2200&auto=format&fit=crop') center 42% / cover;
    display: block;
    overflow: hidden;
    isolation: isolate;
}
.home-page .hero-banner.left::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    pointer-events: none;
}
.home-page .hero-content { position: absolute; left: 7.5%; bottom: 75px; max-width: 720px; padding: 0; color: #fff; text-align: left; z-index: 1; }
.home-page .hero-content h1 { font: 400 clamp(48px, 5vw, 82px)/1.08 'Playfair Display', serif; margin-bottom: 24px; }
.home-page .hero-content > p:not(.hero-kicker) { max-width: 330px; font-size: 12px; line-height: 1.7; margin-bottom: 25px; }
.home-page .hero-shop-link { display: inline-flex; gap: 10px; align-items: center; color: #fff; border-bottom: 1px solid #fff; padding-bottom: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.home-page .hero-shop-link span { font-size: 18px; line-height: 10px; }
.home-page .hero-feature { position: absolute; top: 43%; right: 9%; display: flex; align-items: center; gap: 34px; color: #fff; z-index: 1; }
.home-page .hero-focus-ring { width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; position: relative; }
.home-page .hero-focus-ring::before { content: ''; position: absolute; top: -4px; right: 50%; width: 9px; height: 9px; background: #fff; border-radius: 50%; }
.home-page .hero-feature-copy { width: 200px; border-top: 1px solid rgba(255,255,255,.8); padding-top: 16px; }
.home-page .hero-feature-copy h2 { font: 400 28px 'Playfair Display', serif; margin-bottom: 28px; }
.home-page .hero-feature-copy p { font-size: 12px; line-height: 1.65; }
.home-page .hero-controls { position: absolute; right: 9%; bottom: 62px; display: flex; gap: 14px; z-index: 1; }
.home-page .hero-controls button { width: 64px; height: 64px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: #fff; background: transparent; font-size: 24px; cursor: pointer; }

.home-page .categories-section,
.home-page .products-section,
.home-page .celebrity-section,
.home-page .collection-banner,
.home-page .testimonials-section { padding: 48px 0; background: #fff; }
.home-page .section-title { text-align: left; font: 400 21px 'Playfair Display', serif; margin: 0 0 25px; color: var(--home-ink); }
.home-page .category-circles { justify-content: space-between; gap: 14px; }
.home-page .category-item { flex: 1; min-width: 80px; }
.home-page .category-image { width: 68px; height: 68px; border: 0; margin-bottom: 10px; filter: grayscale(15%); }
.home-page .category-item span { font-size: 10px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }

.home-page .celebrity-section { background: var(--home-blush); }
.home-page .celebrity-grid { grid-template-columns: 1fr; }
.home-page .celebrity-card { height: 300px; border-radius: 0; }
.home-page .celebrity-card:first-child { display: block; }
.home-page .celebrity-card:nth-child(2) { display: none; }
.home-page .celebrity-info { padding: 28px; background: linear-gradient(transparent, rgba(21, 14, 10, .72)); }
.home-page .celebrity-info h3 { font-size: 25px; }

.home-page .products-section:nth-of-type(4) { background: var(--home-blush); }
.home-page .product-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.home-page .product-card { border: 1px solid #f0ece7; border-radius: 0; background: #fff; box-shadow: none; }
.home-page .product-card:hover { transform: translateY(-4px); box-shadow: 0 7px 18px rgba(46, 34, 25, .08); }
.home-page .product-image { height: 205px; }
.home-page .product-image img { object-fit: cover; }
.home-page .product-info { padding: 12px; }
.home-page .product-info h3 { min-height: 32px; font: 400 11px/1.45 'Playfair Display', serif; }
.home-page .rating { font-size: 9px; color: #b86f75; }
.home-page .rating span { color: var(--home-muted); }
.home-page .price { margin: 4px 0 0; }
.home-page .current-price { font-size: 11px; color: var(--home-ink); }
.home-page .original-price { font-size: 10px; }
.home-page .add-to-cart { display: none !important; }
.home-page .product-actions { display: none; }

.home-page .collection-banner { padding-top: 8px; }
.home-page .banner-grid { grid-template-columns: 1.5fr 1fr; gap: 10px; }
.home-page .banner-item { height: 300px; border-radius: 0; }
.home-page .banner-item:first-child { grid-row: span 2; height: 610px; }
.home-page .banner-content { padding: 24px; }
.home-page .banner-content h3 { font: 400 24px 'Playfair Display', serif; }

.home-page .faq-section { display: none; }
.home-page .testimonials-section { background: var(--home-blush); }
.home-page .testimonial-carousel { gap: 10px; }
.home-page .testimonial-item { background: #fff; border: 1px solid var(--home-line); padding: 20px; }
.home-page .testimonial-content { gap: 12px; }
.home-page .customer-img { width: 34px; height: 34px; }
.home-page .testimonial-text p { font: 12px/1.6 'Playfair Display', serif; }
.home-page .testimonial-text h4 { font-size: 11px; }
.home-page .testimonial-text span { font-size: 10px; }
.home-page .trust-section { padding: 23px 0; background: #bd7379; color: #fff; }
.home-page .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.home-page .trust-item { border: 0; padding: 0; }
.home-page .trust-item i { font-size: 18px; }
.home-page .trust-item h3 { font-size: 10px; }
.home-page .trust-item p { font-size: 9px; }
.home-page footer { background: #fff; padding: 40px 0 20px; }
.home-page .footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 25px; }
.home-page .footer-column h3 { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.home-page .footer-column p, .home-page .footer-column a { font-size: 10px; }

@media (max-width: 700px) {
    .home-page .main-nav { display: none; }
    .home-page .hero-section { padding: 0 0 30px; }
    .home-page .hero-banner.left { min-height: 650px; background-position: 58% center; }
    .home-page .hero-content { left: 24px; right: 24px; bottom: 45px; }
    .home-page .hero-content h1 { font-size: 42px; }
    .home-page .hero-feature { top: 44px; right: 24px; gap: 12px; }
    .home-page .hero-focus-ring { width: 100px; height: 100px; }
    .home-page .hero-feature-copy { width: 145px; padding-top: 10px; }
    .home-page .hero-feature-copy h2 { font-size: 20px; margin-bottom: 12px; }
    .home-page .hero-feature-copy p { font-size: 10px; }
    .home-page .hero-controls { right: 24px; bottom: 42px; }
    .home-page .hero-controls button { width: 46px; height: 46px; font-size: 18px; }
    .home-page .container { padding: 0 15px; }
    .home-page .category-circles { overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
    .home-page .category-item { flex: 0 0 78px; }
    .home-page .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .home-page .product-image { height: 180px; }
    .home-page .banner-grid { grid-template-columns: 1fr 1fr; }
    .home-page .banner-item:first-child { grid-row: auto; height: 300px; }
    .home-page .banner-item { height: 220px; }
    .home-page .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
    .home-page .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Account sub-screens */
body.account-screen {
    min-height: 100vh;
    background: var(--screen-wash);
    color: var(--screen-ink);
}
.account-screen-main {
    width: min(760px, calc(100% - 30px));
    margin: 0 auto;
    padding: 48px 0 70px;
}
.account-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--screen-rose);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.account-panel {
    margin-top: 22px;
    background: #fff;
    border: 1px solid var(--screen-line);
    padding: clamp(24px, 5vw, 54px);
}
.screen-eyebrow {
    color: var(--screen-rose);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 9px;
}
.account-panel h1 { font: 400 38px 'Playfair Display', serif; margin-bottom: 30px; }
.account-form { display: grid; gap: 18px; }
.account-form label { display: grid; gap: 7px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.account-form input { width: 100%; border: 1px solid var(--screen-line); border-radius: 0; padding: 13px; font: 400 13px 'Poppins', sans-serif; color: var(--screen-ink); }
.account-form .btn-primary { justify-self: start; border: 0; border-radius: 0; background: var(--screen-rose); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 13px 22px; }
.empty-state { border-top: 1px solid var(--screen-line); padding: 46px 15px 20px; text-align: center; }
.empty-state i { color: var(--screen-rose); font-size: 28px; margin-bottom: 15px; }
.empty-state h2 { font: 400 23px 'Playfair Display', serif; margin-bottom: 8px; }
.empty-state p { color: var(--screen-muted); font-size: 12px; margin-bottom: 20px; }
.empty-state .btn-primary { border-radius: 0; background: var(--screen-rose); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.settings-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--screen-line); padding: 20px 0; }
.settings-row strong, .settings-row small { display: block; }
.settings-row strong { font: 400 17px 'Playfair Display', serif; }
.settings-row small { color: var(--screen-muted); font-size: 11px; margin-top: 4px; }
.settings-row input { accent-color: var(--screen-rose); width: 18px; height: 18px; }

body.wishlist-screen { min-height: 100vh; background: var(--screen-wash); color: var(--screen-ink); }
body.wishlist-screen header { position: relative; background: #fff; padding: 15px 0; box-shadow: none; border-bottom: 1px solid var(--screen-line); }
body.wishlist-screen .logo img { height: 38px; }
body.wishlist-screen .main-nav ul { gap: 25px; }
body.wishlist-screen .main-nav a { font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
body.wishlist-screen .header-icons a { color: var(--screen-ink); font-size: 13px; }
.wishlist-main { width: min(1180px, calc(100% - 30px)); margin: 0 auto; padding: 55px 0 80px; }
.wishlist-main h1 { font: 400 38px 'Playfair Display', serif; margin-bottom: 30px; }
.wishlist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wishlist-card { background: #fff; border: 1px solid var(--screen-line); display: grid; grid-template-columns: 125px 1fr; min-height: 150px; }
.wishlist-card img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.wishlist-card > div { padding: 20px 15px; }
.wishlist-card h2 { font: 400 17px/1.35 'Playfair Display', serif; margin-bottom: 12px; }
.wishlist-card p { color: var(--screen-muted); font-size: 12px; margin-bottom: 16px; }
.wishlist-card a { color: var(--screen-rose); font-size: 10px; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.wishlist-empty { grid-column: 1 / -1; text-align: center; background: #fff; border: 1px solid var(--screen-line); padding: 75px 20px; }
.wishlist-empty i { color: var(--screen-rose); font-size: 32px; margin-bottom: 16px; }
.wishlist-empty h2 { font: 400 25px 'Playfair Display', serif; margin-bottom: 8px; }
.wishlist-empty p { color: var(--screen-muted); font-size: 12px; margin-bottom: 20px; }
.wishlist-empty .btn-primary { background: var(--screen-rose); border-radius: 0; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 700px) {
    body.wishlist-screen .main-nav { display: none; }
    .wishlist-main { padding: 35px 0 55px; }
    .wishlist-main h1 { font-size: 32px; }
    .wishlist-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .btn-primary {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .category-circles {
        gap: 15px;
    }
    
    .category-image {
        width: 80px;
        height: 80px;
    }
    
    .category-item span {
        font-size: 14px;
    }
}

/* Product Detail Page Styles */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 40px 0;
    animation: fadeInUp 0.6s ease;
}

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

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: fadeInLeft 0.6s ease 0.2s backwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.main-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden; 
    border: 1px solid #eee;
    animation: zoomIn 0.5s ease 0.4s backwards;
}

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

.main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-image img:hover {
    transform: scale(1.05);
}

.thumbnail-images {
    display: flex;
    gap: 15px;
    animation: fadeIn 0.6s ease 0.6s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 rgba(192, 0, 0, 0.18);
    }
    50% {
        box-shadow: 0 0 20px rgba(192, 0, 0, 0.25);
    }
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.thumbnail.active {
    border-color: var(--primary-color);
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.product-info-detail {
    animation: fadeInRight 0.6s ease 0.3s backwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-info-detail h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    animation: slideDown 0.5s ease 0.5s backwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.size-options,
.metal-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-btn,
.metal-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    animation: scaleIn 0.4s ease backwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.size-btn:hover,
.metal-btn:hover {
    border-color: var(--primary-color); 
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.size-btn.active,
.metal-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.metal-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    border-color: var(--primary-color); 
    color: var(--primary-color);
    transform: scale(1.1);
}

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

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

.product-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-muted);
    position: relative;
    transition: all 0.3s;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-content {
    display: none;
    padding: 30px 0;
    animation: fadeIn 0.5s ease;
}

.review-form-container {
    background-color: var(--bg-section);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    border: 1px solid var(--border-color);
}

.review-form-container h4 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 20px;
}

#review-form .form-group {
    margin-bottom: 20px;
}

#review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#review-form input[type="text"],
#review-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#review-form input[type="text"]:focus,
#review-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: var(--accent-color);
}

#review-form button {
    padding: 14px 30px;
    font-size: 16px;
}

.tab-content.active {
    display: block;
}

.review-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

/* Responsive Product Detail */
@media (max-width: 992px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .thumbnail-images {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .product-info-detail h1 {
        font-size: 28px;
    }
    
    .product-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .size-options,
    .metal-options {
        gap: 8px;
    }
    
    .size-btn,
    .metal-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .product-detail-container {
        margin: 20px 0;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-info-detail h1 {
        font-size: 24px;
    }
    
    .price .current-price {
        font-size: 24px;
    }
    
    .price .original-price {
        font-size: 18px;
    }
}

/* Quick View Modal Styles */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

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

.quick-view-content {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.quick-view-modal.active .quick-view-content {
    transform: scale(1);
}

.quick-view-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 36px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.quick-view-close:hover {
    color: var(--text-dark);
}

.quick-view-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.quick-view-image img {
    width: 100%;
    border-radius: 10px;
}

.quick-view-details h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 15px;
}

.quick-view-details .price {
    margin-bottom: 15px;
}

/* Shared product detail editorial layout */
body:has(.product-detail-container) {
    --detail-ink: #25211f;
    --detail-muted: #817b75;
    --detail-line: #e8e1da;
    --detail-rose: #bd7379;
    background: #fff;
    color: var(--detail-ink);
}

/* Site-wide reference screen system */
:root {
    --screen-ink: #292522;
    --screen-muted: #857d76;
    --screen-line: #e9e1d9;
    --screen-rose: #bd7379;
    --screen-wash: #fbf7f2;
}

body:has(.cart-section),
body:has(.login-box),
body:has(.signup-box),
body:has(.account-header) {
    background: #fff;
    color: var(--screen-ink);
    font-family: 'Poppins', sans-serif;
}

body:has(.cart-section) .top-header,
body:has(.login-box) .top-header,
body:has(.signup-box) .top-header,
body:has(.account-header) .top-header {
    background: #fff;
    color: var(--screen-muted);
    border-bottom: 1px solid var(--screen-line);
}

body:has(.cart-section) header,
body:has(.login-box) header,
body:has(.signup-box) header,
body:has(.account-header) header {
    position: relative;
    box-shadow: none;
    border-bottom: 1px solid var(--screen-line);
    padding: 15px 0;
}

body:has(.cart-section) .main-nav a,
body:has(.account-header) .main-nav a { font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
body:has(.cart-section) .logo img,
body:has(.account-header) .logo img { height: 38px; }

body:has(.cart-section) .cart-section { padding: 58px 0 80px; background: var(--screen-wash); }
body:has(.cart-section) .section-title,
body:has(.account-header) h1 { font: 400 34px 'Playfair Display', serif; color: var(--screen-ink); text-align: left; margin-bottom: 30px; }
body:has(.cart-section) .cart-container { grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr); gap: 18px; }
body:has(.cart-section) .cart-items,
body:has(.cart-section) .cart-summary { background: #fff; border: 1px solid var(--screen-line); border-radius: 0; padding: 26px; }
body:has(.cart-section) .cart-summary { top: 25px; }
body:has(.cart-section) .cart-summary h2 { font: 400 25px 'Playfair Display', serif; margin-bottom: 22px; }
body:has(.cart-section) .checkout-btn,
body:has(.cart-section) .btn-primary { border-radius: 0; background: var(--screen-rose); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
body:has(.cart-section) .cart-item { grid-template-columns: 90px 2fr 1fr 1fr auto; gap: 18px; padding: 18px 0; border-color: var(--screen-line); }
body:has(.cart-section) .cart-item-image img { border-radius: 0; }
body:has(.cart-section) .cart-item-details h3 { font: 400 15px 'Playfair Display', serif; }

body:has(.login-box), body:has(.signup-box) { background: var(--screen-wash); }
body:has(.login-box) .login-box,
body:has(.signup-box) .signup-box {
    width: min(430px, calc(100% - 30px));
    padding: 42px 38px;
    border: 1px solid var(--screen-line);
    border-radius: 0;
    box-shadow: 0 18px 50px rgba(63, 43, 28, .08);
}
body:has(.login-box) .login-box h2,
body:has(.signup-box) .title { color: var(--screen-ink); font: 400 29px 'Playfair Display', serif; }
body:has(.login-box) .input-group input,
body:has(.signup-box) .input-group input { border: 1px solid var(--screen-line); border-radius: 0; padding: 13px; font-family: 'Poppins', sans-serif; }
body:has(.login-box) button,
body:has(.signup-box) button { background: var(--screen-rose); border-radius: 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
body:has(.login-box) a,
body:has(.signup-box) a { color: var(--screen-rose); }

body:has(.account-header) { background: var(--screen-wash); }
body:has(.account-header) > .container { max-width: 1180px; padding-top: 54px; padding-bottom: 70px; }
body:has(.account-header) .account-header { background: #fff; border: 1px solid var(--screen-line); border-radius: 0; padding: 27px; margin-bottom: 20px; }
body:has(.account-header) .avatar { width: 70px; height: 70px; border-radius: 50%; background: var(--screen-rose); font-size: 27px; }
body:has(.account-header) .grid { gap: 12px; }
body:has(.account-header) .card { background: #fff; border: 1px solid var(--screen-line); border-radius: 0; padding: 25px 18px; }
body:has(.account-header) .card i { color: var(--screen-rose); font-size: 28px; }
body:has(.account-header) .card h3 { font: 400 18px 'Playfair Display', serif; }
body:has(.account-header) .card p { font-size: 11px; }
body:has(.account-header) .logout button { background: var(--screen-rose); border-radius: 0; padding: 12px 34px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

@media (max-width: 700px) {
    body:has(.cart-section) .main-nav,
    body:has(.account-header) .main-nav { display: none; }
    body:has(.cart-section) .container { padding: 0 15px; }
    body:has(.cart-section) .cart-section { padding: 38px 0 55px; }
    body:has(.cart-section) .cart-container { grid-template-columns: 1fr; }
    body:has(.cart-section) .cart-items,
    body:has(.cart-section) .cart-summary { padding: 18px; }
    body:has(.cart-section) .cart-item { grid-template-columns: 70px 1fr; }
    body:has(.cart-section) .cart-item-remove { grid-column: 2; }
    body:has(.account-header) > .container { padding: 35px 15px 50px; }
    body:has(.account-header) .account-header { padding: 20px; }
}

body:has(.product-detail-container) .top-header {
    background: #fff;
    color: var(--detail-muted);
    border-bottom: 1px solid var(--detail-line);
    padding: 7px 0;
    font-size: 10px;
}
body:has(.product-detail-container) .top-links a { color: var(--detail-muted); }
body:has(.product-detail-container) header {
    position: relative;
    padding: 15px 0;
    box-shadow: none;
    border-bottom: 1px solid var(--detail-line);
}
body:has(.product-detail-container) .logo img { height: 38px; }
body:has(.product-detail-container) .main-nav ul { gap: 25px; }
body:has(.product-detail-container) .main-nav a { font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
body:has(.product-detail-container) .header-icons a { color: var(--detail-ink); font-size: 12px; }

body:has(.product-detail-container) .products-section { padding: 22px 0 52px; background: #fff; }
body:has(.product-detail-container) .products-section > .container > div[style*="display: flex"] {
    font-size: 10px !important;
    gap: 8px !important;
    color: var(--detail-muted) !important;
}
body:has(.product-detail-container) .product-detail-container {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: clamp(35px, 6vw, 92px);
    margin: 12px 0 0;
    align-items: start;
}
body:has(.product-detail-container) .product-gallery { gap: 12px; }
body:has(.product-detail-container) .main-image {
    height: min(570px, 49vw);
    border: 0;
    border-radius: 0;
    background: #f4f3f1;
}
body:has(.product-detail-container) .main-image img { height: 100%; object-fit: contain; mix-blend-mode: multiply; }
body:has(.product-detail-container) .thumbnail-images { gap: 10px; }
body:has(.product-detail-container) .thumbnail {
    width: 94px;
    height: 104px;
    border: 1px solid var(--detail-line);
    border-radius: 0;
    padding: 3px;
}
body:has(.product-detail-container) .thumbnail.active { border-color: var(--detail-rose); }
body:has(.product-detail-container) .product-info-detail { padding-top: 4px; }
body:has(.product-detail-container) .product-info-detail > div:first-child { margin-bottom: 16px !important; }
body:has(.product-detail-container) #product-badge {
    background: transparent !important;
    color: var(--detail-rose) !important;
    border: 1px solid var(--detail-rose);
    border-radius: 0 !important;
    padding: 6px 10px !important;
    font-size: 9px !important;
    letter-spacing: .12em !important;
}
body:has(.product-detail-container) .product-info-detail h1 {
    color: var(--detail-ink) !important;
    font: 400 clamp(30px, 3vw, 47px)/1.12 'Playfair Display', serif;
    margin-bottom: 16px !important;
}
body:has(.product-detail-container) .product-info-detail .rating { font-size: 11px; color: #c38a28; margin-bottom: 15px !important; }
body:has(.product-detail-container) .product-info-detail .rating span { color: var(--detail-muted) !important; font-size: 10px; }
body:has(.product-detail-container) .product-info-detail .price { margin-bottom: 19px !important; }
body:has(.product-detail-container) .product-info-detail .current-price { font-size: 25px !important; color: var(--detail-ink); }
body:has(.product-detail-container) .product-info-detail .original-price { font-size: 15px !important; }
body:has(.product-detail-container) #product-description {
    color: var(--detail-muted) !important;
    font-size: 12px;
    line-height: 1.8 !important;
    margin-bottom: 22px !important;
}
body:has(.product-detail-container) .product-info-detail h3 { font-size: 11px !important; letter-spacing: .08em; text-transform: uppercase; }
body:has(.product-detail-container) .size-options,
body:has(.product-detail-container) .metal-options { gap: 7px; }
body:has(.product-detail-container) .size-btn,
body:has(.product-detail-container) .metal-btn {
    border-radius: 0;
    padding: 9px 14px;
    font-size: 11px;
    background: #fff;
}
body:has(.product-detail-container) .size-btn.active,
body:has(.product-detail-container) .metal-btn.active { background: var(--detail-rose); border-color: var(--detail-rose); }
body:has(.product-detail-container) .product-info-detail > div[style*="display: flex"]:has(.add-to-cart) { margin-bottom: 20px !important; }
body:has(.product-detail-container) .product-info-detail .add-to-cart {
    border-radius: 0 !important;
    background: var(--detail-rose);
    border: 0;
    font-size: 11px !important;
    letter-spacing: .1em;
    text-transform: uppercase;
}
body:has(.product-detail-container) .wishlist-btn { border-color: var(--detail-rose) !important; color: var(--detail-rose) !important; border-radius: 0 !important; }
body:has(.product-detail-container) .product-tabs { gap: 26px; margin-bottom: 24px; border-color: var(--detail-line); }
body:has(.product-detail-container) .tab-btn { padding: 13px 0; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
body:has(.product-detail-container) .tab-btn.active,
body:has(.product-detail-container) .tab-btn:hover { color: var(--detail-rose); }
body:has(.product-detail-container) .tab-btn::after { background: var(--detail-rose); }
body:has(.product-detail-container) .tab-content { padding: 12px 0; }
body:has(.product-detail-container) .tab-content h3 { font-size: 21px !important; }
body:has(.product-detail-container) .tab-content p { font-size: 12px; }
body:has(.product-detail-container) .products-section .product-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
body:has(.product-detail-container) .products-section .product-card { border-radius: 0; border-color: var(--detail-line); box-shadow: none; }
body:has(.product-detail-container) .products-section .product-image { height: 220px; }
body:has(.product-detail-container) .products-section .product-info { padding: 12px; }
body:has(.product-detail-container) .products-section .product-info h3 { min-height: 30px; font: 400 11px/1.4 'Playfair Display', serif !important; letter-spacing: 0; text-transform: none; }
body:has(.product-detail-container) footer { padding-top: 34px; }

@media (max-width: 992px) {
    body:has(.product-detail-container) .product-detail-container { grid-template-columns: 1fr; gap: 34px; }
    body:has(.product-detail-container) .main-image { height: min(620px, 78vw); }
}

@media (max-width: 700px) {
    body:has(.product-detail-container) .main-nav { display: none; }
    body:has(.product-detail-container) .container { padding: 0 15px; }
    body:has(.product-detail-container) .products-section { padding: 15px 0 35px; }
    body:has(.product-detail-container) .product-detail-container { margin-top: 8px; }
    body:has(.product-detail-container) .main-image { height: 108vw; max-height: 520px; }
    body:has(.product-detail-container) .thumbnail { width: 70px; height: 76px; }
    body:has(.product-detail-container) .product-info-detail h1 { font-size: 32px; }
    body:has(.product-detail-container) .products-section .product-grid { grid-template-columns: repeat(2, 1fr); }
    body:has(.product-detail-container) .products-section .product-image { height: 180px; }
}

.quick-view-details p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.quick-view-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.view-full-details-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-full-details-link:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .quick-view-body {
        grid-template-columns: 1fr;
    }
    .quick-view-content {
        padding: 30px;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Shop Filters */
.shop-filters {
    text-align: center;
    margin-bottom: 40px;
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}