/* ==========================================================================
   Nandy Hub — site.css
   Change brand colours in ONE place: the :root block below.
   ========================================================================== */
:root {
  --nh-bg:        #fafaf7;
  --nh-surface:   #ffffff;
  --nh-text:      #1f2933;
  --nh-muted:     #5b6670;
  --nh-border:    #e6e3dc;
  --nh-accent:    #a8552f;   /* primary buttons / highlights */
  --nh-accent-dk: #8f4626;
  --nh-accent-lt: #f4e9e2;
  --nh-wa:        #25d366;   /* WhatsApp: FAB */
  --nh-wa-btn:    #15803d;   /* WhatsApp: buttons (text-contrast safe) */
  --nh-wa-btn-dk: #166534;
  --nh-radius:    12px;
  --nh-thumb-ratio: 1 / 1;   /* product image box: change to 4 / 3 for landscape cards */
  --nh-shadow:    0 1px 3px rgba(0,0,0,.08);
  --nh-shadow-lg: 0 6px 18px rgba(0,0,0,.10);

  --bs-body-bg: var(--nh-bg);
  --bs-body-color: var(--nh-text);
  --bs-body-font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-link-color: var(--nh-accent);
  --bs-link-hover-color: var(--nh-accent-dk);
}

body { background: var(--nh-bg); color: var(--nh-text); font-size: 1rem; line-height: 1.6; }
h1, h2, h3 { line-height: 1.25; font-weight: 700; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.4rem; }
@media (min-width: 576px) { h1 { font-size: 2.25rem; } h2 { font-size: 1.6rem; } }
@media (min-width: 992px) { h1 { font-size: 2.75rem; } h2 { font-size: 1.85rem; } }

.text-muted-nh { color: var(--nh-muted); }
img { max-width: 100%; height: auto; }

/* Accessibility */
.skip-link { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: .5rem 1rem; z-index: 2000; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--nh-accent); outline-offset: 2px; }

/* Sections */
.section      { padding: 48px 0; }
.section-alt  { background: var(--nh-surface); border-top: 1px solid var(--nh-border); border-bottom: 1px solid var(--nh-border); }
@media (min-width: 992px) { .section { padding: 72px 0; } }
.section-title { margin-bottom: 1.5rem; }

/* Buttons (>= 48px tap targets) */
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
       border-radius: 8px; padding: .75rem 1.5rem; font-weight: 600; }
.btn-brand { --bs-btn-color:#fff; --bs-btn-bg:var(--nh-accent); --bs-btn-border-color:var(--nh-accent);
             --bs-btn-hover-color:#fff; --bs-btn-hover-bg:var(--nh-accent-dk); --bs-btn-hover-border-color:var(--nh-accent-dk);
             --bs-btn-active-color:#fff; --bs-btn-active-bg:var(--nh-accent-dk); --bs-btn-active-border-color:var(--nh-accent-dk); }
.btn-outline-brand { --bs-btn-color:var(--nh-accent); --bs-btn-border-color:var(--nh-accent);
             --bs-btn-hover-color:#fff; --bs-btn-hover-bg:var(--nh-accent); --bs-btn-hover-border-color:var(--nh-accent);
             --bs-btn-active-color:#fff; --bs-btn-active-bg:var(--nh-accent-dk); --bs-btn-active-border-color:var(--nh-accent-dk); }
.btn-whatsapp { --bs-btn-color:#fff; --bs-btn-bg:var(--nh-wa-btn); --bs-btn-border-color:var(--nh-wa-btn);
             --bs-btn-hover-color:#fff; --bs-btn-hover-bg:var(--nh-wa-btn-dk); --bs-btn-hover-border-color:var(--nh-wa-btn-dk);
             --bs-btn-active-color:#fff; --bs-btn-active-bg:var(--nh-wa-btn-dk); --bs-btn-active-border-color:var(--nh-wa-btn-dk); }

/* Header */
.site-header { background: rgba(250,250,247,.97); border-bottom: 1px solid var(--nh-border); z-index: 1030; }
.navbar-brand { font-weight: 800; font-size: 1.35rem; color: var(--nh-text); letter-spacing: -.01em; }
.navbar-brand:hover { color: var(--nh-accent); }
.nav-link { font-weight: 600; color: var(--nh-text); padding: .75rem 1rem; }
.nav-link:hover, .nav-link.active { color: var(--nh-accent); }
.nav-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--nh-text); }
.nav-call { display: inline-flex; align-items: center; gap: .4rem; color: var(--nh-text); text-decoration: none; font-weight: 600; margin-right: .5rem; }
.nav-call:hover { color: var(--nh-accent); }
.offcanvas-body .btn { width: 100%; }
@media (min-width: 992px) { .offcanvas-body .btn { width: auto; } }

/* Hero */
.hero { padding: 40px 0 48px; }
.hero-img { width: 100%; border-radius: var(--nh-radius); aspect-ratio: 4 / 3; object-fit: cover; background: var(--nh-accent-lt); }
@media (min-width: 992px) { .hero { padding: 72px 0; } }

/* Cards: products */
.product-card { background: var(--nh-surface); border: 1px solid var(--nh-border); border-radius: var(--nh-radius);
                box-shadow: var(--nh-shadow); overflow: hidden; height: 100%; display: flex; flex-direction: column;
                transition: box-shadow .15s ease; }
.product-card:hover { box-shadow: var(--nh-shadow-lg); }
.product-card .thumb { aspect-ratio: var(--nh-thumb-ratio); width: 100%; object-fit: contain; background: #fff; display: block; border-bottom: 1px solid var(--nh-border); }
.product-card .body { padding: 16px; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card .title { font-size: 1.1rem; margin: 0; }
.product-card .title a { color: var(--nh-text); text-decoration: none; }
.product-card .title a:hover { color: var(--nh-accent); }
.product-card .price { font-weight: 700; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.chip { display: inline-block; padding: .25rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
        background: var(--nh-accent-lt); color: var(--nh-accent-dk); text-decoration: none; border: 1px solid transparent; }
.chip:hover { border-color: var(--nh-accent); color: var(--nh-accent-dk); }
.chip.active { background: var(--nh-accent); color: #fff; }

/* Generic info cards (why choose us, contact methods) */
.info-card { background: var(--nh-surface); border: 1px solid var(--nh-border); border-radius: var(--nh-radius);
             padding: 20px; height: 100%; box-shadow: var(--nh-shadow); }

/* CTA band */
.cta-band { background: var(--nh-accent); color: #fff; padding: 40px 0; text-align: center; }
.cta-band h2 { color: #fff; }

/* Map */
.map-wrap iframe { width: 100%; height: 260px; border: 0; border-radius: var(--nh-radius); }
@media (min-width: 576px) { .map-wrap iframe { height: 300px; } }
@media (min-width: 992px) { .map-wrap iframe { height: 340px; } }

/* Footer */
.site-footer { background: #1f2933; color: #d5dbe0; padding: 48px 0 24px; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { font-size: 1.4rem; color: #fff; }
.footer-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: .75rem; }
.site-footer li { margin-bottom: .5rem; }
.footer-contact li { display: flex; gap: .5rem; align-items: flex-start; }
.footer-contact svg { margin-top: .3rem; flex: none; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.15); margin: 32px 0 0; padding-top: 16px; font-size: .9rem; color: #aab3ba; }

/* WhatsApp floating button (mobile only; hidden on product pages that have the sticky bar) */
.wa-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
          width: 56px; height: 56px; border-radius: 50%; background: var(--nh-wa); color: #fff;
          display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.25); z-index: 1040; }
.wa-fab:hover { color: #fff; filter: brightness(.95); }
body.has-sticky-cta .wa-fab { display: none !important; }

/* Sticky mobile CTA bar (product page) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; background: var(--nh-surface); border-top: 1px solid var(--nh-border);
              padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 1040; display: flex; gap: 8px; }
.sticky-cta .btn { flex: 1; }
@media (max-width: 991.98px) { body.has-sticky-cta { padding-bottom: 80px; } }
@media (min-width: 992px) { .sticky-cta { display: none; } }

/* Form inputs: 16px prevents iOS zoom */
.form-control, .form-select { font-size: 16px; min-height: 48px; }

/* ---- Step 3 additions ---------------------------------------------------- */
.breadcrumb { --bs-breadcrumb-divider-color: var(--nh-muted); font-size: .95rem; flex-wrap: wrap; }
.breadcrumb-item.active { color: var(--nh-muted); }

.pagination { --bs-pagination-color: var(--nh-accent); --bs-pagination-hover-color: var(--nh-accent-dk);
              --bs-pagination-active-bg: var(--nh-accent); --bs-pagination-active-border-color: var(--nh-accent);
              --bs-pagination-focus-color: var(--nh-accent-dk); }
.page-link { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

.detail-img { width: 100%; border-radius: var(--nh-radius); aspect-ratio: var(--nh-thumb-ratio); object-fit: contain;
              background: #fff; border: 1px solid var(--nh-border); }
.price-lg { font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem; }
.btn-light { --bs-btn-color: var(--nh-text); }

/* ---- Pricing block (price per unit, struck-through MRP, pack quantity) ---- */
.price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; }
.price-now { font-weight: 800; font-size: 1.2rem; }
.price-mrp { color: var(--nh-muted); }
.price-mrp s { text-decoration-thickness: 1.5px; }
.price-unit { color: var(--nh-muted); font-size: .85rem; }
.price-pack { flex-basis: 100%; font-size: .9rem; color: var(--nh-muted); font-weight: 600; }
.price-detail .price-now { font-size: 1.9rem; }
.price-detail .price-mrp { font-size: 1.1rem; }
.price-detail .price-pack { font-size: 1rem; }

/* ---- Contact form ---- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-label .req { color: #b42318; }
