/* ==========================================================================
   Egoire – Luxury Hair Care Webshop  |  Main Stylesheet
   Colors: Gold #b68e57, Dark #1a1a1a, Off-white #faf9f6, Gray #6b6b6b
   Fonts : Playfair Display (headings), Inter (body)
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #1a1a1a;
    background: #faf9f6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #b68e57; text-decoration: none; transition: color .2s; }
a:hover { color: #9a7545; }
ul, ol { list-style: none; }
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
}
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

/* ---------- Utility ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-gold { color: #b68e57; }
.text-muted { color: #6b6b6b; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: 12px 28px;
    font-size: 14px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
    border-radius: 2px;
    transition: all .3s;
    white-space: nowrap;
}
.btn-primary { background: #b68e57; color: #fff; }
.btn-primary:hover { background: #9a7545; color: #fff; }
.btn-outline { border: 2px solid #b68e57; color: #b68e57; background: transparent; }
.btn-outline:hover { background: #b68e57; color: #fff; }
.btn-dark { background: #1a1a1a; color: #fff; }
.btn-dark:hover { background: #333; color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 12px; }
.btn-lg { padding: 16px 40px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled, .btn.disabled { opacity: .5; pointer-events: none; }
.btn-danger { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #a93226; color: #fff; }

/* ---------- Flash Messages ---------- */
.flash {
    padding: 14px 20px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}
.flash-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.flash-error { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.flash-info { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }

/* ---------- Header ---------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-top {
    background: #1a1a1a;
    color: #ccc;
    font-size: 12px;
    padding: 6px 0;
    text-align: center;
    letter-spacing: .5px;
}
.header-top a { color: #b68e57; }
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: 1240px;
    margin: 0 auto;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.logo span { color: #b68e57; }
.logo:hover { color: #1a1a1a; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: #b68e57;
    transition: width .3s;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a:hover { color: #b68e57; }

/* Header Icons */
.header-icons { display: flex; align-items: center; gap: 18px; }
.header-icon {
    position: relative;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    display: flex; align-items: center; gap: 6px;
}
.header-icon:hover { color: #b68e57; }
.header-icon svg { width: 20px; height: 20px; }
.cart-badge {
    position: absolute;
    top: -8px; right: -10px;
    background: #b68e57;
    color: #fff;
    font-size: 10px; font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    background: none;
    padding: 4px;
    cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; stroke: #1a1a1a; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(182,142,87,.15) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero h1 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.hero h1 span { color: #b68e57; }
.hero p { font-size: 18px; color: #ccc; margin-bottom: 30px; line-height: 1.6; }

.hero-mini {
    background: #1a1a1a;
    color: #fff;
    padding: 48px 0;
    text-align: center;
}
.hero-mini h1 { font-size: 32px; color: #fff; margin-bottom: 8px; }
.hero-mini p { color: #999; font-size: 15px; }

/* ---------- Section ---------- */
.section { padding: 64px 0; }
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 32px;
    margin-bottom: 8px;
}
.section-title p { color: #6b6b6b; font-size: 15px; }
.section-title .divider {
    width: 60px; height: 3px;
    background: #b68e57;
    margin: 12px auto 0;
}
.section-alt { background: #fff; }

/* ---------- Product Card ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.product-card-image {
    position: relative;
    padding-top: 120%;
    background: #f5f5f5;
    overflow: hidden;
}
.product-card-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-badges {
    position: absolute;
    top: 10px; left: 10px;
    display: flex; flex-direction: column; gap: 4px;
}
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 2px;
}
.badge-sale { background: #c0392b; color: #fff; }
.badge-new { background: #b68e57; color: #fff; }
.badge-best { background: #1a1a1a; color: #fff; }
.badge-eco { background: #27ae60; color: #fff; }
.badge-limited { background: #8e44ad; color: #fff; }

.product-card-info { padding: 16px; }
.product-card-brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 4px;
}
.product-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-name a { color: #1a1a1a; }
.product-card-name a:hover { color: #b68e57; }
.product-card-price {
    font-size: 16px;
    font-weight: 700;
    color: #b68e57;
}
.product-card-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
    font-size: 13px;
    margin-right: 6px;
}
.product-card-price .discount-pct {
    font-size: 12px;
    color: #c0392b;
    font-weight: 600;
    margin-left: 6px;
}

/* ---------- Category Card ---------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.category-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
}
.category-card img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.category-card:hover img { transform: scale(1.08); }
.category-card-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.category-card-overlay h3 { color: #fff; font-size: 22px; }
.category-card-overlay p { color: #ccc; font-size: 13px; margin-top: 4px; }

/* ---------- Brand Grid ---------- */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.brand-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 28px 20px;
    text-align: center;
    transition: border-color .3s, box-shadow .3s;
}
.brand-card:hover {
    border-color: #b68e57;
    box-shadow: 0 4px 16px rgba(182,142,87,.1);
}
.brand-card img { max-height: 50px; margin: 0 auto 12px; object-fit: contain; }
.brand-card h4 { font-size: 14px; font-weight: 600; }

/* ---------- Gift Bag Banner ---------- */
.gift-bag-banner {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.gift-bag-banner h2 { color: #b68e57; font-size: 36px; margin-bottom: 12px; }
.gift-bag-banner p { color: #ccc; font-size: 16px; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}
.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    font-size: 14px;
}
.form-control:focus {
    border-color: #b68e57;
    box-shadow: 0 0 0 3px rgba(182,142,87,.12);
}
.form-control::placeholder { color: #aaa; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='%23666' d='M6 8.5L1 3.5h10z'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: #999; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { color: #c0392b; font-size: 12px; margin-top: 4px; }

/* Checkbox / Radio */
.form-check {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 14px;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px; height: 18px;
    accent-color: #b68e57;
    cursor: pointer;
}

/* ---------- Auth Pages ---------- */
.auth-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}
.auth-card {
    background: #fff;
    padding: 48px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    width: 100%;
    max-width: 460px;
}
.auth-card h1 {
    font-size: 28px;
    margin-bottom: 8px;
    text-align: center;
}
.auth-card .subtitle {
    text-align: center;
    color: #6b6b6b;
    font-size: 14px;
    margin-bottom: 28px;
}
.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #6b6b6b;
}

/* ---------- Product Detail ---------- */
.pdp { padding: 48px 0; }
.pdp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pdp-gallery {}
.pdp-main-image {
    width: 100%;
    padding-top: 120%;
    position: relative;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}
.pdp-main-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.pdp-thumbnails { display: flex; gap: 8px; overflow-x: auto; }
.pdp-thumb {
    width: 72px; height: 72px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: border-color .2s;
}
.pdp-thumb.active, .pdp-thumb:hover { border-color: #b68e57; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info {}
.pdp-brand {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 8px;
}
.pdp-brand a { color: #999; }
.pdp-brand a:hover { color: #b68e57; }
.pdp-title { font-size: 32px; margin-bottom: 16px; }
.pdp-flags { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.pdp-price {
    font-size: 28px;
    font-weight: 700;
    color: #b68e57;
    margin-bottom: 20px;
}
.pdp-price .old-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    margin-right: 10px;
}
.pdp-price .discount-pct {
    font-size: 14px;
    background: #c0392b;
    color: #fff;
    padding: 2px 8px;
    border-radius: 2px;
    margin-left: 10px;
}
.pdp-short-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}
.pdp-variants { margin-bottom: 20px; }
.pdp-variants h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.variant-options { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-option {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all .2s;
}
.variant-option:hover { border-color: #b68e57; }
.variant-option.selected { border-color: #b68e57; background: rgba(182,142,87,.06); }
.variant-option.out-of-stock { opacity: .4; pointer-events: none; text-decoration: line-through; }
.variant-option input { display: none; }

.pdp-quantity { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.qty-control {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
.qty-btn {
    width: 40px; height: 40px;
    background: #f5f5f5;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background .2s;
    border: none;
}
.qty-btn:hover { background: #eee; }
.qty-input {
    width: 50px; height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-weight: 600;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { appearance: none; }

.pdp-add-cart { margin-bottom: 24px; }
.pdp-add-cart .btn { min-width: 240px; }
.add-cart-feedback {
    display: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 10px;
}
.add-cart-feedback.show { display: block; }
.add-cart-feedback.success { background: #d4edda; color: #155724; }
.add-cart-feedback.error { background: #f8d7da; color: #721c24; }

.pdp-meta { font-size: 13px; color: #999; }
.pdp-meta span { margin-right: 16px; }

.pdp-description { padding: 48px 0; }
.pdp-description h2 { font-size: 24px; margin-bottom: 20px; }
.pdp-description .content { font-size: 15px; line-height: 1.8; color: #555; }
.pdp-description .content p { margin-bottom: 16px; }
.pdp-description .content ul { padding-left: 20px; margin-bottom: 16px; }
.pdp-description .content li { margin-bottom: 6px; list-style: disc; }

/* ---------- Product Listing (Sidebar) ---------- */
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 48px 0; }
.listing-sidebar {
    background: #fff;
    border-radius: 4px;
    padding: 24px;
    align-self: start;
    position: sticky;
    top: 100px;
}
.filter-group { margin-bottom: 24px; }
.filter-group h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 12px;
    color: #1a1a1a;
}
.filter-group .filter-options { max-height: 240px; overflow-y: auto; }
.filter-group .filter-options::-webkit-scrollbar { width: 4px; }
.filter-group .filter-options::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
.filter-item {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 0;
    font-size: 14px;
    cursor: pointer;
}
.filter-item input { accent-color: #b68e57; }
.filter-item .count { color: #999; font-size: 12px; margin-left: auto; }

.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}
.listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.listing-toolbar .result-count { font-size: 14px; color: #6b6b6b; }
.listing-toolbar select { padding: 8px 32px 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cart ---------- */
.cart-page { padding: 48px 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-items {}
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.cart-item-image { width: 80px; height: 80px; border-radius: 4px; overflow: hidden; background: #f5f5f5; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.cart-item-info h4 a { color: #1a1a1a; }
.cart-item-info h4 a:hover { color: #b68e57; }
.cart-item-info .variant { font-size: 12px; color: #999; }
.cart-item-info .price { font-size: 14px; color: #b68e57; font-weight: 600; margin-top: 4px; }
.cart-item-qty { width: 60px; }
.cart-item-total { font-weight: 700; font-size: 15px; min-width: 80px; text-align: right; }
.cart-item-remove {
    color: #999;
    cursor: pointer;
    padding: 4px;
    transition: color .2s;
}
.cart-item-remove:hover { color: #c0392b; }

.cart-summary {
    background: #fff;
    padding: 28px;
    border-radius: 4px;
    border: 1px solid #eee;
    position: sticky;
    top: 100px;
}
.cart-summary h3 { font-size: 20px; margin-bottom: 20px; }
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
}
.cart-summary-row.discount { color: #27ae60; }
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    font-size: 18px;
    font-weight: 700;
}
.cart-empty {
    text-align: center;
    padding: 80px 20px;
}
.cart-empty svg { margin: 0 auto 24px; opacity: .3; }
.cart-empty h2 { font-size: 24px; margin-bottom: 12px; }
.cart-empty p { color: #6b6b6b; margin-bottom: 24px; }

/* ---------- Checkout ---------- */
.checkout-page { padding: 48px 0; }
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.checkout-form {}
.checkout-section { margin-bottom: 32px; }
.checkout-section h3 { font-size: 20px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #b68e57; }
.checkout-sidebar {
    background: #fff;
    padding: 28px;
    border-radius: 4px;
    border: 1px solid #eee;
    position: sticky;
    top: 100px;
}
.checkout-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}
.checkout-item-img { width: 50px; height: 50px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.checkout-item-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item-info { flex: 1; }
.checkout-item-info .name { font-weight: 600; font-size: 13px; }
.checkout-item-info .variant { font-size: 11px; color: #999; }
.checkout-item-price { font-weight: 600; white-space: nowrap; }

.gift-card-input { display: flex; gap: 8px; }
.gift-card-input input { flex: 1; }
.gift-card-result { margin-top: 8px; font-size: 13px; }
.gift-card-result.valid { color: #27ae60; }
.gift-card-result.invalid { color: #c0392b; }

/* ---------- Order Confirmation ---------- */
.confirmation-page {
    text-align: center;
    padding: 80px 20px;
}
.confirmation-icon {
    width: 80px; height: 80px;
    background: #d4edda;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
}
.confirmation-icon svg { width: 40px; height: 40px; stroke: #28a745; }
.confirmation-page h1 { font-size: 32px; margin-bottom: 12px; }
.confirmation-page .order-number { font-size: 18px; color: #b68e57; font-weight: 600; margin-bottom: 8px; }

/* ---------- Account ---------- */
.account-page { padding: 48px 0; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.account-sidebar {
    background: #fff;
    border-radius: 4px;
    padding: 8px 0;
    align-self: start;
    position: sticky;
    top: 100px;
}
.account-sidebar a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}
.account-sidebar a:hover { background: #faf9f6; color: #b68e57; }
.account-sidebar a.active { color: #b68e57; background: rgba(182,142,87,.06); border-left: 3px solid #b68e57; }
.account-sidebar svg { width: 18px; height: 18px; }
.account-content { min-height: 400px; }
.account-content h1 { font-size: 28px; margin-bottom: 24px; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #eee;
}
.stat-card .value { font-size: 28px; font-weight: 700; color: #b68e57; }
.stat-card .label { font-size: 13px; color: #6b6b6b; margin-top: 4px; }

/* Loyalty Card */
.loyalty-card {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #fff;
    padding: 32px;
    border-radius: 8px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.loyalty-card::after {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(182,142,87,.2), transparent);
    border-radius: 50%;
}
.loyalty-card .tier { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: #b68e57; margin-bottom: 8px; }
.loyalty-card .points { font-size: 36px; font-weight: 700; }
.loyalty-card .value { font-size: 14px; color: #999; margin-top: 4px; }

.tier-progress { margin-bottom: 32px; }
.tier-progress-bar {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}
.tier-progress-fill { height: 100%; background: #b68e57; border-radius: 4px; transition: width .5s; }
.tier-labels { display: flex; justify-content: space-between; font-size: 12px; color: #999; margin-top: 4px; }

/* Orders */
.order-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.order-card-info h4 { font-size: 16px; font-weight: 600; }
.order-card-info .date { font-size: 13px; color: #999; }
.order-card-meta { display: flex; align-items: center; gap: 20px; }
.order-card-total { font-size: 18px; font-weight: 700; color: #b68e57; }

/* Address Card */
.address-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 20px;
    position: relative;
}
.address-card .delete-btn {
    position: absolute;
    top: 10px; right: 10px;
    color: #999;
    cursor: pointer;
}
.address-card .delete-btn:hover { color: #c0392b; }
.address-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 24px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.blog-card-image {
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-content { padding: 20px; }
.blog-card-date { font-size: 12px; color: #999; margin-bottom: 6px; }
.blog-card-content h3 { font-size: 18px; margin-bottom: 8px; }
.blog-card-content h3 a { color: #1a1a1a; }
.blog-card-content h3 a:hover { color: #b68e57; }
.blog-card-content p { font-size: 14px; color: #6b6b6b; line-height: 1.6; margin-bottom: 12px; }
.blog-card .read-more {
    font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .5px;
}

.blog-post-page { padding: 48px 0; }
.blog-post-hero { height: 400px; background: #f5f5f5; border-radius: 4px; overflow: hidden; margin-bottom: 32px; }
.blog-post-hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-post-page h1 { font-size: 36px; margin-bottom: 12px; }
.blog-post-meta { font-size: 13px; color: #999; margin-bottom: 32px; }
.blog-post-content { font-size: 16px; line-height: 1.9; color: #444; }
.blog-post-content p { margin-bottom: 20px; }
.blog-post-content h2, .blog-post-content h3 { margin: 32px 0 16px; }
.blog-post-content img { border-radius: 4px; margin: 20px 0; }
.blog-post-content blockquote {
    border-left: 3px solid #b68e57;
    padding: 16px 20px;
    margin: 20px 0;
    background: #faf9f6;
    font-style: italic;
    color: #555;
}

/* ---------- Contact ---------- */
.contact-page { padding: 48px 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 20px; }
.contact-info-item .icon {
    width: 48px; height: 48px;
    background: rgba(182,142,87,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-info-item .icon svg { width: 20px; height: 20px; stroke: #b68e57; }
.contact-info-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact-info-item p { font-size: 14px; color: #6b6b6b; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
    transition: color .2s;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}
.faq-question:hover { color: #b68e57; }
.faq-question svg {
    width: 20px; height: 20px;
    transition: transform .3s;
    flex-shrink: 0;
    stroke: #999;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 18px;
}

/* ---------- Gift Card Preview ---------- */
.gift-card-preview {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto 32px;
    position: relative;
    overflow: hidden;
}
.gift-card-preview::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(182,142,87,.15), transparent);
    border-radius: 50%;
}
.gift-card-preview .gc-logo { font-family: 'Playfair Display', serif; font-size: 22px; letter-spacing: 3px; margin-bottom: 20px; }
.gift-card-preview .gc-logo span { color: #b68e57; }
.gift-card-preview .gc-amount { font-size: 42px; font-weight: 700; color: #b68e57; margin-bottom: 8px; }
.gift-card-preview .gc-label { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: #999; }

.amount-options { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.amount-option {
    padding: 12px 24px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all .2s;
}
.amount-option:hover { border-color: #b68e57; }
.amount-option.selected { border-color: #b68e57; background: rgba(182,142,87,.06); color: #b68e57; }
.amount-option input { display: none; }

/* ---------- Gift Bag Info ---------- */
.gift-bag-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.gift-bag-step {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 4px;
}
.gift-bag-step .step-number {
    width: 48px; height: 48px;
    background: #b68e57;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 22px; font-weight: 700;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.gift-bag-step h3 { font-size: 18px; margin-bottom: 8px; }
.gift-bag-step p { font-size: 14px; color: #6b6b6b; }

.gift-bag-rule-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 16px;
}
.gift-bag-rule-card h3 { font-size: 18px; margin-bottom: 8px; }
.gift-bag-rule-card .rule-meta { font-size: 13px; color: #999; margin-bottom: 12px; }
.gift-bag-rule-card .discount-info { font-size: 16px; color: #b68e57; font-weight: 600; }

/* ---------- Search ---------- */
.search-page { padding: 48px 0; }
.search-form-large {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}
.search-form-large input {
    width: 100%;
    padding: 16px 20px;
    padding-right: 50px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
}
.search-form-large input:focus { border-color: #b68e57; }
.search-form-large button {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    background: none;
    padding: 4px;
}
.search-form-large button svg { width: 22px; height: 22px; stroke: #999; }
.search-results-count { font-size: 15px; color: #6b6b6b; margin-bottom: 24px; text-align: center; }

/* ---------- 404 ---------- */
.page-404 {
    text-align: center;
    padding: 100px 20px;
}
.page-404 h1 {
    font-size: 120px;
    color: #eee;
    line-height: 1;
    margin-bottom: 12px;
}
.page-404 h2 { font-size: 28px; margin-bottom: 12px; }
.page-404 p { color: #6b6b6b; margin-bottom: 28px; }

/* ---------- Static Page ---------- */
.static-page { padding: 48px 0; }
.static-page .content {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}
.static-page .content h2, .static-page .content h3 { margin: 28px 0 12px; }
.static-page .content p { margin-bottom: 16px; }
.static-page .content ul, .static-page .content ol { padding-left: 20px; margin-bottom: 16px; }
.static-page .content li { margin-bottom: 6px; list-style: disc; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #999;
    padding: 16px 0;
    flex-wrap: wrap;
}
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: #b68e57; }
.breadcrumb .sep { color: #ddd; }

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px 0;
}
.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    transition: all .2s;
}
.pagination a:hover { border-color: #b68e57; color: #b68e57; }
.pagination .active {
    background: #b68e57;
    border-color: #b68e57;
    color: #fff;
}
.pagination .dots { border: none; color: #999; }

/* ---------- Status Badge ---------- */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.status-pending { background: #fff3cd; color: #856404; }
.status-processing { background: #cce5ff; color: #004085; }
.status-shipped { background: #d4edda; color: #155724; }
.status-delivered { background: #d1ecf1; color: #0c5460; }
.status-cancelled { background: #f8d7da; color: #721c24; }

/* ---------- Table (shared) ---------- */
.table-responsive { overflow-x: auto; }
table.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}
table.data-table th {
    background: #faf9f6;
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #999;
    border-bottom: 2px solid #eee;
}
table.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}
table.data-table tr:hover { background: #faf9f6; }

/* ---------- Newsletter (footer) ---------- */
.newsletter-section {
    background: #1a1a1a;
    color: #fff;
    padding: 48px 0;
    text-align: center;
}
.newsletter-section h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.newsletter-section p { color: #999; font-size: 14px; margin-bottom: 20px; }
.newsletter-form {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
    gap: 0;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #333;
    background: #2d2d2d;
    color: #fff;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}
.newsletter-form input::placeholder { color: #666; }
.newsletter-form button {
    padding: 14px 24px;
    background: #b68e57;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 0 4px 4px 0;
    transition: background .2s;
}
.newsletter-form button:hover { background: #9a7545; }
.newsletter-feedback {
    margin-top: 10px;
    font-size: 13px;
    display: none;
}
.newsletter-feedback.show { display: block; }
.newsletter-feedback.success { color: #27ae60; }
.newsletter-feedback.error { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer {
    background: #111;
    color: #999;
    padding: 48px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
}
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 16px;
}
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col a { color: #999; font-size: 14px; display: block; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: #b68e57; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 13px;
}
.footer-bottom a { color: #999; margin-left: 16px; }
.footer-bottom a:hover { color: #b68e57; }

/* ---------- Loading Spinner ---------- */
.spinner {
    display: inline-block;
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Skeleton Loader ---------- */
.skeleton {
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s ease infinite;
    border-radius: 4px;
}
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Search Overlay ---------- */
.search-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.8);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
}
.search-overlay.active { display: flex; }
.search-overlay-inner {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    padding: 24px;
}
.search-overlay-input {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    border: 2px solid #eee;
    border-radius: 4px;
}
.search-overlay-input:focus { border-color: #b68e57; }
.search-overlay-results { margin-top: 16px; max-height: 400px; overflow-y: auto; }
.search-overlay-item {
    display: flex; gap: 12px; align-items: center;
    padding: 10px;
    border-radius: 4px;
    transition: background .2s;
}
.search-overlay-item:hover { background: #faf9f6; }
.search-overlay-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.search-overlay-item .info { flex: 1; }
.search-overlay-item .name { font-weight: 600; font-size: 14px; }
.search-overlay-item .price { font-size: 13px; color: #b68e57; }
.search-overlay-close {
    position: absolute;
    top: 60px; right: 40px;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .pdp-layout { grid-template-columns: 1fr; gap: 32px; }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-sidebar { position: static; }
}

@media (max-width: 768px) {
    body { font-size: 14px; }
    h1 { font-size: 28px !important; }
    .container { padding: 0 16px; }
    .hero { padding: 48px 0; }
    .hero h1 { font-size: 32px !important; }
    .section { padding: 40px 0; }

    /* Nav */
    .main-nav {
        position: fixed;
        top: 0; left: 0;
        width: 280px; height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform .3s;
        z-index: 1500;
        box-shadow: 4px 0 20px rgba(0,0,0,.1);
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { padding: 12px 0; width: 100%; font-size: 15px; }
    .menu-toggle { display: block; }
    .nav-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,.4);
        z-index: 1400;
        display: none;
    }
    .nav-overlay.active { display: block; }

    /* Grids */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .gift-bag-steps { grid-template-columns: 1fr; }
    .listing-layout { grid-template-columns: 1fr; }
    .listing-sidebar { position: static; }
    .account-layout { grid-template-columns: 1fr; }
    .account-sidebar { position: static; }
    .contact-layout { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 60px 1fr auto; }
    .cart-item-total { grid-column: 2 / -1; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .pdp-title { font-size: 24px !important; }
    .pdp-price { font-size: 22px; }

    .stat-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .product-grid-3 { grid-template-columns: 1fr; }
    .amount-options { flex-direction: column; }
    .auth-card { padding: 32px 20px; }
    .stat-cards { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { border-radius: 4px; }
    .newsletter-form button { border-radius: 4px; }
}

/* ---------- Print ---------- */
@media print {
    .site-header, .site-footer, .newsletter-section, .main-nav, .header-icons { display: none !important; }
    body { background: #fff; color: #000; }
    a { color: #000; text-decoration: underline; }
}
