/**
 * Fomo/refresh · identidad FOMO para toda la tienda (solo diseño visual).
 *
 * - Se carga DESPUES de css/fomo.css desde Magento_Theme/layout/default.xml.
 * - fomo.css queda limitado a .fomo-home; este archivo estiliza selectores existentes de Magento/Breeze.
 * - No toca logica, JS, carrito, minicart ni formularios: solo apariencia.
 * - El checkout se excluye: todas las reglas llevan body:not(.checkout-index-index).
 * - Producto -> .catalog-product-view · Categoria -> .catalog-category-view.
 * - Sin recursos externos (sin url(), sin @import, sin fuentes remotas).
 * - TODO Magento: contrastar cada selector contra el HTML real de Breeze en el servidor.
 */

/* ---------- Variables FOMO (con prefijo para no pisar las de Breeze) ---------- */
:root {
  --fomo-ink: #12282a;
  --fomo-cream: #fdf3dc;
  --fomo-paper: #fffaf0;
  --fomo-butter: #fbe7a1;
  --fomo-coral: #ec5a45;
  --fomo-coral-dark: #c94433;
  --fomo-sky: #d6ecf7;
  --fomo-muted: #5b6b6a;
  --fomo-white: #ffffff;
  --fomo-font: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --fomo-font-display: "Arial Black", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --fomo-r-sm: 12px;
  --fomo-r-md: 20px;
  --fomo-r-pill: 999px;
  --fomo-border: 2.5px solid var(--fomo-ink);
  --fomo-shadow: 0 4px 0 var(--fomo-ink);
}

/* ====================================================================
   1. HEADER GLOBAL: logo, buscador, iconos, navegacion, sticky
   ==================================================================== */
body:not(.checkout-index-index) .page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--fomo-cream);
  border-bottom: var(--fomo-border);
  font-family: var(--fomo-font);
}

body:not(.checkout-index-index) .page-header .header.content {
  align-items: center;
  gap: 0.75rem 1.25rem;
}

body:not(.checkout-index-index) .page-header .logo {
  display: inline-flex;
  align-items: center;
  margin: 0.4rem 0;
}

body:not(.checkout-index-index) .page-header .logo img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 100%;
}

/* Buscador */
body:not(.checkout-index-index) .page-header .block-search .control input[type="text"],
body:not(.checkout-index-index) .page-header .block-search .control input[type="search"],
body:not(.checkout-index-index) .page-header .block-search input.input-text {
  background: var(--fomo-white);
  color: var(--fomo-ink);
  border: var(--fomo-border);
  border-radius: var(--fomo-r-pill);
  padding: 0.6rem 1.1rem;
  font-family: var(--fomo-font);
}

body:not(.checkout-index-index) .page-header .block-search input:focus {
  outline: 3px solid var(--fomo-coral);
  outline-offset: 2px;
}

body:not(.checkout-index-index) .page-header .block-search .action.search {
  color: var(--fomo-ink);
}

/* Iconos (minicart, cuenta, links) */
body:not(.checkout-index-index) .page-header .minicart-wrapper .action.showcart,
body:not(.checkout-index-index) .page-header .header.links a {
  color: var(--fomo-ink);
  font-weight: 700;
}

body:not(.checkout-index-index) .page-header .minicart-wrapper .action.showcart:hover,
body:not(.checkout-index-index) .page-header .header.links a:hover {
  color: var(--fomo-coral);
}

body:not(.checkout-index-index) .page-header .counter.qty {
  background: var(--fomo-coral);
  color: var(--fomo-white);
  border-radius: var(--fomo-r-pill);
  font-weight: 800;
}

/* Navegacion */
body:not(.checkout-index-index) .nav-sections,
body:not(.checkout-index-index) .navigation {
  background: var(--fomo-cream);
  font-family: var(--fomo-font);
}

body:not(.checkout-index-index) .navigation .level0 > a,
body:not(.checkout-index-index) .navigation a.level-top {
  color: var(--fomo-ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--fomo-r-pill);
}

body:not(.checkout-index-index) .navigation .level0:hover > a,
body:not(.checkout-index-index) .navigation .level0.active > a,
body:not(.checkout-index-index) .navigation a.level-top:hover {
  background: var(--fomo-butter);
  color: var(--fomo-ink);
}

body:not(.checkout-index-index) .navigation .submenu,
body:not(.checkout-index-index) .navigation ul.submenu {
  background: var(--fomo-paper);
  border: var(--fomo-border);
  border-radius: var(--fomo-r-md);
}

/* ====================================================================
   2. FOOTER GLOBAL
   ==================================================================== */
body:not(.checkout-index-index) .page-footer {
  background: var(--fomo-ink);
  color: var(--fomo-cream);
  font-family: var(--fomo-font);
  border-top: 6px solid var(--fomo-coral);
}

body:not(.checkout-index-index) .page-footer a {
  color: var(--fomo-butter);
}

body:not(.checkout-index-index) .page-footer a:hover,
body:not(.checkout-index-index) .page-footer a:focus-visible {
  color: var(--fomo-white);
  text-decoration: underline;
}

body:not(.checkout-index-index) .page-footer .copyright {
  color: var(--fomo-sky);
}

/* ====================================================================
   3. BREADCRUMBS
   ==================================================================== */
body:not(.checkout-index-index) .breadcrumbs {
  font-family: var(--fomo-font);
  font-weight: 600;
  color: var(--fomo-muted);
}

body:not(.checkout-index-index) .breadcrumbs a {
  color: var(--fomo-ink);
}

body:not(.checkout-index-index) .breadcrumbs a:hover {
  color: var(--fomo-coral);
}

body:not(.checkout-index-index) .breadcrumbs .item:last-child {
  color: var(--fomo-coral);
  font-weight: 800;
}

/* ====================================================================
   4. CATEGORIAS Y GRIDS DE PRODUCTO (.catalog-category-view)
   ==================================================================== */
.catalog-category-view .page-title {
  font-family: var(--fomo-font-display);
  color: var(--fomo-ink);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.catalog-category-view .category-description,
.catalog-category-view .toolbar {
  font-family: var(--fomo-font);
  color: var(--fomo-muted);
}

.catalog-category-view .toolbar select {
  border: var(--fomo-border);
  border-radius: var(--fomo-r-pill);
  background-color: var(--fomo-white);
  color: var(--fomo-ink);
}

.catalog-category-view .products-grid .product-items {
  gap: 1.25rem;
}

/* ====================================================================
   5. CARDS DE CATALOGO: imagen, nombre, precio, badge de stock, CTA
   ==================================================================== */
.catalog-category-view .product-item-info {
  background: var(--fomo-paper);
  border: var(--fomo-border);
  border-radius: var(--fomo-r-md);
  box-shadow: var(--fomo-shadow);
  padding: 1rem;
  font-family: var(--fomo-font);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-category-view .product-item-info:hover,
.catalog-category-view .product-item-info:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 var(--fomo-ink);
}

.catalog-category-view .product-image-container,
.catalog-category-view .product-item-photo {
  background: var(--fomo-butter);
  border-radius: var(--fomo-r-sm);
}

.catalog-category-view .product-item-photo img,
.catalog-category-view .product-image-photo {
  object-fit: contain;
}

.catalog-category-view .product-item-name,
.catalog-category-view .product-item-link {
  font-family: var(--fomo-font-display);
  color: var(--fomo-ink);
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.2;
}

.catalog-category-view .product-item-link:hover {
  color: var(--fomo-coral);
}

.catalog-category-view .price-box .price {
  color: var(--fomo-coral);
  font-weight: 800;
}

.catalog-category-view .stock.unavailable,
.catalog-category-view .product-item .stock {
  display: inline-block;
  background: var(--fomo-sky);
  color: var(--fomo-ink);
  border: 2px solid var(--fomo-ink);
  border-radius: var(--fomo-r-pill);
  padding: 0.15rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-category-view .product-item .action.tocart {
  width: auto;
}

/* ====================================================================
   6. FICHA DE PRODUCTO (.catalog-product-view)
   ==================================================================== */
.catalog-product-view .product.media {
  background: var(--fomo-butter);
  border: var(--fomo-border);
  border-radius: var(--fomo-r-md);
  padding: 1rem;
}

.catalog-product-view .gallery-placeholder img,
.catalog-product-view .fotorama__img {
  object-fit: contain;
}

.catalog-product-view .page-title {
  font-family: var(--fomo-font-display);
  color: var(--fomo-ink);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.catalog-product-view .product-info-main {
  font-family: var(--fomo-font);
  color: var(--fomo-ink);
}

.catalog-product-view .product-info-main .price-box .price {
  color: var(--fomo-coral);
  font-weight: 800;
}

.catalog-product-view .product.attribute.sku {
  color: var(--fomo-muted);
  font-weight: 600;
}

.catalog-product-view .product.attribute.sku .value {
  color: var(--fomo-ink);
  font-weight: 800;
}

.catalog-product-view .product-info-stock-sku .stock.available,
.catalog-product-view .product-info-main .stock {
  color: var(--fomo-ink);
  font-weight: 800;
  text-transform: uppercase;
}

/* Selector de cantidad */
.catalog-product-view .box-tocart .field.qty .input-text.qty,
.catalog-product-view .box-tocart input.qty {
  border: var(--fomo-border);
  border-radius: var(--fomo-r-pill);
  background: var(--fomo-white);
  color: var(--fomo-ink);
  font-weight: 800;
  text-align: center;
}

.catalog-product-view .box-tocart .field.qty .label {
  font-weight: 800;
  text-transform: uppercase;
}

/* Tabs / detalle */
.catalog-product-view .product.info.detailed {
  font-family: var(--fomo-font);
  color: var(--fomo-ink);
}

/* ====================================================================
   7. BOTONES GLOBALES Y ESTADOS hover / focus (sin checkout)
   ==================================================================== */
body:not(.checkout-index-index) .page-main .action.primary,
body:not(.checkout-index-index) .page-main .action.tocart,
body:not(.checkout-index-index) .page-main button.primary,
body:not(.checkout-index-index) #product-addtocart-button {
  background: var(--fomo-coral);
  color: var(--fomo-white);
  border: var(--fomo-border);
  border-radius: var(--fomo-r-pill);
  box-shadow: var(--fomo-shadow);
  font-family: var(--fomo-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

body:not(.checkout-index-index) .page-main .action.primary:hover,
body:not(.checkout-index-index) .page-main .action.tocart:hover,
body:not(.checkout-index-index) .page-main button.primary:hover,
body:not(.checkout-index-index) #product-addtocart-button:hover {
  background: var(--fomo-coral-dark);
  color: var(--fomo-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--fomo-ink);
}

body:not(.checkout-index-index) .page-main .action.primary:active,
body:not(.checkout-index-index) .page-main .action.tocart:active,
body:not(.checkout-index-index) #product-addtocart-button:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--fomo-ink);
}

body:not(.checkout-index-index) .page-main .action.primary:focus-visible,
body:not(.checkout-index-index) .page-main .action.tocart:focus-visible,
body:not(.checkout-index-index) #product-addtocart-button:focus-visible,
body:not(.checkout-index-index) .page-header a:focus-visible,
body:not(.checkout-index-index) .page-header button:focus-visible {
  outline: 3px solid var(--fomo-ink);
  outline-offset: 3px;
}

body:not(.checkout-index-index) .page-main .action.primary:disabled:not(.loading) {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ====================================================================
   8. MENSAJES DE EXITO / ERROR DE MAGENTO
   ==================================================================== */
body:not(.checkout-index-index) .page.messages .message,
body:not(.checkout-index-index) .messages .message {
  font-family: var(--fomo-font);
  font-weight: 700;
  color: var(--fomo-ink);
  border: var(--fomo-border);
  border-radius: var(--fomo-r-md);
  box-shadow: var(--fomo-shadow);
}

body:not(.checkout-index-index) .messages .message-success,
body:not(.checkout-index-index) .messages .message.success {
  background: var(--fomo-butter);
}

body:not(.checkout-index-index) .messages .message-error,
body:not(.checkout-index-index) .messages .message.error {
  background: #fde0db;
  border-color: var(--fomo-coral-dark);
  color: var(--fomo-coral-dark);
}

body:not(.checkout-index-index) .messages .message-notice,
body:not(.checkout-index-index) .messages .message.notice,
body:not(.checkout-index-index) .messages .message-warning {
  background: var(--fomo-sky);
}

/* ====================================================================
   Movimiento reducido y responsive
   ==================================================================== */
@media (prefers-reduced-motion: reduce) {
  .catalog-category-view .product-item-info,
  body:not(.checkout-index-index) .page-main .action.primary,
  body:not(.checkout-index-index) .page-main .action.tocart,
  body:not(.checkout-index-index) #product-addtocart-button {
    transition: none;
  }

  .catalog-category-view .product-item-info:hover,
  body:not(.checkout-index-index) .page-main .action.primary:hover,
  body:not(.checkout-index-index) #product-addtocart-button:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  body:not(.checkout-index-index) .page-header .logo img {
    height: 38px;
  }

  .catalog-category-view .product-item-info {
    padding: 0.75rem;
  }

  .catalog-product-view .product.media {
    padding: 0.5rem;
  }

  body:not(.checkout-index-index) #product-addtocart-button {
    width: 100%;
  }
}

/* ====================================================================
   AJUSTE 2 · header identico a la home, ficha sobre crema, minicart FOMO
   (solo CSS; el boton Add to Cart y el minicart conservan su logica)
   ==================================================================== */

/* ---- Header: logo garantizado y altura contenida ---- */
body:not(.checkout-index-index) .page-header .header.content {
  min-height: 0;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

/* El logo se pinta como fondo del enlace (ruta relativa al tema, sin recursos externos): si el <img> del layout
   no se ve, el logo FOMO igual aparece; si se ve, ambos son el mismo archivo. */
body:not(.checkout-index-index) .page-header .logo {
  display: block;
  flex: 0 0 auto;
  width: 105px;
  height: 48px;
  background: transparent url("../images/branding/fomo-logotipo.png") left center / contain no-repeat;
}

body:not(.checkout-index-index) .page-header .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}

body:not(.checkout-index-index) .page-header .block-search .action.search,
body:not(.checkout-index-index) .page-header .header.links svg,
body:not(.checkout-index-index) .page-header .action.showcart svg {
  color: var(--fomo-ink);
}

/* ---- Ficha: fondo crema y galeria completa ---- */
.catalog-product-view .page-wrapper,
.catalog-product-view .page-main,
.catalog-product-view .columns {
  background: var(--fomo-cream);
}

.catalog-product-view .product.media,
.catalog-product-view .gallery-placeholder {
  overflow: visible;
}

.catalog-product-view .product.media .fotorama__stage,
.catalog-product-view .product.media .fotorama__stage__shaft,
.catalog-product-view .product.media .fotorama__stage__frame {
  background: transparent;
}

.catalog-product-view .product.media img,
.catalog-product-view .product.media .fotorama__img {
  object-fit: contain;
  object-position: center;
  max-width: 100%;
  max-height: 100%;
  margin-inline: auto;
}

.catalog-product-view .product-info-main .page-title-wrapper .page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.catalog-product-view .product-info-main .stock.available,
.catalog-product-view .product-info-main .product-info-stock-sku .stock {
  display: inline-block;
  background: var(--fomo-sky);
  color: var(--fomo-ink);
  border: 2px solid var(--fomo-ink);
  border-radius: var(--fomo-r-pill);
  padding: 0.15rem 0.8rem;
}

.catalog-product-view .product-info-main .product.description,
.catalog-product-view .product-info-main .product.attribute.overview {
  color: var(--fomo-ink);
  font-family: var(--fomo-font);
  line-height: 1.55;
}

.catalog-product-view .product-info-main .box-tocart,
.catalog-product-view .product-info-main .product-info-price {
  border-color: var(--fomo-ink);
}

.catalog-product-view .product-info-main hr,
.catalog-product-view .product-info-main .separator {
  border-color: var(--fomo-ink);
  opacity: 0.2;
}

/* Add to Cart: el texto siempre visible fuera del estado loading; el loading de Magento no se toca */
body:not(.checkout-index-index) #product-addtocart-button:not(.loading):not(.disabled) {
  opacity: 1;
  color: var(--fomo-white);
  background: var(--fomo-coral);
}

body:not(.checkout-index-index) #product-addtocart-button:not(.loading):not(.disabled) span {
  opacity: 1;
  visibility: visible;
  color: var(--fomo-white);
}

body:not(.checkout-index-index) #product-addtocart-button.loading {
  background: var(--fomo-coral);
  border: var(--fomo-border);
  box-shadow: var(--fomo-shadow);
  opacity: 0.85;
}

/* Wishlist / Compare */
.catalog-product-view .product-addto-links a,
.catalog-product-view .action.towishlist,
.catalog-product-view .action.tocompare {
  color: var(--fomo-ink);
  font-family: var(--fomo-font);
  font-weight: 700;
}

.catalog-product-view .product-addto-links a:hover,
.catalog-product-view .action.towishlist:hover,
.catalog-product-view .action.tocompare:hover {
  color: var(--fomo-coral);
}

/* ---- Minicart (todos los controles siguen visibles y operativos) ---- */
body:not(.checkout-index-index) .block-minicart {
  background: var(--fomo-paper);
  color: var(--fomo-ink);
  font-family: var(--fomo-font);
  border: var(--fomo-border);
  border-radius: var(--fomo-r-md);
  box-shadow: var(--fomo-shadow);
}

body:not(.checkout-index-index) .block-minicart .block-title,
body:not(.checkout-index-index) .block-minicart .subtotal,
body:not(.checkout-index-index) .block-minicart .product-item-name {
  font-family: var(--fomo-font-display);
  color: var(--fomo-ink);
}

body:not(.checkout-index-index) .block-minicart .price {
  color: var(--fomo-coral);
  font-weight: 800;
}

body:not(.checkout-index-index) .block-minicart .action.checkout,
body:not(.checkout-index-index) .block-minicart .action.primary.checkout {
  background: var(--fomo-coral);
  color: var(--fomo-white);
  border: var(--fomo-border);
  border-radius: var(--fomo-r-pill);
  box-shadow: var(--fomo-shadow);
  font-weight: 800;
  text-transform: uppercase;
}

body:not(.checkout-index-index) .block-minicart .action.checkout:hover {
  background: var(--fomo-coral-dark);
}

body:not(.checkout-index-index) .block-minicart .action.viewcart,
body:not(.checkout-index-index) .block-minicart .viewcart {
  color: var(--fomo-ink);
  font-weight: 800;
  text-decoration: underline;
}

body:not(.checkout-index-index) .block-minicart .action.viewcart:hover {
  color: var(--fomo-coral);
}

body:not(.checkout-index-index) .block-minicart .product-image-container,
body:not(.checkout-index-index) .block-minicart .product-item-photo {
  background: var(--fomo-butter);
  border-radius: var(--fomo-r-sm);
}

body:not(.checkout-index-index) .block-minicart .product-item-details .details-qty,
body:not(.checkout-index-index) .block-minicart .item-qty {
  border: var(--fomo-border);
  border-radius: var(--fomo-r-pill);
}

body:not(.checkout-index-index) .block-minicart .action.edit,
body:not(.checkout-index-index) .block-minicart .action.delete,
body:not(.checkout-index-index) .block-minicart .action.close {
  color: var(--fomo-ink);
}

body:not(.checkout-index-index) .block-minicart .action.edit:hover,
body:not(.checkout-index-index) .block-minicart .action.delete:hover {
  color: var(--fomo-coral);
}

@media (max-width: 767px) {
  body:not(.checkout-index-index) .page-header .logo {
    width: 86px;
    height: 38px;
  }

  .catalog-product-view .product-info-main .page-title-wrapper .page-title {
    font-size: 1.9rem;
  }
}

/* ====================================================================
   AJUSTE 3 · footer global compacto (solo CSS, sin tocar HTML/PHTML/XML)
   Arriba: newsletter sobre crema con borde coral. Abajo: franja verde oscuro con
   marca, navegacion y copyright. Solo se reordena y estiliza el contenido existente.
   ==================================================================== */
:root {
  --fomo-green: #163d33;
}

/* Contenedor: crema, sin franja vacia ni decoraciones de Breeze */
body:not(.checkout-index-index) .page-footer {
  background: var(--fomo-cream);
  color: var(--fomo-cream);
  border-top: 3px solid var(--fomo-coral);
  margin: 0;
  padding: 0;
  min-height: 0;
  overflow-x: clip;
}

body:not(.checkout-index-index) .page-footer::before,
body:not(.checkout-index-index) .page-footer::after,
body:not(.checkout-index-index) .page-footer [class*="wave"],
body:not(.checkout-index-index) .page-footer [class*="decor"],
body:not(.checkout-index-index) .page-footer [class*="shape"] {
  display: none;
  background: none;
}

/* Newsletter: compacto, centrado, una sola fila */
body:not(.checkout-index-index) .page-footer .block.newsletter,
body:not(.checkout-index-index) .page-footer .newsletter {
  box-sizing: border-box;
  max-width: 760px;
  min-height: 0;
  margin: 1.25rem auto;
  padding: 1.1rem 1.4rem;
  background: var(--fomo-paper);
  color: var(--fomo-ink);
  border: var(--fomo-border);
  border-radius: var(--fomo-r-md);
  box-shadow: var(--fomo-shadow);
  font-family: var(--fomo-font);
  text-align: center;
}

/* Titulo en español (reemplaza el texto original mediante CSS) */
body:not(.checkout-index-index) .page-footer .block.newsletter .title {
  margin: 0 0 0.6rem;
  font-size: 0;
  line-height: 0;
}

body:not(.checkout-index-index) .page-footer .block.newsletter .title::before {
  content: "Recib\0000ED  novedades y lanzamientos";
  display: block;
  font-family: var(--fomo-font-display);
  font-size: 1.25rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--fomo-ink);
}

body:not(.checkout-index-index) .page-footer .block.newsletter .content,
body:not(.checkout-index-index) .page-footer .block.newsletter form {
  margin: 0;
  padding: 0;
  width: 100%;
}

body:not(.checkout-index-index) .page-footer .block.newsletter .form.subscribe,
body:not(.checkout-index-index) .page-footer .block.newsletter form {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.6rem;
}

body:not(.checkout-index-index) .page-footer .block.newsletter .field,
body:not(.checkout-index-index) .page-footer .block.newsletter .field.newsletter,
body:not(.checkout-index-index) .page-footer .block.newsletter .control {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
}

body:not(.checkout-index-index) .page-footer .block.newsletter input[type="email"],
body:not(.checkout-index-index) .page-footer .block.newsletter input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  height: 100%;
  min-height: 2.75rem;
  background: var(--fomo-white);
  color: var(--fomo-ink);
  border: var(--fomo-border);
  border-radius: var(--fomo-r-pill);
  padding: 0.5rem 1.1rem;
  font-family: var(--fomo-font);
}

body:not(.checkout-index-index) .page-footer .block.newsletter input:focus-visible {
  outline: 3px solid var(--fomo-coral);
  outline-offset: 2px;
}

body:not(.checkout-index-index) .page-footer .block.newsletter .actions {
  flex: 0 0 auto;
  margin: 0;
}

body:not(.checkout-index-index) .page-footer .block.newsletter .action.subscribe,
body:not(.checkout-index-index) .page-footer .block.newsletter button[type="submit"] {
  min-height: 2.75rem;
  background: var(--fomo-coral);
  color: var(--fomo-white);
  border: var(--fomo-border);
  border-radius: var(--fomo-r-pill);
  padding: 0.5rem 1.4rem;
  font-family: var(--fomo-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

body:not(.checkout-index-index) .page-footer .block.newsletter .action.subscribe:hover,
body:not(.checkout-index-index) .page-footer .block.newsletter button[type="submit"]:hover {
  background: var(--fomo-ink);
  color: var(--fomo-cream);
}

body:not(.checkout-index-index) .page-footer .block.newsletter .action.subscribe:focus-visible {
  outline: 3px solid var(--fomo-ink);
  outline-offset: 3px;
}

/* Franja final verde oscuro: ocupa todo el ancho aunque el contenedor tenga ancho maximo */
body:not(.checkout-index-index) .page-footer .footer.content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin: 0 auto;
  padding: 1.1rem 1rem;
  min-height: 0;
  background: var(--fomo-green);
  color: var(--fomo-cream);
  box-shadow: 0 0 0 100vmax var(--fomo-green);
  clip-path: inset(0 -100vmax);
  font-family: var(--fomo-font);
}

/* Marca (texto FOMO) a la izquierda */
body:not(.checkout-index-index) .page-footer .footer.content::before {
  content: "FOMO";
  order: 0;
  font-family: var(--fomo-font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--fomo-butter);
}

/* Navegacion existente, en una fila */
body:not(.checkout-index-index) .page-footer .footer.content ul,
body:not(.checkout-index-index) .page-footer .footer.links {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body:not(.checkout-index-index) .page-footer .footer.content li {
  margin: 0;
}

body:not(.checkout-index-index) .page-footer .footer.content a {
  color: var(--fomo-cream);
  font-weight: 700;
  text-decoration: none;
}

body:not(.checkout-index-index) .page-footer .footer.content a:hover,
body:not(.checkout-index-index) .page-footer .footer.content a:focus-visible {
  color: var(--fomo-butter);
  text-decoration: underline;
}

/* Copyright: ultima linea, a todo el ancho */
body:not(.checkout-index-index) .page-footer .copyright {
  order: 2;
  flex: 1 0 100%;
  margin: 0;
  padding: 0.6rem 0 0;
  border-top: 1px solid rgba(253, 243, 220, 0.25);
  color: var(--fomo-cream);
  font-size: 0.85rem;
  text-align: center;
  background: transparent;
}

@media (max-width: 767px) {
  body:not(.checkout-index-index) .page-footer .block.newsletter,
  body:not(.checkout-index-index) .page-footer .newsletter {
    margin: 1rem;
    padding: 1rem;
  }

  body:not(.checkout-index-index) .page-footer .block.newsletter .form.subscribe,
  body:not(.checkout-index-index) .page-footer .block.newsletter form {
    flex-direction: column;
  }

  body:not(.checkout-index-index) .page-footer .block.newsletter .actions,
  body:not(.checkout-index-index) .page-footer .block.newsletter .action.subscribe {
    width: 100%;
  }

  body:not(.checkout-index-index) .page-footer .footer.content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  body:not(.checkout-index-index) .page-footer .footer.content ul,
  body:not(.checkout-index-index) .page-footer .footer.links {
    justify-content: center;
  }
}

/* FOMO: product details remain visible above footer decoration. */
body.catalog-product-view .page-footer { position:relative; overflow:hidden!important; isolation:isolate; }
body.catalog-product-view .product.info.detailed { position:relative; z-index:2; box-sizing:border-box; padding:0 clamp(16px,3vw,32px) 24px; }

/* FOMO: keep purchase controls within narrow product layouts. */
body.catalog-product-view .box-tocart .fieldset { flex-wrap:wrap!important; }
body.catalog-product-view .box-tocart .actions { max-width:100%; }
body.catalog-product-view .box-tocart .action.tocart { max-width:100%; white-space:normal; }

/* FOMO mobile: contained flavor grid, full-width cards and separated cart footer. */
@media (max-width: 767px) {
 .fomo-home #product-selector {grid-template-columns:minmax(0,1fr)!important;min-width:0;max-width:100%}
 .fomo-home #options {width:100%;min-width:0;max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr))!important;box-sizing:border-box}
 .fomo-home #options li {min-width:0;max-width:100%}
 .fomo-home #options .product-option {width:100%;min-width:0;max-width:100%;white-space:normal!important;box-sizing:border-box}
 .fomo-home #options .product-option > * {min-width:0;max-width:100%;white-space:normal;overflow-wrap:break-word}
 body.catalog-category-view .products-grid .product-items {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;width:100%;margin:0}
 body.catalog-category-view .products-grid .product-item {width:100%!important;max-width:none;min-width:0;margin:0!important;box-sizing:border-box}
 body.catalog-category-view .products-grid .product-item-info,
 body.catalog-category-view .products-grid .product-item-details {width:100%;max-width:100%;min-width:0;box-sizing:border-box}
 body.catalog-category-view .products-grid .product-item-inner,
 body.catalog-category-view .products-grid .product-item-actions,
 body.catalog-category-view .products-grid .actions-primary {position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%;min-width:0;opacity:1!important;visibility:visible!important;box-sizing:border-box}
 body.catalog-category-view .products-grid .action.tocart {width:100%;max-width:100%;min-width:0;white-space:normal!important;box-sizing:border-box;justify-content:center}
 body.checkout-cart-index .page-footer {position:relative;overflow:hidden!important;isolation:isolate}
 body.checkout-cart-index .page-main {padding-bottom:32px}
}
@media (max-width: 599px) {
 body.catalog-category-view .products-grid .product-items {grid-template-columns:minmax(0,1fr)!important}
}

@media (max-width:767px) {.fomo-home #options .product-option > span {font-size:clamp(10px,2.8vw,12px);overflow-wrap:normal;line-height:1.25}}

/* FOMO newsletter: real responsive layout based on the supplied brand reference. */
.page-footer .footer-top {display:block!important;max-width:none!important;width:100%!important;padding:28px 0 36px!important;background:#fff2dd!important}
.page-footer .footer-top::after {display:none!important}
.page-footer .block.newsletter.fomo-newsletter {position:relative;display:grid!important;grid-template-columns:minmax(190px,27%) minmax(0,1fr);gap:0 16px;align-items:center;max-width:1320px!important;width:calc(100% - 40px)!important;padding:20px 38px 16px 18px!important;margin:0 auto!important;border:3px solid #164447!important;border-radius:38px!important;box-shadow:inset 0 0 0 1px #16444733!important;background:#fff0da!important;color:#123e40;overflow:hidden;box-sizing:border-box}
.fomo-newsletter * {box-sizing:border-box}
.fomo-newsletter .fomo-nl-mascot {position:relative;min-width:0;align-self:stretch;display:flex;align-items:center;justify-content:center;overflow:hidden}
.fomo-newsletter .fomo-nl-mascot img {display:block;width:145%;max-width:none!important;flex-shrink:0;margin:-14% -22.5%;height:auto}
.fomo-newsletter .fomo-nl-main {min-width:0;text-align:center;position:relative}
.fomo-newsletter .fomo-nl-logo {display:block!important;width:clamp(220px,32vw,440px);height:auto!important;max-width:70%!important;margin:0 auto 8px;object-fit:contain}
.page-footer .fomo-newsletter h2.fomo-nl-heading {color:#123e40!important;font-family:'Arial Rounded MT Bold','Trebuchet MS',sans-serif!important;font-weight:1000!important;font-size:clamp(24px,3.25vw,46px)!important;letter-spacing:-1.5px!important;line-height:1.2!important;text-transform:none!important;margin:0 0 26px!important;text-shadow:.4px 0 currentColor,-.4px 0 currentColor}
.page-footer .fomo-newsletter .content {width:100%;opacity:1!important;transform:none!important;margin:0;padding:0;background:none;border:0}
.page-footer .block.newsletter.fomo-newsletter .form.subscribe {display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:14px!important;align-items:stretch!important;flex-wrap:unset!important;margin:0!important;width:100%!important}
.page-footer .block.newsletter.fomo-newsletter .field.newsletter {width:100%!important;max-width:none!important;min-width:0!important;flex:unset!important;margin:0!important;position:relative}
.page-footer .fomo-newsletter .control,.page-footer .fomo-newsletter label {display:block!important;width:100%;margin:0!important}
.page-footer .block.newsletter.fomo-newsletter input#newsletter {display:block!important;width:100%!important;min-width:0;height:76px!important;border:3px solid #164447!important;border-radius:42px!important;background:#fffaf0!important;padding:0 22px 0 58px!important;color:#123e40!important;font-size:clamp(16px,1.7vw,25px)!important;font-weight:600;box-shadow:none!important;line-height:1.2}
.fomo-newsletter .fomo-nl-envelope {position:absolute;left:23px;top:26px;width:27px;height:24px;pointer-events:none;color:#164447;z-index:1}
.page-footer .block.newsletter.fomo-newsletter .actions {width:100%!important;margin:0!important;min-width:0}
.page-footer .block.newsletter.fomo-newsletter button.action.subscribe {display:flex!important;align-items:center;justify-content:center;width:100%!important;max-width:100%!important;min-width:0;height:76px!important;min-height:76px!important;padding:12px 14px!important;border:3px solid #164447!important;border-radius:42px!important;background:#ff884e!important;color:#123e40!important;box-shadow:inset 0 3px 0 #fff5d688!important;font-family:'Arial Rounded MT Bold','Trebuchet MS',sans-serif!important;font-size:clamp(17px,2.1vw,29px)!important;line-height:1.15;font-weight:1000!important;letter-spacing:-.6px;text-transform:uppercase;white-space:normal!important;transform:none!important}
.page-footer .fomo-newsletter button.action.subscribe:hover {background:#ff9a65!important}
.page-footer .fomo-newsletter input:focus-visible,.page-footer .fomo-newsletter button:focus-visible {outline:3px solid #164447!important;outline-offset:4px}
.fomo-newsletter .fomo-nl-strap {grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:16px;font-family:'Trebuchet MS',sans-serif;font-size:clamp(13px,1.75vw,23px);font-weight:900;letter-spacing:3px;line-height:1.4;text-align:center;color:#164447;margin:20px 6px 0;text-transform:uppercase}
.fomo-newsletter .fomo-nl-strap::before,.fomo-newsletter .fomo-nl-strap::after {content:'';height:3px;flex:1;background:#164447;border-radius:3px}
.fomo-newsletter .fomo-nl-spark {position:absolute;font-size:36px;color:#164447;line-height:1;pointer-events:none}
.fomo-newsletter .fomo-nl-spark-one {left:24px;top:22px;color:#ff884e;transform:rotate(-20deg)}
.fomo-newsletter .fomo-nl-spark-two {right:20px;top:24px}
.fomo-newsletter .fomo-nl-spark-three {left:25%;top:26%;font-size:30px}
@media(max-width:767px) {
 .page-footer .block.newsletter.fomo-newsletter {width:calc(100% - 24px)!important;padding:20px 16px!important;grid-template-columns:110px minmax(0,1fr);gap:6px 8px;border-radius:26px!important}
 .fomo-newsletter .fomo-nl-mascot {grid-column:1;grid-row:1;align-self:center}
 .fomo-newsletter .fomo-nl-main {display:contents}
 .fomo-newsletter .fomo-nl-logo {grid-column:2;grid-row:1;width:100%!important;max-width:100%!important;margin:0!important}
 .page-footer .fomo-newsletter h2.fomo-nl-heading {grid-column:1/-1;margin:6px 0 14px!important;font-size:27px!important;letter-spacing:-1px!important;text-align:center}
 .page-footer .fomo-newsletter .content {grid-column:1/-1}
 .page-footer .block.newsletter.fomo-newsletter .form.subscribe {grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 .page-footer .block.newsletter.fomo-newsletter input#newsletter {height:56px!important;font-size:16px!important;padding-left:49px!important}
 .fomo-newsletter .fomo-nl-envelope {top:17px;left:18px;width:23px;height:22px}
 .page-footer .block.newsletter.fomo-newsletter button.action.subscribe {height:56px!important;min-height:56px!important;font-size:22px!important}
 .fomo-newsletter .fomo-nl-strap {font-size:12px;letter-spacing:1.6px;gap:8px;margin:14px 0 0}
 .fomo-newsletter .fomo-nl-spark {font-size:22px}.fomo-newsletter .fomo-nl-spark-three {display:none}
}

@font-face {font-family:'Fomo Lilita';src:url('../fonts/LilitaOne-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
.page-footer .block.newsletter.fomo-newsletter .form.subscribe {max-width:none!important}
.page-footer .fomo-newsletter h2.fomo-nl-heading,.page-footer .block.newsletter.fomo-newsletter button.action.subscribe {font-family:'Fomo Lilita','Trebuchet MS',sans-serif!important;font-weight:400!important;text-shadow:none!important;letter-spacing:0!important}
.page-footer .fomo-newsletter h2.fomo-nl-heading {font-size:clamp(26px,3.5vw,50px)!important}
@media(max-width:767px){.page-footer .fomo-newsletter h2.fomo-nl-heading {font-size:29px!important}}

@media(max-width:359px){body:not(.checkout-index-index) .page-header .header.content{column-gap:12px!important}}

/* FOMO: continuous cream background and a more compact newsletter. */
body:not(.checkout-index-index) .page-footer {border-top:0!important;background:#fdf3dc!important}
.page-footer .footer-top {background:#fdf3dc!important;border:0!important;padding:24px 0 30px!important}
.page-footer .fomo-footer {border-top:0!important}
.page-footer .block.newsletter.fomo-newsletter {max-width:1060px!important;width:calc(100% - 48px)!important;background:#fdf3dc!important;padding:16px 28px 13px 16px!important;border-radius:30px!important;gap:0 14px}
.fomo-newsletter .fomo-nl-logo {width:clamp(190px,27vw,350px)!important;margin-bottom:6px}
.page-footer .fomo-newsletter h2.fomo-nl-heading {font-size:clamp(23px,2.8vw,39px)!important;margin-bottom:20px!important}
.page-footer .block.newsletter.fomo-newsletter input#newsletter {height:62px!important;font-size:clamp(16px,1.45vw,21px)!important;padding-left:50px!important}
.fomo-newsletter .fomo-nl-envelope {left:19px;top:21px;width:24px;height:21px}
.page-footer .block.newsletter.fomo-newsletter button.action.subscribe {height:62px!important;min-height:62px!important;font-size:clamp(17px,1.8vw,24px)!important;padding:10px 12px!important}
.fomo-newsletter .fomo-nl-strap {font-size:clamp(12px,1.4vw,19px);letter-spacing:2.4px;margin-top:15px}
.fomo-newsletter .fomo-nl-spark {font-size:28px}
@media(max-width:767px){
 .page-footer .block.newsletter.fomo-newsletter {width:calc(100% - 32px)!important;max-width:440px!important;padding:16px 14px!important;grid-template-columns:92px minmax(0,1fr);gap:4px 8px;border-radius:24px!important}
 .fomo-newsletter .fomo-nl-logo {width:100%!important;max-width:100%!important;margin:0!important}
 .page-footer .fomo-newsletter h2.fomo-nl-heading {font-size:25px!important;margin:6px 0 12px!important}
 .page-footer .block.newsletter.fomo-newsletter input#newsletter {height:52px!important;padding-left:43px!important;font-size:16px!important}
 .fomo-newsletter .fomo-nl-envelope {top:17px;left:15px;width:21px;height:19px}
 .page-footer .block.newsletter.fomo-newsletter button.action.subscribe {height:52px!important;min-height:52px!important;font-size:20px!important}
 .fomo-newsletter .fomo-nl-strap {font-size:11px;letter-spacing:1.3px;margin-top:12px}
}

body.cms-index-index .page-main{padding-bottom:0!important}
body:not(.checkout-index-index) .page-footer .footer-top{padding:24px 0 28px!important}
