/* =====================================================
   L'Atelier des Merveilles - Main Stylesheet
   ===================================================== */

/* ----- CSS Variables ----- */
:root {
    /* Colors */
    --primary: #D4A373;
    --secondary: #CCD5AE;
    --accent: #E07A5F;
    --bg-light: #FEFAE0;
    --bg-alt: #FAEDCD;
    --text-dark: #3D405B;
    --text-light: #6B705C;
    --white: #FFFFFF;
    --black: #1a1a1a;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Nunito', sans-serif;
    --font-accent: 'Caveat', cursive;
    --font-price: 'DM Sans', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-round: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(61, 64, 91, 0.08);
    --shadow-md: 0 4px 16px rgba(61, 64, 91, 0.12);
    --shadow-lg: 0 8px 32px rgba(61, 64, 91, 0.16);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

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

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

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.subtitle {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.text-accent {
    font-family: var(--font-accent);
}

.text-price {
    font-family: var(--font-price);
    font-weight: 700;
}

/* ----- Layout ----- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

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

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

section {
    padding: var(--space-3xl) 0;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn svg {
    width: 18px;
    height: 18px;
}

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

.btn-primary:hover {
    background-color: #c96a51;
    border-color: #c96a51;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-tertiary {
    background-color: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
}

.btn-tertiary:hover {
    background-color: var(--text-light);
    border-color: var(--text-light);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

.btn-block {
    width: 100%;
}

/* ----- Top Bar ----- */
.top-bar {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: var(--space-xs) 0;
    text-align: center;
    font-size: 0.875rem;
}

.top-bar p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
}

.top-bar svg {
    width: 16px;
    height: 16px;
}

/* ----- Header ----- */
.main-header {
    background-color: var(--bg-light);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.logo-sub {
    font-family: var(--font-accent);
    font-size: 1rem;
    color: var(--primary);
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-list a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-base);
}

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

.nav-list a.active {
    color: var(--primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header-icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-round);
    transition: var(--transition-base);
    position: relative;
}

.header-icon-btn:hover {
    background-color: var(--bg-alt);
}

.header-icon-btn svg {
    width: 22px;
    height: 22px;
    color: var(--text-dark);
}

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

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-light);
    z-index: 999;
    padding: 100px var(--space-lg) var(--space-lg);
    transition: right var(--transition-slow);
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-nav a {
    font-size: 1.25rem;
    font-weight: 500;
    display: block;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--bg-alt);
}

/* ----- Hero Section ----- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    padding: var(--space-2xl) 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23D4A373" opacity="0.3"/><circle cx="60" cy="40" r="1.5" fill="%23CCD5AE" opacity="0.4"/><circle cx="80" cy="80" r="1" fill="%23D4A373" opacity="0.3"/><circle cx="40" cy="70" r="0.8" fill="%23E07A5F" opacity="0.2"/></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-content .subtitle {
    font-size: 1.75rem;
}

.hero-content h1 {
    margin-bottom: var(--space-md);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.hero-decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: var(--radius-round);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-alt) 100%);
    opacity: 0.5;
}

.hero-decoration-1 {
    top: 10%;
    right: 5%;
}

.hero-decoration-2 {
    bottom: 10%;
    left: 40%;
    width: 100px;
    height: 100px;
}

/* ----- Reassurance Banner ----- */
.reassurance {
    background-color: var(--secondary);
    padding: var(--space-lg) 0;
}

.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    justify-content: center;
}

.reassurance-item svg {
    width: 24px;
    height: 24px;
    color: var(--text-dark);
    flex-shrink: 0;
}

.reassurance-item span {
    font-weight: 500;
    color: var(--text-dark);
}

/* ----- Categories Section ----- */
.categories {
    background-color: var(--bg-alt);
    position: relative;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 50" preserveAspectRatio="none"><path d="M0 50C360 0 720 50 1080 25C1260 12 1440 50 1440 50H0Z" fill="%23FEFAE0"/></svg>');
    background-size: cover;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header .subtitle {
    margin-bottom: var(--space-xs);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.category-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: var(--shadow-lg);
}

.category-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.category-card-content {
    padding: var(--space-md);
    text-align: center;
}

.category-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.category-count {
    font-family: var(--font-accent);
    color: var(--primary);
    font-size: 1rem;
}

/* ----- Products Section ----- */
.products-section {
    background-color: var(--bg-light);
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card-link {
    display: block;
}

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

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

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

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 0.35rem 0.75rem;
    background-color: var(--accent);
    color: var(--white);
    font-family: var(--font-accent);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transform: rotate(-3deg);
}

.product-badge.nouveau {
    background-color: var(--secondary);
    color: var(--text-dark);
}

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(61, 64, 91, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.product-card-content {
    padding: var(--space-md);
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: var(--space-xs);
    display: block;
}

.product-name {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}

.product-artisan {
    font-family: var(--font-accent);
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: var(--font-price);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.product-rating svg {
    width: 16px;
    height: 16px;
    fill: #FFB800;
    stroke: #FFB800;
}

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

/* ----- Story Section ----- */
.story-section {
    background-color: var(--bg-light);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.story-image {
    position: relative;
}

.story-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.story-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 60%;
    height: 60%;
    background: var(--secondary);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.5;
}

.story-content .subtitle {
    font-size: 1.5rem;
}

.story-content h2 {
    margin-bottom: var(--space-md);
}

.story-content p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.story-content .btn {
    margin-top: var(--space-sm);
}

/* ----- Testimonials Section ----- */
.testimonials {
    background-color: var(--secondary);
    position: relative;
    overflow: hidden;
}

.testimonials::before,
.testimonials::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    background-size: cover;
    background-repeat: no-repeat;
}

.testimonials::before {
    top: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 60" preserveAspectRatio="none"><path d="M0 60C240 0 480 60 720 30C960 0 1200 60 1440 30V0H0V60Z" fill="%23FEFAE0"/></svg>');
}

.testimonials::after {
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 60" preserveAspectRatio="none"><path d="M0 0C240 60 480 0 720 30C960 60 1200 0 1440 30V60H0V0Z" fill="%23FEFAE0"/></svg>');
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    position: relative;
    padding-left: var(--space-lg);
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.testimonial-info h4 {
    font-size: 1rem;
    font-family: var(--font-body);
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-top: var(--space-sm);
}

.testimonial-rating svg {
    width: 16px;
    height: 16px;
    fill: #FFB800;
    stroke: #FFB800;
}

/* ----- Newsletter Section ----- */
.newsletter {
    background: linear-gradient(135deg, var(--accent) 0%, #c96a51 100%);
    color: var(--white);
    text-align: center;
}

.newsletter .subtitle {
    color: var(--bg-light);
    opacity: 0.9;
}

.newsletter h2 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    opacity: 0.95;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: var(--space-sm);
}

.newsletter-form input {
    flex: 1;
    padding: 1rem var(--space-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    background-color: var(--white);
    color: var(--text-dark);
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.newsletter-form button {
    padding: 1rem var(--space-lg);
    background-color: var(--text-dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: var(--transition-base);
}

.newsletter-form button:hover {
    background-color: var(--black);
    transform: translateY(-2px);
}

.newsletter-form button svg {
    width: 18px;
    height: 18px;
}

.newsletter-disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: var(--space-md);
}

/* ----- Pre-Footer ----- */
.pre-footer {
    background-color: var(--bg-alt);
    padding: var(--space-2xl) 0;
}

.pre-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.pre-footer-item {
    text-align: center;
}

.pre-footer-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.pre-footer-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.pre-footer-item h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.pre-footer-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ----- Footer ----- */
.main-footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 50px;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer-content {
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.footer-about p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-col ul li {
    margin-bottom: var(--space-xs);
}

.footer-col ul li a {
    font-size: 0.95rem;
    opacity: 0.85;
    transition: var(--transition-base);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.footer-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-md);
}

.footer-payment span {
    font-size: 0.9rem;
    opacity: 0.7;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.payment-icons svg {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    opacity: 0.7;
}

.made-with {
    display: flex;
    align-items: center;
    gap: 4px;
}

.made-with svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
    color: var(--accent);
}

/* ----- Page Header ----- */
.page-header {
    background-color: var(--bg-alt);
    padding: var(--space-2xl) 0;
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 40" preserveAspectRatio="none"><path d="M0 40C360 0 720 40 1080 20C1260 10 1440 40 1440 40H0Z" fill="%23FEFAE0"/></svg>');
    background-size: cover;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

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

.breadcrumb span {
    opacity: 0.5;
}

/* ----- Boutique Page ----- */
.boutique-section {
    background-color: var(--bg-light);
}

.filters-bar {
    background-color: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.filters-left {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.6rem 1rem;
    border: 1px solid var(--bg-alt);
    border-radius: var(--radius-md);
    background-color: var(--white);
    color: var(--text-dark);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--primary);
    outline: none;
}

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

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
}

.pagination-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-alt);
    border-radius: var(--radius-round);
    font-weight: 600;
    transition: var(--transition-base);
}

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

.pagination-btn svg {
    width: 20px;
    height: 20px;
}

/* ----- Product Detail Page ----- */
.product-detail {
    padding: var(--space-2xl) 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
}

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

.product-thumbnails {
    display: flex;
    gap: var(--space-sm);
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

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

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

.product-info .product-badge {
    position: static;
    display: inline-block;
    margin-bottom: var(--space-md);
}

.product-info h1 {
    margin-bottom: var(--space-sm);
}

.product-info .product-artisan {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.product-info .product-artisan a {
    text-decoration: underline;
}

.product-rating-large {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.stars {
    display: flex;
    gap: 2px;
}

.stars svg {
    width: 20px;
    height: 20px;
    fill: #FFB800;
    stroke: #FFB800;
}

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

.product-price-large {
    font-family: var(--font-price);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
}

.product-description-detail {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.quantity-selector label {
    font-weight: 600;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--bg-alt);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.quantity-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-alt);
    transition: var(--transition-base);
}

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

.quantity-input input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 1rem;
}

.product-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.product-actions .btn-primary {
    flex: 1;
}

.btn-wishlist {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-alt);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

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

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

.shipping-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background-color: var(--bg-alt);
    border-radius: var(--radius-md);
}

.shipping-info svg {
    width: 20px;
    height: 20px;
    color: var(--text-light);
}

.shipping-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Product Tabs */
.product-tabs {
    margin-top: var(--space-3xl);
}

.tabs-nav {
    display: flex;
    gap: var(--space-sm);
    border-bottom: 2px solid var(--bg-alt);
    margin-bottom: var(--space-lg);
}

.tab-btn {
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    transition: var(--transition-base);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
}

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

.tab-content p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.specs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.spec-item {
    display: flex;
    gap: var(--space-sm);
}

.spec-item strong {
    color: var(--text-dark);
    min-width: 120px;
}

/* Artisan Section */
.artisan-section {
    background-color: var(--secondary);
    margin-top: var(--space-3xl);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
}

.artisan-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.artisan-portrait {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-round);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.artisan-info h3 {
    margin-bottom: var(--space-xs);
}

.artisan-specialty {
    font-family: var(--font-accent);
    color: var(--primary);
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.artisan-quote {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
    border-left: 3px solid var(--primary);
}

/* Reviews Section */
.reviews-section {
    margin-top: var(--space-3xl);
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.review-card {
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.review-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.review-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.review-meta h4 {
    font-size: 1rem;
    font-family: var(--font-body);
}

.review-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating svg {
    width: 16px;
    height: 16px;
    fill: #FFB800;
    stroke: #FFB800;
}

.review-content {
    color: var(--text-light);
    line-height: 1.7;
}

/* ----- Artisans Page ----- */
.artisans-hero {
    background-color: var(--bg-alt);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.artisans-hero h1 {
    margin-bottom: var(--space-sm);
}

.artisans-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.125rem;
}

.quote-section {
    background: linear-gradient(135deg, var(--accent) 0%, #c96a51 100%);
    padding: var(--space-2xl) 0;
    text-align: center;
    color: var(--white);
}

.quote-section blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto var(--space-md);
}

.quote-section cite {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    opacity: 0.9;
}

.artisans-grid-section {
    background-color: var(--bg-light);
}

.artisans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.artisan-card-full {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.artisan-card-full:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.artisan-card-image {
    height: 250px;
    overflow: hidden;
}

.artisan-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.artisan-card-content {
    padding: var(--space-lg);
}

.artisan-card-content h3 {
    margin-bottom: var(--space-xs);
}

.artisan-card-content .artisan-specialty {
    margin-bottom: var(--space-xs);
}

.artisan-location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.artisan-location svg {
    width: 16px;
    height: 16px;
}

.artisan-card-quote {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.artisan-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.artisan-products-count {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Values Section */
.values-section {
    background-color: var(--bg-alt);
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.value-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.value-item:nth-child(even) {
    direction: rtl;
}

.value-item:nth-child(even) > * {
    direction: ltr;
}

.value-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.value-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.value-content h3 {
    margin-bottom: var(--space-md);
}

.value-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Partner Section */
.partner-section {
    background-color: var(--bg-light);
    text-align: center;
}

.partner-section h2 {
    margin-bottom: var(--space-md);
}

.partner-section p {
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    color: var(--text-light);
}

/* ----- About Page ----- */
.about-hero {
    background-color: var(--bg-alt);
    padding: var(--space-3xl) 0;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-hero h1 {
    margin-bottom: var(--space-md);
}

.about-hero p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Timeline */
.timeline-section {
    background-color: var(--bg-light);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

.timeline-item {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-year {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) .timeline-year {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) .timeline-year {
    justify-content: flex-end;
}

.timeline-year span {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--primary);
    background-color: var(--bg-light);
    padding: var(--space-xs) var(--space-sm);
}

.timeline-content {
    flex: 1;
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    color: var(--text-light);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border: 4px solid var(--bg-light);
    border-radius: var(--radius-round);
}

/* Stats */
.stats-section {
    background-color: var(--secondary);
    padding: var(--space-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-price);
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.stat-item p {
    color: var(--text-light);
}

/* Team */
.team-section {
    background-color: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

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

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-round);
    overflow: hidden;
    margin: 0 auto var(--space-md);
    box-shadow: var(--shadow-md);
}

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

.team-card h3 {
    margin-bottom: var(--space-xs);
}

.team-role {
    font-family: var(--font-accent);
    color: var(--primary);
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.team-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ----- Contact Page ----- */
.contact-hero {
    background-color: var(--bg-alt);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.contact-hero h1 {
    margin-bottom: var(--space-sm);
}

.contact-hero p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.contact-options {
    background-color: var(--bg-light);
    padding: var(--space-2xl) 0;
}

.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.contact-option {
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-option-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-alt);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.contact-option-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.contact-option h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.contact-option p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.contact-option a {
    color: var(--primary);
    font-weight: 600;
}

.contact-option a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-section {
    background-color: var(--bg-light);
    padding-bottom: var(--space-3xl);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
}

.contact-form {
    background-color: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem var(--space-md);
    border: 2px solid var(--bg-alt);
    border-radius: var(--radius-md);
    background-color: var(--white);
    color: var(--text-dark);
    transition: var(--transition-base);
}

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

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.form-checkbox input {
    width: auto;
    margin-top: 4px;
}

.form-checkbox label {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-info-sidebar h3 {
    margin-bottom: var(--space-md);
}

.contact-info-sidebar p {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-detail svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

/* FAQ */
.faq-section {
    background-color: var(--bg-alt);
}

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

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    text-align: left;
    transition: var(--transition-base);
}

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

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-lg);
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item.active .faq-answer {
    padding: var(--space-md) var(--space-lg);
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
}

/* ----- Cart Page ----- */
.cart-section {
    background-color: var(--bg-light);
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.cart-items {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--bg-alt);
}

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

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

.cart-item-info h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.cart-item-info p {
    font-family: var(--font-accent);
    color: var(--primary);
}

.cart-item-price {
    font-family: var(--font-price);
    font-weight: 600;
}

.cart-item-remove {
    color: var(--text-light);
    padding: var(--space-sm);
    transition: var(--transition-base);
}

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

.cart-summary {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--bg-alt);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.cart-summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: var(--space-md);
    border-top: 2px solid var(--bg-alt);
    margin-top: var(--space-md);
}

.promo-code {
    margin: var(--space-lg) 0;
}

.promo-input {
    display: flex;
    gap: var(--space-sm);
}

.promo-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--bg-alt);
    border-radius: var(--radius-md);
}

.cart-empty {
    text-align: center;
    padding: var(--space-3xl);
}

.cart-empty svg {
    width: 80px;
    height: 80px;
    color: var(--text-light);
    opacity: 0.5;
    margin-bottom: var(--space-lg);
}

.cart-empty h2 {
    margin-bottom: var(--space-md);
}

.cart-empty p {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

/* ----- Legal Pages ----- */
.legal-page {
    background-color: var(--bg-light);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.legal-content h1 {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--bg-alt);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-content p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.legal-content li {
    color: var(--text-light);
    margin-bottom: var(--space-xs);
    list-style: disc;
}

.legal-content ol li {
    list-style: decimal;
}

.legal-content a {
    color: var(--primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

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

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.4s ease forwards;
}

/* Animation delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ----- Responsive ----- */
@media (max-width: 1199px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }

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

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

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

    .menu-toggle {
        display: flex;
    }

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

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

    .story-grid,
    .value-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .value-item:nth-child(even) {
        direction: ltr;
    }

    .story-image::after {
        display: none;
    }

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

    .pre-footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

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

    .product-gallery {
        position: static;
    }

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

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

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

    .contact-form-grid,
    .cart-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    section {
        padding: var(--space-2xl) 0;
    }

    .hero {
        min-height: auto;
        padding: var(--space-2xl) 0;
    }

    .reassurance-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filters-left {
        justify-content: center;
    }

    .tabs-nav {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: var(--space-sm) var(--space-md);
    }

    .specs-list {
        grid-template-columns: 1fr;
    }

    .artisan-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .artisan-portrait {
        margin: 0 auto;
    }

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

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

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

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: var(--space-sm);
    }

    .cart-item-price,
    .cart-item-remove {
        grid-column: 2;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        text-align: left;
        padding-left: 50px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-year {
        justify-content: flex-start !important;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .logo-text {
        display: none;
    }

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

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

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn-wishlist {
        width: 100%;
    }

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