:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --whatsapp: #25d366;
  --white: #ffffff;
  --surface: #f4f6f5;
  --text: #233027;
  --muted: #5f6b63;
  --line: #dce5df;
  --focus: #0b6fef;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-sm: 0 4px 12px rgba(24, 68, 34, 0.08);
  --shadow: 0 16px 36px rgba(24, 68, 34, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  font-size: 16px;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--green-dark);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(46, 125, 50, 0.14);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-shell,
.section-shell,
.hero-shell,
.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
  padding-block: 0.35rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  color: var(--green-dark);
  text-decoration: none;
}

.brand-logo {
  width: clamp(116px, 17vw, 170px);
  height: clamp(54px, 7vw, 72px);
  flex: 0 0 auto;
  object-fit: contain;
  object-position: left center;
}

.brand .brand-logo-full {
  width: clamp(190px, 20vw, 250px);
  height: auto;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.brand-logo-full + .brand-copy {
  display: none;
}

.brand-copy strong {
  overflow-wrap: anywhere;
  font-size: 1.25rem;
  line-height: 1.15;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.header-actions,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.header-actions {
  justify-content: flex-end;
  max-height: 220px;
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  transition:
    max-height 220ms ease,
    opacity 180ms ease,
    transform 220ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.68rem 1rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button svg {
  width: 1.16rem;
  height: 1.16rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(27, 94, 32, 0.13);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
  box-shadow: none;
}

.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-light {
  border-color: var(--line);
  background: var(--white);
  color: var(--green-dark);
}

.button-light:hover {
  border-color: rgba(46, 125, 50, 0.45);
}

.button-outline {
  border-color: rgba(46, 125, 50, 0.45);
  background: var(--white);
  color: var(--green-dark);
}

.button-outline:hover {
  border-color: var(--green);
  background: #eef7ef;
}

.button-whatsapp {
  background: var(--whatsapp);
  color: #092f17;
}

.button-whatsapp:hover {
  background: #1fc15c;
}

.button-large {
  min-height: 52px;
  padding-inline: 1.2rem;
}

.cart-toggle {
  position: relative;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  min-height: 1.55rem;
  border-radius: 999px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.875rem;
  line-height: 1;
  padding: 0.2rem 0.42rem;
}

.hero {
  background: var(--white);
  padding: 1rem 0 1.5rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
.hero-copy { min-width: 0; }
.hero-copy h1 { max-width: none; line-height: 1.15; }
.error-page main { padding-block: 2rem 4rem; }
.error-page h1 { max-width: none; font-size: 2rem; }
.hero-copy .eyebrow { margin-bottom: 0.5rem; }
.hero-copy .hero-text { max-width: 70ch; margin-bottom: 1rem; }

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--green-dark);
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  color: var(--green-dark);
  font-size: 2.5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.65rem;
  color: var(--green-dark);
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  color: var(--green-dark);
  font-size: 1.05rem;
}

.hero-text {
  max-width: 54ch;
  margin-bottom: 1.35rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.hero-visual {
  order: -1;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
}
.hero-visual picture { display: block; }

.hero-visual::after {
  display: none;
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.contact-section,
.catalog-section,
.location-section {
  padding: clamp(2.5rem, 6vw, 4.8rem) 0;
}

.catalog-section {
  background: var(--white);
}

.catalog-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.catalog-subtitle {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.catalog-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px) minmax(170px, 220px);
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-field,
.filter-field,
.sort-field {
  display: grid;
  gap: 0.4rem;
  color: var(--green-dark);
  font-size: 0.875rem;
  font-weight: 700;
  min-width: 0;
}

.search-field input,
.filter-field select,
.sort-field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  min-width: 0;
  padding: 0.75rem;
}

.search-field input:focus,
.filter-field select:focus,
.sort-field select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(46, 125, 50, 0.16);
}

.category-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.category-chip {
  min-height: 44px;
  border: 1px solid rgba(46, 125, 50, 0.24);
  border-radius: 999px;
  background: var(--white);
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0.5rem 0.9rem;
}

.category-chip:hover,
.category-chip.is-active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.catalog-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 800;
}

.catalog-more { display: flex; justify-content: center; margin-top: 1.25rem; }

.catalog-status p {
  margin-bottom: 0;
}

.catalog-error,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 1.2rem;
  text-align: center;
}

.catalog-error {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.catalog-error[hidden] {
  display: none;
}

.catalog-error strong {
  color: var(--green-dark);
  font-size: 1.1rem;
}

.catalog-error p {
  margin-bottom: 0;
}

.catalog-error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

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

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(46, 125, 50, 0.16);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(35, 48, 39, 0.08);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(46, 125, 50, 0.34);
  box-shadow: 0 16px 34px rgba(35, 48, 39, 0.12);
  transform: translateY(-2px);
}

.product-card-hit-area {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  cursor: pointer;
  text-decoration: none;
}

.product-card-hit-area:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -4px;
}

.product-skeleton {
  min-height: 430px;
  background:
    linear-gradient(90deg, rgba(244, 246, 245, 0.65), rgba(255, 255, 255, 0.9), rgba(244, 246, 245, 0.65));
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

.product-card.is-unavailable {
  background: #fbfcfb;
}

.product-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid rgba(46, 125, 50, 0.1);
  background: #f8faf9;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.product-image-wrap img.is-placeholder {
  padding: 1.3rem;
}

.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: flex-start;
}

.product-badge {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.32rem 0.52rem;
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1.1;
}

.product-badge-success {
  border-color: rgba(46, 125, 50, 0.18);
  background: #e7f7ea;
  color: var(--green-dark);
}

.product-badge-muted {
  border-color: rgba(95, 107, 99, 0.16);
  background: #eef0ef;
  color: var(--muted);
}

.product-badge-warning {
  border-color: rgba(114, 82, 0, 0.14);
  background: #fff5d6;
  color: #725200;
}

.product-badge-featured {
  border-color: rgba(46, 125, 50, 0.16);
  background: #f1fbf2;
  color: var(--green);
}

.product-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
}

.product-category {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0;
  overflow-wrap: anywhere;
  border-radius: 999px;
  background: #eef7ef;
  color: var(--green-dark);
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1.2;
  padding: 0.28rem 0.55rem;
  text-transform: uppercase;
}

.product-body h3 {
  display: -webkit-box;
  margin-bottom: 0;
  -webkit-box-orient: vertical;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.product-brand,
.product-description,
.product-prescription-note {
  margin-bottom: 0;
  color: var(--muted);
}

.product-brand {
  overflow-wrap: anywhere;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.35;
}

.product-brand strong {
  color: var(--green-dark);
}

.product-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 0.88rem;
  line-height: 1.42;
}

.product-prescription-note {
  border-left: 3px solid #e1b100;
  background: #fffaf0;
  font-size: 0.875rem;
  line-height: 1.35;
  padding: 0.45rem 0.55rem;
}

.product-prescription-note[hidden] {
  display: none;
}

.product-price,
.product-detail-price {
  margin-bottom: 0;
  color: var(--green-dark);
  font-size: 1.25rem;
  font-weight: 900;
}

.product-card-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  min-width: 0;
  margin-top: auto;
  padding-top: 0.25rem;
}

.product-card-button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding-inline: 0.7rem;
  white-space: normal;
}

.catalog-cart-stepper {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 0.35rem;
  align-items: center;
  width: 100%;
  border-radius: 8px;
}

.catalog-cart-step-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.catalog-cart-step-button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(27, 94, 32, 0.13);
}

.catalog-cart-step-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.catalog-cart-stepper input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.catalog-cart-stepper input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(46, 125, 50, 0.16);
}

.contact-section {
  background:
    linear-gradient(180deg, #f8fbf9 0%, var(--surface) 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.7rem;
}

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

.info-card {
  position: relative;
  display: grid;
  grid-column: span 4;
  gap: 0.9rem;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(46, 125, 50, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94));
  padding: 1.05rem;
  box-shadow: 0 12px 26px rgba(35, 48, 39, 0.08);
}

.info-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--green);
  content: "";
}

.info-card-feature {
  grid-column: span 5;
  background:
    radial-gradient(circle at top right, rgba(37, 211, 102, 0.2), transparent 44%),
    linear-gradient(135deg, #ffffff 0%, #ecf9ef 100%);
}

.info-card-wide {
  grid-column: span 4;
}

.contact-grid .info-card:nth-child(2) {
  grid-column: span 3;
}

.contact-grid .info-card:nth-child(4),
.contact-grid .info-card:nth-child(5) {
  grid-column: span 6;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eef7ef;
  color: var(--green-dark);
}

.info-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.info-icon-whatsapp {
  background: var(--whatsapp);
  color: #073415;
}

.info-card p {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0;
  color: var(--muted);
}

.info-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
}

.info-card strong {
  color: var(--green-dark);
}

.info-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  align-self: end;
  width: fit-content;
  border-radius: 6px;
  background: rgba(46, 125, 50, 0.08);
  padding: 0.34rem 0.5rem;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.info-link:hover {
  background: rgba(46, 125, 50, 0.14);
}

.info-time {
  color: var(--green-dark);
  font-weight: 900;
}

.contact-actions {
  margin-top: 1.2rem;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.location-copy p {
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.location-copy .location-hours {
  margin-bottom: 1rem;
}

.location-copy strong {
  color: var(--text);
}

.map-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-panel iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

.product-detail-section {
  min-height: 62vh;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 5rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.breadcrumb a,
.breadcrumb > span:not([data-breadcrumb-product]) { flex-shrink: 0; }
.breadcrumb [data-breadcrumb-product] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb a {
  color: var(--green-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.back-to-catalog {
  width: fit-content;
  margin-bottom: 1rem;
}

.product-detail-root {
  min-height: 360px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: start;
}

.product-detail-media {
  min-width: 0;
}

.product-detail-image-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border: 1px solid rgba(46, 125, 50, 0.16);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-detail-image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(1rem, 3vw, 2rem);
}

.product-detail-info {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.product-detail-info h1 {
  max-width: none;
  margin-bottom: 0;
  color: var(--green-dark);
  font-size: 2.25rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.product-detail-brand {
  font-size: 1rem;
}

.detail-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-detail-description {
  display: grid;
  gap: 0.45rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.product-detail-description h2 {
  margin-bottom: 0;
  color: var(--green-dark);
  font-size: 1.1rem;
}

.product-detail-description p {
  overflow-wrap: anywhere;
  white-space: pre-line;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.product-detail-prescription {
  max-width: 620px;
}

.product-detail-purchase {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.25rem;
}

.quantity-field {
  display: grid;
  gap: 0.45rem;
  color: var(--green-dark);
  font-weight: 900;
}

.quantity-control,
.cart-quantity {
  display: inline-grid;
  grid-template-columns: 44px minmax(58px, 76px) 44px;
  width: fit-content;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.quantity-button,
.cart-quantity-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: #eef7ef;
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 900;
}

.quantity-button:disabled,
.cart-quantity-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.quantity-control input,
.cart-quantity input {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-inline: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  font-weight: 900;
  text-align: center;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.product-detail-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.product-detail-message {
  display: grid;
  gap: 0.9rem;
  max-width: 720px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: 0 12px 26px rgba(35, 48, 39, 0.08);
}

.product-detail-message h1 {
  max-width: none;
  margin-bottom: 0;
  color: var(--green-dark);
  font-size: 2rem;
}

.product-detail-message p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-detail-skeleton {
  min-height: 430px;
}

.product-detail-skeleton .product-detail-image-frame,
.product-detail-skeleton-info span {
  background:
    linear-gradient(90deg, rgba(244, 246, 245, 0.65), rgba(255, 255, 255, 0.9), rgba(244, 246, 245, 0.65));
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.product-detail-skeleton-info {
  display: grid;
  gap: 0.75rem;
}

.product-detail-skeleton-info span {
  min-height: 22px;
  border-radius: 8px;
}

.product-detail-skeleton-info span:nth-child(1) {
  width: 45%;
}

.product-detail-skeleton-info span:nth-child(2) {
  min-height: 54px;
}

.product-detail-skeleton-info span:nth-child(3) {
  width: 70%;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  background: rgba(24, 38, 29, 0.32);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    visibility 0s linear 180ms;
}

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

.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 180ms ease,
    visibility 0s linear;
}

.cart-drawer {
  display: grid;
  grid-template-areas: "header" "notices" "products" "actions";
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(420px, 100%);
  height: 100%;
  height: 100dvh;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid rgba(46, 125, 50, 0.18);
  background: var(--white);
  box-shadow: -18px 0 40px rgba(24, 38, 29, 0.18);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

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

.cart-drawer-header {
  grid-area: header;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 1rem;
}

.cart-drawer-header h2 {
  margin-bottom: 0;
  color: var(--green-dark);
  font-size: 1.5rem;
}

.cart-close {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 900;
}

.cart-content {
  grid-area: products;
  min-width: 0;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
}

.cart-empty,
.cart-loading,
.cart-phase-note {
  margin-bottom: 0;
  color: var(--muted);
}

.cart-phase-note {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.cart-item {
  display: grid;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0 1rem;
}

.cart-item.is-muted {
  border-left: 3px solid #a6422b;
  padding-left: 0.65rem;
}

.cart-item-meta h3 {
  overflow-wrap: anywhere;
  margin-bottom: 0.2rem;
  color: var(--green-dark);
  font-size: 1rem;
  line-height: 1.25;
}

.cart-item-meta p {
  overflow-wrap: anywhere;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-item-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.cart-remove {
  min-height: 44px;
  border: 1px solid rgba(46, 125, 50, 0.28);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0.55rem 0.8rem;
}

.toast-region {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 78px);
  z-index: 70;
  display: grid;
  gap: 0.7rem;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid rgba(46, 125, 50, 0.18);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  padding: 0.8rem 0.85rem;
  box-shadow: 0 14px 30px rgba(24, 38, 29, 0.18);
  pointer-events: auto;
  animation: toast-in 180ms ease;
}

.toast p {
  margin-bottom: 0;
  font-weight: 800;
}

.toast-error {
  border-color: rgba(184, 48, 48, 0.22);
}

.toast-warning {
  border-color: rgba(181, 126, 0, 0.24);
}

.toast-info {
  border-color: rgba(46, 125, 50, 0.16);
}

.toast-close {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #eef7ef;
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(8px);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-whatsapp {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 56px;
  min-height: 56px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #073415;
  padding: 0.85rem 1rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  animation: whatsapp-pulse 2.8s ease-in-out infinite;
}

.floating-whatsapp svg {
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.floating-whatsapp:hover {
  background: #1fc15c;
}

.floating-whatsapp.is-obstructing {
  visibility: hidden;
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 0 0 11px rgba(37, 211, 102, 0.12);
  }
}

.site-footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 2rem 0 5.5rem;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 1.25rem;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer ul {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-underline-offset: 4px;
}

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1rem;
  font-size: 0.92rem;
}

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

@media (max-width: 1024px) {
  .header-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-shell,
  .location-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  h1 {
    max-width: 13ch;
  }

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

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

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

  .info-card,
  .info-card-feature,
  .info-card-wide,
  .contact-grid .info-card:nth-child(2),
  .contact-grid .info-card:nth-child(4),
  .contact-grid .info-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (min-width: 821px) and (max-width: 1024px) {
  .header-shell {
    align-items: center;
    flex-direction: row;
  }

  .header-actions {
    width: auto;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  main {
    padding-top: var(--mobile-actions-space, 139px);
  }

  .header-shell,
  .section-shell,
  .hero-shell,
  .footer-shell {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    width: 100%;
  }

  .header-shell {
    position: relative;
  }

  .brand-logo {
    width: 112px;
    height: 52px;
  }

  .brand .brand-logo-full {
    width: min(100%, 185px);
    height: auto;
  }

  .header-actions,
  .hero-actions,
  .contact-actions,
  .catalog-controls {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .catalog-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .catalog-controls .search-field { grid-column: 1 / -1; }
  .category-filter-row { flex-wrap: nowrap; overflow-x: auto; padding: 0.25rem; }
  .category-chip { flex: 0 0 auto; }

  .header-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: 0;
    z-index: 21;
    max-height: none;
    padding: 0.7rem 0 0.75rem;
    border-bottom: 1px solid rgba(46, 125, 50, 0.14);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 30px rgba(27, 94, 32, 0.13);
    opacity: 1;
    overflow: visible;
    transform: translateY(0);
    visibility: visible;
    transition:
      opacity 160ms ease,
      transform 180ms ease,
      visibility 0s linear;
  }

  .site-header.is-actions-hidden .header-actions,
  .header-actions.is-scroll-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.7rem);
    visibility: hidden;
    transition:
      opacity 120ms ease,
      transform 160ms ease,
      visibility 0s linear 160ms;
  }

  .catalog-header {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero {
    padding-top: 1.6rem;
  }

  .hero-copy {
    min-width: 0;
  }

  h1 {
    max-width: 12ch;
    font-size: 1.75rem;
  }

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

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

  .product-card {
    min-width: 0;
  }

  .product-skeleton {
    min-height: 280px;
  }

  .product-badges {
    top: 0.45rem;
    left: 0.45rem;
    right: 0.45rem;
    gap: 0.28rem;
  }

  .product-badge {
    padding: 0.25rem 0.35rem;
    font-size: 0.875rem;
  }

  .product-body {
    gap: 0.32rem;
    padding: 0.5rem;
  }

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

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

  .product-brand,
  .product-description {
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .product-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .product-price {
    font-size: 1rem;
  }

  .product-card-actions {
    gap: 0.42rem;
  }

  .product-card-button {
    width: 100%;
    min-height: 48px;
    padding: 0.55rem 0.3rem;
    font-size: 0.9375rem;
  }

  .product-detail-section {
    padding-top: 1.4rem;
  }

  .product-detail-info h1 {
    font-size: 2rem;
  }

  .detail-actions,
  .back-to-catalog {
    width: 100%;
  }

  .detail-actions .button,
  .back-to-catalog {
    width: 100%;
  }

  .cart-drawer {
    width: 100%;
  }

  .toast-region {
    right: 12px;
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 70px);
    width: calc(100vw - 24px);
  }

  .info-card,
  .info-card-feature,
  .info-card-wide,
  .contact-grid .info-card:nth-child(2),
  .contact-grid .info-card:nth-child(4),
  .contact-grid .info-card:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .hero-visual img {
    height: auto;
  }

  .map-panel iframe {
    height: 300px;
  }

  .floating-whatsapp {
    padding: 0.85rem;
  }

  .floating-whatsapp span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .site-footer {
    padding-bottom: 5rem;
  }
}

@media (max-width: 380px) {
  .brand-copy strong {
    font-size: 0.94rem;
  }

  .brand-copy span {
    font-size: 0.875rem;
  }

  h1 {
    font-size: 1.75rem;
  }
}


/* Carrito y pedido: mismas reglas, superficies simples y controles estables. */
[hidden] { display: none !important; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.cart-item-heading { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0.75rem; }
.cart-item-image { width: 64px; height: 64px; object-fit: contain; background: var(--surface); border-radius: 4px; }
.cart-line-subtotal { margin: 0; font-size: 0.95rem; font-weight: 700; overflow-wrap: anywhere; }
.cart-drawer-footer {
  grid-area: actions;
  min-height: 0;
  max-height: 50dvh;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  gap: 0.75rem;
}
.cart-drawer-footer p { margin: 0; font-size: 0.9rem; }
.cart-drawer > .toast-region {
  grid-area: notices;
  position: static;
  width: auto;
  max-height: 20dvh;
  overflow-y: auto;
  pointer-events: auto;
  margin: 0.75rem 1rem 0;
}
.cart-drawer > .toast-region:empty { display: none; margin: 0; }
.cart-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; }
.cart-total strong { color: var(--green-dark); font-size: 1.35rem; }
.cart-footer-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.cart-footer-actions .button { font-size: 0.9375rem; padding-inline: 0.4rem; }
.order-notice { border-left: 3px solid var(--green); background: #edf6ef; padding: 0.75rem 0.9rem; font-size: 0.9rem; overflow-wrap: anywhere; }
.prescription-notice { background: #fff5d6; border-color: #977300; color: #584000; }
.checkout-page main { padding-top: 2rem; }
.checkout-main { padding-bottom: 4rem; min-height: 100vh; min-height: 100svh; }
.checkout-main h1 { max-width: none; font-size: 2rem; line-height: 1.15; margin-bottom: 0.5rem; }
.checkout-intro { color: var(--muted); margin-bottom: 1.8rem; }
.checkout-toast-region { position: static; width: auto; margin: 0 0 1rem; }
.checkout-toast-region:empty { display: none; }
.checkout-header { flex-direction: row; align-items: center; }
.checkout-actions { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }
.checkout-actions .button { width: auto; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem; align-items: start; margin-top: 2rem; }
.checkout-fields, .checkout-review { min-width: 0; }
.checkout-section { min-width: 0; margin: 0 0 2rem; border: 0; border-bottom: 1px solid var(--line); padding: 0 0 2rem; }
.checkout-section legend { width: 100%; margin-bottom: 1.4rem; padding: 0; color: var(--green-dark); font-size: 1.25rem; font-weight: 800; }
.step-number { display: inline-flex; justify-content: center; align-items: center; vertical-align: middle; width: 30px; height: 30px; border-radius: 50%; background: var(--green-dark); color: white; margin-right: 0.4rem; font-size: 0.9rem; }
.checkout-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.checkout-field { display: grid; min-width: 0; gap: 0.4rem; margin-bottom: 1rem; }
.checkout-field label { font-size: 0.95rem; font-weight: 700; }
.checkout-field label span { color: var(--muted); font-weight: 400; }
.checkout-field input, .checkout-field select, .checkout-field textarea {
  display: block; min-width: 0; width: 100%; min-height: 48px; border: 1px solid #bdcbc1;
  border-radius: 6px; background: white; color: var(--text); font: inherit; padding: 0.7rem 0.75rem;
}
.checkout-field input[type="date"] { appearance: none; }
.checkout-field textarea { resize: vertical; }
.checkout-field [aria-invalid="true"] { border: 2px solid #a52a24; }
.field-error { margin: 0; color: #9c251f; font-size: 0.875rem; font-weight: 600; }
.field-error:empty { display: none; }
.checkout-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.checkout-choice { display: flex; align-items: center; gap: 0.6rem; min-height: 66px; min-width: 0; border: 1px solid #bdcbc1; border-radius: 6px; padding: 0.8rem; cursor: pointer; }
.checkout-choice.is-selected { border: 2px solid var(--green); padding: calc(0.8rem - 1px); background: #eef7ef; }
.checkout-choice:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.checkout-choice input { margin: 0; width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--green); }
.checkout-choice span, .checkout-choice strong { min-width: 0; overflow-wrap: anywhere; }
.checkout-choice small { display: block; color: var(--muted); font-size: 0.875rem; margin-top: 0.1rem; }
.checkout-help { color: var(--muted); font-size: 0.9rem; margin: 0.75rem 0; }
.pickup-details { border-left: 2px solid var(--line); margin-top: 1.25rem; padding-left: 1rem; }
.pickup-details p { margin-bottom: 0.5rem; }
.delivery-fields { margin: 1.25rem 0 0; padding: 0; border: 0; min-width: 0; }
.delivery-fields > legend.sr-only { width: 1px; }
.cash-field, .observations-field { margin-top: 1.25rem; }
.checkout-review { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.checkout-review h2 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 1rem; }
.checkout-reference { color: var(--muted); font-size: 0.875rem; }
.checkout-reference strong { display: block; color: var(--text); overflow-wrap: anywhere; }
.order-product { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0.85rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.order-product img { width: 56px; height: 56px; object-fit: contain; background: var(--surface); border-radius: 4px; }
.order-product h3 { color: var(--text); font-size: 0.92rem; line-height: 1.3; overflow-wrap: anywhere; margin-bottom: 0.2rem; }
.order-product p { margin-bottom: 0.2rem; color: var(--muted); font-size: 0.875rem; overflow-wrap: anywhere; }
.order-product strong { display: block; font-size: 0.95rem; color: var(--green-dark); }
.order-totals { display: grid; gap: 0.75rem; margin: 1.3rem 0; }
.order-totals > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; font-size: 0.9rem; }
.order-totals dt { color: var(--muted); }
.order-totals dd { margin: 0; text-align: right; overflow-wrap: anywhere; font-weight: 700; }
.order-totals .order-grand-total { border-top: 1px solid var(--line); padding-top: 0.8rem; font-size: 1rem; }
.order-grand-total dd { font-size: 1.25rem; }
.order-grand-total dt, .order-grand-total dd { color: var(--green-dark); font-weight: 800; }
.customer-summary { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.customer-summary-block { margin-bottom: 1rem; }
.customer-summary-block h3 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.customer-summary-block p { margin-bottom: 0.25rem; font-size: 0.9rem; overflow-wrap: anywhere; white-space: pre-line; }
.review-actions, .order-handoff { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.order-handoff [data-clear-confirmation] { display: grid; gap: 0.6rem; }
.checkout-main > .order-handoff { max-width: 560px; border-top: 1px solid var(--line); padding-top: 1rem; }
.checkout-recovery { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0 2rem; }
.checkout-main input, .checkout-main select, .checkout-main textarea, #review-title { scroll-margin-top: 135px; }
@media (max-width: 820px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .checkout-review { border-left: 0; padding-left: 0; }
  .checkout-review h2 { font-size: 1.25rem; }
}
@media (max-width: 640px) {
  .checkout-header { flex-wrap: wrap; gap: 0.4rem; }
  .checkout-header .brand { width: auto; flex: 1 1 140px; }
  .checkout-header .brand .brand-logo-full { width: 145px; }
  .checkout-actions { gap: 0.35rem; }
  .checkout-actions .button { padding: 0.5rem; min-width: 44px; }
  .checkout-actions .button > span:not(.cart-count) { display: none; }
  .checkout-main h1 { font-size: 1.6rem; }
  .checkout-layout { margin-top: 1.5rem; }
  .checkout-field-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .checkout-options:not(.payment-options) { grid-template-columns: minmax(0, 1fr); }
  .checkout-main { padding-bottom: 5rem; }
  .cart-drawer-footer { padding: 0.85rem 1rem; padding-bottom: max(0.85rem, env(safe-area-inset-bottom)); gap: 0.6rem; }
}

/* Orientacion del pedido, sin ocultar pasos ni modificar el formulario. */
.checkout-progress ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; counter-reset: progress; }
.checkout-progress li { min-width: 0; border-bottom: 2px solid var(--line); padding-bottom: 0.6rem; color: var(--muted); font-size: 0.875rem; font-weight: 600; overflow-wrap: anywhere; counter-increment: progress; }
.checkout-progress li::before { content: counter(progress) ". "; }
.checkout-progress [aria-current="step"] { border-color: var(--green-dark); color: var(--green-dark); font-weight: 800; }
.checkout-choice.is-selected strong::after { content: " ✓"; }
.review-section-title { font-size: 1rem; margin-top: 1.25rem; }
.checkout-page .floating-whatsapp { display: none; }
.checkout-page .site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.checkout-privacy { margin: 1rem 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.privacy-choice { display: flex; align-items: flex-start; gap: 0.75rem; line-height: 1.6; }
.privacy-choice input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0.25rem 0 0; accent-color: var(--green-dark); }
.privacy-choice span { min-width: 0; }
.checkout-privacy a, .privacy-main a { text-decoration: underline; overflow-wrap: anywhere; }
.privacy-main { max-width: 900px; padding-top: 2rem; padding-bottom: 4rem; overflow-wrap: anywhere; }
.privacy-page { --mobile-actions-space: 2rem; }
.privacy-main h1 { max-width: none; font-size: 1.75rem; line-height: 1.3; }
.privacy-main h2 { font-size: 1.25rem; margin-top: 2rem; }
.privacy-main p, .privacy-main li { line-height: 1.7; }
.privacy-main li + li { margin-top: 0.5rem; }
.product-card .product-prescription-note { display: none; }
.product-badges { position: static; width: 100%; padding: 0.5rem; background: var(--white); }
.product-image-wrap { grid-template-rows: minmax(0, 1fr) auto; aspect-ratio: 1 / 1.15; }
.product-image-wrap img { min-height: 0; padding: 0.75rem; }
.product-category { background: none; padding: 0; text-transform: none; color: var(--muted); font-weight: 600; }
.product-brand { font-weight: 600; }
.product-price { font-size: 1.25rem; line-height: 1.2; }
.product-card-button { min-height: 60px; }
@media (max-width: 640px) {
  .header-actions .button { width: 100%; padding: 0.65rem 0.35rem; font-size: 0.9375rem; }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .hero-actions .button { width: auto; flex: 1 1 130px; }
  .hero-copy .hero-text { font-size: 1rem; }
  .catalog-status .button { width: auto; }
  .catalog-cart-stepper input { padding: 0; font-size: 1rem; }
  .product-detail-info h1 { font-size: 1.75rem; }
  .payment-options { grid-template-columns: minmax(0, 1fr); }
}

.product-price:has(.price-original), .product-detail-price:has(.price-original) {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}
.price-original { font-size: 0.78em; font-weight: 400; color: #56645d; }
.price-final { max-width: 100%; overflow-wrap: anywhere; }
.price-discount {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  padding: 2px 5px;
  color: #125e30;
  background: #e7f4eb;
  border-radius: 4px;
  white-space: nowrap;
}
.product-price:has(.price-original) .price-final { flex-basis: 100%; }
