/* ============================================================
   High Class DC Delivery — Luxury Boutique Theme
   Deep emerald + antique gold + ivory. Elegant serif display.
   ============================================================ */

:root {
    --ivory: #faf7f2;
    --surface: #ffffff;
    --emerald: #0c3b2e;
    --emerald-deep: #072a20;
    --emerald-soft: #14523f;
    --gold: #c5a253;
    --gold-soft: #e8d9b0;
    --gold-line: #e3d3a8;
    --text: #22312c;
    --muted: #7d8b85;
    --border: #eee7d9;
    --radius: 8px;
    --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    --max: 1160px;
    --shadow: 0 1px 2px rgba(34, 49, 44, .04), 0 8px 28px rgba(34, 49, 44, .07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    background: var(--ivory);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--emerald); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: none; }

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

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--emerald); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---------- Top bar + header ---------- */

.top-bar { background: var(--emerald); color: #e9f2ee; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.top-bar-inner { display: flex; justify-content: space-between; height: 34px; align-items: center; gap: 16px; }
.top-bar-right { color: var(--gold-soft); }

.site-header { background: var(--ivory); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 30px; height: 82px; }
.gold-line { height: 1px; background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold) 80%, transparent 100%); }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand:hover { text-decoration: none; }
.brand-mark {
    font-family: var(--serif); font-size: 1.05rem; font-weight: 700; letter-spacing: .08em;
    width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--gold); border-radius: 50%; color: var(--emerald);
    box-shadow: inset 0 0 0 3px var(--ivory), inset 0 0 0 4px var(--gold-line);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--emerald); letter-spacing: .01em; }
.brand-sub { font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.main-nav a:hover { color: var(--emerald); }
.header-actions { display: flex; gap: 10px; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: 2px; font-weight: 600; font-size: .82rem;
    border: 1px solid transparent; cursor: pointer; transition: .18s ease;
    line-height: 1.2; text-decoration: none;
    text-transform: uppercase; letter-spacing: .12em;
}
.btn:hover { text-decoration: none; }
.btn-lg { padding: 15px 30px; font-size: .88rem; }
.btn-block { width: 100%; }

.btn-solid { background: var(--emerald); color: #fff; box-shadow: 0 6px 18px rgba(12, 59, 46, .22); }
.btn-solid:hover { background: var(--emerald-deep); color: var(--gold-soft); }

.btn-ghost { border-color: var(--gold); color: var(--emerald); background: transparent; }
.btn-ghost:hover { background: var(--gold); color: var(--emerald-deep); }

/* ---------- Hero ---------- */

.hero {
    background:
        radial-gradient(ellipse 70% 90% at 50% -30%, rgba(197, 162, 83, .16) 0%, transparent 60%),
        linear-gradient(160deg, var(--emerald) 0%, var(--emerald-deep) 100%);
    color: #f3f7f5; padding: 92px 0 100px; text-align: center;
    position: relative;
}
.hero::after {
    content: ""; position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
    width: 72px; height: 2px; background: var(--gold);
}
.hero-eyebrow {
    display: inline-block; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
    color: var(--gold-soft); margin-bottom: 20px;
    border-bottom: 1px solid rgba(197, 162, 83, .5); padding-bottom: 8px;
}
.hero-title {
    font-family: var(--serif); font-size: 3.3rem; line-height: 1.12; font-weight: 700;
    margin: 0 0 20px; letter-spacing: .01em;
}
.hero-accent { font-style: italic; color: var(--gold-soft); }
.hero-lede { color: #cfe0d8; font-size: 1.12rem; max-width: 560px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn-ghost { border-color: rgba(232, 217, 176, .6); color: var(--gold-soft); }
.hero .btn-ghost:hover { background: var(--gold); color: var(--emerald-deep); }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-alt { background: #f3efe5; }

.eyebrow {
    display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .3em; color: var(--gold); margin-bottom: 10px;
}
.section-head { text-align: center; margin-bottom: 46px; }
.section-title {
    font-family: var(--serif); font-size: 2.4rem; font-weight: 700; letter-spacing: .005em;
    margin: 0 0 10px; color: var(--emerald);
}
.section-sub { color: var(--muted); max-width: 540px; margin: 0 auto; font-size: 1rem; }

/* ---------- Category grid ---------- */

.category-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.category-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px 22px 26px; text-align: center; color: var(--text); display: block;
    transition: transform .18s ease, box-shadow .18s ease; position: relative; overflow: hidden;
}
.category-card::before {
    content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 44px; height: 2px; background: var(--gold); transition: width .2s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.category-card:hover::before { width: 80%; }
.category-card .icon { font-size: 1.9rem; display: block; margin-bottom: 12px; }
.category-card h3 { font-family: var(--serif); font-size: 1.16rem; margin: 0 0 8px; color: var(--emerald); }
.cta-line { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); }

/* ---------- Product list ---------- */

.product-list { display: grid; gap: 14px; }
.product-item {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px 26px; display: flex; align-items: center; gap: 18px; justify-content: space-between;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.product-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.product-item h3 { font-family: var(--serif); font-size: 1.18rem; margin: 0 0 4px; }
.product-item h3 a { color: var(--emerald); }
.product-item h3 a:hover { color: var(--gold); }
.product-item .brand { color: var(--muted); font-size: .88rem; font-style: italic; font-family: var(--serif); }
.product-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.stars { color: var(--gold); letter-spacing: 2px; }
.tag { font-size: .76rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: #f0f6f3; color: var(--emerald); border: 1px solid #dce9e3; }
.tag-alt { background: #faf3e4; color: #8a6d2f; border-color: #efe2c4; }
.tag-price { background: var(--emerald); color: var(--gold-soft); border-color: var(--emerald); }

/* ---------- Feature cards ---------- */

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 34px 28px; text-align: center;
}
.card .icon { font-size: 1.9rem; margin-bottom: 14px; display: block; }
.card h3 { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 8px; color: var(--emerald); }
.card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Category hero + article ---------- */

.cat-hero { padding: 46px 0 10px; text-align: center; }
.cat-title { font-family: var(--serif); font-size: 2.7rem; font-weight: 700; margin: 0 0 8px; color: var(--emerald); letter-spacing: .005em; }
.cat-tagline { color: var(--muted); font-size: 1.02rem; margin: 0; font-style: italic; font-family: var(--serif); }

.breadcrumb { font-size: .8rem; letter-spacing: .06em; color: var(--muted); margin: 24px 0 0; text-transform: uppercase; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }

.article {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 48px 52px; box-shadow: var(--shadow);
}
.article-lede { font-family: var(--serif); font-size: 1.16rem; color: var(--emerald); }
.article-title { font-family: var(--serif); font-size: 2.5rem; line-height: 1.15; margin: 10px 0 6px; color: var(--emerald); }
.article-sub { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.05rem; margin: 0 0 18px; }
.article-heading {
    font-family: var(--serif); font-size: 1.55rem; margin: 40px 0 14px; color: var(--emerald);
    padding-bottom: 10px; border-bottom: 1px solid var(--border); position: relative;
}
.article-heading::after {
    content: ""; position: absolute; left: 0; bottom: -1px; width: 60px; height: 1px; background: var(--gold);
}
.article p { color: #3d4b45; margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 24px; color: #3d4b45; }
.article li { margin-bottom: 9px; }
.article a { color: var(--emerald); border-bottom: 1px solid var(--gold); }
.article a:hover { color: var(--gold); }

/* ---------- Sidebar shelf ---------- */

.shelf {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 26px; box-shadow: var(--shadow);
}
.shelf-title { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 4px; color: var(--emerald); }
.shelf-sub { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); margin: 0 0 16px; font-weight: 700; }
.shelf-list { display: grid; gap: 2px; max-height: 560px; overflow-y: auto; padding-right: 4px; }
.shelf-item { display: block; padding: 12px 10px; border-bottom: 1px solid var(--border); border-radius: 6px; }
.shelf-item:hover { background: #f6f1e7; }
.shelf-name { display: block; font-family: var(--serif); color: var(--emerald); font-size: .98rem; margin-bottom: 3px; }
.shelf-item:hover .shelf-name { color: var(--gold); }
.shelf-meta { display: block; color: var(--muted); font-size: .78rem; }

/* ---------- Videos ---------- */

.video-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.video-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: transform .18s ease, box-shadow .18s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.video-card img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.video-body { padding: 20px 22px 24px; }
.video-kicker { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); }
.video-body h3 { font-family: var(--serif); font-size: 1.16rem; margin: 8px 0 6px; }
.video-body h3 a { color: var(--emerald); }
.video-body h3 a:hover { color: var(--gold); }
.video-title { color: var(--muted); font-size: .86rem; margin: 0; font-style: italic; }

/* ---------- FAQ ---------- */

.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { font-family: var(--serif); font-size: 1.12rem; margin: 0 0 8px; color: var(--emerald); }
.faq-item h3::before { content: "Q. "; color: var(--gold); }
.faq-item p { color: var(--muted); margin: 0; }

/* ---------- Forms ---------- */

.form-card {
    max-width: 460px; margin: 0 auto; background: var(--surface);
    border: 1px solid var(--border); border-top: 2px solid var(--gold);
    border-radius: var(--radius); padding: 42px 40px; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .74rem; color: var(--emerald); text-transform: uppercase; letter-spacing: .14em; }
.form-group input {
    width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 4px;
    font-size: .95rem; background: var(--ivory); color: var(--text); font-family: inherit;
}
.form-group input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 162, 83, .18); }
.form-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 18px; }
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 18px; font-size: .9rem; }
.alert-error { background: #fbf1f0; color: #a83232; border: 1px solid #edd0ce; }
.alert-success { background: #f0f6f3; color: var(--emerald); border: 1px solid #d5e5dd; }

/* ---------- Footer ---------- */

.site-footer { background: var(--emerald-deep); color: #d6e3dc; margin-top: 80px; padding: 64px 0 26px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer-brand { margin-bottom: 14px; }
.footer-brand .brand-name { color: #f3f7f5; }
.footer-brand .brand-sub { color: var(--gold); }
.footer-tagline { color: #a9c1b6; font-size: .92rem; max-width: 300px; }
.footer-title {
    font-family: var(--serif); color: var(--gold-soft); font-size: 1.02rem; margin: 0 0 14px;
    padding-bottom: 8px; border-bottom: 1px solid rgba(197, 162, 83, .35); display: inline-block;
}
.footer-col a { display: block; color: #c4d4cc; padding: 4px 0; font-size: .9rem; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    border-top: 1px solid rgba(197, 162, 83, .25); margin-top: 44px; padding-top: 22px;
    color: #a9c1b6; font-size: .84rem;
}
.footer-bottom a { color: #a9c1b6; }
.footer-bottom a:hover { color: var(--gold-soft); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .container[style*="grid-template-columns: 2fr"] { grid-template-columns: 1fr !important; }
    .top-bar-right { display: none; }
}

@media (max-width: 768px) {
    .grid-3 { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.3rem; }
    .cat-title { font-size: 2rem; }
    .article-title { font-size: 1.9rem; }
    .main-nav { display: none; }
    .header-inner { gap: 14px; }
    .product-item { flex-direction: column; align-items: flex-start; }
    .article { padding: 30px 22px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}