/* ==========================================================================
   Tienda y producto — integración del frontend editorial 2026.

   Los mockups de Claude Design son la referencia visual. WooCommerce sigue
   siendo la fuente de productos, precios, variaciones, carrito y reseñas.
   Esta hoja se carga después de las capas históricas para consolidar ambas
   vistas sin afectar la home, las landings ni el checkout.
   ========================================================================== */

.anaduran-shop-catalog {
  --shop-bg: #f7f5f2;
  --shop-sand: #f0ece5;
  --shop-header: #f0e9de;
  --shop-ink: #2c2823;
  --shop-copy: #6f6862;
  --shop-muted: #8a827a;
  --shop-accent: #8c7256;
  --shop-line: #e2ddd4;
  --shop-width: 1440px;
  /* Compatibilidad con las capas históricas: todas sus variables quedan
     enlazadas a la paleta exacta de los nuevos HTML de tienda y producto. */
  --ink: var(--shop-ink);
  --paper: var(--shop-bg);
  --sand: var(--shop-sand);
  --line: var(--shop-line);
  --accent: var(--shop-accent);
  --muted: var(--shop-copy);
  --store-ink: var(--shop-ink);
  --store-paper: var(--shop-bg);
  --store-line: var(--shop-line);
  --store-accent: var(--shop-accent);
  background: var(--shop-bg) !important;
  color: var(--shop-ink);
  font-family: "Jost", "DM Sans", sans-serif;
}

body.anaduran-shop-catalog {
  background: var(--shop-bg) !important;
  color: #3f3a34 !important;
}

.anaduran-shop-catalog .store-notice-bar {
  min-height: 34px;
  padding: 8px 4%;
  background: #262220;
  color: #efe9e0;
  font: 400 11px/1.35 "Jost", sans-serif;
  letter-spacing: .02em;
}

.anaduran-shop-catalog .store-header {
  position: relative;
  top: auto;
  display: flex !important;
  width: 100%;
  min-height: 90px;
  padding: 0 4%;
  border: 0;
  background: var(--shop-header) !important;
  box-shadow: none;
}

.anaduran-shop-catalog .store-brand {
  color: #322e29;
  font: 500 30px/1 "Cormorant Garamond", serif;
  letter-spacing: .1em;
}

.anaduran-shop-catalog .store-brand small {
  margin-top: 6px;
  color: #8a8178;
  font: 400 8px/1.2 "Jost", sans-serif;
  letter-spacing: .22em;
}

.anaduran-shop-catalog .store-header nav {
  justify-content: center !important;
  gap: clamp(14px, 2vw, 30px) !important;
}

.anaduran-shop-catalog .store-header nav > a,
.anaduran-shop-catalog .store-header .nav-dropdown summary {
  color: #453f39;
  font: 400 10.5px/1.2 "Jost", sans-serif;
  letter-spacing: .13em;
}

.anaduran-shop-catalog .store-actions {
  gap: 20px;
  color: #453f39;
}

.anaduran-shop-catalog .store-actions .anaduran-icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.4;
}

.anaduran-shop-catalog .store-shell--catalog,
.anaduran-shop-catalog .catalog-page,
.anaduran-shop-catalog .product-page {
  background: var(--shop-bg) !important;
  color: var(--shop-ink) !important;
}

/* Catálogo ---------------------------------------------------------------- */
.catalog-page .catalog-products {
  width: 92%;
  max-width: var(--shop-width);
  margin: 0 auto;
  padding: clamp(34px, 3.6vw, 54px) 0 70px;
}

.catalog-page .catalog-listing-head,
.catalog-page .catalog-listing-toolbar,
.catalog-page .catalog-family-tabs,
.catalog-page .catalog-subfamily-tabs,
.catalog-page .catalog-grid,
.catalog-page .catalog-pagination {
  max-width: none;
}

.catalog-page .catalog-listing-head {
  padding: 0;
}

.catalog-page .catalog-listing-head .catalog-eyebrow {
  margin: 0;
  color: #9b8b76;
  font: 500 10px/1.2 "Jost", sans-serif;
  letter-spacing: .28em;
}

.catalog-page .catalog-listing-head h1 {
  margin-top: 14px;
  color: var(--shop-ink);
  font: 400 clamp(38px, 4vw, 56px)/1.05 "Cormorant Garamond", serif;
  letter-spacing: 0;
}

.catalog-family-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px clamp(18px, 2.4vw, 34px);
  margin-top: clamp(22px, 2.4vw, 30px);
}

.catalog-family-tabs a {
  padding: 0 0 6px;
  border-bottom: 1px solid transparent;
  color: var(--shop-muted);
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .09em;
  text-decoration: none;
}

.catalog-family-tabs a:first-child {
  font-size: 13px;
}

.catalog-family-tabs a:hover,
.catalog-family-tabs a.is-active {
  border-bottom-color: var(--shop-accent);
  color: var(--shop-ink);
  font-weight: 500;
}

.catalog-subfamily-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(14px, 1.8vw, 24px);
  margin-top: 14px;
}

.catalog-subfamily-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 14px;
  border: 1px solid var(--shop-line);
  border-radius: 2px;
  background: #faf8f5;
  color: var(--shop-copy);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .14em;
  text-decoration: none;
}

.catalog-subfamily-tabs a:hover,
.catalog-subfamily-tabs a.is-active {
  border-color: #c9b99f;
  background: #eae2d4;
  color: var(--shop-ink);
}

.catalog-page .catalog-listing-toolbar {
  grid-template-columns: 170px minmax(0, 1fr) auto;
  min-height: 61px;
  margin-top: clamp(26px, 2.8vw, 38px);
  border-color: var(--shop-line);
}

.catalog-page .catalog-result-count {
  color: var(--shop-copy);
  font: 300 11.5px/1.2 "Jost", sans-serif;
}

.catalog-page .catalog-sort,
.catalog-page .catalog-filter-details {
  border-left-color: var(--shop-line);
}

.catalog-page .catalog-sort label,
.catalog-page .catalog-filter-details summary {
  color: #7d756e;
  font: 300 11px/1.2 "Jost", sans-serif;
}

.catalog-page .catalog-filter-details summary small {
  color: var(--shop-accent);
  font-size: 9px;
}

.catalog-page .catalog-sort select {
  min-width: 130px;
  border-color: var(--shop-line);
  border-radius: 2px;
  background: #faf8f5;
  font-family: "Jost", sans-serif;
}

.catalog-page .catalog-filter-panel {
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(135px, 1fr)) minmax(220px, 1.2fr);
  gap: clamp(24px, 3vw, 42px);
  width: min(980px, 92vw);
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--shop-line);
  background: #faf8f5;
  box-shadow: none;
}

.catalog-page .catalog-filter-panel-title,
.catalog-page .catalog-inline-search label {
  margin-bottom: 14px;
  color: #9b8b76;
  font: 500 10px/1.2 "Jost", sans-serif;
  letter-spacing: .2em;
}

.catalog-filter-group nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.catalog-filter-group a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: var(--shop-copy);
  font-size: 11px;
  font-weight: 300;
  text-decoration: none;
}

.catalog-filter-group a:hover,
.catalog-filter-group a.is-active {
  border-bottom-color: var(--shop-accent);
  color: var(--shop-ink);
  font-weight: 500;
}

.catalog-filter-search {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.catalog-clear-filters {
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 1px solid #d8cfc2;
  color: var(--shop-accent);
  font-size: 10px;
  letter-spacing: .18em;
  text-decoration: none;
}

.catalog-page .catalog-grid,
.catalog-page.catalog-view--four .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 24px);
  margin-top: clamp(24px, 2.6vw, 34px);
}

.catalog-page.catalog-view--six .catalog-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.catalog-page .catalog-card {
  outline: 1px solid transparent;
  background: var(--shop-sand) !important;
  transition: outline-color .22s ease;
}

.catalog-page .catalog-card:hover,
.catalog-page .catalog-card:focus-within {
  outline-color: #ddd4c6;
}

.catalog-page .catalog-card-visual {
  background: #e7e2da;
  box-shadow: none !important;
  transition: none;
}

.catalog-page .catalog-card:hover .catalog-card-visual,
.catalog-page .catalog-card:focus-within .catalog-card-visual {
  transform: none;
  box-shadow: none;
}

.catalog-page .catalog-card-image {
  aspect-ratio: 1 / 1;
  background: #e7e2da !important;
}

.catalog-page .catalog-card-image img {
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22, .61, .36, 1);
}

.catalog-page .catalog-card:hover .catalog-card-image img,
.catalog-page .catalog-card:focus-within .catalog-card-image img {
  transform: scale(1.035);
}

.catalog-page .catalog-card-zoom,
.catalog-page .catalog-card-favorite {
  display: none;
}

.catalog-page .catalog-card-info {
  align-items: flex-start;
  min-height: 144px;
  padding: 18px 18px 21px;
  background: var(--shop-sand);
  text-align: left;
}

.catalog-page .catalog-card-name {
  color: var(--shop-ink);
  font: 500 12px/1.35 "Jost", sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.catalog-page .catalog-card-description {
  margin-top: 8px;
  color: var(--shop-muted) !important;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.65;
}

.catalog-page .catalog-card-meta {
  margin-top: 8px;
  color: var(--shop-muted) !important;
  font-size: 11px;
  font-weight: 300;
}

.catalog-page .catalog-card-price {
  margin-top: 9px;
  color: #4a443d !important;
  font-size: 13px;
  font-weight: 400;
}

.catalog-page.catalog-view--list .catalog-card {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0;
  border: 0;
}

.catalog-page.catalog-view--list .catalog-card-info {
  min-height: 0;
  padding: 18px 24px 18px 0;
}

.catalog-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 34px);
  width: 92%;
  max-width: var(--shop-width);
  margin: 0 auto clamp(36px, 3.6vw, 56px);
  padding: clamp(30px, 3vw, 42px) clamp(20px, 2.4vw, 40px);
  background: #ece7e0;
}

.catalog-services > div {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-right: clamp(16px, 2vw, 28px);
  border-right: 1px solid #ded6c9;
}

.catalog-services > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.catalog-services .anaduran-icon {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--shop-accent);
}

.catalog-services span,
.catalog-services strong,
.catalog-services small {
  display: block;
}

.catalog-services strong {
  color: var(--shop-ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
}

.catalog-services small {
  margin-top: 7px;
  color: #7d756e;
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.8;
}

/* Producto ---------------------------------------------------------------- */
.single-product .product-page {
  width: 92%;
  max-width: var(--shop-width);
  margin: 0 auto;
  padding-bottom: 0;
  background: var(--shop-bg) !important;
}

.single-product .product-breadcrumb {
  padding: 22px 0 0;
  color: var(--shop-muted);
  font: 300 10.5px/1.4 "Jost", sans-serif;
}

.single-product .product-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, 1fr);
  gap: clamp(28px, 3.4vw, 60px);
  margin-top: clamp(20px, 2.2vw, 30px);
  padding: 0;
}

.single-product .product-main-image {
  aspect-ratio: 4 / 3;
  background: #ece7e0 !important;
}

.single-product .product-main-image > img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.single-product .product-gallery-arrow {
  top: 50%;
  width: 38px;
  height: 38px;
  border-color: var(--shop-line);
  color: #3f3a34;
  font-family: "Cormorant Garamond", serif;
  transform: translateY(-50%);
}

.single-product .product-space-button {
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--shop-line);
  border-radius: 2px;
  background: rgba(250, 248, 245, .94);
  color: #3f3a34;
  font: 400 10.5px/1 "Jost", sans-serif;
}

.single-product .product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  padding-bottom: 4px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.single-product .product-thumbnail,
.single-product .product-thumbnail.is-active {
  width: 92px;
  aspect-ratio: 1;
  flex: 0 0 92px;
  padding: 0;
  border: 1px solid var(--shop-line);
  background: #ece7e0 !important;
  scroll-snap-align: start;
}

.single-product .product-thumbnail.is-active {
  border-color: var(--shop-accent);
}

.single-product .product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-product .product-buy {
  padding-top: 6px;
}

.single-product .product-buy-label p {
  margin-bottom: 12px;
  color: #9b8b76 !important;
  font: 500 10px/1.2 "Jost", sans-serif;
  letter-spacing: .26em;
}

.single-product .product-buy h1 {
  margin-bottom: 12px;
  color: var(--shop-ink);
  font: 400 clamp(34px, 3.4vw, 48px)/1.06 "Cormorant Garamond", serif;
}

.single-product .product-buy-description {
  max-width: none;
  color: var(--shop-muted) !important;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  line-height: 1.55;
  text-transform: uppercase;
}

.single-product .product-choice-heading,
.single-product .product-choice-help {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.single-product .product-price-box {
  min-height: 73px;
  margin: clamp(22px, 2.4vw, 30px) 0 clamp(26px, 2.6vw, 34px);
  padding: 17px 22px;
  border: 0;
  border-radius: 2px;
  background: #ece7e0;
}

.single-product .product-price-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  text-transform: none;
}

.single-product .product-price-copy > span {
  color: #9b8b76;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.single-product .product-price-copy small {
  color: var(--shop-muted);
  font-size: 10.5px;
  font-weight: 300;
}

.single-product .product-price-box strong,
.single-product .product-price-box strong .amount {
  color: var(--shop-ink) !important;
  font: 400 clamp(26px, 2.4vw, 34px)/1 "Cormorant Garamond", serif;
  white-space: nowrap;
}

.single-product .variation-chip-group {
  margin-bottom: clamp(22px, 2.2vw, 28px);
}

.single-product .variation-chip-label {
  margin-bottom: 14px;
  color: var(--shop-ink);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.single-product .variation-chip-step {
  width: 20px;
  height: 20px;
  border-color: #d6cec2;
  color: #9b8b76;
  font-size: 9.5px;
}

.single-product .variation-chip-current {
  margin-left: auto;
  min-width: 0;
  overflow: hidden;
  color: var(--shop-muted);
  font-size: 10.5px;
  font-weight: 300;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.single-product .variation-chip-current:not(:empty)::before {
  content: "";
}

.single-product .variation-chip-controls {
  display: inline-flex;
  flex: 0 0 auto;
  margin-left: 2px;
}

.single-product .variation-chip-viewport {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.single-product .variation-chip-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: max-content;
  min-width: 100%;
  padding: 1px 0 3px;
}

.single-product .variation-chip {
  min-height: 36px;
  padding: 8px 14px;
  border-color: var(--shop-line);
  background: #faf8f5;
  color: #5c554e;
  font: 400 11px/1.2 "Jost", sans-serif;
  letter-spacing: .05em;
}

.single-product .variation-chip:hover:not(:disabled),
.single-product .variation-chip.is-selected {
  border-color: #b9a586;
  background: #eae2d4;
  color: var(--shop-ink);
}

.single-product .variation-chip-group--swatch .variation-chip {
  padding-left: 9px;
}

.single-product .variation-chip-swatch {
  width: 15px;
  height: 15px;
}

.single-product .product-purchase .woocommerce-variation-add-to-cart,
.single-product .product-purchase form.cart:not(.variations_form):not(.area-priced-cart) {
  display: grid !important;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.single-product .product-purchase .woocommerce-variation-add-to-cart > input[type="hidden"] {
  display: none;
}

.single-product .product-purchase .quantity {
  display: grid;
  grid-template-columns: 34px minmax(32px, 1fr) 34px;
  width: 104px;
  min-height: 44px;
  margin: 0 !important;
  border: 1px solid #ddd6ca;
  border-radius: 2px;
  background: #faf8f5;
}

.single-product .product-purchase .quantity input {
  width: 100%;
  min-height: 42px;
  padding: 0;
  border: 0 !important;
  background: transparent;
  color: var(--shop-ink);
  font: 400 12px "Jost", sans-serif;
  appearance: textfield;
}

.single-product .product-purchase .quantity input::-webkit-inner-spin-button,
.single-product .product-purchase .quantity input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.quantity-stepper {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--shop-copy);
  font: 400 14px "Jost", sans-serif;
  cursor: pointer;
}

.single-product .product-purchase .single_add_to_cart_button {
  min-height: 44px;
  border-radius: 2px;
  background: #262220 !important;
  font: 500 11px/1.2 "Jost", sans-serif;
  letter-spacing: .19em;
}

.single-product .product-purchase .single_add_to_cart_button:disabled {
  background: #cfc8bd !important;
  color: #f7f5f2 !important;
  opacity: 1;
}

.single-product .product-delivery-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #7d756e !important;
  font-size: 10.5px;
  font-weight: 300;
}

.single-product .product-special-size-note {
  margin: 10px 0 0;
  color: #7d756e;
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.55;
}

.single-product .product-special-size-note a {
  color: #262220;
  text-decoration: underline;
  text-decoration-color: #a9947f;
  text-underline-offset: 3px;
}

.single-product .product-information-button {
  margin-top: 12px;
  padding: 15px 20px;
  border-color: #262220 !important;
  border-radius: 2px;
  color: #262220 !important;
  font: 400 10.5px/1.2 "Jost", sans-serif;
  letter-spacing: .19em;
}

.product-mini-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(22px, 2.2vw, 28px);
  padding: 14px 4px;
  border-radius: 2px;
  background: #ece7e0;
}

.product-mini-services span {
  padding: 0 7px;
  border-right: 1px solid #ded6c9;
  color: #7d756e;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .04em;
  text-align: center;
}

.product-mini-services span:last-child {
  border-right: 0;
}

.single-product .product-benefits {
  margin: clamp(44px, 4.4vw, 68px) 0 clamp(46px, 4.6vw, 72px);
  padding: clamp(28px, 3vw, 40px) clamp(14px, 1.6vw, 24px);
  background: #ece7e0 !important;
}

.single-product .product-benefits img {
  width: 26px;
  height: 26px;
}

.single-product .product-benefits strong {
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .06em;
}

.single-product .product-benefits span {
  margin-top: 2px;
  color: var(--shop-muted);
  font-size: 10px;
  font-weight: 300;
}

.single-product .product-where h2,
.single-product .product-environments h2,
.single-product .product-related h2 {
  color: var(--shop-ink);
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  text-transform: none;
}

.single-product .product-where h2 {
  font-size: clamp(24px, 2.3vw, 32px);
}

.single-product .product-where-list {
  margin: clamp(24px, 2.4vw, 32px) 0 clamp(44px, 4.4vw, 68px);
  gap: clamp(22px, 3vw, 46px);
}

.single-product .product-environments {
  padding: 0 0 clamp(44px, 4.4vw, 68px);
}

.single-product .product-environments .catalog-section-heading {
  justify-content: space-between;
  text-align: left;
}

.single-product .product-environments .catalog-section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 36px);
}

.single-product .product-story {
  margin: 0 0 clamp(44px, 4.4vw, 68px);
  background: #ece7e0 !important;
}

.single-product .product-story h2,
.single-product .product-pro h2 {
  font-family: "Cormorant Garamond", serif;
}

.single-product .product-tabs {
  margin: 0 0 clamp(46px, 4.6vw, 72px);
  border: 0;
}

.single-product .product-tab-labels {
  border-bottom: 1px solid var(--shop-line);
}

.single-product .product-tab-labels button {
  flex: none;
  padding: 16px clamp(14px, 1.8vw, 26px);
  border-right: 0;
  border-bottom-color: transparent;
  background: transparent;
  color: var(--shop-muted);
  font-family: "Jost", sans-serif;
  letter-spacing: .14em;
}

.single-product .product-tab-labels button.is-active {
  border-bottom-color: var(--shop-accent);
  background: #faf8f5;
  color: var(--shop-ink);
}

.single-product .product-tab-content {
  padding: clamp(28px, 3vw, 42px) 0 0;
}

.single-product .product-pro {
  margin: 0 0 clamp(46px, 4.6vw, 72px);
  padding: clamp(34px, 3.6vw, 56px) clamp(24px, 3vw, 54px);
  background: var(--shop-sand);
}

.single-product .product-related {
  padding-bottom: 0 !important;
}

.single-product .product-related .catalog-section-heading {
  justify-content: flex-start;
  text-align: left;
}

.single-product .product-related .catalog-section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 36px);
}

.single-product .related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 24px);
  margin-top: clamp(22px, 2.4vw, 30px);
  padding: 0;
}

.single-product .related-grid a {
  background: var(--shop-sand);
}

.single-product .related-grid strong,
.single-product .related-grid small {
  margin-right: 16px;
  margin-left: 16px;
}

.single-product .related-grid small {
  margin-bottom: 19px;
}

@media (max-width: 1120px) {
  .anaduran-shop-catalog .store-header nav {
    display: none;
  }

  .anaduran-shop-catalog .mobile-nav-toggle {
    display: inline-flex;
  }

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

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

  .catalog-services > div:nth-child(2) {
    border-right: 0;
  }

  .single-product .product-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: clamp(26px, 3vw, 36px);
  }

  .single-product .product-thumbnail,
  .single-product .product-thumbnail.is-active {
    width: 78px;
    flex-basis: 78px;
  }
}

@media (max-width: 900px) {
  .catalog-page .catalog-grid,
  .catalog-page.catalog-view--four .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .single-product .product-hero {
    grid-template-columns: 1fr;
  }

  .single-product .product-buy {
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .anaduran-shop-catalog .store-notice-bar {
    min-height: 31px;
    font-size: 9px;
  }

  .anaduran-shop-catalog .store-header {
    min-height: 70px;
    padding: 0 4%;
  }

  .anaduran-shop-catalog .store-brand {
    font-size: 23px;
  }

  .anaduran-shop-catalog .store-actions {
    gap: 10px;
  }

  .catalog-page .catalog-products {
    width: auto;
    padding: 28px 16px 48px;
  }

  .catalog-page .catalog-listing-head h1 {
    font-size: 40px;
  }

  .catalog-family-tabs {
    flex-wrap: nowrap;
    gap: 18px;
    margin-right: -16px;
    padding: 0 16px 6px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .catalog-family-tabs::-webkit-scrollbar,
  .catalog-subfamily-tabs::-webkit-scrollbar {
    display: none;
  }

  .catalog-family-tabs a {
    flex: 0 0 auto;
    font-size: 11px;
    scroll-snap-align: start;
  }

  .catalog-subfamily-tabs {
    flex-wrap: nowrap;
    gap: 8px;
    margin-right: -16px;
    padding-right: 16px;
    padding-bottom: 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .catalog-subfamily-tabs a {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 11px;
    font-size: 9.5px;
    scroll-snap-align: start;
  }

  .catalog-page .catalog-listing-toolbar {
    grid-template-columns: minmax(70px, 1fr) auto;
    min-height: 57px;
  }

  .catalog-page .catalog-view-switcher {
    display: none;
  }

  .catalog-page .catalog-result-count {
    text-align: left;
  }

  .catalog-page .catalog-toolbar-actions {
    grid-column: 2;
  }

  .catalog-page .catalog-sort {
    display: flex;
    padding: 0 10px;
  }

  .catalog-page .catalog-sort label {
    display: none;
  }

  .catalog-page .catalog-sort select {
    min-width: 112px;
    max-width: 122px;
    padding-right: 22px;
    font-size: 10px;
  }

  .catalog-page .catalog-filter-details {
    min-width: 76px;
  }

  .catalog-page .catalog-filter-details summary {
    padding: 0 9px;
  }

  .catalog-page .catalog-filter-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    width: calc(100vw - 32px);
    max-height: 68vh;
    overflow-y: auto;
  }

  .catalog-page .catalog-grid,
  .catalog-page.catalog-view--four .catalog-grid,
  .catalog-page.catalog-view--six .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 10px;
  }

  .catalog-page .catalog-card-info {
    min-height: 108px;
    padding: 13px 12px 16px;
  }

  .catalog-page .catalog-card-name {
    font-size: 11px;
  }

  .catalog-page .catalog-card-description {
    display: none;
  }

  .catalog-page .catalog-card-meta {
    display: -webkit-box;
    margin-top: 7px;
    overflow: hidden;
    font-size: 9.5px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .catalog-page .catalog-card-price {
    margin-top: 8px;
    font-size: 11.5px;
  }

  .catalog-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: auto;
    margin-right: 16px;
    margin-left: 16px;
    padding: 24px 18px;
  }

  .catalog-services > div,
  .catalog-services > div:nth-child(2) {
    min-width: 0;
    padding: 18px 16px;
    border-bottom: 1px solid #ded6c9;
  }

  .catalog-services > div:nth-child(odd) {
    border-right: 1px solid #ded6c9;
  }

  .catalog-services > div:nth-child(3),
  .catalog-services > div:nth-child(4) {
    border-bottom: 0;
  }

  .catalog-services > div:last-child {
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 0;
  }

  .catalog-services .anaduran-icon {
    width: 22px;
    height: 22px;
  }

  .single-product .product-page {
    width: 100%;
  }

  .single-product .product-breadcrumb {
    padding: 14px 16px;
  }

  .single-product .product-hero {
    display: block;
    margin-top: 0;
  }

  .single-product .product-main-image {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .single-product .product-thumbnails {
    gap: 8px;
    padding: 0 16px 5px;
    scrollbar-width: none;
  }

  .single-product .product-thumbnails::-webkit-scrollbar {
    display: none;
  }

  .single-product .product-thumbnail,
  .single-product .product-thumbnail.is-active {
    width: 70px;
    flex-basis: 70px;
  }

  .single-product .product-buy {
    padding: 26px 18px 0;
  }

  .single-product .product-buy h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .single-product .variation-chip-track {
    gap: 7px;
  }

  .single-product .variation-chip-controls {
    display: none;
  }

  .single-product .variation-chip {
    min-height: 42px;
    padding: 9px 12px;
  }

  .single-product .variation-chip-swatch {
    width: 22px;
    height: 22px;
  }

  .single-product .product-purchase .woocommerce-variation-add-to-cart,
  .single-product .product-purchase form.cart:not(.variations_form):not(.area-priced-cart) {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .single-product .product-purchase .quantity {
    grid-template-columns: 31px minmax(30px, 1fr) 31px;
    width: 96px;
  }

  .product-mini-services {
    grid-template-columns: 1fr 1fr;
    gap: 10px 0;
  }

  .product-mini-services span:nth-child(2) {
    border-right: 0;
  }

  .single-product .product-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 40px 0 48px;
    padding: 22px 14px;
    overflow: hidden;
  }

  .single-product .product-benefits > div {
    min-height: 104px;
    padding: 15px 8px;
    border-right: 1px solid #ded6c9;
    border-bottom: 1px solid #ded6c9;
  }

  .single-product .product-benefits > div:nth-child(3n),
  .single-product .product-benefits > div:last-child {
    border-right: 0;
  }

  .single-product .product-benefits > div:nth-child(n + 7) {
    border-bottom: 0;
  }

  .single-product .product-benefits > div:last-child {
    grid-column: 2;
  }

  .single-product .product-where-list {
    margin-right: 18px;
    margin-left: 18px;
  }

  .single-product .product-environments {
    padding-right: 18px;
    padding-left: 18px;
  }

  .single-product .product-story,
  .single-product .product-tabs,
  .single-product .product-pro {
    margin-right: 16px;
    margin-left: 16px;
  }

  .single-product .product-tab-labels {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .single-product .product-tab-labels button {
    min-width: 150px;
  }

  .single-product .product-related .catalog-section-heading {
    padding: 0 16px;
  }

  .single-product .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 10px;
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-page .catalog-card-image img {
    transition: none;
  }
}

/* Mitad inferior de producto ------------------------------------------------
   Esta capa sustituye por completo la composición histórica desde
   «¿Dónde queda mejor?» y reproduce el sistema editorial del nuevo frontend. */
.single-product .product-where {
  padding: clamp(46px, 4.6vw, 72px) 0 0;
  text-align: center;
}

.single-product .product-where h2 {
  margin: 0;
  color: var(--shop-ink);
  font: 400 clamp(24px, 2.3vw, 32px)/1.15 "Cormorant Garamond", serif;
  letter-spacing: .04em;
  text-transform: none;
}

.single-product .product-where-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(22px, 3vw, 46px);
  margin: clamp(24px, 2.4vw, 32px) 0 0;
}

.single-product .product-where-list a {
  display: block;
  min-width: 64px;
  color: #5c554e;
  text-align: center;
  text-decoration: none;
}

.single-product .product-where-list .anaduran-icon {
  display: block;
  width: 25px;
  height: 25px;
  margin: 0 auto;
  stroke-width: 1.15;
  transition: color .2s ease, transform .2s ease;
}

.single-product .product-where-list strong {
  display: block;
  margin-top: 10px;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .06em;
}

.single-product .product-where-list a:hover .anaduran-icon {
  color: var(--shop-accent);
  transform: translateY(-2px);
}

.single-product .product-environments {
  margin: 0;
  padding: clamp(44px, 4.4vw, 68px) 0 0;
}

.single-product .product-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0;
  text-align: left;
}

.single-product .product-section-heading h2 {
  margin: 0;
  color: var(--shop-ink);
  font: 400 clamp(26px, 2.6vw, 36px)/1.1 "Cormorant Garamond", serif;
  letter-spacing: .03em;
  text-transform: none;
}

.single-product .product-section-heading > a {
  padding-bottom: 3px;
  border-bottom: 1px solid #d8cfc2;
  color: var(--shop-accent);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .12em;
  text-decoration: none;
}

.single-product .product-environment-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
  margin-top: clamp(22px, 2.4vw, 30px);
}

.single-product .product-environment-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e7e2da;
  color: #f5f0e9;
  text-decoration: none;
}

.single-product .product-environment-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 22, 18, .62) 0%, rgba(26, 22, 18, 0) 48%);
  content: "";
  pointer-events: none;
}

.single-product .product-environment-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.22, .61, .36, 1);
}

.single-product .product-environment-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.single-product .product-environment-card span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  color: inherit;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
}

.single-product .product-environment-card:hover img {
  transform: scale(1.035);
}

.single-product .product-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  margin: clamp(44px, 4.4vw, 68px) 0 0;
  background: transparent !important;
}

.single-product .product-story-image {
  min-height: 0;
  aspect-ratio: 8 / 3;
  overflow: hidden;
  background: #e7e2da;
}

.single-product .product-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-product .product-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3vw, 46px);
  background: #ece7e0;
}

.single-product .product-story-copy .product-eyebrow,
.single-product .product-tab-eyebrow,
.single-product .product-pro-copy .product-eyebrow {
  margin: 0;
  color: #9b8b76 !important;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.single-product .product-tab-eyebrow {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .1em;
}

.single-product .product-story-copy h2 {
  margin: 16px 0 0;
  color: var(--shop-ink);
  font: 400 clamp(24px, 2.4vw, 34px)/1.15 "Cormorant Garamond", serif;
}

.single-product .product-story-copy > p:last-child {
  max-width: 440px;
  margin: 18px 0 0;
  color: var(--shop-copy);
  font-size: 12px;
  font-weight: 300;
  line-height: 2;
}

.single-product .product-tabs {
  margin: 0;
  padding: clamp(44px, 4.4vw, 68px) 0 0;
  border: 0;
  background: transparent;
}

.single-product .product-tab-labels {
  display: flex;
  border-bottom: 1px solid var(--shop-line);
  overflow-x: auto;
  scrollbar-width: none;
}

.single-product .product-tab-labels::-webkit-scrollbar {
  display: none;
}

.single-product .product-tab-labels button {
  flex: 0 0 auto;
  min-width: 0;
  margin: 0 0 -1px;
  padding: 16px clamp(14px, 1.8vw, 26px);
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--shop-muted);
  font: 400 10px/1.25 "Jost", sans-serif;
  letter-spacing: .14em;
  cursor: pointer;
}

.single-product .product-tab-labels button.is-active {
  border-bottom-color: var(--shop-accent);
  background: #faf8f5;
  color: var(--shop-ink);
  font-weight: 500;
}

.single-product .product-tab-panel[hidden] {
  display: none !important;
}

.single-product .product-tab-content {
  display: block;
  padding: clamp(28px, 3vw, 42px) 0 0;
}

.single-product .product-tab-body {
  min-width: 0;
  max-width: 960px;
  color: var(--shop-copy);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.9;
}

.single-product .product-tab-content--wide .product-tab-body {
  max-width: none;
}

.single-product .product-tab-body > p:not(.product-tab-eyebrow) {
  margin: 15px 0 0;
}

.single-product .product-tab-body h3 {
  margin: 24px 0 8px;
  color: var(--shop-ink);
  font: 400 24px/1.2 "Cormorant Garamond", serif;
}

.single-product .product-tab-list {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.single-product .product-tab-list li {
  position: relative;
  padding-left: 20px;
}

.single-product .product-tab-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--shop-accent);
  content: "✓";
}

.single-product .product-faq {
  display: grid;
  grid-template-columns: minmax(180px, .6fr) minmax(0, 1fr);
  margin: 16px 0 0;
  border-top: 1px solid var(--shop-line);
}

.single-product .product-faq dt,
.single-product .product-faq dd {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--shop-line);
}

.single-product .product-faq dt {
  padding-right: 22px;
  color: var(--shop-ink);
  font-weight: 500;
}

.single-product .product-tab-links a {
  color: var(--shop-accent);
}

.single-product .product-pro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 56px);
  margin: clamp(46px, 4.6vw, 72px) 0 0;
  padding: clamp(34px, 3.6vw, 56px) clamp(24px, 3vw, 54px);
  background: var(--shop-sand);
}

.single-product .product-pro-copy h2 {
  margin: 16px 0 0;
  color: var(--shop-ink);
  font: 400 clamp(25px, 2.5vw, 35px)/1.15 "Cormorant Garamond", serif;
}

.single-product .product-pro-copy > p:not(.product-eyebrow) {
  max-width: 420px;
  margin: 18px 0 0;
  color: var(--shop-copy);
  font-size: 12px;
  font-weight: 300;
  line-height: 2;
}

.single-product .product-pro-button {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 28px;
  border: 0;
  border-radius: 2px;
  background: #262220;
  color: #f2efe9;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .19em;
  text-decoration: none;
}

.single-product .product-pro-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  align-self: center;
  margin: 0;
  padding: 0;
}

.single-product .product-pro-points article {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid #ded6c9;
}

.single-product .product-pro-points small {
  display: block;
  color: var(--shop-accent);
  font-size: 9px;
  letter-spacing: .12em;
}

.single-product .product-pro-points strong,
.single-product .product-pro-points span {
  display: block;
}

.single-product .product-pro-points strong {
  margin-top: 9px;
  color: var(--shop-ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
}

.single-product .product-pro-points span {
  margin-top: 8px;
  color: #7d756e;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.85;
}

.single-product .product-related {
  margin: clamp(46px, 4.6vw, 72px) 0 0;
  padding: 0 0 clamp(56px, 6vw, 88px) !important;
}

.single-product .product-related .related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 24px);
  margin: clamp(22px, 2.4vw, 30px) 0 0;
  padding: 0;
}

.single-product .product-related-card {
  display: block;
  min-width: 0;
  background: var(--shop-sand);
  color: var(--shop-ink);
  text-decoration: none;
}

.single-product .product-related-image {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e7e2da;
}

.single-product .product-related-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.22, .61, .36, 1);
}

.single-product .product-related-copy {
  display: block;
  min-height: 82px;
  padding: 15px 16px 18px;
}

.single-product .product-related-copy strong,
.single-product .product-related-copy small {
  display: block;
  margin: 0;
}

.single-product .product-related-copy strong {
  color: var(--shop-ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.single-product .product-related-copy small {
  margin-top: 8px;
  color: var(--shop-accent);
  font-size: 11px;
  font-weight: 300;
}

.single-product .product-related-card:hover .product-related-image img {
  transform: scale(1.035);
}

@media (max-width: 900px) {
  .single-product .product-environment-grid,
  .single-product .product-related .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .single-product .product-story,
  .single-product .product-pro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .single-product .product-where {
    padding: 46px 18px 0;
  }

  .single-product .product-where-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 8px;
    margin: 24px 0 0;
  }

  .single-product .product-where-list a {
    min-width: 0;
  }

  .single-product .product-environments {
    margin: 0;
    padding: 48px 16px 0;
  }

  .single-product .product-section-heading {
    align-items: baseline;
  }

  .single-product .product-section-heading h2 {
    font-size: 30px;
  }

  .single-product .product-section-heading > a {
    font-size: 9px;
  }

  .single-product .product-environment-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 76%;
    grid-template-columns: none;
    gap: 12px;
    margin-right: -16px;
    margin-top: 22px;
    padding: 0 16px 6px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .single-product .product-environment-grid::-webkit-scrollbar {
    display: none;
  }

  .single-product .product-environment-card {
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .single-product .product-environment-card span {
    right: 10px;
    bottom: 11px;
    left: 10px;
    font-size: 8.5px;
    line-height: 1.45;
  }

  .single-product .product-story {
    margin: 48px 0 0;
  }

  .single-product .product-story-copy {
    padding: 32px 20px 36px;
  }

  .single-product .product-tabs {
    margin: 0;
    padding: 48px 16px 0;
  }

  .single-product .product-tab-labels {
    margin-right: -16px;
  }

  .single-product .product-tab-labels button {
    min-width: max-content;
    padding: 15px 17px;
    font-size: 9px;
  }

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

  .single-product .product-faq dt {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .single-product .product-faq dd {
    padding-top: 0;
  }

  .single-product .product-pro {
    gap: 32px;
    margin: 48px 16px 0;
    padding: 34px 22px 38px;
  }

  .single-product .product-pro-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }

  .single-product .product-related {
    margin-top: 48px;
    padding-bottom: 48px !important;
  }

  .single-product .product-related .product-section-heading {
    padding: 0 16px;
  }

  .single-product .product-related .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
    padding: 0 16px;
  }

  .single-product .product-related-copy {
    min-height: 90px;
    padding: 13px 11px 16px;
  }

  .single-product .product-related-copy strong {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .single-product .product-environment-card img,
  .single-product .product-related-image img,
  .single-product .product-where-list .anaduran-icon {
    transition: none;
  }
}

/* Contención de escritorio -------------------------------------------------
   overlay-fixes.css abría la ficha al 100% con !important y dejaba varios
   bloques antiguos en 1296/1440 px, todos alineados a la izquierda. En
   pantallas ultrapanorámicas esa mezcla producía el gran hueco lateral. */
@media (min-width: 701px) {
  .single-product .product-page {
    width: min(92%, 1440px) !important;
    max-width: 1440px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .single-product .product-where,
  .single-product .product-environments,
  .single-product .product-story,
  .single-product .product-tabs,
  .single-product .product-pro,
  .single-product .product-related {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box;
  }
}

/* Portatiles y escritorios compactos -------------------------------------
   Montserrat necesita algo mas de ancho que la familia anterior. En este
   rango la copia puede superar la altura panoramica de la foto y la quinta
   pestana quedaba fuera del borde visible. */
@media (min-width: 821px) and (max-width: 1240px) {
  .single-product .product-story-image {
    position: relative;
    height: auto;
    aspect-ratio: auto;
  }

  .single-product .product-story-image img {
    position: absolute;
    inset: 0;
  }

  .single-product .product-tab-labels {
    overflow-x: visible;
  }

  .single-product .product-tab-labels button {
    min-width: 0;
    min-height: 58px;
    flex: 1 1 0;
    padding-right: 8px;
    padding-left: 8px;
    letter-spacing: .08em;
    line-height: 1.35;
    white-space: normal;
    text-wrap: balance;
  }
}

/* La historia abre ahora el recorrido editorial inmediatamente despues de
   los beneficios principales; las pestañas continúan justo debajo. */
.single-product .product-benefits.product-benefits--before-story {
  margin-bottom: clamp(24px, 2.4vw, 34px);
}

.single-product .product-benefits--before-story + .product-story {
  margin-top: 0;
}

.single-product .product-story + .product-tabs {
  padding-top: clamp(24px, 2.4vw, 34px);
}

@media (max-width: 700px) {
  .single-product .product-page {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}
