/* ============================================
   MAISON DORÉE — MAIN STYLESHEET
   ============================================ */

:root {
    --cream: #FFFBF5;
    --ivory: #F7F3ED;
    --gold: #B8860B;
    --gold-light: #D4A853;
    --gold-dark: #8B6914;
    --charcoal: #1C1C1C;
    --charcoal-soft: #3A3A3A;
    --taupe: #A69080;
    --taupe-light: #C4B5A5;
    --white: #FFFFFF;
    --error: #C0392B;
    --success: #27AE60;
    --info: #2980B9;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --radius: 2px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --transition: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--charcoal); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ============================================
   FLASH MESSAGES
   ============================================ */
.flash {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 380px;
    box-shadow: var(--shadow);
    animation: slideIn 0.3s ease;
}
.flash button { background: none; border: none; font-size: 1.2rem; cursor: pointer; opacity: 0.7; }
.flash-success { background: #d4edda; color: #155724; border-left: 4px solid var(--success); }
.flash-error   { background: #f8d7da; color: #721c24; border-left: 4px solid var(--error); }
.flash-info    { background: #d1ecf1; color: #0c5460; border-left: 4px solid var(--info); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

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

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2.25rem;
    background: var(--charcoal);
    color: var(--cream);
    border: none;
    cursor: pointer;
    transition: background var(--transition);
}
.btn-primary:hover { background: var(--gold-dark); }
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--charcoal);
    cursor: pointer;
    transition: all var(--transition);
}
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2.25rem;
    background: var(--gold);
    color: var(--cream);
    border: none;
    cursor: pointer;
    transition: background var(--transition);
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color var(--transition);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
}
.btn-text:hover { color: var(--gold); }
.btn-danger {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--error);
    color: white;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
    transition: opacity var(--transition);
}
.btn-danger:hover { opacity: 0.85; }
.btn-sm { padding: 0.6rem 1.25rem !important; font-size: 0.78rem !important; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(255,251,245,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    transition: all var(--transition);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; letter-spacing: 0.05em; }
.logo span { color: var(--gold); }
.nav-main { display: flex; align-items: center; gap: 2.5rem; }
.nav-main a { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.03em; transition: color var(--transition); }
.nav-main a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-icon { position: relative; display: flex; align-items: center; transition: color var(--transition); }
.header-icon:hover { color: var(--gold); }
.cart-badge {
    position: absolute;
    top: -8px; right: -8px;
    background: var(--gold);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--charcoal); transition: all var(--transition); }

/* Mobile Nav */
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1999; opacity: 0; visibility: hidden; transition: all var(--transition); }
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; max-width: 380px;
    height: 100vh;
    background: var(--cream);
    z-index: 2000;
    padding: 5rem 2rem 2rem;
    transition: right 0.4s ease;
    overflow-y: auto;
}
.mobile-nav.active { right: 0; }
.mobile-nav-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; font-size: 1.8rem; cursor: pointer; }
.mobile-nav-links li { border-bottom: 1px solid var(--ivory); }
.mobile-nav-links a { display: block; padding: 1rem 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; transition: color var(--transition); }
.mobile-nav-links a:hover { color: var(--gold); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding-top: 80px;
}
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl) var(--space-lg) var(--space-xl) var(--space-md);
    max-width: 700px;
    margin-left: auto;
}
.text-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.heading-display {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.1;
}
.hero-title { font-size: clamp(3rem, 5vw, 5.5rem); margin-bottom: 1.5rem; }
.hero-title em { font-style: italic; color: var(--gold); }
.hero-description { font-size: 1.05rem; color: var(--charcoal-soft); max-width: 440px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.hero-image { position: relative; overflow: hidden; background: var(--ivory); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; position: relative; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-overlay {
    position: absolute;
    bottom: 2rem; left: 2rem;
    background: rgba(255,251,245,0.92);
    padding: 1rem 1.5rem;
    backdrop-filter: blur(8px);
}
.overlay-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; }
.overlay-price { font-size: 0.85rem; color: var(--gold); font-weight: 600; }
.hero-dots { position: absolute; bottom: 2rem; right: 2rem; display: flex; gap: 8px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--charcoal); background: transparent; cursor: pointer; transition: background var(--transition); }
.hero-dot.active { background: var(--charcoal); }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; margin-bottom: 0.5rem; }
.section-subtitle { color: var(--taupe); font-size: 1rem; }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.product-card { position: relative; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-image {
    position: relative;
    overflow: hidden;
    background: var(--ivory);
    aspect-ratio: 3/4;
    margin-bottom: 1rem;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    background: var(--gold);
    color: white;
}
.product-badge.sale { background: var(--error); }
.product-actions {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    gap: 1px;
    transform: translateY(100%);
    transition: transform var(--transition);
}
.product-card:hover .product-actions { transform: translateY(0); }
.product-actions a, .product-actions button {
    flex: 1;
    padding: 0.875rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    background: var(--charcoal);
    color: var(--cream);
    border: none;
    cursor: pointer;
    transition: background var(--transition);
}
.product-actions button:hover, .product-actions a:hover { background: var(--gold-dark); }
.product-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; margin-bottom: 0.35rem; }
.product-category { font-size: 0.78rem; color: var(--taupe); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.5rem; }
.product-price { font-size: 1rem; font-weight: 600; }
.product-price .original { text-decoration: line-through; color: var(--taupe); margin-right: 0.5rem; font-weight: 400; }
.product-price .sale-price { color: var(--error); }

/* ============================================
   FEATURED SECTION
   ============================================ */
.featured-section { padding: var(--space-xl) 0; background: var(--ivory); }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.featured-image-wrapper { position: relative; }
.featured-image { aspect-ratio: 4/5; overflow: hidden; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-badge {
    position: absolute;
    top: 2rem; right: -1rem;
    background: var(--gold);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
.featured-label { margin-bottom: 1rem; }
.featured-title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; margin-bottom: 1.25rem; }
.featured-description { color: var(--charcoal-soft); margin-bottom: 2rem; }
.featured-details { border-top: 1px solid var(--taupe-light); padding-top: 1.5rem; margin-bottom: 2rem; }
.detail-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--ivory); }
.detail-label { font-size: 0.8rem; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.08em; }
.detail-value { font-weight: 500; font-size: 0.95rem; }
.featured-price { font-family: var(--font-display); font-size: 2rem; font-weight: 400; margin-bottom: 1.75rem; }

/* ============================================
   COLLECTIONS GRID
   ============================================ */
.collections-section { padding: var(--space-xl) 0; }
.collections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.collection-item { position: relative; overflow: hidden; aspect-ratio: 3/4; cursor: pointer; }
.collection-item:first-child { grid-row: span 2; aspect-ratio: auto; }
.collection-image { width: 100%; height: 100%; }
.collection-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.collection-item:hover .collection-image img { transform: scale(1.06); }
.collection-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(28,28,28,0.75));
    color: white;
}
.collection-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; }
.collection-count { font-size: 0.8rem; opacity: 0.75; }
.collection-link {
    display: block;
    position: absolute;
    inset: 0;
}

/* ============================================
   STATS / CRAFTSMANSHIP
   ============================================ */
.craft-section { padding: var(--space-xl) 0; background: var(--charcoal); color: var(--cream); }
.craft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.craft-label, .craft-section .text-label { color: var(--gold-light); }
.craft-title { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; margin-bottom: 1.5rem; }
.craft-text { color: rgba(255,251,245,0.75); margin-bottom: 1.5rem; }
.craft-list { color: rgba(255,251,245,0.75); padding-left: 1.5rem; list-style: disc; }
.craft-list li { margin-bottom: 0.5rem; }
.craft-image { aspect-ratio: 4/5; overflow: hidden; }
.craft-image img { width: 100%; height: 100%; object-fit: cover; }
.craft-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.stat-item { text-align: center; padding: 1.25rem; background: rgba(255,251,245,0.06); }
.stat-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 300; color: var(--gold-light); }
.stat-label { font-size: 0.75rem; color: rgba(255,251,245,0.55); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.25rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { padding: var(--space-xl) 0; background: var(--ivory); }
.testimonials-header { text-align: center; margin-bottom: 3rem; }
.testimonials-header .section-title { margin-bottom: 0.5rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card { background: var(--cream); padding: 2.5rem; border-top: 2px solid var(--gold); }
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; line-height: 1.7; margin-bottom: 1.5rem; color: var(--charcoal-soft); }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-detail { font-size: 0.8rem; color: var(--taupe); }

/* ============================================
   CONTACT / APPOINTMENT FORM
   ============================================ */
.contact-section { padding: var(--space-xl) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-label { margin-bottom: 1rem; }
.contact-title { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; margin-bottom: 1.25rem; }
.contact-text { color: var(--charcoal-soft); margin-bottom: 2rem; }
.contact-info-item { margin-bottom: 1.25rem; }
.contact-info-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe); margin-bottom: 0.25rem; }
.contact-info-value { font-size: 0.95rem; }
.contact-info-value a:hover { color: var(--gold); }

/* ============================================
   FORMS
   ============================================ */
.form-card { background: var(--ivory); padding: 2.5rem; }
.form-title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem; color: var(--charcoal-soft); }
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--cream);
    border: 1px solid var(--taupe-light);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    transition: border-color var(--transition);
    outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; }
.form-error { font-size: 0.8rem; color: var(--error); margin-top: 0.35rem; }
.form-link { font-size: 0.9rem; text-align: center; margin-top: 1.25rem; color: var(--taupe); }
.form-link a { color: var(--gold); font-weight: 600; }
.form-link a:hover { text-decoration: underline; }
.form-divider { text-align: center; margin: 1.5rem 0; color: var(--taupe); font-size: 0.85rem; position: relative; }
.form-divider::before, .form-divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--taupe-light); }
.form-divider::before { left: 0; }
.form-divider::after { right: 0; }

/* ============================================
   SHOP PAGE
   ============================================ */
.page-header {
    padding: calc(80px + 4rem) 0 4rem;
    background: var(--ivory);
    text-align: center;
}
.page-title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; }
.page-title em { font-style: italic; color: var(--gold); }
.page-subtitle { margin-top: 0.75rem; color: var(--taupe); font-size: 1rem; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; padding: var(--space-lg) 0; }
.shop-sidebar { position: sticky; top: 100px; align-self: start; }
.filter-group { margin-bottom: 2rem; border-bottom: 1px solid var(--ivory); padding-bottom: 2rem; }
.filter-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.filter-list { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-list a { font-size: 0.9rem; color: var(--taupe); transition: color var(--transition); display: flex; justify-content: space-between; }
.filter-list a:hover, .filter-list a.active { color: var(--charcoal); font-weight: 500; }
.filter-list a span { color: var(--taupe-light); font-size: 0.8rem; }
.price-range { display: flex; gap: 0.75rem; align-items: center; }
.price-range input { flex: 1; }
.shop-main {}
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ivory); }
.shop-count { font-size: 0.9rem; color: var(--taupe); }
.shop-sort select { border: 1px solid var(--taupe-light); padding: 0.5rem 1rem; font-size: 0.88rem; background: transparent; cursor: pointer; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--taupe); }
.empty-state h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; margin-bottom: 1rem; }

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail { padding: calc(80px + 3rem) 0 var(--space-xl); }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.product-gallery {}
.gallery-main { aspect-ratio: 4/5; overflow: hidden; background: var(--ivory); margin-bottom: 1rem; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.75rem; }
.gallery-thumb { width: 80px; height: 80px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); }
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info {}
.product-breadcrumb { font-size: 0.8rem; color: var(--taupe); margin-bottom: 1.5rem; }
.product-breadcrumb a { transition: color var(--transition); }
.product-breadcrumb a:hover { color: var(--gold); }
.product-breadcrumb span { margin: 0 0.5rem; }
.product-detail-name { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; margin-bottom: 0.75rem; }
.product-detail-price { font-size: 1.6rem; font-weight: 500; margin-bottom: 1.5rem; }
.product-detail-price .was { text-decoration: line-through; color: var(--taupe); font-size: 1.1rem; font-weight: 400; margin-right: 0.75rem; }
.product-detail-price .now { color: var(--error); }
.product-short-desc { color: var(--charcoal-soft); margin-bottom: 2rem; font-size: 1rem; }
.product-meta { border-top: 1px solid var(--ivory); padding-top: 1.5rem; margin-bottom: 2rem; }
.product-meta-row { display: flex; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--ivory); }
.product-meta-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--taupe); min-width: 100px; }
.product-meta-value { font-size: 0.95rem; font-weight: 500; }
.qty-group { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.qty-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--taupe-light); }
.qty-btn { width: 40px; height: 44px; background: none; border: none; font-size: 1.2rem; cursor: pointer; transition: background var(--transition); }
.qty-btn:hover { background: var(--ivory); }
.qty-input { width: 56px; height: 44px; text-align: center; border: none; border-left: 1px solid var(--taupe-light); border-right: 1px solid var(--taupe-light); font-size: 0.95rem; font-weight: 600; outline: none; }
.product-actions-main { display: flex; gap: 1rem; flex-wrap: wrap; }
.product-actions-main .btn-primary { flex: 1; justify-content: center; }
.stock-badge { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; padding: 0.3rem 0.75rem; margin-bottom: 1.25rem; }
.stock-badge.in-stock { background: #d4edda; color: #155724; }
.stock-badge.low-stock { background: #fff3cd; color: #856404; }
.stock-badge.out-stock { background: #f8d7da; color: #721c24; }
.product-description { padding-top: 2rem; border-top: 1px solid var(--ivory); margin-top: 2rem; }
.product-description h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin-bottom: 1rem; }
.product-description p { color: var(--charcoal-soft); line-height: 1.8; }
.related-section { padding: var(--space-lg) 0; background: var(--ivory); }

/* ============================================
   CART PAGE
   ============================================ */
.cart-page { padding: calc(80px + 3rem) 0 var(--space-xl); }
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.cart-items {}
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--ivory); }
.cart-item-image { aspect-ratio: 1; overflow: hidden; background: var(--ivory); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; margin-bottom: 0.35rem; }
.cart-item-meta { font-size: 0.8rem; color: var(--taupe); margin-bottom: 0.75rem; }
.cart-item-price { font-weight: 600; font-size: 0.95rem; }
.cart-item-actions { display: flex; align-items: center; gap: 1rem; margin-top: 0.75rem; }
.cart-remove { font-size: 0.78rem; color: var(--taupe); border-bottom: 1px solid currentColor; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; padding: 0; padding-bottom: 1px; transition: color var(--transition); }
.cart-remove:hover { color: var(--error); }
.cart-summary { background: var(--ivory); padding: 2rem; position: sticky; top: 100px; }
.cart-summary h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; margin-bottom: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--taupe-light); font-size: 0.9rem; }
.summary-row.total { font-weight: 700; font-size: 1.1rem; border-bottom: none; padding-top: 1rem; }
.cart-checkout-btn { width: 100%; margin-top: 1.5rem; justify-content: center; }
.continue-shopping { font-size: 0.85rem; color: var(--taupe); border-bottom: 1px solid currentColor; display: inline-block; margin-top: 1rem; cursor: pointer; }
.empty-cart { text-align: center; padding: 5rem 2rem; }
.empty-cart svg { margin: 0 auto 1.5rem; color: var(--taupe-light); }
.empty-cart h2 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 300; margin-bottom: 1rem; }
.empty-cart p { color: var(--taupe); margin-bottom: 2rem; }

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-page { padding: calc(80px + 3rem) 0 var(--space-xl); }
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.checkout-section { margin-bottom: 2.5rem; }
.checkout-section h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--ivory); }
.payment-option { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border: 1.5px solid var(--taupe-light); margin-bottom: 0.75rem; cursor: pointer; transition: border-color var(--transition); }
.payment-option:hover { border-color: var(--gold); }
.payment-option input[type="radio"] { accent-color: var(--gold); width: 18px; height: 18px; }
.payment-option label { cursor: pointer; }
.payment-option-name { font-weight: 600; font-size: 0.9rem; }
.payment-option-desc { font-size: 0.8rem; color: var(--taupe); margin-top: 0.2rem; }
.order-summary-sidebar { background: var(--ivory); padding: 2rem; position: sticky; top: 100px; }
.order-summary-sidebar h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 1.5rem; }
.order-item { display: flex; gap: 1rem; margin-bottom: 1rem; align-items: center; }
.order-item-img { width: 56px; height: 56px; overflow: hidden; flex-shrink: 0; }
.order-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-name { font-size: 0.9rem; font-weight: 500; }
.order-item-qty { font-size: 0.8rem; color: var(--taupe); }
.order-item-price { margin-left: auto; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.order-divider { border: none; border-top: 1px solid var(--taupe-light); margin: 1.25rem 0; }

/* ============================================
   ORDER SUCCESS PAGE
   ============================================ */
.success-page { padding: calc(80px + 5rem) 0 var(--space-xl); text-align: center; }
.success-icon { width: 80px; height: 80px; background: #d4edda; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem; }
.success-icon svg { color: var(--success); }
.success-page h1 { font-family: var(--font-display); font-size: 3rem; font-weight: 300; margin-bottom: 1rem; }
.success-page p { color: var(--taupe); margin-bottom: 2.5rem; font-size: 1.05rem; }
.order-details-card { background: var(--ivory); padding: 2.5rem; max-width: 600px; margin: 0 auto 2.5rem; text-align: left; }
.order-details-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin-bottom: 1.25rem; }

/* ============================================
   AUTH PAGES (LOGIN / REGISTER)
   ============================================ */
.auth-page { padding: calc(80px + 4rem) 0 var(--space-xl); display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.auth-card { width: 100%; max-width: 480px; background: var(--cream); }
.auth-header { text-align: center; margin-bottom: 2.5rem; }
.auth-header .logo { display: inline-block; margin-bottom: 1.5rem; font-size: 2rem; }
.auth-header h1 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 300; margin-bottom: 0.5rem; }
.auth-header p { color: var(--taupe); }
.auth-tabs { display: flex; border-bottom: 2px solid var(--ivory); margin-bottom: 2rem; }
.auth-tab { flex: 1; padding: 1rem; text-align: center; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); color: var(--taupe); }
.auth-tab.active { color: var(--charcoal); border-bottom-color: var(--gold); }
.auth-form { display: none; }
.auth-form.active { display: block; }

/* ============================================
   ACCOUNT PAGE
   ============================================ */
.account-page { padding: calc(80px + 3rem) 0 var(--space-xl); }
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; }
.account-sidebar { position: sticky; top: 100px; align-self: start; }
.account-sidebar h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; margin-bottom: 1.5rem; }
.account-nav { list-style: none; }
.account-nav li { border-bottom: 1px solid var(--ivory); }
.account-nav a { display: block; padding: 0.875rem 0; font-size: 0.9rem; color: var(--taupe); transition: color var(--transition); }
.account-nav a:hover, .account-nav a.active { color: var(--charcoal); font-weight: 600; }
.account-content h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; margin-bottom: 2rem; }
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe); padding: 0.75rem 1rem; text-align: left; border-bottom: 2px solid var(--ivory); }
.orders-table td { padding: 1rem; border-bottom: 1px solid var(--ivory); font-size: 0.9rem; vertical-align: middle; }
.status-badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 100px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.status-pending    { background: #fff3cd; color: #856404; }
.status-processing { background: #d1ecf1; color: #0c5460; }
.status-shipped    { background: #d4edda; color: #155724; }
.status-delivered  { background: #d4edda; color: #155724; }
.status-cancelled  { background: #f8d7da; color: #721c24; }

/* ============================================
   STORY SECTION
   ============================================ */
.story-section { padding: var(--space-xl) 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.story-title { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; margin-bottom: 1.25rem; }
.story-text { color: var(--charcoal-soft); margin-bottom: 1rem; }
.story-signature { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--ivory); }
.signature-name { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; }
.signature-title { font-size: 0.8rem; color: var(--taupe); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.25rem; }
.story-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.story-image { overflow: hidden; }
.story-image:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.story-image:last-child { aspect-ratio: 4/3; }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.story-image:hover img { transform: scale(1.04); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--charcoal); color: rgba(255,251,245,0.75); padding: var(--space-lg) 0 var(--space-md); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--cream); margin-bottom: 1rem; }
.footer-logo span { color: var(--gold-light); }
.footer-tagline { font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.7; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: rgba(255,251,245,0.5); transition: color var(--transition); }
.footer-social a:hover { color: var(--gold-light); }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-contact p { font-size: 0.88rem; margin-bottom: 0.5rem; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid rgba(255,251,245,0.1); font-size: 0.82rem; color: rgba(255,251,245,0.4); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a:hover { color: var(--cream); }

/* ============================================
   PAGINATION
   ============================================ */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 3rem; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 0.9rem; border: 1px solid var(--taupe-light); transition: all var(--transition); }
.pagination a:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.pagination .current { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); font-weight: 700; }

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
#toast { position: fixed; bottom: 2rem; right: 2rem; z-index: 9999; background: var(--charcoal); color: var(--cream); padding: 1rem 1.5rem; font-size: 0.88rem; display: none; align-items: center; gap: 1rem; max-width: 320px; box-shadow: var(--shadow); }
#toast.show { display: flex; }
#toast .toast-check { color: var(--success); font-size: 1.1rem; }

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

@media (max-width: 1024px) {
    .nav-main { display: none; }
    .menu-toggle { display: flex; }
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-image { min-height: 60vw; }
    .hero-content { padding: 5rem var(--space-md) 3rem; max-width: 100%; margin: 0; }
    .featured-grid, .craft-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .collections-grid { grid-template-columns: 1fr 1fr; }
    .collection-item:first-child { grid-row: span 1; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
    .cart-summary, .order-summary-sidebar { position: static; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: 1fr; }
    .account-sidebar { position: static; }
}

@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .collections-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-title { font-size: 2.5rem; }
    .cart-item { grid-template-columns: 80px 1fr; }
}

@media (max-width: 480px) {
    :root { --space-md: 1rem; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .shop-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .form-row { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
