:root {
  --primary: #b5005e;
  --primary-bright: #d92777;
  --primary-soft: #fed5e6;
  --accent: #ffcf32;
  --accent-soft: #fff4b8;
  --mint: #d8f3ec;
  --bg: #fff8fb;
  --surface: #ffffff;
  --surface-soft: #f8edf2;
  --surface-glass: rgba(255, 255, 255, 0.76);
  --text: #1a1c1c;
  --muted: #594047;
  --line: #e1bec6;
  --line-soft: #eadde1;
  --teal: #0f766e;
  --warning: #9a5b00;
  --shadow: 0 4px 18px rgba(181, 0, 94, 0.08);
  --shadow-strong: 0 18px 52px rgba(26, 28, 28, 0.16);
  --shadow-premium: 0 18px 44px rgba(26, 28, 28, 0.10);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #fff8fb 0, #fffafd 42%, #ffffff 100%);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.notice {
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 9px 12px;
  text-align: center;
  text-transform: uppercase;
  animation: noticeSlide 520ms cubic-bezier(.22,1,.36,1) both;
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  min-height: 80px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 251, 253, 0.86);
  backdrop-filter: blur(18px) saturate(1.08);
  padding: 0 clamp(20px, 4vw, 36px);
  animation: headerDrop 620ms cubic-bezier(.22,1,.36,1) 80ms both;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand img {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.brand strong {
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  flex: 1;
}

.top-nav a,
.top-nav button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.top-nav a:hover,
.top-nav button:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.icon-button, .cart-button, .secondary-button, .primary-button, .add-button {
  border-radius: 4px;
  min-height: 42px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  text-decoration: none;
}

.icon-button:hover {
  border-color: var(--line);
  color: var(--primary);
}

.menu-trigger {
  display: none;
}

.cart-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary);
}

.cart-button span:last-child {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
}

.cart-button.bump span:last-child {
  animation: cartPop 420ms cubic-bezier(.22,1,.36,1);
}

.store-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 108px auto 64px;
}

.hot-sale-section {
  margin-bottom: 46px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(225, 190, 198, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 244, 184, 0.72) 0 18%, rgba(255, 255, 255, 0.94) 18% 62%, rgba(255, 232, 242, 0.78) 62% 100%);
  box-shadow: var(--shadow-premium);
  animation: introLift 700ms cubic-bezier(.22,1,.36,1) 150ms both;
}

.hot-sale-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 42px);
  margin-bottom: 20px;
}

.hot-sale-head h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: 0;
}

.hot-sale-showcase {
  display: grid;
  grid-template-columns: minmax(410px, 0.44fr) minmax(0, 0.56fr);
  gap: 24px;
  align-items: start;
}

.hot-sale-strip {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(225, 190, 198, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  padding: 16px;
  backdrop-filter: blur(10px);
}

.hot-sale-strip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.hot-sale-strip-head h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 650;
  line-height: 1;
}

.hot-sale-strip-head .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  text-decoration: none;
}

.hot-sale-grid {
  display: grid;
  grid-auto-columns: minmax(224px, 252px);
  grid-auto-flow: column;
  gap: 14px;
  min-width: 0;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.hot-sale-grid::-webkit-scrollbar {
  display: none;
}

.hot-sale-grid .product-card {
  grid-column: auto;
  scroll-snap-align: start;
}

.hot-sale-grid .image-button {
  padding: 14px;
}

.hot-sale-grid .product-info {
  padding: 13px;
}

.hot-sale-grid .product-title {
  min-height: 42px;
  font-size: 1.08rem;
}

.carousel-controls {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.carousel-button {
  display: grid;
  place-items: center;
  width: 42px;
  min-height: 42px;
  border: 1px solid rgba(181, 0, 94, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(181, 0, 94, 0.10);
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.carousel-button:hover {
  background: white;
  transform: translateY(-1px);
}

.carousel-button:disabled {
  opacity: 0.36;
  transform: none;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  min-height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(181, 0, 94, 0.24);
  padding: 0;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button.active {
  width: 22px;
  background: var(--primary);
}

.shop-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(300px, 0.36fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 18px;
  text-align: left;
}

.shop-intro h2 {
  max-width: 780px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.campaign-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(360px, 0.46fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  margin-bottom: 24px;
  padding: 8px 0 28px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  animation: introLift 700ms cubic-bezier(.22,1,.36,1) 150ms both;
}

.campaign-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.hot-sale-mark {
  width: min(230px, 54vw);
  height: auto;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-copy {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.55;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(181, 0, 94, 0.22);
  border-radius: 999px;
  background: rgba(255, 244, 184, 0.68);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 0 12px;
  text-transform: uppercase;
}

.intro-search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  padding: 0 13px;
  box-shadow: var(--shadow);
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.intro-search span { color: var(--primary); }
.intro-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(181, 0, 94, 0.1);
  transform: translateY(-1px);
}
.intro-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.hero-deal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(220px, 0.45fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(225, 190, 198, 0.84);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--accent-soft) 0 38%, var(--mint) 38% 62%, #ffe8f2 62% 100%);
  box-shadow: var(--shadow-premium);
}

.hero-deal::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  pointer-events: none;
}

.hero-deal-loading {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 430px;
  color: var(--muted);
  font-weight: 800;
}

.hero-product-image {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: clamp(18px, 4vw, 36px);
}

.hero-product-image img {
  width: 100%;
  height: min(360px, 42vw);
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(26, 28, 28, 0.18));
  transform: rotate(-2deg);
  transition: transform 520ms cubic-bezier(.22,1,.36,1);
}

.hero-deal:hover .hero-product-image img {
  transform: translateY(-6px) rotate(-1deg) scale(1.04);
}

.hero-product-image span,
.badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 42px;
  border: 2px solid #121212;
  background: #e70031;
  color: white;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  box-shadow: 0 7px 0 rgba(18, 18, 18, 0.94);
}

.hero-product-image span {
  top: 26px;
  right: 26px;
}

.hero-product-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.82);
  padding: clamp(22px, 4vw, 34px);
}

.hero-rank {
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-product-copy h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 650;
  line-height: 0.98;
}

.hero-price,
.price-stack {
  display: grid;
  gap: 3px;
}

.hero-price strong,
.price-stack .price {
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.hero-price strong {
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-price span,
.regular-price {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: line-through;
}

.hero-product-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}

.hero-actions .primary-button,
.hero-actions .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.quick-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  border: 0;
  padding: 4px 0 14px;
  scrollbar-width: none;
  animation: chipsIn 720ms cubic-bezier(.22,1,.36,1) 230ms both;
}

.chip {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0 18px;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.chip.active {
  border-color: transparent;
  background: var(--primary-soft);
  color: var(--primary);
}

.store-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

.hot-sale-layout {
  display: block;
  margin-top: 10px;
}

.hot-sale-layout .filters {
  display: none;
}

.filters, .catalog, .cart-drawer, .product-modal {
  border: 1px solid var(--line-soft);
  background: var(--surface);
}

.filters {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  border-radius: 8px;
  padding: 18px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}

.panel-title strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.panel-title .icon-button { display: none; }

.field, .toggle {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.field select {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  padding: 0 10px;
}

.toggle {
  grid-template-columns: auto 1fr;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  color: var(--text);
}

.toggle input { width: 18px; height: 18px; accent-color: var(--primary); }

.secondary-button {
  border: 1px solid var(--primary);
  background: var(--surface);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0 16px;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary-button, .add-button {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0 16px;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

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

.secondary-button:hover {
  background: var(--primary-soft);
}

.primary-button:hover, .add-button:hover {
  box-shadow: 0 12px 24px rgba(181, 0, 94, 0.16);
  filter: saturate(1.08);
}

.catalog {
  border: 0;
  background: transparent;
  animation: catalogIn 700ms cubic-bezier(.22,1,.36,1) 260ms both;
}

.catalog-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 14px;
  border-top: 0;
  padding-top: 0;
}

.catalog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.catalog-head h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 600;
}

.catalog-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

@media (min-width: 1061px) {
  #openFilters {
    display: none;
  }
}

.professional-footer {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fff8fb 0%, #fff0f6 100%);
  padding: 64px clamp(20px, 4vw, 36px) 124px;
}

.footer-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, 0.75fr));
  gap: 28px;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  text-decoration: none;
}

.footer-logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.footer-logo span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
}

.footer-brand p,
.footer-column p,
.footer-bottom {
  color: var(--muted);
  line-height: 1.6;
}

.footer-brand p,
.footer-column p {
  max-width: 430px;
  margin: 0;
}

.footer-whatsapp {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(181, 0, 94, 0.24);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 11px 16px;
  text-decoration: none;
  text-transform: uppercase;
}

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

.footer-column h2 {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.footer-column a:hover,
.footer-whatsapp:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(1200px, 100%);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 750;
}

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 3vw, 28px);
  bottom: 24px;
  z-index: 39;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.24), 0 0 0 10px rgba(37, 211, 102, 0.07);
  color: #fff;
  padding: 0;
  text-decoration: none;
  transform-origin: center;
  animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp-float::before,
.whatsapp-float::after {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(37, 211, 102, 0.42);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  animation: whatsappRing 2.4s ease-out infinite;
}

.whatsapp-float::after {
  inset: -15px;
  animation-delay: 0.75s;
  opacity: 0.55;
}

.whatsapp-float svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 34px;
  height: 34px;
}

.whatsapp-float:hover {
  background: #20c963;
  transform: translateY(-2px) scale(1.03);
}

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

.product-card {
  grid-column: span 4;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(225, 190, 198, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  opacity: 1;
  transform: none;
  animation: cardIn 520ms cubic-bezier(.22,1,.36,1) both;
  animation-delay: calc(min(var(--i, 0), 11) * 34ms);
  box-shadow: 0 6px 18px rgba(26, 28, 28, 0.04);
  transition: opacity 520ms cubic-bezier(.22,1,.36,1), transform 520ms cubic-bezier(.22,1,.36,1), box-shadow 180ms ease, border-color 180ms ease;
}

.product-card.featured-card {
  grid-column: span 8;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
}

.product-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  z-index: 1;
  border-color: rgba(181, 0, 94, 0.38);
  box-shadow: var(--shadow-premium);
  transform: translateY(-2px);
}

.image-button {
  position: relative;
  border: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fffafd 100%);
  padding: 18px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-card.hot-sale-card .image-button {
  background:
    linear-gradient(135deg, rgba(255, 244, 184, 0.95) 0 44%, rgba(248, 237, 242, 0.78) 44% 100%);
}

.featured-card .image-button {
  min-height: 380px;
  aspect-ratio: auto;
}

.image-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 18px rgba(26, 28, 28, 0.14));
  transition: transform 540ms cubic-bezier(.22,1,.36,1), filter 220ms ease;
}

.product-card:hover .image-button img {
  filter: saturate(1.06) drop-shadow(0 18px 22px rgba(26, 28, 28, 0.18));
  transform: translateY(-5px) scale(1.055);
}

.badge {
  left: 14px;
  top: 14px;
  padding: 0 10px;
  transform-origin: left top;
  transition: transform 180ms ease;
}

.product-card:hover .badge { transform: rotate(-8deg) scale(1.04); }

.badge[hidden] {
  display: none;
}

.product-info {
  display: grid;
  gap: 11px;
  padding: 16px;
}

.featured-card .product-info {
  align-content: center;
  padding: 24px;
}

.product-kicker {
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-title {
  display: -webkit-box;
  min-height: 46px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.05;
  overflow: hidden;
  padding: 0;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-card .product-title {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stock,
.sold-count {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.sold-count {
  color: var(--teal);
}

.add-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  overflow: hidden;
}

.add-button span { font-size: 1.08rem; }
.add-button.added { animation: buttonPulse 480ms cubic-bezier(.22,1,.36,1); }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(26, 28, 28, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.site-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 58;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(360px, 88vw);
  height: 100dvh;
  border-right: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-strong);
  transform: translateX(-105%);
  transition: transform 280ms cubic-bezier(.22,1,.36,1);
}

.site-menu.show {
  transform: translateX(0);
}

.site-menu header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 3px solid var(--primary);
  border-bottom: 1px solid var(--line-soft);
  padding: 18px;
}

.site-menu header strong {
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.site-menu nav {
  display: grid;
  align-content: start;
  gap: 2px;
  overflow: auto;
  padding: 12px;
}

.site-menu a,
.site-menu button {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 13px 12px;
  text-align: left;
  text-decoration: none;
}

.site-menu a:hover,
.site-menu button:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  width: min(460px, 100vw);
  height: 100dvh;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(.22,1,.36,1);
  box-shadow: var(--shadow-strong);
}

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

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 3px solid var(--primary);
  border-bottom: 1px solid var(--line-soft);
  padding: 18px;
}

.drawer-head div { display: grid; gap: 2px; }
.drawer-head strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
}
.drawer-head span { color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 18px;
}

.checkout-steps span {
  display: grid;
  place-items: center;
  height: 30px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 900;
}

.checkout-steps span.active {
  background: var(--primary);
  color: white;
  animation: stepPop 320ms cubic-bezier(.22,1,.36,1);
}

.cart-stage {
  min-height: 0;
  overflow: auto;
  padding: 18px;
}

.hidden { display: none !important; }

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

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 8px;
  animation: itemEnter 300ms cubic-bezier(.22,1,.36,1) both;
}

.cart-item img {
  width: 74px;
  height: 74px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--surface-soft);
}

.cart-item strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-item span { color: var(--muted); font-size: 0.78rem; font-weight: 700; }

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

.qty button {
  width: 30px;
  min-height: 30px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: var(--surface);
  font-weight: 900;
}

.remove {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 800;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

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

.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.checkout-form input, .checkout-form select, .checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  min-height: 46px;
  padding: 10px 11px;
}

.checkout-form input:focus, .checkout-form select:focus, .checkout-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(181, 0, 94, 0.1);
  outline: 0;
}

.shipping-quote {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8fb 100%);
  padding: 12px;
}

.shipping-quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.shipping-quote-head div {
  display: grid;
  gap: 2px;
}

.shipping-quote-head strong {
  color: var(--text);
  font-size: 0.9rem;
}

.shipping-quote-head span,
.shipping-status {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.shipping-quote-head .secondary-button {
  min-width: 94px;
}

.shipping-rates {
  display: grid;
  gap: 8px;
}

.shipping-rate {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  padding: 10px;
  text-align: left;
}

.shipping-rate.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(181, 0, 94, 0.08);
}

.shipping-rate span {
  display: grid;
  gap: 2px;
}

.shipping-rate span:last-child {
  text-align: right;
}

.shipping-rate strong {
  font-size: 0.82rem;
  font-weight: 900;
}

.shipping-rate small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.shipping-status {
  min-height: 18px;
  margin: 0;
}

.shipping-status[data-tone="error"] {
  color: #9a3d00;
}

.confirm-box {
  display: grid;
  place-items: center;
  gap: 9px;
  min-height: 280px;
  text-align: center;
}

.confirm-box span { color: var(--teal); font-size: 3rem; }
.confirm-box strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
}
.confirm-box p { margin: 0; color: var(--muted); line-height: 1.45; }

.mercadopago-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 310px);
  margin-top: 10px;
}

.mercadopago-button span {
  font-size: 1.15rem;
}

.mercadopago-button:disabled {
  cursor: progress;
  filter: saturate(0.8);
  opacity: 0.82;
}

.payment-status {
  min-height: 20px;
  font-size: 0.78rem;
  font-weight: 800;
}

.payment-status[data-tone="error"] {
  color: #9a3d00;
}

.cart-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
  padding: 16px 18px 18px;
}

.totals-stack {
  display: grid;
  gap: 6px;
  margin-bottom: 11px;
}

.totals {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.totals span { color: var(--muted); font-weight: 800; }
.totals strong {
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
}

.shipping-total strong {
  font-size: 1.18rem;
}

.grand-total {
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}

.cart-actions {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 8px;
}

.cart-actions button { width: 100%; }

.product-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  width: min(1120px, calc(100vw - 28px));
  max-height: min(840px, calc(100dvh - 28px));
  overflow: auto;
  border-top: 3px solid var(--primary);
  border-radius: 2px;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -48%);
  transition: opacity 260ms ease, transform 300ms cubic-bezier(.22,1,.36,1);
}

.product-modal.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
}

.modal-media {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 520px;
  background: var(--surface-soft);
  border-right: 1px solid var(--line-soft);
}

.modal-main-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  overflow: hidden;
}

.modal-main-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  cursor: zoom-in;
  object-fit: contain;
}

.modal-full-button {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(181, 0, 94, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 0 14px;
  text-transform: uppercase;
  box-shadow: 0 14px 26px rgba(26, 28, 28, 0.12);
  backdrop-filter: blur(12px);
  transition: transform 160ms ease, background 160ms ease;
}

.modal-full-button:hover {
  background: white;
  transform: translateY(-1px);
}

.modal-full-button .material-symbols-outlined {
  font-size: 1.1rem;
}

.modal-body {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(26px, 5vw, 58px);
}

.modal-body h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.modal-price {
  display: grid;
  gap: 4px;
}

.modal-price strong {
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
}

.modal-price span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: line-through;
}

.modal-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.modal-specs div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.modal-specs span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-specs strong {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
  max-height: 210px;
  overflow: auto;
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
  padding: 12px;
}

.modal-gallery-label {
  grid-column: 1 / -1;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-thumbs button {
  width: 100%;
  height: 82px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  padding: 0;
  overflow: hidden;
  opacity: 0.72;
  transition: transform 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.modal-thumbs button:hover {
  border-color: var(--primary);
  opacity: 1;
  transform: translateY(-2px);
}

.modal-thumbs button.selected {
  border: 2px solid var(--primary);
  opacity: 1;
}

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

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  gap: 16px;
  background: rgba(12, 8, 10, 0.98);
  opacity: 0;
  pointer-events: none;
  padding: clamp(18px, 4vw, 42px);
  transition: opacity 180ms ease;
}

.image-lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img {
  max-width: min(1180px, 100%);
  max-height: calc(100dvh - 132px);
  object-fit: contain;
  background: white;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.image-lightbox p {
  max-width: min(760px, 100%);
  margin: 0;
  color: white;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.empty {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
}

@keyframes noticeSlide {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes headerDrop {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introLift {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes chipsIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes catalogIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cartPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.28); }
  100% { transform: scale(1); }
}

@keyframes buttonPulse {
  0% { transform: scale(1); }
  45% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

@keyframes stepPop {
  0% { transform: scale(0.88); }
  100% { transform: scale(1); }
}

@keyframes itemEnter {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes whatsappPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.02); }
}

@keyframes whatsappRing {
  0% { opacity: 0.58; transform: scale(0.84); }
  70%, 100% { opacity: 0; transform: scale(1.28); }
}

@media (max-width: 1060px) {
  .top-nav { justify-content: flex-start; overflow-x: auto; }
  .hot-sale-showcase {
    grid-template-columns: minmax(0, 1fr);
  }
  .campaign-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .store-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    inset: auto 0 0;
    z-index: 55;
    border-radius: 8px 8px 0 0;
    pointer-events: none;
    transform: translateY(110%);
    transition: transform 240ms cubic-bezier(.22,1,.36,1);
    visibility: hidden;
  }
  .filters.show {
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }
  .panel-title .icon-button { display: grid; }
  .product-card { grid-column: span 6; }
  .product-card.featured-card {
    grid-column: span 12;
    grid-template-columns: minmax(0, 0.56fr) minmax(240px, 0.44fr);
  }
}

@media (max-width: 760px) {
  .notice { font-size: 0.62rem; }
  .app-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 8px;
    min-height: 64px;
    padding: 8px 10px;
  }
  .brand img { height: 36px; max-width: 88px; }
  .top-nav {
    display: flex;
    min-width: 0;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    padding: 0;
    scrollbar-width: none;
  }
  .top-nav::-webkit-scrollbar { display: none; }
  .top-nav a,
  .top-nav button {
    flex: 0 0 auto;
    border: 1px solid rgba(181, 0, 94, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    font-size: 0.6rem;
    padding: 7px 8px;
    white-space: nowrap;
  }
  .app-header > a.icon-button[aria-label="Cuenta"] { display: none; }
  .menu-trigger { display: none; }
  .icon-button {
    width: 34px;
    min-height: 34px;
  }
  .cart-button {
    width: 36px;
    min-height: 36px;
  }
  .store-shell {
    width: min(100% - 24px, 1200px);
    margin-top: 78px;
    margin-bottom: 44px;
  }
  .hot-sale-section {
    margin-bottom: 30px;
    padding: 14px;
  }
  .hot-sale-head {
    display: grid;
    grid-template-columns: 86px 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }
  .hot-sale-head h1 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
    line-height: 0.92;
  }
  .hot-sale-mark {
    width: 86px;
  }
  .hot-sale-head .intro-copy {
    font-size: 0.86rem;
    line-height: 1.35;
  }
  .hot-sale-showcase {
    gap: 14px;
  }
  .hot-sale-strip {
    padding: 12px;
  }
  .hot-sale-strip-head {
    align-items: center;
    flex-direction: row;
    margin-bottom: 10px;
  }
  .hot-sale-strip-head .secondary-button {
    width: auto;
    min-width: 104px;
    min-height: 38px;
    padding: 0 12px;
  }
  .hot-sale-strip-head h2 { font-size: 1.65rem; }
  .hot-sale-grid {
    grid-auto-columns: minmax(204px, 70vw);
    gap: 12px;
    padding-bottom: 12px;
  }
  .hot-sale-grid .image-button {
    aspect-ratio: 1.12 / 1;
  }
  .hot-sale-grid .product-title {
    min-height: 38px;
    font-size: 1rem;
  }
  .carousel-controls {
    grid-template-columns: 38px 1fr 38px;
    gap: 10px;
  }
  .carousel-button {
    width: 38px;
    min-height: 38px;
  }
  .campaign-hero,
  .shop-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 22px;
    text-align: left;
  }
  .campaign-hero h1,
  .shop-intro h1,
  .shop-intro h2 { font-size: 2.55rem; }
  .hero-deal {
    grid-template-columns: minmax(118px, 0.43fr) minmax(0, 0.57fr);
    min-height: auto;
  }
  .hero-deal::before { display: none; }
  .hero-product-image {
    min-height: 196px;
    padding: 14px 8px 14px 14px;
  }
  .hero-product-image img {
    height: 158px;
  }
  .hero-product-image span {
    top: 14px;
    right: 6px;
    min-width: 56px;
    min-height: 34px;
    font-size: 0.68rem;
    box-shadow: 0 5px 0 rgba(18, 18, 18, 0.94);
  }
  .hero-product-copy {
    background: rgba(255, 255, 255, 0.88);
    gap: 8px;
    padding: 14px;
  }
  .hero-rank {
    font-size: 0.62rem;
  }
  .hero-product-copy h2 {
    font-size: clamp(1.45rem, 8vw, 2rem);
    line-height: 0.96;
  }
  .hero-price strong {
    font-size: 1.75rem;
  }
  .hero-price span {
    font-size: 0.72rem;
  }
  .hero-product-copy p {
    font-size: 0.76rem;
    line-height: 1.3;
  }
  .hero-actions {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    min-height: 38px;
    font-size: 0.68rem;
  }
  .intro-copy { font-size: 0.96rem; }
  .shop-intro {
    padding-top: 4px;
  }
  .catalog-head { align-items: stretch; flex-direction: column; }
  .catalog-head .secondary-button,
  .catalog-actions { width: 100%; }
  .catalog-actions { justify-content: stretch; }
  .catalog-actions .secondary-button { flex: 1; }
  .professional-footer {
    padding-top: 42px;
    padding-bottom: 104px;
  }
  .footer-wrap { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
  }
  .whatsapp-float svg { width: 31px; height: 31px; }
  .product-grid { gap: 12px; }
  .product-card,
  .product-card.featured-card {
    grid-column: span 12;
    grid-template-columns: 1fr;
  }
  .product-card:not(.featured-card) {
    grid-column: span 6;
  }
  .hot-sale-grid .product-card:not(.featured-card) {
    grid-column: auto;
  }
  .catalog .product-card .image-button {
    padding: 12px;
  }
  .featured-card .image-button {
    min-height: 310px;
    aspect-ratio: 1 / 1;
  }
  .product-title { font-size: 1.16rem; }
  .product-info {
    gap: 8px;
    padding: 12px;
  }
  .price-stack .price {
    font-size: 1.28rem;
  }
  .product-modal {
    display: block;
    grid-template-columns: 1fr;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
  .modal-media {
    grid-template-rows: auto auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .modal-main-image {
    min-height: 330px;
    padding-top: 0;
  }
  .modal-main-image img {
    height: 300px;
    min-height: 0;
    max-height: 42dvh;
  }
  .modal-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 220px;
  }
  .modal-body { padding: 24px 18px 96px; }
  .modal-specs { grid-template-columns: 1fr; }
  .cart-drawer {
    width: 100vw;
  }
  .drawer-head {
    padding: 14px 18px 12px;
  }
  .drawer-head strong {
    font-size: 1.38rem;
  }
  .checkout-steps {
    gap: 10px;
    padding: 10px 18px;
  }
  .checkout-steps span {
    height: 28px;
  }
  .cart-stage {
    padding: 14px 18px;
  }
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }
  .checkout-form {
    gap: 10px;
  }
  .checkout-form input,
  .checkout-form select,
  .checkout-form textarea {
    min-height: 44px;
  }
  .shipping-quote {
    padding: 10px;
  }
  .cart-footer {
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  }
  .totals-stack {
    gap: 4px;
    margin-bottom: 9px;
  }
  .totals strong {
    font-size: 1.38rem;
  }
  .shipping-total strong {
    font-size: 1.05rem;
  }
  .cart-actions {
    grid-template-columns: 0.38fr 0.62fr;
  }
  .cart-actions button {
    min-height: 46px;
    padding-inline: 12px;
  }
  .shipping-rate {
    grid-template-columns: 1fr;
  }
  .shipping-rate span:last-child {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .campaign-hero h1,
  .shop-intro h1,
  .shop-intro h2 { font-size: 2.2rem; }
  .hero-stats span { width: 100%; justify-content: center; }
  .hero-actions { grid-template-columns: 1fr; }
  .hot-sale-grid .product-card {
    grid-column: auto;
  }
  .product-card:not(.featured-card) {
    grid-column: span 6;
  }
  .product-kicker { font-size: 0.62rem; }
  .product-title {
    min-height: 40px;
    font-size: 0.98rem;
  }
  .product-meta {
    display: grid;
    gap: 2px;
  }
  .stock { font-size: 0.68rem; }
  .add-button {
    min-height: 40px;
    font-size: 0.68rem;
    padding: 0 8px;
  }
  .cart-item {
    grid-template-columns: 62px 1fr;
  }
  .cart-item img {
    width: 62px;
    height: 62px;
  }
  .remove {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 360px) {
  .cart-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
  .product-card {
    opacity: 1;
    transform: none;
  }
}
