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

/* Variables based on logo & design */
:root {
    --primary-color: #511e25;
    /* Deep Burgundy from logo/button */
    --bg-color: #fdfaf6;
    /* Very light cream for header background */
    --text-color: #333;
    --text-muted: #777;
    --white: #ffffff;
    --border-color: #d8cfcf;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header & Navigation */
header {
    background-color: var(--bg-color);
    padding: 0 4%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    /* Fixed to top */
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header.scrolled {
    height: 70px;
    background-color: rgba(253, 250, 246, 0.95);
    backdrop-filter: blur(10px);
}

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

.logo-img {
    height: 80px;
    /* Make logo big */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

nav {
    height: 100%;
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    height: 100%;
}

nav ul li {
    height: 100%;
    display: flex;
    align-items: center;
}

nav ul li a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: #222;
}

nav ul li a.active::after {
    width: 100%;
}

/* Mega Menu */
nav ul li.has-mega-menu {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: max-content;
    background-color: var(--white);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(10px);
    z-index: 100;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    justify-content: center;
}

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

.mega-menu-content {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 800px;
    width: 100%;
}

.mega-menu-column {
    flex: 1;
    max-width: 240px;
}

.mega-menu-column a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-bottom: 0;
}

.mega-menu-column a::after {
    display: none;
}

.mega-menu-column img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mega-menu-column:hover img {
    transform: scale(1.05);
}

.mega-menu-column span {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
}


.header-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    gap: 10px;
    transition: border-color 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--primary-color);
}

.search-box i {
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.search-box:focus-within i {
    color: var(--primary-color);
}

.search-box input {
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #333;
    outline: none;
    width: 150px;
    transition: width 0.4s ease;
}

.search-box input:focus {
    width: 200px;
}

.search-box input::placeholder {
    color: #aaa;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.2rem;
    color: #222;
}

.header-icons a {
    transition: all 0.3s ease;
}

.header-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-icon:hover .cart-badge {
    transform: scale(1.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    margin-top: 90px;
    /* Offset for fixed header */
    height: calc(100vh - 90px);
    background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuBCmIi6Wx77UmjeuzLZH2lZ6oIzetSAWog9amUCgO4xci9k1Qp89eBYBNx0vm_MlD-u4RWkUN3vgQ4zFiOn3osht__VznoGGQVJbnShDQ7vosrtJ2LSiYfnMJO4oGugUK98C_KXCkYmXDwyC79uFqAFgTZmI86y837MWEvTnBShcY2c01orqa1mSZNZi2TL4HSPajAAPmyi14OQmQjHtO7o0B4rCySQPw1QKhbqUvRg5LyYklq9n3UNOwW3LD-qUD19fagsRToI18XD');
    background-size: cover;
    background-position: center 20%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 6%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: var(--white);
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-content h1 {
    font-size: 5.5rem;
    line-height: 1.05;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.05rem;
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #3a151b; /* Darker shade of primary-color */
    border-color: #3a151b;
}

.btn-outline {
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background-color: var(--white);
    color: #111;
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.vertical-text-container {
    position: absolute;
    right: 4%;
    bottom: 10%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.vertical-line {
    width: 1px;
    height: 50px;
    background-color: var(--white);
    transform-origin: top;
}

.vertical-text {
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
}

/* Curated Collection Section */
.curated-section {
    padding: 6rem 6%;
    background-color: #fdfaf6;
    /* Very light pink/cream background matching the image */
}

.curated-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
}

.curated-text h2 {
    font-size: 2.8rem;
    color: #4a2128;
    /* Using the primary burgundy */
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.curated-text p {
    color: #555;
    font-size: 0.95rem;
    max-width: 500px;
}

.view-all {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #333;
    position: relative;
    padding-bottom: 5px;
    border-bottom: 2px solid #ccc;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.product-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    background-color: #eee;
    aspect-ratio: 3/4;
    margin-bottom: 1.2rem;
}

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

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

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--white);
    color: #333;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    z-index: 2;
}

.badge.gold {
    background-color: #cda873;
    color: var(--white);
}

.quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #333;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
    backdrop-filter: blur(5px);
}

.product-card:hover .quick-add {
    transform: translateY(0);
}

.quick-add:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.product-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.product-info .price {
    font-size: 0.9rem;
    color: #555;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growLine {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.animate-line {
    animation: growLine 0.5s ease forwards 0.5s;
}

/* Responsive Design */
@media (max-width: 1100px) {
    nav ul {
        gap: 1.5rem;
    }

    .header-right {
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    header {
        padding: 0 20px;
    }

    nav,
    .search-box {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: fit-content;
    }

    .vertical-text-container {
        display: none;
    }

    .curated-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .atelier-section {
        flex-direction: column;
        gap: 4rem;
    }

    .atelier-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .curated-text h2 {
        font-size: 2.2rem;
    }

    .atelier-gallery {
        grid-template-columns: 1fr;
    }

    .quote-box {
        padding: 3rem;
    }
}

/* Atelier Section */
.atelier-section {
    padding: 6rem 6%;
    display: flex;
    gap: 5%;
    align-items: center;
    background: linear-gradient(135deg, #f4f0f2 0%, #fef8f8 100%);
    /* Soft gradient background */
}

.atelier-content {
    flex: 1;
    max-width: 500px;
}

.atelier-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    color: #b59062;
    /* Gold color */
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.atelier-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.atelier-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.2rem;
    color: #8c5b61;
    margin-top: 3px;
}

.feature-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 0.4rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.btn-atelier {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
}

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

.atelier-gallery {
    flex: 1.2;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.gallery-item {
    width: 100%;
    overflow: hidden;
    background-color: var(--white);
    /* For the quote box */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    aspect-ratio: 1/1;
}

.item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    aspect-ratio: 1/1;
}

.item-4 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    aspect-ratio: 4/5;
    /* Taller image */
}

.quote-box {
    padding: 2.5rem;
    text-align: center;
}

.quote-box p {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--primary-color);
    line-height: 1.4;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 80px;
    /* Make logo big in header */
    width: auto;
    object-fit: contain;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo img {
    height: 40px;
    /* Smaller logo in footer */
    width: auto;
    object-fit: contain;
}

/* Testimonials Section (Archive Circle) */
.testimonials-section {
    padding: 6rem 6%;
    background-color: #fdfaf6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    color: #666;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 4rem;
    font-family: 'Inter', sans-serif;
}

.testimonials-slider-container {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    /* Hide cards outside the view */
    margin-bottom: 3rem;
    padding: 10px 0;
    /* Space for box-shadow on hover */
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    /* Each card takes up approx 1/3 of the container width minus gap */
}

.testimonial-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex: 0 0 calc(33.333% - 1rem);
    /* 3 cards visible on desktop */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.testimonial-card.highlighted {
    background-color: #faeaea;
    /* Soft blush pink */
}

.stars {
    color: #cda873;
    /* Gold */
    font-size: 0.8rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 4px;
}

.quote-text {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    /* Pushes reviewer info to bottom */
}

.reviewer-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.reviewer-info span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #888;
}

.testimonial-nav {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: transparent;
    color: #555;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: transparent;
    color: #ccc;
    border-color: #eee;
}

/* Add Testimonials to Responsive Queries */
@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 0.75rem);
        /* 2 cards visible on tablet */
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
        /* 1 card visible on mobile */
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: 8rem 6%;
    background-color: var(--bg-color);
    /* Very light pink/cream */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.newsletter-content {
    max-width: 800px;
    width: 100%;
}

.newsletter-content h2 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.newsletter-content p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 650px;
    margin: 0 auto 2rem;
}

.input-group {
    display: flex;
    align-items: flex-end;
    /* Align bottom borders */
    gap: 2rem;
}

.newsletter-form input {
    flex: 1;
    border: none;
    border-bottom: 1px solid #c4b5b7;
    background: transparent;
    padding: 0.8rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input::placeholder {
    color: #999;
    font-weight: 500;
}

.newsletter-form input:focus {
    border-bottom-color: var(--primary-color);
}

.btn-subscribe {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1.2rem 3rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
    background-color: #3a191f;
    /* Darker burgundy */
}

.newsletter-footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: #888;
}

/* Add Newsletter to Responsive Queries */
@media (max-width: 768px) {
    .newsletter-content h2 {
        font-size: 2.5rem;
    }

    .input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .newsletter-form input {
        border-bottom: 2px solid #ccc;
        /* More visible on mobile */
    }

    .btn-subscribe {
        width: 100%;
    }
}

/* Footer Section */
.site-footer {
    background-color: var(--white);
    padding: 6rem 6% 2rem;
    border-top: 1px solid #eaeaea;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.brand-column .footer-logo {
    display: inline-block;
    margin-bottom: 1.2rem;
}

.brand-column .footer-logo img {
    height: 100px;
    /* Make logo big in footer */
    width: auto;
    object-fit: contain;
}

.brand-column p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-column h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 2rem;
}

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

.footer-column ul li {
    margin-bottom: 1.2rem;
}

.footer-column ul li a,
.social-links a,
.footer-legal a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover,
.social-links a:hover,
.footer-legal a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #555;
}

.location-info i {
    font-size: 1.1rem;
}

.location-info span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #eaeaea;
    color: #888;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

/* Add Footer to Responsive Queries */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* ==========================================================================
   OUR STORY PAGE STYLES
   ========================================================================== */

.story-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1558509740-424a180f6880?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    /* Vintage atelier placeholder */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 80px;
    /* Offset for fixed header */
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
    /* Light overlay to match screenshot */
    z-index: 1;
}

.story-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}

.story-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    color: #8c5b61;
    /* Muted burgundy/gold */
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
}

.story-hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    color: #222;
    margin-bottom: 2rem;
    font-weight: 600;
}

.story-hero-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #333;
    font-size: 1.2rem;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Our Legacy Section */
.legacy-section {
    padding: 8rem 6%;
    background-color: var(--bg-color);
    /* Light pink background */
    display: flex;
    align-items: center;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.legacy-content {
    flex: 1;
    max-width: 500px;
}

.legacy-line {
    width: 60px;
    height: 1px;
    background-color: #cda873;
    /* Gold/Bronze */
    margin-bottom: 2rem;
}

.legacy-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.legacy-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.legacy-quote {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    color: #92404b !important;
    /* Slightly darker/redder burgundy */
    margin-top: 2rem;
    font-weight: 500;
}

.legacy-images {
    flex: 1.2;
    position: relative;
    height: 600px;
}

.img-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 85%;
    background-color: #f5f2ef;
    padding: 1.5rem 1.5rem 0 1.5rem;
    /* Space for top text */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.img-back-text {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.img-back img {
    width: 100%;
    height: calc(100% - 3rem);
    /* Account for padding/text */
    object-fit: cover;
    filter: sepia(0.3) contrast(0.9);
    /* Vintage feel */
}

.img-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 55%;
    border: 12px solid var(--bg-color);
    /* Matches background to look like a cutout */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
    background-color: #fff;
    padding: 4px;
    /* Inner thin white border effect */
}

.img-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    /* Black and white */
}

@media (max-width: 992px) {
    .legacy-section {
        flex-direction: column;
        gap: 4rem;
    }

    .legacy-content {
        max-width: 100%;
    }

    .legacy-images {
        width: 100%;
        max-width: 600px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .legacy-images {
        height: 400px;
    }
}

/* The Art of the Thread Section */
.process-section {
    padding: 8rem 6%;
    background-color: var(--white);
    max-width: 1400px;
    margin: 0 auto;
}

.process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.process-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.process-header p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.process-card {
    display: flex;
    flex-direction: column;
}

.process-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 2rem;
    background-color: #f5f5f5;
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.process-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #cda873;
    /* Gold color */
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.process-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .process-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .process-header h2 {
        font-size: 2.5rem;
    }
}

/* Commitment to Women Section */
.commitment-section {
    padding: 8rem 6%;
    background-color: var(--bg-color);
    /* Light pink background */
    display: flex;
    align-items: center;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.commitment-images {
    flex: 1.2;
    position: relative;
    height: 550px;
}

.commitment-images .img-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 80%;
    z-index: 1;
}

.commitment-images .img-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.commitment-images .img-right {
    position: absolute;
    top: 0;
    right: 5%;
    width: 55%;
    height: 80%;
    z-index: 2;
    box-shadow: -15px 15px 40px rgba(0, 0, 0, 0.1);
}

.commitment-images .img-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.commitment-content {
    flex: 1;
    max-width: 550px;
}

.commitment-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.commitment-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .commitment-section {
        flex-direction: column-reverse;
        gap: 4rem;
    }

    .commitment-images {
        width: 100%;
        max-width: 600px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .commitment-images {
        height: 400px;
    }

    .commitment-images .img-right {
        right: 0;
    }
}

/* Final Story Quote Section */
.story-quote-section {
    padding: 10rem 6%;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2rem;
}

.story-quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto 4rem;
    color: var(--white);
}

.story-quote-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-quote-links a {
    color: var(--white);
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.story-quote-links a:hover {
    border-bottom-color: var(--white);
    opacity: 0.8;
}

.story-quote-links .divider {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

@media (max-width: 992px) {
    .story-quote-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .story-quote-text {
        font-size: 2rem;
    }

    .story-quote-links {
        flex-direction: column;
        gap: 1rem;
    }

    .story-quote-links .divider {
        display: none;
    }
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */

.contact-header-section {
    padding: 12rem 6% 6rem;
    /* Extra top padding for fixed header */
    background-color: var(--bg-color);
    /* Light cream/pink */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 4rem;
    border-bottom: 1px solid #eaeaea;
}

.contact-header-left {
    flex: 1.5;
    max-width: 700px;
}

.contact-header-left h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.contact-header-left p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    max-width: 550px;
}

.contact-header-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2rem;
    text-align: right;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info-block .info-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-info-block .info-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-block .info-value:hover {
    color: #8c5b61;
}

.contact-main-section {
    padding: 6rem 6%;
    background-color: var(--white);
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.inquiry-form-box {
    border: 1px solid #eaeaea;
    padding: 4rem;
    background-color: var(--white);
}

.inquiry-form-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    padding: 0.8rem 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background-color: transparent;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit-btn {
    align-self: flex-start;
    margin-top: 1rem;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-image {
    width: 100%;
    height: 350px;
    background-color: #f5f5f5;
}

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

.commitment-box {
    background-color: var(--bg-color);
    /* Matches header */
    border: 1px solid rgba(205, 168, 115, 0.3);
    /* Subtle gold border */
    padding: 3rem;
}

.commitment-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.commitment-box p {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.founder-sig {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sig-line {
    width: 40px;
    height: 1px;
    background-color: #cda873;
}

.founder-sig span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .contact-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }

    .contact-header-right {
        align-items: flex-start;
        text-align: left;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-header-left h1 {
        font-size: 2.5rem;
    }

    .inquiry-form-box {
        padding: 2.5rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================================================
   PRODUCT PAGE STYLES
   ========================================================================== */

.product-page-section {
    padding: 12rem 6% 6rem;
    /* Top padding to account for fixed header */
    background-color: var(--bg-color);
    /* Matches the screenshot background */
    min-height: 100vh;
}

.product-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Product Gallery (Left Side) */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image-container {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #f0f0f0;
    overflow: hidden;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.thumbnail {
    aspect-ratio: 3/4;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.thumbnail.active {
    opacity: 1;
}

.thumbnail:hover {
    opacity: 1;
}

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

/* Product Info (Right Side) */
.product-info {
    display: flex;
    flex-direction: column;
}

.product-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    color: #cda873;
    /* Gold */
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.product-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 2rem;
}

.product-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2.5rem;
}

.product-option-group {
    margin-bottom: 2rem;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.option-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.option-label span {
    font-weight: 400;
    color: #666;
    margin-left: 0.5rem;
}

.size-guide-link {
    font-size: 0.75rem;
    color: #666;
    text-decoration: underline;
}

/* Swatches */
.color-swatches {
    display: flex;
    gap: 1rem;
}

.swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    outline: 1px solid #ddd;
    outline-offset: 2px;
    transition: all 0.2s ease;
}

.swatch.active {
    outline: 1px solid var(--primary-color);
}

/* Size Buttons */
.size-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.size-btn {
    padding: 0.8rem 0;
    background-color: transparent;
    border: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-btn:hover {
    border-color: var(--primary-color);
}

.size-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Actions */
.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.add-to-bag-btn {
    flex: 1;
    padding: 1.2rem;
    font-size: 0.9rem;
}

.wishlist-btn-large {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid #ddd;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wishlist-btn-large:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Accordions */
.product-accordions {
    border-top: 1px solid #eaeaea;
}

.accordion-item {
    border-bottom: 1px solid #eaeaea;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
    cursor: pointer;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    padding-bottom: 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-header i {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

@media (max-width: 992px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-gallery {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

/* Complete the Look Section */
.complete-the-look {
    padding: 6rem 6% 8rem;
    background-color: var(--bg-color);
    border-top: 1px solid #eaeaea;
}

.ctl-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ctl-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.ctl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

.ctl-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ctl-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 1.5rem;
}

.ctl-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.ctl-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ctl-category {
    font-size: 0.7rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.ctl-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.ctl-price {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #444;
}

@media (max-width: 992px) {
    .ctl-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .ctl-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* ==========================================================================
   COLLECTIONS PAGE STYLES
   ========================================================================== */

.collection-page {
    background-color: var(--bg-color);
    /* Light cream background for the whole page */
}

.collection-header {
    padding: 10rem 6% 2rem;
    text-align: center;
}

.collection-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
}

.collection-page-section {
    padding: 0 6% 6rem;
}

.collection-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
}

/* Sidebar Filters */
.filter-sidebar {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-group h3 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

/* Custom Checkbox */
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #444;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 18px;
    width: 18px;
    background-color: transparent;
    border: 1px solid #ccc;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input~.checkmark {
    border-color: var(--primary-color);
}

.custom-checkbox input:checked~.checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Size Grid */
.size-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.filter-size-btn {
    padding: 0.6rem 0;
    background-color: transparent;
    border: 1px solid #ccc;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-size-btn:hover {
    border-color: var(--primary-color);
}

.filter-size-btn.active {
    border-color: var(--primary-color);
    border-width: 2px;
    font-weight: 700;
}

/* Price Slider */
.price-slider-container {
    width: 100%;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    outline: none;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #666;
}

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

/* Clear Filters Button */
.clear-filters {
    padding: 0.8rem;
    font-size: 0.8rem;
    width: 100%;
}

/* Main Collection Content */
.collection-main {
    display: flex;
    flex-direction: column;
}

.collection-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eaeaea;
}

#productCountText {
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sort-dropdown label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #333;
    margin-right: 0.5rem;
}

.sort-dropdown select {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #555;
    border: none;
    background-color: transparent;
    cursor: pointer;
    outline: none;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.collection-grid .product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Footer / Pagination */
.collection-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.load-more-btn {
    padding: 1rem 3rem;
    font-size: 0.85rem;
}

.pagination {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.page-link {
    font-size: 0.8rem;
    color: #888;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.page-link:hover,
.page-link.active {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 992px) {
    .collection-container {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: relative;
        top: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .collection-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ==========================================================================
   CART PAGE STYLES
   ========================================================================== */

.cart-page {
    background-color: var(--bg-color);
    /* Light cream background */
}

.cart-page-section {
    padding: 12rem 6% 8rem;
    /* Account for fixed header */
    min-height: 100vh;
}

.cart-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
}

/* Left: Cart Items */
.cart-header {
    margin-bottom: 3rem;
}

.cart-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cart-header p {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.empty-cart {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid #eaeaea;
}

.cart-item-image {
    width: 150px;
    aspect-ratio: 4/5;
    background-color: #f5f5f5;
}

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

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.item-header-row h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
}

.item-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.item-meta {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: auto;
    /* Push actions to the bottom */
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    background: transparent;
}

.qty-btn {
    width: 30px;
    height: 35px;
    background: transparent;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: #666;
}

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

.qty-val {
    width: 30px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.text-actions {
    display: flex;
    gap: 1.5rem;
}

.text-btn {
    background: transparent;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.text-btn i {
    margin-right: 5px;
    font-size: 0.8rem;
}

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

.remove-btn:hover {
    color: #d9534f;
}

.continue-shopping {
    display: inline-block;
    margin-top: 3rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    border-bottom: 1px solid #333;
    padding-bottom: 3px;
}

.continue-shopping i {
    margin-right: 5px;
}

.continue-shopping:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Right: Order Summary */
.order-summary-box {
    background-color: var(--white);
    border: 1px solid #eaeaea;
    padding: 3rem;
    position: sticky;
    top: 100px;
}

.order-summary-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #555;
}

.summary-line.total {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eaeaea;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
}

.promo-code {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.promo-code input {
    flex: 1;
    border: none;
    padding: 0.8rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    background: transparent;
}

.promo-code input:focus {
    outline: none;
}

.promo-code button {
    background: transparent;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    letter-spacing: 1px;
}

.checkout-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
}

.trust-item i {
    font-size: 1rem;
    color: #aaa;
}

@media (max-width: 992px) {
    .cart-container {
        grid-template-columns: 1fr;
    }

    .order-summary-box {
        position: relative;
        top: 0;
    }
}

@media (max-width: 576px) {
    .cart-item {
        flex-direction: column;
        gap: 1rem;
    }

    .cart-item-image {
        width: 100px;
    }

    .item-header-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .item-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ==========================================================================
   TOAST NOTIFICATION STYLES
   ========================================================================== */

.add-to-bag-toast {
    position: fixed;
    top: 100px;
    right: -400px;
    left: auto;
    bottom: auto;
    transform: none;
    width: 340px;
    background: var(--white);
    color: var(--primary-color);
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e0e0e0;
}

.add-to-bag-toast.show {
    right: 20px;
    bottom: auto;
}

.toast-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}

.toast-img {
    width: 70px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f4f4f4;
}

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

.toast-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
}

.toast-checkout-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}

.toast-checkout-btn:hover {
    background: #3a151b;
}

.toast-wishlist-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.toast-wishlist-btn:hover {
    background: rgba(81, 30, 37, 0.05);
}

/* ==========================================================================
   WISHLIST PAGE STYLES
   ========================================================================== */

.wishlist-page {
    background-color: var(--bg-color);
    /* Light cream background */
}

.wishlist-header {
    padding: 10rem 6% 2rem;
    text-align: center;
}

.wishlist-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.wishlist-header p {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.wishlist-page-section {
    padding: 0 6% 8rem;
    min-height: 50vh;
}

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

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 2rem;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 0;
}

.empty-state p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.empty-state .btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 0.85rem;
    text-decoration: none;
}

/* Wishlist Options Trigger Button */
.wishlist-trigger-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #555;
    z-index: 4;
    transition: all 0.2s ease;
}

.wishlist-trigger-btn:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

/* White Overlay for Remove Action */
.wishlist-remove-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 2.5rem 2rem;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
}

.wishlist-remove-overlay.show {
    bottom: 0;
}

/* Grey Remove Button */
.btn-grey-remove {
    width: 100%;
    background-color: #999;
    /* Solid grey */
    color: var(--white);
    border: none;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background-color 0.2s ease;
}

.btn-grey-remove:hover {
    background-color: #777;
    /* Darker grey on hover */
}

/* ==========================================================================
   ADDED TO BAG TOAST NOTIFICATION
   ========================================================================== */

.add-to-bag-toast {
    position: fixed;
    bottom: -150px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.add-to-bag-toast.show {
    bottom: 0;
}

.toast-content {
    display: flex;
    width: 100%;
    max-width: 1400px;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.toast-img {
    height: 80px;
    width: 80px;
    flex-shrink: 0;
}

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

.toast-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

.toast-checkout-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.2rem 2rem;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
    flex: 1;
    max-width: 400px;
    text-align: center;
    letter-spacing: 1px;
}

.toast-checkout-btn:hover {
    background-color: #333;
}

.toast-wishlist-btn {
    width: 55px;
    height: 55px;
    border: 1px solid #ddd;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.toast-wishlist-btn:hover {
    background-color: #f9f9f9;
}

/* Wishlist Badge */
.wishlist-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

@media (max-width: 992px) {
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* --- Add to Bag Toast --- */
.add-to-bag-toast {
    position: fixed;
    bottom: 30px;
    right: -400px;
    width: 320px;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-color);
}

.add-to-bag-toast.show {
    right: 30px;
}

.toast-content {
    display: flex;
    flex-direction: column;
}

.toast-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

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

.toast-actions {
    display: flex;
    align-items: stretch;
    border-top: 1px solid var(--border-color);
}

.toast-checkout-btn {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

.toast-checkout-btn:hover {
    background-color: #38151a;
}

.toast-wishlist-btn {
    width: 60px;
    background: var(--white);
    border: none;
    border-left: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.toast-wishlist-btn:hover {
    background: var(--bg-color);
}
