/* eSwara.com — brick red / brown / mustard */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --bg: #f7f0e4;
  --bg-deep: #ebe0cf;
  --surface: #fffaf2;
  --ink: #2a1810;
  --muted: #6b4f3c;
  --line: #d9c4a8;
  --brick: #9c2f1a;
  --brick-dark: #6e1c0e;
  --brown: #5c3a24;
  --mustard: #d4a017;
  --mustard-soft: #f0d58a;
  --hero: #3a2116;
  --glow: rgba(212, 160, 23, 0.35);
  --max: 70rem;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(58, 33, 22, 0.14);
  --font: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(212, 160, 23, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(156, 47, 26, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  line-height: 1.55;
  min-height: 100vh;
}

a { color: var(--brick-dark); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(135deg, #351a11 0%, #4a2819 48%, #633820 100%);
  color: #f8efe2;
  border-bottom: 4px solid var(--mustard);
  box-shadow: 0 8px 24px rgba(42, 24, 16, 0.28);
}

.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--brick) 0 18px,
    var(--mustard) 18px 28px,
    transparent 28px 36px
  );
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  color: inherit;
  text-decoration: none;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.7rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand span { color: var(--mustard-soft); }

.brand-mark {
  width: 1.65rem;
  height: 2.55rem;
  object-fit: contain;
  flex: 0 0 auto;
  margin-right: 0.55rem;
  filter:
    drop-shadow(0 0 2px rgba(255, 241, 205, 0.9))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(240, 213, 138, 0.45);
  color: #fff;
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.site-nav a {
  color: #e7d8c4;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.2rem 0;
}

.site-nav a:hover,
.site-nav a.active { color: #fff; }
.site-nav a.active { border-bottom: 2px solid var(--mustard); }

.nav-amazon {
  background: linear-gradient(135deg, var(--mustard), #e8bd3d);
  color: var(--hero) !important;
  font-weight: 700 !important;
  padding: 0.35rem 0.75rem !important;
  border-radius: 999px;
  border-bottom: none !important;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3.5rem;
}

.hero-block {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.6rem 1.5rem 1.7rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(156, 47, 26, 0.92), rgba(92, 58, 36, 0.95)),
    radial-gradient(circle at 90% 20%, rgba(212, 160, 23, 0.45), transparent 40%);
  color: #fff8ec;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-block::before {
  content: "♪";
  position: absolute;
  right: 1.2rem;
  top: 0.4rem;
  font-size: 5rem;
  opacity: 0.12;
  font-family: var(--display);
}

.hero-block h1 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
}

.lead {
  margin: 0;
  color: inherit;
  opacity: 0.92;
  font-size: 1.08rem;
  max-width: 44rem;
}

.hero-block .lead { color: #f4e4cc; }

.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0 0 2rem;
  padding: 0.95rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--muted);
  box-shadow: 0 4px 16px rgba(92, 58, 36, 0.06);
}

.strip strong { color: var(--brown); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.35rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brick), var(--mustard));
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-card .thumb {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 30% 30%, rgba(240, 213, 138, 0.55), transparent 50%),
    linear-gradient(145deg, #f3e6d0, #dcc8a8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-card .thumb img {
  object-fit: contain;
  max-height: 100%;
}

.product-card .body {
  padding: 1rem 1.15rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.35rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.price-line {
  margin: 0.85rem 0 0.95rem !important;
  font-weight: 700;
  font-size: 1rem !important;
  color: var(--ink) !important;
}

.price-line small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brick), var(--brick-dark));
  color: #fff;
  border-color: var(--brick-dark);
  box-shadow: 0 6px 16px rgba(156, 47, 26, 0.28);
}

.btn-primary:hover { background: var(--brick-dark); }

.btn-mustard {
  background: linear-gradient(135deg, var(--mustard), #c49112);
  color: var(--hero);
  border-color: #b8860b;
}

.btn-secondary {
  background: transparent;
  color: var(--brown);
  border-color: var(--line);
}

.btn-secondary:hover { border-color: var(--brick); color: var(--brick); }

.product-detail .hero-media {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(92, 58, 36, 0.08);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.product-gallery figure {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(92, 58, 36, 0.08);
}

.product-gallery figure:first-child {
  grid-column: 1 / -1;
}

.product-gallery img {
  width: 100%;
  height: 18rem;
  object-fit: contain;
  padding: 0.8rem;
  background: #fff;
}

.product-gallery figure:first-child img {
  height: min(30rem, 60vw);
}

.product-gallery figcaption {
  padding: 0.55rem 0.8rem 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--line);
  padding: 0.6rem 0.8rem;
  text-align: left;
}

.spec-table th {
  background: linear-gradient(90deg, #f3e2c4, #f8edd8);
  width: 38%;
  color: var(--brown);
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.variant-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: 0 6px 18px rgba(92, 58, 36, 0.06);
}

.variant-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.25rem;
}

.faq { margin-top: 2rem; }
.faq h2 { font-family: var(--display); font-size: 1.5rem; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.55rem;
}

.faq summary { cursor: pointer; font-weight: 600; color: var(--brown); }

.video-slot {
  margin: 1.5rem 0;
  padding: 2rem 1rem;
  text-align: center;
  background: linear-gradient(145deg, #f2e5cf, #e8d7b8);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
}

.about-story {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.55rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 22px rgba(92, 58, 36, 0.06);
}

.about-story h2 {
  margin-top: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--brick-dark);
}

.contact-grid,
.order-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.contact-card,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: 0 8px 22px rgba(92, 58, 36, 0.06);
}

.contact-card h2,
.panel h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--brick-dark);
}

.order-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0.75rem 0 0.3rem;
  color: var(--brown);
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf8;
  font: inherit;
  color: var(--ink);
}

.order-form textarea { min-height: 5rem; resize: vertical; }

.phone-input {
  display: flex;
  align-items: stretch;
}

.phone-input .country-code {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: var(--bg-deep);
  color: var(--brown);
  font-weight: 700;
}

.order-form .phone-input input {
  border-radius: 0 10px 10px 0;
}

.order-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.order-form .hp {
  position: absolute;
  left: -10000px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.order-summary {
  background: linear-gradient(160deg, #fff8ea, #f4e3c2);
  border: 1px solid var(--mustard-soft);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  margin: 1rem 0;
}

.order-summary strong { color: var(--brick-dark); }

.india-banner {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(156, 47, 26, 0.08);
  border: 1px solid rgba(156, 47, 26, 0.2);
  color: var(--brick-dark);
  font-size: 0.92rem;
}

.pay-step { display: none; }
.pay-step.is-visible { display: grid; }

.upi-box {
  text-align: center;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.upi-box img {
  margin: 0.75rem auto;
  max-width: min(100%, 320px);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.form-error {
  color: var(--brick);
  background: rgba(156, 47, 26, 0.08);
  border: 1px solid rgba(156, 47, 26, 0.25);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  margin: 0.75rem 0;
  display: none;
}

.form-error.is-visible { display: block; }

.form-success {
  color: #1f5a2e;
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.25);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  margin: 0.75rem 0;
}

.amazon-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #3a2116, #5c3a24 55%, #9c2f1a);
  color: #fff6e8;
  box-shadow: var(--shadow);
}

.amazon-banner p { margin: 0; max-width: 36rem; }
.amazon-banner strong { color: var(--mustard-soft); }

.site-footer {
  margin-top: 2rem;
  padding: 1.75rem 1.25rem 2.25rem;
  background: linear-gradient(180deg, #2c160f, #1a0e09);
  color: #c9b8a4;
  font-size: 0.86rem;
  border-top: 4px solid var(--mustard);
}

.site-footer-inner { max-width: var(--max); margin: 0 auto; }
.site-footer a { color: var(--mustard-soft); }
.site-footer p { margin: 0.35rem 0; }

.notice {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.22);
  color: var(--brown);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .contact-grid,
  .order-layout { grid-template-columns: 1fr; }
  .order-form .row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav.is-open { display: flex; }

  .site-header-inner {
    padding: 0.55rem 0.9rem;
  }

  main {
    padding: 1rem 0.85rem 2.5rem;
  }

  .hero-block {
    padding: 1.25rem 1rem 1.35rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery img,
  .product-gallery figure:first-child img {
    height: auto;
    max-height: 25rem;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 1.4rem;
  }

  .brand-mark {
    width: 1.35rem;
    height: 2.1rem;
  }

  .nav-toggle {
    min-height: 2.75rem;
    padding-inline: 0.9rem;
  }

  .site-nav a {
    width: 100%;
    padding: 0.55rem 0;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-gallery figure:first-child {
    grid-column: auto;
  }

  .card-actions .btn,
  .order-form > .btn {
    width: 100%;
    text-align: center;
  }

  .spec-table {
    font-size: 0.84rem;
  }

  .spec-table th,
  .spec-table td {
    padding: 0.5rem;
  }
}
