/* =========================================================
   Elite home page — Christmas 2026 redesign (index.php only)
   ========================================================= */
.xh {
    --red: #c8102e;
    --red-deep: #8a0c1f;
    --green: #0e4a2f;
    --green-deep: #072a1a;
    --gold: #e9b949;
    --cream: #fdf7ef;
    --ink: #2a1a14;
    --muted: #6d5a50;
    --radius: 24px;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    overflow: hidden;
}
.xh *, .xh *::before, .xh *::after { box-sizing: border-box; }
.xh h1, .xh h2, .xh h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; margin: 0; }
.xh h1 em, .xh h2 em { font-style: italic; font-weight: 500; color: var(--red); }
.xh p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.xh a { text-decoration: none; }
.xh-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.xh-section { padding: 100px 0; }

/* Reveal on scroll */
.xh-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.xh-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .xh-reveal { opacity: 1; transform: none; transition: none; } }

/* Shared pieces */
.xh-eyebrow {
    display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--red); margin-bottom: 14px;
}
.xh-head { text-align: center; margin-bottom: 52px; }
.xh-head h2 { font-size: clamp(32px, 4.4vw, 54px); color: var(--ink); line-height: 1.1; }
.xh-head-light h2 { color: #fff; }
.xh-head-light h2 em { color: var(--gold); }
.xh-head-light .xh-eyebrow { color: var(--gold); }

.xh-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: 999px;
    background: var(--red); color: #fff !important; font-weight: 600; font-size: 15px;
    box-shadow: 0 10px 24px -8px rgba(200,16,46,.6); transition: transform .25s, box-shadow .25s, background .25s;
}
.xh-btn span { transition: transform .25s; }
.xh-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -10px rgba(200,16,46,.7); background: var(--red-deep); }
.xh-btn:hover span { transform: translateX(4px); }
.xh-btn-ghost { background: transparent; color: var(--ink) !important; border: 1.5px solid currentColor; box-shadow: none; }
.xh-btn-ghost:hover { background: var(--ink); color: #fff !important; box-shadow: none; }
.xh-btn-gold { background: var(--gold); color: var(--green-deep) !important; box-shadow: 0 10px 24px -8px rgba(233,185,73,.7); }
.xh-btn-gold:hover { background: #f5cd6a; }
.xh-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 1. Banner showcase ---------- */
.xh-banner { padding: 18px 18px 0; }
.xh-banner .home-slider { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.xh-banner .home-slider-bg {
    height: auto !important; aspect-ratio: 2539 / 1653; max-height: calc(100vh - 160px);
    background-size: cover; background-position: center; background-color: #eee;
}

/* ---------- 2. Marquee ---------- */
.xh-marquee { background: var(--red); color: #fff; overflow: hidden; margin-top: 28px; transform: rotate(-1deg) scale(1.02); }
.xh-marquee-track { display: inline-flex; align-items: center; gap: 28px; padding: 16px 0; white-space: nowrap; animation: xh-marquee 38s linear infinite; }
.xh-marquee span { font-family: var(--serif); font-size: 26px; font-style: italic; }
.xh-marquee i { font-style: normal; font-size: 20px; color: var(--gold); }
@keyframes xh-marquee { to { transform: translateX(-50%); } }

/* ---------- 3. Hero ---------- */
.xh-hero { padding: 110px 0 100px; position: relative; }
.xh-hero::before {
    content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: 40px; border-radius: 50%;
    background: radial-gradient(circle, rgba(233,185,73,.28), transparent 65%); pointer-events: none;
}
.xh-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; position: relative; }
.xh-pill {
    display: inline-block; padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid #f0dcc8;
    font-size: 14px; font-weight: 500; color: var(--green); box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.xh-hero h1 { font-size: clamp(42px, 6vw, 78px); line-height: 1.02; margin: 22px 0 22px; color: var(--ink); }
.xh-hero p { max-width: 520px; font-size: 19px; margin-bottom: 30px; }

.xh-countdown { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.xh-countdown div {
    width: 84px; padding: 14px 6px; border-radius: 18px; text-align: center; background: var(--green); color: #fff;
    box-shadow: 0 12px 24px -12px rgba(14,74,47,.8);
}
.xh-countdown div:nth-child(2) { background: var(--red); }
.xh-countdown b { display: block; font-family: var(--serif); font-size: 32px; line-height: 1.05; }
.xh-countdown span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.xh-countdown.done { font-family: var(--serif); font-size: 32px; color: var(--red); }

.xh-hero-visual { position: relative; }
.xh-hero-card {
    border-radius: 32px; overflow: hidden; transform: rotate(2.5deg); border: 10px solid #fff;
    box-shadow: 0 40px 80px -30px rgba(90,20,10,.55);
}
.xh-hero-card img { display: block; width: 100%; height: auto; }
.xh-ornaments {
    position: absolute; width: 170px; top: -110px; right: -20px; z-index: 3; transform-origin: top center;
    animation: xh-swing 4s ease-in-out infinite alternate;
}
@keyframes xh-swing { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.xh-float {
    position: absolute; z-index: 3; padding: 12px 18px; border-radius: 16px; font-weight: 600; font-size: 14px;
    background: rgba(255,255,255,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); color: var(--ink); animation: xh-bob 5s ease-in-out infinite;
}
.xh-float-1 { left: -30px; bottom: 60px; }
.xh-float-2 { right: -10px; bottom: -22px; animation-delay: -2.5s; }
@keyframes xh-bob { 50% { transform: translateY(-10px); } }

/* ---------- 4. Bento categories ---------- */
.xh-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 20px; }
.xh-tile {
    position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #fff;
    box-shadow: 0 2px 0 rgba(0,0,0,.02), 0 18px 40px -26px rgba(60,20,10,.45); isolation: isolate;
}
.xh-tile img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px 18px 70px;
    transition: transform .5s ease; background: radial-gradient(circle at 50% 40%, #fff, #f6ece0);
}
.xh-tile:hover img { transform: scale(1.06); }
.xh-tile:not(.xh-big):not(.xh-wide) img { mix-blend-mode: multiply; }
.xh-tile-text { position: absolute; left: 20px; right: 60px; bottom: 18px; }
.xh-tile h3 { font-size: 22px; color: var(--ink); }
.xh-tile p { font-size: 14px; margin: 4px 0 0; line-height: 1.4; }
.xh-tile-arrow {
    position: absolute; right: 18px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: var(--ink); color: #fff; transition: background .25s, transform .25s;
}
.xh-tile:hover .xh-tile-arrow { background: var(--red); transform: rotate(-45deg); }
.xh-big { grid-column: span 2; grid-row: span 2; }
.xh-big img { background: radial-gradient(circle at 50% 40%, #e8394f, var(--red-deep)); padding: 40px 40px 110px; }
.xh-big h3 { font-size: 36px; color: #fff; }
.xh-big p { color: #ffd9de; font-size: 16px; }
.xh-big .xh-tile-arrow { background: var(--gold); color: var(--ink); }
.xh-big::after { content: "\1F384"; position: absolute; top: 18px; right: 22px; font-size: 40px; }
.xh-wide { grid-column: span 2; }
.xh-wide img { background: radial-gradient(circle at 70% 40%, #1d6b45, var(--green)); object-position: right center; padding-right: 30px; }
.xh-wide h3 { color: #fff; }
.xh-wide p { color: #cfe6d8; }
.xh-wide .xh-tile-arrow { background: #fff; color: var(--green); }

/* ---------- 5. Featured products ---------- */
#featured.xh-featured {
    padding: 100px 0 110px; position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.08) 0 2px, transparent 3px) 0 0 / 110px 110px,
        radial-gradient(circle at 60% 70%, rgba(255,255,255,.06) 0 1.5px, transparent 2.5px) 0 0 / 80px 80px,
        linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%) !important;
}
.xh-featured .ver-one-feature-slider { padding: 10px 0 20px; }
.xh-card {
    display: block; background: #fff; border-radius: 22px; padding: 18px 18px 22px; text-align: center; margin: 14px 4px;
    transition: transform .3s, box-shadow .3s; box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); position: relative;
}
.xh-card::before {
    content: ""; position: absolute; top: 0; left: 50%; width: 46px; height: 6px; border-radius: 0 0 6px 6px; transform: translateX(-50%);
    background: var(--gold);
}
.xh-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -24px rgba(0,0,0,.7); }
.xh-card-img { aspect-ratio: 1; display: grid; place-items: center; border-radius: 16px; background: #faf3ea; overflow: hidden; }
.xh-card-img img { max-width: 85%; max-height: 85%; width: auto !important; transition: transform .4s; }
.xh-card:hover .xh-card-img img { transform: scale(1.06); }
.xh-card h5 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin: 16px 0 6px; min-height: 44px; }
.xh-card-link { font-size: 13px; font-weight: 600; color: var(--red); }

/* ---------- 6. Story ---------- */
.xh-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.xh-story-img { position: relative; }
.xh-story-img > img:first-child {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% center; border-radius: 200px 200px var(--radius) var(--radius);
    box-shadow: 0 40px 70px -35px rgba(60,20,10,.7);
}
.xh-story-cap { position: absolute; width: 150px; top: -40px; left: -30px; transform: rotate(-28deg); }
.xh-story-text h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.1; margin-bottom: 22px; }
.xh-chips { list-style: none; padding: 0; margin: 26px 0 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.xh-chips li {
    padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid #ecd9c6; font-size: 14px; font-weight: 600; color: var(--green);
}
.xh-chips li::before { content: "\2713"; color: var(--red); margin-right: 8px; }

/* ---------- 7. Videos ---------- */
.xh-videos { padding: 100px 0; background: var(--ink); }
.xh .xh-video-frame {
    position: relative; overflow: hidden; height: 600px !important; border-radius: var(--radius);
    border: 6px solid var(--gold); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); background: #000;
}
.xh .xh-video-frame .youtuber { width: 100% !important; height: 600px !important; }
.xh .xh-video-frame .carousel-control { width: 70px; background: none; }
.xh .xh-video-frame .carousel-control .fa {
    top: 50%; margin-top: -24px; width: 48px; height: 48px; line-height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.9); color: var(--red); font-size: 18px; left: 11px; text-shadow: none;
}

/* ---------- 8. CTA ---------- */
.xh-cta { padding: 100px 0; }
.xh-cta-box {
    display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 64px 60px; border-radius: 32px;
    color: #fff; position: relative; overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(233,185,73,.35), transparent 40%),
        linear-gradient(120deg, var(--red) 0%, var(--red-deep) 100%);
    max-width: 1192px;
}
.xh-cta-box::after { content: "\2744"; position: absolute; right: 30px; bottom: -40px; font-size: 220px; opacity: .08; line-height: 1; }
.xh-cta-box h2 { font-size: clamp(30px, 3.6vw, 46px); color: #fff; line-height: 1.1; margin-bottom: 10px; }
.xh-cta-box p { color: #ffd9de; margin: 0; }
.xh-cta-box .xh-eyebrow { color: var(--gold); }
.xh-cta-box .xh-btn-ghost { color: #fff !important; }
.xh-cta-box .xh-btn-ghost:hover { background: #fff; color: var(--red) !important; }
.xh-cta-box .xh-actions { flex-shrink: 0; position: relative; z-index: 1; }

/* ---------- Footer (lives in index.php) ---------- */
#footer.footer-main-block { border-top: 8px solid transparent; border-image: repeating-linear-gradient(45deg, #c8102e 0 16px, #fff 16px 32px) 8; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .xh-section, .xh-featured, .xh-videos, .xh-cta { padding: 70px 0; }
    .xh-hero { padding: 80px 0 70px; }
    .xh-hero-grid, .xh-story-grid { grid-template-columns: 1fr; gap: 60px; }
    .xh-hero-text { text-align: center; }
    .xh-hero p { margin-left: auto; margin-right: auto; }
    .xh-countdown, .xh-actions { justify-content: center; }
    .xh-hero-visual { max-width: 560px; margin: 40px auto 0; }
    .xh-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
    .xh-story-img { max-width: 460px; margin: 0 auto; }
    .xh-cta-box { flex-direction: column; text-align: center; padding: 48px 28px; }
    .xh .xh-video-frame, .xh .xh-video-frame .youtuber { height: 420px !important; }
}
@media (max-width: 600px) {
    .xh-wrap { padding: 0 16px; }
    .xh-banner { padding: 10px 10px 0; }
    .xh-banner .home-slider { border-radius: 16px; }
    .xh-marquee span { font-size: 20px; }
    .xh-countdown div { width: 70px; }
    .xh-countdown b { font-size: 26px; }
    .xh-ornaments { width: 110px; top: -70px; right: -6px; }
    .xh-float-1 { left: -6px; bottom: 30px; }
    .xh-float-2 { right: -6px; }
    .xh-bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .xh-big, .xh-wide { grid-column: auto; }
    .xh-big { grid-row: span 2; }
    .xh-story-cap { width: 100px; left: -10px; top: -26px; }
    .xh .xh-video-frame, .xh .xh-video-frame .youtuber { height: 240px !important; }
    .xh-cta-box .xh-actions { flex-direction: column; width: 100%; }
    .xh-cta-box .xh-btn { justify-content: center; }
}
