/* =================================
   ÉLÉGANCE - Boutique de Mode
   Design System & Styles
   ================================= */

/* CSS Variables */
:root {
    --primary: #1a1a1a;
    --primary-light: #333333;
    --secondary: #f8f8f8;
    --accent: #c9a87c;
    --accent-dark: #b8956a;
    --white: #ffffff;
    --gray-100: #fafafa;
    --gray-200: #f5f5f5;
    --gray-300: #e5e5e5;
    --gray-400: #d4d4d4;
    --gray-500: #a3a3a3;
    --gray-600: #737373;
    --gray-700: #525252;
    --text: #1a1a1a;
    --text-muted: #737373;
    --success: #059669;
    --danger: #dc2626;
    --warning: #d97706;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);

    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;

    --transition: all 0.3s ease;
    --header-height: 80px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* =================================
   TYPOGRAPHY
   ================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* =================================
   LAYOUT
   ================================= */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-sm {
    max-width: 900px;
}

.container-lg {
    max-width: 1600px;
}

section {
    padding: 5rem 0;
}

/* =================================
   BUTTONS
   ================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

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

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

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

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

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

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

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

/* =================================
   HEADER / NAVIGATION
   ================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--gray-300);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--primary);
}

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

.nav-main {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

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

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

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

.nav-icon-btn svg {
    width: 22px;
    height: 22px;
}

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

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* =================================
   HERO SECTION
   ================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
}

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

.hero-tag {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.hero-pagination {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--accent);
}

/* =================================
   CATEGORIES
   ================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius);
}

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

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
}

.category-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.category-card span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* =================================
   PRODUCT CARDS
   ================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    position: relative;
}

.product-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--gray-100);
    margin-bottom: 1rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-image img.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

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

.product-card:hover .product-image img.hover-img {
    opacity: 1;
}

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-badge {
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-new {
    background: var(--primary);
    color: var(--white);
}

.badge-sale {
    background: var(--danger);
    color: var(--white);
}

.badge-exclusive {
    background: var(--accent);
    color: var(--white);
}

.product-actions {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-action-btn svg {
    width: 18px;
    height: 18px;
}

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

.product-brand {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-name a:hover {
    color: var(--accent);
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.product-price .current {
    font-weight: 600;
    font-size: 1rem;
}

.product-price .original {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.product-colors {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.color-dot:hover,
.color-dot.active {
    box-shadow: 0 0 0 2px var(--primary);
}

/* =================================
   LOOKBOOK / COLLECTION BANNER
   ================================= */
.collection-banner {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.collection-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.collection-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 500px;
}

.collection-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.collection-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Split banner */
.split-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.split-banner {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.split-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.split-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

.split-banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
}

.split-banner h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.split-banner p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* =================================
   FEATURES / SERVICES
   ================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0;
    border-top: 1px solid var(--gray-300);
    border-bottom: 1px solid var(--gray-300);
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--accent);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-item h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

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

/* =================================
   NEWSLETTER
   ================================= */
.newsletter {
    background: var(--gray-100);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    margin-bottom: 0.5rem;
}

.newsletter p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--gray-300);
    background: var(--white);
    font-size: 0.95rem;
}

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

/* =================================
   FOOTER
   ================================= */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 5rem 0 2rem;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: var(--gray-500);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.payment-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.payment-icons img {
    height: 24px;
    opacity: 0.6;
}

/* =================================
   CATALOGUE PAGE
   ================================= */
.page-header {
    padding: 6rem 0 3rem;
    margin-top: var(--header-height);
    background: var(--gray-100);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

.catalogue-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

/* Filters sidebar */
.filters-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    height: fit-content;
}

.filter-group {
    border-bottom: 1px solid var(--gray-300);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-title svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.filter-option .count {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Color filter */
.color-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.color-filter {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.color-filter:hover,
.color-filter.active {
    box-shadow: 0 0 0 2px var(--primary);
}

/* Size filter */
.size-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-filter {
    min-width: 40px;
    height: 36px;
    padding: 0 0.75rem;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Price range */
.price-range {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    font-size: 0.9rem;
    text-align: center;
}

.price-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Catalogue toolbar */
.catalogue-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-300);
}

.results-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.sort-select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--gray-300);
    background: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.view-toggles {
    display: flex;
    gap: 0.5rem;
}

.view-toggle {
    width: 36px;
    height: 36px;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.view-toggle.active,
.view-toggle:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.view-toggle svg {
    width: 18px;
    height: 18px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-300);
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =================================
   PRODUCT PAGE
   ================================= */
.product-page {
    padding: 2rem 0 5rem;
    margin-top: var(--header-height);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.product-gallery {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gallery-thumb {
    aspect-ratio: 1;
    background: var(--gray-100);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    overflow: hidden;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
}

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

.gallery-main {
    aspect-ratio: 3/4;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

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

.gallery-zoom {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-zoom:hover {
    background: var(--primary);
    color: var(--white);
}

/* Product details */
.product-details {
    padding: 1rem 0;
}

.product-details .product-brand {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.product-details h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    color: var(--accent);
}

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

.product-details .product-price {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.product-details .product-price .current {
    font-size: 1.75rem;
}

.product-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-300);
}

/* Variant selectors */
.variant-selector {
    margin-bottom: 1.5rem;
}

.variant-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
}

.variant-label span {
    font-weight: 400;
    color: var(--text-muted);
}

.color-options {
    display: flex;
    gap: 0.75rem;
}

.color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.color-option:hover,
.color-option.active {
    box-shadow: 0 0 0 2px var(--primary);
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.size-option {
    min-width: 50px;
    height: 44px;
    padding: 0 1rem;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.size-option.out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.size-guide-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: underline;
}

.size-guide-link:hover {
    color: var(--primary);
}

/* Quantity selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    width: fit-content;
}

.qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--gray-100);
}

.qty-input {
    width: 60px;
    height: 44px;
    border: none;
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    text-align: center;
    font-size: 1rem;
}

.qty-input:focus {
    outline: none;
}

/* Add to cart section */
.add-to-cart-section {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.wishlist-btn {
    width: 54px;
    height: 54px;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.wishlist-btn:hover {
    background: var(--gray-100);
}

.wishlist-btn.active {
    background: var(--danger);
    border-color: var(--danger);
    color: var(--white);
}

.wishlist-btn svg {
    width: 22px;
    height: 22px;
}

/* Product meta */
.product-meta {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-300);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.product-meta strong {
    color: var(--text);
    font-weight: 500;
}

/* =================================
   CART PAGE
   ================================= */
.cart-page {
    padding: 2rem 0 5rem;
    margin-top: var(--header-height);
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
}

.cart-items {
    border: 1px solid var(--gray-300);
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 40px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--gray-100);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 40px;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-300);
    align-items: center;
}

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

.cart-product {
    display: flex;
    gap: 1.5rem;
}

.cart-product-image {
    width: 100px;
    height: 130px;
    background: var(--gray-100);
    flex-shrink: 0;
}

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

.cart-product-info h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cart-product-info h3 a:hover {
    color: var(--accent);
}

.cart-product-info .brand {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.cart-product-info .variant {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cart-price {
    font-weight: 500;
}

.cart-quantity .quantity-selector {
    transform: scale(0.85);
    transform-origin: left;
}

.cart-total {
    font-weight: 600;
}

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

.cart-remove:hover {
    color: var(--danger);
}

.cart-remove svg {
    width: 20px;
    height: 20px;
}

/* Cart summary */
.cart-summary {
    background: var(--gray-100);
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.cart-summary h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-300);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-300);
}

.promo-code {
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-300);
    border-bottom: 1px solid var(--gray-300);
}

.promo-code h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.promo-form {
    display: flex;
    gap: 0.5rem;
}

.promo-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    font-size: 0.9rem;
}

.promo-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.cart-summary .btn {
    margin-top: 1rem;
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.secure-checkout svg {
    width: 16px;
    height: 16px;
}

/* =================================
   WISHLIST PAGE
   ================================= */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.wishlist-item {
    position: relative;
}

.wishlist-remove {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 10;
    transition: var(--transition);
}

.wishlist-remove:hover {
    background: var(--danger);
    color: var(--white);
}

.wishlist-remove svg {
    width: 18px;
    height: 18px;
}

/* =================================
   QUICK VIEW MODAL
   ================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.quick-view-modal {
    background: var(--white);
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.quick-view-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.quick-view-image {
    aspect-ratio: 3/4;
    background: var(--gray-100);
}

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

.quick-view-details {
    padding: 2rem;
}

/* =================================
   LOOKBOOK PAGE
   ================================= */
.lookbook-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: var(--header-height);
}

.lookbook-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lookbook-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.lookbook-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
}

.lookbook-hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.lookbook-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

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

.lookbook-item {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.lookbook-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

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

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

.lookbook-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lookbook-item:hover .lookbook-overlay {
    background: rgba(0,0,0,0.4);
}

.lookbook-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.lookbook-item:hover .lookbook-btn {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

@media (max-width: 992px) {
    .nav-main {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .catalogue-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        display: none;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .gallery-thumbs {
        flex-direction: row;
        order: 2;
    }

    .gallery-thumb {
        width: 60px;
        height: 60px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

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

    .lookbook-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .split-banners {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .cart-header {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cart-product {
        flex-direction: column;
        text-align: center;
    }

    .cart-product-image {
        margin: 0 auto;
    }

    .quick-view-content {
        grid-template-columns: 1fr;
    }

    .lookbook-grid {
        grid-template-columns: 1fr;
    }

    .lookbook-hero h1 {
        font-size: 2.5rem;
    }
}
