﻿:root {
  --bg: #f5f5f5;
  --bg-soft: #fafafa;
  --surface: #ffffff;
  --cream: #f8f8f8;
  --ink: #111111;
  --muted: #333333;
  --line: #e0e0e0;
  --accent: #666666;
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 14px 25px rgba(0, 0, 0, 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  padding-bottom: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
      128deg,
      rgba(240, 240, 240, 0.65) 0%,
      rgba(245, 245, 245, 0) 44%
    ),
    url("../img/texture-dots.svg");
  background-repeat: no-repeat, repeat;
  background-size: cover, 200px;
  opacity: 0.65;
  z-index: -1;
}

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

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

p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.4px;
  line-height: 1.1;
}

.shell {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 122px;
  padding: 18px 0 10px;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  justify-self: start;
  width: fit-content;
  line-height: 1;
}

.header-brand img {
  width: 170px;
  height: auto;
  object-fit: contain;
  filter: brightness(0);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: inherit;
  cursor: pointer;
}

.hamburger {
  width: 20px;
  height: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: #111111;
  border-radius: 2px;
  display: block;
}

.hamburger-line + .hamburger-line {
  margin-top: 5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 20px;
  justify-self: center;
}

.main-nav a {
  position: relative;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--muted);
  padding: 8px 2px;
  border-radius: 999px;
  transition: color 0.22s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: #111111;
  opacity: 0;
  transform: scaleX(0.55);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.main-nav a:hover,
.main-nav .is-active {
  color: #111111;
}

.main-nav a:hover::after,
.main-nav .is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  padding-right: 4px;
}

.cart-toggle-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.cart-toggle-btn.is-bump {
  animation: cart-bump 0.42s ease;
}

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

.cart-toggle-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  padding: 0 4px;
}

.cart-toggle-count[hidden] {
  display: none;
}

.hero {
  padding: 18px 0 24px;
}

.hero-media {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-media-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #f0f0f0;
  isolation: isolate;
}

.hero-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(17, 17, 17, 0.05) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.hero-main-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

.btn-dark:hover {
  background: #333333;
}

.btn-soft {
  background: #ffffff;
  color: #111111;
  border: 1px solid #e0e0e0;
}

.btn-soft:hover {
  background: #f3f3f3;
}

.btn-whatsapp {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
  padding-inline: 26px;
}

.btn-whatsapp:hover {
  background: #333333;
}

.btn-outline {
  border: 1px solid #111111;
  color: #111111;
  background: transparent;
}

.btn-outline:hover {
  background: #f3f3f3;
}

.section {
  padding: 50px 0;
}

.section h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 10px;
}

.section-lead {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 24px;
}

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

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.benefit-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.product-media {
  display: block;
  background: #f5f5f5;
  position: relative;
}

.product-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.product-body {
  padding: 18px 18px 14px;
}

.product-category {
  margin: 0 0 8px;
  font-size: 12px;
  color: #555555;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
}

.product-body h3 {
  font-size: 1.78rem;
  margin-bottom: 6px;
}

.product-price {
  margin: 0 0 8px;
  font-weight: 700;
  color: #111111;
}

.product-meta {
  margin: 0 0 8px;
  color: #555555;
  font-size: 13px;
  font-weight: 600;
}

.product-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-actions {
  padding: 0 18px 18px;
  display: grid;
  gap: 10px;
}

.product-actions .btn {
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease, color 0.25s ease;
}

.product-actions .btn.is-added {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
  animation: add-cart-pop 0.4s ease;
}

.title-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
}

.filters {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 14px;
}

.catalog-content {
  margin-top: 20px;
}

.status-note {
  margin: 12px 0 0;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  color: #222222;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
}

.status-note-warn {
  background: #f2f2f2;
  border-color: #dddddd;
  color: #333333;
}

.field {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--ink);
  font-family: inherit;
  width: 100%;
}

.field:focus {
  outline: 2px solid #333333;
  outline-offset: 1px;
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.catalog-more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.empty-state h2 {
  margin-bottom: 10px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.product-large-image {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

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

.product-detail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.product-detail h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.product-detail .tag {
  display: inline-block;
  background: #f2f2f2;
  color: #222222;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  margin-bottom: 12px;
}

.product-detail .price {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.product-detail ul {
  margin: 14px 0 22px;
  padding-left: 18px;
  color: var(--muted);
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.about-card,
.contact-card,
.contact-form,
.cart-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.about-card {
  padding: 30px;
}

.about-values {
  display: grid;
  gap: 12px;
}

.about-value {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-md);
  padding: 18px;
}

.about-value h3 {
  margin: 0 0 6px;
}

.about-value p {
  margin: 0;
  font-size: 14px;
  color: #555555;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-card,
.contact-form {
  padding: 24px;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row strong {
  display: block;
  margin-bottom: 4px;
}

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

.contact-form .field {
  border-radius: 14px;
  margin-bottom: 10px;
}

.client-data-form {
  display: grid;
  gap: 0;
  margin: 0 0 6px;
}

.contact-note {
  margin: 0 0 6px;
  color: var(--muted);
}

textarea.field {
  border-radius: 16px;
  min-height: 130px;
  resize: vertical;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

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

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line);
}

.cart-item img {
  border-radius: 12px;
  width: 90px;
  height: 104px;
  object-fit: cover;
}

.cart-item-info h3 {
  font-size: 1.38rem;
  margin-bottom: 4px;
}

.cart-item-info p {
  margin-bottom: 3px;
  font-size: 14px;
  color: var(--muted);
}

.cart-item-info small {
  color: #555555;
  font-weight: 600;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-controls button {
  border: 1px solid var(--line);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #f2f2f2;
  cursor: pointer;
}

.cart-item-subtotal {
  font-weight: 700;
}

.cart-remove {
  border: none;
  background: transparent;
  color: #333333;
  text-decoration: underline;
  cursor: pointer;
}

.cart-panel {
  padding: 22px;
  position: sticky;
  top: 20px;
  height: fit-content;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.summary-total {
  font-weight: 800;
  font-size: 1.15rem;
}

.summary-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.site-footer {
  margin-top: 46px;
  margin-bottom: 0;
  width: 100%;
  background: #000000;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
  padding: 40px 0 24px;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0 0 6px;
  color: #d9d9d9;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  padding: 12px 18px 14px;
  color: #cfcfcf;
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  background: #000000;
  color: #ffffff;
  border-radius: 999px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.34);
}

.wa-float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  line-height: 1;
  border-radius: 50%;
}

.wa-float-icon svg {
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.cart-toast {
  position: fixed;
  right: 16px;
  bottom: 84px;
  background: #000000;
  color: #ffffff;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  z-index: 95;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 70;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(430px, 92vw);
  height: 100dvh;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -22px 0 40px rgba(0, 0, 0, 0.16);
  z-index: 80;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(102%);
  transition: transform 0.25s ease;
}

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

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

.cart-drawer-head h2 {
  margin: 0;
  font-size: 2rem;
}

.cart-drawer-close {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f5f5f5;
  color: var(--ink);
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
}

.cart-drawer-body {
  overflow-y: auto;
  padding: 14px 18px;
}

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

.cart-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cart-drawer-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  padding: 10px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.cart-drawer-item.is-added-item {
  border-color: #333333;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  animation: cart-item-flash 0.5s ease;
}

.cart-drawer-item img {
  width: 74px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-drawer-info h3 {
  font-size: 1.36rem;
  margin: 0 0 2px;
  line-height: 1.1;
}

.cart-drawer-info .product-category {
  margin-bottom: 4px;
}

.cart-drawer-info .product-price {
  margin-bottom: 0;
}

.cart-drawer-controls {
  grid-column: 2 / -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-drawer-controls button {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f2f2f2;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.cart-drawer-controls span {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
}

.cart-drawer-remove {
  grid-column: 2 / -1;
  width: fit-content;
  border: none;
  background: transparent;
  color: #333333;
  text-decoration: underline;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.cart-drawer-foot {
  border-top: 1px solid var(--line);
  padding: 14px 18px 16px;
  background: #ffffff;
}

.cart-whatsapp-btn {
  margin-top: 12px;
  width: 100%;
}

.cart-whatsapp-btn.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

body.cart-open {
  overflow: hidden;
}

@keyframes cart-bump {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes add-cart-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes cart-item-flash {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

html.js-reveal-enabled .reveal.reveal-pending {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js-reveal-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .product-layout,
  .about-grid,
  .contact-grid,
  .cart-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  .hero-main-image {
    height: auto;
  }

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

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

  .cart-panel {
    position: static;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 14px;
  }

  .cart-item-controls,
  .cart-item-subtotal,
  .cart-remove {
    grid-column: 2 / -1;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .shell {
    width: min(1120px, 94vw);
  }

  .site-header {
    position: relative;
    min-height: auto;
    padding: 12px 0 8px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    row-gap: 10px;
    column-gap: 10px;
  }

  .header-brand {
    grid-area: brand;
  }

  .header-brand img {
    width: 84px;
  }

  .main-nav {
    grid-area: nav;
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
    gap: 6px 10px;
  }

  .main-nav a {
    font-size: 15px;
    padding: 8px 10px;
  }

  .header-actions {
    grid-area: actions;
    padding-right: 0;
  }

  .cart-toggle-btn {
    width: 42px;
    height: 42px;
  }

  .cart-toggle-icon {
    width: 19px;
    height: 19px;
  }

  .menu-toggle {
    display: none;
  }
  html.js-nav-enabled .menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  html.js-nav-enabled .menu-toggle .hamburger {
    width: 20px;
    height: 16px;
  }

  html.js-nav-enabled .menu-toggle .hamburger-line {
    width: 20px;
    height: 2px;
    background: #111111;
  }

  html.js-nav-enabled .main-nav {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(260px, 92vw);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
  }

  html.js-nav-enabled .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero-media {
    padding: 0;
  }

  .hero {
    padding: 10px 0 18px;
  }

  .hero-media-frame {
    border-radius: 16px;
  }

  .hero-main-image {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
  }

  .filters {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .catalog-grid {
    gap: 14px;
  }

  .product-body {
    padding: 14px 14px 10px;
  }

  .product-body h3 {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .product-price {
    font-size: 14px;
  }

  .product-meta,
  .product-desc {
    font-size: 13px;
  }

  .product-actions {
    padding: 0 14px 14px;
  }

  .btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .field {
    padding: 10px 14px;
    font-size: 14px;
  }

  .contact-card,
  .contact-form {
    padding: 18px;
  }

  .contact-row {
    padding: 8px 0;
  }

  .section {
    padding: 32px 0;
  }

  .section h2 {
    font-size: clamp(1.7rem, 8.4vw, 2.1rem);
  }

  .section-lead {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .footer-grid {
    padding: 30px 0 16px;
    gap: 14px;
  }

  .site-footer p {
    font-size: 14px;
  }

  .footer-copy {
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
  }

  .wa-float {
    right: 12px;
    left: auto;
    bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .wa-float-icon {
    width: 46px;
    height: 46px;
  }

  .wa-float-icon svg {
    width: 22px;
    height: 22px;
  }

  .cart-toast {
    right: 14px;
    left: 14px;
    text-align: center;
    bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }

  .cart-drawer-head h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .shell {
    width: 94vw;
  }

  .header-brand img {
    width: 74px;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .main-nav a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    padding: 8px 6px;
  }

  .hero-main-image {
    max-height: 205px;
  }

  .product-media img {
    aspect-ratio: 3 / 4;
  }

  .cart-toggle-btn {
    width: 40px;
    height: 40px;
  }

  .cart-toggle-count {
    top: -4px;
    right: -4px;
  }

  .wa-float-icon {
    width: 42px;
    height: 42px;
  }

  .wa-float-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* Zoom 100% and viewport stability overrides */
html,
body {
  width: 100%;
  max-width: 100%;
}

body {
  overflow-x: clip;
}

.field {
  min-width: 0;
  max-width: 100%;
}

.cart-drawer {
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.cart-drawer-body {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.cart-drawer-foot {
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  max-height: min(56dvh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
}

.cart-checkout-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.cart-checkout-form[hidden] {
  display: none !important;
}

.cart-checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.cart-checkout-field {
  display: grid;
  gap: 6px;
}

.cart-checkout-field span {
  font-size: 12px;
  font-weight: 700;
  color: #333333;
}

.cart-checkout-form .field,
.cart-checkout-field .field {
  border-radius: 12px;
  min-height: 40px;
  padding: 9px 12px;
  width: 100%;
  max-width: 100%;
}

.cart-checkout-submit {
  width: 100%;
  min-height: 42px;
}

@media (max-width: 980px) {
  .shell {
    width: min(1120px, 94vw);
  }
}

@media (max-width: 760px) {
  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }

  .cart-drawer-foot {
    max-height: min(58dvh, 430px);
  }

  .cart-checkout-grid {
    gap: 8px;
  }

  .cart-checkout-field span {
    font-size: 11px;
  }

  .cart-checkout-form .field,
  .cart-checkout-field .field {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .cart-checkout-submit {
    min-height: 40px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .shell {
    width: 94vw;
  }

  .cart-drawer-foot {
    max-height: min(60dvh, 380px);
  }

  .cart-checkout-form {
    gap: 8px;
  }

  .cart-checkout-grid {
    gap: 7px;
  }

  .cart-checkout-form .field,
  .cart-checkout-field .field {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .cart-checkout-submit {
    min-height: 38px;
    font-size: 12px;
  }
}

/* Zoom-safe refinements (no manual zoom required) */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  overflow-x: clip;
}

.shell,
main,
.section,
.title-row,
.filters,
.catalog-content,
.catalog-grid,
.product-card,
.cart-drawer,
.cart-drawer-body,
.cart-drawer-foot,
.cart-checkout-form,
.cart-checkout-grid {
  min-width: 0;
}

.cart-drawer {
  overscroll-behavior: contain;
}

.cart-drawer-body,
.cart-drawer-foot {
  overscroll-behavior: contain;
}

.cart-drawer-foot {
  max-height: clamp(220px, 58dvh, 520px);
}

@media (max-width: 760px) {
  .field,
  .cart-checkout-form .field,
  .cart-checkout-field .field {
    font-size: 16px;
  }

  .cart-drawer-foot {
    max-height: clamp(210px, 60dvh, 430px);
  }
}

@media (max-width: 480px) {
  .cart-drawer-foot {
    max-height: clamp(200px, 62dvh, 380px);
  }
}

/* Cross-browser compatibility layer (Edge/Android/Safari) */
@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

.shell {
  width: 92vw;
  max-width: 1120px;
}

.cart-drawer {
  width: 92vw;
  max-width: 430px;
  height: 100vh;
  height: calc(var(--app-vh, 1vh) * 100);
  height: 100dvh;
}

.cart-drawer-body,
.cart-drawer-foot {
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 760px) {
  .shell {
    width: 94vw;
  }

  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }
}

/* Mobile-only fix: header layering + compact catalog grid */
@media (max-width: 760px) {
  [data-site-header] {
    position: sticky;
    top: 0;
    z-index: 130;
    background: var(--bg);
  }

  .site-header {
    z-index: 131;
    isolation: isolate;
  }

  .header-actions {
    position: relative;
    z-index: 140;
  }

  .menu-toggle,
  .cart-toggle-btn {
    position: relative;
    z-index: 141;
  }

  html.js-nav-enabled .main-nav {
    z-index: 145;
  }

  .hero,
  .hero-media,
  .hero-media-frame {
    position: relative;
    z-index: 1;
  }

  .catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

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

  .product-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .product-body {
    flex: 1;
    min-height: 142px;
    padding: 10px 10px 8px;
  }

  .product-body h3 {
    font-size: 1.05rem;
    line-height: 1.2;
    min-height: 2.35em;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-category,
  .product-meta,
  .product-price,
  .product-desc {
    margin-bottom: 4px;
    line-height: 1.25;
  }

  .product-price {
    font-size: 13px;
  }

  .product-meta,
  .product-desc {
    font-size: 11px;
  }

  .product-actions {
    margin-top: auto;
    padding: 0 10px 10px;
  }

  .product-actions .btn {
    width: 100%;
    min-height: 34px;
    padding: 7px 8px;
    font-size: 11px;
  }

  @supports not (display: grid) {
    .catalog-grid {
      display: flex;
      flex-wrap: wrap;
      margin: -5px;
    }

    .catalog-grid .product-card {
      width: calc(50% - 10px);
      margin: 5px;
    }
  }
}

@media (max-width: 400px) {
  html.js-nav-enabled .menu-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .catalog-grid {
    gap: 8px;
  }

  .product-body {
    min-height: 136px;
    padding: 9px 9px 7px;
  }

  .product-actions {
    padding: 0 9px 9px;
  }

  .product-actions .btn {
    min-height: 32px;
    font-size: 10px;
  }
}




