@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700;750;800;850;900&display=swap');

/* Variables del diseño: colores y radio de las esquinas. */
:root {
  --orange: #FF9800;
  --green: #2C312C;
  --green-dark: #2C312C;
  --cream: #F6F5EF;
  --white: #FFFFFF;
  --black: #171717;
  --muted: #171717B3;
  --line: #17171714;
  --control-border: #78816F;
  --soft-green: #2C312C08;
  --soft-orange: #FF98000A;
  --radius: 16px;
}

.site-data-error {
  margin: 24px auto;
  width: min(1180px, calc(100% - 32px));
  border: 1px solid #9B2C23;
  border-radius: 10px;
  padding: 16px;
  background: #FFF7F5;
  color: #7B211A;
  font-size: 14px;
}

/* Estilos base, accesibilidad y utilidades compartidas. */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 165px;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font: 14px/1.6 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  top: var(--cart-scroll-top, 0);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

button:disabled {
  cursor: not-allowed;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}

.icon-library {
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 150;
  padding: 12px 20px;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

/* Encabezado, buscador y navegación principal. */
.topbar {
  color: var(--green);
  background: var(--soft-green);
  font-size: 11px;
  padding-block: 9px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar-inner>span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.topbar .icon {
  width: 17px;
  height: 17px;
  margin-right: 3px;
}

.topbar a {
  font-weight: 650;
}

.topbar a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-main {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 35px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-official {
  width: 167px;
}

.brand-official img {
  width: 167px;
  height: 72px;
  object-fit: contain;
  filter: brightness(0);
}

.header-search {
  display: flex;
  align-items: center;
  flex: 1;
  height: 48px;
  min-width: 0;
  border: 1px solid #17171720;
  border-radius: 9px;
  background: var(--white);
  padding: 5px 6px 5px 16px;
  transition: border-color .2s;
}

.header-search:focus-within {
  border-color: var(--green);
}

.header-search>.icon {
  width: 20px;
  height: 20px;
  color: #17171780;
}

.header-search input {
  border: 0;
  outline: none;
  background: transparent;
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  color: var(--black);
  font-size: 12px;
}

.header-search input:focus-visible {
  outline: none;
}

.header-search input::placeholder {
  color: #17171799;
}

.header-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: var(--orange);
  color: var(--black);
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 750;
}

.header-search button span {
  font-size: 17px;
}

.header-search button:hover {
  background: var(--black);
  color: var(--white);
}

.header-location {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  flex-shrink: 0;
}

.header-location .icon {
  color: var(--green);
  width: 22px;
  height: 22px;
}

.header-location strong {
  display: block;
  font-size: 12px;
  color: var(--black);
  font-weight: 650;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cart-trigger {
  display: flex;
  align-items: center;
  gap: 13px;
  background: none;
  border: 0;
  padding: 7px 0 7px 18px;
  border-left: 1px solid var(--line);
  color: var(--black);
  min-width: 44px;
  min-height: 44px;
}

.cart-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 27px;
  height: 32px;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -6px;
  background: var(--orange);
  border: 2px solid var(--white);
  color: var(--black);
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.cart-label {
  font-size: 12px;
  font-weight: 650;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: var(--black);
  background: var(--white);
  border-radius: 50%;
}

.hamburger,
.mobile-nav {
  display: none;
}

.nav-wrap {
  border-top: 1px solid var(--line);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  min-height: 49px;
  font-size: 11px;
  font-weight: 550;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 49px;
  white-space: nowrap;
  transition: color .2s;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current] {
  color: var(--green);
}

.desktop-nav .all-categories {
  color: var(--green);
  font-weight: 750;
  padding-right: 24px;
  margin-right: 2px;
  border-right: 1px solid var(--line);
}

.all-categories .icon {
  width: 19px;
  height: 19px;
}

.all-categories>span {
  margin-left: 13px;
  font-size: 16px;
}

.desktop-nav .nav-offers {
  color: var(--orange);
  font-weight: 800;
}

.desktop-nav .nav-delivery {
  margin-left: auto;
}

.desktop-nav .nav-home {
  font-weight: 750;
}

.mobile-nav a[aria-current] {
  color: var(--green);
  font-weight: 750;
}

/* Presentación principal de Inicio. */
.hero-section {
  margin-top: 27px;
}

.hero-slides {
  border-radius: 18px;
  overflow: hidden;
  background: var(--soft-green);
}

.hero-slide {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  min-height: 450px;
}

.hero-copy {
  padding: 46px 36px 43px 49px;
  align-self: center;
}

.eyebrow {
  color: var(--green);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-bottom: 23px;
}

.hero-copy .eyebrow .icon {
  height: 17px;
  width: 17px;
}

.hero-copy h1,
.hero-copy h2 {
  font-size: clamp(48px, 5.3vw, 76px);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -4px;
  margin: 0 0 22px;
}

.hero-copy h1 span,
.hero-copy h2 span {
  color: var(--green);
}

.hero-copy>p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 13px 22px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--orange);
  color: var(--black);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
  transition: background .2s, transform .2s;
}

.button>span {
  font-size: 19px;
  line-height: 1;
}

.button:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.button.outline {
  background: var(--white);
  border-color: var(--line);
}

.button.small {
  padding: 10px 16px;
}

.hero-small {
  display: block;
  font-size: 9px;
  margin-top: 18px;
  color: #17171799;
}

.hero-image {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.hero-image>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-photo-label {
  position: absolute;
  bottom: 12px;
  right: 15px;
  color: var(--white);
  font-size: 8px;
  background: #17171770;
  border-radius: 3px;
  padding: 3px 7px;
}

.hero-seal {
  position: absolute;
  bottom: 34px;
  left: 24px;
  padding: 13px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border-radius: 9px;
  transform: rotate(-4deg);
  color: var(--green);
}

.hero-seal .icon {
  width: 30px;
  height: 30px;
}

.hero-seal span {
  font-size: 11px;
  line-height: 1.5;
}

.hero-seal strong {
  font-weight: 750;
  font-size: 14px;
}

.basket-hero {
  background: var(--soft-orange);
}

.basket-hero .hero-image>img {
  object-position: 70% center;
}

.delivery-hero {
  background: var(--soft-green);
}

.hero-delivery-art {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  justify-content: center;
  color: var(--green);
  padding: 35px;
  background: #2C312C0A;
}

.hero-delivery-art>.icon {
  height: 140px;
  width: 180px;
  stroke-width: 1;
}

.hero-delivery-art>span {
  font-size: 16px;
  letter-spacing: 3px;
  text-align: center;
}

.hero-delivery-art strong {
  display: block;
  font-size: 35px;
  letter-spacing: -1px;
  font-weight: 800;
}

.hero-delivery-art small {
  display: block;
  letter-spacing: 0;
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}

.hero-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 15px 3px 0;
}

.hero-dots {
  display: flex;
  align-items: center;
}

.hero-dot {
  border: 0;
  background: transparent;
  padding: 10px 6px;
  min-width: 25px;
  min-height: 30px;
  position: relative;
}

.hero-dot:after {
  content: '';
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 20px;
  background: #17171725;
  transition: width .2s;
}

.hero-dot.active:after {
  width: 23px;
  background: var(--green);
}

.hero-control-label {
  color: var(--muted);
  font-size: 9px;
  margin-left: auto;
  margin-right: 15px;
}

.arrow-group {
  display: inline-flex;
  gap: 8px;
}

.round-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  border: 1px solid #17171725;
  background: var(--white);
  border-radius: 50%;
  color: var(--black);
  font-size: 19px;
  line-height: 1;
  transition: border-color .2s, background .2s;
}

.round-arrow:hover:not(:disabled) {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.round-arrow:disabled {
  color: #17171740;
  border-color: var(--line);
}

/* Categorías, listados y tarjetas de productos. */
.section {
  padding-block: 67px;
}

.categories-section {
  padding-top: 42px;
  padding-bottom: 35px;
}

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

.section-title {
  font-size: clamp(26px, 2.6vw, 35px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -1.3px;
  margin: 0;
}

.title-dot {
  color: var(--orange);
}

.section-subtitle {
  color: var(--muted);
  font-size: 11px;
  margin: 9px 0 0;
}

.simple-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  font-weight: 650;
  min-height: 32px;
}

.simple-link>span {
  color: var(--green);
  font-size: 17px;
}

.simple-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--green);
}

.section-tools {
  display: flex;
  gap: 27px;
  align-items: center;
  flex-shrink: 0;
}

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

.category-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 7px 18px 15px;
  min-width: 0;
  font-size: 12px;
  font-weight: 650;
  transition: border-color .2s;
}

.category-card:hover {
  border-color: var(--green);
}

.category-image {
  display: block;
  grid-column: 1/-1;
  height: 116px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s;
}

.category-card:hover .category-image img {
  transform: scale(1.06);
}

.category-card>.icon {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.category-basket {
  padding: 10px 22px 5px;
}

.category-basket img {
  object-fit: cover;
  border-radius: 7px;
}

.featured-section {
  padding-top: 27px;
}

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

.product-carousel {
  display: flex;
  gap: 19px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 10px;
  scroll-behavior: smooth;
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

.product-carousel>.product-card {
  flex: 0 0 calc((100% - 76px) / 5);
  scroll-snap-align: start;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s;
  overflow: hidden;
}

.product-card:hover {
  border-color: #2C312C66;
}

.product-visual {
  position: relative;
}

.product-visual>.product-badge {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
}

.product-img-link {
  display: block;
  width: 100%;
  height: 174px;
  overflow: hidden;
  padding: 25px 8px 0;
}

.product-img-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s;
}

.product-card:hover .product-img-link img {
  transform: scale(1.05);
}

.product-tag,
.product-badge,
.fresh-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  color: var(--green);
  background: #2C312C0D;
  border-radius: 4px;
  font-size: 8px;
  line-height: 1.5;
  font-weight: 750;
  letter-spacing: .4px;
}

.product-card>.product-tag,
.product-card>.product-badge {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
}

.product-tag.promo,
.product-badge.promo {
  color: var(--black);
  background: var(--orange);
}

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

.product-category {
  color: var(--green);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .3px;
  margin: 0 0 5px;
}

.product-info h3 {
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 6px;
  letter-spacing: -.3px;
  font-weight: 750;
}

.product-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  min-height: 38px;
  margin: 0 0 9px;
}

.product-unit {
  color: #17171799;
  font-size: 11px;
  margin: 0 0 12px;
}

.product-format-note {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.product-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  min-height: 44px;
}

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

.product-price strong {
  display: block;
  color: var(--green-dark);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.9px;
  line-height: 1.2;
}

.product-price small {
  color: var(--muted);
  font-size: 11px;
}

.product-price del {
  color: var(--muted);
  font-size: 11px;
}

.product-previous {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

.product-previous>span {
  color: var(--green);
  font-size: 9px;
  font-weight: 750;
}

.product-price .discount {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}

.pending {
  display: block;
  color: var(--black);
  font-size: 12px;
  font-weight: 650;
}

.product-actions {
  flex-shrink: 0;
}

.add-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--orange);
  color: var(--black);
  border: 0;
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
  transition: transform .2s, background .2s;
}

.add-btn:hover {
  transform: scale(1.08);
  background: var(--black);
  color: var(--white);
}

.add-btn:disabled {
  opacity: .4;
}

.product-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #FF980055;
  border-radius: 30px;
  background: var(--white);
  min-height: 44px;
}

.product-quantity button {
  display: grid;
  place-items: center;
  padding: 0;
  width: 32px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--black);
  font-size: 18px;
  border-radius: 50%;
}

.product-quantity button:hover:not(:disabled) {
  background: var(--orange);
}

.product-quantity button:disabled {
  opacity: .35;
}

.product-quantity span {
  font-weight: 750;
  font-size: 11px;
  min-width: 19px;
  text-align: center;
}

.consult-btn,
.product-consult {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 6px 9px;
  border: 1px solid var(--control-border);
  border-radius: 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 650;
}

.consult-btn:hover,
.product-consult:hover {
  background: var(--soft-green);
}

.product-card.is-unavailable {
  border-color: #9A9E95;
}

.product-badge.unavailable {
  background: #EBEDE6;
  color: #42483C;
}

.product-unavailable {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #9A9E95;
  border-radius: 7px;
  background: #F0F1EC;
  color: #515748;
  font-size: 11px;
  font-weight: 650;
}

.product-unavailable-state {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
}

.product-stock-note {
  color: #714C18;
  font-size: 11px;
  line-height: 1.5;
}

.product-stock-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.product-stock-controls .product-stock-note {
  max-width: 110px;
}

.catalog-note {
  color: #17171799;
  font-size: 9px;
  line-height: 1.6;
  margin: 14px 0 0;
}

/* Canastas para el hogar y tabla de comparación. */
.baskets-section {
  background: var(--soft-green);
  padding-block: 62px;
}

.baskets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.basket-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #2C312C1A;
}

.basket-card-heading {
  padding: 23px 25px 0;
}

.basket-card-heading .fresh-tag {
  font-size: 8px;
  padding: 4px 8px;
}

.basket-card h3 {
  margin: 14px 0 5px;
  font-weight: 750;
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.basket-card-heading>p {
  color: var(--muted);
  font-size: 10px;
  margin: 0;
}

.basket-photo {
  position: relative;
  margin: 17px 20px 0;
  height: 211px;
  border-radius: 9px;
  overflow: hidden;
}

.basket-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.basket-photo figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1717178C;
  color: var(--white);
  padding: 5px 9px;
  font-size: 7px;
}

.basket-family .basket-photo img {
  object-position: 75% 50%;
  transform: scale(1.06);
}

.basket-card-body {
  padding: 20px 25px 24px;
}

.basket-card-body>p:not(.basket-price) {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 17px;
  min-height: 40px;
}

.basket-specs {
  border-block: 1px solid var(--line);
  padding-block: 8px;
  margin: 0 0 18px;
}

.basket-specs>div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 6px;
  font-size: 10px;
}

.basket-specs dt {
  color: var(--muted);
}

.basket-specs dd {
  margin: 0;
  color: var(--green);
  font-weight: 650;
}

.basket-price {
  color: var(--orange);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.6px;
  margin: 0 0 17px;
  line-height: 1.3;
}

.basket-price small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0;
  margin-top: 4px;
}

.basket-details>summary {
  display: flex;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  list-style: none;
}

.basket-details>summary::-webkit-details-marker {
  display: none;
}

.basket-details[open]>summary>span {
  transform: rotate(45deg);
}

.basket-details>div {
  padding-top: 8px;
}

.basket-details>div>p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}

.basket-guide {
  padding: 26px 8px 20px 15px;
  align-self: center;
}

.basket-guide>.icon {
  height: 38px;
  width: 38px;
  color: var(--green);
  margin-bottom: 18px;
  stroke-width: 1.2;
}

.basket-guide h3 {
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin: 14px 0 19px;
  font-weight: 750;
}

.basket-guide>p:not(.eyebrow):not(.guide-note) {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
  max-width: 290px;
}

.basket-compare {
  border-collapse: collapse;
  width: 100%;
  margin-top: 25px;
  font-size: 9px;
}

.basket-compare th,
.basket-compare td {
  text-align: left;
  padding: 10px 6px;
  border-bottom: 1px solid #2C312C22;
}

.basket-compare th:first-child {
  padding-left: 0;
}

.basket-compare thead th {
  color: var(--green);
  font-weight: 750;
}

.basket-compare tbody th {
  font-weight: 500;
  color: var(--muted);
}

.basket-compare td {
  font-size: 8px;
  white-space: nowrap;
}

.guide-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 26px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  padding-bottom: 12px;
  border-bottom: 1px solid #2C312C55;
}

.guide-link span {
  font-size: 20px;
}

.guide-note {
  font-size: 8px;
  color: #17171799;
  line-height: 1.8;
  margin-top: 13px;
}

/* Venta por cantidad y cotización de canastas. */
.wholesale-section {
  padding-bottom: 32px;
  scroll-margin-top: 20px;
}

.wholesale-card {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  padding: 36px 48px 36px 36px;
  background: var(--soft-orange);
  border: 1px solid #FF980030;
  border-radius: 18px;
}

.wholesale-visual {
  margin: 0;
  min-width: 0;
}

.wholesale-visual img {
  width: 100%;
  height: auto;
  max-height: 270px;
  object-fit: contain;
}

.wholesale-visual figcaption {
  color: var(--muted);
  font-size: 9px;
  text-align: center;
  margin-top: 8px;
}

.wholesale-copy h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -1.7px;
  color: var(--green);
  margin: 0 0 17px;
}

.wholesale-copy>p:not(.eyebrow) {
  max-width: 450px;
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 15px;
}

.wholesale-copy>p.wholesale-note {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 24px;
}

.basket-request-section {
  padding-bottom: 40px;
}

.basket-request {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 36px;
  border: 1px solid #2C312C26;
  border-radius: 15px;
  background: var(--soft-green);
}

.basket-request-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  color: var(--green);
  background: #2C312C0D;
  border-radius: 50%;
}

.basket-request-icon .icon {
  width: 28px;
  height: 28px;
}

.basket-request-copy {
  flex: 1;
  min-width: 0;
}

.basket-request-copy .eyebrow {
  margin-bottom: 8px;
}

.basket-request h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.2;
  letter-spacing: -.9px;
  margin: 0 0 10px;
}

.basket-request-copy>p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.basket-request>.button {
  flex-shrink: 0;
}

/* Ofertas publicadas y estado de consultas directas sin promociones. */
.offers-section {
  padding-bottom: 56px;
}

.offers-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  width: 100%;
  flex: 0 0 100%;
  background: var(--soft-orange);
  border: 1px solid #FF980024;
  padding: 28px 32px;
  border-radius: 13px;
}

.offers-empty h3 {
  font-size: 20px;
  letter-spacing: -.5px;
  margin: 0 0 7px;
}

.offers-empty p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  max-width: 670px;
}

.offers-empty .button {
  flex-shrink: 0;
}

.offers-empty>.icon {
  color: var(--orange);
}

.products-grid>.offers-empty {
  grid-column: 1 / -1;
}

.offers-empty-icon {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 1px solid #FF980044;
  color: var(--orange);
  font-size: 27px;
  font-weight: 650;
  flex-shrink: 0;
}

/* Despacho, recomendaciones y pasos de compra. */
.delivery-section {
  padding-block: 8px 48px;
}

.delivery-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--green);
  color: var(--white);
  border-radius: 15px;
  padding: 37px 45px;
  position: relative;
  overflow: hidden;
}

.delivery-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid #FFFFFF55;
  border-radius: 50%;
  flex-shrink: 0;
}

.delivery-icon .icon {
  width: 43px;
  height: 43px;
  stroke-width: 1.2;
}

.delivery-inner .eyebrow {
  color: #FFFFFFCC;
  font-size: 8px;
}

.delivery-inner h2 {
  font-size: 32px;
  font-weight: 750;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 13px;
}

.delivery-inner h2 span {
  color: var(--white);
}

.delivery-inner p:not(.eyebrow) {
  font-size: 10px;
  color: #FFFFFFCC;
  line-height: 1.9;
  margin: 0;
}

.delivery-inner>.button {
  margin-left: auto;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.delivery-decoration {
  position: absolute;
  right: 16px;
  bottom: -100px;
  font-size: 350px;
  line-height: 1;
  color: #FFFFFF09;
  font-weight: 800;
  pointer-events: none;
}

.recommended-section {
  padding-bottom: 62px;
}

.shop-benefits {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding-block: 30px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 16px;
}

.benefit-number {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
  flex-shrink: 0;
}

.benefit strong {
  display: block;
  font-weight: 650;
  font-size: 11px;
}

.benefit div>span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 3px;
}

/* Páginas de catálogo y contacto. */
.page-banner {
  background: var(--soft-green);
  padding-block: 46px;
  border-bottom: 1px solid var(--line);
}

.page-banner h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -1.8px;
  font-weight: 750;
  margin: 0 0 15px;
}

.page-banner p:not(.eyebrow) {
  color: var(--muted);
  max-width: 620px;
  margin: 0;
  font-size: 12px;
}

.catalog-page .page-banner {
  padding-block: 30px;
}

.catalog-page .page-banner h1 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 10px;
}

.catalog-page main>.section {
  padding-block: 30px 55px;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.catalog-toolbar-left {
  display: flex;
  flex: 1 1 360px;
  flex-wrap: wrap;
  min-width: 0;
  gap: 12px;
}

.catalog-sort {
  display: flex;
  flex: 0 1 200px;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.catalog-sort label {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 650;
}

.catalog-toolbar input,
.catalog-toolbar select {
  border: 1px solid var(--control-border);
  border-radius: 7px;
  background: var(--white);
  padding: 12px 16px;
  color: var(--black);
  min-width: 200px;
  font-size: 12px;
}

.catalog-toolbar input:focus,
.catalog-toolbar select:focus {
  border-color: var(--green);
}

.result-count {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 12px;
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
}

.empty-state h3 {
  margin-top: 0;
}

.empty-state .button {
  margin-top: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
}

.contact-panel h2 {
  font-weight: 750;
  font-size: 27px;
  letter-spacing: -.8px;
  margin: 0 0 12px;
}

.contact-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}

.map-link {
  display: block;
  padding: 23px;
  background: var(--soft-green);
  border-radius: 8px;
  margin-top: 22px;
}

.map-link strong {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  font-weight: 650;
}

.map-link span {
  font-size: 11px;
  color: var(--green);
}

.map-link:hover {
  outline: 1px solid var(--green);
}

/* Pie de página y acceso flotante a WhatsApp. */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-block: 49px 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .85fr 1.1fr 1.2fr;
  gap: 40px;
}

.footer-brand .brand-official {
  width: 160px;
}

.footer-brand .brand-official img {
  width: 160px;
  height: 67px;
  filter: none;
}

.site-footer h3 {
  font-size: 11px;
  font-weight: 650;
  margin: 12px 0 22px;
}

.site-footer p,
.site-footer a {
  color: #FFFFFFAA;
  font-size: 10px;
  line-height: 1.9;
}

.footer-brand p {
  margin-top: 17px;
}

.footer-local {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #FFFFFFAA;
  font-size: 9px;
  margin-top: 18px;
}

.footer-local .icon {
  width: 13px;
  height: 13px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.site-footer a:hover {
  color: var(--orange);
}

.site-footer a:focus-visible {
  outline-color: var(--cream);
}

.site-footer .footer-address {
  display: flex;
  justify-content: space-between;
  max-width: 210px;
  margin: 0 0 13px;
  color: var(--white);
}

.site-footer .footer-location-link {
  display: inline-block;
  font-size: 9px;
  border-bottom: 1px solid #FFFFFF44;
  margin-top: 2px;
}

.footer-contact>a {
  color: var(--orange);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 15px;
  line-height: 1.3;
}

.footer-contact>span {
  display: block;
  font-size: 9px;
  color: #FFFFFFAA;
  margin-top: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #FFFFFF22;
  padding-top: 22px;
  margin-top: 38px;
  font-size: 8px;
  color: #FFFFFF88;
}

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 25px;
  z-index: 54;
  background: var(--green);
  color: var(--white);
  border: 1px solid #FFFFFF44;
  border-radius: 50px;
  padding: 12px 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 650;
  transition: transform .2s;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.whatsapp-float .icon {
  width: 21px;
  height: 21px;
}

/* Panel del carrito, cantidades y confirmaciones. */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #17171766;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}

.cart-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  height: 100vh;
  height: 100dvh;
  width: min(460px, 100%);
  z-index: 100;
  background: var(--white);
  transform: translateX(105%);
  transition: transform .25s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid var(--line);
}

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

.cart-drawer :focus-visible {
  outline-offset: 2px;
}

.cart-head {
  padding: max(16px, env(safe-area-inset-top)) 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.cart-head h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  letter-spacing: -.7px;
  font-weight: 750;
  margin: 0;
}

.cart-head h2 .icon {
  color: var(--green);
  width: 23px;
  height: 23px;
}

.close-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 25px;
  line-height: 1;
}

.close-btn:hover {
  background: var(--soft-green);
}

.shipping-progress {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--soft-green);
  flex-shrink: 0;
}

.shipping-progress p,
.shipping-progress-label {
  font-size: 11px;
  margin: 0 0 9px;
  color: var(--black);
}

.shipping-progress strong {
  color: var(--green);
}

.shipping-progress progress {
  display: block;
  width: 100%;
  height: 6px;
  accent-color: var(--green);
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #2C312C20;
}

.shipping-progress progress::-webkit-progress-bar {
  background: #2C312C20;
  border-radius: 8px;
}

.shipping-progress progress::-webkit-progress-value {
  background: var(--green);
  border-radius: 8px;
  transition: width .25s;
}

.shipping-progress progress::-moz-progress-bar {
  background: var(--green);
  border-radius: 8px;
}

.shipping-progress small,
.shipping-progress-note {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
}

.cart-status {
  flex-shrink: 0;
  margin: 12px 24px 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--soft-green);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.cart-status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  margin: 0;
  padding: 0;
  border: 0;
}

.cart-items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 24px;
  scrollbar-gutter: stable;
}

.cart-line {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-block: 19px;
}

.cart-line>img {
  width: 62px;
  height: 62px;
  border-radius: 7px;
  object-fit: contain;
}

.cart-line-content {
  min-width: 0;
}

.cart-line-content strong {
  font-weight: 650;
  font-size: 14px;
  display: block;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.cart-line-content small {
  font-size: 11px;
  color: var(--muted);
}

.cart-line-content .product-stock-note {
  display: block;
  margin-top: 7px;
  color: #714C18;
}

.cart-line-end {
  text-align: right;
}

.cart-subtotal-label {
  display: block;
  font-size: 10px;
  color: var(--muted);
}

.cart-line-end strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  color: var(--green-dark);
}

.remove {
  display: block;
  min-width: 44px;
  min-height: 40px;
  margin: 4px 0 0 auto;
  border: 0;
  padding: 8px 0 8px 8px;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--muted);
  font-size: 10px;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.quantity button {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border: 1px solid #FF980055;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 19px;
}

.quantity button:hover:not(:disabled) {
  background: var(--orange);
}

.quantity button:disabled {
  opacity: .35;
}

.quantity span {
  min-width: 32px;
  font-size: 11px;
  font-weight: 650;
  text-align: center;
  line-height: 1.4;
}

.cart-foot {
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  padding: 18px 24px max(18px, env(safe-area-inset-bottom));
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 750;
  gap: 20px;
}

#cart-total {
  color: var(--green-dark);
}

.cart-foot p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  margin: 10px 0 15px;
}

.cart-foot .button {
  width: 100%;
  min-height: 44px;
  font-size: 12px;
}

.cart-foot .cart-continue {
  background: var(--white);
  color: var(--black);
  border-color: #17171725;
  margin-bottom: 9px;
}

.cart-foot .cart-continue:hover {
  background: var(--soft-green);
}

.cart-clear {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-bottom: 8px;
  border: 0;
  padding: 10px;
  background: transparent;
  color: var(--green-dark);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cart-clear:disabled {
  color: var(--muted);
  text-decoration: none;
}

.cart-foot .button:disabled {
  opacity: .4;
  transform: none;
}

.empty-cart {
  text-align: center;
  padding: 28px 0;
}

.empty-cart>span {
  font-size: 38px;
  color: var(--green);
}

.empty-cart h3 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.5px;
  margin: 18px 0 8px;
}

.empty-cart p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 23px;
}

.shop-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translate(-50%, 25px);
  visibility: hidden;
  opacity: 0;
  background: var(--black);
  color: var(--white);
  border: 1px solid #FFFFFF22;
  padding: 14px 18px;
  border-radius: 10px;
  max-width: calc(100% - 32px);
  width: max-content;
  font-size: 12px;
  transition: opacity .2s, transform .2s, visibility .2s;
}

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

.shop-toast button {
  background: transparent;
  color: var(--orange);
  border: 0;
  padding: 5px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.toast-check {
  color: var(--orange);
  font-size: 16px;
}

.shop-toast .toast-close {
  font-size: 20px;
  color: #FFFFFFAA;
  min-width: 25px;
}

/* Diseño adaptable: pantallas desde 1500 px. */
@media (min-width: 1500px) {
  .hero-slide {
    min-height: 490px;
  }

  .hero-copy {
    padding-left: 60px;
  }
}

/* Diseño adaptable: pantallas de hasta 1200 px. */
@media (max-width: 1200px) {
  .container {
    width: calc(100% - 72px);
  }

  .header-main {
    gap: 25px;
  }

  .header-location {
    display: none;
  }

  .desktop-nav {
    gap: 23px;
    font-size: 10px;
  }

  .desktop-nav .all-categories {
    padding-right: 18px;
  }

  .hero-slide {
    min-height: 420px;
  }

  .hero-copy {
    padding: 35px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 64px;
  }

  .product-carousel>.product-card {
    flex-basis: calc((100% - 57px) / 4.25);
  }

  .basket-card-heading {
    padding-inline: 21px;
  }

  .basket-card h3 {
    font-size: 25px;
  }

  .basket-card-body {
    padding-inline: 21px;
  }

  .basket-guide {
    padding-left: 3px;
  }

  .basket-guide h3 {
    font-size: 37px;
  }

  .baskets-grid {
    gap: 18px;
  }

  .basket-photo {
    height: 184px;
  }

  .basket-compare th,
  .basket-compare td {
    padding-inline: 4px;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-contact>a {
    font-size: 18px;
  }
}

/* Diseño adaptable: tabletas y pantallas de hasta 950 px. */
@media (max-width: 950px) {
  .container {
    width: calc(100% - 48px);
  }

  .desktop-nav {
    gap: 22px;
  }

  .desktop-nav .all-categories {
    font-size: 0;
    gap: 0;
    padding-right: 15px;
  }

  .all-categories>span {
    display: none;
  }

  .wholesale-card {
    gap: 28px;
    padding: 26px;
  }

  .basket-request {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 26px;
    gap: 20px;
  }

  .basket-request>.button {
    grid-column: 2;
    justify-self: start;
  }

  .hero-copy {
    padding: 32px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 57px;
    letter-spacing: -3px;
  }

  .hero-copy>p:not(.eyebrow) {
    font-size: 11px;
  }

  .hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .hero-slide {
    min-height: 395px;
  }

  .category-card {
    padding-inline: 12px;
    font-size: 10px;
  }

  .category-image {
    height: 100px;
  }

  .product-carousel>.product-card {
    flex-basis: calc((100% - 45px) / 3.3);
  }

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

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

  .basket-photo {
    height: 220px;
  }

  .basket-guide {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    padding: 26px 10px 0;
  }

  .basket-guide>.icon {
    display: none;
  }

  .basket-guide>.eyebrow {
    grid-column: 1;
    margin-bottom: 0;
  }

  .basket-guide h3 {
    grid-column: 1;
    margin-top: 13px;
    margin-bottom: 10px;
  }

  .basket-guide>p:not(.eyebrow):not(.guide-note) {
    grid-column: 1;
    margin: 0;
  }

  .basket-compare-wrap {
    grid-column: 2;
    grid-row: 1/4;
  }

  .basket-compare {
    margin-top: 0;
    font-size: 10px;
  }

  .basket-compare td {
    font-size: 9px;
  }

  .basket-guide .guide-link {
    grid-column: 2;
    margin-top: 20px;
  }

  .basket-guide .guide-note {
    grid-column: 2;
  }

  .delivery-inner {
    padding: 32px;
    gap: 23px;
  }

  .delivery-inner h2 {
    font-size: 27px;
  }

  .delivery-icon {
    width: 65px;
    height: 65px;
  }

  .delivery-icon .icon {
    width: 32px;
    height: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 65px;
  }
}

/* Diseño adaptable: celulares de hasta 700 px. */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 150px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .topbar {
    padding-block: 7px;
    font-size: 8px;
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar-inner>span {
    gap: 4px;
  }

  .topbar .icon {
    width: 13px;
    height: 13px;
    margin-right: 1px;
  }

  .topbar .topbar-contact {
    display: none;
  }

  .header-main {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px 16px;
    padding-block: 9px 12px;
  }

  .brand-official,
  .brand-official img {
    width: 126px;
  }

  .brand-official img {
    height: 51px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 15px;
  }

  .cart-trigger {
    padding: 0;
    border: 0;
  }

  .cart-label {
    display: none;
  }

  .hamburger {
    display: grid;
    width: 36px;
    height: 36px;
    border: 0;
  }

  .hamburger .icon {
    width: 22px;
    height: 22px;
  }

  .header-search {
    grid-column: 1/-1;
    grid-row: 2;
    height: 42px;
    padding-left: 12px;
    width: 100%;
  }

  .header-search input {
    font-size: 11px;
    padding-block: 7px;
  }

  .header-search button {
    min-height: 30px;
    padding-inline: 13px;
    font-size: 10px;
    gap: 9px;
  }

  .header-search>.icon {
    width: 17px;
    height: 17px;
  }

  .nav-wrap {
    display: none;
  }

  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    padding-block: 10px 18px;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .mobile-nav a {
    font-size: 12px;
    padding-block: 9px;
  }

  .mobile-nav a:hover {
    color: var(--green);
  }

  .hero-section {
    margin-top: 18px;
  }

  .hero-slides {
    border-radius: 13px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 28px 26px 25px;
  }

  .hero-copy .eyebrow {
    font-size: 7px;
    margin-bottom: 17px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 53px;
    letter-spacing: -2.7px;
    line-height: 1;
    margin-bottom: 16px;
  }

  .hero-copy>p:not(.eyebrow) {
    font-size: 10px;
    margin-bottom: 17px;
  }

  .hero-copy>p>br {
    display: none;
  }

  .button {
    font-size: 10px;
    min-height: 42px;
    padding: 11px 17px;
  }

  .hero-small {
    font-size: 8px;
    margin-top: 12px;
  }

  .hero-image {
    height: 225px;
  }

  .hero-image>img {
    object-position: center 60%;
  }

  .hero-seal {
    bottom: 21px;
    left: 20px;
    padding: 9px 14px;
  }

  .hero-seal .icon {
    width: 24px;
    height: 24px;
  }

  .hero-seal span {
    font-size: 9px;
  }

  .hero-seal strong {
    font-size: 11px;
  }

  .hero-photo-label {
    right: 9px;
    bottom: 9px;
    font-size: 6px;
  }

  .hero-delivery-art {
    min-height: 225px;
    gap: 12px;
    padding: 22px;
  }

  .hero-delivery-art>.icon {
    height: 65px;
    width: 90px;
  }

  .hero-delivery-art>span {
    font-size: 10px;
  }

  .hero-delivery-art strong {
    font-size: 27px;
  }

  .hero-delivery-art small {
    font-size: 8px;
  }

  .hero-controls {
    padding-top: 9px;
  }

  .hero-control-label {
    display: none;
  }

  .round-arrow {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .section {
    padding-block: 40px;
  }

  .categories-section {
    padding-top: 25px;
    padding-bottom: 26px;
  }

  .section-head {
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 21px;
  }

  .section-title {
    font-size: 26px;
    letter-spacing: -1px;
  }

  .eyebrow {
    font-size: 7px;
    letter-spacing: 1.3px;
    margin-bottom: 9px;
  }

  .section-subtitle {
    font-size: 10px;
    line-height: 1.7;
    max-width: 270px;
  }

  .section-tools {
    gap: 8px;
    flex-direction: column;
    align-items: flex-end;
  }

  .simple-link {
    font-size: 9px;
    gap: 7px;
    white-space: nowrap;
  }

  .simple-link>span {
    font-size: 14px;
  }

  .section-tools .arrow-group {
    gap: 6px;
  }

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

  .category-card {
    grid-template-columns: 78px minmax(0, 1fr) auto;
    padding: 8px 16px 8px 8px;
    font-size: 12px;
    gap: 12px;
    border-radius: 9px;
  }

  .category-image {
    grid-column: auto;
    height: 60px;
  }

  .category-basket {
    padding: 8px 10px 5px;
  }

  .category-card>.icon {
    width: 15px;
    height: 15px;
  }

  .featured-section {
    padding-top: 16px;
  }

  .wholesale-section {
    padding-bottom: 24px;
  }

  .wholesale-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 24px;
    border-radius: 13px;
  }

  .wholesale-visual img {
    max-height: 190px;
  }

  .wholesale-copy h2 {
    font-size: 32px;
    letter-spacing: -1.2px;
    margin-bottom: 13px;
  }

  .wholesale-copy>p:not(.eyebrow) {
    font-size: 12px;
  }

  .wholesale-copy>p.wholesale-note {
    font-size: 11px;
    margin-bottom: 20px;
  }

  .wholesale-copy>.button {
    width: 100%;
  }

  .basket-request-section {
    padding-bottom: 28px;
  }

  .basket-request {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    padding: 24px;
    border-radius: 12px;
  }

  .basket-request-icon {
    width: 44px;
    height: 44px;
  }

  .basket-request-icon .icon {
    width: 23px;
    height: 23px;
  }

  .basket-request h2 {
    font-size: 24px;
  }

  .basket-request>.button {
    grid-column: auto;
  }

  .product-carousel {
    gap: 12px;
    margin-right: -18px;
    padding-right: 18px;
    scroll-padding-right: 18px;
  }

  .product-carousel>.product-card {
    flex-basis: 174px;
  }

  .product-img-link {
    height: 155px;
    padding: 22px 6px 0;
  }

  .product-info {
    padding: 12px;
  }

  .product-info h3 {
    font-size: 14px;
  }

  .product-description {
    font-size: 11px;
    min-height: 35px;
  }

  .product-category {
    font-size: 9px;
  }

  .product-unit {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .product-price strong {
    font-size: 22px;
  }

  .product-price small {
    font-size: 10px;
  }

  .add-btn {
    width: 44px;
    height: 44px;
    font-size: 25px;
  }

  .product-quantity button {
    width: 28px;
    height: 42px;
  }

  .product-quantity span {
    min-width: 15px;
    font-size: 10px;
  }

  .product-quantity {
    min-height: 44px;
  }

  .catalog-note {
    font-size: 8px;
    margin-top: 10px;
    max-width: 330px;
  }

  .baskets-section {
    padding-block: 37px;
  }

  .baskets-section .section-head {
    display: block;
  }

  .baskets-section .section-head>.simple-link {
    margin-top: 8px;
  }

  .baskets-grid {
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
  }

  .basket-card {
    max-width: 430px;
    width: 100%;
    margin-inline: auto;
  }

  .basket-card-heading {
    padding: 24px 24px 0;
  }

  .basket-card h3 {
    font-size: 29px;
  }

  .basket-card-heading>p {
    font-size: 11px;
  }

  .basket-photo {
    height: 218px;
    margin-inline: 18px;
  }

  .basket-photo figcaption {
    font-size: 7px;
  }

  .basket-card-body {
    padding: 20px 24px 24px;
  }

  .basket-specs>div {
    font-size: 11px;
  }

  .basket-price {
    font-size: 26px;
  }

  .basket-details>summary {
    font-size: 12px;
    min-height: 44px;
  }

  .basket-guide {
    display: block;
    padding: 16px 10px 0;
    max-width: 430px;
    width: 100%;
    margin-inline: auto;
  }

  .basket-guide h3 {
    font-size: 36px;
  }

  .basket-guide>p:not(.eyebrow):not(.guide-note) {
    max-width: 100%;
    font-size: 11px;
  }

  .basket-compare {
    margin-top: 19px;
    font-size: 10px;
  }

  .basket-compare td {
    font-size: 10px;
  }

  .basket-compare th,
  .basket-compare td {
    padding-block: 12px;
  }

  .basket-guide .guide-note {
    font-size: 9px;
  }

  .offers-section {
    padding-block: 38px;
  }

  .offers-section .section-head {
    align-items: center;
  }

  .offers-section .section-title {
    font-size: 25px;
  }

  .offers-empty {
    display: block;
    padding: 25px 23px;
  }

  .offers-empty-icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
    margin-bottom: 15px;
  }

  .offers-empty h3 {
    font-size: 19px;
  }

  .offers-empty p {
    font-size: 11px;
    line-height: 1.8;
  }

  .offers-empty .button {
    margin-top: 18px;
  }

  .delivery-section {
    padding-block: 0 32px;
  }

  .delivery-inner {
    padding: 28px 25px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 19px;
    border-radius: 12px;
  }

  .delivery-icon {
    width: 50px;
    height: 50px;
  }

  .delivery-icon .icon {
    width: 27px;
    height: 27px;
  }

  .delivery-inner .eyebrow {
    font-size: 7px;
    margin-bottom: 9px;
  }

  .delivery-inner h2 {
    font-size: 29px;
  }

  .delivery-inner p:not(.eyebrow) {
    font-size: 10px;
  }

  .delivery-inner>.button {
    margin-left: 0;
    width: fit-content;
  }

  .delivery-decoration {
    right: -22px;
    font-size: 280px;
  }

  .recommended-section .section-title {
    font-size: 25px;
    max-width: 245px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 19px;
    padding-block: 28px;
  }

  .benefit {
    gap: 14px;
  }

  .benefit strong {
    font-size: 12px;
  }

  .benefit div>span {
    font-size: 10px;
  }

  .benefit-number {
    width: 36px;
    height: 36px;
  }

  .page-banner {
    padding-block: 33px;
  }

  .page-banner h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .page-banner p:not(.eyebrow) {
    font-size: 11px;
  }

  .catalog-page .page-banner {
    padding-block: 24px;
  }

  .catalog-page .page-banner h1 {
    font-size: 30px;
  }

  .catalog-page main>.section {
    padding-block: 24px 40px;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 23px;
  }

  .catalog-toolbar-left {
    flex: initial;
    flex-direction: column;
    gap: 10px;
  }

  .catalog-sort {
    flex: initial;
  }

  .result-count {
    margin-bottom: 0;
  }

  .catalog-toolbar input,
  .catalog-toolbar select {
    width: 100%;
    min-width: 0;
    font-size: 12px;
  }

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

  .products-grid .product-img-link {
    height: 151px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .contact-panel {
    padding: 25px;
  }

  .contact-panel h2 {
    font-size: 24px;
  }

  .contact-panel p:not(.eyebrow) {
    font-size: 12px;
  }

  .map-link {
    padding: 19px;
  }

  .site-footer {
    padding-block: 32px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 27px 25px;
  }

  .footer-brand {
    grid-column: 1/-1;
    padding-bottom: 23px;
    border-bottom: 1px solid #FFFFFF22;
  }

  .footer-brand .brand-official,
  .footer-brand .brand-official img {
    width: 148px;
  }

  .footer-brand .brand-official img {
    height: 60px;
  }

  .footer-brand p {
    margin: 12px 0 0;
    font-size: 11px;
  }

  .footer-local {
    margin-top: 11px;
  }

  .site-footer h3 {
    margin: 0 0 15px;
    font-size: 11px;
  }

  .site-footer p,
  .site-footer a {
    font-size: 10px;
  }

  .footer-contact {
    grid-column: 1/-1;
    padding-top: 22px;
    border-top: 1px solid #FFFFFF22;
  }

  .footer-contact>a {
    font-size: 22px;
    margin-top: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
    line-height: 1.8;
    margin-top: 25px;
    padding-bottom: 29px;
    font-size: 8px;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 16px;
    padding: 12px;
  }

  .whatsapp-float>span {
    display: none;
  }

  .shop-toast {
    bottom: 17px;
    left: 16px;
    transform: translateY(20px);
    max-width: calc(100% - 83px);
    font-size: 11px;
    gap: 12px;
    padding: 12px;
  }

  .shop-toast.visible,
  .shop-toast.show {
    transform: translateY(0);
  }

  .shop-toast button {
    font-size: 10px;
  }

  .cart-head {
    padding-inline: 20px;
  }

  .cart-items {
    padding-inline: 18px;
  }

  .cart-foot {
    padding-inline: 20px;
  }

  .shipping-progress {
    padding: 14px 20px;
  }

  .cart-status {
    margin-inline: 20px;
  }
}

/* Diseño adaptable: celulares de hasta 370 px. */
@media (max-width: 370px) {
  .container {
    width: calc(100% - 28px);
  }

  .product-carousel {
    margin-right: -14px;
    padding-right: 14px;
    scroll-padding-right: 14px;
  }

  .hero-copy {
    padding: 26px 22px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 49px;
  }

  .hero-image {
    height: 195px;
  }

  .section-title {
    font-size: 24px;
  }

  .category-card {
    font-size: 9px;
    padding-inline: 10px;
  }

  .category-image {
    height: 85px;
  }

  .products-grid .product-img-link {
    height: 130px;
  }

  .product-info {
    padding: 10px;
  }

  .product-info h3 {
    font-size: 13px;
  }

  .product-price strong {
    font-size: 19px;
  }

  .products-grid .product-bottom {
    flex-wrap: wrap;
    gap: 9px;
  }

  .cart-line {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
  }

  .cart-line>img {
    width: 46px;
    height: 46px;
  }

  .cart-line-end {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .cart-line-end .remove {
    margin: 0 0 0 auto;
  }
}

/* Ajustes del carrito para pantallas de hasta 600 px de alto. */
@media (max-height: 600px) {
  .cart-drawer {
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .cart-items {
    flex: 1 0 140px;
  }

  .cart-head {
    padding-block: 10px;
  }

  .shipping-progress {
    padding-block: 10px;
  }

  .cart-foot {
    padding-block: 12px;
  }
}

/* Accesibilidad: respetar la preferencia de movimiento reducido. */
@media (prefers-reduced-motion: reduce) {

  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Navegación de despacho y resumen de entrega compartido por los carritos. */
.desktop-nav {
  overflow-x: auto;
  scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
  display: none;
}

.desktop-nav a {
  flex-shrink: 0;
}

.shipping-map-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  font-size: 11px;
  color: var(--green);
  font-weight: 650;
}

.shipping-map-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shipping-map-link>span {
  font-size: 16px;
}

.cart-shipping-summary {
  margin-top: 10px;
}

.cart-shipping-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
}

.cart-shipping-row strong {
  color: var(--green);
  font-size: 11px;
  font-weight: 650;
}

.cart-foot .cart-shipping-destination {
  margin: 5px 0 10px;
  font-size: 9px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.cart-final-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 750;
}

.cart-final-total strong {
  color: var(--green-dark);
  font-size: 17px;
}

.cart-foot>.cart-total {
  font-size: 14px;
  font-weight: 650;
}

.cart-foot>.cart-total #cart-total {
  color: var(--black);
}

/* Ajuste del resumen de despacho entre 701 y 950 px de ancho. */
@media (max-width: 950px) and (min-width: 701px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .desktop-nav {
    gap: 18px;
  }
}

/* Ajuste del resumen de despacho hasta 700 px de alto. */
@media (max-height: 700px) {
  .cart-drawer {
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .cart-items {
    flex: 1 0 130px;
  }

  .cart-head {
    padding-block: 10px;
  }

  .shipping-progress {
    padding-block: 10px;
  }

  .cart-foot {
    padding-block: 12px;
  }
}
