/*
Theme Name: Fantoba Storefront Child
Theme URI: https://fantoba.com/
Description: Tema hijo limpio para Fantoba basado en Storefront. Reconstruido a partir de las personalizaciones del antiguo Helas Child, sin dependencias de Helas, LA-Studio ni WPBakery.
Author: Fantoba
Template: storefront
Version: 1.3.5
Text Domain: fantoba-storefront-child
*/
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("assets/fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("assets/fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("assets/fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2") format("woff2");
}

@font-face {
    font-family: "Pinyon Script";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/6xKpdSJbL9-e9LuoeQiDRQR8WOXaOg.woff2") format("woff2");
}

:root {
    --fantoba-cocoa: #4a2f24;
    --fantoba-cream: #f3eadc;
    --fantoba-gold: #c9a66b;
    --fantoba-coral: #f4524d;
    --fantoba-text: #36393e;
    --fantoba-light: #f7f7f7;
    --fantoba-border: #e4e4e4;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    color: var(--fantoba-text);
}

p {
    color: var(--fantoba-text);
}

h1,
h2,
.site-title {
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
    text-transform: none;
}

h1 {
    font-size: clamp(3.2rem, 7vw, 5rem);
    letter-spacing: .04em;
}

h2 {
    letter-spacing: .03em;
}

/* Barra superior recuperada conceptualmente del header Helas. */
.fantoba-topbar {
    background: #fff;
    border-bottom: 1px solid var(--fantoba-border);
    font-size: .82rem;
}

.fantoba-topbar__inner {
    max-width: 66.4989378333em;
    margin: 0 auto;
    padding: .7rem 2.617924em;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    align-items: center;
}

.fantoba-topbar a {
    color: var(--fantoba-text);
    text-decoration: none;
}

.fantoba-topbar a:hover {
    color: var(--fantoba-coral);
}

/* Header limpio y sobrio. */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid var(--fantoba-border);
}

.site-header .site-branding .site-title a,
.main-navigation ul li a {
    color: var(--fantoba-text);
}

.main-navigation ul li a:hover {
    color: var(--fantoba-coral);
}

/* Botones: conserva el lenguaje visual del antiguo child. */
button,
.button {
    background: transparent;
    border: 2px solid var(--fantoba-text);
    color: var(--fantoba-text);
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .04em;
    box-shadow: none;
}

button:hover,
.button:hover {
    background: var(--fantoba-cocoa);
    border-color: var(--fantoba-cocoa);
    color: #fff;
}

/* Productos */
ul.products li.product {
    text-align: center;
}

ul.products li.product .woocommerce-loop-product__title {
    color: var(--fantoba-text);
    font-weight: 600;
}

ul.products li.product .price,
.price ins {
    color: var(--fantoba-coral);
}

ul.products li.product img {
    transition: transform .25s ease;
}

ul.products li.product:hover img {
    transform: scale(1.015);
}

.onsale {
    border-color: var(--fantoba-coral);
    color: var(--fantoba-coral);
}

/* Mensajes WooCommerce, adaptados de las personalizaciones antiguas. */
.woocommerce-error {
    background-color: #ff8686;
    color: #222;
}

.woocommerce-info,
.woocommerce-message {
    background-color: #86ffc3;
    color: #222;
}

/* Aviso de tienda: conserva el formato compacto del antiguo child. */
.woocommerce-store-notice.demo_store {
    position: fixed;
    bottom: 0;
    top: auto;
    right: 0;
    left: auto;
    width: auto;
    max-width: 19rem;
    background: #ececec;
    color: #222;
    padding: 1rem;
    box-shadow: 0 1px 8px rgba(0,0,0,.25);
    font-size: .78rem;
    z-index: 99999;
}

/* Footer Fantoba: cálido, histórico y legible. */
.site-footer {
    background: var(--fantoba-cream);
    color: #44372f;
    border-top: 1px solid var(--fantoba-gold);
    padding-top: 0;
}

.site-footer .col-full {
    max-width: 66.4989378333em;
}

.site-footer a {
    color: #44372f;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--fantoba-coral);
}

.site-footer h2,
.site-footer h3 {
    color: #4a2f24;
}

.fantoba-footer-main {
    padding: 3.2rem 0 2.2rem;
}

.fantoba-footer-main__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Storefront aplica clearfix a .col-full mediante pseudo-elementos.
   Dentro de un grid esos pseudo-elementos cuentan como items y desplazan
   las tres columnas reales. En el footer Fantoba no son necesarios. */
.fantoba-footer-main__grid::before,
.fantoba-footer-main__grid::after {
    content: none !important;
    display: none !important;
}

.fantoba-footer-main__grid > section {
    margin: 0 !important;
    padding: 0 !important;
    align-self: start;
}

.fantoba-footer-main__grid > section > :first-child {
    margin-top: 0 !important;
}

.fantoba-footer-main__brand {
    max-width: 29rem;
}

.fantoba-footer-main__eyebrow {
    display: block;
    margin-bottom: .35rem;
    color: #8b6b4b;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.fantoba-footer-main__title {
    margin: 0 0 .65rem;
    font-family: "Pinyon Script", cursive;
    font-size: clamp(2.8rem, 4vw, 4rem);
    line-height: .95;
    font-weight: 400;
}

.fantoba-footer-main__text {
    margin: 0;
    color: #65564d;
    font-size: .9rem;
    line-height: 1.75;
}

.fantoba-footer-main__heading {
    margin: 0 0 1rem;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.fantoba-footer-main__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fantoba-footer-main__list li {
    margin: 0 0 .55rem;
    color: #65564d;
    font-size: .86rem;
    line-height: 1.55;
}

.fantoba-footer-main__list strong {
    color: #44372f;
    font-weight: 600;
}

@media (max-width: 767px) {
    .fantoba-topbar__inner {
        padding-left: 1.41575em;
        padding-right: 1.41575em;
        justify-content: center;
        text-align: center;
    }

    h1 {
        font-size: 3.2rem;
    }
}

/* ==========================================================
   Home Fantoba 1.1
   ========================================================== */

.fantoba-home {
    margin: 0;
}


body.home .site-content > .col-full {
    max-width: none;
    padding: 0;
    margin: 0;
}

.fantoba-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.fantoba-section {
    padding: clamp(72px, 8vw, 118px) 0;
}

.fantoba-section--soft {
    background: #f7f4ef;
}

.fantoba-kicker,
.fantoba-eyebrow {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .72rem;
    font-weight: 700;
}

.fantoba-section-heading {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

.fantoba-section-heading--compact {
    margin-bottom: 34px;
}

.fantoba-section-heading h2,
.fantoba-story h2,
.fantoba-feature h2,
.fantoba-local h2 {
    margin: 0 0 18px;
    color: var(--fantoba-text);
    font-family: "Pinyon Script", cursive;
    font-size: clamp(3.4rem, 6vw, 5.7rem);
    line-height: .95;
}

.fantoba-hero {
    position: relative;
    min-height: min(64vh, 820px);
    display: grid;
    place-items: center;
    background-color: var(--fantoba-cocoa);
    color: #fff;
}

/* Imágenes visuales usadas como fondo, con o sin <picture> generado por el optimizador. */
.fantoba-hero,
.fantoba-feature,
.fantoba-local,
.fantoba-split__panel {
    overflow: hidden;
}

.fantoba-hero__image,
.fantoba-feature__image,
.fantoba-local__image,
.fantoba-split__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
}

picture.fantoba-hero__image > img,
img.fantoba-hero__image,
picture.fantoba-feature__image > img,
img.fantoba-feature__image,
picture.fantoba-local__image > img,
img.fantoba-local__image,
picture.fantoba-split__image > img,
img.fantoba-split__image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

.fantoba-hero__veil,
.fantoba-feature__veil,
.fantoba-local__veil,
.fantoba-split__veil {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(58,34,24,.82), rgba(58,34,24,.42) 55%, rgba(58,34,24,.16));
}

.fantoba-hero__content {
    position: relative;
    z-index: 2;
    padding-block: 90px;
}
.fantoba-hero .fantoba-eyebrow {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.35);
}

.fantoba-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(4.6rem, 10vw, 8.8rem);
    line-height: .82;
    text-shadow: 0 4px 32px rgba(0,0,0,.2);
}

.fantoba-hero__lead {
    max-width: 650px;
    margin: 30px 0 0;
    color: rgba(255,255,255,.92);
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    line-height: 1.65;
}

.fantoba-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}

.fantoba-button {
    padding: 14px 22px;
}

.fantoba-button--light {
    border-color: #fff !important;
    color: #fff !important;
}

.fantoba-button--light:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--fantoba-cocoa) !important;
}

.fantoba-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fantoba-cocoa);
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none !important;
}

.fantoba-text-link::after {
    content: "→";
    transition: transform .2s ease;
}

.fantoba-text-link:hover::after {
    transform: translateX(5px);
}

.fantoba-text-link--light {
    color: #fff;
}

.fantoba-story__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .8fr);
    gap: clamp(44px, 7vw, 100px);
    align-items: center;
}

.fantoba-story__copy {
    max-width: 700px;
}

.fantoba-story__copy p:not(.fantoba-kicker):not(.fantoba-signature) {
    font-size: 1rem;
    line-height: 1.9;
}

.fantoba-signature {
    margin-top: 26px;
    color: var(--fantoba-coral);
    font-family: "Pinyon Script", cursive;
    font-size: 2.8rem;
}

.fantoba-story__media img {
    display: block;
    width: 100%;
    height: auto;
}

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

.fantoba-category-card {
    position: relative;
    min-height: 370px;
    overflow: hidden;
    background: #ddd;
    color: #fff;
}

.fantoba-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.fantoba-category-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(47,28,20,.76), rgba(47,28,20,.04) 60%);
}

.fantoba-category-card__label {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
}

.fantoba-category-card__label small {
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .68rem;
}

.fantoba-category-card__label strong {
    display: block;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 600;
}

.fantoba-category-card:hover img {
    transform: scale(1.045);
}

.fantoba-feature,
.fantoba-local {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 520px;
    padding: 80px 0;
    text-align: center;
    background-color: var(--fantoba-cocoa);
}

.fantoba-feature__veil,
.fantoba-local__veil {
    background: rgba(58,34,24,.66);
}

.fantoba-feature__content,
.fantoba-local__content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    color: #fff;
}

.fantoba-feature h2,
.fantoba-local h2,
.fantoba-feature p,
.fantoba-local p {
    color: #fff;
}

.fantoba-specialty-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 54px;
}

.fantoba-specialty {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 25px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--fantoba-border);
}

.fantoba-specialty__image {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    background: #f3f3f3;
}

.fantoba-specialty__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.fantoba-specialty:hover .fantoba-specialty__image img {
    transform: scale(1.04);
}

.fantoba-specialty h3 {
    margin: 0 0 10px;
    color: var(--fantoba-text);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.fantoba-specialty p {
    margin: 0 0 13px;
    font-size: .9rem;
    line-height: 1.65;
}

.fantoba-products-strip ul.products {
    margin-bottom: 0;
}

.fantoba-turron-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.fantoba-turron-card {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    background: #f2f2f2;
}

.fantoba-turron-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.fantoba-turron-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(58,34,24,.72), rgba(58,34,24,.02) 60%);
}

.fantoba-turron-card span {
    position: absolute;
    z-index: 2;
    left: 25px;
    right: 25px;
    bottom: 24px;
    color: #fff;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fantoba-turron-card:hover img {
    transform: scale(1.04);
}

.fantoba-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.fantoba-split__panel {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
    padding: 60px 32px;
    text-align: center;
    background-color: var(--fantoba-cocoa);
}

.fantoba-split__veil {
    background: rgba(47,28,20,.52);
}

.fantoba-split__content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.fantoba-split__content p,
.fantoba-split__content a {
    color: #fff;
}

.fantoba-script {
    margin: 0 0 22px;
    font-family: "Pinyon Script", cursive;
    font-size: clamp(3.4rem, 6vw, 5.5rem);
    line-height: .9;
}

.fantoba-services {
    padding: 36px 0;
    background: var(--fantoba-cocoa);
    color: #fff;
}

.fantoba-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fantoba-services__grid > div {
    display: grid;
    gap: 7px;
}

.fantoba-services strong {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
}

.fantoba-services span,
.fantoba-services a {
    color: rgba(255,255,255,.78);
    font-size: .82rem;
}

@media (max-width: 900px) {
    .fantoba-story__inner,
    .fantoba-specialty-grid {
        grid-template-columns: 1fr;
    }

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

    .fantoba-services__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .fantoba-shell {
        width: min(100% - 30px, 1180px);
    }

    .fantoba-hero {
        min-height: 650px;
    }

    .fantoba-hero__content {
        padding-block: 74px;
    }

    .fantoba-category-grid,
    .fantoba-turron-grid,
    .fantoba-split {
        grid-template-columns: 1fr;
    }

    .fantoba-category-card {
        min-height: 310px;
    }

    .fantoba-specialty {
        grid-template-columns: 105px 1fr;
        gap: 18px;
    }

    .fantoba-split__panel {
        min-height: 390px;
    }
}

/* ==========================================================
   Navegación Fantoba 1.2
   ========================================================== */
@media (min-width: 768px) {
    .storefront-primary-navigation .col-full {
        display: flex;
        align-items: center;
        gap: .35rem;
    }

    .main-navigation {
        flex: 1 1 auto;
        width: auto;
        margin-right: 1.5rem;
    }

    .main-navigation ul.menu,
    .main-navigation ul.nav-menu {
        display: flex;
        align-items: center;
        gap: .15rem;
    }

    .main-navigation ul.menu > li > a,
    .main-navigation ul.nav-menu > li > a {
        padding: 1.15rem .82rem;
        font-size: .79rem;
        font-weight: 600;
        letter-spacing: .055em;
        text-transform: uppercase;
        white-space: nowrap;
        position: relative;
    }

    .main-navigation ul.menu > li > a::after,
    .main-navigation ul.nav-menu > li > a::after {
        content: "";
        position: absolute;
        left: .82rem;
        right: .82rem;
        bottom: .78rem;
        height: 2px;
        background: var(--fantoba-coral);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform .18s ease;
    }

    .main-navigation ul.menu > li:hover > a::after,
    .main-navigation ul.nav-menu > li:hover > a::after,
    .main-navigation ul.menu > li.current-menu-item > a::after,
    .main-navigation ul.nav-menu > li.current-menu-item > a::after {
        transform: scaleX(1);
    }

}


.fantoba-footer-nav {
    padding: 0 0 1.6rem;
}

.fantoba-footer-nav__menu .menu {
    list-style: none;
    margin: 0;
    padding: 1.3rem 0 0;
    border-top: 1px solid rgba(74,47,36,.18);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem 1.5rem;
}

.fantoba-footer-nav__menu .menu-item {
    margin: 0;
}

.fantoba-footer-nav__menu a {
    color: #65564d;
    font-size: .73rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.fantoba-footer-nav__menu a:hover,
.fantoba-footer-nav__menu a:focus {
    color: var(--fantoba-coral);
}

.fantoba-footer-bottom {
    border-top: 1px solid rgba(74,47,36,.12);
    padding: 1rem 0 1.35rem;
    text-align: center;
    color: #806f63;
    font-size: .73rem;
    letter-spacing: .035em;
}

@media (max-width: 767px) {
    .fantoba-footer-main {
        padding: 2.4rem 0 1.5rem;
    }

    .fantoba-footer-main__grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .fantoba-footer-main__brand {
        max-width: none;
    }

    .fantoba-footer-main__title {
        font-size: 3rem;
    }

    .fantoba-footer-nav__menu .menu {
        justify-content: flex-start;
        gap: .75rem 1.2rem;
    }
}

/* ==========================================================
   Fantoba 1.2.6 - navegación móvil y carrito
   ========================================================== */
@media (min-width: 768px) {
    .main-navigation .primary-navigation {
        display: block !important;
    }

}

@media (max-width: 767px) {
    .site-header,
    .storefront-primary-navigation,
    .storefront-primary-navigation .col-full {
        overflow: visible !important;
    }

    .storefront-primary-navigation .col-full {
        position: relative;
    }

    .main-navigation {
        position: static;
        overflow: visible !important;
        width: auto;
    }

    /* Toggle solo icono. Conservamos el span para dibujar la barra central. */
    .main-navigation .menu-toggle {
        position: relative;
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0;
        border: 1px solid var(--fantoba-border);
        background: #fff;
        color: var(--fantoba-text);
        font-size: 0;
        line-height: 1;
    }

    .main-navigation .menu-toggle::before,
    .main-navigation .menu-toggle::after,
    .main-navigation .menu-toggle > span {
        content: "";
        position: absolute;
        left: 11px;
        width: 20px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
        transform-origin: center;
        transition: transform .22s ease, opacity .18s ease, top .22s ease;
    }

    .main-navigation .menu-toggle::before {
        top: 14px;
    }

    .main-navigation .menu-toggle > span {
        top: 20px;
    }

    .main-navigation .menu-toggle::after {
        top: 26px;
    }

    .main-navigation.toggled .menu-toggle::before {
        top: 20px;
        transform: rotate(45deg);
    }

    .main-navigation.toggled .menu-toggle > span {
        opacity: 0;
        transform: scaleX(.2);
    }

    .main-navigation.toggled .menu-toggle::after {
        top: 20px;
        transform: rotate(-45deg);
    }

    /* No usamos display:none: así apertura y cierre pueden animarse. */
    .main-navigation .primary-navigation {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 50%;
        width: 100vw;
        max-width: none;
        z-index: 99999;
        margin: 0;
        padding: .45rem max(1rem, calc((100vw - 66.4989378333em) / 2)) 1rem;
        background: #fff;
        border-top: 1px solid var(--fantoba-border);
        border-bottom: 1px solid var(--fantoba-border);
        box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, -10px);
        transition:
            opacity .20s ease,
            transform .24s ease,
            visibility 0s linear .24s;
    }

    .main-navigation.toggled .primary-navigation {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
        transition:
            opacity .20s ease,
            transform .24s ease,
            visibility 0s linear 0s;
    }

    .primary-navigation ul.menu,
    .primary-navigation ul.nav-menu {
        display: block !important;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        background: transparent;
    }

    .primary-navigation ul.menu > li,
    .primary-navigation ul.nav-menu > li {
        display: block;
        width: 100%;
        margin: 0;
    }

    .primary-navigation ul.menu > li > a,
    .primary-navigation ul.nav-menu > li > a {
        display: block;
        width: 100%;
        padding: .95rem .15rem;
        border-bottom: 1px solid var(--fantoba-border);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .04em;
        text-decoration: none;
    }

    .primary-navigation ul.menu > li:last-child > a,
    .primary-navigation ul.nav-menu > li:last-child > a {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-navigation .primary-navigation,
    .main-navigation .menu-toggle::before,
    .main-navigation .menu-toggle::after,
    .main-navigation .menu-toggle > span {
        transition: none !important;
    }
}

/* ==========================================================
   Fantoba 1.2.7 - acciones de cabecera (perfil + carrito)
   ========================================================== */
.fantoba-header-actions {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.fantoba-header-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--fantoba-text);
    text-decoration: none;
    border-radius: 50%;
    transition: background-color .18s ease, color .18s ease;
}

.fantoba-header-action:hover,
.fantoba-header-action:focus {
    color: var(--fantoba-coral);
    background: rgba(0,0,0,.035);
    outline: none;
}

.fantoba-header-action svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.fantoba-cart-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--fantoba-coral);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}


.fantoba-footer-bottom__legal {
    margin-top: .35rem;
    font-size: .78rem;
    opacity: .75;
}


.storefront-handheld-footer-bar ul li > a::before {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    width: 24px;
    height: 24px;
    margin: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    text-indent: 0;
    font-family: initial !important;
font-size: 0 !important;
line-height: 1 !important;
}

.storefront-handheld-footer-bar .cart .count {
    top: .4em !important;
}
/* Usuario */
.storefront-handheld-footer-bar .my-account > a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a2f24' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 21c.8-4.2 3.3-6.5 7.5-6.5s6.7 2.3 7.5 6.5'/%3E%3C/svg%3E");
}

/* Buscar */
.storefront-handheld-footer-bar .search > a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a2f24' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E");
}

/* Carrito */
.storefront-handheld-footer-bar .cart > a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a2f24' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 10h10.5l2-7H6'/%3E%3Ccircle cx='9' cy='19' r='1.5'/%3E%3Ccircle cx='17' cy='19' r='1.5'/%3E%3C/svg%3E");
}

.fantoba-phone,
.fantoba-phone:visited {
    color: var(--fantoba-cocoa);
    font-weight: 700;
    text-decoration: none;
}

.fantoba-phone:hover {
    text-decoration: underline;
}


@media (min-width: 768px) {
    .site-header > .col-full {
        display: flex;
        align-items: center;
        gap: .5rem;
    }

    .site-header .site-search {
        margin-left: auto;
    }

    .fantoba-header-actions {
        flex: 0 0 auto;
    }
}

@media (max-width: 767px) {
    .fantoba-header-actions {
        display: none;
    }

    .storefront-primary-navigation .col-full {
        display: block;
    }
}
