/*
Theme Name: Angel negro Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

:root {
  --an-ink: #171714;
  --an-ivory: #f7f3ea;
  --an-gold: #a77a39;
  --an-primary: #0b96ad;
  --an-line: #ddd6c8;
}

/* Ajustes finales de navegación y conversión mobile. */
.an-whatsapp-link {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: #1f9d55;
  box-shadow: 0 10px 28px rgba(16,67,40,.24);
  color: #fff !important;
  text-decoration: none !important;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.an-whatsapp-link:hover {
  background: #168348;
  box-shadow: 0 12px 32px rgba(16,67,40,.3);
  color: #fff !important;
  transform: translateY(-2px);
}

.an-whatsapp-link svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.an-whatsapp-link svg path:last-child {
  fill: currentColor;
  stroke: none;
}

.an-whatsapp-link span {
  position: absolute;
  left: calc(100% + 9px);
  padding: 7px 10px;
  border-radius: var(--an-radius, 8px);
  background: #171714;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
  white-space: nowrap;
}

.an-whatsapp-link:hover span,
.an-whatsapp-link:focus-visible span {
  opacity: 1;
  transform: translateX(0);
}

@media only screen and (max-width: 48em) {
  /* Cinco categorías en una grilla estable: 3 arriba y 2 centradas debajo. */
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 16px 8px !important;
    overflow: visible !important;
    transform: none !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider > .row,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider > .row {
    display: contents !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider .col,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider .col {
    grid-column: span 2;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider > .row:nth-child(2) .col:first-child,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider > .row:nth-child(2) .col:first-child {
    grid-column: 2 / span 2;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider .button,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 6px !important;
    font-size: 11px !important;
    text-align: center;
  }

  /* La información del producto se presenta abierta, sin el acordeón Info+. */
  .single-product .custom-product-page .detalles-producto {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .single-product .custom-product-page .detalles-producto > .col-inner {
    width: 100% !important;
    padding: 0 14px 24px !important;
    text-align: left !important;
  }

  .single-product .custom-product-page .detalles-producto .accordion {
    width: 100% !important;
    margin: 0 !important;
  }

  .single-product .custom-product-page .detalles-producto .accordion-title {
    display: none !important;
  }

  .single-product .custom-product-page .detalles-producto .accordion-inner {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 20px 4px 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .single-product .custom-product-page .detalles-producto .product-short-description,
  .single-product .custom-product-page .detalles-producto .woocommerce-tabs,
  .single-product .custom-product-page .detalles-producto .tab-panels,
  .single-product .custom-product-page .detalles-producto .panel {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  .single-product .mp-credits-tooltip-container {
    box-sizing: border-box !important;
    padding-right: 10px !important;
    overflow: hidden !important;
  }

  .single-product .mp-credits-tooltip-text {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
    column-gap: 4px !important;
    white-space: normal !important;
  }

  .single-product .mp-credits-tooltip-text span {
    max-width: 100% !important;
    white-space: normal !important;
  }

  .single-product .custom-product-page .detalles-producto .woocommerce-tabs.container {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  /* CTA de tienda centrado dentro del menú lateral. */
  #main-menu .header-button-2,
  #main-menu .header-button-2 .header-button {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 12px 0 !important;
    padding: 0 18px !important;
    text-align: center !important;
  }

  #main-menu .header-button-2 .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 240px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  #main-menu .header-button-2 .button span {
    width: 100%;
    text-align: center;
  }

  .an-mobile-buybar {
    z-index: 800 !important;
    transition: opacity .2s ease, transform .2s ease;
  }

  .an-mobile-buybar.is-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(115%) !important;
  }

  .single-product .an-whatsapp-link {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .woocommerce-cart .an-whatsapp-link,
  .woocommerce-checkout .an-whatsapp-link {
    display: none;
  }
}

/* ==========================================================
   REDISEÑO 2026 — colección, producto y checkout
   ========================================================== */

:root {
  --an-paper: #fbfaf7;
  --an-card: #ffffff;
  --an-soft: #f2eee6;
  --an-muted: #746d63;
  --an-radius: 18px;
  --an-shadow: 0 18px 50px rgba(24, 22, 18, .08);
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.button,
button,
input[type="submit"],
.single_add_to_cart_button,
.add_to_cart_button {
  border-radius: 999px !important;
  font-weight: 650;
  letter-spacing: .01em !important;
  text-transform: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

/* Home: colección editorial sin navegación de tabs. */
.home #main .tabbed-content {
  position: relative;
  padding-top: 112px;
}

.home #main .tabbed-content::before {
  content: "Vinos para cada momento\A Una selección de nuestros favoritos, elegidos para descubrir Ángel Negro.";
  position: absolute;
  inset: 20px 15px auto;
  color: var(--an-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
  white-space: pre-line;
}

.home #main .tabbed-content::after {
  content: "Descubrí la colección completa en la tienda";
  display: block;
  margin: 18px auto 8px;
  color: var(--an-muted);
  font-size: 14px;
  text-align: center;
}

.home #main .tabbed-content > .nav {
  display: none !important;
}

.home #tab_todos-los-productos .product:nth-child(n+9) {
  display: none !important;
}

/* Cards contemporáneas: foto contenida, aire y acción clara. */
.product-small > .col-inner {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(42, 37, 30, .08);
  border-radius: var(--an-radius);
  background: var(--an-card);
  box-shadow: 0 4px 18px rgba(24, 22, 18, .04);
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-small > .col-inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--an-shadow);
}

.product-small .box-image {
  overflow: hidden;
  border-radius: var(--an-radius) var(--an-radius) 0 0;
  background: var(--an-soft);
}

.product-small .box-image .image-none {
  padding: 18px;
}

.product-small .box-image img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .45s cubic-bezier(.2,.65,.25,1);
}

.product-small > .col-inner:hover .box-image img {
  transform: scale(1.025);
}

.product-small .box-text {
  padding: 20px 20px 22px;
  text-align: left !important;
}

.product-small .product-title a {
  min-height: 2.6em;
  font-size: 16px;
  letter-spacing: -.01em;
}

.product-small .price {
  display: block;
  margin: 9px 0 16px;
  font-size: 18px;
}

.product-small .add-to-cart-button a {
  width: 100%;
  min-height: 46px;
  margin: 0;
  border: 0;
  background: var(--an-ink) !important;
  color: #fff !important;
  line-height: 46px;
  text-align: center;
}

.badge-container {
  margin: 12px;
}

.badge-inner.on-sale {
  min-width: auto;
  height: auto;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

/* Ficha: información visible, sin pestañas escondidas. */
.single-product .product-main {
  padding: 42px 0 24px;
}

.single-product .product-main > .row,
.single-product .product-info.summary {
  border-radius: 24px;
}

.single-product .product-gallery,
.single-product .product-images {
  overflow: hidden;
  border-radius: 22px;
  background: var(--an-soft);
}

.single-product .product-gallery img,
.single-product .product-images img {
  mix-blend-mode: multiply;
}

.single-product .product-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.05;
}

.single-product .product-info .price {
  margin: 18px 0;
  font-size: 27px;
}

.single-product form.cart {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.single-product form.cart .quantity {
  overflow: hidden;
  border: 1px solid var(--an-line);
  border-radius: 999px;
}

.single-product .single_add_to_cart_button {
  min-height: 52px;
  padding-right: 30px;
  padding-left: 30px;
  background: var(--an-ink) !important;
}

.single-product .woocommerce-tabs .product-tabs {
  display: none !important;
}

.single-product .woocommerce-tabs .tab-panels {
  padding-top: 0;
  border: 0;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
  display: block !important;
  margin: 0 0 14px;
  padding: 24px 0;
  border-top: 1px solid var(--an-line);
  opacity: 1 !important;
}

.single-product .woocommerce-Tabs-panel--description::before,
.single-product .woocommerce-Tabs-panel--additional_information::before {
  display: block;
  margin-bottom: 12px;
  color: var(--an-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.15;
}

.single-product .woocommerce-Tabs-panel--description::before {
  content: "Sobre este vino";
}

.single-product .woocommerce-Tabs-panel--additional_information::before {
  content: "Detalles del producto";
}

/* Checkout inspirado en Shopify: limpio, dividido y sin fricción. */
.woocommerce-checkout #main {
  background: #fff;
}

.woocommerce-checkout .page-wrapper {
  padding-top: 30px;
}

.woocommerce-checkout .header-main .nav-left,
.woocommerce-checkout .header-main .nav-right,
.woocommerce-checkout .checkout-page-title {
  display: none !important;
}

.woocommerce-checkout .header-main .header-inner {
  justify-content: center;
}

.woocommerce-checkout .header-main #logo {
  margin: 0 auto;
}

.woocommerce-checkout .an-checkout-trust {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  border: 0;
  border-radius: 14px;
  background: var(--an-paper);
}

.woocommerce-checkout .woocommerce-form-coupon-toggle {
  display: none !important;
}

.woocommerce-checkout form.checkout_coupon {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto 30px;
  padding: 12px;
  border: 1px solid var(--an-line) !important;
  border-radius: 14px;
  background: #fff;
}

.woocommerce-checkout form.checkout_coupon::before {
  content: "Código de descuento";
  grid-column: 1 / -1;
  padding: 0 4px;
  color: var(--an-ink);
  font-size: 13px;
  font-weight: 650;
}

.woocommerce-checkout form.checkout_coupon p {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-checkout form.checkout_coupon .input-text {
  height: 48px;
  margin: 0;
  border: 1px solid #c9c5bd;
  border-radius: 9px;
  box-shadow: none;
}

.woocommerce-checkout form.checkout_coupon .button {
  height: 48px;
  margin: 0;
  padding: 0 22px;
  background: var(--an-ink);
  color: #fff;
}

.woocommerce-checkout form.checkout > .row {
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--an-line);
  border-radius: 20px;
  box-shadow: var(--an-shadow);
}

.woocommerce-checkout form.checkout > .row > .large-7 {
  padding: 38px 42px;
  background: #fff;
}

.woocommerce-checkout form.checkout > .row > .large-5 {
  padding: 38px 34px;
  border-left: 1px solid var(--an-line);
  background: var(--an-paper);
}

.woocommerce-checkout .woocommerce-billing-fields h3 {
  margin-bottom: 28px;
  color: transparent;
  font-size: 0;
}

.woocommerce-checkout .woocommerce-billing-fields h3::after {
  content: "Contacto y entrega";
  color: var(--an-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.woocommerce-checkout .form-row {
  margin-bottom: 14px;
}

.woocommerce-checkout .form-row label {
  color: #514c45;
  font-size: 12px;
  font-weight: 600;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection {
  border: 1px solid #c9c5bd;
  border-radius: 10px;
  background: #fff;
  box-shadow: none !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
  border-color: var(--an-ink);
}

.woocommerce-checkout #billing_country_field {
  padding: 11px 14px;
  border: 1px solid var(--an-line);
  border-radius: 10px;
  background: var(--an-paper);
}

.woocommerce-checkout .checkout-sidebar .is-well {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.woocommerce-checkout #order_review_heading {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.02em;
  text-transform: none;
}

.woocommerce-checkout #order_review {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  padding: 14px 0;
  border-color: var(--an-line);
}

.woocommerce-checkout .an-checkout-thumb {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  border-radius: 10px;
  background: var(--an-soft);
}

.woocommerce-checkout .wc_payment_methods {
  padding-top: 14px;
}

.woocommerce-checkout .wc_payment_method {
  margin-bottom: 10px !important;
  padding: 15px !important;
  border: 1px solid var(--an-line);
  border-radius: 12px;
  background: #fff;
}

.woocommerce-checkout .wc_payment_method:has(input:checked) {
  border-color: var(--an-ink);
  box-shadow: 0 0 0 1px var(--an-ink);
}

.woocommerce-checkout .payment_box {
  margin: 12px -15px -15px !important;
  padding: 14px 15px !important;
  border-radius: 0 0 11px 11px;
  background: var(--an-soft) !important;
}

.woocommerce-checkout #place_order {
  min-height: 56px;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(23, 23, 20, .16);
}

.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  color: var(--an-muted);
  font-size: 12px;
  line-height: 1.5;
}

@media only screen and (max-width: 48em) {
  .home #main .tabbed-content {
    padding-top: 126px;
  }

  .home #main .tabbed-content::before {
    inset: 18px 18px auto;
    font-size: 34px;
  }

  .home #tab_todos-los-productos .product:nth-child(n+5) {
    display: none !important;
  }

  .product-small .box-image .image-none {
    padding: 10px;
  }

  .product-small .box-text {
    padding: 14px 12px 16px;
  }

  .product-small .product-title a {
    font-size: 14px;
  }

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

  .single-product .product-main {
    padding-top: 14px;
  }

  .single-product form.cart {
    flex-wrap: wrap;
  }

  .single-product .single_add_to_cart_button {
    flex: 1;
  }

  .single-product .woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 20px 0;
  }

  .woocommerce-checkout .page-wrapper {
    padding-top: 18px;
  }

  .woocommerce-checkout .an-checkout-trust {
    margin-bottom: 16px;
  }

  .woocommerce-checkout form.checkout_coupon {
    margin-bottom: 18px;
  }

  .woocommerce-checkout form.checkout > .row {
    display: block;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .woocommerce-checkout form.checkout > .row > .large-7,
  .woocommerce-checkout form.checkout > .row > .large-5 {
    padding: 24px 18px;
    border: 0;
    border-radius: 16px;
  }

  .woocommerce-checkout form.checkout > .row > .large-7 {
    margin-bottom: 14px;
    border: 1px solid var(--an-line);
  }

  .woocommerce-checkout form.checkout > .row > .large-5 {
    background: var(--an-paper);
  }

  .woocommerce-checkout .woocommerce-billing-fields h3::after {
    font-size: 27px;
  }

  .woocommerce-checkout #place_order {
    bottom: 12px;
  }
}

/* Mobile conversion overrides: mantener al final para prevalecer sobre Flatsome. */
@media only screen and (max-width: 48em) {
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 16px 8px !important;
    overflow: visible !important;
    transform: none !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider > .row,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider > .row {
    display: contents !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider .col,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider .col {
    grid-column: span 2;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider > .row:nth-child(2) .col:first-child,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider > .row:nth-child(2) .col:first-child {
    grid-column: 2 / span 2;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider .button,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 5px !important;
    font-size: 11px !important;
    text-align: center !important;
  }

  .single-product .custom-product-page .detalles-producto {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .single-product .custom-product-page .detalles-producto > .col-inner {
    width: 100% !important;
    padding: 0 14px 24px !important;
    text-align: left !important;
  }

  .single-product .custom-product-page .detalles-producto .accordion {
    width: 100% !important;
    margin: 0 !important;
  }

  .single-product .custom-product-page .detalles-producto .accordion-title {
    display: none !important;
  }

  .single-product .custom-product-page .detalles-producto .accordion-inner {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 20px 4px 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .single-product .custom-product-page .detalles-producto .product-short-description,
  .single-product .custom-product-page .detalles-producto .woocommerce-tabs,
  .single-product .custom-product-page .detalles-producto .tab-panels,
  .single-product .custom-product-page .detalles-producto .panel {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  #main-menu .header-button-2,
  #main-menu .header-button-2 .header-button {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 12px 0 !important;
    padding: 0 18px !important;
    text-align: center !important;
  }

  #main-menu .header-button-2 .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 240px !important;
    margin: 0 auto !important;
  }

  #main-menu .header-button-2 .button span {
    width: 100% !important;
    text-align: center !important;
  }

  .an-mobile-buybar {
    z-index: 800 !important;
    transition: opacity .2s ease, transform .2s ease !important;
  }

  .an-mobile-buybar.is-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(115%) !important;
  }

  .single-product .an-whatsapp-link {
    bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  }

  .woocommerce-cart .an-whatsapp-link,
  .woocommerce-checkout .an-whatsapp-link {
    display: none !important;
  }

  .single-product .mp-credits-tooltip-container {
    box-sizing: border-box !important;
    padding-right: 10px !important;
    overflow: hidden !important;
  }

  .single-product .mp-credits-tooltip-text {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
    column-gap: 4px !important;
    white-space: normal !important;
  }

  .single-product .mp-credits-tooltip-text span {
    max-width: 100% !important;
    white-space: normal !important;
  }
}

/* Puntos de venta: directorio sobrio y funcional. */
.an-locator-page {
  width: min(1080px, calc(100% - 40px));
}

.an-locator-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--an-line);
}

.an-locator-head small {
  display: block;
  margin-bottom: 7px;
  color: var(--an-primary);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.an-locator-head h1 {
  margin: 0 0 10px;
  color: var(--an-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1;
}

.an-locator-head p {
  margin: 0;
  color: var(--an-muted);
  font-size: 15px;
}

.an-locator-head .button {
  flex: 0 0 auto;
  margin: 0;
}

.an-locator-list {
  padding: 0;
  border: 0;
  background: transparent;
}

.an-locator-list__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.an-locator-list__head h2 {
  margin: 0;
  color: var(--an-ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.an-locator-list__head p {
  margin: 0;
  color: var(--an-muted);
  font-size: 13px;
}

.an-locator-page .an-locator-legacy .nav {
  gap: 22px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--an-line);
}

.an-locator-page .an-locator-legacy .nav > li > a {
  min-height: 0;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0 !important;
  background: transparent;
  color: #6a645c;
  font-size: 13px;
}

.an-locator-page .an-locator-legacy .nav > li.active > a {
  border-color: var(--an-primary);
  background: transparent;
  color: var(--an-ink);
}

.an-locator-page .an-locator-legacy .panel ul {
  gap: 0 34px;
}

.an-locator-page .an-locator-legacy .panel li {
  position: relative;
  padding: 17px 0 17px 18px;
  border: 0;
  border-bottom: 1px solid var(--an-line);
  border-radius: 0 !important;
  background: transparent;
}

.an-locator-page .an-locator-legacy .panel li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--an-primary);
}

.an-locator-page .an-locator-legacy .panel li strong {
  display: inline;
  font-size: 13px;
}

.an-locator-page .an-locator-legacy .panel li em {
  display: block;
  margin-top: 3px;
  color: #71695f;
  font-size: 12px;
}

.an-locator-trade {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 22px 0;
  border-top: 1px solid var(--an-line);
  border-bottom: 1px solid var(--an-line);
}

.an-locator-trade strong,
.an-locator-trade span {
  display: block;
}

.an-locator-trade strong {
  margin-bottom: 3px;
  color: var(--an-ink);
  font-size: 15px;
}

.an-locator-trade span {
  color: var(--an-muted);
  font-size: 13px;
}

.an-locator-trade > a {
  flex: 0 0 auto;
  color: var(--an-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--an-primary);
  text-underline-offset: 4px;
}

/* Compra rápida de producto en mobile. */
.an-mobile-buybar {
  display: none;
}

@media only screen and (max-width: 48em) {
  .single-product .product-main {
    padding-top: 0 !important;
  }

  .single-product .product-main > .row {
    margin-top: 0;
  }

  .single-product .product-gallery,
  .single-product .product-images {
    margin-top: 0;
    margin-bottom: 18px;
  }

  .single-product .product-gallery .product-gallery-slider,
  .single-product .product-images .product-gallery-slider {
    margin-top: 0;
  }

  .single-product .product-info {
    padding-top: 4px;
  }

  .single-product .product-info .breadcrumbs {
    margin-bottom: 7px;
  }

  .single-product .product-info .price {
    margin: 13px 0;
  }

  .single-product .product-info form.cart {
    margin-top: 14px;
  }

  .single-product #wrapper {
    padding-bottom: 82px;
  }

  .an-mobile-buybar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(23,23,20,.1);
    background: rgba(255,255,255,.97);
    box-shadow: 0 -8px 24px rgba(24,22,18,.11);
    backdrop-filter: blur(12px);
  }

  .an-mobile-buybar__info {
    min-width: 0;
    flex: 1 1 auto;
  }

  .an-mobile-buybar__info small {
    display: block;
    overflow: hidden;
    margin-bottom: 2px;
    color: var(--an-muted);
    font-size: 10px;
    font-weight: 650;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .an-mobile-buybar__info .price,
  .an-mobile-buybar__info strong {
    display: block;
    margin: 0;
    color: var(--an-ink);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.2;
  }

  .an-mobile-buybar__info del {
    display: none;
  }

  .an-mobile-buybar__info ins {
    text-decoration: none;
  }

  .an-mobile-buybar__button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 154px;
    min-height: 48px;
    margin: 0;
    padding: 0 18px;
    border: 0;
    background: var(--an-ink) !important;
    color: #fff !important;
    font-size: 13px;
    line-height: 1 !important;
  }

  .an-locator-page {
    width: min(100% - 28px, 1080px);
    padding-top: 32px;
  }

  .an-locator-head,
  .an-locator-list__head,
  .an-locator-trade {
    align-items: flex-start;
    flex-direction: column;
  }

  .an-locator-head {
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 24px;
  }

  .an-locator-head h1 {
    font-size: 39px;
  }

  .an-locator-head .button {
    width: 100%;
  }

  .an-locator-list__head {
    gap: 5px;
  }

  .an-locator-page .an-locator-legacy .nav {
    gap: 20px;
  }

  .an-locator-page .an-locator-legacy .panel ul {
    grid-template-columns: 1fr;
  }

  .an-locator-trade {
    gap: 12px;
  }
}

@media only screen and (max-width: 370px) {
  .an-mobile-buybar__info small {
    display: none;
  }

  .an-mobile-buybar__button.button {
    min-width: 142px;
    padding-right: 14px;
    padding-left: 14px;
  }
}

/* Corrección definitiva mobile: orden ecommerce y home sin grillas apretadas. */
@media only screen and (max-width: 48em) {
  .single-product .custom-product-page > .section > .section-content > .row {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }

  .single-product .custom-product-page > .section > .section-content > .row > .col.show-for-small:has(.product-images) {
    order: 1 !important;
  }

  .single-product .custom-product-page > .section > .section-content > .row > .col.show-for-small:has(.product-title-container) {
    order: 2 !important;
  }

  .single-product .custom-product-page > .section > .section-content > .row > .col.detalles-producto {
    order: 3 !important;
  }

  .single-product .col.show-for-small:has(.product-title-container) > .col-inner > .row.row-collapse {
    display: block !important;
  }

  .single-product .col.show-for-small:has(.product-title-container) > .col-inner > .row.row-collapse > .col {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .single-product .col.show-for-small:has(.product-title-container) .product-title-container,
  .single-product .col.show-for-small:has(.product-title-container) .product-price-container {
    text-align: left !important;
  }

  .single-product .col.show-for-small:has(.product-title-container) .product-title {
    margin-bottom: 8px;
  }

  .single-product .col.show-for-small:has(.product-title-container) .product-page-price {
    display: block !important;
    margin: 0 0 14px !important;
    color: var(--an-ink) !important;
    font-size: 24px !important;
    line-height: 1.2;
    text-align: left !important;
  }

  .single-product .product-main > .row {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }

  .single-product .product-main .product-gallery,
  .single-product .product-main .product-images {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    float: none !important;
    margin: 0 0 16px !important;
  }

  .single-product .product-main .product-info,
  .single-product .product-main .product-info.summary {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    float: none !important;
    padding-top: 2px !important;
  }

  .single-product .product-gallery-slider,
  .single-product .product-gallery-slider .flickity-viewport {
    margin-top: 0 !important;
  }

  .single-product .product-gallery-slider .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
  }

  .home {
    overflow-x: hidden;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) {
    overflow: hidden;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .section-content {
    padding-top: 86px !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .section-content::before {
    content: "Elegí tu Ángel Negro" !important;
    top: 20px !important;
    right: 20px !important;
    left: 20px !important;
    font-size: 29px !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider-wrapper {
    margin: 0 0 24px !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-viewport {
    height: auto !important;
    overflow: visible !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider {
    position: static !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    overflow-x: auto !important;
    padding: 0 16px 8px !important;
    transform: none !important;
    scrollbar-width: none;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider::-webkit-scrollbar,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider::-webkit-scrollbar,
  .home .section.show-for-small .row:has(> .product-small)::-webkit-scrollbar {
    display: none;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider > .row,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider > .row {
    display: contents !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider .col {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider .button {
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: var(--an-radius) !important;
    font-size: 12px !important;
    line-height: 36px !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) h3 {
    margin: 28px 16px 10px !important;
    font-size: 24px !important;
    line-height: 1.15;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .is-divider {
    display: none;
  }

  .home .section.show-for-small .row:has(> .product-small) {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 4px 16px 18px !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .home .section.show-for-small .row:has(> .product-small) > .product-small {
    display: block !important;
    width: 72vw !important;
    max-width: 280px !important;
    flex: 0 0 72vw !important;
    padding: 0 !important;
    scroll-snap-align: start;
  }

  .home .section.show-for-small .row:has(> .product-small) > .product-small:nth-child(n+5) {
    display: none !important;
  }

  .home .section.show-for-small .product-small .box-text {
    padding: 16px !important;
  }

  .home .section.show-for-small .product-small .product-title a {
    min-height: 0;
    font-size: 15px;
  }

  .home .section.show-for-small .product-small .price {
    font-size: 17px;
  }

  .home .section.show-for-small .col:has(> .col-inner > h3):not(:has(.product-small)) {
    display: none !important;
  }

  .home #text-box-1735445140 {
    left: 50% !important;
    width: calc(100% - 28px) !important;
    max-width: 362px !important;
  }

  .home #text-box-1735445140 .text-inner {
    padding: 18px 12px !important;
  }

  .home #text-box-1735445140 p {
    margin-bottom: 8px;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .home #text-box-1735445140 h2 {
    margin: 0 0 14px !important;
    font-size: 27px !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }

  .home #text-box-1735445140 .button {
    min-height: 40px;
    margin: 4px 2px;
    padding: 0 13px;
    font-size: 11px;
  }
}

/* Páginas institucionales y comerciales 2026. */
.an-section-heading {
  margin-bottom: 24px;
}

.an-section-heading > small,
.an-awards-intro small,
.an-contact-card > small,
.an-pairing-panel small,
.an-offers-footer small {
  display: block;
  margin-bottom: 8px;
  color: var(--an-primary);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.an-section-heading h2,
.an-contact-card h2,
.an-pairing-panel h2,
.an-offers-footer h2 {
  margin: 0;
  color: var(--an-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.08;
}

/* Premios */
.an-awards-page .an-page-hero h1 {
  max-width: 720px;
  font-size: clamp(40px, 4.7vw, 66px);
}

.an-awards-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  margin: 0 0 22px;
}

.an-awards-intro p,
.an-awards-intro span {
  margin: 0;
}

.an-awards-intro p {
  color: var(--an-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.an-awards-intro span {
  max-width: 520px;
  color: var(--an-muted);
  font-size: 14px;
  line-height: 1.55;
}

.an-awards-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.an-award-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(24,22,18,.045);
}

.an-award-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.an-award-card__seal {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--an-paper);
}

.an-award-card__seal img {
  width: 112px;
  height: 98px;
  object-fit: contain;
}

.an-award-card small {
  display: block;
  margin-bottom: 7px;
  color: var(--an-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.an-award-card h2 {
  margin: 0 0 5px;
  color: var(--an-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.05;
}

.an-award-card p {
  margin: 0;
  color: var(--an-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.an-pairing-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  align-items: stretch;
  overflow: hidden;
  margin-top: 30px;
  border-radius: var(--an-radius);
  background: var(--an-ink);
  color: rgba(255,255,255,.74);
}

.an-pairing-panel > div:first-child {
  align-self: center;
  padding: clamp(32px, 5vw, 62px);
}

.an-pairing-panel h2 {
  color: #fff;
}

.an-pairing-panel p {
  margin: 16px 0 24px;
  line-height: 1.65;
}

.an-pairing-panel .button {
  margin: 0;
}

.an-pairing-panel__image img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

/* Puntos de venta */
.an-locator-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: -4px 0 30px;
}

.an-locator-actions .button {
  margin: 0;
}

.an-text-link {
  color: var(--an-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--an-primary);
  text-underline-offset: 4px;
}

.an-locator-card {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: var(--an-paper);
}

.an-locator-legacy > .section:first-child {
  display: none !important;
}

.an-locator-legacy > .section,
.an-locator-legacy > .section > .section-bg,
.an-locator-legacy > .section > .section-content {
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.an-locator-legacy .section-bg,
.an-locator-legacy .section-bg img,
.an-locator-legacy .section-bg-overlay {
  display: none !important;
}

.an-locator-legacy .row,
.an-locator-legacy .col,
.an-locator-legacy .col-inner {
  width: 100% !important;
  flex-basis: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.an-locator-legacy h2 {
  display: none;
}

.an-locator-legacy .nav {
  gap: 8px;
  margin: 0 0 22px;
}

.an-locator-legacy .nav > li {
  margin: 0;
}

.an-locator-legacy .nav > li > a {
  min-height: 40px;
  padding: 10px 15px;
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: #fff;
  color: #514b43;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}

.an-locator-legacy .nav > li.active > a {
  border-color: var(--an-primary);
  background: var(--an-primary);
  color: #fff;
}

.an-locator-legacy .tab-panels {
  padding: 0;
}

.an-locator-legacy .panel {
  padding: 0;
}

.an-locator-legacy .panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.an-locator-legacy .panel li {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: #fff;
  color: #554f47;
  font-size: 13px;
  line-height: 1.45;
}

.an-locator-legacy .panel li strong {
  display: block;
  color: var(--an-ink);
  font-weight: 700;
}

.an-locator-legacy .panel li em {
  color: var(--an-primary);
  font-style: normal;
}

/* Tienda y ofertas */
.an-commerce-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 34px;
}

.an-commerce-benefits span {
  min-height: 68px;
  padding: 15px 17px;
  border: 1px solid #cfe2d1;
  border-radius: var(--an-radius);
  background: #f2f8f2;
  color: #416147;
  font-size: 13px;
  line-height: 1.45;
}

.an-commerce-benefits b {
  display: block;
  color: #234e2d;
}

.an-shop-catalog,
.an-offers-catalog {
  padding-top: 4px;
}

.an-shop-page .an-page-hero,
.an-offers-page .an-page-hero {
  margin-bottom: 24px;
}

.an-shop-page .section,
.an-shop-page .section > .section-bg,
.an-shop-page .section > .section-content,
.an-offers-page .section,
.an-offers-page .section > .section-bg,
.an-offers-page .section > .section-content {
  padding: 0 !important;
  background: transparent !important;
}

.an-shop-page .row,
.an-offers-page .row {
  width: 100%;
  max-width: none;
}

.an-shop-page .nav-tabs,
.an-shop-page .nav-pills,
.an-shop-page .tabbed-content > .nav {
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 28px;
}

.an-shop-page .tabbed-content > .nav > li {
  margin: 0;
}

.an-shop-page .tabbed-content > .nav > li > a {
  min-height: 40px;
  padding: 10px 15px;
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: #fff;
  color: #4d4740;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.an-shop-page .tabbed-content > .nav > li.active > a {
  border-color: var(--an-ink);
  background: var(--an-ink);
  color: #fff;
}

.an-shop-page .tab-panels {
  padding: 0;
}

.an-shop-page .product-small,
.an-offers-page .product-small {
  padding: 0 8px 18px;
}

.an-offers-page {
  position: relative;
}

.an-commerce-benefits--offers span {
  border-color: #e3dac9;
  background: #faf6ed;
  color: #655844;
}

.an-commerce-benefits--offers b {
  color: #4a3921;
}

.an-offers-catalog > .an-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr);
  align-items: end;
  column-gap: 42px;
}

.an-offers-catalog > .an-section-heading small {
  grid-column: 1 / -1;
}

.an-offers-catalog > .an-section-heading p {
  margin: 0;
  color: var(--an-muted);
  font-size: 14px;
  line-height: 1.5;
}

.an-offers-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 12px;
  padding: 30px;
  border-radius: var(--an-radius);
  background: var(--an-ink);
}

.an-offers-footer h2 {
  color: #fff;
}

.an-offers-footer p {
  max-width: 620px;
  margin: 9px 0 0;
  color: rgba(255,255,255,.7);
}

.an-offers-footer .button {
  flex: 0 0 auto;
  margin: 0;
}

/* Contacto */
.an-contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: stretch;
}

.an-contact-card,
.an-contact-form {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--an-radius);
}

.an-contact-card {
  background: var(--an-ink);
  color: rgba(255,255,255,.72);
}

.an-contact-card h2 {
  color: #fff;
}

.an-contact-card > p {
  margin: 16px 0 26px;
  line-height: 1.6;
}

.an-contact-card > a,
.an-contact-card__location {
  display: block;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #fff;
}

.an-contact-card > a span,
.an-contact-card__location span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.52);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.an-contact-card > a b,
.an-contact-card__location b {
  font-size: 15px;
  font-weight: 650;
}

.an-contact-form {
  border: 1px solid var(--an-line);
  background: var(--an-paper);
}

.an-contact-form .wpcf7 p {
  margin-bottom: 13px;
}

.an-contact-form .wpcf7 label {
  display: block;
  margin: 0;
  color: transparent;
  font-size: 0;
}

.an-contact-form .wpcf7 input:not([type="submit"]),
.an-contact-form .wpcf7 textarea {
  width: 100%;
  margin: 0;
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: #fff;
  box-shadow: none;
  color: var(--an-ink);
  font-size: 14px;
}

.an-contact-form .wpcf7 input:not([type="submit"]) {
  height: 48px;
}

.an-contact-form .wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

.an-contact-form .wpcf7-submit {
  min-width: 150px;
  margin: 2px 0 0;
}

@media (max-width: 980px) {
  .an-award-card {
    grid-column: span 3;
  }

  .an-award-card:nth-child(4) {
    grid-column: span 3;
  }

  .an-award-card:nth-child(5) {
    grid-column: 2 / span 4;
  }
}

@media (max-width: 760px) {
  .an-awards-intro,
  .an-locator-actions,
  .an-offers-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .an-awards-intro {
    display: block;
  }

  .an-awards-intro span {
    display: block;
    margin-top: 8px;
  }

  .an-pairing-panel,
  .an-contact-layout {
    grid-template-columns: 1fr;
  }

  .an-pairing-panel__image {
    order: -1;
  }

  .an-pairing-panel__image img {
    min-height: 280px;
    max-height: 360px;
  }

  .an-commerce-benefits {
    grid-template-columns: 1fr;
  }

  .an-offers-catalog > .an-section-heading {
    grid-template-columns: 1fr;
  }

  .an-offers-catalog > .an-section-heading p {
    margin-top: 10px;
  }
}

@media (max-width: 549px) {
  .an-awards-page .an-page-hero h1,
  .an-shop-page .an-page-hero h1,
  .an-offers-page .an-page-hero h1,
  .an-contact-page .an-page-hero h1,
  .an-locator-page .an-page-hero h1 {
    font-size: 39px;
  }

  .an-awards-grid {
    grid-template-columns: 1fr;
  }

  .an-award-card,
  .an-award-card:nth-child(4),
  .an-award-card:nth-child(5) {
    grid-column: auto;
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 0;
    padding: 17px;
  }

  .an-award-card__seal {
    width: 92px;
    height: 92px;
  }

  .an-award-card__seal img {
    width: 88px;
    height: 78px;
  }

  .an-award-card h2 {
    font-size: 21px;
  }

  .an-locator-card,
  .an-contact-card,
  .an-contact-form {
    padding: 20px;
  }

  .an-locator-legacy .nav,
  .an-shop-page .tabbed-content > .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .an-locator-legacy .nav::-webkit-scrollbar,
  .an-shop-page .tabbed-content > .nav::-webkit-scrollbar {
    display: none;
  }

  .an-locator-legacy .nav > li > a,
  .an-shop-page .tabbed-content > .nav > li > a {
    white-space: nowrap;
  }

  .an-locator-legacy .panel ul {
    grid-template-columns: 1fr;
  }

  .an-commerce-benefits span {
    min-height: 0;
  }

  .an-offers-footer {
    padding: 24px 20px;
  }

  .an-offers-footer .button {
    width: 100%;
  }
}

/* Override definitivo: cabecera editorial de productos, sin tarjeta duplicada. */
.home .section:has(.tabbed-content),
.home .section:has(.tabbed-content) > .section-content,
.home #main .tabbed-content,
.home #main .tabbed-content > .tab-panels,
.home #tab_todos-los-productos {
  background: transparent !important;
}

.home #main .tabbed-content {
  position: relative;
  padding-top: 142px;
}

.home #main .tabbed-content::before {
  content: "Vinos para cada momento";
  inset: 24px 18px auto;
}

.home #main .tabbed-content::after {
  content: "Una selección de nuestros favoritos, elegidos para descubrir Ángel Negro.";
  position: absolute;
  top: 88px;
  right: 18px;
  left: 18px;
  display: block;
  margin: 0;
  color: var(--an-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.home #main .tabbed-content > .tab-panels::before {
  content: none !important;
  display: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* Home móvil de Flatsome: filtros claros y catálogo más corto. */
@media only screen and (max-width: 48em) {
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .section-content {
    padding-top: 92px;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .section-content::before {
    content: "Explorá la colección\A Elegí un estilo y encontrá tu próximo vino.";
    position: absolute;
    top: 16px;
    right: 18px;
    left: 18px;
    color: var(--an-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.08;
    text-align: center;
    white-space: pre-line;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider-wrapper {
    margin: 0 0 30px;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-viewport {
    height: auto !important;
    overflow: visible;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    height: auto !important;
    padding: 0 16px;
    transform: none !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider > .row {
    position: static !important;
    display: contents;
    width: auto !important;
    transform: none !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider > .row {
    position: relative !important;
    left: auto !important;
    display: flex !important;
    width: 100% !important;
    margin: 0 auto 9px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider .col {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto;
    padding: 0;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider .button {
    width: auto;
    min-height: 42px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid var(--an-line);
    background: #fff !important;
    color: var(--an-ink) !important;
    line-height: 40px;
    white-space: nowrap;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-button,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-page-dots {
    display: none !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) h3 {
    margin-top: 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 500;
    letter-spacing: -.02em;
    text-transform: none;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .row > .product:nth-child(n+5) {
    display: none !important;
  }
}

/* Overrides finales frente a colores y mayúsculas guardados en el Customizer. */
.single-product .product-info .single_add_to_cart_button.button,
.woocommerce-checkout #place_order.button {
  background: var(--an-ink) !important;
  color: #fff !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-billing-fields h3::after {
  text-transform: none !important;
}

/* Pulido visual solicitado: header, catálogo, ficha, carrito y checkout. */
.header-button-1 .header-button .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0;
  padding: 0 20px;
  line-height: 1 !important;
}

.header-button-1 .header-button .button span {
  display: block;
  padding: 0;
  line-height: 1;
}

.home #main .tabbed-content > .tab-panels::before {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  max-width: 720px;
  margin-bottom: 38px;
  padding: 17px 24px;
  border: 1px solid var(--an-line);
  border-radius: 14px;
  background: #f7f4ee;
  line-height: 1.5;
}

.product-small .box-text .price-wrapper {
  min-height: 34px;
  margin: 8px 0 18px;
}

.product-small .box-text .price-wrapper .price {
  margin: 0;
  line-height: 1.35;
}

.single-product .product-title {
  max-width: 680px;
  font-size: clamp(28px, 2.7vw, 36px);
  line-height: 1.1;
}

.single-product form.cart {
  gap: 12px;
  margin-top: 18px;
}

.single-product form.cart .quantity {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  border-radius: 11px;
  background: #fff;
}

.single-product form.cart .quantity .button,
.single-product form.cart .quantity .qty {
  min-height: 48px;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
  line-height: 48px;
}

.single-product .single_add_to_cart_button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  line-height: 1.15 !important;
}

.single-product .mp-credits-tooltip-container {
  box-sizing: border-box;
  margin-bottom: 20px !important;
  padding: 12px 14px !important;
  border: 1px solid #dce6ef;
  border-radius: 11px;
  background: #f5f9fc;
}

.single-product .icon-box:has(span[style*="#00a650"]) {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid #b9dfc5;
  border-radius: 12px;
  background: #edf8f0;
}

.single-product .icon-box:has(span[style*="#00a650"]) p,
.single-product .icon-box:has(span[style*="#00a650"]) span {
  margin: 0;
  color: #176b36 !important;
  font-weight: 650;
}

.an-shipping-progress {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid #b9dfc5;
  border-radius: 14px;
  background: #edf8f0;
  color: #154d29;
}

.an-shipping-progress strong,
.an-shipping-progress small {
  display: block;
}

.an-shipping-progress strong {
  font-size: 16px;
}

.an-shipping-progress small {
  margin-top: 3px;
  color: #426a4e;
  font-size: 13px;
}

.an-shipping-progress__track {
  display: block;
  overflow: hidden;
  height: 7px;
  margin-top: 13px;
  border-radius: 999px;
  background: #d5e9db;
}

.an-shipping-progress__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #23824a;
  transition: width .3s ease;
}

.woocommerce-checkout .woocommerce-billing-fields {
  padding-top: 0;
  border-top: 0;
}

.woocommerce-checkout .woocommerce-billing-fields h3 {
  margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-billing-fields form.checkout_coupon {
  max-width: none;
  margin: 0 0 26px;
  background: var(--an-paper);
}

.woocommerce-checkout .col-inner.is-well,
.woocommerce-checkout .checkout-sidebar,
.woocommerce-checkout .checkout-sidebar .is-well {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media only screen and (max-width: 48em) {
  .home #main .tabbed-content > .tab-panels::before {
    margin-right: 16px;
    margin-left: 16px;
    padding: 15px 18px;
  }

  .single-product .product-title {
    font-size: 29px;
  }

  .single-product form.cart .quantity {
    flex: 0 0 116px;
  }

  .single-product .single_add_to_cart_button.button {
    min-width: 0;
    padding-right: 18px;
    padding-left: 18px;
  }

  .woocommerce-checkout .woocommerce-billing-fields form.checkout_coupon {
    margin-bottom: 22px;
  }
}

/* Home: título y subtítulo como una sola cabecera editorial, sin bloque blanco. */
.home #main .tabbed-content {
  padding-top: 142px;
  background: transparent !important;
}

.home #main .tabbed-content::before {
  inset: 24px 18px auto;
}

.home #main .tabbed-content::after {
  content: "Una selección de nuestros favoritos, elegidos para descubrir Ángel Negro.";
  position: absolute;
  top: 88px;
  right: 18px;
  left: 18px;
  display: block;
  margin: 0;
  color: var(--an-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.home #main .tabbed-content > .tab-panels,
.home #tab_todos-los-productos {
  background: transparent !important;
}

.home #main .tabbed-content > .tab-panels::before {
  content: none;
  display: none;
}

/* Home header: título y bajada en capas separadas. */
.home #main .tabbed-content {
  padding-top: 100px;
}

.home #main .tabbed-content::before {
  content: "Vinos para cada momento";
  inset: 24px 15px auto;
  font-size: clamp(34px, 4vw, 50px);
  white-space: normal;
}

.home #main .tabbed-content > .tab-panels {
  padding-top: 0;
  border: 0 !important;
}

.home #main .tabbed-content > .tab-panels::before {
  content: "Una selección de nuestros favoritos, elegidos para descubrir Ángel Negro.";
  display: block;
  max-width: 680px;
  margin: 0 auto 34px;
  padding: 0 18px;
  color: var(--an-muted);
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

@media only screen and (max-width: 48em) {
  .home #main .tabbed-content {
    padding-top: 86px;
  }

  .home #main .tabbed-content::before {
    inset: 18px 18px auto;
    font-size: 32px;
  }

  .home #main .tabbed-content > .tab-panels::before {
    margin-bottom: 22px;
    font-size: 14px;
  }
}

/* Jerarquía y legibilidad general de tienda. */
.product-small .product-title a,
.woocommerce-loop-product__title {
  color: var(--an-ink);
  font-weight: 600;
  line-height: 1.3;
}

.product-small .price,
.product-info .price {
  color: var(--an-ink);
  font-weight: 700;
}

.badge-inner.on-sale {
  background: var(--an-ink);
  color: #fff;
}

.button.primary,
.single_add_to_cart_button,
#place_order {
  min-height: 46px;
  letter-spacing: .04em;
}

/* Checkout: visual más enfocado, cercano al patrón de Shopify. */
.woocommerce-checkout .top-bar,
.woocommerce-checkout #wide-nav,
.woocommerce-checkout .absolute-footer,
.woocommerce-checkout .joinchat,
.woocommerce-checkout .joinchat__button,
.woocommerce-checkout .tawk-min-container {
  display: none !important;
}

.woocommerce-checkout .header-main {
  border-bottom: 1px solid var(--an-line);
  box-shadow: none;
}

.woocommerce-checkout .checkout-page-title {
  padding-bottom: 8px;
}

.woocommerce-checkout .checkout-page-title .breadcrumbs {
  font-size: 13px;
}

.an-checkout-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid var(--an-line);
  border-radius: 10px;
  background: var(--an-ivory);
}

.an-checkout-trust span,
.an-checkout-trust small {
  display: block;
}

.an-checkout-trust strong {
  color: var(--an-ink);
  font-size: 13px;
}

.an-checkout-trust small {
  margin-top: 2px;
  color: #675f53;
  font-size: 12px;
  line-height: 1.35;
}

.woocommerce-checkout #order_review {
  position: sticky;
  top: 24px;
  border: 1px solid var(--an-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(23, 23, 20, .07);
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection {
  min-height: 48px;
  border-radius: 7px;
}

.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 52px;
  border-radius: 7px;
  background: var(--an-ink);
  font-size: 15px;
}

.woocommerce-checkout #place_order:hover {
  background: #2c2b27;
}

.an-checkout-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.an-checkout-thumb {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid var(--an-line);
  border-radius: 7px;
  object-fit: cover;
}

.woocommerce-form-coupon-toggle {
  font-size: 13px;
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

  .product-small .box-text {
    padding: 12px 8px 16px;
  }

  .product-small .product-title a {
    display: -webkit-box;
    min-height: 2.6em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
  }

  .product-small .button,
  .product-small .add-to-cart-button a {
    width: 100%;
    min-height: 44px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 8px;
    padding-right: 8px;
  }

  .joinchat {
    --bottom: 76px;
  }

  .joinchat__button {
    transform: scale(.88);
    transform-origin: bottom right;
  }

  .an-checkout-trust {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
    padding: 14px;
  }

  .woocommerce-checkout #order_review {
    position: static;
    border-radius: 9px;
  }

  .woocommerce-checkout input.input-text,
  .woocommerce-checkout select,
  .woocommerce-checkout .select2-selection {
    min-height: 50px;
    font-size: 16px;
  }

  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    width: 100%;
    float: none;
  }

  .woocommerce-checkout #place_order {
    position: sticky;
    bottom: 10px;
    z-index: 20;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  }


}

/* Ajustes finales de cascada para conservar el rediseño sobre reglas legacy. */

/* Ficha de producto: navegación, galería y contenido editorial. */
.single-product .breadcrumbs {
  display: block;
  width: auto;
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8a8379;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.4;
  text-transform: none;
}

.single-product .breadcrumbs a {
  color: #746d63;
  font-weight: 500;
}

.single-product .an-original-breadcrumb {
  display: none !important;
}

.single-product .woocommerce-tabs {
  margin-top: 24px;
  padding: 30px 34px;
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: #fff;
  box-shadow: 0 10px 32px rgba(24, 22, 18, .05);
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel:last-child {
  margin-bottom: 0;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
  border: 0 !important;
}

.single-product .product-gallery-slider .woocommerce-product-gallery__image img {
  border-radius: var(--an-radius);
  object-fit: contain;
}

.single-product .product-gallery-slider .flickity-prev-next-button {
  opacity: 1;
}

.an-wine-story {
  padding-top: 4px;
}

.an-wine-intro {
  max-width: 780px;
  margin-bottom: 22px;
}

.an-wine-intro small,
.an-wine-guide__item small {
  display: block;
  margin-bottom: 7px;
  color: var(--an-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.an-wine-intro p {
  margin: 0;
  color: var(--an-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.35;
}

.an-wine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.an-wine-tags span {
  padding: 7px 10px;
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: var(--an-paper);
  color: #575149;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.an-wine-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(190px, .7fr);
  align-items: stretch;
  gap: 28px;
}

.an-wine-copy > small,
.an-wine-fact small {
  display: block;
  margin-bottom: 8px;
  color: var(--an-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.an-wine-copy p {
  margin-bottom: 0;
  color: #3e3a34;
  font-size: 16px;
  line-height: 1.75;
}

.an-wine-fact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: var(--an-paper);
}

.an-wine-fact strong {
  color: var(--an-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
}

.an-wine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.an-wine-tags span {
  padding: 7px 11px;
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: var(--an-paper);
  color: #514c45;
  font-size: 12px;
  font-weight: 650;
}

.an-wine-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 32px;
  align-items: start;
}

.an-wine-copy > small,
.an-wine-fact small {
  display: block;
  margin-bottom: 8px;
  color: var(--an-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.an-wine-copy p {
  margin: 0;
  color: #3d3934;
  font-size: 16px;
  line-height: 1.75;
}

.an-wine-fact {
  padding: 18px;
  border-radius: var(--an-radius);
  background: var(--an-paper);
}

.an-wine-fact strong {
  display: block;
  color: var(--an-ink);
  font-size: 16px;
  line-height: 1.35;
}

.an-wine-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.an-wine-guide__item,
.an-wine-guide .an-wine-fact {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: var(--an-paper);
}

.an-wine-guide .an-wine-fact {
  justify-content: flex-start;
}

.an-wine-guide__item p {
  margin: 0;
  color: #3d3934;
  font-size: 14px;
  line-height: 1.55;
}

/* Páginas editoriales: colección y carta de tragos. */
.an-editorial-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.an-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 34px;
  padding: 0 0 34px;
  border-bottom: 1px solid var(--an-line);
}

.an-page-hero small,
.an-wine-card__body > small,
.an-cocktail-card__body > small,
.an-collection-cta > small {
  display: block;
  margin-bottom: 9px;
  color: var(--an-primary);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.an-page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--an-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.2vw, 74px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}

.an-page-hero > p {
  margin: 0;
  color: #59534b;
  font-size: 16px;
  line-height: 1.65;
}

.an-page-jump,
.an-cocktail-note {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 32px;
}

.an-page-jump a,
.an-cocktail-note span {
  padding: 9px 13px;
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: #fff;
  color: #4a453f;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.an-page-jump a:hover {
  border-color: var(--an-primary);
  color: var(--an-primary);
}

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

.an-wine-card {
  overflow: hidden;
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: #fff;
  box-shadow: 0 12px 36px rgba(24, 22, 18, .055);
}

.an-wine-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--an-paper);
}

.an-wine-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.an-wine-card:hover .an-wine-card__image img {
  transform: scale(1.025);
}

.an-wine-card__body {
  padding: 26px;
}

.an-wine-card h2,
.an-cocktail-card h2,
.an-collection-cta h2 {
  margin: 0 0 11px;
  color: var(--an-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.08;
}

.an-wine-card p {
  min-height: 52px;
  margin: 0 0 22px;
  color: #5b554e;
  line-height: 1.6;
}

.an-wine-card .button,
.an-collection-cta .button {
  margin: 0;
}

.an-anchor-offset {
  position: relative;
  top: -120px;
}

.an-collection-cta {
  margin-top: 28px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--an-radius);
  background: var(--an-ink);
  color: rgba(255,255,255,.76);
}

.an-collection-cta h2 {
  color: #fff;
}

.an-collection-cta p {
  max-width: 680px;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.65;
}

.an-collection-cta .button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  background-color: var(--an-primary) !important;
  color: #fff !important;
}

.an-cocktail-note span {
  background: var(--an-paper);
}

.an-cocktails-page .an-page-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: 48px;
  margin-bottom: 30px;
}

.an-cocktails-page .an-page-hero h1 {
  max-width: 620px;
  font-size: clamp(38px, 4vw, 56px);
  letter-spacing: -.025em;
  line-height: 1.02;
}

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

.an-cocktail-card {
  overflow: hidden;
  border: 1px solid var(--an-line);
  border-radius: var(--an-radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 22, 18, .05);
}

.an-cocktail-card__image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #f5f2ed;
}

.an-cocktail-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.an-cocktail-card:hover .an-cocktail-card__image img {
  transform: scale(1.035);
}

.an-cocktail-card__body {
  padding: 21px;
}

.an-cocktail-card h2 {
  margin-bottom: 13px;
  font-size: 29px;
}

.an-cocktail-ingredients {
  min-height: 92px;
  margin: 0 0 18px;
  color: #5b554e;
  font-size: 13px;
  line-height: 1.55;
}

.an-cocktail-card details {
  border-top: 1px solid var(--an-line);
}

.an-cocktail-card summary {
  position: relative;
  padding: 15px 24px 2px 0;
  color: var(--an-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.an-cocktail-card summary::-webkit-details-marker {
  display: none;
}

.an-cocktail-card summary::after {
  content: "+";
  position: absolute;
  top: 12px;
  right: 0;
  color: var(--an-primary);
  font-size: 21px;
  font-weight: 400;
}

.an-cocktail-card details[open] summary::after {
  content: "−";
}

.an-cocktail-card details p {
  margin: 12px 0 2px;
  color: #5b554e;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .an-cocktail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 549px) {
  .an-editorial-page {
    width: min(100% - 28px, 1180px);
    padding: 34px 0 52px;
  }

  .an-page-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 22px;
    padding-bottom: 24px;
  }

  .an-page-hero h1 {
    font-size: 43px;
  }

  .an-wine-grid,
  .an-cocktail-grid {
    grid-template-columns: 1fr;
  }

  .an-wine-card__body,
  .an-cocktail-card__body {
    padding: 20px;
  }

  .an-wine-card p,
  .an-cocktail-ingredients {
    min-height: 0;
  }

  .an-cocktails-page .an-page-hero h1 {
    font-size: 39px;
  }
}

@media only screen and (max-width: 48em) {
  .single-product .breadcrumbs {
    margin: 0 0 8px;
    font-size: 10px;
  }

  .single-product .woocommerce-tabs {
    margin: 18px 12px 0;
    padding: 24px 20px;
  }

  .an-wine-story__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .an-wine-guide {
    grid-template-columns: 1fr;
  }
}

/* Sistema de radios: 12 px en controles y superficies principales. */
:root {
  --an-radius: 12px;
}

.button:not(.ux-quantity__button),
button:not(.ux-quantity__button),
input[type="submit"],
.single_add_to_cart_button,
.add_to_cart_button,
.header-button .button,
.product-small > .col-inner,
.product-small .box-image,
.single-product .product-gallery,
.single-product .product-images,
.single-product form.cart .quantity,
.single-product .mp-credits-tooltip-container,
.single-product .icon-box:has(span[style*="#00a650"]),
.an-shipping-progress,
.woocommerce-checkout .an-checkout-trust,
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout form.checkout > .row,
.woocommerce-checkout .wc_payment_method,
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection {
  border-radius: var(--an-radius) !important;
}

.product-small .box-image {
  border-radius: var(--an-radius) var(--an-radius) 0 0 !important;
}

.single-product .mp-credits-tooltip-container,
.single-product .icon-box:has(span[style*="#00a650"]) {
  width: 100%;
  min-height: 58px;
  margin: 12px 0 0 !important;
  font-size: 14px !important;
  line-height: 1.4;
}

.single-product .mp-credits-tooltip-text,
.single-product .mp-credits-tooltip-text span,
.single-product .icon-box:has(span[style*="#00a650"]) p,
.single-product .icon-box:has(span[style*="#00a650"]) span {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.single-product .product-info form.cart {
  margin-bottom: 0;
}

/* Cabecera editorial de productos, sin tarjeta ni subtítulo duplicado. */
.home .section:has(.tabbed-content),
.home .section:has(.tabbed-content) > .section-content,
.home #main .tabbed-content,
.home #main .tabbed-content > .tab-panels,
.home #tab_todos-los-productos {
  background: transparent !important;
}

.home #main .tabbed-content {
  position: relative;
  padding-top: 142px;
}

.home #main .tabbed-content::before {
  content: "Vinos para cada momento";
  inset: 24px 18px auto;
}

.home #main .tabbed-content::after {
  content: "Una selección de nuestros favoritos, elegidos para descubrir Ángel Negro.";
  position: absolute;
  top: 88px;
  right: 18px;
  left: 18px;
  display: block;
  margin: 0;
  color: var(--an-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.home #main .tabbed-content > .tab-panels::before {
  content: none !important;
  display: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.button.primary,
.single_add_to_cart_button,
#place_order {
  letter-spacing: .01em !important;
  text-transform: none;
}

.woocommerce-checkout .an-checkout-trust {
  max-width: 980px;
  margin: 0 auto 28px;
  padding: 16px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--an-paper);
}

.woocommerce-checkout #order_review {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection {
  border-radius: 10px;
}

.woocommerce-checkout .an-checkout-thumb {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  border-radius: 10px;
  background: var(--an-soft);
}

@media only screen and (max-width: 48em) {
  .product-small .box-text {
    padding: 14px 12px 16px;
  }

  .woocommerce-checkout .an-checkout-trust {
    margin-bottom: 16px;
    padding: 14px;
  }

  .woocommerce-checkout #order_review {
    position: static;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .woocommerce-checkout #place_order {
    bottom: 12px;
  }
}

/* Guardas finales mobile para paneles dinámicos de WooCommerce. */
@media only screen and (max-width: 48em) {
  .an-mobile-buybar {
    z-index: 800 !important;
    transition: opacity .2s ease, transform .2s ease !important;
  }

  .an-mobile-buybar.is-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(115%) !important;
  }

  .single-product .mp-credits-tooltip-container {
    box-sizing: border-box !important;
    padding-right: 10px !important;
    overflow: hidden !important;
  }

  .single-product .mp-credits-tooltip-text {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
    column-gap: 4px !important;
    white-space: normal !important;
  }

  .single-product .mp-credits-tooltip-text span {
    max-width: 100% !important;
    white-space: normal !important;
  }

  #main-menu .header-button-2,
  #main-menu .header-button-2 .header-button {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    padding-right: 18px !important;
    padding-left: 18px !important;
    text-align: center !important;
  }

  #main-menu .header-button-2 .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 240px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .woocommerce-cart .an-whatsapp-link,
  .woocommerce-checkout .an-whatsapp-link {
    display: none !important;
  }
}

/* Selector de categorías y acceso de cuenta mobile. */
@media only screen and (max-width: 48em) {
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider-wrapper {
    position: relative !important;
    overflow: hidden !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-viewport {
    height: auto !important;
    overflow: visible !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider {
    position: static !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 42px 10px 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    transform: none !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider::-webkit-scrollbar,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider::-webkit-scrollbar {
    display: none !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider > .row,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider > .row {
    display: contents !important;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider .col,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider .col {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    scroll-snap-align: start;
  }

  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .slider .button,
  .home .section.show-for-small:has(.slider-wrapper a[href^="#"]) .flickity-slider .button {
    width: auto !important;
    min-width: max-content !important;
    padding: 0 14px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }

  #main-menu .an-mobile-account {
    margin: 4px 18px 18px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  #main-menu .an-mobile-account > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    padding: 0 16px !important;
    border: 1px solid rgba(23,23,20,.18);
    border-radius: var(--an-radius, 12px);
    color: var(--an-ink, #171714) !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: .02em;
    text-align: center;
    text-transform: none !important;
  }

  #main-menu .an-mobile-account .icon-user {
    font-size: 18px;
  }

  .home #text-box-1209558970 .text-inner > a.button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(100%, 230px) !important;
    min-height: 46px;
    margin: 8px auto !important;
    text-align: center !important;
  }

  .home #text-box-1209558970 .text-inner > a.button span {
    width: 100%;
    text-align: center;
  }
}

/* Carta de tragos: composición editorial específica para teléfonos. */
@media only screen and (max-width: 549px) {
  .an-cocktails-page.an-editorial-page {
    width: 100% !important;
    padding: 28px 14px 48px !important;
    overflow: hidden;
  }

  .an-cocktails-page .an-page-hero {
    display: block !important;
    width: 100% !important;
    margin: 0 0 20px !important;
    padding: 0 2px 22px !important;
  }

  .an-cocktails-page .an-page-hero > div,
  .an-cocktails-page .an-page-hero > p {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .an-cocktails-page .an-page-hero small {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .an-cocktails-page .an-page-hero h1 {
    max-width: none !important;
    margin: 0 !important;
    font-size: clamp(25px, 7.4vw, 29px) !important;
    letter-spacing: -.04em !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }

  .an-cocktails-page .an-page-hero > p {
    margin-top: 16px !important;
    max-width: calc(100vw - 32px) !important;
    color: #625c54;
    font-size: 14px !important;
    line-height: 1.55 !important;
    white-space: normal !important;
    overflow-wrap: break-word;
  }

  .an-cocktails-page .an-cocktail-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .an-cocktails-page .an-cocktail-card {
    width: 100% !important;
    min-width: 0 !important;
    border-radius: var(--an-radius, 12px) !important;
    box-shadow: 0 8px 24px rgba(24,22,18,.06) !important;
  }

  .an-cocktails-page .an-cocktail-card__image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    background: #f5f2ed !important;
  }

  .an-cocktails-page .an-cocktail-card__image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .an-cocktails-page .an-cocktail-card__body {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 18px 18px 16px !important;
  }

  .an-cocktails-page .an-cocktail-card__body > small {
    margin-bottom: 5px !important;
    font-size: 9px !important;
  }

  .an-cocktails-page .an-cocktail-card h2 {
    margin: 0 0 9px !important;
    font-size: 27px !important;
    line-height: 1.05 !important;
  }

  .an-cocktails-page .an-cocktail-ingredients {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 14px !important;
    color: #5b554e;
    font-size: 12px !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
  }

  .an-cocktails-page .an-cocktail-card summary {
    padding: 14px 28px 2px 0 !important;
    font-size: 12px !important;
  }

  .an-cocktails-page .an-cocktail-card details p {
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  .an-cocktails-page .an-collection-cta {
    margin-top: 18px !important;
    padding: 28px 22px !important;
  }

  .an-cocktails-page .an-collection-cta h2 {
    font-size: 31px !important;
  }

  .an-cocktails-page .an-collection-cta p {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .an-cocktails-page .an-collection-cta .button {
    width: 100% !important;
    justify-content: center !important;
  }
}
