:root {
  --lgamc-red: #a50034;
  --lgamc-red-deep: #7a0026;
  --lgamc-black: #111111;
  --lgamc-ink: #1c1c1c;
  --lgamc-muted: #6b6b6b;
  --lgamc-line: #ececec;
  --lgamc-grey: #f5f5f6;
  --lgamc-white: #ffffff;
  --lgamc-save: #0f8a5f;
  --lgamc-shadow: 0 12px 40px rgba(17, 17, 17, 0.08);
  --lgamc-radius: 22px;
  --lgamc-font: "Noto Sans Tamil", "Noto Sans", system-ui, sans-serif;
}

.lgamc-app-page #page,
.lgamc-app-page .site-header,
.lgamc-app-page .site-footer,
.lgamc-app-page #masthead,
.lgamc-app-page #colophon {
  display: none !important;
}

.lgamc-app-page .site-content,
.lgamc-app-page #content,
.lgamc-app-page .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

.lgamc-root {
  font-family: var(--lgamc-font);
  color: var(--lgamc-ink);
  background: var(--lgamc-grey);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.lgamc-root [hidden] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.lgamc-shell {
  max-width: 720px;
  margin: 0 auto;
  min-height: 100dvh;
  background: linear-gradient(180deg, #fff 0%, #f7f7f8 220px);
  padding: 18px 16px 120px;
  position: relative;
  z-index: 1;
}

.lgamc-main {
  position: relative;
  z-index: 2;
}

.lgamc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.lgamc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lgamc-logo {
  width: 72px;
  height: auto;
  display: block;
}

.lgamc-kicker {
  margin: 0;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: var(--lgamc-red);
}

.lgamc-brand h1 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.lgamc-back {
  border: 0;
  background: #fff;
  box-shadow: var(--lgamc-shadow);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  font-family: inherit;
}

.lgamc-progress {
  height: 4px;
  background: #eee;
  border-radius: 99px;
  overflow: hidden;
  margin: 14px 0 18px;
}

.lgamc-progress span {
  display: block;
  height: 100%;
  width: 16%;
  background: var(--lgamc-red);
  border-radius: 99px;
  transition: width 0.35s ease;
}

.lgamc-loader,
.lgamc-empty {
  text-align: center;
  padding: 48px 12px;
  color: var(--lgamc-muted);
}

.lgamc-hero {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 180px;
  margin-bottom: 16px;
  box-shadow: var(--lgamc-shadow);
  animation: lgamc-fade 0.45s ease;
}

.lgamc-hero-stage {
  position: relative;
}

.lgamc-hero img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.lgamc-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

.lgamc-hero-prev { left: 10px; }
.lgamc-hero-next { right: 10px; }

.lgamc-choose {
  margin: 36px 0 16px;
  padding-top: 12px;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #111111;
  font-weight: 700;
}

.lgamc-section-title {
  margin: 8px 0 14px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.lgamc-note {
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--lgamc-muted);
  font-size: 13px;
  margin-bottom: 16px;
}

.lgamc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lgamc-card {
  background: #fff;
  border-radius: var(--lgamc-radius);
  box-shadow: var(--lgamc-shadow);
  overflow: hidden;
  border: 2px solid #ececec;
  text-align: left;
  padding: 0;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  opacity: 1;
  filter: none;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: rgba(165, 0, 52, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: lgamc-rise 0.4s ease;
}

.lgamc-card:nth-child(2) { animation-delay: 0.04s; }
.lgamc-card:nth-child(3) { animation-delay: 0.08s; }
.lgamc-card:nth-child(4) { animation-delay: 0.12s; }

.lgamc-card:hover {
  border-color: var(--lgamc-red);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.12);
}

.lgamc-card:active {
  transform: scale(0.98);
}

.lgamc-card.is-selected,
.lgamc-card:focus-visible {
  border-color: var(--lgamc-red);
  outline: none;
}

.lgamc-card img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  background: #f0f0f0;
}

.lgamc-card-body {
  padding: 12px 12px 14px;
}

.lgamc-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.lgamc-card p {
  margin: 0;
  color: var(--lgamc-muted);
  font-size: 12px;
}

.lgamc-card-go {
  display: inline-block;
  margin-top: 10px;
  color: var(--lgamc-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lgamc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lgamc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--lgamc-shadow);
  border: 2px solid transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.lgamc-row.is-selected {
  border-color: var(--lgamc-red);
}

.lgamc-row strong {
  font-size: 18px;
}

.lgamc-chip {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lgamc-red);
  font-weight: 700;
}

.lgamc-elig {
  display: grid;
  gap: 12px;
}

.lgamc-elig-card {
  background: #fff;
  border-radius: 24px;
  padding: 20px 18px;
  box-shadow: var(--lgamc-shadow);
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.lgamc-elig-card.is-selected {
  border-color: var(--lgamc-red);
  transform: scale(1.01);
}

.lgamc-elig-card small {
  display: block;
  margin-top: 8px;
  color: var(--lgamc-muted);
}

.lgamc-plan-card {
  position: relative;
  overflow: hidden;
}

.lgamc-plan-card .lgamc-card-body {
  padding: 18px 16px 16px;
}

.lgamc-plan-name {
  font-size: 22px;
  margin: 0;
}

.lgamc-adv-preview,
.lgamc-adv-list {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  color: #333;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}

.lgamc-adv-preview li,
.lgamc-adv-list li {
  margin: 0 0 6px;
}

.lgamc-disc {
  background: #fff;
  border: 2px solid #d7f0e4;
  border-radius: 20px;
  padding: 16px 18px;
  margin: 8px 0 16px;
}

.lgamc-disc-badge {
  display: inline-block;
  background: #e8f8ef;
  color: var(--lgamc-save);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.lgamc-disc-row {
  color: #555;
  font-size: 14px;
  margin: 4px 0;
}

.lgamc-disc-save {
  color: var(--lgamc-save);
  font-weight: 800;
  font-size: 18px;
  margin: 8px 0 4px;
}

.lgamc-disc-final {
  font-weight: 800;
  font-size: 22px;
  color: #111;
}

.lgamc-acc-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 0 16px;
}

.lgamc-acc-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  background: #f0f0f0;
}

.lgamc-price-stack {
  display: grid;
  gap: 10px;
  margin: 16px 0 8px;
}

.lgamc-price-pill {
  background: #fff;
  border-radius: 20px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--lgamc-shadow);
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.lgamc-price-pill.is-selected {
  border-color: var(--lgamc-red);
}

.lgamc-price-pill .yrs {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lgamc-price-pill .amt {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--lgamc-black);
}

.lgamc-save {
  color: var(--lgamc-save);
  font-weight: 700;
  font-size: 13px;
}

.lgamc-product-stage {
  background: #fff;
  border-radius: 28px;
  padding: 18px 18px 8px;
  text-align: center;
  box-shadow: var(--lgamc-shadow);
  margin-bottom: 16px;
}

.lgamc-product-stage img {
  width: min(100%, 480px);
  height: 240px;
  object-fit: contain;
}

.lgamc-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.lgamc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
}

.lgamc-btn-red {
  background: var(--lgamc-red);
  color: #fff;
}

.lgamc-btn-dark {
  background: var(--lgamc-black);
  color: #fff;
}

.lgamc-btn-ghost {
  background: #fff;
  color: var(--lgamc-ink);
  box-shadow: var(--lgamc-shadow);
}

.lgamc-benefit {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--lgamc-shadow);
  margin-bottom: 10px;
}

.lgamc-benefit h4 {
  margin: 0 0 6px;
}

.lgamc-benefit p {
  margin: 0;
  color: var(--lgamc-muted);
  font-size: 14px;
}

.lgamc-benefit img {
  width: 100%;
  border-radius: 14px;
  margin-top: 10px;
}

.lgamc-compare {
  overflow-x: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--lgamc-shadow);
}

.lgamc-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.lgamc-compare th,
.lgamc-compare td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--lgamc-line);
  text-align: center;
}

.lgamc-compare th:first-child,
.lgamc-compare td:first-child {
  text-align: left;
  font-weight: 600;
}

.lgamc-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, #f5f5f6 28%);
  max-width: 720px;
  margin: 0 auto;
  z-index: 20;
}

.lgamc-dock-btn {
  min-height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.lgamc-call { background: var(--lgamc-black); }
.lgamc-wa { background: #128C7E; }

.lgamc-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  display: none;
  align-items: flex-end;
  z-index: 40;
  pointer-events: none;
}

.lgamc-modal.is-open {
  display: flex;
  pointer-events: auto;
  animation: lgamc-fade 0.25s ease;
}

.lgamc-modal-card {
  background: #fff;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 28px 28px 0 0;
  padding: 18px 16px 28px;
  animation: lgamc-up 0.3s ease;
  max-height: 88dvh;
  overflow: auto;
}

.lgamc-modal-close {
  float: right;
  border: 0;
  background: var(--lgamc-grey);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
}

.lgamc-share-preview {
  width: 100%;
  border-radius: 16px;
}

.lgamc-loc-form label,
.lgamc-wa-send label {
  display: block;
  font-weight: 700;
  color: #111;
}

.lgamc-loc-form select,
.lgamc-loc-form input,
.lgamc-wa-send input {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid #ececec;
  padding: 10px 12px;
  font-family: inherit;
  margin: 8px 0 12px;
  background: #fff;
}

.lgamc-search {
  margin: 8px 0 18px;
}

.lgamc-search-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--lgamc-muted);
  margin-bottom: 6px;
}

.lgamc-search input[type="search"] {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  border: 2px solid #ececec;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  box-shadow: var(--lgamc-shadow);
}

.lgamc-search input[type="search"]:focus {
  outline: none;
  border-color: var(--lgamc-red);
}

.lgamc-search-group {
  margin: 16px 0 8px;
  font-size: 14px;
  color: #111;
}

.lgamc-search-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lgamc-search-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  width: 100%;
  border: 2px solid #ececec;
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  font-family: inherit;
  cursor: pointer;
}

.lgamc-search-item img,
.lgamc-search-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f3f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
}

.lgamc-search-item strong {
  display: block;
  font-size: 14px;
}

.lgamc-search-item small {
  color: var(--lgamc-muted);
  font-size: 12px;
}

.lgamc-amount-opt {
  margin: 12px 0;
  background: #f7f7f8;
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.lgamc-amount-opt label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
}

.lgamc-amount-opt input[type="number"] {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid #ececec;
  padding: 8px 12px;
  font-family: inherit;
}

.lgamc-err {
  color: #a50034;
  font-size: 13px;
  margin: 0 0 8px;
}

@keyframes lgamc-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes lgamc-rise {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes lgamc-up {
  from { transform: translateY(40px); }
  to { transform: none; }
}

@media (min-width: 768px) {
  .lgamc-shell { padding: 28px 28px 130px; }
  .lgamc-grid { grid-template-columns: 1fr 1fr 1fr; }
  .lgamc-card img { height: 140px; }
  .lgamc-hero img { height: 280px; }
}

@media (min-width: 1100px) {
  .lgamc-shell { max-width: 980px; }
  .lgamc-dock { max-width: 980px; left: 50%; transform: translateX(-50%); width: 100%; }
}
