/* magicamrit.com — mobile first */
:root {
  --green: #16461E;
  --green-2: #1f5c2a;
  --gold: #D9A82E;
  --gold-2: #c4951f;
  --cream: #FBF8F0;
  --ink: #23271f;
  --muted: #5d6458;
  --line: #e7e1d0;
  --red: #c62828;
  --white: #fff;
  --radius: 14px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
}
body.has-callbar { padding-bottom: 64px; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; margin: 0 0 .5em; color: var(--green); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 2px solid transparent;
  font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-gold { background: var(--gold); color: #1d1606; }
.btn-gold:hover { background: var(--gold-2); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-2); }
.btn-outline { background: var(--white); color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: #eef4ec; }
.btn-big { min-height: 54px; padding: 14px 28px; font-size: 19px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, .slides:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}

/* Header */
.site-header { background: var(--green); color: var(--white); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; min-width: 0; }
.brand-logo { height: 40px; width: auto; border-radius: 50%; background: var(--white); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name sup, .footer-brand sup { font-size: .5em; margin-left: 1px; }
.btn-header { background: var(--gold); color: #1d1606; min-height: 38px; padding: 6px 18px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(150deg, var(--green) 0%, #0f3315 60%, #2b5a1f 100%);
  min-height: 340px; display: flex; align-items: flex-end;
}
.hero.has-cover { min-height: 62vh; max-height: 560px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero.has-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,30,12,.85) 0%, rgba(10,30,12,.45) 50%, rgba(10,30,12,.1) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 36px; }
.hero h1 { color: var(--white); font-size: 34px; max-width: 16em; }
.hero-tagline { margin: 0 0 6px; color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.hero-sub { margin: 0 0 22px; font-size: 18px; max-width: 34em; opacity: .95; }

/* Products */
.products, .lead { padding: 40px 0; }
.section-title { font-size: 28px; text-align: center; margin-bottom: 22px; }
.product-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.card {
  position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(22,70,30,.07);
  display: flex; flex-direction: column;
}
.slider { position: relative; background: var(--white); }
.slides {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; aspect-ratio: 1 / 1;
}
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; }
.dot { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.dot::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: rgba(22,70,30,.3); transition: background-color .15s, transform .15s;
}
.dot.active::before { background: var(--green); transform: scale(1.2); }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--red); color: var(--white);
  font-weight: 700; font-size: 14px; padding: 4px 10px; border-radius: 6px; z-index: 2;
}
.badge-static { position: static; align-self: flex-start; margin: 16px 0 0 18px; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 22px; margin-bottom: 6px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 10px; }
.price .sale { font-size: 28px; font-weight: 700; color: var(--green); }
.price .mrp { color: var(--muted); font-size: 16px; }
.price .save { color: var(--red); font-weight: 700; font-size: 16px; }
.desc { color: var(--ink); font-size: 16px; margin-bottom: 14px; }
.desc p { margin: 0 0 .6em; }
.desc ul { margin: 0 0 .6em; padding-left: 1.2em; }
.card-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-actions .btn { padding: 10px 8px; font-size: 15px; }
.card-actions .btn:only-child { grid-column: 1 / -1; }

/* Lead form */
.lead-box {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  padding: 26px 18px; max-width: 900px; margin: 0 auto; box-shadow: 0 4px 16px rgba(22,70,30,.07);
}
.lead-intro { text-align: center; color: var(--muted); margin: -10px 0 18px; }
.lead-product { margin: 0 0 12px; font-weight: 500; color: var(--green); text-align: center; }
.form-row { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 4px; font-weight: 500; font-size: 15px; }
.field input {
  font: 400 17px var(--body); padding: 11px 14px; min-height: 48px; border: 1.5px solid #cfc8b4;
  border-radius: 10px; background: #fffdf8; color: var(--ink); width: 100%;
}
.field input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(22,70,30,.15); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.form-row .btn { min-height: 48px; align-self: end; }
.form-msg { display: none; margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: #fdf5df; border: 1px solid #ecd9a0; }
.form-msg.show { display: block; }
.form-msg.error { background: #fdecea; border-color: #f2c0bb; color: #8a1c13; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Simple pages */
.page { padding-top: 36px; padding-bottom: 48px; max-width: 760px; }
.page h1 { font-size: 32px; }
.page h2 { font-size: 21px; margin-top: 1.4em; }

/* Footer */
.site-footer { background: var(--green); color: #e8efe6; padding: 32px 0 18px; font-size: 15px; line-height: 1.5; }
.site-footer a { color: var(--white); }
.footer-inner { display: grid; gap: 20px; }
.footer-inner p { margin: 0 0 4px; }
.footer-brand { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--white); }
.footer-h { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; }
.footer-bottom { margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); text-align: center; }
.footer-bottom p { margin: 0; }
.copyright { opacity: .8; font-size: 14px; }
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
}

/* Mobile call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--gold); color: #1d1606;
  font-weight: 700; font-size: 18px; text-decoration: none; box-shadow: 0 -4px 14px rgba(0,0,0,.15);
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .lead-box { padding: 32px; }
}
@media (min-width: 960px) {
  body.has-callbar { padding-bottom: 0; }
  .callbar { display: none; }
  .header-inner { min-height: 72px; }
  .brand-logo { height: 48px; }
  .brand-name { font-size: 24px; }
  .btn-header { min-height: 44px; padding: 8px 24px; }
  .hero, .hero.has-cover { min-height: 460px; max-height: none; height: 520px; }
  .hero:not(.has-cover) { height: auto; min-height: 400px; }
  .hero { align-items: center; }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; }
  .hero h1 { font-size: 52px; }
  .hero-sub { font-size: 20px; }
  .hero.has-cover::after { background: linear-gradient(to right, rgba(10,30,12,.85) 0%, rgba(10,30,12,.55) 45%, rgba(10,30,12,.05) 80%); }
  .products, .lead { padding: 64px 0; }
  .section-title { font-size: 36px; margin-bottom: 32px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
