/* =========================================================================
   Sri Vijaya Madhavi Jewellers — Luxury Jewellery Theme
   Palette inspiration: white/light background with warm gold accents,
   loosely evoking premium jewellery retail sites (original design only).
   ========================================================================= */

:root {
  --svm-gold: #b8860b;
  --svm-gold-light: #d4af37;
  --svm-gold-dark: #8a6508;
  --svm-cream: #faf6ef;
  --svm-ivory: #fffdf9;
  --svm-charcoal: #2b2620;
  --svm-text-muted: #6f665a;
  --svm-border: #ece3d2;
  --svm-maroon: #5c0d16;
  --svm-maroon-dark: #430a10;
  --svm-magenta: #5c0a3f;
  --svm-magenta-dark: #3f0729;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--svm-charcoal);
  background-color: var(--svm-ivory);
  font-weight: 300;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, .brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--svm-charcoal);
}

a { color: inherit; }
a:hover { color: var(--svm-gold-dark); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--svm-gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn-gold {
  background: linear-gradient(135deg, var(--svm-gold-light), var(--svm-gold-dark));
  border: none;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.65rem 1.75rem;
  border-radius: 2px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-gold:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(184, 134, 11, 0.35);
}

.btn-gold-outline {
  background: transparent;
  border: 1.5px solid var(--svm-gold);
  color: var(--svm-gold-dark);
  font-weight: 500;
  padding: 0.6rem 1.7rem;
  border-radius: 2px;
  transition: all .2s ease;
}
.btn-gold-outline:hover {
  background: var(--svm-gold);
  color: #fff;
}

/* ---------------------------------------------------------------------
   Header / Navigation
   --------------------------------------------------------------------- */
/* Two-line header: line 1 = logo + company name, line 2 = menu. */
.site-header {
  background: var(--svm-maroon);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-brand-row {
  background: var(--svm-maroon);
  padding: 0.7rem 0;
}
.header-tagline {
  color: #e8d9bf;
  font-size: 0.82rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.header-tagline-motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--svm-gold-light);
}
.header-toggler {
  color: var(--svm-cream);
  padding: 0.35rem 0.55rem;
  line-height: 1;
}

/* Belt-and-braces: force the menu line's background regardless of which
   Bootstrap utility classes are present on the <nav> element, so a stale
   cached stylesheet or a missing class name can't leave it unstyled. */
.site-header .navbar {
  background-color: var(--svm-maroon-dark) !important;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
}

.bg-maroon {
  background-color: var(--svm-maroon) !important;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--svm-gold-light);
  color: var(--svm-gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.brand-mark-img {
  height: 58px;
  width: auto;
  display: block;
}
.brand-logo:hover .brand-text { color: #fff !important; }
.brand-text {
  line-height: 1.1;
  font-size: 1.6rem;
  color: var(--svm-cream) !important;
}
.brand-text small {
  font-family: var(--font-body);
  letter-spacing: 0.3em;
  font-size: 0.68rem;
  color: var(--svm-gold-light) !important;
}
@media (max-width: 575.98px) {
  .header-brand-row { padding: 0.55rem 0; }
  .brand-mark-img { height: 46px; }
  .brand-text { font-size: 1.2rem; }
  .brand-text small { font-size: 0.6rem; letter-spacing: 0.22em; }
}

/* !important here beats Bootstrap's own .navbar-dark .navbar-nav .nav-link
   rule, which is MORE specific (3 classes) than a plain .navbar-nav .nav-link
   (2 classes) and would otherwise silently win and repaint these links
   semi-transparent white instead of our cream/gold. */
.navbar-nav .nav-link {
  color: var(--svm-cream) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--svm-gold-light) !important;
}

/* Menu line on desktop: every option on one line, gold underline for the current page. */
@media (min-width: 992px) {
  .header-nav-row .navbar-nav .nav-link {
    white-space: nowrap;
    padding: 0.75rem 0.8rem !important;
    border-bottom: 2px solid transparent;
  }
  .header-nav-row .navbar-nav .nav-link.active {
    border-bottom-color: var(--svm-gold-light);
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .header-nav-row .navbar-nav .nav-link {
    font-size: 0.85rem;
    padding: 0.7rem 0.55rem !important;
  }
}
/* Phones / tablets: the collapsed menu opens as a list under line 1. */
@media (max-width: 991.98px) {
  .header-nav-row .navbar-collapse { padding: 0.35rem 0 0.75rem; }
  .header-nav-row .navbar-nav .nav-link { padding: 0.6rem 0.25rem !important; border-bottom: 1px solid rgba(250, 246, 239, 0.08); }
}

.navbar-toggler {
  border-color: rgba(250, 246, 239, 0.4);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.4);
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero-section {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at 85% 15%, #fbf1de 0%, var(--svm-ivory) 55%);
}
.hero-heading {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}
.hero-logo {
  display: block;
  height: 150px;
  width: auto;
  margin-bottom: 1.25rem;
}
.hero-subheading {
  font-size: 1.15rem;
  color: var(--svm-text-muted);
  margin-bottom: 0.5rem;
}
.hero-address {
  color: var(--svm-gold-dark);
  font-weight: 500;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image-frame {
  border: 1px solid var(--svm-border);
  border-radius: 4px;
  padding: 1rem;
  background: #fff;
}
.hero-image-frame img { width: 100%; height: auto; display: block; border-radius: 2px; }

/* ---------------------------------------------------------------------
   Homepage image slider (Bootstrap carousel)
   --------------------------------------------------------------------- */
.home-slider-section {
  background: var(--svm-charcoal);
}
/* Full screen width; height scales with the screen (about a 16:6 banner).
   The whole photo is always shown (never cropped); a blurred, enlarged copy
   fills the width behind square/portrait photos, while wide banner photos
   fill the slide edge to edge. */
.home-slide {
  position: relative;
  width: 100%;
  height: clamp(240px, 38vw, 680px);
  overflow: hidden;
  background: linear-gradient(135deg, #f3e9d2, var(--svm-cream));
}
.home-slide-backdrop {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(1.1) brightness(0.9);
  transform: scale(1.1);
}
.home-slide img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.home-slider-section .carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(43,38,32,0.85), transparent);
  padding: 1.5rem 1rem 1.25rem;
  border-radius: 0;
}
.home-slider-section .carousel-caption h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.home-slider-section .carousel-caption p {
  color: #e8dcc4;
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto;
}
.home-slider-section .carousel-control-prev,
.home-slider-section .carousel-control-next {
  width: 5%;
}
.home-slider-section .carousel-control-prev-icon,
.home-slider-section .carousel-control-next-icon {
  background-color: rgba(184, 134, 11, 0.85);
  border-radius: 50%;
  padding: 1.1rem;
  background-size: 55%;
  background-position: center;
}
.home-slider-section .carousel-indicators [data-bs-target] {
  background-color: var(--svm-gold-light);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.5;
}
.home-slider-section .carousel-indicators .active {
  opacity: 1;
}

@media (max-width: 575.98px) {
  .home-slide { height: 62vw; min-height: 220px; }
  .home-slider-section .carousel-caption h3 { font-size: 1.1rem; }
}

/* ---------------------------------------------------------------------
   Sections
   --------------------------------------------------------------------- */
.section-block { padding: 4.5rem 0; }
.section-heading { margin-bottom: 3rem; }
.section-heading h2 { font-size: 2.1rem; }

.page-header {
  padding: 3.5rem 0 2.5rem;
  background: var(--svm-cream);
  border-bottom: 1px solid var(--svm-border);
}
.page-header h1 { font-size: 2.4rem; }

.heritage-section { background-color: var(--svm-cream); }

/* ---------------------------------------------------------------------
   Category / Product cards
   --------------------------------------------------------------------- */
.category-card, .product-card {
  display: block;
  background: #fff;
  border: 1px solid var(--svm-border);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow .25s ease, transform .25s ease;
}
.category-card:hover, .product-card:hover {
  box-shadow: 0 14px 30px rgba(43, 38, 32, 0.1);
  transform: translateY(-4px);
}
.category-card-image, .product-card-image {
  background: var(--svm-cream);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.category-card-image img, .product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}
.category-card-body, .product-card-body { padding: 1.25rem 1.4rem 1.5rem; }
.category-card-body h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.product-card-body h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.category-card-body p, .product-card-body p {
  font-size: 0.9rem;
  color: var(--svm-text-muted);
  margin-bottom: 0.6rem;
}
.product-weights {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.75rem;
  font-size: 0.82rem;
  margin: 0.5rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid var(--svm-border);
}
.product-weights dt { font-weight: 500; color: var(--svm-charcoal); }
.product-weights dd { margin: 0; color: var(--svm-text-muted); }
.category-card-link {
  color: var(--svm-gold-dark);
  font-weight: 500;
  font-size: 0.88rem;
}

/* ---------------------------------------------------------------------
   Heritage timeline
   --------------------------------------------------------------------- */
.heritage-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--svm-border);
}
.heritage-item { position: relative; margin-bottom: 2.2rem; padding-left: 1.2rem; }
.heritage-item:last-child { margin-bottom: 0; }
.heritage-marker {
  position: absolute;
  left: -2.45rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--svm-gold);
  border: 3px solid var(--svm-ivory);
  box-shadow: 0 0 0 2px var(--svm-gold);
}
.heritage-generation {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--svm-gold-dark);
  margin-bottom: 0.2rem;
}
.heritage-content h4 { font-size: 1.3rem; margin-bottom: 0.1rem; }
.heritage-content p { color: var(--svm-text-muted); margin-bottom: 0; }

/* ---------------------------------------------------------------------
   Our Promise (About page)
   --------------------------------------------------------------------- */
.promise-section {
  background: linear-gradient(135deg, var(--svm-maroon), var(--svm-maroon-dark));
  color: #f6e9ee;
  padding: 4.5rem 0;
  text-align: center;
}
.promise-section .eyebrow { color: var(--svm-gold-light); }
.promise-heading {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: #fff;
  line-height: 1.6;
  margin: 0.5rem 0 2rem;
}
.promise-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--svm-gold-light);
  margin-bottom: 0;
}
.promise-tagline span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d8c9a6;
  margin-top: 0.4rem;
}

/* ---------------------------------------------------------------------
   CTA
   --------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--svm-charcoal), #46392a);
  color: #f4ead3;
  padding: 4rem 0;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-section p { color: #d8c9a6; margin-bottom: 1.75rem; }

/* ---------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------- */
.enquiry-form-card {
  background: #fff;
  border: 1px solid var(--svm-border);
  border-radius: 6px;
  padding: 2rem;
}
.enquiry-form-card h3 { margin-bottom: 1.5rem; font-size: 1.4rem; }
.form-label { font-size: 0.85rem; font-weight: 500; color: var(--svm-charcoal); }
.form-control, .form-select {
  border-radius: 3px;
  border: 1px solid var(--svm-border);
  padding: 0.6rem 0.85rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--svm-gold);
  box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.15);
}

.contact-address {
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--svm-magenta);
  color: #e3d0dc;
}
.footer-brand { color: #fff; margin-bottom: 1rem; }
.footer-heading {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #e3d0dc; text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--svm-gold-light); }
.footer-divider { border-color: rgba(255,255,255,0.15); margin: 1.5rem 0; }

/* Bootstrap's .text-muted utility carries !important and paints a mid-gray
   meant for LIGHT backgrounds - on our dark footer it was nearly invisible.
   Use this instead of .text-muted anywhere inside the footer. */
.footer-muted {
  color: #e3d0dc !important;
  opacity: 0.85;
}

/* ---------------------------------------------------------------------
   Responsive tweaks
   --------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-section { padding: 3rem 0 2.5rem; text-align: center; }
  .hero-actions { justify-content: center; }
  .section-block { padding: 3rem 0; }
}

@media (max-width: 575.98px) {
  .page-header h1 { font-size: 1.9rem; }
  .enquiry-form-card { padding: 1.25rem; }
}

/* ---------------------------------------------------------------------
   Product search (home page panel + /Search)
   --------------------------------------------------------------------- */
.search-panel {
  background: #fff;
  border: 1px solid var(--svm-border);
  border-top: 3px solid var(--svm-gold);
  border-radius: 4px;
  padding: 1.75rem;
  box-shadow: 0 6px 24px rgba(43, 38, 32, 0.06);
}
.product-search-form .form-label { font-weight: 500; font-size: 0.88rem; }
.product-search-form .weight-basis { max-width: 6.5rem; }
.nav-search-link svg { vertical-align: -2px; margin-right: 0.2rem; }

/* "Detailed View" button under each product card image */
.product-card-actions { padding: 0.9rem 1.4rem 0; }
.product-card-actions .btn { padding: 0.35rem 0.75rem; font-size: 0.85rem; }

/* ---------------------------------------------------------------------
   Product Detailed View: zoom / rotate viewer + details
   --------------------------------------------------------------------- */
.image-viewer {
  background: #fff;
  border: 1px solid var(--svm-border);
  border-radius: 4px;
  padding: 0.75rem;
}
.iv-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--svm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;       /* our own pinch/drag instead of page zoom/scroll */
  cursor: zoom-in;
  user-select: none;
  border-radius: 2px;
}
.iv-stage:focus-visible { outline: 2px solid var(--svm-gold); outline-offset: 2px; }
.iv-stage.iv-zoomed { cursor: grab; }
.iv-stage.iv-zoomed:active { cursor: grabbing; }
.iv-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}
.iv-image.iv-animate { transition: transform .2s ease; }
.iv-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
}
.iv-btn {
  min-width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--svm-border);
  background: #fff;
  color: var(--svm-charcoal);
  border-radius: 2px;
  font-size: 1.15rem;
  line-height: 1;
}
.iv-btn:hover, .iv-btn:focus-visible { border-color: var(--svm-gold); color: var(--svm-gold-dark); }
.iv-btn-text { font-size: 0.85rem; padding: 0 0.8rem; }
.iv-zoom-level { min-width: 3.4rem; text-align: center; font-size: 0.85rem; font-weight: 500; }
.iv-sep { width: 1px; height: 1.6rem; background: var(--svm-border); margin: 0 0.3rem; }
.iv-hint { text-align: center; font-size: 0.78rem; color: var(--svm-text-muted); margin: 0.5rem 0 0; }

/* Full screen: the whole viewer fills the screen, stage takes the space. */
.image-viewer.iv-fullscreen {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  padding: 1rem;
}
.image-viewer.iv-fullscreen .iv-stage { flex: 1; aspect-ratio: auto; }

.product-detail-card {
  background: #fff;
  border: 1px solid var(--svm-border);
  border-radius: 4px;
  padding: 1.75rem;
}
.product-detail-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.25rem;
  margin: 0;
}
.product-detail-list dt { font-weight: 500; color: var(--svm-charcoal); }
.product-detail-list dd { margin: 0; color: var(--svm-text-muted); }

@media (max-width: 575.98px) {
  /* Keep the viewer toolbar on one line on phones. */
  .iv-toolbar { gap: 0.25rem; }
  .iv-sep { display: none; }
  .iv-btn { min-width: 2.2rem; }
  .iv-btn-text { padding: 0 0.55rem; }
  .iv-zoom-level { min-width: 2.9rem; }
  .search-panel, .product-detail-card { padding: 1.25rem; }
}

/* ---------------------------------------------------------------------
   Schemes page (/Jewellery/Schemes)
   --------------------------------------------------------------------- */
.scheme-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid var(--svm-border);
  border-top: 3px solid var(--svm-gold);
  border-radius: 4px;
  padding: 1.75rem 1.5rem 1.5rem;
}
.scheme-card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.scheme-card p { font-size: 0.93rem; color: var(--svm-text-muted); margin-bottom: 0.5rem; }
.scheme-card p:last-child { margin-bottom: 0; }
.scheme-card-num {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--svm-border);
  font-weight: 700;
}
.scheme-highlight {
  font-family: var(--font-display);
  font-size: 1.35rem !important;
  font-weight: 600;
  color: var(--svm-maroon) !important;
}
.scheme-highlight span { color: var(--svm-gold); padding: 0 0.2rem; }
/* The display font defaults to old-style figures; amounts read better with even-height digits. */
.scheme-highlight, .scheme-instalment-value, .scheme-card-num { font-variant-numeric: lining-nums; }

.scheme-calculator-section { background: var(--svm-cream); }
.scheme-calc-panel,
.scheme-calc-result {
  height: 100%;
  background: #fff;
  border: 1px solid var(--svm-border);
  border-radius: 4px;
  padding: 1.75rem;
}
.scheme-calc-panel .form-label { font-weight: 500; }
.scheme-calc-panel .btn-check:checked + .btn-outline-dark {
  background: var(--svm-maroon);
  border-color: var(--svm-maroon);
  color: #fff;
}
.scheme-calc-empty { padding: 3rem 0; text-align: center; }
.scheme-instalment {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.1rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fbf1de, var(--svm-cream));
  border: 1px solid #ecd9ae;
  border-radius: 4px;
}
.scheme-instalment-label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--svm-gold-dark); font-weight: 500; }
.scheme-instalment-value { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--svm-maroon); line-height: 1.2; }
.scheme-instalment-note { font-size: 0.85rem; color: var(--svm-text-muted); }
.scheme-breakdown th { font-weight: 400; color: var(--svm-text-muted); }
.scheme-breakdown td { text-align: right; font-weight: 500; white-space: nowrap; }
.scheme-breakdown-total th, .scheme-breakdown-total td { font-weight: 600; color: var(--svm-charcoal); }
.scheme-penalty {
  font-size: 0.88rem;
  background: #fdf1f1;
  border-left: 3px solid var(--svm-maroon);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.scheme-schedule summary { cursor: pointer; color: var(--svm-gold-dark); font-weight: 500; font-size: 0.9rem; }
.scheme-disclaimer { font-size: 0.78rem; color: var(--svm-text-muted); margin-top: 1rem; }
@media (max-width: 575.98px) {
  .scheme-calc-panel, .scheme-calc-result { padding: 1.25rem; }
  .scheme-instalment-value { font-size: 2.1rem; }
}

/* Live market rate panel (Schemes page, wwwroot/js/live-rates.js) */
.live-rate-panel {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border: 1px solid #ecd9ae;
  border-left: 4px solid var(--svm-gold);
  border-radius: 4px;
  padding: 1rem 1.4rem;
}
.live-rate-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--svm-charcoal);
  margin-bottom: 0.6rem;
}
.live-rate-gst {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--svm-gold-dark);
  border: 1px solid #ecd9ae;
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1f9d55;
  box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.5);
  animation: live-pulse 2s infinite;
}
.live-rate-stale-state .live-dot { background: #c98a00; animation: none; }
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(31, 157, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0); }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.live-rate-values { display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; }
.live-rate-item { display: flex; flex-direction: column; }
.live-rate-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--svm-text-muted); }
.live-rate-value {
  font-family: var(--font-display);
  font-variant-numeric: lining-nums;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--svm-maroon);
  line-height: 1.15;
}
.live-rate-unit { font-size: 0.82rem; color: var(--svm-text-muted); }
.live-rate-foot { font-size: 0.76rem; color: var(--svm-text-muted); margin-top: 0.6rem; }
.live-rate-stale { color: #a36b00; font-weight: 500; }

/* "Add to Home Screen" footer link + instructions (wwwroot/js/add-to-home.js) */
.a2hs-icon { vertical-align: -2px; margin-right: 0.25rem; }
.a2hs-modal .modal-header { gap: 0.75rem; }
.a2hs-app-icon { border-radius: 10px; flex-shrink: 0; }
.a2hs-steps { padding-left: 1.2rem; margin-bottom: 0.75rem; }
.a2hs-steps li { margin-bottom: 0.45rem; }
.a2hs-inline-icon { vertical-align: -3px; color: #0a84ff; }

/* "Share on WhatsApp" (product details page) */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  border: none;
  color: #fff;
  font-weight: 500;
  border-radius: 2px;
  padding: 0.6rem 1.4rem;
}
.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: #1ebe5b;
  color: #fff;
}
