:root {
  --bg: #f4f7fb;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --ink: #152136;
  --muted: #5f6d85;
  --line: rgba(21, 33, 54, 0.1);
  --primary: #ff5f1f;
  --primary-deep: #ca3f09;
  --accent: #035a9d;
  --accent-soft: #e8f3ff;
  --tint: #fff4eb;
  --success: #157347;
  --shadow: 0 24px 60px rgba(30, 52, 84, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 95, 31, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(3, 90, 157, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f9fc 0%, #edf2f8 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-shell {
  width: min(1360px, calc(100% - 28px));
  margin: 0 auto;
  padding-bottom: 44px;
}

.promo-strip {
  overflow: hidden;
  padding: 12px 0;
}

.promo-crawler {
  display: inline-flex;
  min-width: 100%;
  gap: 44px;
  white-space: nowrap;
  color: var(--primary-deep);
  font-weight: 800;
  animation: crawl 24s linear infinite;
}

@keyframes crawl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.topbar,
.hero-copy,
.hero-panels,
.insight-strip,
.catalog-section,
.support-band,
.modal-card,
.site-footer,
.info-page {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.topbar {
  border-radius: 30px;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 68px;
  height: 68px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.25rem;
}

.brand-hindi {
  font-family: "Noto Sans Devanagari", sans-serif;
}

.searchbar,
.hero-actions,
.hero-trust,
.topbar-actions,
.price-row,
.card-actions,
.cart-summary,
.cart-row,
.auth-actions,
.footer-grid,
.filter-bar,
.catalog-toolbar,
.card-top,
.slider-controls,
.auth-mode-switch {
  display: flex;
  gap: 14px;
}

.searchbar input,
.stack-form input,
.stack-form select,
.stack-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  padding: 14px 16px;
  color: var(--ink);
}

.searchbar button,
.primary-btn,
.ghost-btn,
.text-btn,
.icon-btn,
.tab-btn,
.filter-chip {
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.searchbar button:hover,
.primary-btn:hover,
.ghost-btn:hover,
.text-btn:hover,
.icon-btn:hover,
.tab-btn:hover,
.filter-chip:hover {
  transform: translateY(-1px);
}

.searchbar button,
.primary-btn {
  border-radius: 18px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--primary) 0%, #ff8d40 100%);
  color: white;
  font-weight: 800;
}

.ghost-btn,
.filter-chip,
.tab-btn {
  border-radius: 18px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--ink);
}

.small {
  padding: 10px 14px;
}

.text-btn,
.icon-btn {
  padding: 12px 14px;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
}

.icon-btn {
  background: var(--accent-soft);
  font-weight: 700;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 8px 24px;
}

.tab-btn.active,
.filter-chip.active {
  background: linear-gradient(135deg, #132743 0%, #264d82 100%);
  color: white;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 22px;
}

.hero-copy,
.hero-panels,
.catalog-section,
.support-band,
.site-footer,
.info-page,
.account-panel {
  border-radius: 30px;
}

.hero-copy {
  padding: 36px;
}

.hero-panels {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.hero-panel {
  border-radius: 24px;
  padding: 22px;
}

.hero-panel.dark {
  background: linear-gradient(135deg, #132743 0%, #264d82 100%);
  color: white;
}

.hero-panel.soft {
  background: linear-gradient(135deg, #f3f8ff 0%, #dcecff 100%);
}

.hero-panel.accent {
  background: linear-gradient(135deg, #fff2ea 0%, #ffe2cf 100%);
}

.hero-panel p,
.hero-panel span {
  margin: 0 0 8px;
  color: inherit;
}

.hero-panel strong {
  display: block;
  line-height: 1.4;
  margin-bottom: 8px;
}

.hero-slider-shell {
  overflow: hidden;
}

.hero-slider {
  position: relative;
  min-height: 220px;
}

.hero-slide {
  display: none;
  border-radius: 26px;
  padding: 28px;
  background: linear-gradient(135deg, #132743 0%, #29548b 100%);
  color: white;
}

.hero-slide.active {
  display: block;
}

.slide-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.hero-slide h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.hero-slide p {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.84);
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.76rem;
  color: var(--primary-deep);
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  max-width: 12ch;
}

.hero-text,
.section-head p,
.product-copy,
.product-meta,
.form-note,
.support-band p,
.result-note,
.footer-copy,
.site-footer p,
.info-page p,
.cart-row p,
.empty-card {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions {
  margin: 28px 0 18px;
}

.hero-trust {
  flex-wrap: wrap;
}

.hero-trust span,
.product-badge,
.product-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-trust span,
.product-badge {
  background: var(--tint);
  color: var(--primary-deep);
}

.product-tag {
  background: var(--accent-soft);
  color: var(--accent);
  text-transform: capitalize;
}

.insight-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
  border-radius: 26px;
  padding: 22px;
}

.insight-strip article {
  padding: 10px 8px;
}

.insight-strip strong {
  display: block;
  margin-bottom: 8px;
}

.catalog-section,
.support-band,
.site-footer,
.info-page {
  padding: 28px;
  margin-top: 22px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.section-head.compact {
  align-items: start;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.filter-bar {
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.catalog-toolbar {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.result-note {
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card,
.empty-card {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  padding: 20px;
}

.empty-card {
  grid-column: 1 / -1;
}

.card-top {
  justify-content: space-between;
  align-items: center;
}

.product-name {
  font-size: 1.08rem;
  margin: 16px 0 8px;
}

.price-row {
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
}

.product-price {
  font-size: 1.18rem;
}

.product-strike {
  text-decoration: line-through;
  color: var(--muted);
}

.card-actions {
  margin-top: 16px;
}

.card-actions .primary-btn,
.card-actions .ghost-btn {
  flex: 1;
  text-align: center;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.account-grid.secondary {
  margin-top: 18px;
}

.account-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  padding: 20px;
}

.account-panel h4 {
  margin: 0 0 14px;
}

.account-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.account-item {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  padding: 14px;
}

.account-item strong,
.account-item span {
  display: block;
}

.auth-mode-switch {
  margin: 14px 0;
}

.support-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-footer {
  margin-bottom: 16px;
}

.footer-grid {
  justify-content: space-between;
  align-items: start;
  margin-bottom: 20px;
}

.site-footer section {
  display: grid;
  gap: 10px;
}

.site-footer h3 {
  margin-bottom: 6px;
}

.info-shell {
  width: min(920px, calc(100% - 28px));
  margin: 32px auto;
}

.info-page h1 {
  max-width: none;
  margin-bottom: 12px;
}

.info-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.info-card {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  padding: 20px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 21, 33, 0.6);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 20;
}

.hidden,
.modal.hidden {
  display: none;
}

.modal-card {
  width: min(760px, 100%);
  border-radius: 28px;
  padding: 24px;
  position: relative;
}

.cart-card {
  width: min(860px, 100%);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
}

.stack-form {
  display: grid;
  gap: 14px;
}

.stack-form label {
  display: grid;
  gap: 8px;
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.full-width {
  width: 100%;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.cart-row {
  border: 1px solid var(--line);
  border-radius: 22px;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.74);
  padding: 18px;
}

.cart-row-actions {
  text-align: right;
}

.cart-summary {
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

@media (max-width: 1100px) {
  .topbar,
  .hero-grid,
  .section-head,
  .support-band {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .insight-strip,
  .product-grid,
  .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-shell,
  .info-shell {
    width: min(100% - 18px, 1360px);
  }

  .topbar,
  .hero-copy,
  .hero-panels,
  .catalog-section,
  .support-band,
  .modal-card,
  .site-footer,
  .info-page {
    border-radius: 24px;
  }

  .searchbar,
  .topbar-actions,
  .hero-actions,
  .hero-trust,
  .footer-grid,
  .filter-bar,
  .catalog-toolbar,
  .card-actions,
  .cart-summary,
  .cart-row {
    flex-direction: column;
    align-items: stretch;
  }

  .insight-strip,
  .product-grid,
  .auth-actions,
  .account-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
  }
}
