/* ============================================================
   Hot Holiday Gift Guide — Frontend Styles
   ============================================================ */
:root {
    --bg: #0f0f0f;
    --bg-elev: #1a1a1a;
    --bg-card: #171717;
    --border: #2a2a2a;
    --text: #f3f3f3;
    --text-dim: #a8a8a8;
    --accent: #e63946;      /* festive red */
    --accent-2: #fca311;    /* warm gold */
    --accent-green: #2a9d8f;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0,0,0,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

a { color: inherit; text-decoration: none; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(15,15,15,.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.brand-icon { font-size: 1.5rem; }
.brand-text { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
    padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem;
    color: var(--text-dim); transition: all .2s ease;
}
.main-nav a:hover { color: var(--text); background: var(--bg-elev); }
.main-nav a.active { color: #fff; background: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--text); border-radius: 3px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
    background-size: cover; background-position: center;
    min-height: 420px; display: flex; align-items: center;
    text-align: center; border-bottom: 1px solid var(--border);
}
.hero--plain {
    background: radial-gradient(circle at 30% 20%, rgba(230,57,70,.25), transparent 55%),
                radial-gradient(circle at 80% 60%, rgba(252,163,17,.2), transparent 55%),
                var(--bg);
}
.hero-content { padding: 80px 20px; width: 100%; }
.hero-title {
    font-size: clamp(2rem, 6vw, 4rem); font-weight: 800; line-height: 1.1;
    text-shadow: 0 4px 24px rgba(0,0,0,.6);
    background: linear-gradient(90deg, #fff, #ffd9a0);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { margin-top: 16px; font-size: clamp(1rem, 2.5vw, 1.25rem); color: var(--text-dim); }

/* ---------- Per-holiday theme wrapper ---------- */
/* Each holiday sets --accent, --accent-2 and --bg inline on this wrapper,
   so the hero, buttons, hovers and background all recolor per holiday. */
.holiday-theme { background: var(--bg); }

/* ---------- Products ---------- */
.products-section { padding: 60px 0 40px; }
.section-heading { font-size: 1.8rem; font-weight: 700; margin-bottom: 24px; text-align: center; }
.product-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.product-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.product-media { display: block; aspect-ratio: 1/1; overflow: hidden; background: #000; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-name { font-size: 1.05rem; font-weight: 600; }
.product-desc { font-size: .88rem; color: var(--text-dim); flex: 1; }
.btn-shop {
    margin-top: auto; text-align: center; padding: 11px 16px; border-radius: 999px;
    font-weight: 600; font-size: .95rem; color: #fff;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: filter .2s ease, transform .2s ease;
}
.btn-shop:hover { filter: brightness(1.1); transform: translateY(-2px); }

.empty-state { text-align: center; color: var(--text-dim); padding: 60px 0; font-size: 1.1rem; }

/* ---------- More guides ---------- */
.more-guides { padding: 20px 0 60px; }
.guide-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.guide-chip {
    padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--bg-elev); font-weight: 500; transition: all .2s ease;
}
.guide-chip:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; text-align: center; }
.disclosure { color: var(--text-dim); font-size: .9rem; margin-bottom: 8px; }
.footer-text { color: var(--text-dim); font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; gap: 0; background: var(--bg-elev);
        border-bottom: 1px solid var(--border); padding: 8px 20px;
        max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: var(--shadow);
    }
    .main-nav.open { max-height: 480px; padding: 12px 20px; }
    .main-nav a { padding: 12px 8px; border-radius: 8px; }
}
@media (max-width: 520px) {
    .product-grid { grid-template-columns: 1fr; }
    .hero { min-height: 320px; }
}
