/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Optima';
    src: local('Optima'), local('Optima Regular');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Buffalo';
    src: local('Buffalo'), local('Buffalo Italic');
    font-weight: normal;
    font-style: italic;
}

body {
    font-family: 'Optima', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #f4e9ea;
    background: var(--primary);
    line-height: 1.6;
    animation: fadeIn 0.8s ease both;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Optima', serif;
    font-weight: normal;
    letter-spacing: 0.02em;
}

/* ========== COLOR VARIABLES ========== */
:root {
    --primary: #2a0813;
    --primary-light: #4a1a28;
    --secondary: #ffb8fe;
    --secondary-dark: #e89ae6;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-border: #e0e0e0;
    --success: #4a7c59;
    --error: #c44b3c;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes glowPulse {
    from {
        box-shadow: 0 0 0 rgba(255, 184, 254, 0);
    }

    to {
        box-shadow: 0 0 40px rgba(255, 184, 254, 0.18);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ========== TYPOGRAPHY ========== */
.italic-text {
    font-family: 'Buffalo', 'Georgia', serif;
    font-style: italic;
}

.brand-name {
    font-family: 'Optima', serif;
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* ========== ANNOUNCEMENT BAR ========== */
.announcement-bar {
    background: #fff8ee;
    color: #290813;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.6rem 2rem;
    position: relative;
    z-index: 1001;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.announcement-text {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Optima', 'Segoe UI', sans-serif;
    margin: 0 2rem;
    transition: opacity 0.3s ease;
}

.announcement-btn {
    background: none;
    border: none;
    color: #290813;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    transition: opacity 0.3s;
    opacity: 0.7;
}

.announcement-btn:hover {
    opacity: 1;
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    z-index: 1000;
    padding: 0.8rem 3rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header:hover {
    background: #ffffff;
    border-bottom-color: transparent;
}

.header:hover .nav-links a {
    color: var(--primary);
}

.header:hover .menu-toggle {
    color: var(--primary);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 25px;
}

.logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-default {
    display: block;
}

.logo-hover {
    display: none;
}

.header:hover .logo-default {
    display: none;
}

.header:hover .logo-hover {
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
}

.dropdown-content a:hover {
    background: var(--gray-light);
    color: var(--primary);
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--secondary-dark);
    color: var(--white);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    min-width: 18px;
    text-align: center;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* ========== HERO SECTION ========== */
.hero-marsea-style {
    background: url('../assets/images/BG.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    margin-top: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

.hero-bottom-container {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    right: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10;
}

.hero-bottom-left {
    color: #ffffff;
}

.hero-brand {
    font-family: 'Optima', serif;
    font-size: 4rem;
    font-weight: normal;
    margin: 0 0 0.5rem 0;
    line-height: 1;
    letter-spacing: 0.05em;
}

.hero-tagline {
    font-family: 'Optima', serif;
    font-size: 1.2rem;
    margin: 0;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.btn-hero-shop {
    display: inline-block;
    background: #290813;
    color: #ffffff;
    padding: 1rem 3rem;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Optima', serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    border: 1px solid #290813;
    transition: all 0.3s ease;
}

.btn-hero-shop:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.hero-content-block {
    background: #FFF8EF;
    /* Light beige similar to Marsea */
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.hero-content-inner .hero-title {
    font-family: 'Optima', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #400d1c;
    /* Deep burgundy/brown */
    line-height: 1.2;
    font-weight: normal;
    margin: 0;
}

.hero-content-inner .btn-primary {
    background: #400d1c;
    color: #FFF8EF;
    padding: 1.2rem 3rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    transition: all 0.3s ease;
}

.hero-content-inner .btn-primary:hover {
    background: #d6bfa3;
    color: #070103;
}

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(42, 8, 19, 0.95) 0%, rgba(42, 8, 19, 0.75) 50%, rgba(100, 30, 60, 0.85) 100%),
        radial-gradient(circle at 20% 50%, rgba(255, 184, 254, 0.08) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(42, 8, 19, 0.6));
    background-size: 100% 100%, 100% 100%, 100% 100%;
    margin-top: 80px;
    padding: 6rem 2rem;
    color: #f4e9ea;
    animation: fadeInUp 0.9s ease both;
    position: relative;
    overflow: hidden;
}

.hero-marsea-style::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    /* Dark overlay */
    z-index: 0;
}

.hero-marsea-style .hero-content {
    z-index: 1;
}

.hero-marsea-style::before {
    display: none !important;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255, 184, 254, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease both;
    animation-delay: 0.1s;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-family: 'Buffalo', serif;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
    animation: fadeInUp 0.9s ease both;
    animation-delay: 0.2s;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 300;
    letter-spacing: 0.02em;
    animation: fadeInUp 0.9s ease both;
    animation-delay: 0.3s;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeInUp 0.9s ease both;
    animation-delay: 0.4s;
}

.hero .btn-primary {
    animation: fadeInUp 0.9s ease both;
    animation-delay: 0.5s;
}

.btn-primary {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 1.1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    font-family: 'Optima', serif;
    letter-spacing: 0.08em;
    transform: translateZ(0);
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 184, 254, 0.35);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 0.95rem 2rem;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 184, 254, 0.25);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    transition: all 0.3s;
    font-size: 0.8rem;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========== SECTION STYLES ========== */
.section {
    padding: 5.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.1s;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 0.5rem;
    position: relative;
    animation: fadeIn 0.8s ease both;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.section-title::before {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--secondary);
    margin: 0 auto 1.5rem;
    animation: slideInDown 0.6s ease both;
    animation-delay: 0.2s;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--secondary);
    margin: 1.5rem auto 0;
    animation: slideInDown 0.6s ease both;
    animation-delay: 0.3s;
}

/* ========== PRODUCT CARDS ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

/* ========== FEATURED SCROLLER ========== */
.featured-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.featured-carousel-wrapper .carousel-arrow {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    z-index: 10;
}

.featured-carousel-wrapper .carousel-arrow:hover {
    background: var(--white);
    color: var(--primary);
}

.featured-carousel-wrapper .left-arrow {
    left: -20px;
}

.featured-carousel-wrapper .right-arrow {
    right: -20px;
}

.featured-scroller {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0 2rem 0;
    scroll-behavior: smooth;
    width: 100%;
    min-width: 0;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.featured-scroller::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.featured-scroller .product-card {
    flex: 0 0 280px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.featured-scroller .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    border-color: #dcdcdc;
}

.featured-scroller .product-image {
    background: transparent;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
}

.featured-scroller .product-info {
    padding: 1rem 1.5rem 1.5rem;
}

.featured-scroller .product-title {
    color: var(--text-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.featured-scroller .product-price {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

.featured-scroller .featured-badge {
    display: none;
}

.product-card {
    background: #fff8ee !important;
    border: 1px solid #f0e6d8 !important;
    border-radius: 0 !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    text-decoration: none;
    color: #111111 !important;
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease both;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06) !important;
    border-color: #e5d8c5 !important;
    background: #ffffff !important;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    background: transparent;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    mix-blend-mode: multiply;
}

.product-card:hover .product-image {
    transform: scale(1.05) translateZ(0);
    filter: brightness(0.95);
}

/* Fix header gaps */
.page-title-section {
    margin-top: 0 !important;
    padding-top: 2rem !important;
    background-color: transparent !important;
    color: #290813 !important;
    border: none !important;
}

.page-main-title {
    color: #290813 !important;
}

.product-info {
    padding: 1.5rem 1rem;
    text-align: left;
    position: relative;
    background: transparent;
}

.product-title {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: #111111;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-price {
    font-size: 0.95rem;
    color: #333333;
    font-weight: 500;
}

/* Featured Product Card */
.product-card.featured {
    border: 1.5px solid var(--secondary);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--secondary);
    color: var(--primary);
    padding: 0.4rem 0.9rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(255, 184, 254, 0.3);
}

/* ========== COLLECTION CARDS ========== */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
}

.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    animation: fadeInUp 0.9s ease both;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 450px;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 184, 254, 0.2);
}

.collection-card:hover img {
    transform: scale(1.08) rotate(1deg);
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(42, 8, 19, 0.95) 0%, rgba(42, 8, 19, 0.7) 60%, transparent 100%);
    color: var(--white);
    padding: 3rem 2rem 2rem;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.collection-card:hover .collection-overlay {
    transform: translateY(0);
}

.collection-name {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.collection-description {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* ========== BLOG CARDS ========== */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: var(--primary);
    display: block;
    opacity: 0;
    animation: fadeInUp 0.85s ease both;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.blog-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem 1.5rem;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.blog-excerpt {
    color: rgba(42, 8, 19, 0.75);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 500;
}

/* ========== BLOG CAROUSEL ========== */
.journal-section {
    background: #fff8ee;
}

.blog-carousel {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    animation: fadeInUp 0.9s ease both;
}

.carousel-container {
    overflow: hidden;
    border-radius: 24px;
    background: #0f0f12;
    /* Black background from reference */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-carousel-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 3rem;
    gap: 3rem;
    opacity: 0;
    animation: fadeIn 0.8s ease both;
}

.carousel-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.carousel-title {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 2rem;
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-transform: uppercase;
}

.carousel-excerpt {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.carousel-author {
    display: none;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.carousel-btn {
    display: inline-block;
    width: fit-content;
    background: var(--white);
    color: #0f0f12;
    padding: 0.95rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--white);
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

.carousel-btn:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.carousel-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    animation: float 6s ease-in-out infinite;
}

.carousel-nav {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.carousel-arrow {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    transform: scale(1.3);
}

/* ========== FOOTER ========== */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: #999;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: #999;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.8rem;
}

/* ========== CART PAGE ========== */
.cart-container {
    max-width: 1200px;
    margin: 120px auto 4rem;
    padding: 0 2rem;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-border);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.quantity-input {
    width: 60px;
    padding: 0.25rem;
    border: 1px solid var(--gray-border);
    border-radius: 4px;
}

.cart-summary {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: right;
}

.cart-total {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1rem 0;
}

/* ========== CHECKOUT PAGE ========== */
.checkout-container {
    max-width: 1200px;
    margin: 120px auto 4rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.checkout-form .form-group {
    margin-bottom: 1rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    font-family: inherit;
}

.order-summary {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 12px;
    position: sticky;
    top: 100px;
}

.order-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-border);
}

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .products-grid,
    .collections-grid,
    .blogs-grid {
        grid-template-columns: 1fr;
    }

    .blog-carousel-slide {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
        gap: 2rem;
    }

    .carousel-image {
        height: 350px;
    }

    .carousel-title {
        font-size: 1.8rem;
    }

    .carousel-container {
        border-radius: 20px;
        padding: 0;
    }

    .checkout-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ========== RESPONSIVE EXTENSIONS ========== */
@media (max-width: 768px) {
    .nav-links {
        background: rgba(255, 255, 255, 0.96);
    }

    .nav-links a,
    .nav-links .dropdown {
        width: 100%;
    }

    .nav-links a {
        color: var(--text-dark);
        font-size: 1rem;
        padding: 0.75rem 0.5rem;
    }

    .dropdown-content {
        position: relative;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .dropdown-content a {
        background: rgba(255, 255, 255, 0.93);
        border-radius: 14px;
        margin-bottom: 0.5rem;
        padding: 0.75rem 1rem;
        color: var(--text-dark);
    }

    .hero {
        margin-top: 100px;
        padding: 3rem 1.5rem;
        min-height: 65vh;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    .products-grid,
    .collections-grid,
    .blogs-grid {
        grid-template-columns: 1fr;
    }

    .product-card .product-image {
        height: 300px;
    }

    .collection-card img {
        height: 320px;
    }

    .blog-image {
        height: 220px;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .cart-container,
    .checkout-container,
    .product-detail-container {
        padding: 1rem;
        margin: 100px auto 2rem;
    }

    .cart-table th,
    .cart-table td {
        padding: 0.75rem;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .checkout-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .order-summary {
        position: static;
        top: auto;
    }

    .quantity-selector {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-selector select {
        width: 100%;
    }

    .product-meta {
        padding: 1rem;
    }

    .modal-content {
        width: 100%;
        max-width: 95%;
    }

    .footer {
        padding: 3rem 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.85rem 1rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    .nav-links {
        padding: 1rem;
    }

    .hero {
        padding: 2.5rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .btn-primary {
        padding: 0.95rem 1.2rem;
    }

    .product-image {
        height: 240px;
    }

    .collection-card img {
        height: 260px;
    }

    .blog-image {
        height: 180px;
    }

    .blog-carousel-slide {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .carousel-image {
        height: 280px;
    }

    .carousel-title {
        font-size: 1.5rem;
    }

    .carousel-excerpt {
        font-size: 0.95rem;
    }

    .carousel-nav {
        bottom: 1rem;
        left: 1rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-dots {
        bottom: 1rem;
        right: 1rem;
    }

    .product-detail-container {
        padding: 0.8rem;
    }

    .cart-container,
    .checkout-container {
        padding: 0.8rem;
    }

    .footer {
        padding: 2rem 1rem 1.5rem;
    }
}

/* ========== MARSEA FOOTER ========== */
.footer-marsea {
    background-color: #400d1c;
    color: #ffffff;
    padding: 6rem 3rem 1.5rem;
    font-family: 'Optima', serif;
}

.footer-container-marsea {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-left-marsea {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.footer-huge-brand {
    font-family: 'Optima', serif;
    font-size: clamp(6rem, 15vw, 12rem);
    line-height: 0.8;
    margin: 0;
    font-weight: normal;
    letter-spacing: 0.05em;
    color: #FFF8EF;
    /* Light warm white from reference */
}

.footer-tagline-marsea {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
}

.footer-right-marsea {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-col-marsea {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col-marsea h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    font-weight: normal;
}

.footer-col-marsea a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-col-marsea a:hover {
    opacity: 1;
}

.footer-bottom-marsea {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: none;
}

.footer-bottom-marsea .bottom-center a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 1rem;
    transition: opacity 0.3s;
}

.footer-bottom-marsea .bottom-center a:hover {
    opacity: 1;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-container-marsea {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-huge-brand {
        font-size: 20vw;
    }

    .footer-marsea {
        padding: 3rem 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.85rem 1rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    .nav-links {
        padding: 1rem;
    }

    .hero {
        padding: 2.5rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .btn-primary {
        padding: 0.95rem 1.2rem;
    }

    .product-image {
        height: 240px;
    }

    .collection-card img {
        height: 260px;
    }

    .blog-image {
        height: 180px;
    }

    .blog-carousel-slide {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .carousel-image {
        height: 280px;
    }

    .carousel-title {
        font-size: 1.5rem;
    }

    .carousel-excerpt {
        font-size: 0.95rem;
    }

    .carousel-nav {
        bottom: 1rem;
        left: 1rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-dots {
        bottom: 1rem;
        right: 1rem;
    }

    .product-detail-container {
        padding: 0.8rem;
    }

    .cart-container,
    .checkout-container {
        padding: 0.8rem;
    }

    .footer {
        padding: 2rem 1rem 1.5rem;
    }
}

/* ========== MARSEA FOOTER ========== */
.footer-marsea {
    background-color: #400d1c;
    color: #ffffff;
    padding: 6rem 3rem 1.5rem;
    font-family: 'Optima', serif;
}

.footer-container-marsea {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-left-marsea {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.footer-huge-brand {
    font-family: 'Optima', serif;
    font-size: clamp(6rem, 15vw, 12rem);
    line-height: 0.8;
    margin: 0;
    font-weight: normal;
    letter-spacing: 0.05em;
    color: #FFF8EF;
    /* Light warm white from reference */
}

.footer-tagline-marsea {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
}

.footer-right-marsea {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-col-marsea {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col-marsea h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    font-weight: normal;
}

.footer-col-marsea a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-col-marsea a:hover {
    opacity: 1;
}

.footer-bottom-marsea {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: none;
}

.footer-bottom-marsea .bottom-center a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 1rem;
    transition: opacity 0.3s;
}

.footer-bottom-marsea .bottom-center a:hover {
    opacity: 1;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-container-marsea {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-huge-brand {
        font-size: 20vw;
    }

    .footer-right-marsea {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom-marsea {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
}

/* ========== MARSEA STYLE EDITS SECTION ========== */
.edits-marsea-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 4rem;
    align-items: center;
    justify-content: center;
}

.edits-image-column {
    flex: 1;
    position: relative;
    max-width: 350px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.edits-image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.edits-list-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.edit-list-item {
    font-size: 2.2rem;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--primary);
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: flex-start;
    font-family: 'Optima', serif;
    letter-spacing: 0.05em;
}

.edit-list-item:hover,
.edit-list-item.active {
    color: #a07a68;
    /* Or some accent color */
}

.edit-list-item .superscript {
    font-size: 1rem;
    margin-right: 0.8rem;
    margin-top: 0.4rem;
    font-family: 'Optima', serif;
}

@media (max-width: 900px) {
    .edits-marsea-container {
        flex-direction: column;
        gap: 2rem;
    }

    .edit-list-item {
        font-size: 1.5rem;
    }
}

/* ========== PRODUCTS PAGE OVERHAUL ========== */
/* ========== PRODUCTS PAGE REVISED (HERITAGE JEWELS STYLE) ========== */

/* Page Main Title */
.page-title-section {
    text-align: center;
    padding-top: 3rem;
    margin-top: 80px;
    /* Offset for fixed header */
    background: #ffffff;
}

.page-main-title {
    font-size: 2.5rem;
    font-weight: 400;
    font-family: 'Optima', serif;
    color: #333333;
    letter-spacing: 0.1em;
    margin: 0;
    text-transform: uppercase;
}

/* Horizontal Category Navigation */
.category-navbar {
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    padding: 1rem 0;
    overflow-x: auto;
}

.category-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.horizontal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    white-space: nowrap;
}

.cat-link {
    background: none;
    border: none;
    color: #333333;
    font-family: 'Optima', serif;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.cat-link:hover,
.cat-link.active {
    color: #000000;
}

.cat-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000000;
    transition: width 0.3s ease;
}

.cat-link:hover::after,
.cat-link.active::after {
    width: 100%;
}

/* Dynamic Hero Banner */
.hero-banner-container {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.banner-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-slides .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.banner-slides .slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 3;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    text-align: center;
}

.banner-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    font-family: 'Optima', serif;
    text-transform: capitalize;
}

/* Info Boxes */
.info-boxes-wrapper {
    background: #ffffff;
    padding: 2.5rem 0;
    border-bottom: 1px solid #eaeaea;
}

.info-boxes-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.info-box {
    background: #fff8ee;
    padding: 1.5rem;
    text-align: center;
    color: #333333;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    font-family: 'Optima', serif;
}

/* Filter & Sort Toolbar */
.toolbar-wrapper {
    background: #ffffff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eaeaea;
}

.toolbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333333;
}

.toolbar-left,
.toolbar-center,
.toolbar-right {
    flex: 1;
}

.toolbar-center {
    display: flex;
    justify-content: center;
}

.toolbar-right {
    display: flex;
    justify-content: flex-end;
}

.filter-toggle-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333333;
    font-family: 'Optima', serif;
}

.grid-toggles {
    display: flex;
    gap: 0.5rem;
}

.grid-icon {
    cursor: pointer;
    font-weight: bold;
    color: #ccc;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.grid-icon.active {
    color: #333;
}

.sort-select {
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background: transparent;
    font-family: 'Optima', serif;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
}

/* Products Layout */
.products-layout-container.full-width {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: #ffffff;
    /* overriding var(--primary) for light theme match */
}

/* Animations for Product Cards */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.modern-grid .product-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease;
    background: #ffffff;
    border-radius: 0;
    /* flat clean luxury look */
    overflow: hidden;
}

.modern-grid .product-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.modern-grid .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.modern-grid .product-card .product-image {
    transition: transform 0.7s ease;
}

.modern-grid .product-card:hover .product-image {
    transform: scale(1.03);
}

.modern-grid .product-info {
    padding: 1.5rem 0;
    text-align: center;
}

.modern-grid .product-info h3 {
    color: #333;
}

.modern-grid .product-info p {
    color: #666;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .info-boxes-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .horizontal-list {
        justify-content: flex-start;
    }

    .toolbar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .toolbar-left,
    .toolbar-center,
    .toolbar-right {
        width: 100%;
        justify-content: center;
    }

    .banner-title {
        font-size: 2rem;
    }
}

/* ========== DARK THEME OVERRIDES (#290813) ========== */
body {
    background-color: #290813 !important;
    color: #ffffff !important;
}

.products-layout-container.full-width {
    background-color: #290813 !important;
    color: #ffffff !important;
    border-color: rgba(255, 184, 254, 0.1) !important;
}

.page-title-section,
.category-navbar,
.info-boxes-wrapper,
.toolbar-wrapper {
    background-color: #fff8ee !important;
    color: #290813 !important;
    border-color: rgba(41, 8, 19, 0.1) !important;
}

.page-main-title {
    color: #290813 !important;
}

.cat-link {
    color: rgba(41, 8, 19, 0.7) !important;
}

.cat-link:hover,
.cat-link.active {
    color: #290813 !important;
}

.cat-link::after {
    background: #290813 !important;
}

.info-box {
    background: #fff8ee !important;
    color: #290813 !important;
}

.filter-toggle-btn,
.grid-icon {
    color: #290813 !important;
}

.grid-icon.active,
.filter-toggle-btn:hover,
.filter-toggle-btn.active {
    color: #8c2645 !important;
}

.sort-select {
    color: #290813 !important;
    border-color: rgba(41, 8, 19, 0.2) !important;
}

.sort-select option {
    background: #fff8ee !important;
    color: #290813 !important;
}

.modern-grid .product-card {
    background: #fff8ee !important;
}

.modern-grid .product-info h3 {
    color: #290813 !important;
}

.modern-grid .product-info p {
    color: #8c2645 !important;
}

/* Filter Panel */
.filter-panel {
    display: none;
    background: #fff8ee;
    padding: 1.5rem;
    border-top: 1px solid rgba(41, 8, 19, 0.1);
}

.filter-panel-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.price-filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-input {
    padding: 0.5rem;
    border: 1px solid rgba(41, 8, 19, 0.2);
    border-radius: 4px;
    background: transparent;
    color: #290813;
    font-family: 'Optima', serif;
}

.apply-filter-btn {
    background: #290813;
    color: #fff8ee;
    border: none;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-family: 'Optima', serif;
    border-radius: 4px;
}

/* Add to Cart button visibility fix */
.product-info .btn-outline {
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 1rem;
    background: rgba(255, 184, 254, 0.1);
    color: #ffb8fe;
    border: 1px solid rgba(255, 184, 254, 0.3);
}

.product-info .btn-outline:hover {
    background: #ffb8fe;
    color: #290813;
}

/* ========== SIDEBAR CART ========== */
.sidebar-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    color: #111111;
}

.sidebar-cart.active {
    transform: translateX(0);
}

.sidebar-cart-header {
    padding: 1.5rem 2rem;
    background: #e6e3de;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-cart-header h2 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
    font-family: 'Optima', serif;
    color: #290813;
    letter-spacing: 0.05em;
}

.close-sidebar-cart {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333333;
    transition: color 0.3s;
    font-weight: 300;
}

.close-sidebar-cart:hover {
    color: #000000;
}

.sidebar-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background: #ffffff;
}

.sidebar-cart-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-cart-item-image-wrapper {
    background: #f5f3ef;
    padding: 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-cart-item-image {
    width: 90px;
    height: 90px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.sidebar-cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-cart-item-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: #290813;
    font-family: 'Optima', serif;
}

.sidebar-cart-item-actions-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.sidebar-cart-qty {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    height: 32px;
}

.sidebar-cart-qty button {
    background: none;
    border: none;
    width: 28px;
    height: 100%;
    cursor: pointer;
    color: #666;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.sidebar-cart-qty button:hover {
    background: #f5f5f5;
}

.sidebar-cart-qty input {
    width: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    background: none;
    font-size: 0.95rem;
    height: 100%;
    color: #333;
}

.sidebar-cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
}

.sidebar-cart-item-remove svg {
    transition: transform 0.2s;
}

.sidebar-cart-item-remove:hover svg {
    transform: scale(1.1);
}

.sidebar-cart-item-price {
    font-size: 1rem;
    color: #290813;
    font-weight: 600;
}

.sidebar-cart-footer {
    padding: 2rem;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.sidebar-cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    color: #290813;
    margin-bottom: 1.5rem;
    align-items: center;
}

.sidebar-cart-checkout {
    display: block;
    width: 100%;
    background: #290813;
    color: #ffffff;
    text-align: center;
    padding: 1.2rem;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.sidebar-cart-checkout:hover {
    background: #4a1a28;
}

.sidebar-empty {
    text-align: center;
    padding: 3rem 0;
    color: #666;
    font-style: italic;
    font-family: 'Optima', serif;
    font-size: 1.1rem;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    background-color: #290813;
    color: #ffffff;
    padding: 4rem 0;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.feature-item {
    text-align: center;
    padding: 1rem;
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: #ffffff;
}

.feature-title {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.feature-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
}

@media (max-width: 900px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-container {
        grid-template-columns: 1fr;
    }
}

/* ========== SCROLL ANIMATIONS ========== */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-up {
    transform: translateY(40px);
}

.fade-in {
    /* Only opacity changes */
}

.slide-left {
    transform: translateX(-40px);
}

.slide-right {
    transform: translateX(40px);
}

/* Stagger delays for grid items */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ========== COMPREHENSIVE MOBILE RESPONSIVENESS OVERRIDES ========== */
@media (max-width: 768px) {
    /* Hero Section Fixes */
    .hero-bottom-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        bottom: 2rem;
        left: 1rem;
        right: 1rem;
        gap: 1.5rem;
    }
    .hero-brand {
        font-size: 3rem !important;
    }
    .hero-tagline {
        font-size: 1rem !important;
    }
    .hero-marsea-style {
        min-height: 80vh !important;
    }

    /* Padding adjustments to maximize screen space */
    .section,
    .features-section,
    .products-layout-container.full-width,
    .info-boxes-wrapper,
    .toolbar-wrapper {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Typographic scaling */
    .page-main-title {
        font-size: 2rem !important;
    }
    .section-title {
        font-size: 1.8rem !important;
    }

    /* Edits layout */
    .edits-marsea-container {
        padding: 0 1rem !important;
        gap: 2rem !important;
    }
    .edits-image-column {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Navigation fixes */
    .nav-links {
        padding: 1.5rem 1rem !important;
    }
    .nav-links a {
        padding: 1rem !important;
        font-size: 1.1rem !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
}
/* CEEN FOOTER TEXT LOGO */
.footer-marsea .footer-logo-marsea {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-family: 'Optima', serif;
    font-size: clamp(6rem, 14vw, 12rem);
    font-weight: 400;
    line-height: 0.75;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Tablet */
@media (max-width: 768px) {
    .footer-marsea .footer-logo-marsea {
        font-size: clamp(5rem, 16vw, 8rem);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .footer-marsea .footer-logo-marsea {
        font-size: 5rem;
    }
}