:root {
  --bg: #fbfaf6;
  --ink: #171717;
  --muted: #66615a;
  --line: #e5ded2;
  --brand: #0f7b55;
  --brand-dark: #07563a;
  --accent: #f4ba2f;
  --danger: #b42318;
  --surface: #ffffff;
  --shadow: 0 18px 60px rgba(23, 23, 23, 0.13);
  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: var(--bg);
  color: var(--ink);
}

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

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 10px clamp(16px, 4vw, 52px);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(229, 222, 210, 0.85);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 700;
}

.brand-mark.has-image {
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.site-logo {
  display: block;
  width: auto;
  max-width: 150px;
  height: 46px;
  object-fit: contain;
}

.site-logo[hidden] {
  display: none;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  color: #3f3a33;
  font-size: 0.94rem;
}

.main-nav a {
  padding: 10px 2px;
}

.main-nav a:hover {
  color: var(--brand-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box input,
.catalog-search input,
.sort-box select,
.delivery-control select,
.checkout-form input,
.checkout-form textarea,
.customer-panel input,
.location-panel input,
.location-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  outline: none;
}

.search-box input {
  width: min(20vw, 230px);
  min-width: 150px;
  padding: 10px 12px;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #171100;
  font-size: 0.75rem;
  font-weight: 600;
}

.cart-icon {
  position: relative;
  width: 20px;
  height: 16px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px 2px 5px 5px;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -7px;
  width: 9px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: skewX(-18deg);
}

.cart-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: -7px;
  height: 4px;
  border-radius: 999px;
  background: radial-gradient(circle at left, currentColor 0 2px, transparent 2.5px),
    radial-gradient(circle at right, currentColor 0 2px, transparent 2.5px);
}

.hero {
  position: relative;
  min-height: calc(86vh - 72px);
  overflow: hidden;
}

.hero-track,
.hero-slide,
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-track {
  z-index: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-media {
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.32) 48%, rgba(0, 0, 0, 0.14));
}

.hero-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  margin-left: clamp(16px, 8vw, 110px);
  padding: 66px 0;
  color: white;
}

.hero-controls {
  position: absolute;
  right: clamp(16px, 5vw, 72px);
  bottom: clamp(20px, 5vw, 48px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-nav,
.hero-dots button,
.chip-arrow {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.hero-nav {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.hero-dots button.active {
  width: 24px;
  background: var(--accent);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.4rem, 11vw, 8.2rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
}

.btn-primary {
  background: var(--brand);
  color: white;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.64);
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.btn-ghost.dark {
  border-color: var(--line);
  color: var(--ink);
  background: white;
}

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

.promo-strip,
.advantages,
.shop-section,
.delivery-section,
.guarantee-section,
.checkout-section,
.contacts-section {
  padding: clamp(54px, 8vw, 94px) 0;
}

.promo-grid,
.delivery-grid,
.checkout-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.promo-grid h2,
.section-heading h2,
.delivery-grid h2,
.compact-band h2,
.checkout-grid h2,
.contacts-grid h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.promo-grid p,
.delivery-grid p,
.compact-band p,
.checkout-grid p,
.contacts-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.ad-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #111;
}

.ad-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-frame span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.68);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

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

.benefit-grid article,
.product-card,
.delivery-list div,
.checkout-form,
.cart-drawer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

.benefit-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #e8f5ee;
  color: var(--brand-dark);
  font-weight: 700;
}

.benefit-grid h3 {
  margin: 20px 0 10px;
  font-size: 1.3rem;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.shop-section {
  background: #f3efe7;
}

.shop-heading {
  align-items: center;
}

.sort-box {
  display: grid;
  gap: 7px;
  min-width: 190px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.sort-box select {
  padding: 11px 12px;
}

.catalog-tools {
  display: grid;
  grid-template-columns: auto 1fr auto minmax(230px, 310px);
  gap: 14px;
  margin-bottom: 24px;
  align-items: center;
}

.category-tabs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 3px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.chip-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 700;
}

.category-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: white;
  color: #3e3a34;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600;
}

.category-tabs button.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.catalog-search input {
  min-height: 42px;
  padding: 11px 12px;
}

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

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ded6c8;
  cursor: pointer;
}

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

.badge-row {
  position: absolute;
  left: 10px;
  top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #171100;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge.sale {
  background: var(--danger);
  color: white;
}

.badge.stockout {
  background: #171717;
  color: white;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-category {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 9px 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.product-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.stock-line {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #eef8f3;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-card.out-of-stock {
  opacity: 0.78;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-top: auto;
}

.price-line strong {
  font-size: 1.1rem;
}

.price-line del {
  color: #8a8175;
  font-size: 0.88rem;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 14px;
}

.product-actions .btn {
  min-height: 40px;
  padding: 10px 12px;
}

.whatsapp-link {
  border-color: var(--line);
  background: white;
  color: var(--brand-dark);
}

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

.delivery-list div {
  display: grid;
  gap: 7px;
  padding: 18px;
}

.delivery-list span {
  color: var(--muted);
}

.guarantee-section {
  background: var(--brand-dark);
  color: white;
}

.compact-band {
  text-align: center;
}

.compact-band .eyebrow,
.compact-band p {
  color: #cfeadc;
}

.checkout-section {
  background: #fff;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.payment-methods span {
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef8f3;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.88rem;
}

.checkout-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  box-shadow: 0 14px 44px rgba(23, 23, 23, 0.08);
}

.checkout-form label,
.delivery-control label,
.quantity-label {
  display: grid;
  gap: 7px;
  color: #49443e;
  font-size: 0.88rem;
  font-weight: 600;
}

.checkout-form input,
.checkout-form textarea,
.delivery-control select,
.quantity-label input {
  padding: 12px;
}

.contacts-section {
  background: #171717;
  color: white;
}

.contacts-section .eyebrow,
.contacts-section p {
  color: #cfeadc;
}

.contacts-grid address {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.contact-card {
  display: grid;
  gap: 18px;
}

.contacts-grid address a,
.contacts-grid address span {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contacts-section iframe {
  width: 100%;
  min-height: 270px;
  border: 0;
  border-radius: 8px;
  background: #252525;
}

.cart-drawer {
  position: fixed;
  top: 88px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(420px, calc(100vw - 32px));
  padding: 18px;
  box-shadow: var(--shadow);
  transform: translateX(calc(100% + 32px));
  transition: transform 0.22s ease;
  overflow: hidden;
}

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

.drawer-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.drawer-header h2 {
  margin: 0;
}

.cart-close {
  font-size: 1.5rem;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding-right: 4px;
}

.cart-scroll {
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
}

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

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

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

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

.cart-item small {
  color: var(--muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
}

.qty-controls button,
.remove-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.qty-controls button {
  width: 30px;
  height: 30px;
  font-weight: 700;
}

.remove-item {
  width: 34px;
  height: 34px;
  color: var(--danger);
  font-size: 1.1rem;
}

.delivery-control {
  display: grid;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.location-panel,
.customer-panel {
  display: grid;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.location-panel[hidden] {
  display: none;
}

.location-panel strong,
.customer-panel strong {
  font-size: 0.95rem;
}

.customer-panel input,
.location-panel input,
.location-panel textarea {
  padding: 10px 11px;
}

.cart-summary {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.total-row {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
}

.full-btn {
  width: 100%;
  flex-shrink: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.56);
}

.modal.open {
  display: grid;
}

.modal-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  width: min(900px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border-radius: 8px;
  background: white;
}

.modal-image-wrap {
  position: relative;
  min-height: 420px;
}

.modal-image-wrap > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.modal-image-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.modal-image-nav.prev {
  left: 14px;
}

.modal-image-nav.next {
  right: 14px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  font-size: 1.5rem;
}

.modal-content {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 4vw, 42px);
}

.modal-content h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.05;
}

.modal-content p {
  color: var(--muted);
  line-height: 1.65;
}

.modal-price {
  margin: 10px 0 20px;
  font-size: 1.4rem;
  font-weight: 700;
}

.modal-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 4px 0 14px;
}

.modal-gallery button {
  width: 62px;
  height: 62px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.modal-gallery button.active {
  border-color: var(--brand);
}

.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-price del {
  margin-left: 8px;
  color: var(--muted);
  font-size: 1rem;
}

.quantity-label input {
  width: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #06190d;
  box-shadow: 0 14px 40px rgba(6, 25, 13, 0.28);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 22px 16px;
  background: #0f0f0f;
  color: #d7d2c8;
  font-size: 0.92rem;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.developer-link {
  color: #ffffff;
  font-weight: 600;
}

.developer-link:hover {
  color: var(--accent);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    order: 3;
    padding-bottom: 2px;
  }

  .header-actions {
    justify-content: end;
  }

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

  .promo-grid,
  .delivery-grid,
  .checkout-grid,
  .contacts-grid,
  .modal-dialog {
    grid-template-columns: 1fr;
  }

  .modal-image-wrap,
  .modal-image-wrap > img {
    min-height: 280px;
    max-height: 360px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    gap: 10px;
    padding: 9px 12px;
  }

  .brand small {
    display: none;
  }

  .search-box {
    display: none;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
    padding: 36px 0;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.38));
  }

  .section-heading,
  .catalog-tools {
    display: grid;
    grid-template-columns: 1fr;
  }

  .catalog-tools {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .catalog-search {
    grid-column: 1 / -1;
  }

  .hero-controls {
    right: 12px;
    bottom: 14px;
  }

  .hero-nav {
    width: 36px;
    height: 36px;
  }

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

  .cart-drawer {
    top: max(8px, env(safe-area-inset-top));
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 12px;
    font-size: 14px;
  }

  .drawer-header {
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }

  .drawer-header h2 {
    font-size: 1.45rem;
    line-height: 1.05;
  }

  .drawer-header .eyebrow {
    margin-bottom: 6px;
  }

  .cart-close {
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
  }

  .cart-item {
    grid-template-columns: 60px 1fr auto;
    gap: 10px;
  }

  .cart-item img {
    width: 60px;
    height: 60px;
  }

  .cart-item h3 {
    font-size: 0.9rem;
  }

  .qty-controls {
    margin-top: 5px;
  }

  .delivery-control {
    gap: 10px;
    padding: 10px 0;
  }

  .customer-panel,
  .location-panel {
    gap: 8px;
    padding: 10px;
  }

  .delivery-control label {
    gap: 5px;
    font-size: 0.82rem;
  }

  .customer-panel input,
  .location-panel input,
  .location-panel textarea,
  .delivery-control select {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 16px;
  }

  .location-panel textarea {
    min-height: 64px;
  }

  .cart-summary {
    gap: 6px;
    margin: 10px 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .cart-summary div {
    align-items: center;
    font-size: 0.95rem;
  }

  .total-row {
    font-size: 1.08rem;
  }

  .full-btn {
    min-height: 48px;
    padding: 11px 14px;
    font-size: 0.98rem;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
  }
}

:root {
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 10px 30px rgba(23, 23, 23, 0.1);
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn,
.icon-btn,
.category-tabs button,
.product-card {
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn {
  border-radius: var(--radius-sm);
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.site-header {
  box-shadow: 0 1px 0 rgba(23, 23, 23, 0.04), 0 8px 24px rgba(23, 23, 23, 0.04);
}

.brand-mark {
  border-radius: var(--radius-sm);
}

.search-box input,
.catalog-search input {
  border-radius: 999px;
  background-color: #f3efe7;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%2366615a%27 stroke-width=%272.2%27 stroke-linecap=%27round%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%277%27/%3E%3Cpath d=%27m20 20-3.5-3.5%27/%3E%3C/svg%3E");
  background-position: 14px center;
  background-repeat: no-repeat;
  background-size: 18px;
  padding-left: 42px;
}

.search-box input:focus,
.catalog-search input:focus {
  border-color: var(--brand);
  background-color: white;
}

.icon-btn {
  border-radius: var(--radius-sm);
}

.hero {
  min-height: clamp(420px, 68vh, 680px);
  background: linear-gradient(135deg, var(--brand-dark), #0b3d2c);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 40%);
}

.hero .eyebrow {
  max-width: 560px;
  font-size: 0.74rem;
  line-height: 1.5;
}

.hero-title {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.3rem, 7vw, 5rem);
  line-height: 1;
  text-wrap: balance;
}

.hero-copy {
  text-wrap: pretty;
}

.hero-nav {
  border-radius: 999px;
}

.shop-section {
  background: linear-gradient(180deg, #f3efe7, #f8f5ee);
}

.section-heading h2,
.promo-grid h2 {
  text-wrap: balance;
}

.benefit-grid article {
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.ad-frame {
  border-radius: var(--radius);
}

.category-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-tabs button span {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.08);
  font-size: 0.74rem;
  text-align: center;
}

.category-tabs button.active span {
  background: rgba(255, 255, 255, 0.22);
}

.category-tabs button:hover:not(.active) {
  border-color: var(--brand);
}

.result-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}

.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(23, 23, 23, 0.05);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.product-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.product-media img {
  transition: transform 0.4s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.share-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.share-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.share-btn:hover {
  background: var(--brand);
  color: white;
}

.product-card h3 {
  font-size: 1.05rem;
}

.product-card h3 a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.product-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.stock-line.low {
  background: #fff4d6;
  color: #7a5200;
}

.stock-line.none {
  background: #eee;
  color: #555;
}

.price-line strong {
  color: var(--brand-dark);
  font-size: 1.25rem;
}

.whatsapp-link {
  border-color: var(--brand);
}

.whatsapp-link:hover:not(:disabled) {
  background: #e8f5ee;
}

.empty-state {
  display: grid;
  grid-column: 1 / -1;
  justify-items: center;
  gap: 8px;
  padding: 40px 20px;
  border: 1px dashed #cfc6b6;
  border-radius: var(--radius);
  background: white;
  text-align: center;
}

.empty-state p {
  margin: 0 0 8px;
  color: var(--muted);
}

.product-card.skeleton {
  pointer-events: none;
}

.skeleton-media,
.skeleton-line {
  background: linear-gradient(90deg, #ece6da 25%, #f6f2ea 37%, #ece6da 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

.skeleton-media {
  aspect-ratio: 1 / 1;
}

.skeleton-line {
  height: 14px;
  margin: 16px 16px 0;
  border-radius: 6px;
}

.skeleton-line.short {
  width: 50%;
  margin-bottom: 18px;
}

@keyframes shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  border-radius: var(--radius);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 120;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: #171717;
  color: white;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.modal-dialog {
  border-radius: var(--radius);
}

.modal-image-wrap > img {
  background: #ece6da;
}

.modal-content .stock-line {
  margin: 4px 0 0;
}

.floating-whatsapp {
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  grid-auto-flow: column;
  gap: 10px;
  width: auto;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s ease;
}

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

.floating-whatsapp svg {
  order: -1;
  width: 28px;
  height: 28px;
}

@media (max-width: 680px) {
  .site-header {
    grid-template-areas:
      "brand cart"
      "search search";
    row-gap: 8px;
  }

  .brand {
    grid-area: brand;
  }

  .header-actions {
    display: contents;
  }

  .search-box {
    display: block;
    grid-area: search;
  }

  .search-box input {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .cart-toggle {
    grid-area: cart;
  }

  .main-nav {
    display: none;
  }

  .catalog-search input {
    font-size: 16px;
  }

  .hero {
    min-height: 460px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
  }

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

  .product-card p {
    display: none;
  }

  .product-body {
    padding: 12px;
  }

  .product-card h3 {
    margin: 6px 0;
    font-size: 0.95rem;
  }

  .product-category {
    font-size: 0.68rem;
  }

  .stock-line {
    margin-bottom: 8px;
    font-size: 0.7rem;
  }

  .price-line strong {
    font-size: 1.05rem;
  }

  .product-actions .btn {
    min-height: 38px;
    padding: 8px;
    font-size: 0.82rem;
  }

  .badge {
    padding: 4px 7px;
    font-size: 0.66rem;
  }

  .share-btn {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }

  .modal {
    align-items: end;
    padding: 0;
  }

  .modal-dialog {
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
  }

  .modal-actions .btn {
    flex: 1 1 100%;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 56px;
    padding: 0;
  }

  .floating-whatsapp span {
    display: none;
  }

  .toast {
    bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

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

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  scroll-padding-top: 130px;
}

h1,
h2,
h3 {
  font-weight: 650;
  letter-spacing: -0.02em;
}

.icon-sprite {
  position: absolute;
  overflow: hidden;
}

.ico {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  gap: 8px;
}

.icon-btn .ico,
.hero-nav .ico,
.chip-arrow .ico {
  width: 20px;
  height: 20px;
}

.modal-close .ico,
.modal-image-nav .ico {
  width: 22px;
  height: 22px;
}

.benefit-icon .ico {
  width: 22px;
  height: 22px;
}

.share-btn .ico {
  fill: none;
  width: 18px;
  height: 18px;
}

.qty-controls button,
.remove-item {
  display: grid;
  place-items: center;
  padding: 0;
}

.qty-controls button .ico {
  width: 14px;
  height: 14px;
}

.remove-item .ico {
  width: 16px;
  height: 16px;
}

.empty-cart {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.empty-cart .ico {
  width: 34px;
  height: 34px;
  color: #b8ad9a;
}

.delivery-list div {
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  align-items: center;
}

.delivery-list div .ico {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: var(--radius-sm);
  background: #e8f5ee;
  color: var(--brand-dark);
}

.band-icon {
  display: block;
  width: 38px;
  height: 38px;
  margin: 0 auto 14px;
  color: var(--accent);
}

.payment-methods span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.payment-methods .ico {
  width: 18px;
  height: 18px;
}

.contacts-grid address a,
.contacts-grid address > span {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contacts-grid address .ico {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.cart-count {
  z-index: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.12);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sheetUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}

@keyframes bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70%,
  100% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
}

.hero-slide.active .hero-media {
  animation: kenburns 10s ease-out both;
}

.hero-slide.active .hero-content > * {
  animation: riseIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-slide.active .hero-content > :nth-child(2) {
  animation-delay: 0.12s;
}

.hero-slide.active .hero-content > :nth-child(3) {
  animation-delay: 0.24s;
}

.hero-slide.active .hero-content > :nth-child(4) {
  animation-delay: 0.36s;
}

.hero-dots button {
  transition: width 0.3s ease, background 0.3s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.product-card:not(.skeleton) {
  animation: cardIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  animation-delay: calc(var(--i, 0) * 55ms);
}

.site-header {
  transition: min-height 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  min-height: 62px;
  background: rgba(251, 250, 246, 0.98);
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.08);
}

.cart-count.bump {
  animation: bump 0.4s ease;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 123, 85, 0.28);
}

.icon-btn:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.modal.open {
  animation: fadeIn 0.2s ease both;
}

.modal.open .modal-dialog {
  animation: popIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cart-drawer {
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floating-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: pulse 2.8s ease-out infinite;
  pointer-events: none;
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 120px;
  }

  .modal.open .modal-dialog {
    animation: sheetUp 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
}

.hero {
  height: calc(100vh - var(--header-h, 72px));
  height: calc(100svh - var(--header-h, 72px));
  min-height: 460px;
  max-height: 1600px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vh, 36px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
  animation: cue 2s ease-in-out infinite;
}

.scroll-cue:hover {
  background: rgba(255, 255, 255, 0.28);
}

@keyframes cue {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

.trust-bar {
  border-bottom: 1px solid var(--line);
  background: white;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px 24px;
  padding: 18px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}

.trust-item .ico {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: #e8f5ee;
  color: var(--brand-dark);
}

.trust-item div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.trust-item strong {
  font-size: 0.92rem;
  font-weight: 650;
}

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

.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.delivery-control select,
.sort-box select,
.customer-panel input,
.location-panel input,
.location-panel textarea,
.quantity-label input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: white;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-form select,
.delivery-control select,
.sort-box select {
  padding: 12px 42px 12px 12px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%2366615a%27 stroke-width=%272.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m6 9 6 6 6-6%27/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 16px;
  cursor: pointer;
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus,
.delivery-control select:focus,
.sort-box select:focus,
.customer-panel input:focus,
.location-panel input:focus,
.location-panel textarea:focus,
.quantity-label input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 123, 85, 0.15);
}

.checkout-form textarea,
.location-panel textarea {
  min-height: 84px;
  resize: vertical;
}

.checkout-form {
  border-radius: var(--radius);
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.load-more .btn {
  min-width: 240px;
}

.cart-bar {
  display: none;
}

@media (max-width: 680px) {
  .cart-bar:not([hidden]) {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 65;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--radius);
    background: var(--brand-dark);
    color: white;
    cursor: pointer;
    font-size: 0.92rem;
    box-shadow: 0 14px 34px rgba(7, 86, 58, 0.4);
    animation: riseIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .cart-bar strong {
    margin-left: auto;
    font-weight: 700;
  }

  .cart-bar-cta {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #171100;
    font-weight: 700;
  }

  body.drawer-open .cart-bar,
  body.modal-open .cart-bar {
    display: none;
  }

  body.has-cart-bar .floating-whatsapp {
    bottom: calc(80px + env(safe-area-inset-bottom));
  }

  body.has-cart-bar .toast {
    bottom: calc(144px + env(safe-area-inset-bottom));
  }

  body.has-cart-bar .site-footer {
    padding-bottom: 90px;
  }
}

.site-footer {
  justify-items: stretch;
  gap: 22px;
  padding: 44px clamp(16px, 4vw, 52px) 22px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-brand,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-brand strong {
  color: white;
  font-size: 1.2rem;
}

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

.footer-links a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: #d7d2c8;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.developer-link {
  justify-self: center;
  width: min(1180px, 100%);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

@media (max-width: 680px) {
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero {
    min-height: 440px;
  }
}

.hero-controls {
  right: auto;
  left: clamp(16px, 8vw, 110px);
  bottom: clamp(20px, 4vh, 40px);
}

@media (max-width: 680px) {
  .hero-controls {
    left: 14px;
    bottom: 14px;
  }
}

.eyebrow,
.badge,
.product-category,
.stock-line,
.brand strong,
.main-nav a,
.category-tabs button,
.sort-box,
.checkout-form label,
.delivery-control label,
.quantity-label,
.payment-methods span,
.trust-item strong {
  font-weight: 500;
}

.btn,
.cart-count,
.price-line strong,
.modal-price,
.total-row {
  font-weight: 600;
}

h1,
h2,
h3,
.hero-title {
  font-weight: 600;
}

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.turnstile-box {
  min-height: 65px;
  margin: 12px 0;
}

.is-waiting {
  opacity: 0.55;
}

.search-results {
  position: absolute;
  top: calc(100% - 6px);
  right: clamp(16px, 4vw, 52px);
  z-index: 70;
  width: min(420px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  padding: 8px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  animation: popIn 0.18s ease both;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.search-item:hover,
.search-item:focus-visible {
  background: #f3efe7;
}

.search-item img {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #ece6da;
  object-fit: cover;
}

.search-item span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.search-item strong {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-item small {
  color: var(--muted);
}

.search-more {
  width: 100%;
  margin-top: 4px;
  padding: 11px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.search-more:hover {
  background: var(--brand-dark);
}

.search-hint {
  margin: 10px 6px 4px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.search-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 12px;
  text-align: center;
}

.search-empty p {
  margin: 0 0 4px;
  color: var(--muted);
}

.empty-state .btn {
  min-width: 220px;
}

.product-card[data-id] {
  cursor: pointer;
}

a,
button,
.product-card {
  touch-action: manipulation;
}

@media (max-width: 680px) {
  .search-results {
    right: 12px;
    left: 12px;
    width: auto;
  }
}

section[id],
main > h1[id] {
  scroll-margin-top: calc(var(--header-h, 72px) + 8px);
}

.product-card.prerendered .product-body {
  padding: 16px;
}

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

.brand-mark.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.legal {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) 0;
  line-height: 1.7;
}

.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.legal h2 {
  margin: 36px 0 8px;
  font-size: 1.25rem;
}

.legal p,
.legal li {
  color: #3f3a33;
}

.legal ul {
  padding-left: 22px;
}

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

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 20px;
}

.legal-top a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-note a {
  color: var(--brand-dark);
  text-decoration: underline;
}
