/* ==========================================================
   Panchmukhi Hanuman Coin - stylesheet (mobile first)
   ========================================================== */

:root {
    --maroon: #7a0f12;
    --maroon-dark: #4f0709;
    --gold: #d4a22a;
    --gold-light: #f6dd86;
    --gold-dark: #a77a12;
    --cream: #fff8ec;
    --cream-2: #fdf0d6;
    --text: #2b1d14;
    --muted: #6b5a4e;
    --white: #ffffff;
    --border: #ead9b0;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(79, 7, 9, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--maroon-dark); margin: 0 0 .5em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 18px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.req { color: #c0392b; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    font-family: inherit;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--maroon-dark);
    box-shadow: 0 6px 16px rgba(212, 162, 42, .35);
}
.btn-outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-small { padding: 7px 14px; font-size: .88rem; }
.btn-large { padding: 15px 30px; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.center-row { justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
    background: #fff;
    border-bottom: 3px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; position: relative; }
.brand img { height: 58px; width: auto; }
.nav-toggle {
    background: none;
    border: 0;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span { display: block; height: 3px; background: var(--maroon); border-radius: 3px; }
.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 18px 18px;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
}
.main-nav.open { display: flex; }
.main-nav a {
    padding: 12px 6px;
    color: var(--text);
    font-weight: 600;
    border-bottom: 1px solid #f3e7c8;
}
.main-nav a.active { color: var(--maroon); }
.main-nav .btn { margin-top: 12px; border: 0; color: var(--maroon-dark); }
.main-nav .btn:hover { color: var(--maroon-dark); }
.main-nav .btn-small { border-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(circle at 80% 20%, #fff2c7 0%, transparent 45%),
        linear-gradient(180deg, var(--cream), var(--cream-2));
    padding: 36px 0 48px;
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow {
    display: inline-block;
    background: var(--maroon);
    color: var(--gold-light);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.hero h1 { font-size: 2.2rem; color: var(--maroon); }
.hero-text p { font-size: 1.05rem; color: var(--muted); }
.price-tag {
    display: inline-block;
    background: #fff;
    border: 2px dashed var(--gold);
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 1.1rem;
    margin-top: 8px;
}
.price-tag strong { color: var(--maroon); font-size: 1.35rem; }
.hero-image img {
    border-radius: 22px;
    box-shadow: var(--shadow);
    border: 4px solid #fff;
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--cream-2); }
.section-title { text-align: center; font-size: 1.8rem; color: var(--maroon); margin-bottom: 8px; }
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 30px; }

.feature-grid { display: grid; gap: 20px; }
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 26px 22px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--gold);
}
.feature-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.split { display: grid; gap: 28px; align-items: center; }
.split-image img {
    border-radius: 18px;
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
}
.product-name { color: var(--maroon); font-size: 1.4rem; }
.price-big { font-size: 1.6rem; font-weight: 800; color: var(--maroon); margin: 6px 0 14px; }
.price-big small { font-size: .9rem; color: var(--muted); font-weight: 400; }

.check-list { list-style: none; padding: 0; margin: 0 0 14px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-dark);
    font-weight: 700;
}

.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.gallery-grid img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.cta-band {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #fff;
    padding: 46px 0;
}
.cta-band h2 { color: var(--gold-light); }
.cta-band p { color: #f5e7c4; margin: 0; }
.cta-inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #fff;
    padding: 40px 0;
    text-align: center;
}
.page-banner h1 { color: var(--gold-light); margin-bottom: 6px; }
.page-banner p { margin: 0; color: #f5e7c4; }
.page-title { margin-bottom: 20px; }

/* ---------- Cards ---------- */
.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.two-col-cards { display: grid; gap: 20px; }
.contact-strip {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

/* ---------- Product page ---------- */
.product-grid { display: grid; gap: 30px; }
.main-image {
    background: #fff;
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.main-image img { width: 100%; border-radius: 12px; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb {
    width: 84px;
    height: 84px;
    padding: 0;
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-light); }
.buy-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin-top: 18px;
}
.buy-price { display: flex; justify-content: space-between; align-items: center; }
.buy-price span { color: var(--muted); }
.buy-price strong { font-size: 1.8rem; color: var(--maroon); }

/* ---------- Forms ---------- */
.form-row { display: grid; gap: 0; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--maroon-dark); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fffdf7;
    color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,162,42,.25);
}
.form-group textarea { resize: vertical; }

/* Honeypot: hidden from people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Checkout */
.checkout-grid { display: grid; gap: 24px; }
.summary .line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}
.summary .total {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--maroon);
    border-bottom: 0;
    margin-bottom: 14px;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin: 18px 0;
    font-weight: 600;
}
.alert-success { background: #e8f7ec; color: #1d6b34; border: 1px solid #b9e3c6; }
.alert-error { background: #fdecea; color: #9b1c1c; border: 1px solid #f5c2bd; }

/* Thank you */
.thank-box { text-align: center; max-width: 620px; margin: 30px auto; padding: 40px 26px; }
.thank-icon { font-size: 3.2rem; margin-bottom: 10px; }
.order-ref {
    display: inline-block;
    background: var(--cream-2);
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px dashed var(--gold);
}

/* Contact */
.contact-grid { display: grid; gap: 24px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-list li { margin-bottom: 14px; display: flex; gap: 10px; align-items: flex-start; }
.contact-list.big .ci { font-size: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--maroon-dark);
    color: #f5e7c4;
    padding: 46px 0 0;
    margin-top: 40px;
}
.site-footer h4 { color: var(--gold-light); margin-bottom: 12px; }
.site-footer a { color: #f5e7c4; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-grid { display: grid; gap: 28px; }
.footer-logo { height: 70px; width: auto; margin-bottom: 12px; background: #fff; border-radius: 10px; padding: 4px; }
.footer-bottom {
    text-align: center;
    padding: 16px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,.15);
    font-size: .9rem;
}

/* Mobile sticky buy bar */
.mobile-buy-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: #fff;
    border-top: 2px solid var(--gold);
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -6px 18px rgba(0,0,0,.12);
}
.mobile-buy-price small { display: block; color: var(--muted); }
.mobile-buy-price strong { color: var(--maroon); font-size: 1.3rem; }
.mobile-buy-bar .btn { padding: 11px 26px; }

/* ---------- Admin ---------- */
.admin-body { background: #f6f1e7; }
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-card { width: 100%; max-width: 400px; text-align: center; }
.login-card form { text-align: left; }
.login-logo { height: 80px; width: auto; margin: 0 auto 10px; }
.admin-top { background: var(--maroon-dark); color: #fff; border-bottom: 3px solid var(--gold); }
.admin-top-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.admin-top a { color: #fff; margin-left: 14px; }
.admin-main { max-width: 1280px; margin: 0 auto; padding: 20px 14px 50px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.stat {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border-left: 5px solid var(--gold);
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
}
.stat span { display: block; color: var(--muted); font-size: .85rem; }
.stat strong { font-size: 1.4rem; color: var(--maroon); }
.tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tab {
    padding: 9px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
}
.tab.active { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.tab-right { margin-left: auto; }
.table-card { padding: 0; overflow: hidden; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0e6cf;
    text-align: left;
    vertical-align: top;
}
.admin-table th { background: var(--cream-2); color: var(--maroon-dark); white-space: nowrap; }
.admin-table td.addr { min-width: 220px; }
.admin-table td.msg { min-width: 260px; }
.admin-table tr.unread { background: #fffbea; }
.status-form { display: flex; gap: 6px; flex-wrap: wrap; }
.status-form select { padding: 6px; border-radius: 8px; border: 1px solid var(--border); }
.badge {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: .7rem;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 6px;
    vertical-align: middle;
}
.admin-body .card { margin: 0; }
.admin-body .alert { margin: 0 0 16px; }

/* ---------- Tablet & up ---------- */
@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero h1 { font-size: 3rem; }
    .section { padding: 70px 0; }

    .nav-toggle { display: none; }
    .main-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 22px;
        background: none;
        padding: 0;
        border: 0;
        box-shadow: none;
    }
    .main-nav a { border: 0; padding: 6px 0; }
    .main-nav a.active { border-bottom: 2px solid var(--gold); }
    .main-nav .btn { margin: 0; padding: 9px 20px; color: var(--maroon-dark); }
    .site-header .nav-wrap { position: relative; }

    .hero-grid { grid-template-columns: 1.1fr 1fr; }
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
    .split { grid-template-columns: 1fr 1fr; }
    .split.reverse .split-image { order: -1; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid img { height: 280px; }
    .two-col-cards { grid-template-columns: 1fr 1fr; }
    .contact-strip { flex-direction: row; justify-content: space-between; align-items: center; }
    .product-grid { grid-template-columns: 1fr 1fr; align-items: start; }
    .cta-inner { flex-direction: row; justify-content: space-between; align-items: center; }
    .checkout-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
    .contact-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
    .form-row { grid-template-columns: 1fr 1fr; gap: 14px; }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Mobile only ---------- */
@media (max-width: 767px) {
    .mobile-buy-bar { display: flex; }
    body { padding-bottom: 72px; }
    body.checkout-page { padding-bottom: 0; }
    body.checkout-page .mobile-buy-bar { display: none; }
    .brand img { height: 50px; }
    .hero { padding: 24px 0 36px; }
    .hero-image { order: -1; }
    .hero-text { text-align: center; }
    .hero .btn-row { justify-content: center; }
    .split-text { text-align: left; }
    .section-title { font-size: 1.5rem; }
    .btn-large { width: 100%; }
    .cta-inner .btn { width: 100%; }
    .card { padding: 18px; }
    .admin-top-inner a { margin-left: 0; margin-right: 12px; }
    .stat strong { font-size: 1.15rem; }
}

/* ==========================================================
   v2 additions: hero slider, why choose us, gallery, reviews, FAQ
   ========================================================== */

/* Hero slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--maroon-dark);
    min-height: 420px;
}
.hero-slider .slides { position: relative; height: 100%; min-height: 420px; }
.hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
}
.hero-slider .slide.active { opacity: 1; position: relative; }
.hero-slider .slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.slider-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(79,7,9,.82) 0%, rgba(79,7,9,.55) 45%, rgba(79,7,9,.05) 100%);
}
.slider-text { color: #fff; max-width: 540px; }
.slider-text h1 { color: #fff; font-size: 2rem; }
.slider-text p { color: #f5e7c4; font-size: 1rem; }
.slider-text .price-tag { background: rgba(255,255,255,.95); }
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.85);
    color: var(--maroon);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}
.slider-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    padding: 0;
    cursor: pointer;
}
.slider-dots .dot.active { background: var(--gold); border-color: var(--gold); }

@media (max-width: 767px) {
    .hero-slider, .hero-slider .slides { min-height: 360px; }
    .hero-slider .slide img { height: 360px; }
    .slider-overlay { background: linear-gradient(180deg, rgba(79,7,9,.35) 0%, rgba(79,7,9,.88) 75%); align-items: flex-end; padding-bottom: 46px; }
    .slider-text { text-align: center; margin: 0 auto; }
    .slider-text h1 { font-size: 1.6rem; }
    .slider-text .btn-row { justify-content: center; }
    .slider-btn { display: none; }
}
@media (min-width: 768px) {
    .slider-text h1 { font-size: 2.8rem; }
}

/* Why choose us */
.why-grid { display: grid; gap: 18px; }
.why-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border);
}
.why-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--maroon);
    color: var(--gold-light);
    font-weight: 800;
    margin-bottom: 10px;
}
@media (min-width: 768px) {
    .why-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Gallery */
.gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery-item { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: transform .3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-grid .gallery-item:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .gallery-grid .gallery-item:first-child { grid-column: auto; }
}

/* Reviews */
.review-grid { display: grid; gap: 18px; }
.review-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--gold);
}
.stars { color: var(--gold-dark); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 8px; }
.review-empty { text-align: center; padding: 32px 22px; }
.review-empty p { color: var(--muted); }
@media (min-width: 768px) {
    .review-grid { grid-template-columns: repeat(3, 1fr); }
}

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}
.faq-item summary {
    cursor: pointer;
    padding: 16px 48px 16px 18px;
    font-weight: 700;
    color: var(--maroon-dark);
    list-style: none;
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--gold-dark);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* v3: full-size banners (no cropping). Price strip sits below the banner. */
.hero-slider { background: var(--maroon-dark); min-height: 0; position: relative; }
.hero-slider .slides { display: grid; }
.hero-slider .slide { grid-area: 1 / 1; opacity: 0; transition: opacity .8s ease; position: static; inset: auto; }
.hero-slider .slide.active { opacity: 1; }
.hero-slider .slide img { width: 100%; height: auto; display: block; object-fit: initial; }
.slide-bar {
    background: linear-gradient(90deg, #4f0709, #7a0f12);
    color: #fff;
    padding: 12px 0;
    border-top: 3px solid var(--gold);
}
.slide-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.slide-bar-text strong { display: block; color: var(--gold-light); font-size: 1.1rem; line-height: 1.3; }
.slide-bar-text span { font-size: .98rem; color: #f5e7c4; }
.slide-bar-text b { color: #fff; font-size: 1.25rem; margin-left: 4px; }
.slide-bar .btn { padding: 10px 24px; }
.slider-dots { display: flex; gap: 8px; align-items: center; }
.slider-dots .dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.slider-dots .dot.active { background: var(--gold); border-color: var(--gold); }
.slider-btn { top: 42%; }
@media (max-width: 767px) {
    .slide-bar-inner { justify-content: center; text-align: center; }
    .slide-bar-text { width: 100%; }
    .slider-btn { display: none; }
}

/* v3: gallery shows each photo uncropped */
.gallery-grid { align-items: start; }
.gallery-grid img { aspect-ratio: auto; height: auto; object-fit: contain; background: #fff; }

/* v4: heading written on each banner */
.hero-slider .slide { position: relative; }
.slide-heading {
    position: absolute;
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(79,7,9,.88);
    color: var(--gold-light);
    padding: 8px 22px;
    border: 2px solid var(--gold);
    border-radius: 999px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: clamp(1rem, 2.6vw, 2rem);
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.hero-slider .slide.active .slide-heading { opacity: 1; }
@media (max-width: 767px) {
    .slide-heading { font-size: .95rem; padding: 5px 14px; top: 3%; }
}

/* ==========================================================
   v3 admin: query-only panel (dashboard, queries, detail)
   ========================================================== */
.admin-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.admin-top .admin-nav a { margin-left: 0; padding: 6px 12px; border-radius: 8px; font-weight: 600; }
.admin-top .admin-nav a.active { background: rgba(255,255,255,.14); color: var(--gold-light); }
.admin-top .admin-nav a.btn { padding: 6px 14px; margin-left: 6px; }
.nav-count {
    display: inline-block; min-width: 20px; padding: 1px 6px; margin-left: 4px;
    border-radius: 999px; background: var(--gold); color: var(--maroon-dark);
    font-size: .75rem; text-align: center;
}
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-head h1 { font-size: 1.6rem; margin: 0; color: var(--maroon-dark); }
.admin-head h1 small { font-size: 1rem; font-weight: 400; }
.admin-body h2 { font-size: 1.15rem; color: var(--maroon-dark); margin: 0 0 12px; }

a.stat { display: block; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.stat:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.08); }
.stat-hot { border-left-color: #c0392b; }
.stats-6 { grid-template-columns: repeat(2, 1fr); }

.dash-grid { display: grid; gap: 16px; margin-bottom: 20px; }
.dash-card { padding: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 4px; }
.card-head h2 { margin: 0; }
.pad { padding: 18px; margin: 0; }
.nowrap { white-space: nowrap; }

/* 7-day chart: one series, bars anchored to the baseline */
.day-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 220px; }
.day-col { display: flex; flex-direction: column; align-items: center; height: 100%; color: var(--text); text-decoration: none; border-radius: 8px; padding: 4px 0; }
.day-col:hover { background: var(--cream-2); }
.day-val { font-size: .85rem; font-weight: 700; color: var(--text); }
.day-bar-wrap { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--border); }
.day-bar { width: 60%; max-width: 34px; background: var(--maroon); border-radius: 4px 4px 0 0; }
.day-label { font-size: .78rem; color: var(--muted); text-align: center; line-height: 1.2; margin-top: 6px; }

.status-list { list-style: none; padding: 0; margin: 0 0 10px; }
.status-list li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px; border-bottom: 1px solid #f0e6cf; color: inherit; }
.status-list li a:hover { background: var(--cream); }
.status-list strong { font-size: 1.2rem; color: var(--maroon); }

.st-badge, .src-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.st-new { background: #fdecea; color: #a93226; }
.st-contacted { background: #fff4d6; color: #8a5a00; }
.st-closed { background: #e8f7ec; color: #1d6b34; }
.src-buy { background: var(--maroon); color: #fff; }
.src-contact { background: #eef1f6; color: #33415c; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; padding: 16px; margin-bottom: 16px !important; }
.filter-bar .form-group { margin: 0; min-width: 140px; }
.filter-bar .form-group.grow { flex: 1 1 220px; }
.filter-bar input, .filter-bar select { padding: 8px 10px; }
.check-inline { display: flex; align-items: center; gap: 6px; font-size: .9rem; padding-bottom: 8px; }
.filter-actions { display: flex; gap: 6px; }

.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pager a { padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--border); color: var(--text); }
.pager a.active { background: var(--maroon); border-color: var(--maroon); color: #fff; }

.detail-grid { display: grid; gap: 16px; }
.detail-grid aside { display: grid; gap: 16px; align-content: start; }
.detail-tags { display: flex; gap: 8px; margin-bottom: 14px; }
.detail-list { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; margin: 0 0 20px; }
.detail-list dt { color: var(--muted); font-size: .9rem; }
.detail-list dd { margin: 0; word-break: break-word; }
.msg-text { white-space: normal; background: var(--cream); padding: 10px 12px; border-radius: 8px; }
.detail-grid .btn-row { margin-bottom: 22px; }
.inline-form { display: inline-block; margin: 0 6px 0 0; }
.btn-danger { background: #c0392b; color: #fff; border-color: #c0392b; }
.btn-danger:hover { background: #962d22; color: #fff; }

@media (min-width: 768px) {
    .stats-6 { grid-template-columns: repeat(3, 1fr); }
    .dash-grid { grid-template-columns: 2fr 1fr; }
    .detail-grid { grid-template-columns: 1.6fr 1fr; align-items: start; }
}
@media (min-width: 1100px) {
    .stats-6 { grid-template-columns: repeat(6, 1fr); }
}
.admin-body .card.table-card { padding: 0; }
