/* ═══════════════════════════════════════════════════════════════
   Dronacharya Academy — shared styles (landing + notes store)
   Minimal: one accent colour, hairline borders, lots of space.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --tint: #f2f3ee;
  --ink: #17221d;
  --muted: #5f6b64;
  --soft: #8d968f;
  --line: #e6e7e1;
  --accent: #1f4a3a;
  --accent-hover: #173a2d;
  --accent-soft: #e7eee9;
  --warm: #c9832a;
  --warm-soft: #f7eddf;
  --red: #d93a2b;
  --radius: 14px;
  --heading: "Manrope", "Mukta", system-ui, sans-serif;
  --body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.accent {
  color: var(--accent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--warm);
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dot {
  display: none;
}

.lead,
.section-lead {
  color: var(--muted);
  font-size: 18px;
}

.soon-tag,
.sample-tag {
  padding: 1px 9px;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.link-arrow {
  color: var(--accent);
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

.btn-outline {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-youtube {
  background: var(--red);
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #08381c;
}

.btn-whatsapp:hover {
  background: #1fbe5a;
}

.btn-block {
  width: 100%;
}

.btn.is-added {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

/* ───────── Header ───────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(250, 250, 247, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--heading);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text small {
  color: var(--soft);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav > a:not(.btn) {
  color: var(--muted);
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav > a:not(.btn):hover,
.site-nav > a[aria-current="page"] {
  color: var(--ink);
}

.cart-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle .bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ───────── Sections ───────── */
.section {
  padding: 104px 0;
}

.section-tight {
  padding: 0 0 104px;
}

.section-tint {
  background: var(--tint);
}

.section-head {
  margin-bottom: 48px;
}

.section-head-left {
  margin-bottom: 0;
}

.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

/* ───────── Hero ───────── */
.hero {
  padding: 64px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 72px;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.hero-hindi {
  max-width: 520px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 40px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

.hero-facts li::before {
  margin-right: 8px;
  color: var(--accent);
  font-weight: 800;
  content: "✓";
}

.hero-portrait {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  text-decoration: none;
  aspect-ratio: 4 / 5;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s ease;
}

.hero-portrait:hover img {
  transform: scale(1.03);
}

.portrait-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 60px 24px 22px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
}

.portrait-caption strong {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 800;
}

.portrait-caption span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

/* ───────── Faculty ───────── */
.faculty {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.faculty-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  margin-bottom: 72px;
}

.faculty h2 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
}

.faculty-body .lead {
  margin-bottom: 24px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 4px 14px;
  border-radius: 99px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.faculty-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.video-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.video-head h3 {
  font-size: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
}

.video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #222;
  aspect-ratio: 16 / 9;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 15px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.04);
}

.video-card:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-card strong {
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

/* ───────── Courses ───────── */
.course-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.course-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.course-abbr {
  width: 84px;
  flex: none;
  color: var(--warm);
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-list h3 {
  font-size: 18px;
}

.course-list p {
  color: var(--muted);
  font-size: 15px;
}

.course-help h3 {
  color: var(--muted);
}

.course-help {
  padding-left: 104px !important;
}

/* ───────── Results ───────── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.result-avatar {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 14px;
}

.result-avatar img,
.result-avatar > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
  color: #fff;
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 800;
}

.result-avatar i {
  display: none;
}

.result-name {
  font-family: var(--heading);
  font-size: 17px;
  line-height: 1.25;
}

.result-post {
  margin: 6px 0 2px;
  color: var(--accent);
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 800;
}

.result-exam {
  color: var(--muted);
  font-size: 14px;
}

.result-place {
  margin-top: 2px;
  color: var(--soft);
  font-size: 13px;
}

.results-note {
  margin-top: 32px;
  color: var(--muted);
  font-size: 16px;
}

.results-note a {
  color: var(--accent);
  font-weight: 700;
}

/* ───────── Notes banner ───────── */
.notes-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 44px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.notes-banner:hover {
  border-color: var(--accent);
}

.notes-banner .eyebrow {
  margin-bottom: 8px;
}

.notes-banner h2 {
  margin-bottom: 6px;
  font-size: clamp(22px, 2.4vw, 28px);
}

.notes-banner p:not(.eyebrow) {
  color: var(--muted);
}

/* ───────── Contact ───────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
}

.contact-grid h2 {
  margin-bottom: 10px;
}

.contact-grid .lead {
  margin-bottom: 32px;
}

.enquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.enquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.enquiry-form label:nth-of-type(n + 3),
.enquiry-form .btn,
.form-status {
  grid-column: 1 / -1;
}

.enquiry-form label > span {
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
}

.enquiry-form em {
  color: var(--soft);
  font-style: normal;
  font-weight: 500;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.enquiry-form textarea {
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-status {
  min-height: 1.4em;
  font-size: 15px;
  font-weight: 600;
}

.form-status.is-ok {
  color: var(--accent);
}

.form-status.is-error {
  color: var(--red);
}

.visit-list {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

.visit-list dt {
  margin-bottom: 2px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.visit-list dd {
  font-size: 17px;
}

.visit-phone {
  color: var(--accent);
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.visit-phone:hover {
  text-decoration: underline;
}

.map-frame {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
  aspect-ratio: 16 / 11;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ───────── FAQ ───────── */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  align-items: start;
  gap: 64px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-family: var(--heading);
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 400;
  content: "+";
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  padding: 0 0 20px;
  color: var(--muted);
}

.faq-list details a {
  color: var(--accent);
  font-weight: 600;
}

/* ───────── Footer ───────── */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--heading);
  font-size: 18px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 15px;
}

.footer-brand a {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 14px;
}

/* ═══════════ NOTES STORE ═══════════ */
.store-hero {
  padding: 56px 0 48px;
}

.store-hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 48px;
}

.store-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(36px, 4.6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.how-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

.how-buy div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.how-buy b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--heading);
  font-size: 13px;
  flex: none;
}

.launch-banner {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.launch-icon {
  display: none;
}

.launch-banner strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--heading);
}

.launch-banner p {
  color: var(--muted);
  font-size: 15px;
}

.launch-banner a {
  color: var(--accent);
}

.store-tools {
  position: sticky;
  top: 72px;
  z-index: 10;
  padding: 12px 0;
  border-block: 1px solid var(--line);
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.store-tools-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 99px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.filter:hover {
  color: var(--ink);
}

.filter[aria-pressed="true"] {
  border-color: var(--ink);
  color: var(--ink);
}

.search {
  position: relative;
  flex: 0 0 260px;
}

.search input {
  width: 100%;
  min-height: 40px;
  padding: 0 14px 0 38px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.search input:focus {
  border-color: var(--accent);
  outline: none;
}

.search svg {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 16px;
  color: var(--soft);
  transform: translateY(-50%);
}

.store-body {
  padding: 32px 0 96px;
}

.result-count {
  margin-bottom: 16px;
  color: var(--soft);
  font-size: 15px;
}

.empty {
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.15s ease;
  scroll-margin-top: 140px;
}

.product:hover {
  border-color: #cfd3ca;
}

.product.is-highlight {
  outline: 2px solid var(--warm);
  outline-offset: 2px;
}

.cover {
  position: relative;
  display: grid;
  place-items: center;
  height: 176px;
  background: var(--tint);
}

.book {
  position: relative;
  display: flex;
  width: 108px;
  height: 140px;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 10px 10px 16px;
  border-radius: 3px 8px 8px 3px;
  color: #fff;
  box-shadow: inset 5px 0 0 rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.12);
}

.book-label {
  font-family: var(--heading);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

.book-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.book-foot {
  font-size: 8px;
  opacity: 0.75;
}

.book-foot i {
  display: none;
}

.cover-green .book, .cart-thumb.cover-green { background: #2f6a53; }
.cover-orange .book, .cart-thumb.cover-orange { background: #c9832a; }
.cover-blue .book, .cart-thumb.cover-blue { background: #33698a; }
.cover-plum .book, .cart-thumb.cover-plum { background: #7a4f7d; }
.cover-slate .book, .cart-thumb.cover-slate { background: #4a5760; }
.cover-sand .book, .cart-thumb.cover-sand { background: #9a7a49; }

.product-badge,
.product-status {
  position: absolute;
  top: 12px;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.product-badge {
  left: 12px;
  color: var(--ink);
}

.product-status {
  right: 12px;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.product-cat {
  margin-bottom: 4px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product h3 {
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.3;
}

.product-covers {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 16px;
  color: var(--soft);
  font-size: 13px;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.price b {
  font-family: var(--heading);
  font-size: 21px;
  font-weight: 800;
}

.price s {
  color: var(--soft);
  font-size: 14px;
}

.price em {
  color: var(--accent);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.product .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 25, 20, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  width: min(420px, 100%);
  flex-direction: column;
  background: var(--bg);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  font-size: 22px;
}

.icon-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
}

.drawer-items {
  flex: 1;
  padding: 8px 22px;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  height: 56px;
  border-radius: 4px;
}

.cart-item strong {
  display: block;
  font-family: var(--heading);
  font-size: 15px;
  line-height: 1.3;
}

.cart-item span {
  color: var(--muted);
  font-size: 15px;
}

.remove-btn {
  border: 0;
  background: none;
  color: var(--soft);
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

.remove-btn:hover {
  color: var(--red);
}

.drawer-empty {
  padding: 60px 10px;
  color: var(--muted);
  text-align: center;
}

.drawer-empty span {
  display: block;
  margin-bottom: 10px;
  font-size: 36px;
}

.drawer-foot {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  color: var(--muted);
}

.total-row.grand {
  margin: 8px 0 16px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 800;
}

.total-row .save {
  color: var(--accent);
  font-weight: 600;
}

/* Checkout modal */
.modal {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.modal::backdrop {
  background: rgba(15, 25, 20, 0.45);
}

.modal-inner {
  padding: 30px 28px 26px;
}

.modal-inner h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.modal-inner > p {
  margin-bottom: 18px;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.order-summary {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--tint);
  font-size: 15px;
}

.order-summary ul {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.order-summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
}

.order-total {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.upi-box {
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px dashed var(--accent);
  border-radius: 10px;
  font-size: 15px;
}

.upi-box code {
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

.modal-actions {
  display: grid;
  gap: 10px;
}

.fine-print {
  margin-top: 12px;
  color: var(--soft);
  font-size: 13px;
  text-align: center;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ═══════════ Responsive ═══════════ */
@media (max-width: 1000px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 920px) {
  body {
    font-size: 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav > .btn {
    margin-top: 16px;
  }

  .section {
    padding: 80px 0;
  }

  .section-tight {
    padding: 0 0 80px;
  }

  .hero {
    padding: 40px 0 72px;
  }

  .hero-grid,
  .faculty-grid,
  .contact-grid,
  .faq-wrap,
  .store-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-portrait {
    width: min(420px, 100%);
    aspect-ratio: 1;
  }

  .faculty-grid {
    gap: 20px;
    margin-bottom: 56px;
  }

  .faculty h2 br {
    display: none;
  }

  .video-grid,
  .product-grid,
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-list {
    grid-template-columns: 1fr;
  }

  .notes-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .store-tools-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .search {
    flex: none;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand-text small {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-tight {
    padding: 0 0 64px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-hindi {
    font-size: 17px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

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

  .results-grid {
    gap: 10px;
  }

  .result-card {
    padding: 20px 8px 16px;
  }

  .result-avatar {
    width: 60px;
    height: 60px;
  }

  .result-avatar > span {
    font-size: 20px;
  }

  .result-name {
    font-size: 15px;
  }

  .course-abbr {
    width: 64px;
  }

  .course-help {
    padding-left: 84px !important;
  }

  .enquiry-form {
    grid-template-columns: 1fr;
  }

  .visit-phone {
    font-size: 24px;
  }

  .notes-banner {
    padding: 26px 20px;
  }

  .modal-inner {
    padding: 26px 20px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
