/* ============================================================
   Divya Aastha — Responsive Overrides
   ============================================================ */

/* 0. GLOBAL SAFETY — Prevent horizontal overflow */
@media (max-width: 1080px){
  html, body{ overflow-x: hidden !important; max-width: 100% !important; }
  img, video, iframe, svg{ max-width: 100% !important; height: auto !important; }
  body, p, h1, h2, h3, h4, h5, h6, a, span, li, td, th{ overflow-wrap: break-word; word-wrap: break-word; }
  .hero-mandala, .page-hero-mandala{ max-width: 100vw !important; }
}

/* ============================================================
   1. HEADER — DESKTOP (Base Layout Fix)
   ============================================================ */
header.site-header {
  background: #310508 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 400 !important;
  border-bottom: 1px solid rgba(214,168,62,.35) !important;
}

header.site-header .header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  padding: 0 28px !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
}

header.site-header .brand-logo {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  max-height: 60px !important;
  flex-shrink: 0 !important;
  margin-right: 20px !important;
  text-decoration: none !important;
  transform: none !important;
}

header.site-header .brand-logo img {
  height: 100% !important;
  max-height: 60px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: block !important;
  transform: none !important;
}

header.site-header nav.main-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  flex-grow: 1 !important;
  margin: 0 auto !important;
  flex-wrap: nowrap !important;
}

header.site-header nav.main-nav a {
  color: #F6E8CF !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  border-radius: 8px !important;
}

header.site-header nav.main-nav a:hover,
header.site-header nav.main-nav a.active {
  color: #D6A83E !important;
}

header.site-header .header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

header.site-header .icon-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center !important;
  color: #F6E8CF !important;
  border: 1px solid rgba(214,168,62,.35) !important;
  background: transparent !important;
  transition: all .28s ease !important;
  position: relative !important;
}

header.site-header .icon-btn:hover {
  color: #D6A83E !important;
  border-color: rgba(214,168,62,.75) !important;
  background: rgba(214,168,62,.12) !important;
}

header.site-header .icon-btn svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.7 !important;
}

header.site-header .badge {
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  min-width: 19px !important;
  height: 19px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  background: #B76146 !important;
  color: #FFF9F0 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  display: grid !important;
  place-items: center !important;
  border: 2px solid #310508 !important;
  line-height: 1 !important;
}

header.site-header button.hamburger {
  display: none;
  background: transparent;
  border: none;
  color: #F6E8CF !important;
  cursor: pointer;
  padding: 8px;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   2. HEADER — TABLET (max-width: 940px)
   ============================================================ */
@media (max-width: 940px){
  header.site-header nav.main-nav { display: none !important; }
  header.site-header a.header-cta { display: none !important; }
  header.site-header button.hamburger { display: flex !important; }

  header.site-header .header-inner {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    padding: 0 14px !important;
    gap: 8px !important;
  }
  header.site-header .brand-logo { max-height: 48px !important; margin-right: 6px !important; }
  header.site-header .brand-logo img { max-height: 48px !important; max-width: 150px !important; }
  header.site-header .header-actions { gap: 5px !important; }
  header.site-header .icon-btn { width: 36px !important; height: 36px !important; }
  header.site-header .icon-btn svg { width: 16px !important; height: 16px !important; }
  header.site-header button.hamburger svg { width: 22px !important; height: 22px !important; stroke: #F6E8CF !important; }

  /* Language Switcher */
  header.site-header .lang-switcher {
    display: inline-block !important;
    margin: 0 2px !important;
    position: relative !important;
  }
  header.site-header .lang-switcher .lang-btn {
    height: 36px !important;
    width: 36px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: 1px solid rgba(214,168,62,.35) !important;
    display: inline-flex !important;
    align-items: center;
  }
  header.site-header .lang-switcher .lang-btn svg {
    width: 16px !important;
    height: 16px !important;
    color: #F6E8CF !important;
  }
  header.site-header .lang-switcher .lang-current {
    display: none !important;
  }
  header.site-header .lang-switcher .lang-menu {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    min-width: 180px !important;
    z-index: 9999 !important;
  }
}

/* ============================================================
   3. MOBILE HEADER (max-width: 640px)
   ============================================================ */
@media (max-width: 640px){
  header.site-header .header-inner {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    padding: 0 12px !important;
    gap: 6px !important;
  }
  header.site-header .brand-logo { max-height: 40px !important; margin-right: 4px !important; }
  header.site-header .brand-logo img { max-height: 40px !important; max-width: 120px !important; }
  header.site-header .header-actions { gap: 4px !important; }
  header.site-header .icon-btn { width: 34px !important; height: 34px !important; border-radius: 9px !important; }
  header.site-header .icon-btn svg { width: 15px !important; height: 15px !important; }
  header.site-header .badge { min-width: 16px !important; height: 16px !important; font-size: 9px !important; top: -5px !important; right: -5px !important; }
  header.site-header button.hamburger svg { width: 20px !important; height: 20px !important; }

  header.site-header .lang-switcher .lang-btn {
    height: 34px !important;
    width: 34px !important;
  }
  header.site-header .lang-switcher .lang-btn svg {
    width: 15px !important;
    height: 15px !important;
  }

  /* Announcement Bar */
  .announce .container {
    height: auto !important;
    min-height: 36px !important;
    padding: 6px 12px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .announce-left {
    font-size: 10.5px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    overflow: visible !important;
  }
  .announce-right { display: none !important; }
}

/* ============================================================
   4. SMALL MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px){
  header.site-header .header-inner {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    padding: 0 10px !important;
    gap: 4px !important;
  }
  header.site-header .brand-logo { max-height: 38px !important; margin-right: 2px !important; }
  header.site-header .brand-logo img { max-height: 38px !important; max-width: 105px !important; }
  header.site-header .header-actions { gap: 3px !important; }
  header.site-header .icon-btn { width: 32px !important; height: 32px !important; border-radius: 8px !important; }
  header.site-header .icon-btn svg { width: 14px !important; height: 14px !important; }

  header.site-header .lang-switcher .lang-btn {
    height: 32px !important;
    width: 32px !important;
  }
  header.site-header .lang-switcher .lang-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  header.site-header .header-actions > a[href*="wishlist"] {
    display: none !important;
  }
}

/* ============================================================
   5. VERY SMALL MOBILE (max-width: 390px)
   ============================================================ */
@media (max-width: 390px){
  header.site-header .header-inner { height: 54px !important; padding: 0 8px !important; gap: 3px !important; }
  header.site-header .brand-logo { max-height: 34px !important; }
  header.site-header .brand-logo img { max-height: 34px !important; max-width: 95px !important; }
  header.site-header .icon-btn { width: 30px !important; height: 30px !important; }
  header.site-header .icon-btn svg { width: 13px !important; height: 13px !important; }

  header.site-header .lang-switcher .lang-btn {
    height: 30px !important;
    width: 30px !important;
  }
  header.site-header .lang-switcher .lang-btn svg {
    width: 13px !important;
    height: 13px !important;
  }
}

/* ============================================================
   6. TINY MOBILE (max-width: 360px)
   ============================================================ */
@media (max-width: 360px){
  header.site-header .header-inner { height: 52px !important; padding: 0 6px !important; gap: 2px !important; }
  header.site-header .brand-logo { max-height: 32px !important; }
  header.site-header .brand-logo img { max-height: 32px !important; max-width: 85px !important; }
  header.site-header .icon-btn { width: 28px !important; height: 28px !important; }
  header.site-header .icon-btn svg { width: 12px !important; height: 12px !important; }

  header.site-header .lang-switcher .lang-btn {
    height: 28px !important;
    width: 28px !important;
  }
  header.site-header .lang-switcher .lang-btn svg {
    width: 12px !important;
    height: 12px !important;
  }

  header.site-header .account-wrap {
    display: none !important;
  }
}

/* ============================================================
   7. MOBILE NAV DRAWER FIX
   ============================================================ */
.mobile-nav .mn-panel {
  width: min(320px, 85vw) !important;
  display: flex !important;
  flex-direction: column !important;
}
.mobile-nav .mn-links {
  flex: 1 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding-bottom: 20px !important;
}
.mobile-nav .mn-foot {
  flex-shrink: 0 !important;
  padding-bottom: calc(18px + env(safe-area-inset-bottom)) !important;
}

/* ============================================================
   8. TABLET LAYOUT (max-width: 1080px)
   ============================================================ */
@media (max-width: 1080px){
  .container { padding: 0 22px !important; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 44px !important; }
  .hero-content { max-width: 100% !important; }
  .steps { grid-template-columns: repeat(2, 1fr) !important; gap: 44px 0 !important; }
  .steps::before { display: none !important; }
  .newsletter { grid-template-columns: 1fr !important; gap: 32px !important; padding: 46px 36px !important; }
  .trend-grid { grid-template-columns: 1fr !important; grid-template-rows: auto !important; }
  .trend-feature { grid-column: 1 !important; grid-row: auto !important; min-height: 400px !important; }
  .temple-card { flex: 0 0 calc((100% - 40px) / 3) !important; }
  .shop-card { flex: 0 0 calc((100% - 40px) / 3) !important; }
  .article-carousel-track .article-card { flex: 0 0 calc((100% - 40px) / 3) !important; }
  .puja-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .dark-temple-grid { grid-template-columns: repeat(3, 1fr) !important; }

  /* ── Hero: image center anchor for tablet ── */
  .hero::before{
    background-position: center center !important; 
    background-size: cover !important;
  }
  .hero::after{
    background:linear-gradient(
      180deg,
      rgba(250, 240, 217, 0.4) 0%,
      rgba(250, 240, 217, 0.6) 38%,
      rgba(249,238,214,.4) 52%,
      rgba(246,229,196,.1) 68%,
      rgba(240,215,172,.05) 82%,
      rgba(214,168,62,0) 94%
    ) !important;
  }
}

/* ============================================================
   9. TABLET PORTRAIT (max-width: 940px)
   ============================================================ */
@media (max-width: 940px){
  .gyan-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .article-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .fest-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .testi-grid { grid-template-columns: 1fr !important; }
  .yatra-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .temple-card { flex: 0 0 calc((100% - 20px) / 2) !important; }
  .shop-card { flex: 0 0 calc((100% - 20px) / 2) !important; }
  .article-carousel-track .article-card { flex: 0 0 calc((100% - 20px) / 2) !important; }
  .carousel-head { flex-direction: column !important; align-items: flex-start !important; gap: 20px !important; }
  .puja-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .dark-temple-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ============================================================
   10. MOBILE LANDSCAPE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px){
  .section { padding: 64px 0 !important; }
  .section.tight { padding: 48px 0 !important; }
  .hero { padding: 36px 0 60px !important; }
  .hero h1 { font-size: clamp(1.75rem, 6.5vw, 2.35rem) !important; letter-spacing: -.6px !important; }
  .hero-lead { font-size: 15px !important; max-width: 100% !important; }
  .hero-pill { font-size: 11.8px !important; padding: 7px 15px 7px 8px !important; }
  .hero-trust { gap: 8px !important; }
  .trust-chip { padding: 7px 13px !important; font-size: 11.6px !important; }
  .newsletter { padding: 40px 24px !important; border-radius: var(--r-lg) !important; }
  .nl-row { flex-direction: column !important; border-radius: var(--r-sm) !important; padding: 12px !important; }
  .nl-row .btn { width: 100% !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .footer-bottom { justify-content: center !important; text-align: center !important; }
  .steps { grid-template-columns: 1fr !important; gap: 36px !important; }
  .step { padding: 0 !important; }
  .temple-card { flex: 0 0 86% !important; }
  .shop-card { flex: 0 0 86% !important; }
  .article-carousel-track .article-card { flex: 0 0 86% !important; }
  .section-head { margin-bottom: 40px !important; }
  .carousel-head { margin-bottom: 32px !important; }
  .page-hero { padding: 48px 0 52px !important; }
  .detail-grid { grid-template-columns: 1fr !important; gap: 32px !important; padding: 40px 0 0 !important; }
  .cart-page-grid { grid-template-columns: 1fr !important; }
  .cart-row { grid-template-columns: 80px 1fr auto !important; gap: 14px !important; padding: 16px !important; }
  .cart-row img { width: 80px !important; height: 80px !important; }
  .cart-summary { position: static !important; }
  .account-grid { grid-template-columns: 1fr !important; }
  .account-nav { position: static !important; display: flex !important; flex-wrap: wrap !important; gap: 6px !important; padding: 10px !important; }
  .account-nav a { flex: 1 1 auto !important; padding: 10px 14px !important; font-size: 13px !important; }
  .account-main { padding: 24px 20px !important; }
  .auth-wrap { padding: 60px 20px !important; }
  .auth-card { padding: 32px 24px !important; }
  .faq-q { font-size: 15.5px !important; padding: 20px 4px !important; gap: 14px !important; }
  .faq-a p { padding: 0 4px 22px !important; font-size: 13.2px !important; }
  table { display: block !important; width: 100% !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; white-space: nowrap !important; }
  table thead, table tbody { display: table !important; width: 100% !important; min-width: 100% !important; }
  table th, table td { padding: 10px 12px !important; font-size: 13px !important; }

  /* ── Hero: image center anchor, transparent gradient ── */
  .hero::before{
    background-position: center center !important;
  }
  .hero::after{
    background:linear-gradient(
      180deg,
      rgba(250, 240, 217, 0.4) 0%,
      rgba(250, 240, 217, 0.5) 50%,
      rgba(249,238,214,.3) 64%,
      rgba(246,229,196,.1) 78%,
      rgba(240,215,172,.05) 90%,
      rgba(214,168,62,0) 100%
    ) !important;
  }
}

/* ============================================================
   11. MOBILE PORTRAIT (max-width: 640px)
   ============================================================ */
@media (max-width: 640px){
  .container { padding: 0 18px !important; }
  .hero { padding: 32px 0 52px !important; }
  .hero h1 { font-size: clamp(1.7rem, 7.5vw, 2.1rem) !important; line-height: 1.12 !important; }
  .hero h1 .sub { font-size: .5em !important; }
  .hero-lead { font-size: 14.5px !important; line-height: 1.72 !important; }
  .hero-trust { gap: 8px !important; margin-bottom: 20px !important; }
  .trust-chip { padding: 7px 13px !important; font-size: 11.5px !important; }
  .hero-cta { flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
  .hero-cta .btn { width: 100% !important; }
  .section { padding: 52px 0 !important; }
  .section-head h2 { font-size: 1.5rem !important; }
  .section-head p { font-size: 14px !important; }
  .gyan-grid { grid-template-columns: 1fr !important; }
  .article-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .fest-grid { grid-template-columns: 1fr !important; }
  .yatra-grid { grid-template-columns: 1fr !important; }
  .puja-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .dark-temple-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .testi-card { padding: 26px 22px !important; }
  .testi-card p { font-size: 13.2px !important; }
  .temple-card { flex: 0 0 90% !important; }
  .shop-card { flex: 0 0 90% !important; }
  .article-carousel-track .article-card { flex: 0 0 90% !important; }
  .step-num { width: 60px !important; height: 60px !important; font-size: 18px !important; margin-bottom: 18px !important; }
  .step h3 { font-size: 15px !important; }
  .step p { font-size: 12.5px !important; }
  .featured-on { padding: 32px 0 !important; }
  .fo-item { padding: 9px 18px !important; font-size: 13px !important; }
  .newsletter { padding: 34px 22px !important; border-radius: var(--r) !important; }
  .newsletter h2 { font-size: 1.4rem !important; }
  .newsletter p { font-size: 13.5px !important; }
  .footer-grid { padding-bottom: 40px !important; gap: 28px !important; }
  .footer-col h4 { margin-bottom: 16px !important; }
  .footer-col ul li { margin-bottom: 10px !important; }
  .float-stack { right: 16px !important; bottom: 16px !important; gap: 10px !important; }
  .fab { width: 46px !important; height: 46px !important; }
  .fab svg { width: 19px !important; height: 19px !important; }
  .detail-media { aspect-ratio: 1 / 1 !important; }
  .detail-info h1 { font-size: 1.4rem !important; }
  .detail-price .now { font-size: 24px !important; }
  .detail-actions { gap: 10px !important; }
  .detail-actions .btn { padding: 13px 24px !important; font-size: 13px !important; flex: 1 !important; }
  .qty-selector button { width: 38px !important; height: 46px !important; }
  .qty-selector input { width: 42px !important; }
  .detail-tabs { overflow-x: auto !important; flex-wrap: nowrap !important; -webkit-overflow-scrolling: touch !important; }
  .detail-tabs::-webkit-scrollbar { display: none !important; }
  .detail-tab { padding: 12px 16px !important; font-size: 12.5px !important; white-space: nowrap !important; }
  .toast-wrap { bottom: 20px !important; width: calc(100% - 32px) !important; }
  .cart-row { grid-template-columns: 70px 1fr !important; gap: 12px !important; }
  .cart-row img { width: 70px !important; height: 70px !important; }
  .cart-empty { padding: 60px 24px !important; }
  .gy-empty { padding: 60px 20px !important; }
  .bhet-empty { padding: 60px 20px !important; }
  .mobile-nav .mn-panel { width: min(320px, 90vw) !important; }
  .mn-head { padding: 18px 20px !important; }
  .mn-links { padding: 16px 14px !important; }
  .mn-links a { padding: 13px 14px !important; font-size: 14.5px !important; }
  .mn-foot { padding: 18px 20px 28px !important; }
  .mn-close { width: 34px !important; height: 34px !important; }
  .search-overlay { padding: 60px 16px 40px !important; }
  .search-field { padding: 18px !important; gap: 10px !important; }
  .search-field svg { width: 17px !important; height: 17px !important; }
  .ss-item { padding: 10px !important; gap: 12px !important; }
  .ss-ico { width: 34px !important; height: 34px !important; }
  .ss-tag { display: none !important; }
  .cart-drawer { width: 100vw !important; }
  .cd-head { padding: 18px 20px !important; }
  .cd-body { padding: 16px !important; }
  .cd-foot { padding: 16px 20px 20px !important; }
  .cd-actions { grid-template-columns: 1fr !important; }
  .account-menu { width: 220px !important; right: -8px !important; }
  .account-menu a { padding: 9px 12px !important; font-size: 13px !important; }
  .gy-filters, .bhet-filters, .filter-bar { gap: 6px !important; padding-bottom: 16px !important; margin-bottom: 20px !important; }
  .gy-chip, .bhet-chip, .filter-chip { padding: 7px 13px !important; font-size: 11.5px !important; }
  .gy-grid, .bhet-grid, .puja-grid, .dark-temple-grid, .article-grid { gap: 14px !important; }
  .gy-head, .bhet-head { margin-bottom: 26px !important; }
  .gy-head h2, .bhet-head h2 { font-size: 1.25rem !important; }
  .gy-head p, .bhet-head p { font-size: 13.5px !important; }
  .page-hero { padding: 40px 0 44px !important; }
  .page-hero h1 { font-size: 1.65rem !important; letter-spacing: -.4px !important; }
  .page-hero p { font-size: 14px !important; line-height: 1.68 !important; }
  .breadcrumb { font-size: 11.5px !important; margin-bottom: 14px !important; }
  .gy-hero { padding: 52px 0 56px !important; }
  .gy-hero h1 { font-size: clamp(1.6rem, 8vw, 2rem) !important; }
  .gy-hero__desc { font-size: 13.5px !important; }
  .gy-hero__eyebrow { font-size: 10px !important; padding: 5px 14px !important; letter-spacing: 1.8px !important; }
  .gy-search__form button { padding: 10px 18px !important; }
  .bhet-hero { padding: 52px 0 48px !important; }
  .bhet-hero h1 { font-size: 1.75rem !important; }
  .bhet-hero p { font-size: 13.5px !important; }
  .seva-types__title { font-size: 1.5rem !important; }
  .seva-types__subtitle { font-size: 13.5px !important; }
  .bhet-intro__title { font-size: 1.35rem !important; }
  .bhet-intro__desc { font-size: 13.5px !important; }
  .site-footer { padding: 52px 0 0 !important; margin-top: 64px !important; }
  .footer-col > p { font-size: 12.5px !important; margin-bottom: 16px !important; }
  .footer-col h4 { font-size: 10.5px !important; letter-spacing: 1.6px !important; margin-bottom: 14px !important; }
  .footer-col ul a { font-size: 12.5px !important; }
  .footer-brand { margin-bottom: 16px !important; }
  .footer-logo { height: 52px !important; max-width: 190px !important; }
  input, select, textarea { font-size: 16px !important; max-width: 100% !important; }
  .form-group input, .form-group select, .form-group textarea { padding: 13px 16px !important; font-size: 15px !important; }
  .search-field input { font-size: 15px !important; }
  .gy-search__form input { font-size: 15px !important; }
  .nl-row input { font-size: 15px !important; }
  .hide-mobile { display: none !important; }
  ::-webkit-scrollbar { width: 6px !important; height: 6px !important; }
  ::-webkit-scrollbar-thumb { border-width: 2px !important; }
}
@media (min-width: 641px){
  .show-mobile { display: none !important; }
}

/* ============================================================
   12. SMALL MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px){
  .container { padding: 0 16px !important; }
  .hero h1 { font-size: 1.55rem !important; }
  .hero-pill { font-size: 11px !important; padding: 7px 14px 7px 7px !important; }
  .hero-pill .avatars i { width: 20px !important; height: 20px !important; font-size: 8.5px !important; }
  .section { padding: 44px 0 !important; }
  .section-head h2 { font-size: 1.35rem !important; }
  .section-head p { font-size: 13.5px !important; }
  .btn { padding: 12px 22px !important; font-size: 13px !important; }
  .btn-sm { padding: 9px 16px !important; font-size: 12px !important; }
  .newsletter h2 { font-size: 1.25rem !important; }
  .footer-bottom { padding: 20px 0 22px !important; }
  .footer-bottom p { font-size: 11.5px !important; }
  .faq-q { font-size: 14.5px !important; padding: 18px 2px !important; }
  .faq-q .chev { width: 28px !important; height: 28px !important; }
  .gy-chip, .bhet-chip { padding: 7px 14px !important; font-size: 12px !important; }
  .article-carousel-track .article-card { flex: 0 0 92% !important; }

  /* Language Switcher — Article Body */
  .lang-tab { padding: 8px 12px !important; font-size: 12px !important; }
  .lang-tab .lang-tab-full { display: none !important; }
  .lang-tab .lang-tab-short { display: inline !important; }
}

/* ============================================================
   13. VERY SMALL MOBILE (max-width: 390px)
   ============================================================ */
@media (max-width: 390px){
  .container { padding: 0 14px !important; }
  .hero { padding: 28px 0 44px !important; }
  .hero h1 { font-size: 1.45rem !important; letter-spacing: -.4px !important; }
  .hero-lead { font-size: 13.5px !important; }
  .section { padding: 40px 0 !important; }
  .section-head h2 { font-size: 1.25rem !important; }
  .btn { padding: 11px 20px !important; font-size: 12.5px !important; }
  .temple-card { flex: 0 0 92% !important; }
  .shop-card { flex: 0 0 92% !important; }
  .article-carousel-track .article-card { flex: 0 0 92% !important; }
  .fab { width: 42px !important; height: 42px !important; }
  .fab svg { width: 17px !important; height: 17px !important; }
  .step-num { width: 54px !important; height: 54px !important; font-size: 16px !important; }
  .footer-logo { height: 46px !important; max-width: 170px !important; }
}

/* ============================================================
   14. EXTRA SMALL (max-width: 360px)
   ============================================================ */
@media (max-width: 360px){
  .container { padding: 0 12px !important; }
  .hero h1 { font-size: 1.35rem !important; }
  .hero-lead { font-size: 13px !important; }
  .hero-pill { font-size: 10.5px !important; }
  .section { padding: 36px 0 !important; }
  .section-head h2 { font-size: 1.15rem !important; }
  .section-head p { font-size: 13px !important; }
  .btn { padding: 10px 18px !important; font-size: 12px !important; }
  .btn-sm { padding: 8px 14px !important; font-size: 11.5px !important; }
  .temple-card { flex: 0 0 94% !important; }
  .shop-card { flex: 0 0 94% !important; }
  .article-carousel-track .article-card { flex: 0 0 94% !important; }
}

/* ============================================================
   15. TINY (max-width: 320px)
   ============================================================ */
@media (max-width: 320px){
  .container { padding: 0 10px !important; }
  .hero h1 { font-size: 1.25rem !important; }
  .hero-lead { font-size: 12.5px !important; line-height: 1.7 !important; }
  .section { padding: 32px 0 !important; }
  .section-head h2 { font-size: 1.1rem !important; }
  .btn { padding: 10px 16px !important; font-size: 11.5px !important; gap: 6px !important; }
  .temple-card { flex: 0 0 96% !important; }
  .shop-card { flex: 0 0 96% !important; }
  .article-carousel-track .article-card { flex: 0 0 96% !important; }
  .float-stack { right: 12px !important; bottom: 12px !important; }
  .fab { width: 40px !important; height: 40px !important; }
  .fab svg { width: 16px !important; height: 16px !important; }
}

/* ============================================================
   16. LANDSCAPE MOBILE
   ============================================================ */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 480px){
  .hero { padding: 32px 0 40px !important; }
  .section { padding: 40px 0 !important; }
  .mobile-nav .mn-panel { width: min(420px, 80vw) !important; }
}

/* ============================================================
   17. LANGUAGE SWITCHER — GLOBAL (Article Body)
   ============================================================ */
.lang-switch-wrap { margin: 0 0 8px; }

.lang-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: #FBF7F0;
  border: 1px solid #EFE6D9;
  border-radius: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.lang-tab {
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #351B2F;
  background: transparent;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: all .22s ease;
  font-family: inherit;
  line-height: 1;
}

.lang-tab:hover {
  background: rgba(183, 97, 70, .10);
  color: #B76146;
}

.lang-tab.active {
  background: linear-gradient(135deg, #4B080C, #310508);
  color: #F6E8CF;
  box-shadow: 0 6px 16px -8px rgba(75, 8, 12, .55);
}

.lang-tab .lang-tab-short { display: none; }

.lang-panel { animation: langFadeIn .3s ease; }
.lang-panel[hidden] { display: none; }

@keyframes langFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   18. REDUCED MOTION — Accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   19. ✨ SRIRUDRAM — MOBILE HERO + HEADER REDESIGN (≤ 767px) ✨
   ============================================================ */
@media (max-width: 767px){

  /* A. HEADER */
  header.site-header .header-inner{
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    padding: 0 12px !important;
    gap: 8px !important;
  }
  header.site-header .brand-logo{
    max-height: 38px !important;
    margin-right: 4px !important;
    flex-shrink: 0 !important;
  }
  header.site-header .brand-logo img{
    max-height: 38px !important;
    width: auto !important;
    max-width: clamp(85px, 30vw, 120px) !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
  header.site-header .header-actions{
    gap: 6px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  header.site-header .icon-btn{
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 10px !important;
    display: grid !important;
    place-items: center !important;
  }
  header.site-header .icon-btn svg{
    width: 16px !important;
    height: 16px !important;
  }
  header.site-header .badge{
    top: -4px !important;
    right: -4px !important;
    min-width: 16px !important;
    height: 16px !important;
    font-size: 9px !important;
    border-width: 2px !important;
  }
  header.site-header button.hamburger{
    display: flex !important;
    width: 34px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    padding: 0 !important;
  }
  header.site-header button.hamburger svg{
    width: 22px !important;
    height: 22px !important;
    stroke: #F6E8CF !important;
  }

  /* B. HERO — NOTUN IMAGE SET KORA HOLO */
  .hero{
    min-height: 0 !important;
    padding: 30px 0 40px !important; 
    background: #FAF0D9 !important;
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    border-bottom: 1px solid rgba(75,8,12,.07) !important;
  }

  /* NOTUN IMAGE (Misty Sunrise Puja Still Life) */
  .hero::before{
    inset: 0 !important;
    height: 100% !important;
    background-image: url('https://divyaaastha.xinkpayroll.co.in/assets/img/Misty%20Sunrise%20Puja%20Still%20Life.png') !important;
    background-size: cover !important;
    background-position: center bottom !important; /* Image er niche-r puja samagri jate dekha jay */
    background-repeat: no-repeat !important;
    z-index: 0 !important;
  }

  /* L-to-R Gradient overlay */
  .hero::after{
    inset: 0 !important;
    height: 100% !important;
    background: linear-gradient(
      180deg,
      rgba(250, 240, 217, 0.1) 0%,
      rgba(250, 240, 217, 0.2) 50%,
      rgba(250, 240, 217, 0.6) 80%,
      rgba(250, 240, 217, 0.9) 100%
    ) !important; 
    z-index: 1 !important;
  }

  .hero-grid{
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    position: relative !important;
    z-index: 2 !important;
  }
  .hero-content{
    max-width: 100% !important;
  }

  .hero-pill{
    font-size: 11px !important;
    padding: 5px 12px 5px 6px !important;
    margin-bottom: 16px !important;
    gap: 8px !important;
    background: rgba(255, 249, 240, 0.85) !important;
    backdrop-filter: blur(4px) !important;
  }
  .hero-pill .avatars i{
    width: 20px !important;
    height: 20px !important;
    font-size: 8.5px !important;
  }

  .hero h1{
    font-size: clamp(1.7rem, 6.8vw, 2.1rem) !important; 
    line-height: 1.15 !important;
    letter-spacing: -.4px !important;
    margin-bottom: 10px !important;
    overflow-wrap: break-word !important;
  }
  .hero h1 .accent{
    font-size: 1.05em !important; 
  }
  .hero h1 .sub{
    font-size: 0.46em !important;
    line-height: 1.5 !important;
    margin-top: 10px !important;
    max-width: 90% !important;
  }

  .hero-rule{
    margin-bottom: 12px !important;
    gap: 8px !important;
  }
  .hero-rule::before{
    width: 35px !important;
  }
  .hero-rule span{
    font-size: 14px !important;
  }

  .hero-lead{
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
    max-width: 92% !important; 
    text-shadow: 0 1px 2px rgba(255,255,255,0.5) !important; 
  }

  .hero-trust{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 24px !important;
    max-width: 95% !important;
  }
  .trust-chip{
    font-size: 11px !important;
    padding: 6px 12px !important;
    white-space: nowrap !important;
    gap: 6px !important;
    background: rgba(255, 249, 240, 0.9) !important;
    backdrop-filter: blur(4px) !important;
    border-color: rgba(214,168,62,.3) !important;
  }
  .trust-chip .stars{
    font-size: 10px !important;
    letter-spacing: .3px !important;
  }

  .hero-cta{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .hero-cta .btn{
    width: 100% !important;
    min-height: 46px !important;
    padding: 12px 20px !important;
    font-size: 14.5px !important;
    border-radius: 10px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .float-stack{
    right: 16px !important;
    bottom: 16px !important;
    gap: 10px !important;
    transition: opacity .28s ease, transform .28s ease !important;
  }
  .fab{
    width: 44px !important;
    height: 44px !important;
  }
  .fab svg{
    width: 18px !important;
    height: 18px !important;
  }
}

/* ============================================================
   20. HOW TO BOOK PUJA — MOBILE COMPACT LAYOUT (≤ 767px)
   ============================================================ */
@media (max-width: 767px){
  #how-to-book.section {
    padding: 32px 0 !important;
  }
  #how-to-book .section-head {
    margin-bottom: 20px !important;
  }
  #how-to-book .section-head h2 {
    font-size: 1.35rem !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
  }
  #how-to-book .section-head p {
    font-size: 13px !important;
  }
  #how-to-book .steps {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px 12px !important;
    margin-top: 0 !important;
  }
  #how-to-book .steps::before {
    display: none !important;
  }
  #how-to-book .step {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  #how-to-book .step-num {
    width: 46px !important;
    height: 46px !important;
    font-size: 15px !important;
    margin-bottom: 10px !important;
  }
  #how-to-book .step h3 {
    font-size: 13.5px !important;
    margin-bottom: 5px !important;
    line-height: 1.3 !important;
  }
  #how-to-book .step p {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 340px){
  .hero h1{
    font-size: 1.55rem !important;
  }
  .hero-lead{
    font-size: 13px !important;
  }
  .hero-cta .btn {
    font-size: 13.5px !important;
  }
}

/* ============================================================
   21. TEMPLE CARD TIMING & ALIGNMENT FIX (GLOBAL)
   ============================================================ */
.temple-body p {
  flex: none !important; /* Description stretch kora bondho korbe */
  margin-bottom: 12px !important;
}

.temple-body .btn {
  margin-top: auto !important; /* Button sob somoy ekdom niche thakbe */
}

.temple-timing {
  margin-top: 12px;
  margin-bottom: 16px;
  padding: 10px 12px;
  background: var(--sand, #F6E8CF);
  border-radius: 8px;
  border: 1px solid var(--line-2, rgba(75,8,12,.07));
  font-size: 12px;
  color: var(--plum, #4B080C);
  line-height: 1.5;
}

.temple-timing__row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.temple-timing__row:last-child {
  margin-bottom: 0;
}

.temple-timing__row i {
  color: var(--champagne, #D6A83E);
  font-size: 13px;
}

.temple-timing__badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--terracotta, #B76146);
  padding: 3px 8px;
  border-radius: 99px;
}