:root {
  color-scheme: dark;
  --bg: #050607;
  --panel: #0c0f12;
  --panel-2: #11161a;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f5f7f9;
  --muted: #a8b0b8;
  --soft: #d8dee4;
  --green: #1dd37c;
  --green-2: #12ae66;
  --blue: #46a5ff;
  --rose: #f06d9d;
  --amber: #f6b950;
  --danger: #ff5d6c;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --container: min(1420px, calc(100vw - 36px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(29, 211, 124, 0.13), transparent 30vw),
    linear-gradient(180deg, #050607 0%, #07090b 42%, #050607 100%);
  color: var(--text);
  letter-spacing: 0;
}

body.menu-open,
body.drawer-open,
body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 9, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: grid;
  grid-template-columns: 210px 1fr minmax(240px, 340px) auto;
  align-items: center;
  gap: 26px;
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 170px;
  height: auto;
}

.mobile-menu {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0d10;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  padding: 32px 0 29px;
  color: var(--soft);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

.nav-links a.active::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 3px;
  border-radius: 4px;
  background: var(--green);
  content: "";
}

.search {
  position: relative;
  min-width: 0;
}

.search input {
  width: 100%;
  min-height: 48px;
  padding: 0 48px 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  outline: none;
}

.search input:focus {
  border-color: rgba(29, 211, 124, 0.7);
  box-shadow: 0 0 0 4px rgba(29, 211, 124, 0.12);
}

.search svg {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 22px;
  height: 22px;
  color: var(--text);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  display: none;
  max-height: 420px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0d10;
  box-shadow: var(--shadow);
}

.search-results.open {
  display: block;
}

.search-result {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-result:last-child {
  border-bottom: 0;
}

.search-result img {
  width: 54px;
  height: 54px;
  border-radius: 7px;
  object-fit: cover;
}

.search-result strong {
  display: block;
  font-size: 0.94rem;
}

.search-result span {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.icon-link,
.cart-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
}

.icon-link {
  gap: 8px;
  padding: 0 10px;
  white-space: nowrap;
}

.cart-button {
  position: relative;
  gap: 8px;
  padding: 0 12px;
}

.icon-link:hover,
.cart-button:hover,
.icon-button:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.cart-count {
  position: absolute;
  top: 2px;
  left: 28px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #041008;
  font-size: 0.75rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid rgba(29, 211, 124, 0.45);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #21e48a, #0fb568);
  color: #041008;
  box-shadow: 0 14px 30px rgba(29, 211, 124, 0.2);
}

.button.ghost:hover,
.button:hover {
  transform: translateY(-1px);
}

.button.full {
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.hero {
  position: relative;
  min-height: clamp(640px, 76vh, 840px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(90deg, rgba(5, 7, 9, 0.96), rgba(5, 7, 9, 0.62) 38%, rgba(5, 7, 9, 0.2)), var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero > .container {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: clamp(640px, 76vh, 840px);
  grid-template-columns: minmax(320px, 620px) 1fr;
  align-items: center;
}

.hero-copy {
  padding: 70px 0 150px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

.lead {
  max-width: 560px;
  color: var(--soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.trust-rail {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  z-index: 3;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.trust-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  background: rgba(7, 10, 13, 0.76);
}

.trust-item svg {
  color: var(--green);
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.84rem;
}

.section {
  padding: 42px 0;
}

.section.deep {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.section-head h2 {
  margin-bottom: 6px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 800;
}

.product-share-link {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(29, 211, 124, 0.28);
  border-radius: 999px;
  background: rgba(5, 8, 10, 0.78);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  color: var(--green);
  font-size: 0.75rem;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.product-share-link:hover {
  border-color: var(--green);
  background: rgba(29, 211, 124, 0.12);
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

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

.products-grid.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-card {
  position: relative;
  display: grid;
  min-height: 100%;
  grid-template-rows: 230px 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  cursor: pointer;
}

.product-card:hover {
  border-color: rgba(29, 211, 124, 0.5);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.26);
  transform: translateY(-2px);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #080b0e;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(29, 211, 124, 0.35);
  border-radius: 999px;
  background: rgba(29, 211, 124, 0.09);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.product-card .pill {
  position: absolute;
  top: 12px;
  left: 12px;
}

.product-info {
  padding: 16px 16px 10px;
}

.product-info h3 {
  margin-bottom: 6px;
  font-size: 1.04rem;
}

.product-info p {
  min-height: 40px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.variant-hint {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px 16px;
}

.price {
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 900;
}

.add-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.add-button:hover {
  border-color: var(--green);
  color: var(--green);
}

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

.promo-card {
  position: relative;
  min-height: 146px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0f13;
}

.promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.promo-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 10, 13, 0.96), rgba(7, 10, 13, 0.25));
  content: "";
}

.promo-card-content {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.promo-card h3 {
  margin-bottom: 6px;
  font-size: 1.06rem;
}

.promo-card p {
  margin-bottom: 14px;
  color: var(--soft);
}

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

.category-card {
  position: relative;
  min-height: 140px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0d10;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.category-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 13, 0.93), rgba(8, 10, 13, 0.18));
  content: "";
}

.category-card > div {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.category-card h3 {
  margin-bottom: 8px;
}

.dev-band {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(29, 211, 124, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.035);
}

.dev-icon {
  display: grid;
  width: 118px;
  height: 82px;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  color: var(--green);
}

.dev-band h2 {
  margin-bottom: 8px;
}

.dev-band p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: 62px 0 30px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.96), rgba(5, 7, 9, 0.72)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.page-hero h1 {
  max-width: 840px;
  margin-bottom: 14px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.toolbar input,
.toolbar select,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
}

.toolbar input,
.field input,
.field textarea {
  padding: 0 14px;
}

.field textarea {
  min-height: 116px;
  padding-top: 12px;
  resize: vertical;
}

.toolbar select,
.field select {
  padding: 0 12px;
}

.toolbar input:focus,
.toolbar select:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(29, 211, 124, 0.7);
  box-shadow: 0 0 0 4px rgba(29, 211, 124, 0.11);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.filter-tab {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  font-weight: 800;
  white-space: nowrap;
}

.filter-tab.active {
  border-color: var(--green);
  background: rgba(29, 211, 124, 0.12);
  color: var(--green);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 30px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.panel-body {
  padding: 24px;
}

.panel h2,
.panel h3 {
  margin-bottom: 12px;
}

.panel p {
  color: var(--muted);
  line-height: 1.55;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-row svg {
  color: var(--green);
}

.service-row strong {
  display: block;
}

.service-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.notice {
  padding: 14px;
  border: 1px solid rgba(29, 211, 124, 0.34);
  border-radius: var(--radius);
  background: rgba(29, 211, 124, 0.08);
  color: var(--soft);
  line-height: 1.45;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 26px;
  align-items: start;
}

.checkout-step {
  margin-bottom: 16px;
}

.checkout-step h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
}

.step-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #041008;
  font-size: 0.9rem;
  font-weight: 900;
}

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

.choice {
  position: relative;
  min-height: 98px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.choice input {
  position: absolute;
  opacity: 0;
}

.choice:has(input:checked) {
  border-color: var(--green);
  background: rgba(29, 211, 124, 0.1);
}

.choice strong,
.choice span {
  display: block;
}

.choice span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.summary {
  position: sticky;
  top: 106px;
}

.summary-line,
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.summary-line:last-child,
.cart-line:last-child {
  border-bottom: 0;
}

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.summary-total strong {
  color: var(--green);
  font-size: 1.55rem;
}

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

.bank-box {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.bank-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.bank-row span {
  color: var(--muted);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(0, 0, 0, 0.62);
}

.drawer-open .cart-overlay {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  display: grid;
  width: min(440px, 100vw);
  height: 100vh;
  grid-template-rows: auto 1fr auto;
  border-left: 1px solid var(--line);
  background: #070a0d;
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

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

.cart-drawer header,
.cart-drawer footer {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-drawer header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-items {
  overflow: auto;
  padding: 6px 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cart-item img {
  width: 74px;
  height: 74px;
  border-radius: var(--radius);
  object-fit: cover;
}

.cart-item strong {
  display: block;
}

.quantity {
  display: inline-grid;
  grid-template-columns: 30px 34px 30px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quantity button {
  height: 32px;
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.quantity span {
  text-align: center;
}

.whatsapp-cloud {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.drawer-open .whatsapp-cloud {
  display: none;
}

.whatsapp-cloud-text {
  width: min(210px, calc(100vw - 110px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(247, 250, 252, 0.96);
  color: #071014;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.35;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.whatsapp-cloud-button {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
  transition: transform 160ms ease;
}

.whatsapp-cloud-button:hover {
  transform: translateY(-2px);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: none;
  max-width: 360px;
  padding: 14px 16px;
  border: 1px solid rgba(29, 211, 124, 0.36);
  border-radius: var(--radius);
  background: #0b1110;
  color: var(--text);
  box-shadow: var(--shadow);
}

.toast.show {
  display: block;
}

.variant-modal[hidden] {
  display: none;
}

.variant-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
}

.variant-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.variant-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1040px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #080b0e;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.variant-dialog header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.variant-dialog h2 {
  margin: 0;
}

.variant-content {
  display: grid;
  grid-template-columns: minmax(340px, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px;
  padding: 24px;
}

.variant-preview {
  display: grid;
  min-height: 500px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 46%, rgba(29, 211, 124, 0.12), transparent 55%),
    #0b0f13;
}

.variant-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
}

.variant-details {
  display: grid;
  align-content: start;
  gap: 16px;
}

.product-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-modal-meta span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(29, 211, 124, 0.3);
  border-radius: 999px;
  background: rgba(29, 211, 124, 0.08);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-modal-actions .button {
  min-height: 42px;
  padding: 0 16px;
}

.variant-native-select[hidden] {
  display: none;
}

.variant-model-options {
  display: grid;
  max-height: 238px;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 8px;
  overflow: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  scrollbar-color: rgba(29, 211, 124, 0.5) rgba(255, 255, 255, 0.06);
}

.variant-model-option {
  display: grid;
  min-height: 50px;
  align-content: center;
  gap: 3px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  font-weight: 900;
  text-align: left;
}

.variant-model-option small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.variant-model-option:hover,
.variant-model-option.active {
  border-color: var(--green);
  background: rgba(29, 211, 124, 0.11);
  color: var(--green);
}

.variant-model-option:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.variant-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-swatch {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  font-weight: 800;
}

.variant-swatch span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: var(--swatch);
}

.variant-swatch.active {
  border-color: var(--green);
  background: rgba(29, 211, 124, 0.1);
  color: var(--green);
}

.variant-swatch:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050607;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  padding: 42px 0;
}

.footer-grid img {
  width: 170px;
  margin-bottom: 14px;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-grid h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.9rem;
}

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

@media (max-width: 1180px) {
  .nav {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .brand img {
    width: 156px;
  }

  .nav-links {
    position: fixed;
    top: 86px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--container);
    border-bottom: 1px solid var(--line);
    background: rgba(5, 7, 9, 0.98);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 15px 0;
  }

  .nav-links a.active::after {
    bottom: 8px;
  }

  .search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .nav-actions {
    grid-column: 3;
  }

  .home-grid,
  .split,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
  }

  .products-grid,
  .products-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100vw - 24px, 760px);
  }

  .nav {
    min-height: 76px;
  }

  .nav-links {
    top: 76px;
  }

  .brand img {
    width: 144px;
  }

  .icon-link span,
  .cart-button span {
    display: none;
  }

  .hero,
  .hero > .container {
    min-height: 780px;
  }

  .hero {
    background-position: 66% center;
  }

  .hero > .container {
    display: block;
  }

  .hero-copy {
    padding: 48px 0 248px;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .trust-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

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

  .products-grid,
  .products-grid.compact,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .variant-content {
    grid-template-columns: 1fr;
  }

  .variant-preview {
    min-height: 280px;
  }

  .dev-band {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dev-icon {
    margin: 0 auto;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav {
    grid-template-columns: 42px 1fr auto;
  }

  .brand {
    justify-content: center;
  }

  .brand img {
    width: min(136px, 42vw);
  }

  .nav-actions {
    gap: 4px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero,
  .hero > .container {
    min-height: 840px;
  }

  .hero-copy {
    padding-bottom: 310px;
  }

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

  .trust-item {
    padding: 14px 8px;
  }

  .trust-item span {
    font-size: 0.76rem;
  }

  .products-grid,
  .products-grid.compact,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 250px 1fr auto;
  }

  .button {
    width: 100%;
  }

  .hero-actions .button {
    width: auto;
    min-width: 180px;
  }

  .whatsapp-cloud {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }

  .whatsapp-cloud-text {
    width: min(180px, calc(100vw - 92px));
    padding: 12px;
    font-size: 0.78rem;
  }

  .whatsapp-cloud-button {
    width: 52px;
    height: 52px;
  }

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

/* Home redesign matched to the supplied Apiotech reference. */
body[data-page="home"] {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(29, 211, 124, 0.14), transparent 28vw),
    linear-gradient(180deg, #050607 0%, #07090b 48%, #050607 100%);
}

body[data-page="home"] .site-header {
  background: rgba(4, 6, 8, 0.95);
}

body[data-page="home"] .nav {
  min-height: 86px;
  grid-template-columns: 210px minmax(430px, 1fr) minmax(270px, 340px) auto;
}

body[data-page="home"] .brand img {
  width: 176px;
}

body[data-page="home"] .nav-links {
  gap: 28px;
}

body[data-page="home"] .hero {
  min-height: 435px;
  border-bottom: 0;
  background-image:
    linear-gradient(90deg, rgba(5, 7, 9, 0.98) 0%, rgba(5, 7, 9, 0.84) 32%, rgba(5, 7, 9, 0.12) 58%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

body[data-page="home"] .hero > .container {
  min-height: 435px;
  grid-template-columns: 640px 1fr;
  align-items: start;
}

body[data-page="home"] .hero-copy {
  padding: 42px 0 120px;
}

body[data-page="home"] h1 {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(3.05rem, 3.6vw, 4.15rem);
  line-height: 1;
}

body[data-page="home"] h1 .accent {
  display: block;
}

body[data-page="home"] .lead {
  max-width: 500px;
  color: #c8ced4;
  font-size: 1.08rem;
  line-height: 1.45;
}

body[data-page="home"] .hero-actions {
  margin: 28px 0 0;
}

body[data-page="home"] .button {
  min-height: 44px;
  padding: 0 22px;
}

body[data-page="home"] .trust-rail {
  bottom: 18px;
}

body[data-page="home"] .trust-grid {
  width: min(760px, calc(100vw - 48px));
  margin-left: max(18px, calc((100vw - 1420px) / 2));
  margin-right: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

body[data-page="home"] .trust-item {
  min-height: 58px;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(8, 11, 14, 0.76);
}

body[data-page="home"] .trust-item svg {
  width: 28px;
  height: 28px;
}

body[data-page="home"] .trust-item strong {
  font-size: 0.82rem;
}

body[data-page="home"] .trust-item span {
  font-size: 0.76rem;
}

body[data-page="home"] .section {
  padding: 20px 0 0;
}

body[data-page="home"] .home-grid {
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 20px;
  align-items: start;
}

body[data-page="home"] .section-head {
  min-height: 34px;
  margin-bottom: 14px;
}

body[data-page="home"] .section-head h2 {
  margin: 0;
  font-size: 1.18rem;
}

body[data-page="home"] .section-head p {
  display: none;
}

body[data-page="home"] .products-grid.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="home"] .product-card {
  min-height: 230px;
  grid-template-rows: 148px 1fr auto;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    #0a0d10;
}

body[data-page="home"] .product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 211, 124, 0.55);
}

body[data-page="home"] .product-media {
  background:
    radial-gradient(circle at 50% 45%, rgba(29, 211, 124, 0.09), transparent 52%),
    #0b0f13;
}

body[data-page="home"] .product-media img {
  object-fit: contain;
  padding: 8px 10px 0;
}

body[data-page="home"] .product-card .pill {
  display: none;
}

body[data-page="home"] .product-info {
  padding: 10px 12px 4px;
}

body[data-page="home"] .product-info h3 {
  margin-bottom: 4px;
  font-size: 0.98rem;
}

body[data-page="home"] .product-info p {
  min-height: 0;
  font-size: 0.76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="home"] .price-row {
  padding: 0 12px 12px;
}

body[data-page="home"] .price {
  font-size: 1.05rem;
}

body[data-page="home"] .add-button {
  width: 34px;
  height: 34px;
}

body[data-page="home"] .promo-stack {
  gap: 10px;
  padding-top: 34px;
}

body[data-page="home"] .promo-card {
  min-height: 112px;
}

body[data-page="home"] .promo-card:nth-child(3) {
  min-height: 134px;
}

body[data-page="home"] .promo-card img {
  opacity: 0.72;
}

body[data-page="home"] .promo-card::after {
  background: linear-gradient(90deg, rgba(8, 11, 14, 0.97), rgba(8, 11, 14, 0.62) 45%, rgba(8, 11, 14, 0.12));
}

body[data-page="home"] .promo-card-content {
  padding: 18px 20px;
}

body[data-page="home"] .promo-card h3 {
  margin-bottom: 4px;
}

body[data-page="home"] .promo-card p {
  margin-bottom: 12px;
  font-size: 0.88rem;
}

body[data-page="home"] .section.deep {
  padding: 12px 0 0;
  border: 0;
  background: transparent;
}

body[data-page="home"] .category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="home"] .category-card {
  min-height: 66px;
}

body[data-page="home"] .category-card > div {
  padding: 16px 22px;
}

body[data-page="home"] .category-card h3 {
  margin-bottom: 2px;
  font-size: 0.95rem;
}

body[data-page="home"] .dev-band {
  grid-template-columns: 136px 1fr auto;
  margin-bottom: 28px;
  padding: 18px 32px;
  background:
    linear-gradient(90deg, rgba(29, 211, 124, 0.10), transparent 55%),
    rgba(255, 255, 255, 0.035);
}

body[data-page="home"] .dev-icon {
  width: 106px;
  height: 70px;
}

body[data-page="home"] .dev-band h2 {
  margin-bottom: 4px;
  font-size: 1.32rem;
}

body[data-page="home"] .dev-band p {
  font-size: 0.92rem;
}

@media (max-width: 1280px) {
  body[data-page="home"] .nav {
    grid-template-columns: auto 1fr auto;
  }

  body[data-page="home"] .products-grid.compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body[data-page="home"] .hero,
  body[data-page="home"] .hero > .container {
    min-height: 690px;
  }

  body[data-page="home"] .hero {
    background-position: 68% bottom;
  }

  body[data-page="home"] .hero-copy {
    padding: 34px 0 270px;
    text-align: center;
  }

  body[data-page="home"] h1,
  body[data-page="home"] .lead {
    margin-right: auto;
    margin-left: auto;
  }

  body[data-page="home"] .trust-grid {
    width: var(--container);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .home-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .promo-stack {
    grid-template-columns: repeat(3, 1fr);
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  body[data-page="home"] .products-grid.compact,
  body[data-page="home"] .category-grid,
  body[data-page="home"] .promo-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .dev-band {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 520px) {
  body[data-page="home"] .hero,
  body[data-page="home"] .hero > .container {
    min-height: 760px;
  }

  body[data-page="home"] .hero > .container {
    width: calc(100vw - 24px);
    overflow: hidden;
  }

  body[data-page="home"] .hero-copy {
    padding: 36px 0 330px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  body[data-page="home"] h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.5vw, 2.35rem);
    line-height: 1.1;
  }

  body[data-page="home"] .lead {
    max-width: 100%;
    padding: 0 8px;
    font-size: 0.95rem;
  }

  body[data-page="home"] .hero-actions {
    gap: 10px;
  }

  body[data-page="home"] .hero-actions .button {
    min-width: 0;
    padding: 0 18px;
  }

  body[data-page="home"] .trust-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  body[data-page="home"] .products-grid.compact,
  body[data-page="home"] .category-grid,
  body[data-page="home"] .promo-stack {
    grid-template-columns: 1fr;
  }
}

/* Mobile hardening for the live client build. */
.brand img,
.footer-grid img,
.admin-brand img,
.setup-card img {
  object-fit: contain;
}

@media (max-width: 1180px) {
  .site-header {
    background: rgba(4, 6, 8, 0.98);
  }

  .site-header .nav,
  body[data-page="home"] .nav {
    position: relative;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .site-header .brand,
  body[data-page="home"] .brand {
    justify-content: center;
  }

  .site-header .brand img,
  body[data-page="home"] .brand img {
    width: min(176px, 50vw);
    max-height: 58px;
  }

  .site-header .search,
  body[data-page="home"] .search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-header .nav-actions,
  body[data-page="home"] .nav-actions {
    grid-column: 3;
    justify-content: flex-end;
  }

  .site-header .nav-links,
  body[data-page="home"] .nav-links {
    position: fixed;
    top: 145px;
    right: 12px;
    left: 12px;
    z-index: 70;
    display: flex;
    max-height: 0;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: rgba(5, 7, 9, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 180ms ease, opacity 180ms ease, transform 180ms ease;
  }

  body.menu-open .site-header .nav-links,
  body.menu-open[data-page="home"] .nav-links {
    max-height: calc(100vh - 165px);
    overflow-y: auto;
    padding: 8px 16px;
    border-color: var(--line);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header .nav-links a,
  body[data-page="home"] .nav-links a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--soft);
    font-size: 1rem;
    text-align: left;
  }

  .site-header .nav-links a:last-child,
  body[data-page="home"] .nav-links a:last-child {
    border-bottom: 0;
  }

  .site-header .nav-links a.active::after,
  body[data-page="home"] .nav-links a.active::after {
    right: auto;
    bottom: 9px;
    width: 34px;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .hero {
    min-height: 720px;
    background-image:
      linear-gradient(180deg, rgba(5, 7, 9, 0.96) 0%, rgba(5, 7, 9, 0.84) 43%, rgba(5, 7, 9, 0.3) 70%),
      var(--hero-image);
    background-position: 66% bottom;
  }

  body[data-page="home"] .hero > .container {
    min-height: 720px;
  }

  body[data-page="home"] .hero-copy {
    padding: 34px 0 292px;
    text-align: center;
  }

  body[data-page="home"] .trust-rail {
    bottom: 16px;
  }

  body[data-page="home"] .category-grid,
  body[data-page="home"] .products-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .category-card {
    min-height: 96px;
  }

  body[data-page="home"] .category-card > div {
    padding: 14px;
  }
}

@media (max-width: 560px) {
  .site-header .nav,
  body[data-page="home"] .nav {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    min-height: 124px;
  }

  .site-header .brand img,
  body[data-page="home"] .brand img {
    width: min(168px, 48vw);
    max-height: 56px;
  }

  .site-header .icon-link {
    display: none;
  }

  .site-header .cart-button,
  body[data-page="home"] .cart-button {
    width: 44px;
    min-width: 44px;
    padding: 0;
  }

  .site-header .cart-count,
  body[data-page="home"] .cart-count {
    top: -4px;
    left: 25px;
  }

  .site-header .search input,
  body[data-page="home"] .search input {
    min-height: 46px;
  }

  .site-header .nav-links,
  body[data-page="home"] .nav-links {
    top: 132px;
  }

  body.menu-open .site-header .nav-links,
  body.menu-open[data-page="home"] .nav-links {
    max-height: calc(100vh - 150px);
  }

  body[data-page="home"] .products-grid.compact {
    gap: 12px;
  }

  body[data-page="home"] .product-card {
    grid-template-rows: 150px 1fr auto;
  }

  body[data-page="home"] .product-info h3 {
    font-size: 0.92rem;
  }

  body[data-page="home"] .price {
    font-size: 0.98rem;
  }

  body[data-page="home"] .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body[data-page="home"] .category-card {
    min-height: 90px;
  }
}

@media (max-width: 380px) {
  .site-header .brand img,
  body[data-page="home"] .brand img {
    width: 142px;
  }

  body[data-page="home"] .category-card h3 {
    font-size: 0.88rem;
  }

  body[data-page="home"] .category-card .text-link {
    font-size: 0.78rem;
  }
}
