:root {
  --ink: #172026;
  --muted: #5d6873;
  --line: #dce3ea;
  --soft: #f4f7f9;
  --panel: #ffffff;
  --brand: #116149;
  --brand-2: #c37b16;
  --danger: #a8324a;
  --focus: #1458b8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fbfcfd;
  line-height: 1.55;
}
a { color: #0c5d9e; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  font-weight: 800;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: 0;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.nav a {
  color: #27313a;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
}
.nav a:hover { background: var(--soft); text-decoration: none; }
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nav-toggle-button {
  display: none;
}
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #eef5f2 100%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { padding-top: 42px; padding-bottom: 44px; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 13px; text-transform: uppercase; }
h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.02; max-width: 920px; margin: 10px 0 16px; letter-spacing: 0; }
h2 { font-size: 26px; margin: 0 0 16px; line-height: 1.2; }
h3 { font-size: 18px; margin: 0 0 8px; }
.lead { color: var(--muted); max-width: 780px; font-size: 18px; margin: 0 0 24px; }
.search-box {
  display: flex;
  gap: 10px;
  max-width: 760px;
  margin: 22px 0 0;
}
.search-box input {
  flex: 1;
  min-width: 0;
  border: 1px solid #aeb9c3;
  border-radius: 6px;
  font-size: 16px;
  padding: 14px 15px;
}
textarea {
  width: 100%;
  min-height: 220px;
  resize: vertical;
  border: 1px solid #aeb9c3;
  border-radius: 6px;
  font-size: 15px;
  padding: 13px 14px;
  font-family: Arial, Helvetica, sans-serif;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.regen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.regen-actions button {
  padding: 10px 12px;
  white-space: nowrap;
}
.batch-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}
.filter-toolbar label {
  font-weight: 700;
  color: #33424d;
}
.filter-toolbar .select {
  min-width: 160px;
  margin-top: 4px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 13px;
  font-weight: 800;
}
.status-pill.published {
  color: #0c6448;
  background: #e8f7f1;
}
.status-pill.draft {
  color: #8a4f00;
  background: #fff3db;
}
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 840px;
}
.admin-table th,
.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.admin-table th {
  background: #f6f8fa;
  color: #43515c;
  font-size: 13px;
}
.admin-table tr:last-child td {
  border-bottom: 0;
}
.admin-table .check-col {
  width: 44px;
}
.check-line,
.row-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.row-check {
  justify-content: center;
}
.icon-admin-row {
  grid-template-columns: 28px 56px minmax(0, 1fr) auto;
}
.product-hero {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.product-icon {
  width: 118px;
  height: 118px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, .08);
}
.json-output {
  font-family: Consolas, Monaco, monospace;
  min-height: 320px;
  font-size: 13px;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.template-thumb {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  display: grid;
  gap: 7px;
}
.template-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}
.template-thumb form { margin: 0; }
.template-thumb .button {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
}
.missing-thumb,
.icon-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed #b9c4cd;
  background: #f4f7f9;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
.missing-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
}
.icon-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, .08);
}
.button, button {
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  padding: 13px 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.button.secondary { background: #24313a; }
.button.light { background: #eef4f1; color: var(--brand); border: 1px solid #bdd7cd; }
.button.light.danger-button {
  background: #fff0f3;
  border-color: #f0bcc8;
  color: var(--danger);
}
main .wrap { padding-top: 34px; padding-bottom: 44px; }
.grid { display: grid; gap: 18px; }
.category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.three-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-grid { grid-template-columns: 1.6fr .9fr; align-items: start; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.category-card strong { display: block; font-size: 18px; color: var(--ink); }
.category-card span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
.section { margin-top: 34px; }
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.select {
  border: 1px solid #b8c3cc;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
}
.app-list { display: grid; gap: 12px; }
.app-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.meta { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #edf6f2;
  color: var(--brand);
  padding: 4px 9px;
  font-size: 13px;
  font-weight: 700;
}
.badge.warn { color: var(--danger); background: #fff0f3; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; border-bottom: 1px solid var(--line); padding: 12px; vertical-align: top; }
.spec-table th { width: 34%; color: #43515c; background: #f6f8fa; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.screens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.screen {
  min-height: 190px;
  border-radius: 8px;
  background: linear-gradient(145deg, #1e3630, #dca43c);
  color: #fff;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  font-weight: 700;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
  background: #fff;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.disclaimer { border-left: 4px solid var(--danger); padding: 14px 16px; background: #fff6f7; color: #57303a; }
.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 28px 0;
  font-size: 14px;
}
.crumbs { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.crumbs a { color: #44606f; }
.noindex-note { background: #f7f1df; border: 1px solid #e7cf8f; padding: 12px 14px; border-radius: 8px; color: #5d4610; }
@media (max-width: 900px) {
  .category-grid, .three-grid, .two-grid, .screens { grid-template-columns: 1fr 1fr; }
  .topbar { align-items: flex-start; flex-direction: column; padding: 14px 0; }
}
@media (max-width: 640px) {
  .category-grid, .three-grid, .two-grid, .screens { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; }
  .app-row { grid-template-columns: 48px minmax(0, 1fr); }
  .icon-admin-row { grid-template-columns: 28px 48px minmax(0, 1fr); }
  .app-row .button { grid-column: 1 / -1; width: 100%; }
  .regen-actions { grid-column: 1 / -1; justify-content: stretch; }
  .regen-actions button { flex: 1 1 150px; }
  .product-hero { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
}
.comment-list {
  display: grid;
  gap: 14px;
}
.comment-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.comment-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.comment-flag {
  font-size: 24px;
  line-height: 1;
}
.comment-stars {
  color: #d69a12;
  font-weight: 800;
  letter-spacing: 1px;
}
.comment-media {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #111;
}
.admin-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
}
.admin-sidebar {
  background: #172026;
  color: #fff;
  padding: 22px 16px;
}
.admin-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
}
.admin-sidebar a {
  display: block;
  color: #dce7ed;
  padding: 11px 12px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.admin-sidebar a.active,
.admin-sidebar a:hover {
  background: #25414f;
  color: #fff;
  text-decoration: none;
}
.admin-main {
  padding: 28px;
  min-width: 0;
}
@media (max-width: 760px) {
  .admin-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .admin-sidebar {
    position: static;
    display: flex;
    gap: 8px;
    align-items: center;
    overflow-x: auto;
    padding: 10px 14px;
    scrollbar-width: thin;
  }

  .admin-title {
    flex: 0 0 auto;
    margin: 0 8px 0 0;
    font-size: 16px;
    white-space: nowrap;
  }

  .admin-sidebar a {
    flex: 0 0 auto;
    margin: 0;
    padding: 9px 11px;
    white-space: nowrap;
  }

  .admin-main {
    padding: 18px 14px 28px;
  }

  .admin-actions,
  .batch-toolbar,
  .filter-toolbar {
    align-items: stretch;
  }

  .batch-toolbar label,
  .filter-toolbar label,
  .filter-toolbar .select,
  .batch-toolbar .select,
  .admin-actions .select {
    width: 100%;
    min-width: 0;
  }
}

/* Frontend UI refresh */
:root {
  --ink: #111821;
  --muted: #667382;
  --line: #d8e1ea;
  --soft: #f3f7fa;
  --panel: #ffffff;
  --brand: #08745b;
  --brand-2: #f4b73f;
  --danger: #b12645;
  --focus: #2463d8;
}

body {
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  background:
    linear-gradient(180deg, #f7fafc 0%, #eef4f2 46%, #f8fafc 100%);
  color: var(--ink);
}

a {
  color: #0b6653;
}

.site-header {
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(17, 24, 33, .08);
  box-shadow: 0 10px 28px rgba(18, 32, 44, .06);
  backdrop-filter: blur(12px);
}

.topbar {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0d1b22;
  font-size: 23px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(8, 116, 91, .24);
  flex: 0 0 auto;
}

.nav {
  gap: 8px;
}

.nav a {
  color: #26313b;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 700;
}

.nav a:hover {
  background: #edf6f2;
  border-color: #cce7dd;
  color: #075f4c;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #101923 0%, #113f35 54%, #8d322d 100%);
  border-bottom: 0;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 7px;
  background: linear-gradient(90deg, #08745b, #f4b73f, #b12645);
}

.hero .wrap {
  position: relative;
  padding-top: 58px;
  padding-bottom: 60px;
}

.hero .eyebrow {
  color: #ffe09c;
  letter-spacing: 0;
}

.hero h1 {
  color: #fff;
  max-width: 980px;
  text-wrap: balance;
}

.hero .lead {
  color: #d9e8e2;
  max-width: 820px;
}

.search-box {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}

.search-box input,
.select,
textarea {
  border-color: #c4d0da;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
}

.search-box input:focus,
.select:focus,
textarea:focus {
  border-color: var(--focus);
  outline: 3px solid rgba(36, 99, 216, .14);
}

.button,
button {
  min-height: 42px;
  border-radius: 8px;
  background: linear-gradient(180deg, #0a8064 0%, #086a54 100%);
  box-shadow: 0 8px 18px rgba(8, 116, 91, .18);
}

.button:hover,
button:hover {
  text-decoration: none;
  filter: brightness(1.03);
}

.button.secondary {
  background: linear-gradient(180deg, #263746, #17232e);
}

.button.light {
  background: #eef8f4;
  color: #086a54;
  border: 1px solid #b7ded0;
  box-shadow: none;
}

main .wrap {
  padding-top: 40px;
}

.section {
  margin-top: 38px;
}

.card,
.app-row,
.spec-table,
.comment-card,
.faq details,
.admin-table-wrap {
  border-color: rgba(126, 144, 161, .32);
  box-shadow: 0 12px 32px rgba(23, 32, 38, .06);
}

.card {
  background: rgba(255, 255, 255, .96);
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
}

.category-card {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5faf8 100%);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.category-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 12px 22px rgba(14, 19, 24, .16);
}

.category-apk-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  border-radius: 7px;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  background: linear-gradient(135deg, var(--india-saffron), var(--india-green));
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: #acd9c9;
  box-shadow: 0 18px 36px rgba(8, 116, 91, .12);
  text-decoration: none;
}

.category-card strong {
  color: #101923;
  font-size: 19px;
}

.category-card span {
  color: #5e7080;
}

.toolbar {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(126, 144, 161, .22);
}

.app-list {
  gap: 14px;
}

.app-row {
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}

.app-row:hover {
  border-color: #acd9c9;
}

.icon,
.icon-img {
  width: 68px;
  height: 68px;
  border-radius: 8px;
}

.icon {
  background:
    linear-gradient(140deg, #0f775f 0%, #14323a 52%, #f1af34 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3);
}

.product-icon {
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(17, 24, 33, .16);
}

.product-hero {
  padding: 22px;
  border: 1px solid rgba(126, 144, 161, .32);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f2faf6 100%);
  box-shadow: 0 14px 34px rgba(23, 32, 38, .07);
}

.meta {
  gap: 8px;
}

.meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef3f7;
  color: #536170;
  padding: 3px 8px;
}

.badge {
  background: #e8f6f0;
  color: #08745b;
}

.spec-table th {
  background: #f3f7fa;
  color: #33434f;
}

.comment-card {
  background: #fff;
}

.comment-head strong {
  color: #101923;
}

.comment-stars {
  color: #f0a420;
}

.footer {
  background: #101923;
  border-top: 0;
  color: #b7c2cc;
}

.footer a {
  color: #e3f1ea;
}

@media (max-width: 900px) {
  .topbar {
    gap: 12px;
  }

  .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero .wrap {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .search-box {
    padding: 7px;
  }

  .app-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .icon,
  .icon-img {
    width: 56px;
    height: 56px;
  }
}

/* India-first frontend theme from Figma */
:root {
  --india-ink: #0e1318;
  --india-text: #212932;
  --india-muted: #68727f;
  --india-line: #d8e0df;
  --india-saffron: #f57f21;
  --india-saffron-soft: #ffe6ba;
  --india-green: #036b3d;
  --india-green-2: #078c51;
  --india-blue: #17368c;
  --india-paper: #fffaf0;
}

body {
  background:
    linear-gradient(180deg, #f7faf6 0%, #eef6f1 45%, #f9faf6 100%);
  color: var(--india-text);
}

.site-header {
  border-top: 4px solid var(--india-saffron);
}

.site-header::after {
  content: "";
  display: block;
  height: 4px;
  background: var(--india-green);
}

.brand {
  color: var(--india-ink);
}

.nav a:hover {
  background: #fff4dc;
  border-color: #ffd591;
  color: #9a4409;
}

.hero,
.india-hero {
  background:
    linear-gradient(135deg, #0e1318 0%, #17368c 48%, #036b3d 100%);
}

.hero::after,
.india-hero::after {
  background: linear-gradient(90deg, var(--india-saffron), #ffffff, var(--india-green));
}

.hero .eyebrow,
.india-hero .eyebrow {
  color: var(--india-saffron-soft);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.hero-pills span,
.india-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 800;
  background: #fff1d8;
  color: #9a4409;
  border: 1px solid #ffd08a;
}

.search-box {
  border-color: rgba(255, 230, 186, .4);
}

.button.saffron,
button.saffron {
  background: linear-gradient(180deg, #f7902e 0%, #df5f13 100%);
  box-shadow: 0 8px 18px rgba(245, 127, 33, .22);
}

.category-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
}

.category-card:hover {
  border-color: #ffd08a;
  box-shadow: 0 18px 36px rgba(245, 127, 33, .14);
}

.india-toolbar h2 {
  margin: 0;
}

.app-row.india-app-row small,
.app-row small {
  display: block;
  color: var(--india-muted);
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
}

.app-row {
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.app-row:hover {
  border-color: #ffd08a;
}

.icon,
.icon-img {
  box-shadow: 0 10px 20px rgba(14, 19, 24, .14);
}

.icon {
  background: linear-gradient(140deg, #2d123f 0%, var(--india-green) 52%, var(--india-saffron) 100%);
}

.product-hero.india-product-hero {
  background: linear-gradient(135deg, #ffffff 0%, #fff7e8 58%, #effaf3 100%);
}

.india-product-hero h1 {
  color: var(--india-ink);
}

.india-product-hero .lead {
  color: var(--india-muted);
}

.india-product-hero .eyebrow {
  color: #b5560e;
}

.india-product-hero .hero-pills span {
  background: #fff1d8;
  color: #9a4409;
}

.app-row.india-app-row {
  grid-template-columns: 68px minmax(0, 1fr) auto auto;
  align-items: center;
}

.app-row.india-app-row .button {
  min-width: 138px;
  white-space: nowrap;
  text-align: center;
}

.app-row.india-app-row .india-badge {
  justify-self: end;
}

.india-spec-table th {
  background: #fff6e6;
  color: #7d3c0b;
}

.india-side-card {
  position: sticky;
  top: 104px;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
}

.comment-card {
  border-color: #eaded0;
}

.comment-flag {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--india-saffron), var(--india-green));
}

.comment-stars {
  color: var(--india-saffron);
}

.download-page {
  min-height: 460px;
  padding-top: 64px;
}

.wrap,
.two-grid,
.two-grid > *,
.product-hero,
.comment-card,
.spec-table {
  min-width: 0;
}

h1,
h2,
h3,
.lead,
.comment-card p,
.product-hero,
.app-row,
.spec-table td {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .site-header {
    z-index: 100;
  }

  .topbar {
    min-height: 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand {
    min-width: 0;
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle-button {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(8, 116, 91, .24);
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%);
    color: #14222c;
    box-shadow: 0 5px 14px rgba(17, 24, 33, .08);
    cursor: pointer;
    justify-self: end;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
  }

  .nav-toggle-button span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .18s ease, opacity .14s ease;
    transform-origin: center;
  }

  .nav-toggle-button:hover {
    border-color: rgba(8, 116, 91, .48);
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(17, 24, 33, .12);
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-toggle-button b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 0 4px;
    border-top: 1px solid #e7eeee;
  }

  .nav-toggle:checked ~ .nav {
    display: grid;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid #dce8e4;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 800;
    color: #23313b;
    text-align: center;
  }

  .nav a:hover {
    background: #fff4dc;
  }

  .hero .wrap {
    padding-top: 30px;
    padding-bottom: 36px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .lead {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

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

.spec-table {
  max-width: 100%;
}

.footer {
  background: var(--india-ink);
}

@media (max-width: 760px) {
  .brand {
    font-size: 20px;
  }

  .nav a {
    padding: 7px 9px;
    font-size: 13px;
  }

  .hero-pills {
    gap: 8px;
  }

  .app-row .india-badge {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .app-row.india-app-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .app-row.india-app-row .button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .india-side-card {
    position: static;
  }

  .spec-table {
    display: block;
    overflow-x: auto;
  }

  .product-icon {
    max-width: 118px;
  }
}
