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

:root {
    --primary-color: #0a3d2c;      /* Deep Emerald Green */
    --accent-color: #cfb53b;       /* Champagne Gold */
    --accent-hover: #b59e30;
    --text-color: #2c2c2c;         /* Charcoal */
    --text-light: #6e6e6e;
    --bg-color: #faf8f5;           /* Warm Ivory */
    --bg-white: #ffffff;
    --border-color: #e5e0d8;
    --transition-speed: 0.3s;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --max-width: 1300px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Common Layout Containers */
.container {
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-padding {
    padding-top: 40px;
    padding-bottom: 40px;
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 300;
}

/* Premium Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
}

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

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

.btn-accent {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

.btn-accent:hover {
    background-color: var(--bg-white);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* --- HEADER --- */
header {
    position: relative;
    background-color: var(--bg-white);
    z-index: 1000;
}

header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
    padding: 8px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Utility Header */
.utility-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
}

.search-box input {
    border: none;
    border-bottom: 1px solid transparent;
    padding: 2px 5px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    outline: none;
    background: transparent;
}

.search-box input:focus {
    border-bottom-color: var(--text-light);
}

.logo a {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--primary-color);
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
}

.lang-switcher {
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.lang-switcher span.active {
    color: var(--primary-color);
    font-weight: 700;
}

.lang-switcher span:not(.active) {
    color: var(--text-light);
    opacity: 0.6;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: var(--bg-white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.nav-item {
    position: static; /* Required for full width mega-menu */
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 18px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link i {
    font-size: 0.65rem;
    margin-left: 4px;
    vertical-align: middle;
    color: var(--text-light);
    opacity: 0.8;
}

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

/* Mega-Menu Styling */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    padding: 40px 2rem 50px;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 999;
    box-sizing: border-box;
}

.mega-col {
    flex: 1 !important;
    min-width: 0 !important;
}

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

.mega-col-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #9c9c9c;
}

.mega-col ul li {
    margin-bottom: 15px;
}

.mega-col ul li a {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 400;
}

.mega-col ul li a:hover {
    color: var(--accent-color);
}

/* Inline filters styling for column 3 */
.mega-filter-group {
    margin-bottom: 22px;
}

.filter-group-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9c9c9c;
    margin-bottom: 10px;
}

.filter-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-inline-links a {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 400;
}

.filter-inline-links a:hover {
    color: var(--accent-color);
}

.mega-col-image {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: var(--bg-white);
}

.mega-col-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s ease;
}

.mega-col-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 2;
}

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

.mega-col-image-content {
    position: relative;
    z-index: 3;
}

.mega-col-image-content h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.mega-col-image-content p {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Mobile Menu Controls */
.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- HERO SECTION --- */
.hero-slider {
    position: relative;
    height: calc(100vh - 120px);
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    padding: 20px;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Dots navigation */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-dot.active {
    background-color: var(--bg-white);
}

/* Homepage Transparent Overlay Menu */
.home-page .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.home-page .main-nav .nav-link {
    color: var(--bg-white);
}
.home-page .main-nav .nav-link i {
    color: var(--bg-white);
}
.home-page .main-nav .nav-link:hover {
    color: var(--accent-color);
}

/* Hide top announcement bar on homepage */
.home-page .announcement-bar {
    display: none;
}

/* Slogan Bar */
.slogan-bar {
    background-color: #f3eee6;
    padding: 30px 10px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.slogan-bar h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
    color: var(--primary-color);
}

/* --- 2-COLUMN COLLECTIONS SECTION --- */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: var(--bg-white);
}

.collection-card img.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collection-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 61, 44, 0.8) 0%, rgba(10, 61, 44, 0.2) 60%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

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

.collection-card-content {
    position: relative;
    z-index: 3;
}

.collection-card-content h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.collection-card-content p {
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.9;
    max-width: 80%;
}

.collection-card-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid var(--bg-white);
    padding-bottom: 4px;
}

.collection-card-content a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* --- PRODUCT DISPLAY SECTION --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 40px;
}

.product-card {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition-speed);
}

.product-card:hover {
    box-shadow: none;
}

/* 2-Image Hover Switch Effect */
.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* square ratio 1:1 */
    overflow: hidden;
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-img-primary {
    z-index: 2;
    opacity: 1;
}

.product-img-model {
    z-index: 1;
    opacity: 0;
}

.product-card:hover .product-img-primary {
    opacity: 0;
}

.product-card:hover .product-img-model {
    opacity: 1;
    transform: scale(1.03);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(245, 245, 245, 0.9);
    color: var(--text-color);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
}

.product-info {
    padding: 15px 0 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-collection {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-color);
    line-height: 1.3;
}

.product-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.product-card .btn-buy {
    margin-top: auto;
    width: 100%;
    padding: 10px 15px;
    font-size: 0.75rem;
}

/* --- BANNER SPLIT / STORIES PROMO --- */
.stories-promo {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background-color: #fcfbf9;
}

.stories-promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.stories-promo-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
}

.stories-promo-content span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.stories-promo-content h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.stories-promo-content p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* --- FEATURE BENEFITS BAR --- */
.benefits-bar {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 40px 0;
    border-bottom: 1px solid #062b1f;
}

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

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.benefit-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.benefit-item h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.benefit-item p {
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 0.8;
}

/* --- FOOTER --- */
footer {
    background-color: #f7f5f0;
    color: var(--text-color);
}

.footer-top {
    padding: 80px 0 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

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

.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--text-light);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.newsletter-form {
    margin-top: 15px;
}

.newsletter-form p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.input-group {
    display: flex;
}

.input-group input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-right: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    outline: none;
    background-color: var(--bg-white);
}

.input-group button {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.input-group button:hover {
    background-color: var(--accent-color);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 1rem;
}

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

.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-light);
}

.payment-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 1.5rem;
    color: var(--text-light);
    opacity: 0.7;
}

/* --- SLIDE-OUT CART DRAWER --- */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px; /* Hidden by default */
    width: 420px;
    max-width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.cart-header {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

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

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

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

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.cart-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-collection {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
}

.qty-btn {
    width: 20px;
    height: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    font-size: 0.8rem;
}

.cart-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.8rem;
    color: var(--text-light);
    cursor: pointer;
}

.cart-item-remove:hover {
    color: #c0392b;
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid var(--border-color);
    background-color: #faf8f5;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-buttons .btn {
    width: 100%;
}

.empty-cart-message {
    text-align: center;
    color: var(--text-light);
    margin-top: 50px;
    font-size: 0.95rem;
}

/* --- SHOP PAGE / PRODUCT LISTING --- */
.shop-hero {
    background-color: #f3eee6;
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

/* Custom Filter Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.filters-left {
    display: flex;
    gap: 25px;
    align-items: center;
}

.filter-link-btn {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.filter-link-btn:hover {
    color: var(--accent-color);
}

.filter-link-btn.btn-all-filters {
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
}

.filters-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-count {
    font-size: 0.8rem;
    color: var(--text-light);
    font-family: var(--font-sans);
}

.sort-trigger-btn {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 5px 0;
}

.sort-trigger-btn:hover {
    color: var(--accent-color);
}

/* Divided Grid with Column Lines */
.product-grid.divided {
    gap: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.product-grid.divided .product-card {
    padding: 30px 20px;
    border-right: 1px solid var(--border-color);
}

.product-grid.divided .product-card:nth-child(4n) {
    border-right: none;
}

@media (max-width: 1024px) {
    .product-grid.divided {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-grid.divided .product-card {
        border-right: 1px solid var(--border-color);
    }
    .product-grid.divided .product-card:nth-child(3n) {
        border-right: none;
    }
    .product-grid.divided .product-card:nth-child(4n) {
        border-right: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .product-grid.divided {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-grid.divided .product-card {
        border-right: 1px solid var(--border-color);
        padding: 20px 10px;
    }
    .product-grid.divided .product-card:nth-child(2n) {
        border-right: none;
    }
    .product-grid.divided .product-card:nth-child(3n) {
        border-right: 1px solid var(--border-color);
    }
}

/* Filter Drawer Left */
.filter-drawer-left {
    position: fixed;
    top: 0;
    left: -360px;
    width: 350px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.05);
    z-index: 1200;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.filter-drawer-left.open {
    left: 0;
}

.filter-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
}

.filter-drawer-header h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

.filter-drawer-close {
    font-size: 1.2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    color: var(--text-color);
}

.filter-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
}

.filter-drawer-footer {
    padding: 25px 30px;
    border-top: 1px solid var(--border-color);
}

.btn-apply-filters {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 15px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-apply-filters:hover {
    background-color: var(--accent-color);
}

/* Accordion for Filter Drawer */
.filter-accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.filter-accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    user-select: none;
}

.filter-accordion-title h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.filter-accordion-title i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: var(--text-light);
}

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

.filter-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.filter-accordion-item.active .filter-accordion-content {
    max-height: 500px;
    transition: max-height 0.3s cubic-bezier(0.85, 0, 0.15, 1);
    padding-bottom: 20px;
}

/* Checkbox Style inside Accordion */
.filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-color);
    cursor: pointer;
    user-select: none;
}

.filter-checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    outline: none;
    cursor: pointer;
    position: relative;
    background-color: var(--bg-white);
    transition: background-color 0.2s, border-color 0.2s;
}

.filter-checkbox-label input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-checkbox-label input[type="checkbox"]:checked::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-white);
    font-size: 8px;
    font-weight: 700;
}

/* Overlay dark background */
.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1190;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-overlay.open {
    opacity: 1;
    visibility: visible;
}


/* --- PRODUCT DETAIL PAGE --- */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    margin-top: 40px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

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

.product-thumb {
    aspect-ratio: 1;
    border: 1px solid var(--border-color);
    cursor: pointer;
    overflow: hidden;
    opacity: 0.6;
    transition: opacity var(--transition-speed);
}

.product-thumb.active, .product-thumb:hover {
    opacity: 1;
    border-color: var(--primary-color);
}

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

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

.product-meta-top {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.product-meta-top .collection {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.product-meta-top h1 {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 15px;
}

.product-meta-top .price-box {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.product-specs {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spec-item {
    display: flex;
    font-size: 0.85rem;
}

.spec-label {
    font-weight: 600;
    width: 120px;
    color: var(--primary-color);
}

.spec-val {
    color: var(--text-color);
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-qty-select {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.product-qty-select span {
    font-size: 0.85rem;
    font-weight: 600;
}

.qty-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
}

.qty-input-wrapper input {
    width: 50px;
    text-align: center;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 8px 0;
}

.qty-input-wrapper button {
    background: none;
    border: none;
    width: 32px;
    height: 36px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-input-wrapper button:hover {
    color: var(--accent-color);
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.action-buttons .btn {
    padding: 15px;
}

/* --- ABOUT & STORIES & COLLECTIONS LANDING --- */
.collection-detail-row {
    display: grid;
    gap: 50px;
    align-items: center;
}
.collection-detail-row.img-left {
    grid-template-columns: 1.2fr 1fr;
}
.collection-detail-row.img-right {
    grid-template-columns: 1fr 1.2fr;
}

.about-hero {
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    margin-bottom: 60px;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 61, 44, 0.6);
    z-index: 2;
}

.about-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.about-hero-content h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 500;
}

.editorial-layout {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-color);
}

.editorial-layout p {
    margin-bottom: 25px;
    font-size: 1rem;
    font-weight: 300;
}

.editorial-layout h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 40px 0 20px;
    font-weight: 500;
}

/* --- STORIES BLOG GRID --- */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.story-card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform var(--transition-speed);
}

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

.story-card-img {
    height: 250px;
    overflow: hidden;
}

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

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

.story-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.story-card-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.story-card-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 12px;
}

.story-card-excerpt {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 20px;
    flex-grow: 1;
}

.story-card-link {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 2px;
    align-self: flex-start;
}

.story-card-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* --- MULTI-LEVEL MOBILE DRAWER --- */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -320px; /* Hidden */
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background-color: var(--bg-white);
    box-shadow: 5px 0 25px rgba(0,0,0,0.1);
    z-index: 2000;
    padding: 0; /* Remove default padding for full screen panel slide */
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
    overflow: hidden;
}

.mobile-nav-drawer.open {
    left: 0;
}

.mobile-menu-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 25px 20px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
}

.mobile-menu-panel.active {
    transform: translateX(0);
    visibility: visible;
    z-index: 10;
}

/* Subpanels when open slide in from right */
.mobile-menu-panel.submenu-open {
    transform: translateX(0);
    visibility: visible;
    z-index: 20;
}

/* Main panel gets shifted slightly left when submenu is open */
.mobile-menu-panel.active.shifted {
    transform: translateX(-30%);
    opacity: 0.5;
}

/* Brand & Header in main panel */
.mobile-menu-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
    position: relative;
}

.mobile-menu-brand {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    width: 100%;
    text-align: center;
}

/* Close icon */
.mobile-menu-header .mobile-nav-close {
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color);
    position: absolute;
    left: 0;
    z-index: 5;
    padding: 5px;
}

/* Submenu header */
.submenu-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.btn-back {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
}

.btn-back i {
    font-size: 0.8rem;
}

/* Links inside mobile panels */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-links li {
    width: 100%;
}

.mobile-nav-links li a,
.mobile-nav-links li.has-submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-color);
    padding: 10px 0;
    cursor: pointer;
    border-bottom: 1px solid rgba(229, 224, 216, 0.3);
    transition: color var(--transition-speed);
}

.mobile-nav-links li.has-submenu i {
    font-size: 0.75rem;
    color: var(--text-light);
}

.mobile-nav-links li a:hover,
.mobile-nav-links li.has-submenu:hover {
    color: var(--accent-color);
}

/* Submenu Section Title */
.mobile-nav-links li.submenu-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    padding-top: 15px;
    padding-bottom: 5px;
    border-bottom: none;
}

/* Nested lists padding */
.mobile-nav-links li.submenu-section-title + li a {
    padding-left: 0;
}

.mobile-nav-links li a.all-link {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 1.5px solid var(--primary-color);
    padding-bottom: 5px;
    margin-bottom: 10px;
    display: inline-flex;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .mega-menu {
        padding: 30px 2rem;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .collection-detail-row.img-left,
    .collection-detail-row.img-right {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .collection-detail-row .col-image {
        grid-row: 1 !important;
        width: 100% !important;
    }
    .collection-detail-row .col-text {
        grid-row: 2 !important;
        width: 100% !important;
    }
    .collection-detail-row h2.section-title {
        font-size: 2rem !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .utility-header {
        padding: 10px 15px;
    }
    
    .logo a {
        font-size: 1.6rem;
    }
    
    .main-nav {
        display: none; /* Hide main desktop menu */
    }
    
    .mobile-nav-toggle {
        display: block; /* Show menu toggle */
    }
    
    .hero-slider {
        height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .collections-grid {
        grid-template-columns: 1fr; /* Single column for collections */
        gap: 20px;
    }
    
    .collection-card {
        height: 320px;
        padding: 25px;
    }
    
    .collection-card-content h3 {
        font-size: 1.7rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 15px;
    }
    
    .stories-promo {
        grid-template-columns: 1fr;
    }
    
    .stories-promo-content {
        padding: 40px 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cart-drawer {
        width: 100%;
    }
    
    /* Mobile Header Layout Optimizations to make menu toggle visible */
    .utility-header {
        padding: 10px 15px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    
    .search-box {
        justify-self: start;
    }
    
    .search-box input {
        display: none; /* Hide text input on mobile to save space */
    }
    
    .logo {
        grid-column: 2;
        justify-self: center;
    }
    
    .utility-right {
        grid-column: 3;
        justify-self: end;
        gap: 15px;
    }
    
    .lang-switcher, .utility-right a[title="Cửa hàng"] {
        display: none; /* Hide duplicate header links on mobile (accessible in drawer) */
    }
    
    .mobile-nav-toggle {
        display: block !important;
        font-size: 1.4rem;
        cursor: pointer;
        padding: 5px;
    }
}

/* --- HOME PAGE STYLES GALLERY --- */
.styles-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    overflow: hidden;
}

.style-gallery-card {
    position: relative;
    height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    color: var(--bg-white);
    overflow: hidden;
}

.style-gallery-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.style-gallery-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

.style-gallery-card:hover img {
    transform: scale(1.04);
}

.style-gallery-content {
    position: relative;
    z-index: 3;
}

.style-gallery-content h3 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.style-gallery-link {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1.5px solid var(--bg-white);
    padding-bottom: 2px;
    display: inline-block;
    transition: color var(--transition-speed), border-color var(--transition-speed);
}

.style-gallery-card:hover .style-gallery-link {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

@media (max-width: 768px) {
    .styles-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .style-gallery-card {
        height: 300px;
        padding: 15px;
    }
    
    .style-gallery-content h3 {
        font-size: 1.1rem;
    }
    
    .style-gallery-link {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .styles-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .style-gallery-card {
        height: 200px;
        padding: 10px;
    }
    
    .style-gallery-content h3 {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    
    .style-gallery-link {
        font-size: 0.65rem;
    }
}

/* Homepage Boutiques Grid */
.boutiques-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
@media (max-width: 768px) {
    .boutiques-grid-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* --- HOMEPAGE FEATURED PRODUCTS SLIDER --- */
.product-slider-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0; /* No side padding anymore since arrows are at the bottom! */
}

.product-slider-container {
    overflow: hidden;
    width: 100%;
    margin-bottom: 30px;
}

/* Ensure the grid behaves as a flexbox track in slider context */
.product-slider-container .product-grid.slider-track {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 30px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.product-slider-container .product-grid.slider-track .product-card {
    flex: 0 0 calc((100% - 3 * 30px) / 4); /* 4 items visible on desktop */
    min-width: calc((100% - 3 * 30px) / 4);
    margin-bottom: 0;
}

/* Elegant Hover Quick Add Button over Product Image */
.btn-quick-add {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 10px);
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    border: none;
    padding: 10px 24px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.product-card:hover .btn-quick-add {
    opacity: 1;
    transform: translate(-50%, 0);
}

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

/* Product Swatches Styling */
.product-swatches {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.swatch {
    width: 12px;
    height: 12px;
    display: inline-block;
    cursor: pointer;
    border-radius: 0;
    position: relative;
}

.swatch.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--text-color);
}

.swatch-text {
    margin-left: 5px;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Minimalist Bottom Slider Navigation Controls (Arrow + scrollbar indicator) */
.slider-controls-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 10px;
    width: 100%;
}

.slider-arrow {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.slider-arrow:hover {
    opacity: 0.6;
}

.slider-arrow:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.slider-scrollbar {
    width: 200px;
    height: 2px;
    background-color: var(--border-color);
    position: relative;
    overflow: visible;
}

.slider-scrollbar-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--text-color);
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Lookbook section reverse styling (image on the right) */
.stories-promo.reverse {
    grid-template-columns: 1fr 1.2fr;
}

/* New Instagram section styling */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.instagram-card {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background-color: #000;
}

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

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-speed);
    z-index: 2;
}

.instagram-overlay i {
    color: var(--bg-white);
    font-size: 1.8rem;
    transform: scale(0.8);
    transition: transform var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.instagram-card:hover img {
    transform: scale(1.06);
}

.instagram-card:hover .instagram-overlay {
    opacity: 1;
}

.instagram-card:hover .instagram-overlay i {
    transform: scale(1);
}

/* Responsive adjustments for slider, lookbook and instagram */
@media (max-width: 1024px) {
    .product-slider-container .product-grid.slider-track {
        gap: 20px;
    }
    .product-slider-container .product-grid.slider-track .product-card {
        flex: 0 0 calc((100% - 2 * 20px) / 3); /* 3 columns */
        min-width: calc((100% - 2 * 20px) / 3);
    }
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .btn-quick-add {
        opacity: 1;
        transform: translate(-50%, 0);
        padding: 8px 16px;
        font-size: 0.7rem;
    }
    .product-slider-container .product-grid.slider-track {
        gap: 15px;
    }
    .product-slider-container .product-grid.slider-track .product-card {
        flex: 0 0 calc((100% - 1 * 15px) / 2); /* 2 columns */
        min-width: calc((100% - 1 * 15px) / 2);
    }
    .stories-promo.reverse {
        display: flex;
        flex-direction: column-reverse; /* image on top, text on bottom on mobile */
    }
}

@media (max-width: 480px) {
    .product-slider-container .product-grid.slider-track .product-card {
        flex: 0 0 100%; /* 1 column */
        min-width: 100%;
    }
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

