:root {
  --ink: #171b1a;
  --muted: #69716e;
  --soft: #f6f6f2;
  --paper: #fbfbf8;
  --white: #ffffff;
  --line: #e5e5df;
  --leaf: #2f6a4f;
  --leaf-dark: #214b39;
  --mint: #e8f2ed;
  --aqua: #e6f1f4;
  --danger: #a43b2f;
  --shadow: 0 18px 48px rgba(23, 27, 26, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

button,
input {
  font: inherit;
}

button,
a {
  color: inherit;
}

button {
  cursor: pointer;
}

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

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

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

h1,
h2 {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5.8vw, 70px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.announcement {
  display: flex;
  justify-content: center;
  gap: 30px;
  min-height: 34px;
  padding: 9px 16px;
  color: var(--white);
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-logo {
  width: 190px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  background: #000000;
  border: 0;
  border-radius: 3px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.nav-links a,
.footer a,
.text-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.topbar .nav-links a {
  color: rgba(255, 255, 255, 0.68);
}

.topbar .nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover,
.footer a:hover,
.text-link:hover {
  color: var(--ink);
}

.cart-trigger,
.primary-button,
.secondary-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
}

.cart-trigger {
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
}

.cart-trigger strong {
  display: grid;
  min-width: 23px;
  height: 23px;
  place-items: center;
  color: var(--white);
  background: var(--leaf);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.bag-icon {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 18px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px;
}

.bag-icon::before {
  position: absolute;
  top: -7px;
  left: 3px;
  width: 7px;
  height: 8px;
  content: "";
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.bag-icon.light {
  color: currentColor;
}

.icon-button {
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 22px;
  line-height: 1;
}

.hero {
  padding: 38px 0 22px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: stretch;
  gap: 42px;
  min-height: min(670px, calc(100vh - 142px));
  padding: clamp(28px, 4vw, 58px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.hero-copy {
  display: grid;
  align-content: center;
  max-width: 590px;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--leaf-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.lead,
.section-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
}

.hero-actions,
.trust-row,
.mini-benefits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 12px;
}

.primary-button,
.secondary-button {
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.primary-button {
  color: var(--white);
  background: var(--ink);
}

.secondary-button {
  color: var(--white);
  background: var(--leaf);
}

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

.primary-button:disabled:hover,
.secondary-button:disabled:hover {
  transform: none;
}

.primary-button.wide {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  color: var(--ink);
}

.trust-row {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.trust-row span,
.mini-benefits span {
  padding: 9px 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.product-stage {
  display: grid;
  min-height: 100%;
  place-items: center;
  overflow: hidden;
  background: #070909;
  border: 1px solid rgba(23, 27, 26, 0.12);
  border-radius: 6px;
}

.hero-product {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: none;
}

.product-band {
  padding: 62px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-layout {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) minmax(330px, 430px);
  gap: 28px;
  align-items: start;
}

.gallery {
  display: grid;
  align-content: start;
  gap: 10px;
}

.thumb {
  width: 94px;
  height: 94px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.thumb.active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-preview {
  display: grid;
  min-height: 610px;
  place-items: center;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.product-preview img {
  width: min(88%, 620px);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(23, 27, 26, 0.1));
}

.buy-box {
  display: grid;
  gap: 14px;
  padding: 6px 0;
}

.breadcrumb {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.buy-box h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.buy-box p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0 0;
}

.price-row strong {
  font-size: 34px;
  font-weight: 900;
}

.price-row span {
  color: var(--muted);
  font-weight: 600;
  text-decoration: line-through;
}

.installment-line {
  font-size: 13px;
  font-weight: 600;
}

.selector {
  display: grid;
  gap: 12px;
  margin: 10px 0;
  font-size: 13px;
  font-weight: 800;
}

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

.swatch {
  width: 34px;
  height: 34px;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(23, 27, 26, 0.22);
}

.swatch.selected {
  box-shadow: 0 0 0 3px var(--ink);
}

.mini-benefits {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 54px;
  padding: 76px 0;
}

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

.feature-card {
  min-height: 182px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.feature-card span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  background: var(--mint);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.feature-card p,
.catalog-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.catalog-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 78px;
}

.catalog-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: contain;
  background: #000000;
  border-bottom: 1px solid var(--line);
}

.catalog-card div {
  padding: 20px;
}

.catalog-card .eyebrow {
  margin-bottom: 9px;
}

.image-strip {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.88fr) 1fr;
  align-items: center;
  gap: 34px;
  padding: 70px max(16px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--ink);
}

.image-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.image-strip h2 {
  color: var(--white);
}

.image-strip p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.image-strip .eyebrow {
  color: #b7dacb;
}

.shipping-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  padding: 76px 0;
}

.shipping-box,
.checkout-form,
.summary,
.admin-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(23, 27, 26, 0.06);
}

.shipping-box {
  padding: 26px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

input:focus {
  border-color: var(--leaf);
  outline: 3px solid rgba(47, 106, 79, 0.14);
}

.shipping-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 10px;
}

.shipping-options {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.shipping-method,
.summary-total,
.summary-grand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.shipping-method {
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.shipping-method span {
  display: grid;
  gap: 3px;
  font-weight: 800;
}

.shipping-method small {
  color: var(--muted);
  font-weight: 500;
}

.demo-note,
.error-text {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

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

.error-text {
  color: var(--danger);
}

.footer {
  padding: 34px 0;
  color: var(--white);
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

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

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.social-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #050606;
  background: var(--white);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.instagram-link:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 600;
}

.dev-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.dev-credit-link img {
  width: 96px;
  height: auto;
  max-height: 28px;
  object-fit: contain;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px 0 12px;
  color: var(--white);
  background: #1f9d5a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(31, 157, 90, 0.3);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.whatsapp-float:hover {
  background: #17844b;
  transform: translateY(-1px);
}

.whatsapp-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #1f9d5a;
  background: var(--white);
  border-radius: 50%;
}

.whatsapp-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.cart-drawer.open {
  pointer-events: auto;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 27, 26, 0.35);
  border: 0;
  opacity: 0;
  transition: opacity 180ms ease;
}

.cart-drawer.open .cart-backdrop {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(430px, 100%);
  height: 100%;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

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

.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: auto;
  padding: 18px 0;
}

.cart-item,
.summary-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.cart-item img,
.summary-item img {
  width: 76px;
  height: 76px;
  padding: 7px;
  object-fit: contain;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.cart-item div,
.summary-item div {
  display: grid;
  gap: 4px;
}

.cart-item span,
.summary-item span,
.empty-cart {
  color: var(--muted);
  font-size: 13px;
}

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

.quantity-control button {
  display: grid;
  height: 30px;
  place-items: center;
  background: var(--white);
  border: 0;
}

.quantity-control span {
  color: var(--ink);
  text-align: center;
}

.cart-footer {
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.checkout-header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  padding: 22px 0 72px;
}

.checkout-form,
.summary,
.admin-panel {
  padding: 28px;
}

.checkout-form h1,
.admin-panel h1 {
  font-size: clamp(36px, 5vw, 54px);
}

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

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

.checkout-block {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.checkout-block h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.radio-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.radio-row input {
  width: 18px;
  min-height: 18px;
}

.summary {
  position: sticky;
  top: 104px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.summary h2 {
  font-size: 26px;
}

.summary-total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.summary-grand {
  padding-top: 16px;
  border-top: 2px solid var(--ink);
  font-size: 20px;
}

.admin-page {
  padding: 50px 0;
}

.admin-panel {
  max-width: 820px;
  margin-top: 28px;
}

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

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.admin-actions span {
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1020px) {
  .hero-panel,
  .split-section,
  .shipping-section,
  .checkout {
    grid-template-columns: 1fr;
  }

  .product-layout {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .buy-box {
    grid-column: 1 / -1;
    max-width: 720px;
  }

  .product-preview {
    min-height: 520px;
  }

  .catalog-row {
    grid-template-columns: 1fr;
  }

  .image-strip {
    grid-template-columns: 1fr;
  }

  .image-strip img {
    max-height: 360px;
  }

  .summary {
    position: static;
  }
}

@media (max-width: 780px) {
  .announcement,
  .nav-links {
    display: none;
  }

  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 66px;
  }

  .cart-trigger > span:not(.bag-icon) {
    display: none;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-panel {
    gap: 24px;
    min-height: auto;
    padding: 22px;
  }

  .product-stage {
    min-height: 390px;
  }

  .hero-product {
    width: 100%;
    height: 100%;
    max-height: none;
  }

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

  .gallery {
    grid-template-columns: repeat(6, minmax(64px, 1fr));
  }

  .thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .product-preview {
    min-height: 430px;
  }

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

@media (max-width: 560px) {
  .shell {
    width: min(100% - 22px, 1180px);
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-actions,
  .hero-actions .primary-button {
    width: 100%;
  }

  .product-stage {
    min-height: 330px;
  }

  .product-preview {
    min-height: 340px;
    padding: 14px;
  }

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

  .cart-panel {
    padding: 18px;
  }

  .checkout-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: 158px;
    height: 50px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 56px;
    min-height: 56px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-float > span:not(.whatsapp-icon) {
    display: none;
  }
}
