:root {
  --red-900: #4d0b0b;
  --red-800: #6e1010;
  --red-700: #8f1a14;
  --red-600: #b3261a;
  --gold-500: #d9a63a;
  --gold-400: #e8c066;
  --gold-200: #f5e2b0;
  --cream: #fdf6e7;
  --paper: #fffaf0;
  --ink: #2e1408;
  --muted: #7a5a44;
  --green: #1f9d55;
  --green-dark: #167a41;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hind", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(217,166,58,.18), transparent 40%),
    var(--cream);
  line-height: 1.55;
  padding-bottom: 96px;
}
h1, h2, h3 { font-family: "Rozha One", Georgia, serif; font-weight: 400; margin: 0; }

/* Hero */
.hero {
  position: relative;
  color: var(--cream);
  text-align: center;
  padding: 64px 20px 72px;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(232,192,102,.35), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--red-600), var(--red-800) 55%, var(--red-900));
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 28px;
  background: radial-gradient(circle at 14px 0, transparent 14px, var(--cream) 14.5px) repeat-x;
  background-size: 28px 28px;
}
.hero-border {
  position: absolute; inset: 14px;
  border: 1.5px solid rgba(232,192,102,.55);
  border-radius: 24px;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.eyebrow {
  margin: 0 0 14px;
  letter-spacing: .22em; text-transform: uppercase;
  font-size: .8rem; font-weight: 600;
  color: var(--gold-400);
  display: inline-flex; align-items: center; gap: 10px;
}
.dot { width: 6px; height: 6px; background: var(--gold-400); transform: rotate(45deg); display: inline-block; }
.hero h1 {
  font-size: clamp(3rem, 9vw, 5.4rem);
  line-height: .95;
  color: var(--gold-200);
  text-shadow: 0 3px 0 var(--red-900), 0 10px 30px rgba(0,0,0,.35);
}
.hero h1 span { display: block; font-size: .48em; color: var(--cream); letter-spacing: .02em; margin-top: 8px; }
.ribbon {
  display: inline-flex; flex-direction: column; align-items: center;
  margin: 26px auto 20px;
  padding: 10px 34px 12px;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--red-900);
  clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.ribbon .telugu { font-family: "Ramabhadra", sans-serif; font-size: .95rem; line-height: 1.3; }
.ribbon strong { font-family: "Rozha One", serif; font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.lede { max-width: 560px; margin: 0 auto 28px; color: #f8e6d0; font-size: 1.05rem; }
.phone { margin: 12px 0 0; color: var(--gold-400); font-weight: 600; letter-spacing: .06em; }

/* Buttons */
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--green); color: #fff;
  font-weight: 700; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; border: 0;
  box-shadow: 0 6px 16px rgba(31,157,85,.35);
  transition: transform .15s, background .15s;
  font-family: inherit; font-size: 1rem; cursor: pointer;
}
.btn-wa:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-wa svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn-lg { font-size: 1.15rem; padding: 16px 30px; border: 2px solid rgba(255,255,255,.35); }

/* Intro */
main { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.intro { text-align: center; padding: 40px 0 8px; }
.intro h2 { font-size: clamp(2rem, 5vw, 2.6rem); color: var(--red-700); }
.intro p { color: var(--muted); margin: 6px 0 0; }

/* Cards */
.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  padding: 28px 0 48px;
}
.card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid #efdcb5;
  box-shadow: 0 1px 0 #fff inset, 0 10px 30px -12px rgba(110,16,16,.25);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card-head {
  padding: 20px 22px 18px;
  background: linear-gradient(135deg, var(--red-700), var(--red-800));
  color: var(--cream);
  border-bottom: 3px solid var(--gold-500);
  position: relative;
}
.card-head .emoji { position: absolute; right: 18px; top: 14px; font-size: 2rem; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.card-head h3 { font-size: 1.5rem; line-height: 1.15; color: var(--gold-200); padding-right: 44px; }
.card-head .te { font-family: "Ramabhadra", sans-serif; font-size: .9rem; color: var(--gold-400); margin-top: 2px; }
.card-head .desc { margin: 8px 0 0; font-size: .92rem; color: #f3d9c4; }
.badge {
  position: absolute; left: 18px; bottom: -13px;
  background: var(--gold-500); color: var(--red-900);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.card-body { padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; }

.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 0; padding: 0; margin: 0; }
.sizes legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.size {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 4px;
  border: 1.5px solid #ead4a6; border-radius: 12px;
  background: #fff; cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
  text-align: center;
}
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size .w { font-weight: 700; font-size: .95rem; color: var(--red-800); }
.size .p { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.size .r { font-size: .78rem; color: var(--muted); text-decoration: line-through; }
.size:hover { border-color: var(--gold-500); }
.size:has(input:checked) { border-color: var(--red-600); background: #fff3e0; box-shadow: 0 0 0 3px rgba(179,38,26,.12); }
.size:has(input:focus-visible) { outline: 2px solid var(--red-600); outline-offset: 2px; }
.size.na { cursor: default; background: repeating-linear-gradient(135deg, #faf3e3 0 6px, #f5ecd8 6px 12px); border-style: dashed; }
.size.na .w { color: #b39a7e; }
.size.na .p { font-size: .78rem; color: #a08468; font-weight: 500; }

.price-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price-line .now { font-family: "Rozha One", serif; font-size: 2rem; color: var(--red-700); line-height: 1; }
.price-line .was { color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.save { background: #e8f6ec; color: var(--green-dark); font-weight: 700; font-size: .85rem; padding: 4px 10px; border-radius: 999px; }

.actions { display: flex; gap: 10px; margin-top: auto; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #ead4a6; border-radius: 999px; background: #fff; }
.qty button { width: 38px; height: 42px; border: 0; background: none; font-size: 1.2rem; color: var(--red-700); cursor: pointer; font-weight: 700; }
.qty output { min-width: 22px; text-align: center; font-weight: 700; }
.add {
  flex: 1; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--red-900); font-weight: 700; font-family: inherit; font-size: 1rem;
  cursor: pointer; padding: 0 16px;
  box-shadow: 0 4px 0 #b8862a;
  transition: transform .1s, box-shadow .1s;
}
.add:active { transform: translateY(3px); box-shadow: 0 1px 0 #b8862a; }
.add.added { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-dark); }

/* Promise */
.promise {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px;
  padding: 32px; margin-bottom: 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff3d6, #fbe6b8);
  border: 1px solid #ecd197;
  text-align: center;
}
.promise .icon { font-size: 2rem; }
.promise h3 { color: var(--red-700); font-size: 1.35rem; margin-top: 4px; }
.promise p { margin: 4px 0 0; color: var(--muted); }

footer {
  text-align: center; padding: 32px 20px 40px;
  background: var(--red-900); color: #e9cfb8;
  border-top: 4px solid var(--gold-500);
}
footer p { margin: 4px 0; }
footer strong { color: var(--gold-400); }
footer a { color: var(--gold-200); font-weight: 600; }

/* Order bar */
.order-bar {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
  width: min(720px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px;
  background: var(--red-800); color: var(--cream);
  border: 1.5px solid var(--gold-500);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(46,20,8,.4);
  z-index: 10;
  animation: rise .25s ease-out;
}
.order-bar[hidden] { display: none; }
@keyframes rise { from { transform: translate(-50%, 20px); opacity: 0; } }
.order-summary { position: relative; }
.order-toggle { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 6px 0; }
.order-toggle strong { color: var(--gold-200); font-size: 1.1rem; }
.chev { display: inline-block; margin-left: 4px; color: var(--gold-400); transition: transform .15s; }
.order-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.order-list {
  position: absolute; bottom: calc(100% + 18px); left: -18px;
  width: min(360px, calc(100vw - 24px));
  list-style: none; margin: 0; padding: 12px;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--gold-500); border-radius: 16px;
  box-shadow: 0 14px 40px rgba(46,20,8,.3);
}
.order-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 4px; border-bottom: 1px dashed #ead4a6; }
.order-list li:last-child { border-bottom: 0; }
.order-list .remove { border: 0; background: none; color: var(--red-600); cursor: pointer; font-size: 1.1rem; }

@media (max-width: 480px) {
  .hero { padding: 48px 16px 64px; }
  .order-bar { border-radius: 20px; }
  .order-bar .btn-wa { padding: 12px 16px; font-size: .95rem; }
}
