:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #657083;
  --line: #dbe2ea;
  --panel: rgba(255, 255, 255, 0.88);
  --paper: #f7fafc;
  --green: #0f8f63;
  --green-dark: #075a42;
  --coral: #ff6b57;
  --lemon: #ffd166;
  --sky: #7bc7f4;
  --shadow: 0 24px 70px rgba(23, 32, 42, 0.13);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(115deg, rgba(123, 199, 244, 0.14), transparent 34%),
    linear-gradient(70deg, rgba(255, 107, 87, 0.14), transparent 43%),
    var(--paper);
  color: var(--ink);
}

body.cart-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(219, 226, 234, 0.72);
  background: rgba(247, 250, 252, 0.78);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

.brand,
.nav-links,
.cart-toggle,
.hero-actions,
.hero-metrics,
.cart-head,
.dialog-purchase,
.checkout-total,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--green) 0 45%, transparent 45%),
    linear-gradient(45deg, var(--coral), var(--lemon));
  box-shadow: 0 10px 24px rgba(15, 143, 99, 0.22);
}

.nav-links {
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 12px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}

.cart-toggle,
.primary-button,
.checkout-button,
.primary-link,
.secondary-link,
.quantity-button,
.icon-button {
  border: 0;
  cursor: pointer;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.langtoggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.langtoggle button {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  padding: 5px 10px;
  line-height: 1;
  transition: background 140ms ease, color 140ms ease;
}

.langtoggle button:first-child {
  border-right: 1px solid var(--line);
}

.langtoggle button:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.langtoggle button.active {
  background: var(--green-dark);
  color: white;
}

.cart-toggle {
  gap: 8px;
  min-height: 42px;
  border-radius: 999px;
  padding: 8px 12px;
  background: #17202a;
  color: white;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 14px 36px rgba(23, 32, 42, 0.19);
}

.cart-toggle svg,
.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cart-toggle strong {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--lemon);
  color: #271a00;
  font-size: 12px;
}

main {
  overflow: hidden;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: 44px;
  width: min(1180px, calc(100% - 32px));
  min-height: min(760px, calc(100svh - 128px));
  margin: 0 auto;
  padding: 70px 0 44px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 84px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.primary-link,
.secondary-link,
.primary-button,
.checkout-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
}

.primary-link,
.primary-button,
.checkout-button {
  background: var(--green-dark);
  color: white;
  box-shadow: 0 16px 34px rgba(7, 90, 66, 0.2);
}

.secondary-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-metrics {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics div {
  min-width: 128px;
  border: 1px solid rgba(219, 226, 234, 0.9);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics dt {
  font-size: 26px;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.hero-showcase {
  position: relative;
  min-height: 540px;
}

.featured-card {
  position: absolute;
  inset: 28px 0 0 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.featured-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 44%, rgba(23, 32, 42, 0.72));
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card div {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  color: white;
}

.featured-card span,
.mini-stat span {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.8;
}

.featured-card strong {
  display: block;
  font-size: 30px;
  line-height: 1.12;
}

.mini-stat {
  position: absolute;
  top: 0;
  left: 0;
  width: min(245px, 62%);
  border: 1px solid rgba(219, 226, 234, 0.86);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(23, 32, 42, 0.13);
  backdrop-filter: blur(14px);
}

.mini-stat strong {
  font-size: 30px;
}

.market-layout,
.standards-section,
.delivery-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.72fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading h2,
.delivery-section h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.delivery-section p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.section-heading.compact {
  display: block;
  max-width: 700px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid rgba(219, 226, 234, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(23, 32, 42, 0.08);
}

.product-card:hover {
  transform: translateY(-2px);
  transition: transform 180ms ease;
}

.product-card button.card-hit {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #dbe2ea;
}

.product-body {
  padding: 15px;
}

.product-kicker {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.product-body h3 {
  margin-bottom: 7px;
  font-size: 19px;
  line-height: 1.2;
}

.product-body p {
  min-height: 47px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.product-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 15px 15px;
}

.price {
  font-size: 18px;
  font-weight: 850;
}

.add-button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 13px;
  background: #17202a;
  color: white;
  cursor: pointer;
  font-weight: 780;
}

.cart-panel {
  position: sticky;
  top: 94px;
  overflow: hidden;
  border: 1px solid rgba(219, 226, 234, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(23, 32, 42, 0.1);
  backdrop-filter: blur(18px);
}

.cart-head {
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 12px;
}

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

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: rgba(23, 32, 42, 0.06);
  color: var(--ink);
}

.cart-close {
  display: none;
}

.cart-items {
  display: grid;
  gap: 12px;
  max-height: 310px;
  overflow: auto;
  padding: 8px 20px 4px;
}

.cart-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.cart-item img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item h3 {
  margin: 0 0 5px;
  font-size: 14px;
}

.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quantity {
  display: inline-grid;
  grid-template-columns: 28px 32px 28px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  text-align: center;
}

.quantity-button {
  height: 28px;
  background: transparent;
  color: var(--ink);
  font-weight: 850;
}

.remove-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
}

.empty-cart {
  display: grid;
  gap: 6px;
  margin: 10px 20px 4px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
}

.empty-cart strong {
  color: var(--ink);
}

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

.cart-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.cart-summary strong {
  color: var(--ink);
}

.cart-summary .grand-total {
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.checkout-button {
  width: 100%;
  margin-top: 4px;
}

.checkout-button:disabled {
  cursor: not-allowed;
  background: #aab5c3;
  box-shadow: none;
}

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

.standards-grid article,
.delivery-section {
  border: 1px solid rgba(219, 226, 234, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.standards-grid article {
  padding: 24px;
}

.standards-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--coral);
  font-weight: 850;
}

.standards-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

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

.delivery-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.75fr);
  gap: 30px;
  margin-bottom: 44px;
  padding: 34px;
  align-items: center;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(23, 32, 42, 0.36);
  backdrop-filter: blur(3px);
}

dialog {
  border: 0;
  padding: 0;
}

dialog::backdrop {
  background: rgba(23, 32, 42, 0.36);
  backdrop-filter: blur(3px);
}

.product-dialog,
.checkout-dialog {
  width: min(920px, calc(100% - 28px));
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.product-dialog[open] {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(300px, 1fr);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.86);
}

.dialog-media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.dialog-body {
  display: grid;
  align-content: center;
  padding: 42px;
}

.dialog-body h2,
.checkout-body h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.dialog-body p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.detail-list dt {
  color: var(--muted);
  font-weight: 750;
}

.detail-list dd {
  margin: 0;
  text-align: right;
  font-weight: 820;
}

.dialog-purchase {
  justify-content: space-between;
  gap: 16px;
}

.dialog-purchase strong {
  font-size: 28px;
}

.checkout-dialog {
  max-width: 540px;
}

.checkout-body {
  display: grid;
  gap: 14px;
  padding: 34px;
}

.checkout-list {
  display: grid;
  gap: 10px;
  border-block: 1px solid var(--line);
  padding: 14px 0;
}

.checkout-line,
.checkout-total {
  justify-content: space-between;
  gap: 18px;
}

.checkout-line {
  display: flex;
  color: var(--muted);
  font-size: 14px;
}

.checkout-total {
  font-size: 18px;
  font-weight: 850;
}

.checkout-body label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.checkout-body input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
}

.order-success {
  margin: 0;
  border-radius: 8px;
  padding: 13px;
  background: rgba(15, 143, 99, 0.1);
  color: var(--green-dark);
  font-weight: 750;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1040px) {
  .hero-section,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 54px;
  }

  .hero-showcase {
    min-height: 430px;
  }

  .featured-card {
    inset: 28px 0 0;
  }

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

  .cart-panel {
    position: fixed;
    top: auto;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 40;
    max-height: min(76svh, 620px);
    transform: translateY(calc(100% + 24px));
    transition: transform 220ms ease;
  }

  .cart-panel.is-open {
    transform: translateY(0);
  }

  .cart-close {
    display: grid;
  }

  .cart-items {
    max-height: 300px;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .cart-toggle span {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 42px 0 36px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

  .hero-showcase {
    min-height: 360px;
  }

  .featured-card {
    inset: 36px 0 0;
  }

  .featured-card strong {
    font-size: 24px;
  }

  .section-heading,
  .delivery-section,
  .product-dialog[open] {
    grid-template-columns: 1fr;
  }

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

  .dialog-media img {
    max-height: 300px;
    min-height: 260px;
  }

  .dialog-body,
  .checkout-body {
    padding: 26px;
  }

  .dialog-purchase {
    align-items: stretch;
    flex-direction: column;
  }

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