: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: 900;
}

.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: 800;
}

.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: 900;
  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: 850;
  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: 800;
}

.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: 900;
}

.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: 800;
}

.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: 900;
}

.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: 800;
}

.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: 900;
}

.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: 900;
  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: 900;
}

.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: 800;
  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: 800;
}

.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: 900;
}

.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: 900;
}

.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: 850;
}

.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;
  }
}
