/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* =========================================================
   BARBAS HATS
   16 — LOS MÁS VENDIDOS
   PRODUCT CARDS PREMIUM
   ========================================================= */


/* =========================================================
   SECCIÓN
   ========================================================= */

.barbas-bestsellers {
    position: relative;

    width: 100%;

    padding:
        clamp(54px, 5vw, 90px)
        0;

    background: #080908;

    color: #ffffff;

    border-bottom:
        1px solid rgba(255,255,255,.10);
}


/* =========================================================
   HEADER
   ========================================================= */

.barbas-bestsellers-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom:
        clamp(28px, 2.6vw, 42px);
}


.barbas-bestsellers-eyebrow {
    display: block;

    margin-bottom: 11px;

    color: var(--barbas-gold);

    font-size: 16px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: .14em;

    text-transform: uppercase;
}


.barbas-bestsellers-title {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(38px, 3.3vw, 58px);

    font-weight: 900;

    line-height: .95;

    letter-spacing: -.045em;

    text-transform: uppercase;
}


/* =========================================================
   VER TODOS
   ========================================================= */

.barbas-bestsellers-all {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    min-height: 56px;

    padding:
        0
        24px;

    color: #ffffff;

    background: transparent;

    border:
        1px solid rgba(255,255,255,.42);

    font-size: 18px;
    font-weight: 800;

    line-height: 1;

    text-transform: uppercase;

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease;
}


.barbas-bestsellers-all:hover {
    color: #080908;

    background: #ffffff;

    border-color: #ffffff;
}


/* =========================================================
   GRID
   ========================================================= */

.barbas-bestsellers-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        clamp(16px, 1.5vw, 26px);
}


/* =========================================================
   CARD
   ========================================================= */

.barbas-product-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    color: #080908;

    border-radius: 15px;

    box-shadow:
        0 8px 24px
        rgba(0,0,0,.16);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


.barbas-product-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 20px 50px
        rgba(0,0,0,.35);
}


/* =========================================================
   MEDIA
   ========================================================= */

.barbas-product-media {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #fff;

    border-radius:
        15px
        15px
        0
        0;
}


/* =========================================================
   IMAGE LINK
   ========================================================= */

.barbas-product-image-link {
    position: absolute;

    inset: 0;

    display: block;

    overflow: hidden;
}


/* =========================================================
   PRIMARY + SECONDARY
   ========================================================= */

.barbas-product-image-primary,
.barbas-product-image-secondary {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 16px;

    transition:
        opacity .45s ease,
        transform .6s cubic-bezier(.22,.61,.36,1);
}


/* FOTO PRINCIPAL */

.barbas-product-image-primary {
    z-index: 1;

    opacity: 1;

    transform:
        scale(1);
}


/* FOTO SECUNDARIA */

.barbas-product-image-secondary {
    z-index: 2;

    opacity: 0;

    transform:
        scale(1.035);
}


/* =========================================================
   IMG
   ========================================================= */

.barbas-product-image-primary img,
.barbas-product-image-secondary img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: contain;
    object-position: center;

    transition:
        transform .55s ease;
}


/* =========================================================
   HOVER IMAGE SWITCH
   ========================================================= */

@media (hover: hover) and (pointer: fine) {

    .barbas-product-card:hover
    .barbas-product-image-secondary {
        opacity: 1;

        transform:
            scale(1);
    }


    .barbas-product-card:hover
    .barbas-product-image-primary {
        opacity: 0;

        transform:
            scale(.985);
    }

}


/* =========================================================
   OFERTA
   ========================================================= */

.barbas-product-sale {
    position: absolute;

    top: 13px;
    right: 13px;

    z-index: 10;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 32px;

    padding:
        0
        12px;

    color: #ffffff;

    background: #080908;

    border-radius: 15px;

    font-size: 13px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: .04em;

    text-transform: uppercase;
}


/* =========================================================
   BOTÓN AÑADIR AL CARRITO
   ========================================================= */

.barbas-product-cart {
    position: absolute;

    z-index: 20;

    left: 14px;
    right: 14px;
    bottom: 14px;

    min-height: 46px;

    display: flex !important;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding:
        0
        16px !important;

    color: #ffffff !important;

    background: #080908 !important;

    border:
        1px solid #080908 !important;

    border-radius: 15px !important;

    font-size: 14px !important;
    font-weight: 800 !important;

    line-height: 1 !important;

    letter-spacing: .015em;

    text-transform: uppercase;

    text-decoration: none !important;

    opacity: 0;
    visibility: hidden;

    transform: translateY(14px);

    transition:
        opacity .28s ease,
        visibility .28s ease,
        transform .28s ease,
        background .25s ease,
        color .25s ease;
}


/* Hover del botón */

.barbas-product-cart:hover {
    color: #080908 !important;

    background: #ffffff !important;

    border-color: #080908 !important;
}


/* Mostrar al pasar sobre la tarjeta */

@media (hover: hover) and (pointer: fine) {

    .barbas-product-card:hover
    .barbas-product-cart {
        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }

}


/* =========================================================
   PRODUCT INFO
   ========================================================= */

.barbas-product-info {
    flex: 1;

    padding:
        20px
        18px
        22px;

    background: #ffffff;
}


/* =========================================================
   PRODUCT NAME
   ========================================================= */

.barbas-product-title {
    margin: 0;

    color: #080908;

    font-size: 18px;
    font-weight: 800;

    line-height: 1.25;

    letter-spacing: -.015em;
}


.barbas-product-title a {
    color: inherit;

    text-decoration: none;
}


.barbas-product-title a:hover {
    opacity: .60;
}


/* =========================================================
   PRICE
   ========================================================= */

.barbas-product-price {
    margin-top: 9px;

    color: #080908;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.3;
}


.barbas-product-price del {
    margin-right: 7px;

    color:
        rgba(8,9,8,.40);

    font-weight: 500;
}


.barbas-product-price ins {
    color: #080908;

    font-weight: 800;

    text-decoration: none;
}


/* =========================================================
   FOOTER CTA
   ========================================================= */

.barbas-bestsellers-footer {
    display: none;

    margin-top: 30px;
}


/* =========================================================
   DESKTOP GRANDE
   ========================================================= */

@media (min-width: 1600px) {

    .barbas-bestsellers-grid {
        grid-template-columns:
            repeat(6, minmax(0, 1fr));

        gap: 18px;
    }

}


/* =========================================================
   LAPTOP
   ========================================================= */

@media
(min-width: 1025px)
and (max-width: 1599px) {

    .barbas-bestsellers-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET HORIZONTAL
   ========================================================= */

@media
(min-width: 900px)
and (max-width: 1024px)
and (orientation: landscape) {

    .barbas-bestsellers-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .barbas-bestsellers-all-desktop {
        display: none;
    }


    .barbas-bestsellers-footer {
        display: flex;
        justify-content: center;
    }

}


/* =========================================================
   TABLET VERTICAL
   ========================================================= */

@media
(min-width: 768px)
and (max-width: 899px),
(min-width: 768px)
and (max-width: 1024px)
and (orientation: portrait) {

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

        gap: 18px;
    }


    .barbas-bestsellers-all-desktop {
        display: none;
    }


    .barbas-bestsellers-footer {
        display: flex;
        justify-content: center;
    }


    .barbas-bestsellers-footer
    .barbas-bestsellers-all {
        width: 100%;

        max-width: 520px;

        justify-content: space-between;
    }

}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none), (pointer: coarse) {

    .barbas-product-cart {
        opacity: 1;
        visibility: visible;

        transform: none;

        left: 9px;
        right: 9px;
        bottom: 9px;

        min-height: 42px;

        padding:
            0
            11px !important;

        font-size: 13px !important;

        border-radius: 12px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .barbas-bestsellers {
        padding:
            48px
            0
            52px;
    }


    .barbas-bestsellers
    > .barbas-container-wide {
        width:
            calc(100% - 32px);

        margin-inline: auto;
    }


    .barbas-bestsellers-header {
        display: block;

        margin-bottom: 25px;
    }


    .barbas-bestsellers-eyebrow {
        font-size: 16px;
    }


    .barbas-bestsellers-title {
        font-size:
            clamp(36px, 10vw, 48px);
    }


    .barbas-bestsellers-all-desktop {
        display: none;
    }


    /* 2 PRODUCTOS */

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

        gap: 12px;
    }


    .barbas-product-image-primary,
    .barbas-product-image-secondary {
        padding: 8px;
    }


    .barbas-product-info {
        padding:
            15px
            12px
            17px;
    }


    /*
     * Tipografía obligatoria 18px.
     */

    .barbas-product-title,
    .barbas-product-price {
        font-size: 18px;
    }


    .barbas-product-title {
        line-height: 1.2;
    }


    .barbas-product-price {
        line-height: 1.25;
    }


    /*
     * Botón sobre imagen.
     */

    .barbas-product-cart {
        min-height: 48px;

        padding:
            0
            10px !important;

        font-size: 16px !important;

        border-radius: 12px !important;
    }


    .barbas-product-sale {
        top: 8px;
        right: 8px;

        min-height: 29px;

        padding-inline: 8px;

        border-radius: 15px;

        font-size: 12px;
    }


    .barbas-bestsellers-footer {
        display: block;

        margin-top: 28px;
    }


    .barbas-bestsellers-footer
    .barbas-bestsellers-all {

        width: 100%;

        min-height: 58px;

        justify-content: space-between;

        font-size: 18px;
    }

}


/* =========================================================
   MOBILE SMALL
   ========================================================= */

@media (max-width: 360px) {

    .barbas-bestsellers
    > .barbas-container-wide {
        width:
            calc(100% - 24px);
    }


    .barbas-bestsellers-grid {
        gap: 9px;
    }

}


/* =========================================================
   FOCUS
   ========================================================= */

.barbas-product-image-link:focus-visible,
.barbas-product-title a:focus-visible,
.barbas-product-cart:focus-visible,
.barbas-bestsellers-all:focus-visible {

    outline:
        2px solid var(--barbas-gold);

    outline-offset: 3px;
}

/* =========================================================
   BARBAS HATS
   18 — FILOSOFÍA
   DARK EDITORIAL
   ========================================================= */


/* =========================================================
   SECTION
   ========================================================= */

.barbas-philosophy {
    position: relative;

    width: 100%;

    min-height: 600px;

    display: flex;
    align-items: stretch;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 64% 45%,
            rgba(255,255,255,.07),
            transparent 35%
        ),
        #070807;

    color: #ffffff;

    border-top:
        1px solid rgba(255,255,255,.08);

    border-bottom:
        1px solid rgba(255,255,255,.10);

    isolation: isolate;
}


/* =========================================================
   AQUÍ COLOCAREMOS DESPUÉS LA FOTO REAL
   ========================================================= */

.barbas-philosophy::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -2;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    /*
     * CUANDO ME PASES LA IMAGEN:
     *
     * background-image:
     * url("URL-DE-LA-IMAGEN.webp");
     */
}


/* =========================================================
   OVERLAY
   ========================================================= */

.barbas-philosophy-overlay {
    position: absolute;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(5,6,5,.98) 0%,
            rgba(5,6,5,.94) 27%,
            rgba(5,6,5,.58) 48%,
            rgba(5,6,5,.28) 67%,
            rgba(5,6,5,.88) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.12) 0%,
            rgba(0,0,0,.18) 100%
        );
}


/* =========================================================
   CONTAINER
   ========================================================= */

.barbas-philosophy
> .barbas-container-wide {
    width: 100%;

    display: flex;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.barbas-philosophy-layout {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(440px, 1.05fr)
        minmax(300px, .85fr)
        minmax(180px, .36fr);

    align-items: stretch;

    gap:
        clamp(30px, 3.5vw, 70px);

    padding:
        clamp(65px, 6vw, 100px)
        0;
}


/* =========================================================
   COPY
   ========================================================= */

.barbas-philosophy-copy {
    align-self: center;

    max-width: 720px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.barbas-philosophy-eyebrow {
    display: block;

    margin-bottom: 14px;

    color: var(--barbas-gold);

    font-size: 16px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: .15em;

    text-transform: uppercase;
}


/* =========================================================
   TITLE
   ========================================================= */

.barbas-philosophy-title {
    max-width: 700px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(48px, 4vw, 76px);

    font-weight: 900;

    line-height: .92;

    letter-spacing: -.05em;

    text-transform: uppercase;
}


.barbas-philosophy-title span {
    display: block;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.barbas-philosophy-description {
    max-width: 680px;

    margin-top: 26px;
}


.barbas-philosophy-description p {
    margin:
        0
        0
        18px;

    color:
        rgba(255,255,255,.72);

    font-size: 18px;
    font-weight: 500;

    line-height: 1.55;
}


.barbas-philosophy-description p:last-child {
    margin-bottom: 0;
}


.barbas-philosophy-description strong {
    color: #ffffff;

    font-weight: 700;
}


/* =========================================================
   VISUAL CENTRAL
   ========================================================= */

.barbas-philosophy-visual {
    position: relative;

    min-width: 0;
    min-height: 420px;
}


/* =========================================================
   STATS
   ========================================================= */

.barbas-philosophy-stats {
    align-self: center;

    display: flex;
    flex-direction: column;

    gap: 42px;

    padding-left:
        clamp(24px, 2vw, 38px);

    border-left:
        1px solid rgba(255,255,255,.18);
}


/* =========================================================
   STAT
   ========================================================= */

.barbas-philosophy-stat {
    display: flex;
    flex-direction: column;
}


.barbas-philosophy-stat strong {
    display: block;

    color: #ffffff;

    font-size:
        clamp(52px, 4vw, 76px);

    font-weight: 900;

    line-height: .9;

    letter-spacing: -.05em;
}


.barbas-philosophy-stat span {
    display: block;

    margin-top: 12px;

    color:
        rgba(255,255,255,.72);

    font-size: 18px;
    font-weight: 700;

    line-height: 1.25;

    letter-spacing: .04em;

    text-transform: uppercase;
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media
(min-width: 1025px)
and (max-width: 1366px) {

    .barbas-philosophy {
        min-height: 620px;
    }


    .barbas-philosophy-layout {
        grid-template-columns:
            minmax(390px, 1fr)
            minmax(220px, .6fr)
            minmax(170px, .34fr);

        gap: 32px;

        padding:
            64px
            0;
    }


    .barbas-philosophy-title {
        font-size:
            clamp(46px, 4.5vw, 62px);
    }


    .barbas-philosophy-description p {
        font-size: 18px;
    }


    .barbas-philosophy-stat strong {
        font-size:
            clamp(48px, 5vw, 64px);
    }


    .barbas-philosophy-stat span {
        font-size: 18px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media
(min-width: 768px)
and (max-width: 1024px) {

    .barbas-philosophy {
        min-height: auto;
    }


    .barbas-philosophy
    > .barbas-container-wide {
        width:
            calc(100% - 64px);

        margin-inline: auto;
    }


    .barbas-philosophy-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(180px, .35fr);

        gap: 40px;

        padding:
            64px
            0;
    }


    .barbas-philosophy-copy {
        grid-column:
            1 / 2;
    }


    /*
     * La foto de fondo ocupa toda la sección,
     * así que eliminamos la columna visual.
     */

    .barbas-philosophy-visual {
        display: none;
    }


    .barbas-philosophy-stats {
        grid-column:
            2 / 3;

        align-self: center;
    }


    .barbas-philosophy-title {
        font-size:
            clamp(48px, 7vw, 68px);
    }


    .barbas-philosophy-description p {
        font-size: 18px;
    }


    .barbas-philosophy-stat span {
        font-size: 18px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .barbas-philosophy {
        min-height: auto;
    }


    .barbas-philosophy
    > .barbas-container-wide {
        width:
            calc(100% - 40px);

        margin-inline: auto;
    }


    .barbas-philosophy-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5,6,5,.95) 0%,
                rgba(5,6,5,.87) 65%,
                rgba(5,6,5,.97) 100%
            );
    }


    .barbas-philosophy-layout {
        display: block;

        padding:
            50px
            0;
    }


    .barbas-philosophy-copy {
        max-width: none;
    }


    .barbas-philosophy-eyebrow {
        font-size: 15px;
    }


    .barbas-philosophy-title {
        max-width: 100%;

        font-size:
            clamp(40px, 11vw, 54px);

        line-height: .93;
    }


    .barbas-philosophy-description {
        max-width: none;

        margin-top: 23px;
    }


    /*
     * Párrafo mantiene 18px.
     */

    .barbas-philosophy-description p {
        font-size: 18px;

        line-height: 1.55;
    }


    .barbas-philosophy-visual {
        display: none;
    }


    /* =========================================
       MÉTRICAS MOBILE
       ========================================= */

    .barbas-philosophy-stats {
        width: 100%;

        margin-top: 38px;
        padding: 30px 0 0;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;

        border-left: 0;

        border-top:
            1px solid rgba(255,255,255,.18);
    }


    .barbas-philosophy-stat + .barbas-philosophy-stat {
        padding-left: 20px;

        border-left:
            1px solid rgba(255,255,255,.18);
    }


    .barbas-philosophy-stat strong {
        font-size:
            clamp(46px, 14vw, 60px);
    }


    .barbas-philosophy-stat span {
        margin-top: 10px;

        font-size: 18px;
    }

}


/* =========================================================
   MOBILE SMALL
   ========================================================= */

@media (max-width: 390px) {

    .barbas-philosophy
    > .barbas-container-wide {
        width:
            calc(100% - 32px);
    }


    .barbas-philosophy-title {
        font-size: 39px;
    }

}

/* =========================================================
   BARBAS HATS
   FILOSOFÍA — AJUSTE FINAL
   BACKGROUND + MÁRGENES LATERALES
   ========================================================= */


/* =========================================================
   IMAGEN DE FONDO DEFINITIVA
   ========================================================= */

.barbas-philosophy::before {
    background-image:
        url("https://elbarbashats.com.mx/wp-content/uploads/2026/09/Filosofia.webp");

    background-size: cover;

    background-repeat: no-repeat;

    background-position: center center;
}


/* =========================================================
   CONTENEDOR GENERAL
   EVITAR CONTENIDO PEGADO A LOS BORDES
   ========================================================= */

.barbas-philosophy > .barbas-container-wide {
    width: min(
        1680px,
        calc(100% - 96px)
    );

    margin-left: auto;
    margin-right: auto;

    display: flex;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 1367px) {

    .barbas-philosophy-layout {
        grid-template-columns:
            minmax(480px, 1.05fr)
            minmax(300px, .8fr)
            minmax(190px, .34fr);

        gap:
            clamp(42px, 4vw, 74px);
    }


    .barbas-philosophy-copy {
        max-width: 720px;
    }


    .barbas-philosophy-description {
        max-width: 690px;
    }


    .barbas-philosophy-stats {
        padding-left: 34px;

        padding-right: 10px;
    }

}


/* =========================================================
   LAPTOP
   ========================================================= */

@media
(min-width: 1025px)
and (max-width: 1366px) {

    .barbas-philosophy > .barbas-container-wide {
        width: calc(100% - 72px);
    }


    .barbas-philosophy-layout {
        grid-template-columns:
            minmax(390px, 1fr)
            minmax(220px, .55fr)
            minmax(175px, .34fr);

        gap: 34px;
    }


    .barbas-philosophy-copy {
        max-width: 610px;
    }


    .barbas-philosophy-description {
        max-width: 590px;
    }


    .barbas-philosophy-stats {
        padding-left: 28px;

        padding-right: 4px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media
(min-width: 768px)
and (max-width: 1024px) {

    .barbas-philosophy > .barbas-container-wide {
        width: calc(100% - 64px);

        margin-left: auto;
        margin-right: auto;
    }


    .barbas-philosophy-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(180px, .35fr);

        gap: 42px;
    }


    .barbas-philosophy-copy {
        max-width: none;
    }


    .barbas-philosophy-description {
        max-width: none;
    }


    .barbas-philosophy-stats {
        padding-left: 26px;
        padding-right: 0;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .barbas-philosophy > .barbas-container-wide {
        width: calc(100% - 40px);

        margin-left: auto;
        margin-right: auto;
    }


    .barbas-philosophy-layout {
        width: 100%;
    }


    .barbas-philosophy-copy {
        width: 100%;
    }


    .barbas-philosophy-title {
        width: 100%;

        max-width: 100%;
    }


    .barbas-philosophy-description {
        width: 100%;

        max-width: 100%;
    }


    .barbas-philosophy-description p {
        font-size: 18px;

        line-height: 1.55;
    }


    .barbas-philosophy-stats {
        width: 100%;
    }

}


/* =========================================================
   MOBILE PEQUEÑO
   ========================================================= */

@media (max-width: 390px) {

    .barbas-philosophy > .barbas-container-wide {
        width: calc(100% - 32px);
    }

}


/* =========================================================
   BARBAS HATS
   20 — NUESTRO OBJETIVO
   DARK EDITORIAL
   ========================================================= */


/* =========================================================
   SECCIÓN
   ========================================================= */

.barbas-objective {
    position: relative;

    width: 100%;

    background: #080908;

    color: #ffffff;

    border-bottom:
        1px solid rgba(255,255,255,.10);
}


/* =========================================================
   HERO SUPERIOR
   ========================================================= */

.barbas-objective-hero {
    position: relative;

    min-height: 440px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-color: #080908;

    /*
     * IMAGEN TEMPORAL.
     * Cuando tengamos la específica de esta sección
     * reemplazamos únicamente esta URL.
     */

    background-image:
    url("https://elbarbashats.com.mx/wp-content/uploads/2026/09/Nuestro-objetivo.webp");

    background-size: cover;
    background-repeat: no-repeat;

    background-position:
        center center;

    isolation: isolate;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.barbas-objective-hero-overlay {
    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(4,5,4,.96) 0%,
            rgba(4,5,4,.88) 30%,
            rgba(4,5,4,.48) 52%,
            rgba(4,5,4,.18) 72%,
            rgba(4,5,4,.42) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.15),
            rgba(0,0,0,.38)
        );
}


/* =========================================================
   CONTAINER HERO
   ========================================================= */

.barbas-objective-hero
> .barbas-container-wide {
    position: relative;

    z-index: 2;

    width: min(
        1680px,
        calc(100% - 96px)
    );

    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;

    padding:
        60px
        0;
}


/* =========================================================
   COPY
   ========================================================= */

.barbas-objective-copy {
    width: min(720px, 53%);
}


/* =========================================================
   EYEBROW
   ========================================================= */

.barbas-objective-eyebrow {
    display: block;

    margin-bottom: 13px;

    color: var(--barbas-gold);

    font-size: 16px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: .15em;

    text-transform: uppercase;
}


/* =========================================================
   TITLE
   ========================================================= */

.barbas-objective-title {
    max-width: 720px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(48px, 4vw, 72px);

    font-weight: 900;

    line-height: .92;

    letter-spacing: -.05em;

    text-transform: uppercase;
}


.barbas-objective-title span {
    display: block;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.barbas-objective-description {
    max-width: 640px;

    margin:
        22px
        0
        0;

    color:
        rgba(255,255,255,.72);

    font-size: 18px;
    font-weight: 500;

    line-height: 1.5;
}


/* =========================================================
   BUTTON
   ========================================================= */

.barbas-objective-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    min-height: 54px;

    margin-top: 26px;

    padding:
        0
        22px;

    color: #080908;

    background: #ffffff;

    border:
        1px solid #ffffff;

    font-size: 18px;
    font-weight: 800;

    line-height: 1;

    text-transform: uppercase;

    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;
}


.barbas-objective-button:hover {
    color: #ffffff;

    background: transparent;

    transform:
        translateY(-2px);
}


/* =========================================================
   MANIFIESTO DERECHA
   ========================================================= */

.barbas-objective-manifesto {
    flex: 0 0 auto;

    margin-right:
        clamp(15px, 4vw, 70px);

    display: flex;
    flex-direction: column;

    color:
        rgba(255,255,255,.82);

    font-size:
        clamp(29px, 2.4vw, 46px);

    font-weight: 500;

    font-style: italic;

    line-height: .96;

    letter-spacing: -.04em;

    text-transform: uppercase;

    transform:
        rotate(-7deg);
}


/* =========================================================
   PILARES
   ========================================================= */

.barbas-objective-pillars {
    background: #080908;

    border-top:
        1px solid rgba(255,255,255,.11);
}


/* =========================================================
   GRID PILARES
   ========================================================= */

.barbas-objective-pillars-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}


/* =========================================================
   PILLAR
   ========================================================= */

.barbas-objective-pillar {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;

    padding:
        34px
        clamp(28px, 3vw, 58px)
        38px;

    text-align: center;

    border-right:
        1px solid rgba(255,255,255,.12);
}


.barbas-objective-pillar:last-child {
    border-right: 0;
}


/* =========================================================
   ICON
   ========================================================= */

.barbas-objective-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    color:
        var(--barbas-gold);
}


.barbas-objective-icon svg {
    display: block;

    width: 38px;
    height: 38px;

    stroke: currentColor;

    stroke-width: 1.65;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   PILLAR TITLE
   ========================================================= */

.barbas-objective-pillar h3 {
    margin: 0;

    color:
        var(--barbas-gold);

    font-size: 20px;
    font-weight: 800;

    line-height: 1.2;

    text-transform: uppercase;
}


.barbas-objective-pillar h3 span {
    margin-right: 4px;
}


/* =========================================================
   PILLAR DESCRIPTION
   ========================================================= */

.barbas-objective-pillar p {
    max-width: 470px;

    margin:
        10px
        0
        0;

    color:
        rgba(255,255,255,.68);

    font-size: 18px;
    font-weight: 500;

    line-height: 1.45;
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media
(min-width: 1025px)
and (max-width: 1366px) {

    .barbas-objective-hero
    > .barbas-container-wide {
        width:
            calc(100% - 72px);

        gap: 40px;
    }


    .barbas-objective-copy {
        width: 58%;
    }


    .barbas-objective-title {
        font-size:
            clamp(46px, 4.5vw, 60px);
    }


    .barbas-objective-description {
        font-size: 18px;
    }


    .barbas-objective-button {
        font-size: 18px;
    }


    .barbas-objective-pillar {
        padding:
            30px
            24px
            34px;
    }


    .barbas-objective-pillar p {
        font-size: 18px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media
(min-width: 768px)
and (max-width: 1024px) {

    .barbas-objective-hero {
        min-height: 500px;
    }


    .barbas-objective-hero
    > .barbas-container-wide {
        width:
            calc(100% - 64px);

        gap: 30px;
    }


    .barbas-objective-copy {
        width: 68%;
    }


    .barbas-objective-title {
        font-size:
            clamp(46px, 7vw, 64px);
    }


    .barbas-objective-description {
        font-size: 18px;
    }


    .barbas-objective-manifesto {
        font-size:
            clamp(25px, 3.8vw, 36px);
    }


    /*
     * PILARES
     */

    .barbas-objective-pillars-grid {
        grid-template-columns:
            1fr;
    }


    .barbas-objective-pillar {
        display: grid;

        grid-template-columns:
            60px
            minmax(190px, .65fr)
            minmax(0, 1fr);

        align-items: center;

        gap: 22px;

        padding:
            26px
            30px;

        text-align: left;

        border-right: 0;

        border-bottom:
            1px solid rgba(255,255,255,.11);
    }


    .barbas-objective-pillar:last-child {
        border-bottom: 0;
    }


    .barbas-objective-icon {
        margin: 0;
    }


    .barbas-objective-pillar p {
        margin: 0;

        font-size: 18px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .barbas-objective-hero {
        min-height: 610px;

        align-items: flex-end;

        background-position:
            65% center;
    }


    .barbas-objective-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5,6,5,.22) 0%,
                rgba(5,6,5,.48) 38%,
                rgba(5,6,5,.91) 70%,
                rgba(5,6,5,.99) 100%
            );
    }


    .barbas-objective-hero
    > .barbas-container-wide {
        width:
            calc(100% - 40px);

        margin-inline: auto;

        display: block;

        padding:
            48px
            0;
    }


    .barbas-objective-copy {
        width: 100%;
    }


    .barbas-objective-eyebrow {
        font-size: 15px;
    }


    .barbas-objective-title {
        max-width: 100%;

        font-size:
            clamp(40px, 11vw, 54px);

        line-height: .92;
    }


    .barbas-objective-description {
        max-width: 100%;

        font-size: 18px;

        line-height: 1.5;
    }


    .barbas-objective-button {
        width: 100%;

        min-height: 56px;

        justify-content: space-between;

        font-size: 18px;
    }


    /*
     * MANIFIESTO:
     * desaparece en móvil para no competir
     * con el contenido principal.
     */

    .barbas-objective-manifesto {
        display: none;
    }


    /* =====================================================
       PILLARS MOBILE
       ===================================================== */

    .barbas-objective-pillars-grid {
        grid-template-columns:
            1fr;
    }


    .barbas-objective-pillar {
        align-items: flex-start;

        padding:
            32px
            20px;

        text-align: left;

        border-right: 0;

        border-bottom:
            1px solid rgba(255,255,255,.11);
    }


    .barbas-objective-pillar:last-child {
        border-bottom: 0;
    }


    .barbas-objective-icon {
        width: 52px;
        height: 52px;

        margin-bottom: 13px;
    }


    .barbas-objective-icon svg {
        width: 40px;
        height: 40px;
    }


    .barbas-objective-pillar h3 {
        font-size: 20px;
    }


    .barbas-objective-pillar p {
        max-width: none;

        font-size: 18px;

        line-height: 1.5;
    }

}


/* =========================================================
   MOBILE SMALL
   ========================================================= */

@media (max-width: 390px) {

    .barbas-objective-hero
    > .barbas-container-wide {
        width:
            calc(100% - 32px);
    }


    .barbas-objective-title {
        font-size: 39px;
    }

}

/* =========================================================
   BARBAS HATS
   22 — FAQ + NEWSLETTER
   ========================================================= */


/* =========================================================
   SECCIÓN
   ========================================================= */

.barbas-faq-newsletter {
    position: relative;

    width: 100%;

    padding:
        clamp(58px, 5vw, 90px)
        0;

    background: #080908;

    color: #ffffff;

    border-top:
        1px solid rgba(255,255,255,.09);

    border-bottom:
        1px solid rgba(255,255,255,.10);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.barbas-faq-newsletter
> .barbas-container-wide {
    width:
        min(
            1680px,
            calc(100% - 96px)
        );

    margin-inline: auto;
}


/* =========================================================
   GRID
   ========================================================= */

.barbas-faq-newsletter-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(420px, .75fr);

    gap:
        clamp(30px, 3vw, 52px);

    align-items: stretch;
}


/* =========================================================
   FAQ HEADER
   ========================================================= */

.barbas-faq-header {
    margin-bottom: 24px;
}


.barbas-faq-eyebrow {
    display: block;

    margin-bottom: 11px;

    color: var(--barbas-gold);

    font-size: 16px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: .14em;

    text-transform: uppercase;
}


.barbas-faq-title {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(38px, 3.2vw, 58px);

    font-weight: 900;

    line-height: .95;

    letter-spacing: -.045em;

    text-transform: uppercase;
}


.barbas-faq-title span {
    color:
        rgba(255,255,255,.42);
}


/* =========================================================
   FAQ LIST
   ========================================================= */

.barbas-faq-list {
    width: 100%;

    border-top:
        1px solid rgba(255,255,255,.16);
}


/* =========================================================
   FAQ ITEM
   ========================================================= */

.barbas-faq-item {
    width: 100%;

    border-bottom:
        1px solid rgba(255,255,255,.16);
}


/* Quitar marcador nativo */

.barbas-faq-item summary {
    list-style: none;
}


.barbas-faq-item summary::-webkit-details-marker {
    display: none;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.barbas-faq-item summary {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    min-height: 82px;

    padding:
        20px
        4px;

    cursor: pointer;

    color: #ffffff;

    transition:
        color .25s ease;
}


.barbas-faq-item summary:hover {
    color: var(--barbas-gold);
}


/* =========================================================
   QUESTION
   ========================================================= */

.barbas-faq-question {
    font-size: 20px;
    font-weight: 800;

    line-height: 1.3;
}


/* =========================================================
   + / -
   ========================================================= */

.barbas-faq-toggle {
    position: relative;

    flex:
        0
        0
        32px;

    width: 32px;
    height: 32px;
}


.barbas-faq-toggle::before,
.barbas-faq-toggle::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 18px;
    height: 2px;

    background: currentColor;

    transform:
        translate(-50%, -50%);

    transition:
        transform .25s ease,
        opacity .25s ease;
}


.barbas-faq-toggle::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}


.barbas-faq-item[open]
.barbas-faq-toggle::after {
    opacity: 0;

    transform:
        translate(-50%, -50%)
        rotate(0deg);
}


/* =========================================================
   RESPUESTA
   ========================================================= */

.barbas-faq-answer {
    padding:
        0
        52px
        26px
        4px;
}


.barbas-faq-answer p {
    max-width: 850px;

    margin: 0;

    color:
        rgba(255,255,255,.67);

    font-size: 18px;
    font-weight: 500;

    line-height: 1.55;
}


/* =========================================================
   NEWSLETTER
   ========================================================= */

.barbas-newsletter {
    position: relative;

    min-width: 0;

    display: flex;
    align-items: stretch;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 92% 22%,
            rgba(210,153,45,.18),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #101110,
            #070807
        );

    border:
        1px solid rgba(255,255,255,.16);

    isolation: isolate;
}


/* =========================================================
   EFECTO DE FONDO
   ========================================================= */

.barbas-newsletter::after {
    content: "";

    position: absolute;

    right: -110px;
    bottom: -170px;

    z-index: -1;

    width: 430px;
    height: 430px;

    border:
        1px solid rgba(255,255,255,.045);

    border-radius: 50%;
}


.barbas-newsletter-glow {
    position: absolute;

    top: -100px;
    right: -100px;

    width: 320px;
    height: 320px;

    background:
        radial-gradient(
            circle,
            rgba(210,153,45,.13),
            transparent 68%
        );

    pointer-events: none;
}


/* =========================================================
   NEWSLETTER CONTENT
   ========================================================= */

.barbas-newsletter-content {
    position: relative;

    z-index: 2;

    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        clamp(34px, 3.2vw, 58px);
}


/* =========================================================
   NEWSLETTER EYEBROW
   ========================================================= */

.barbas-newsletter-eyebrow {
    display: block;

    margin-bottom: 13px;

    color: var(--barbas-gold);

    font-size: 16px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: .14em;

    text-transform: uppercase;
}


/* =========================================================
   NEWSLETTER TITLE
   ========================================================= */

.barbas-newsletter-title {
    max-width: 620px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(42px, 3.4vw, 64px);

    font-weight: 900;

    line-height: .92;

    letter-spacing: -.05em;

    text-transform: uppercase;
}


.barbas-newsletter-title span {
    display: block;
}


/* =========================================================
   NEWSLETTER DESCRIPTION
   ========================================================= */

.barbas-newsletter-description {
    max-width: 600px;

    margin:
        20px
        0
        0;

    color:
        rgba(255,255,255,.68);

    font-size: 18px;
    font-weight: 500;

    line-height: 1.5;
}


/* =========================================================
   FORM
   ========================================================= */

.barbas-newsletter-form {
    margin-top: 28px;
}


.barbas-newsletter-field {
    display: flex;

    width: 100%;

    min-height: 58px;

    background: #ffffff;

    border-radius: 0;

    overflow: hidden;
}


/* =========================================================
   EMAIL
   ========================================================= */

.barbas-newsletter-email {
    flex: 1;

    min-width: 0;

    height: 58px;

    padding:
        0
        18px;

    color: #080908 !important;

    background: #ffffff !important;

    border: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;

    outline: 0;

    font-size: 18px !important;
    font-weight: 500;
}


.barbas-newsletter-email::placeholder {
    color:
        rgba(8,9,8,.50);
}


/* =========================================================
   SUBMIT
   ========================================================= */

.barbas-newsletter-submit {
    flex: 0 0 auto;

    min-height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    padding:
        0
        22px;

    color: #ffffff;

    background: #080908;

    border: 0;

    border-left:
        1px solid rgba(0,0,0,.12);

    border-radius: 0;

    font-size: 18px;
    font-weight: 800;

    line-height: 1;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease;
}


.barbas-newsletter-submit:hover {
    color: #080908;

    background: var(--barbas-gold);
}


/* =========================================================
   LEGAL
   ========================================================= */

.barbas-newsletter-legal {
    margin:
        12px
        0
        0;

    color:
        rgba(255,255,255,.43);

    font-size: 14px;
    font-weight: 500;

    line-height: 1.4;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.barbas-newsletter-hp {
    position: absolute !important;

    left: -9999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}


/* =========================================================
   MENSAJES
   ========================================================= */

.barbas-newsletter-message {
    margin-top: 22px;

    padding:
        14px
        16px;

    border:
        1px solid rgba(255,255,255,.18);

    font-size: 18px;
    line-height: 1.4;
}


.barbas-newsletter-message.is-success {
    color: #ffffff;

    border-color:
        rgba(210,153,45,.55);
}


.barbas-newsletter-message.is-error {
    color: #ffffff;

    border-color:
        rgba(255,255,255,.30);
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media
(min-width: 1025px)
and (max-width: 1366px) {

    .barbas-faq-newsletter
    > .barbas-container-wide {
        width:
            calc(100% - 72px);
    }


    .barbas-faq-newsletter-grid {
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(390px, .85fr);

        gap: 32px;
    }


    .barbas-faq-title {
        font-size:
            clamp(40px, 3.7vw, 52px);
    }


    .barbas-newsletter-title {
        font-size:
            clamp(40px, 3.8vw, 52px);
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media
(min-width: 768px)
and (max-width: 1024px) {

    .barbas-faq-newsletter
    > .barbas-container-wide {
        width:
            calc(100% - 64px);
    }


    .barbas-faq-newsletter-grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }


    .barbas-newsletter-content {
        padding: 42px;
    }


    .barbas-faq-question {
        font-size: 20px;
    }


    .barbas-faq-answer p,
    .barbas-newsletter-description,
    .barbas-newsletter-email,
    .barbas-newsletter-submit {
        font-size: 18px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .barbas-faq-newsletter {
        padding:
            48px
            0;
    }


    .barbas-faq-newsletter
    > .barbas-container-wide {
        width:
            calc(100% - 40px);

        margin-inline: auto;
    }


    .barbas-faq-newsletter-grid {
        grid-template-columns: 1fr;

        gap: 36px;
    }


    .barbas-faq-title {
        font-size:
            clamp(36px, 10vw, 46px);
    }


    .barbas-faq-item summary {
        min-height: 82px;

        gap: 16px;
    }


    .barbas-faq-question {
        font-size: 18px;
    }


    .barbas-faq-answer {
        padding:
            0
            8px
            25px
            0;
    }


    .barbas-faq-answer p {
        font-size: 18px;
    }


    /* =========================================
       NEWSLETTER
       ========================================= */

    .barbas-newsletter-content {
        padding:
            32px
            20px;
    }


    .barbas-newsletter-title {
        font-size:
            clamp(38px, 11vw, 50px);
    }


    .barbas-newsletter-description {
        font-size: 18px;
    }


    /*
     * Campo + botón apilados.
     */

    .barbas-newsletter-field {
        display: block;

        background: transparent;

        overflow: visible;
    }


    .barbas-newsletter-email {
        width: 100%;

        height: 56px;

        font-size: 18px !important;
    }


    .barbas-newsletter-submit {
        width: 100%;

        min-height: 56px;

        margin-top: 10px;

        justify-content: space-between;

        border:
            1px solid rgba(255,255,255,.18);

        font-size: 18px;
    }


    .barbas-newsletter-legal {
        font-size: 14px;
    }

}


/* =========================================================
   MOBILE SMALL
   ========================================================= */

@media (max-width: 390px) {

    .barbas-faq-newsletter
    > .barbas-container-wide {
        width:
            calc(100% - 32px);
    }

}


/* =========================================================
   BARBAS HATS
   24 — FOOTER
   DARK EDITORIAL
   ========================================================= */


/* =========================================================
   FOOTER
   ========================================================= */

.barbas-footer {
    position: relative;

    width: 100%;

    background: #050605;

    color: #ffffff;

    border-top:
        1px solid rgba(255,255,255,.10);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.barbas-footer
> .barbas-container-wide {
    width:
        min(
            1680px,
            calc(100% - 96px)
        );

    margin-inline: auto;
}


/* =========================================================
   GRID PRINCIPAL
   ========================================================= */

.barbas-footer-grid {
    display: grid;

    grid-template-columns:
        minmax(240px, 1.2fr)
        minmax(140px, .6fr)
        minmax(160px, .7fr)
        minmax(210px, .9fr)
        minmax(180px, .7fr);

    gap:
        clamp(32px, 4vw, 72px);

    align-items: start;

    padding:
        clamp(52px, 5vw, 82px)
        0
        clamp(44px, 4vw, 65px);
}


/* =========================================================
   MARCA
   ========================================================= */

.barbas-footer-brand {
    min-width: 0;
}


.barbas-footer-logo {
    display: inline-flex;

    align-items: center;

    width: auto;

    max-width: 190px;
}


.barbas-footer-logo img {
    display: block;

    width: auto;
    height: 72px;

    max-width: 100%;

    object-fit: contain;
}


.barbas-footer-brand-copy {
    margin:
        20px
        0
        0;

    color:
        rgba(255,255,255,.62);

    font-size: 18px;
    font-weight: 500;

    line-height: 1.45;

    text-transform: uppercase;
}


.barbas-footer-brand-line {
    display: block;

    width: 46px;
    height: 2px;

    margin-top: 22px;

    background:
        var(--barbas-gold);
}


/* =========================================================
   COLUMNAS
   ========================================================= */

.barbas-footer-column {
    min-width: 0;
}


.barbas-footer-column h2 {
    margin:
        0
        0
        18px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: .055em;

    text-transform: uppercase;
}


.barbas-footer-column ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


.barbas-footer-column li {
    margin: 0;
    padding: 0;
}


.barbas-footer-column li + li {
    margin-top: 11px;
}


.barbas-footer-column a {
    position: relative;

    display: inline-block;

    color:
        rgba(255,255,255,.58);

    font-size: 16px;
    font-weight: 500;

    line-height: 1.35;

    text-decoration: none;

    transition:
        color .22s ease,
        transform .22s ease;
}


.barbas-footer-column a:hover {
    color: #ffffff;

    transform:
        translateX(3px);
}


/* =========================================================
   MANIFIESTO
   ========================================================= */

.barbas-footer-manifesto {
    justify-self: end;

    display: flex;
    flex-direction: column;

    color:
        rgba(255,255,255,.80);

    font-size:
        clamp(22px, 1.7vw, 32px);

    font-weight: 800;

    line-height: .95;

    letter-spacing: -.035em;

    text-align: right;

    text-transform: uppercase;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.barbas-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 72px;

    padding:
        18px
        0;

    border-top:
        1px solid rgba(255,255,255,.10);
}


.barbas-footer-bottom p {
    margin: 0;

    color:
        rgba(255,255,255,.50);

    font-size: 18px;
    font-weight: 500;

    line-height: 1.5;

    text-align: center;
}


.barbas-footer-bottom a {
    color: #ffffff;

    font-weight: 700;

    text-decoration: none;

    transition:
        color .2s ease;
}


.barbas-footer-bottom a:hover {
    color:
        var(--barbas-gold);
}


.barbas-footer-separator {
    display: inline-block;

    margin:
        0
        8px;

    color:
        rgba(255,255,255,.25);
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media
(min-width: 1025px)
and (max-width: 1366px) {

    .barbas-footer
    > .barbas-container-wide {
        width:
            calc(100% - 72px);
    }


    .barbas-footer-grid {
        grid-template-columns:
            minmax(210px, 1fr)
            minmax(120px, .55fr)
            minmax(140px, .65fr)
            minmax(180px, .8fr)
            minmax(150px, .65fr);

        gap: 30px;
    }


    .barbas-footer-logo img {
        height: 62px;
    }


    .barbas-footer-brand-copy {
        font-size: 18px;
    }


    .barbas-footer-column h2 {
        font-size: 18px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media
(min-width: 768px)
and (max-width: 1024px) {

    .barbas-footer
    > .barbas-container-wide {
        width:
            calc(100% - 64px);
    }


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

        gap:
            42px
            50px;

        padding:
            56px
            0;
    }


    /*
     * Logo ocupa toda la primera fila.
     */

    .barbas-footer-brand {
        grid-column:
            1 / -1;
    }


    .barbas-footer-logo img {
        height: 68px;
    }


    /*
     * Manifesto debajo de menús.
     */

    .barbas-footer-manifesto {
        justify-self: start;

        text-align: left;
    }


    .barbas-footer-bottom p {
        font-size: 18px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .barbas-footer
    > .barbas-container-wide {
        width:
            calc(100% - 40px);

        margin-inline: auto;
    }


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

        gap:
            38px
            24px;

        padding:
            48px
            0
            42px;
    }


    /* =========================================
       LOGO
       ========================================= */

    .barbas-footer-brand {
        grid-column:
            1 / -1;

        padding-bottom: 8px;
    }


    .barbas-footer-logo {
        max-width: 165px;
    }


    .barbas-footer-logo img {
        height: 62px;
    }


    .barbas-footer-brand-copy {
        max-width: 280px;

        margin-top: 16px;

        font-size: 18px;
    }


    /* =========================================
       COLUMNAS
       ========================================= */

    .barbas-footer-column h2 {
        margin-bottom: 16px;

        font-size: 18px;
    }


    .barbas-footer-column a {
        font-size: 16px;
    }


    /*
     * Ayuda ocupa ancho completo porque tiene
     * más enlaces.
     */

    .barbas-footer-column:nth-of-type(3) {
        grid-column:
            1 / -1;
    }


    /* =========================================
       MANIFIESTO
       ========================================= */

    .barbas-footer-manifesto {
        grid-column:
            1 / -1;

        justify-self: start;

        padding-top: 4px;

        font-size: 27px;

        text-align: left;
    }


    /* =========================================
       COPYRIGHT
       ========================================= */

    .barbas-footer-bottom {
        min-height: auto;

        padding:
            24px
            0
            28px;
    }


    .barbas-footer-bottom p {
        width: 100%;

        font-size: 18px;

        line-height: 1.55;

        text-align: left;
    }

}


/* =========================================================
   MOBILE PEQUEÑO
   ========================================================= */

@media (max-width: 390px) {

    .barbas-footer
    > .barbas-container-wide {
        width:
            calc(100% - 32px);
    }


    .barbas-footer-grid {
        gap:
            34px
            18px;
    }

}


/* =========================================================
   FOCUS
   ========================================================= */

.barbas-footer a:focus-visible {
    outline:
        2px solid var(--barbas-gold);

    outline-offset: 4px;
}


/* ==========================================
   BARBAS HATS — BANNER DE LA TIENDA
   ========================================== */

.bh-shop-hero {
    /* Sustituir por la URL real del banner */
    --bh-banner-image: url("/wp-content/uploads/2026/09/hero-tienda-shop.webp");

    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 500px;
    margin: 0 0 36px;
    padding: 64px clamp(24px, 5vw, 80px);
    box-sizing: border-box;
    overflow: hidden;

    background-color: #090b0a;
    background-image: var(--bh-banner-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-bottom: 1px solid rgba(212, 175, 104, 0.25);
    color: #ffffff;
}

/* Capa oscura para facilitar la lectura */
.bh-shop-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.52) 48%,
        rgba(0, 0, 0, 0.16) 100%
    );
}

.bh-shop-hero .bh-shop-hero__content {
    width: 100%;
    max-width: 1280px;
    min-width: 0;
    margin: 0 auto;
    text-align: left;
}

.bh-shop-hero h1.bh-shop-hero__title {
    max-width: 950px;
    margin: 0 0 20px;
    padding: 0;

    font-family: var(
        --e-global-typography-primary-font-family,
        "Arial Narrow"
    ), Arial, sans-serif;
    font-size: clamp(38px, 5.5vw, 80px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    overflow-wrap: break-word;

    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

/* Migas de pan */
.bh-shop-hero .bh-shop-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;

    margin: 0;
    padding: 0;

    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
}

.bh-shop-hero .bh-shop-breadcrumb__item {
    min-width: 0;
    overflow-wrap: anywhere;
}

.bh-shop-hero .bh-shop-breadcrumb a {
    color: #e4e4e4;
    text-decoration: none;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.bh-shop-hero .bh-shop-breadcrumb a:hover {
    color: #dfbc79;
    text-decoration: underline;
}

.bh-shop-hero .bh-shop-breadcrumb a:focus-visible {
    outline: 2px solid #dfbc79;
    outline-offset: 4px;
    border-radius: 2px;
}

.bh-shop-hero .bh-breadcrumb-separator {
    color: #dfbc79;
}

/* Eliminar el espacio de una cabecera nativa vacía */
body.woocommerce-shop .woocommerce-products-header:empty {
    display: none;
}

/* Tablet */
@media (max-width: 1024px) {
    .bh-shop-hero {
        min-height: 290px;
        padding: 48px 32px;
    }
}

/* Móvil */
@media (max-width: 767px) {
    .bh-shop-hero {
        min-height: 240px;
        margin-bottom: 24px;
        padding: 40px 22px;
        background-position: 60% center;
    }

    .bh-shop-hero::before {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.84) 0%,
            rgba(0, 0, 0, 0.60) 65%,
            rgba(0, 0, 0, 0.35) 100%
        );
    }

    .bh-shop-hero h1.bh-shop-hero__title {
        margin-bottom: 16px;
        font-size: clamp(36px, 9vw, 52px);
        line-height: 1.08;
    }

    .bh-shop-hero .bh-shop-breadcrumb {
        gap: 6px 10px;
        font-size: 16px;
    }
}

/* =========================================
   BARBAS HATS — CATÁLOGO
   ========================================= */

body.bh-shop-page {
    background-color: #080a09;
}

.bh-catalog {
    --bh-gold: #d9b675;
    --bh-text: #f5f5f2;
    --bh-muted: #b7bbb7;
    --bh-border: #303632;

    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px 64px;
    box-sizing: border-box;

    color: var(--bh-text);
}

/* BARRA DE RESULTADOS Y ORDEN */

.bh-catalog .bh-catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin: 0 0 26px;
}

.bh-catalog .bh-catalog-toolbar .woocommerce-result-count {
    float: none;
    margin: 0;
    color: var(--bh-muted);
    font-size: 13px;
    line-height: 1.5;
}

.bh-catalog .bh-catalog-toolbar .woocommerce-ordering {
    float: none;
    margin: 0;
    max-width: 100%;
}

.bh-catalog .woocommerce-ordering select {
    width: 100%;
    min-height: 42px;
    max-width: 100%;
    margin: 0;
    padding: 10px 36px 10px 14px;

    border: 1px solid var(--bh-border);
    border-radius: 2px;
    background-color: #0d100e;
    color: var(--bh-text);
    color-scheme: dark;

    font-family: inherit;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
}

.bh-catalog .woocommerce-ordering select:focus-visible {
    outline: 2px solid var(--bh-gold);
    outline-offset: 3px;
}

/* CUADRÍCULA */

body.bh-shop-page .bh-catalog ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 20px;

    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Quitar los clearfix que interfieren con CSS Grid */
body.bh-shop-page .bh-catalog ul.products::before,
body.bh-shop-page .bh-catalog ul.products::after {
    content: none;
    display: none;
}

/* TARJETA */

body.bh-shop-page .bh-catalog ul.products li.product {
    position: relative;
    display: flex;
    flex-direction: column;
    float: none;
    clear: none;

    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 0 16px;
    box-sizing: border-box;

    overflow: hidden;
    border: 1px solid var(--bh-border);
    border-radius: 2px;
    background: #0b0e0c;

    text-align: left;
    transition: border-color 0.2s ease;
}

body.bh-shop-page .bh-catalog ul.products li.product:hover {
    border-color: var(--bh-gold);
}

/* ENLACE DE IMAGEN, TÍTULO Y PRECIO */

.bh-catalog ul.products li.product a.woocommerce-LoopProduct-link {
    display: block;
    min-width: 0;
    margin: 0 0 16px;

    color: var(--bh-text);
    text-decoration: none;
}

/* FOTOGRAFÍA */

body.bh-shop-page .bh-catalog ul.products li.product a img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;

    margin: 0 0 16px;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: radial-gradient(
        ellipse at center,
        #242a26 0%,
        #151a17 55%,
        #0c100e 100%
    );
}

/* NOMBRE: H2, CONSERVANDO EL H1 DEL BANNER */

body.bh-shop-page .bh-catalog ul.products li.product
.woocommerce-loop-product__title {
    min-height: 2.8em;
    margin: 0 14px 8px;
    padding: 0;

    color: var(--bh-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

/* PRECIOS */

body.bh-shop-page .bh-catalog ul.products li.product .price {
    display: block;
    margin: 0 14px;

    color: var(--bh-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.bh-catalog ul.products li.product .price del {
    display: inline-block;
    margin-inline-end: 6px;
    color: var(--bh-muted);
    font-size: 12px;
    opacity: 1;
}

.bh-catalog ul.products li.product .price ins {
    display: inline-block;
    background: transparent;
    color: var(--bh-gold);
    font-weight: 700;
    text-decoration: none;
}

.bh-catalog ul.products li.product .price .woocommerce-price-suffix {
    color: var(--bh-muted);
    font-size: 11px;
}

/* ETIQUETAS */

.bh-catalog ul.products li.product .bh-product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 7px;

    border: 1px solid var(--bh-gold);
    border-radius: 2px;
    background: #10120f;
    color: var(--bh-gold);

    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    pointer-events: none;
}

.bh-catalog ul.products li.product .bh-product-badge--soldout {
    border-color: #727872;
    color: #d5d8d5;
}

/* BOTÓN DE COMPRA NATIVO */

body.bh-shop-page .bh-catalog ul.products li.product .button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;

    width: auto;
    min-height: 42px;
    margin: auto 14px 0;
    padding: 10px 12px;
    box-sizing: border-box;

    border: 1px solid #737b74;
    border-radius: 2px;
    background: transparent;
    box-shadow: none;
    color: var(--bh-text);

    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    white-space: normal;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

body.bh-shop-page .bh-catalog ul.products li.product .button:hover {
    border-color: var(--bh-gold);
    background: var(--bh-gold);
    color: #10120f;
}

/* Estado de carga de WooCommerce */
body.bh-shop-page .bh-catalog ul.products li.product .button.loading {
    padding-right: 32px;
    opacity: 0.7;
}

/* Confirmación tras añadir al carrito */
body.bh-shop-page .bh-catalog ul.products li.product .button.added::after {
    margin-left: 8px;
}

.bh-catalog ul.products li.product a.added_to_cart {
    display: block;
    margin: 10px 14px 0;
    padding: 0;

    color: var(--bh-gold);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bh-catalog ul.products li.product a:focus-visible {
    outline: 2px solid var(--bh-gold);
    outline-offset: -3px;
}

/* PAGINACIÓN */

body.bh-shop-page .bh-catalog nav.woocommerce-pagination {
    margin: 40px 0 0;
    padding: 28px 0 0;
    border-top: 1px solid var(--bh-border);
    text-align: center;
}

body.bh-shop-page .bh-catalog nav.woocommerce-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;

    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    white-space: normal;
}

body.bh-shop-page .bh-catalog nav.woocommerce-pagination ul li {
    display: block;
    float: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: visible;
}

body.bh-shop-page .bh-catalog nav.woocommerce-pagination
ul li a.page-numbers,
body.bh-shop-page .bh-catalog nav.woocommerce-pagination
ul li span.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    box-sizing: border-box;

    border: 1px solid var(--bh-border);
    border-radius: 2px;
    background: #0c100d;
    color: var(--bh-text);

    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

body.bh-shop-page .bh-catalog nav.woocommerce-pagination
ul li span.current,
body.bh-shop-page .bh-catalog nav.woocommerce-pagination
ul li a:hover {
    border-color: var(--bh-gold);
    background: var(--bh-gold);
    color: #10120f;
}

body.bh-shop-page .bh-catalog nav.woocommerce-pagination
ul li span.dots {
    min-width: 28px;
    padding-inline: 4px;
    border-color: transparent;
    background: transparent;
    color: var(--bh-muted);
}

.bh-catalog nav.woocommerce-pagination a:focus-visible {
    outline: 2px solid var(--bh-gold);
    outline-offset: 3px;
}

/* TABLET */

@media (min-width: 768px) and (max-width: 1024px) {
    body.bh-shop-page .bh-catalog ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 16px;
    }
}

/* MÓVIL */

@media (max-width: 767px) {
    .bh-catalog {
        padding: 0 16px 40px;
    }

    .bh-catalog .bh-catalog-toolbar {
        align-items: stretch;
        gap: 12px;
        margin-bottom: 20px;
    }

    .bh-catalog .bh-catalog-toolbar .woocommerce-result-count,
    .bh-catalog .bh-catalog-toolbar .woocommerce-ordering {
        width: 100%;
    }

    body.bh-shop-page .bh-catalog ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }

    body.bh-shop-page .bh-catalog ul.products li.product {
        padding-bottom: 12px;
    }

    body.bh-shop-page .bh-catalog ul.products li.product
    .woocommerce-loop-product__title {
        margin-inline: 10px;
        font-size: 12px;
    }

    body.bh-shop-page .bh-catalog ul.products li.product .price {
        margin-inline: 10px;
        font-size: 13px;
    }

    body.bh-shop-page .bh-catalog ul.products li.product .button {
        min-height: 44px;
        margin-inline: 10px;
        padding: 9px 6px;
        font-size: 10px;
    }

    .bh-catalog ul.products li.product .bh-product-badge {
        top: 7px;
        right: 7px;
        font-size: 9px;
    }

    body.bh-shop-page .bh-catalog nav.woocommerce-pagination {
        margin-top: 28px;
        padding-top: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bh-catalog *,
    .bh-catalog *::before,
    .bh-catalog *::after {
        transition: none !important;
    }
}

/* =====================================================
   BARBAS HATS — ADAPTAR TARJETAS DE INICIO A LA TIENDA
   Añadir DESPUÉS del CSS anterior y de Más vendidos.
   ===================================================== */

/* Neutralizar la tarjeta negra anterior.
   La tarjeta blanca se dibuja dentro de este elemento. */
body.bh-shop-page .bh-catalog ul.products li.product {
    display: flex;
    flex-direction: column;

    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;

    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

body.bh-shop-page .bh-catalog ul.products li.product:hover {
    border: 0;
}

/* Reutilizar la tarjeta blanca */
.bh-catalog .barbas-product-card {
    width: 100%;
    height: 100%;
    min-width: 0;

    background: #ffffff;
    color: #080908;
    border-radius: 15px;
}

/* Mantener el padding dentro de cada capa de imagen */
.bh-catalog .barbas-product-image-primary,
.bh-catalog .barbas-product-image-secondary {
    box-sizing: border-box;
}

/* Anular el estilo de imagen del catálogo anterior */
body.bh-shop-page .bh-catalog ul.products li.product
.barbas-product-image-link img {
    display: block;

    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;

    margin: 0;
    padding: 0;

    object-fit: contain;
    object-position: center;

    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Nombre: respetar las mayúsculas del producto */
body.bh-shop-page .bh-catalog ul.products li.product
.barbas-product-title {
    margin: 0;
    padding: 0;

    color: #080908;
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.015em;
    text-transform: none;
    overflow-wrap: anywhere;
}

.bh-catalog .barbas-product-title a {
    color: inherit;
    text-decoration: none;
}

/* Precio normal y rebajado */
.bh-catalog .barbas-product-price {
    margin-top: 9px;
    color: #080908;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.bh-catalog .barbas-product-price del {
    display: inline-block;
    margin-right: 7px;

    color: rgba(8, 9, 8, 0.40);
    font-weight: 500;
    opacity: 1;
}

.bh-catalog .barbas-product-price ins {
    display: inline-block;

    background: transparent;
    color: #080908;
    font-weight: 800;
    text-decoration: none;
}

/* Botón: anular posición y márgenes del catálogo anterior */
body.bh-shop-page .bh-catalog ul.products li.product
.barbas-product-cart {
    position: absolute;
    z-index: 20;

    left: 14px;
    right: 14px;
    bottom: 14px;

    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    width: auto;
    min-height: 46px;
    margin: 0;
    padding: 12px 16px !important;
    box-sizing: border-box;

    border: 1px solid #080908 !important;
    border-radius: 15px !important;
    background: #080908 !important;
    color: #ffffff !important;
    box-shadow: none;

    font-family: inherit;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: left;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: normal;
}

/* Símbolo + a la derecha */
body.bh-shop-page .bh-catalog ul.products li.product
.barbas-product-cart::before {
    content: "+";
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
    font-family: inherit;
    font-weight: 800;
}

/* Hover del botón */
body.bh-shop-page .bh-catalog ul.products li.product
.barbas-product-cart:hover {
    border-color: #080908 !important;
    background: #ffffff !important;
    color: #080908 !important;
}

/* Respetar el indicador de carga y la confirmación de Woo */
body.bh-shop-page .bh-catalog ul.products li.product
.barbas-product-cart.loading {
    padding-right: 36px !important;
}

body.bh-shop-page .bh-catalog ul.products li.product
.barbas-product-cart.loading::before,
body.bh-shop-page .bh-catalog ul.products li.product
.barbas-product-cart.added::before {
    content: none;
}

/* Enlace que WooCommerce añade tras una compra por AJAX */
body.bh-shop-page .bh-catalog ul.products li.product
.barbas-product-media a.added_to_cart {
    position: absolute;
    z-index: 21;

    left: 14px;
    bottom: 68px;

    width: auto;
    margin: 0;
    padding: 7px 10px;

    border: 1px solid #080908;
    border-radius: 8px;
    background: #ffffff;
    color: #080908;

    font-size: 12px;
    line-height: 1.3;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Sin segunda imagen: la principal nunca desaparece */
.bh-catalog .barbas-product-card:not(.has-secondary-image)
.barbas-product-image-primary,
.bh-catalog .barbas-product-card:not(.has-secondary-image):hover
.barbas-product-image-primary {
    opacity: 1;
    transform: none;
}

/* Acceso con teclado: mostrar el botón al enfocar la tarjeta */
.bh-catalog .barbas-product-card:focus-within
.barbas-product-cart {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bh-catalog .barbas-product-card.has-secondary-image:focus-within
.barbas-product-image-primary {
    opacity: 0;
}

.bh-catalog .barbas-product-card.has-secondary-image:focus-within
.barbas-product-image-secondary {
    opacity: 1;
    transform: scale(1);
}

/* Foco visible sobre fondo blanco */
body.bh-shop-page .bh-catalog ul.products li.product
.barbas-product-card a:focus-visible {
    outline: 2px solid #997333;
    outline-offset: -3px;
}

/* En dispositivos táctiles, el botón permanece visible */
@media (hover: none), (pointer: coarse) {
    body.bh-shop-page .bh-catalog ul.products li.product
    .barbas-product-cart {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .bh-catalog .barbas-product-card:hover {
        transform: none;
    }
}

/* Móvil: conservar las dos columnas y texto de 18px */
@media (max-width: 767px) {
    body.bh-shop-page .bh-catalog ul.products li.product
    .barbas-product-cart {
        left: 9px;
        right: 9px;
        bottom: 9px;

        min-height: 48px;
        padding: 10px !important;

        font-size: 13px !important;
        border-radius: 12px !important;
    }

    .bh-catalog .barbas-product-info {
        padding: 15px 12px 17px;
    }

    .bh-catalog .barbas-product-title,
    .bh-catalog .barbas-product-price {
        font-size: 18px;
    }

    body.bh-shop-page .bh-catalog ul.products li.product
    .barbas-product-media a.added_to_cart {
        left: 9px;
        bottom: 65px;
    }
}

/* BARBAS HATS — Ficha individual v1.
   Añadir al FINAL de style.css. No eliminar los estilos anteriores. */

body.bh-pdp {
    --bh-pdp-gold: #d9b675;
    --bh-pdp-muted: #b8beb9;
    --bh-pdp-border: #303632;
    background: #080908;
    color: #f5f5f2;
}

.bh-pdp .bh-pdp-wrap {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 24px 64px;
    box-sizing: border-box;
}

.bh-pdp .bh-pdp-wrap .woocommerce-breadcrumb {
    margin: 0 0 30px;
    color: var(--bh-pdp-muted);
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.bh-pdp .bh-pdp-wrap .woocommerce-breadcrumb a { color: #f5f5f2; }
.bh-pdp .bh-pdp-wrap .woocommerce-breadcrumb a:hover { color: var(--bh-pdp-gold); }

/* GALERÍA Y RESUMEN */
.bh-pdp .bh-pdp-top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(28px, 4vw, 64px);
    margin: 0 0 52px;
}
.bh-pdp .bh-pdp-wrap div.product .bh-pdp-top > .images,
.bh-pdp .bh-pdp-wrap div.product .bh-pdp-top > .summary {
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    clear: none;
}
.bh-pdp .bh-pdp-top .woocommerce-product-gallery__wrapper { margin: 0; }
.bh-pdp .bh-pdp-top .woocommerce-product-gallery__image,
.bh-pdp .bh-pdp-top .woocommerce-product-gallery__image--placeholder {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
}
.bh-pdp .bh-pdp-top .woocommerce-product-gallery__image > a {
    display: block;
    background: #ffffff;
}
.bh-pdp .bh-pdp-top .woocommerce-product-gallery__image > a > img,
.bh-pdp .bh-pdp-top .woocommerce-product-gallery__image--placeholder > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin: 0;
    border: 0;
}
/* No se alteran los tamaños de la imagen que utiliza el zoom. */
.bh-pdp .bh-pdp-top .woocommerce-product-gallery .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 0;
    padding: 0;
}
.bh-pdp .bh-pdp-top .woocommerce-product-gallery .flex-control-thumbs li {
    float: none;
    width: auto;
    margin: 0;
    list-style: none;
}
.bh-pdp .bh-pdp-top .woocommerce-product-gallery .flex-control-thumbs li img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    box-sizing: border-box;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #ffffff;
    opacity: 0.65;
}
.bh-pdp .bh-pdp-top .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.bh-pdp .bh-pdp-top .woocommerce-product-gallery .flex-control-thumbs li img:hover {
    border-color: var(--bh-pdp-gold);
    opacity: 1;
}
.bh-pdp .bh-pdp-top .summary .product_title {
    margin: 0 0 18px;
    padding: 0;
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(32px, 3.6vw, 54px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
}
.bh-pdp .bh-pdp-sale {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0 0 14px;
    padding: 4px 12px;
    box-sizing: border-box;
    border: 1px solid var(--bh-pdp-gold);
    border-radius: 20px;
    color: var(--bh-pdp-gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.bh-pdp .bh-pdp-top .summary .price {
    margin: 0 0 22px;
    color: var(--bh-pdp-gold);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}
.bh-pdp .bh-pdp-top .summary .price del {
    margin-right: 8px;
    color: var(--bh-pdp-muted);
    font-size: 18px;
    font-weight: 400;
    opacity: 1;
}
.bh-pdp .bh-pdp-top .summary .price ins { background: none; text-decoration: none; }
.bh-pdp .bh-pdp-top .summary .woocommerce-product-rating { margin-bottom: 16px; }
.bh-pdp .bh-pdp-top .summary .star-rating,
.bh-pdp .bh-pdp-top .summary .woocommerce-review-link { color: var(--bh-pdp-gold); }
.bh-pdp .bh-pdp-top .woocommerce-product-details__short-description {
    margin-bottom: 24px;
    color: #dde1dd;
    font-size: 16px;
    line-height: 1.75;
}
.bh-pdp .bh-pdp-top .woocommerce-product-details__short-description ul { padding-left: 20px; }
.bh-pdp .bh-pdp-top .woocommerce-product-details__short-description li { margin-bottom: 7px; }
.bh-pdp .bh-pdp-top .stock { margin: 0 0 16px; font-size: 14px; }
.bh-pdp .bh-pdp-top .stock.in-stock { color: #89c79d; }
.bh-pdp .bh-pdp-top .stock.out-of-stock { color: #f09b95; }
.bh-pdp .bh-pdp-top .available-on-backorder { color: var(--bh-pdp-gold); }

/* COMPRA: formularios y validación nativos de WooCommerce */
.bh-pdp .bh-pdp-top .summary form.cart { margin: 24px 0 28px; }
.bh-pdp .bh-pdp-top .summary form.cart:not(.variations_form):not(.grouped_form),
.bh-pdp .bh-pdp-top .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
}
.bh-pdp .bh-pdp-top .summary form.cart > :not(.quantity):not(.single_add_to_cart_button) {
    flex-basis: 100%;
}
.bh-pdp .bh-pdp-top form.cart div.quantity {
    float: none;
    flex: 0 0 82px;
    margin: 0;
}
.bh-pdp .bh-pdp-top form.cart .quantity .qty {
    width: 82px;
    min-height: 52px;
    margin: 0;
    padding: 10px 6px 10px 12px;
    box-sizing: border-box;
    border: 1px solid #616b63;
    border-radius: 10px;
    background: #111611;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.4;
    text-align: center;
    color-scheme: dark;
}
.bh-pdp .bh-pdp-top form.cart .single_add_to_cart_button {
    float: none;
    flex: 1 1 180px;
    min-height: 52px;
    margin: 0;
    padding: 14px 24px;
    box-sizing: border-box;
    border: 1px solid var(--bh-pdp-gold);
    border-radius: 10px;
    background: var(--bh-pdp-gold);
    color: #080908;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
    transition: background-color 0.2s, color 0.2s;
}
.bh-pdp .bh-pdp-top form.cart .single_add_to_cart_button:hover {
    background: #f0d29a;
    color: #080908;
}
.bh-pdp .bh-pdp-top form.cart .single_add_to_cart_button:disabled,
.bh-pdp .bh-pdp-top form.cart .single_add_to_cart_button.disabled {
    background: #a38a5c;
    color: #080908;
    opacity: 0.55;
    cursor: not-allowed;
}
.bh-pdp .bh-pdp-top form.cart table.variations { margin-bottom: 20px; border: 0; }
.bh-pdp .bh-pdp-top form.cart table.variations th,
.bh-pdp .bh-pdp-top form.cart table.variations td {
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #f5f5f2;
    text-align: left;
}
.bh-pdp .bh-pdp-top form.cart table.variations th { padding-right: 12px; }
.bh-pdp .bh-pdp-top form.cart table.variations select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #616b63;
    border-radius: 8px;
    background: #111611;
    color: #ffffff;
    color-scheme: dark;
}
.bh-pdp .bh-pdp-top .reset_variations { color: var(--bh-pdp-gold); }
.bh-pdp .bh-pdp-top .woocommerce-variation-description { color: #dde1dd; }
.bh-pdp .bh-pdp-top .group_table td { background: transparent; color: #f5f5f2; padding: 12px 8px; }
.bh-pdp .bh-pdp-top .group_table a { color: var(--bh-pdp-gold); }
.bh-pdp .bh-pdp-top .product_meta {
    display: grid;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--bh-pdp-border);
    color: var(--bh-pdp-muted);
    font-size: 13px;
    line-height: 1.7;
}
.bh-pdp .bh-pdp-top .product_meta a { color: #f5f5f2; }
.bh-pdp .bh-pdp-top .product_meta a:hover { color: var(--bh-pdp-gold); }

/* PESTAÑAS Y VALORACIONES */
.bh-pdp .bh-pdp-wrap div.product .woocommerce-tabs { margin: 0 0 48px; }
.bh-pdp .bh-pdp-wrap div.product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 26px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--bh-pdp-border);
    overflow: visible;
}
.bh-pdp .bh-pdp-wrap div.product .woocommerce-tabs ul.tabs::before,
.bh-pdp .bh-pdp-wrap div.product .woocommerce-tabs ul.tabs li::before,
.bh-pdp .bh-pdp-wrap div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.bh-pdp .bh-pdp-wrap div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    border: 1px solid var(--bh-pdp-border);
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
}
.bh-pdp .bh-pdp-wrap div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 18px;
    color: #f5f5f2;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-shadow: none;
}
.bh-pdp .bh-pdp-wrap div.product .woocommerce-tabs ul.tabs li.active { border-color: var(--bh-pdp-gold); }
.bh-pdp .bh-pdp-wrap div.product .woocommerce-tabs ul.tabs li.active a { color: var(--bh-pdp-gold); }
.bh-pdp .bh-pdp-wrap .woocommerce-Tabs-panel { color: #dde1dd; font-size: 16px; line-height: 1.8; }
.bh-pdp .bh-pdp-wrap .woocommerce-Tabs-panel h2 { margin: 0 0 18px; color: #ffffff; font-size: 24px; }
.bh-pdp .bh-pdp-wrap .woocommerce-Tabs-panel table { width: 100%; border-color: var(--bh-pdp-border); }
.bh-pdp .bh-pdp-wrap .woocommerce-Tabs-panel table th,
.bh-pdp .bh-pdp-wrap .woocommerce-Tabs-panel table td { background: transparent; color: #dde1dd; border-color: var(--bh-pdp-border); }
.bh-pdp .bh-pdp-wrap #reviews #comments ol.commentlist li .comment-text { border-color: var(--bh-pdp-border); }
.bh-pdp .bh-pdp-wrap #reviews .meta { color: var(--bh-pdp-muted); }
.bh-pdp .bh-pdp-wrap #reviews .star-rating,
.bh-pdp .bh-pdp-wrap #reviews .stars a { color: var(--bh-pdp-gold); }
.bh-pdp .bh-pdp-wrap #review_form input:not([type="checkbox"]):not([type="submit"]),
.bh-pdp .bh-pdp-wrap #review_form textarea {
    max-width: 100%;
    padding: 12px;
    border: 1px solid #616b63;
    border-radius: 8px;
    background: #111611;
    color: #ffffff;
}
.bh-pdp .bh-pdp-wrap #review_form #respond .form-submit input {
    padding: 14px 24px;
    border: 1px solid var(--bh-pdp-gold);
    border-radius: 8px;
    background: var(--bh-pdp-gold);
    color: #080908;
    font-weight: 800;
}

/* RELACIONADOS: tarjetas blancas con imagen de galería al hacer hover */
.bh-pdp .bh-pdp-wrap .related,
.bh-pdp .bh-pdp-wrap .up-sells { margin-top: 42px; }
.bh-pdp .bh-pdp-wrap .related > h2,
.bh-pdp .bh-pdp-wrap .up-sells > h2 { margin: 0 0 26px; color: #ffffff; font-size: clamp(24px, 3vw, 36px); }
.bh-pdp .bh-pdp-wrap ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}
.bh-pdp .bh-pdp-wrap ul.products::before,
.bh-pdp .bh-pdp-wrap ul.products::after { content: none; display: none; }
.bh-pdp .bh-pdp-wrap ul.products li.product {
    float: none;
    clear: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    list-style: none;
}
.bh-pdp-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: #ffffff;
    color: #080908;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0,0,0,.16);
    transition: transform .3s, box-shadow .3s;
}
.bh-pdp-card-media { position: relative; width: 100%; aspect-ratio: 1 / 1; background: #ffffff; }
.bh-pdp-card-link { position: absolute; inset: 0; display: block; overflow: hidden; }
.bh-pdp-card-primary,
.bh-pdp-card-secondary {
    position: absolute;
    inset: 0;
    display: block;
    padding: 16px;
    box-sizing: border-box;
    transition: opacity .4s, transform .5s;
}
.bh-pdp-card-secondary { opacity: 0; transform: scale(1.035); }
.bh-pdp .bh-pdp-wrap ul.products li.product .bh-pdp-card-link img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: contain;
    background: transparent;
    box-shadow: none;
}
.bh-pdp-card-sale {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 15px;
    background: #080908;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}
.bh-pdp-card-info { flex: 1; padding: 20px 18px 22px; }
.bh-pdp .bh-pdp-wrap ul.products li.product .bh-pdp-card-title {
    margin: 0;
    padding: 0;
    color: #080908;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.015em;
    text-transform: none;
    overflow-wrap: anywhere;
}
.bh-pdp-card-title a { color: inherit; text-decoration: none; }
.bh-pdp-card-price { margin-top: 9px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.bh-pdp-card-price del { display: inline-block; margin-right: 7px; color: #929592; font-weight: 500; }
.bh-pdp-card-price ins { display: inline-block; color: #080908; background: none; font-weight: 800; text-decoration: none; }
.bh-pdp .bh-pdp-wrap ul.products li.product .bh-pdp-card-cart {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: auto;
    min-height: 46px;
    margin: 0;
    padding: 12px 16px;
    box-sizing: border-box;
    border: 1px solid #080908;
    border-radius: 15px;
    background: #080908;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s, visibility .25s, transform .25s, background-color .25s, color .25s;
}
.bh-pdp .bh-pdp-wrap ul.products li.product .bh-pdp-card-cart::before { content: "+"; order: 2; margin-left: auto; }
.bh-pdp .bh-pdp-wrap ul.products li.product .bh-pdp-card-cart:hover { background: #ffffff; color: #080908; }
.bh-pdp .bh-pdp-wrap ul.products li.product .bh-pdp-card-cart.loading { padding-right: 36px; }
.bh-pdp .bh-pdp-wrap ul.products li.product .bh-pdp-card-cart.loading::before,
.bh-pdp .bh-pdp-wrap ul.products li.product .bh-pdp-card-cart.added::before { content: none; }
.bh-pdp .bh-pdp-wrap ul.products li.product .bh-pdp-card-media a.added_to_cart {
    position: absolute;
    bottom: 70px;
    left: 14px;
    z-index: 11;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid #080908;
    border-radius: 8px;
    background: #ffffff;
    color: #080908;
    font-size: 12px;
    line-height: 1.3;
    text-decoration: underline;
}
@media (hover: hover) and (pointer: fine) {
    .bh-pdp-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
    .bh-pdp-card.has-secondary:hover .bh-pdp-card-primary { opacity: 0; }
    .bh-pdp-card.has-secondary:hover .bh-pdp-card-secondary { opacity: 1; transform: none; }
    .bh-pdp .bh-pdp-wrap ul.products li.product .bh-pdp-card:hover .bh-pdp-card-cart { opacity: 1; visibility: visible; transform: none; }
}
.bh-pdp-card.has-secondary:focus-within .bh-pdp-card-primary { opacity: 0; }
.bh-pdp-card.has-secondary:focus-within .bh-pdp-card-secondary { opacity: 1; transform: none; }
.bh-pdp .bh-pdp-wrap ul.products li.product .bh-pdp-card:focus-within .bh-pdp-card-cart { opacity: 1; visibility: visible; transform: none; }
.bh-pdp .bh-pdp-wrap a:focus-visible,
.bh-pdp .bh-pdp-wrap button:focus-visible,
.bh-pdp .bh-pdp-wrap input:focus-visible,
.bh-pdp .bh-pdp-wrap select:focus-visible,
.bh-pdp .bh-pdp-wrap textarea:focus-visible { outline: 2px solid var(--bh-pdp-gold); outline-offset: 3px; }
.bh-pdp-card a:focus-visible { outline-offset: -3px !important; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .bh-pdp .bh-pdp-top { gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .bh-pdp .bh-pdp-wrap ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .bh-pdp .bh-pdp-wrap { padding: 20px 16px 44px; }
    .bh-pdp .bh-pdp-wrap .woocommerce-breadcrumb { margin-bottom: 20px; font-size: 12px; }
    .bh-pdp .bh-pdp-top { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 36px; }
    .bh-pdp .bh-pdp-top .summary .product_title { font-size: 34px; }
    .bh-pdp .bh-pdp-top .summary .price { font-size: 24px; }
    .bh-pdp .bh-pdp-wrap div.product .woocommerce-tabs ul.tabs li a { padding: 10px 12px; font-size: 12px; }
    .bh-pdp .bh-pdp-wrap ul.products { gap: 12px; }
    .bh-pdp-card-primary, .bh-pdp-card-secondary { padding: 8px; }
    .bh-pdp-card-info { padding: 15px 12px 17px; }
    .bh-pdp-card-sale { top: 8px; right: 8px; min-height: 29px; padding: 0 8px; font-size: 12px; }
    .bh-pdp .bh-pdp-wrap ul.products li.product .bh-pdp-card-cart {
        left: 9px; right: 9px; bottom: 9px;
        min-height: 48px; padding: 10px; font-size: 13px; border-radius: 12px;
    }
}
@media (hover: none), (pointer: coarse) {
    .bh-pdp .bh-pdp-wrap ul.products li.product .bh-pdp-card-cart { opacity: 1; visibility: visible; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .bh-pdp .bh-pdp-wrap *,
    .bh-pdp .bh-pdp-wrap *::before,
    .bh-pdp .bh-pdp-wrap *::after { transition: none !important; scroll-behavior: auto !important; }
    .bh-pdp-card:hover { transform: none; }
}
/* BARBAS HATS — Corregir miniaturas de la galería */

body.bh-pdp .bh-pdp-wrap div.product
.bh-pdp-top div.woocommerce-product-gallery
ol.flex-control-thumbs {
    --bh-thumb-size: 84px;

    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;

    width: 100%;
    max-width: 100%;
    margin: 16px 0 0;
    padding: 0 0 6px;
    box-sizing: border-box;

    overflow-x: auto;
    list-style: none;
}

/* Anular los anchos porcentuales de WooCommerce */
body.bh-pdp .bh-pdp-wrap div.product
.bh-pdp-top div.woocommerce-product-gallery
ol.flex-control-thumbs li {
    flex: 0 0 var(--bh-thumb-size);
    float: none;
    clear: none;

    width: var(--bh-thumb-size);
    min-width: var(--bh-thumb-size);
    max-width: var(--bh-thumb-size);

    margin: 0;
    padding: 0;
    list-style: none;
}

/* Imagen completa dentro de cada miniatura */
body.bh-pdp .bh-pdp-wrap div.product
.bh-pdp-top div.woocommerce-product-gallery
ol.flex-control-thumbs li img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: var(--bh-thumb-size);
    margin: 0;
    padding: 5px;
    box-sizing: border-box;

    object-fit: contain;
    object-position: center;

    border: 2px solid transparent;
    border-radius: 10px;
    background: #ffffff;

    opacity: 0.65;
    cursor: pointer;

    transition: opacity 0.2s ease, border-color 0.2s ease;
}

/* Miniatura seleccionada o bajo el cursor */
body.bh-pdp .bh-pdp-wrap div.product
.bh-pdp-top div.woocommerce-product-gallery
ol.flex-control-thumbs li img.flex-active,
body.bh-pdp .bh-pdp-wrap div.product
.bh-pdp-top div.woocommerce-product-gallery
ol.flex-control-thumbs li img:hover {
    border-color: #d9b675;
    opacity: 1;
}

@media (max-width: 767px) {
    body.bh-pdp .bh-pdp-wrap div.product
    .bh-pdp-top div.woocommerce-product-gallery
    ol.flex-control-thumbs {
        --bh-thumb-size: 68px;
        gap: 10px;
        margin-top: 12px;
    }
}

/* Galería: miniaturas en filas, sin barra de desplazamiento */

body.bh-pdp .bh-pdp-wrap div.product
.bh-pdp-top div.woocommerce-product-gallery
ol.flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;

    gap: 12px;
    margin-top: 16px;
    padding: 0;

    overflow: visible;
}

/* Móvil */
@media (max-width: 767px) {
    body.bh-pdp .bh-pdp-wrap div.product
    .bh-pdp-top div.woocommerce-product-gallery
    ol.flex-control-thumbs {
        --bh-thumb-size: 64px;

        gap: 10px;
        margin-top: 12px;
    }
}

/* BARBAS HATS — Carrito clásico v1.
   Añadir al FINAL de style.css. Conservar los estilos anteriores. */

body.bh-cart-page {
    --bh-cart-gold: #d9b675;
    --bh-cart-line: #303632;
    --bh-cart-muted: #b8beb9;
    background: #080908;
    color: #f5f5f2;
}
.bh-cart-page .bh-cart-shell {
    width: 100%; max-width: 1380px;
    margin: 0 auto; padding: 44px 24px 72px;
    box-sizing: border-box;
}
.bh-cart-page .bh-cart-header { margin-bottom: 34px; }
.bh-cart-page .bh-cart-header h1 {
    margin: 0 0 12px; padding: 0;
    color: #fff; font-family: inherit;
    font-size: clamp(36px, 4.5vw, 64px); font-weight: 800;
    line-height: 1.05; letter-spacing: -.035em; text-transform: uppercase;
}
.bh-cart-page .bh-cart-header p { margin: 0; color: var(--bh-cart-muted); font-size: 15px; line-height: 1.6; }

/* Contenido original de WooCommerce: productos y resumen. */
.bh-cart-page .bh-cart-shell > .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    align-items: start;
    gap: 28px;
}
.bh-cart-page .bh-cart-shell > .woocommerce::before,
.bh-cart-page .bh-cart-shell > .woocommerce::after { content: none; display: none; }
.bh-cart-page .bh-cart-shell > .woocommerce > * { grid-column: 1 / -1; min-width: 0; }
.bh-cart-page .bh-cart-shell > .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
.bh-cart-page .bh-cart-shell > .woocommerce > .woocommerce-cart-form { grid-column: 1; margin: 0; }
.bh-cart-page .bh-cart-shell > .woocommerce > .cart-collaterals {
    grid-column: 2; float: none; width: 100%; margin: 0;
}

/* Tabla de productos */
.bh-cart-page .bh-cart-shell table.shop_table {
    width: 100%; margin: 0;
    border: 0; border-collapse: collapse; border-radius: 0;
    background: transparent; color: #f5f5f2;
}
.bh-cart-page .bh-cart-shell table.shop_table th,
.bh-cart-page .bh-cart-shell table.shop_table td {
    padding: 18px 10px;
    border: 0; border-bottom: 1px solid var(--bh-cart-line);
    background: transparent; color: #f5f5f2;
    text-align: left; vertical-align: middle;
}
.bh-cart-page .bh-cart-shell table.cart thead th {
    padding-top: 0; padding-bottom: 16px;
    color: var(--bh-cart-muted); font-size: 11px;
    font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.bh-cart-page .bh-cart-shell table.cart td.product-remove { width: 32px; padding-left: 0; padding-right: 6px; }
.bh-cart-page .bh-cart-shell table.cart td.product-thumbnail { width: 88px; padding-left: 0; }
.bh-cart-page .bh-cart-shell table.cart td.product-thumbnail img {
    display: block; width: 78px; max-width: none; height: 78px;
    margin: 0; padding: 6px; box-sizing: border-box;
    object-fit: contain; border-radius: 10px; background: #fff;
}
.bh-cart-page .bh-cart-shell table.cart td.product-name { min-width: 90px; font-size: 14px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.bh-cart-page .bh-cart-shell table.cart td.product-name a { color: #fff; text-decoration: none; }
.bh-cart-page .bh-cart-shell table.cart td.product-name a:hover { color: var(--bh-cart-gold); }
.bh-cart-page .bh-cart-shell table.cart td.product-name dl.variation { margin-top: 8px; color: var(--bh-cart-muted); font-size: 12px; font-weight: 400; }
.bh-cart-page .bh-cart-shell table.cart td.product-name dl.variation p { margin: 0; }
.bh-cart-page .bh-cart-shell table.cart td.product-price,
.bh-cart-page .bh-cart-shell table.cart td.product-subtotal { font-size: 14px; line-height: 1.5; }
.bh-cart-page .bh-cart-shell table.cart td.product-subtotal { font-weight: 700; }
.bh-cart-page .bh-cart-shell table.cart a.remove {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border: 1px solid var(--bh-cart-line); border-radius: 8px;
    background: transparent; color: #d8ded9 !important;
    font-size: 22px; font-weight: 400; line-height: 1; text-decoration: none;
}
.bh-cart-page .bh-cart-shell table.cart a.remove:hover { border-color: #e69a94; background: #281815; color: #f0aba5 !important; }
.bh-cart-page .bh-cart-shell table.cart .quantity .qty {
    width: 68px; min-height: 44px;
    margin: 0; padding: 8px 4px 8px 8px; box-sizing: border-box;
    border: 1px solid #59645b; border-radius: 8px;
    background: #111611; color: #fff; color-scheme: dark;
    font-size: 15px; line-height: 1.4; text-align: center;
}

/* Botones, cupón y actualización */
.bh-cart-page .bh-cart-shell .button,
.bh-cart-page .bh-cart-shell button.button {
    min-height: 44px; padding: 12px 16px;
    box-sizing: border-box; border: 1px solid #667169; border-radius: 8px;
    background: transparent; color: #fff;
    font-family: inherit; font-size: 12px; font-weight: 700;
    line-height: 1.4; text-decoration: none; text-transform: uppercase;
    white-space: normal; transition: background-color .2s, color .2s;
}
.bh-cart-page .bh-cart-shell .button:hover { background: #fff; color: #080908; }
.bh-cart-page .bh-cart-shell .button:disabled,
.bh-cart-page .bh-cart-shell .button[disabled] { opacity: .4; cursor: not-allowed; background: transparent; color: #b8beb9; }
.bh-cart-page .bh-cart-shell table.cart td.actions { padding: 22px 0 0; border-bottom: 0; text-align: right; }
.bh-cart-page .bh-cart-shell table.cart td.actions .coupon {
    display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px;
    float: left; max-width: 100%; margin: 0 12px 12px 0;
}
.bh-cart-page .bh-cart-shell table.cart td.actions .coupon label { display: none; }
.bh-cart-page .bh-cart-shell table.cart td.actions #coupon_code {
    float: none; width: 150px; max-width: 100%; min-height: 44px;
    margin: 0; padding: 10px 12px; box-sizing: border-box;
    border: 1px solid #59645b; border-radius: 8px;
    background: #111611; color: #fff;
    font-size: 13px; line-height: 1.4;
}
.bh-cart-page .bh-cart-shell table.cart td.actions #coupon_code::placeholder { color: #b8beb9; opacity: 1; }
.bh-cart-page .bh-cart-shell table.cart td.actions .coupon .button { float: none; width: auto; margin: 0; }
.bh-cart-page .bh-cart-shell table.cart td.actions .coupon-error-notice { flex-basis: 100%; margin: 4px 0; color: #f0aba5; font-size: 13px; }
.bh-cart-page .bh-cart-continue { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; color: #f5f5f2; font-size: 13px; font-weight: 600; text-decoration: none; }
.bh-cart-page .bh-cart-continue:hover { color: var(--bh-cart-gold); }

/* Resumen del pedido: se conserva el cálculo de WooCommerce */
.bh-cart-page .bh-cart-shell .cart-collaterals .cart_totals {
    float: none; width: 100%; margin: 0; padding: 26px;
    box-sizing: border-box;
    border: 1px solid var(--bh-cart-line); border-radius: 14px;
    background: #0e120f;
}
.bh-cart-page .bh-cart-shell .cart_totals > h2 { margin: 0 0 18px; color: #fff; font-size: 22px; font-weight: 800; line-height: 1.2; }
.bh-cart-page .bh-cart-shell .cart_totals table.shop_table th,
.bh-cart-page .bh-cart-shell .cart_totals table.shop_table td { padding: 15px 0; font-size: 14px; line-height: 1.6; vertical-align: top; }
.bh-cart-page .bh-cart-shell .cart_totals table.shop_table th { width: 34%; padding-right: 12px; color: var(--bh-cart-muted); font-weight: 500; }
.bh-cart-page .bh-cart-shell .cart_totals table.shop_table td { text-align: right; overflow-wrap: anywhere; }
.bh-cart-page .bh-cart-shell .cart_totals .order-total th,
.bh-cart-page .bh-cart-shell .cart_totals .order-total td { padding-top: 20px; padding-bottom: 20px; color: #fff; font-size: 20px; font-weight: 800; }
.bh-cart-page .bh-cart-shell .cart_totals .order-total small { display: block; color: var(--bh-cart-muted); font-size: 11px; font-weight: 400; }
.bh-cart-page .bh-cart-shell .cart_totals a { color: var(--bh-cart-gold); }
.bh-cart-page .bh-cart-shell #shipping_method { margin: 0 0 8px; padding: 0; list-style: none; }
.bh-cart-page .bh-cart-shell #shipping_method li { margin-bottom: 10px; }
.bh-cart-page .bh-cart-shell #shipping_method label { display: inline; color: #f5f5f2; font-weight: 400; }
.bh-cart-page .bh-cart-shell input[type="radio"] { accent-color: var(--bh-cart-gold); }
.bh-cart-page .bh-cart-shell .woocommerce-shipping-destination { margin: 10px 0; color: var(--bh-cart-muted); font-size: 12px; }
.bh-cart-page .bh-cart-shell .shipping-calculator-button { font-size: 13px; }
.bh-cart-page .bh-cart-shell .shipping-calculator-form { margin-top: 14px; text-align: left; }
.bh-cart-page .bh-cart-shell .shipping-calculator-form .form-row { padding: 0; }
.bh-cart-page .bh-cart-shell .shipping-calculator-form input.input-text,
.bh-cart-page .bh-cart-shell .shipping-calculator-form select {
    width: 100%; min-height: 44px; padding: 10px; box-sizing: border-box;
    border: 1px solid #59645b; border-radius: 8px;
    background: #111611; color: #fff; color-scheme: dark;
}
.bh-cart-page .bh-cart-shell .shipping-calculator-form .select2-container { max-width: 100%; }
.bh-cart-page .bh-cart-shell .shipping-calculator-form .select2-selection--single { min-height: 44px; border-color: #59645b; border-radius: 8px; background: #111611; }
.bh-cart-page .bh-cart-shell .shipping-calculator-form .select2-selection__rendered { color: #fff; line-height: 42px; }
.bh-cart-page .bh-cart-shell .shipping-calculator-form .select2-selection__arrow { height: 42px; }
.bh-cart-page .bh-cart-shell .wc-proceed-to-checkout { padding: 22px 0 0; }
.bh-cart-page .bh-cart-shell .wc-proceed-to-checkout a.checkout-button {
    display: flex; align-items: center; justify-content: center;
    width: 100%; min-height: 54px; margin: 0; padding: 14px 18px;
    border: 1px solid var(--bh-cart-gold); border-radius: 9px;
    background: var(--bh-cart-gold); color: #080908;
    font-size: 14px; font-weight: 800; line-height: 1.4; text-align: center;
}
.bh-cart-page .bh-cart-shell .wc-proceed-to-checkout a.checkout-button:hover { background: #f0d29a; color: #080908; }

/* Mensajes, carrito vacío y ventas cruzadas configuradas */
.bh-cart-page .bh-cart-shell .woocommerce-message,
.bh-cart-page .bh-cart-shell .woocommerce-info,
.bh-cart-page .bh-cart-shell .woocommerce-error {
    margin: 0 0 18px; border-radius: 10px; background: #121813; color: #f5f5f2; line-height: 1.6;
}
.bh-cart-page .bh-cart-shell .woocommerce-message,
.bh-cart-page .bh-cart-shell .woocommerce-info { border-top-color: var(--bh-cart-gold); }
.bh-cart-page .bh-cart-shell .woocommerce-message::before,
.bh-cart-page .bh-cart-shell .woocommerce-info::before { color: var(--bh-cart-gold); }
.bh-cart-page .bh-cart-shell .woocommerce-error { border-top-color: #e69a94; }
.bh-cart-page .bh-cart-shell .woocommerce-error::before { color: #e69a94; }
.bh-cart-page .bh-cart-shell .woocommerce-message a:not(.button),
.bh-cart-page .bh-cart-shell .woocommerce-info a:not(.button),
.bh-cart-page .bh-cart-shell .woocommerce-error a:not(.button) { color: var(--bh-cart-gold); }
.bh-cart-page .bh-cart-shell .return-to-shop { margin: 0; }
.bh-cart-page .bh-cart-shell .return-to-shop .button { background: var(--bh-cart-gold); border-color: var(--bh-cart-gold); color: #080908; }
.bh-cart-page .bh-cart-shell .cross-sells { float: none; width: 100%; margin: 16px 0 0; }
.bh-cart-page .bh-cart-shell .cross-sells h2 { color: #fff; font-size: 26px; }
.bh-cart-page .bh-cart-shell .cross-sells ul.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.bh-cart-page .bh-cart-shell .cross-sells ul.products::before,
.bh-cart-page .bh-cart-shell .cross-sells ul.products::after { display: none; }
.bh-cart-page .bh-cart-shell .cross-sells ul.products li.product { float: none; width: auto; min-width: 0; margin: 0; }
.bh-cart-page .bh-cart-shell .cross-sells ul.products li.product img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: #fff; }
.bh-cart-page .bh-cart-shell .cross-sells .woocommerce-loop-product__title { color: #fff; }
.bh-cart-page .bh-cart-shell .cross-sells .price { color: var(--bh-cart-gold); }
.bh-cart-page .bh-cart-shell a:focus-visible,
.bh-cart-page .bh-cart-shell button:focus-visible,
.bh-cart-page .bh-cart-shell input:focus-visible,
.bh-cart-page .bh-cart-shell select:focus-visible { outline: 2px solid var(--bh-cart-gold); outline-offset: 3px; }

/* TABLET: resumen debajo para no comprimir la tabla */
@media (max-width: 1100px) {
    .bh-cart-page .bh-cart-shell > .woocommerce { grid-template-columns: minmax(0,1fr); }
    .bh-cart-page .bh-cart-shell > .woocommerce > .woocommerce-cart-form,
    .bh-cart-page .bh-cart-shell > .woocommerce > .cart-collaterals { grid-column: 1 / -1; }
}

/* MÓVIL: cada fila se convierte en una tarjeta legible */
@media (max-width: 768px) {
    .bh-cart-page .bh-cart-shell { padding: 28px 16px 48px; }
    .bh-cart-page .bh-cart-header { margin-bottom: 26px; }
    .bh-cart-page .bh-cart-shell table.cart,
    .bh-cart-page .bh-cart-shell table.cart tbody { display: block; width: 100%; }
    .bh-cart-page .bh-cart-shell table.cart thead { display: none; }
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item {
        display: grid;
        grid-template-columns: 72px minmax(0,1fr) 32px;
        grid-template-areas: "image name remove" "image price price" "image quantity quantity" "image subtotal subtotal";
        gap: 10px 12px;
        margin: 0 0 16px; padding: 16px 12px;
        border: 1px solid var(--bh-cart-line); border-radius: 12px;
        background: #0e120f;
    }
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item td {
        display: flex; align-items: center; justify-content: space-between; gap: 8px;
        width: auto; min-width: 0; margin: 0; padding: 0;
        border: 0; background: transparent !important; text-align: left !important;
    }
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item td::before { float: none; color: var(--bh-cart-muted); font-size: 12px; font-weight: 400; }
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item .product-thumbnail { grid-area: image; display: block; }
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item .product-thumbnail img { width: 72px; height: 72px; }
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item .product-name { grid-area: name; display: block; padding-top: 4px; }
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item .product-remove { grid-area: remove; align-self: start; }
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item .product-price { grid-area: price; }
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item .product-quantity { grid-area: quantity; }
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item .product-subtotal { grid-area: subtotal; }
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item .product-name::before,
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item .product-thumbnail::before,
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item .product-remove::before { content: none; display: none; }
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item .product-name dl.variation { font-size: 11px; }
    .bh-cart-page .bh-cart-shell table.cart tbody > tr:not(.cart_item) { display: block; }
    .bh-cart-page .bh-cart-shell table.cart td.actions { display: block; width: 100%; padding-top: 8px; box-sizing: border-box; }
    .bh-cart-page .bh-cart-shell table.cart td.actions::before { content: none; }
    .bh-cart-page .bh-cart-shell table.cart td.actions .coupon { display: grid; grid-template-columns: minmax(0,1fr) auto; float: none; width: 100%; margin: 0 0 12px; }
    .bh-cart-page .bh-cart-shell table.cart td.actions #coupon_code { width: 100%; min-width: 0; }
    .bh-cart-page .bh-cart-shell table.cart td.actions .coupon .button { width: auto; padding-inline: 10px; }
    .bh-cart-page .bh-cart-shell table.cart td.actions .coupon-error-notice { grid-column: 1 / -1; }
    .bh-cart-page .bh-cart-shell table.cart td.actions > button[name="update_cart"] { width: 100%; }
    .bh-cart-page .bh-cart-shell .cart-collaterals .cart_totals { padding: 22px 18px; }
    /* Mantener etiquetas de totales visibles, sin duplicar data-title. */
    .bh-cart-page .bh-cart-shell .cart_totals table.shop_table tr { display: table-row; }
    .bh-cart-page .bh-cart-shell .cart_totals table.shop_table th,
    .bh-cart-page .bh-cart-shell .cart_totals table.shop_table td { display: table-cell; background: transparent !important; }
    .bh-cart-page .bh-cart-shell .cart_totals table.shop_table td::before { content: none; display: none; }
    .bh-cart-page .bh-cart-shell .cross-sells ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
}
@media (max-width: 360px) {
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item { grid-template-columns: 60px minmax(0,1fr) 32px; gap: 10px; }
    .bh-cart-page .bh-cart-shell table.cart tr.cart_item .product-thumbnail img { width: 60px; height: 60px; }
    .bh-cart-page .bh-cart-shell table.cart td.actions .coupon { grid-template-columns: minmax(0,1fr); }
    .bh-cart-page .bh-cart-shell table.cart td.actions .coupon .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .bh-cart-page .bh-cart-shell *, .bh-cart-page .bh-cart-shell *::before, .bh-cart-page .bh-cart-shell *::after { transition: none !important; }
}
/* Botón Actualizar carrito */
body.bh-cart-page .bh-cart-shell table.cart
button[name="update_cart"] {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid #667169 !important;
    border-radius: 8px;
    opacity: 1 !important;
    box-shadow: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

/* Hover y navegación con teclado */
body.bh-cart-page .bh-cart-shell table.cart
button[name="update_cart"]:hover,
body.bh-cart-page .bh-cart-shell table.cart
button[name="update_cart"]:focus-visible {
    background: #ffffff !important;
    color: #080908 !important;
    border-color: #ffffff !important;
}

/* BARBAS HATS — Carrito vertical en móvil */

@media (max-width: 768px) {

    /* Tarjeta de producto en una columna */
    body.bh-cart-page .bh-cart-shell table.cart tr.cart_item {
        position: relative;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "image"
            "name"
            "price"
            "quantity"
            "subtotal" !important;

        gap: 16px !important;
        margin: 0 0 20px;
        padding: 16px;

        border: 1px solid #303632;
        border-radius: 14px;
        background: #0e120f;
    }

    /* Mostrar la imagen que WooCommerce oculta en móvil */
    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item td.product-thumbnail {
        grid-area: image;

        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 16px !important;
        box-sizing: border-box;

        overflow: hidden;
        border-radius: 10px;
        background: #ffffff !important;
    }

    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item td.product-thumbnail a {
        display: block !important;
        width: 100%;
    }

    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item td.product-thumbnail img {
        display: block !important;

        width: 100% !important;
        max-width: 240px !important;
        height: auto !important;
        aspect-ratio: 1 / 1;

        margin: 0 auto !important;
        padding: 0 !important;

        object-fit: contain;
        object-position: center;
        background: #ffffff;

        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Eliminar: esquina superior derecha */
    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item td.product-remove {
        position: absolute;
        top: 24px;
        right: 24px;
        z-index: 2;

        display: block !important;
        width: auto !important;
        margin: 0;
        padding: 0;
    }

    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item td.product-remove a.remove {
        width: 44px;
        height: 44px;

        border: 1px solid #303632;
        border-radius: 10px;
        background: #0e120f;
        color: #ffffff !important;
    }

    /* Nombre debajo de la imagen */
    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item td.product-name {
        grid-area: name;

        display: block !important;
        padding: 2px 0 8px !important;

        font-size: 18px;
        font-weight: 700;
        line-height: 1.4;
        text-align: left !important;
    }

    /* Datos con espacio entre etiqueta y valor */
    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item td.product-price,
    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item td.product-quantity,
    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item td.product-subtotal {
        display: flex !important;
        align-items: center;
        justify-content: space-between;

        gap: 16px;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box;

        font-size: 15px;
        line-height: 1.5;
    }

    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item td.product-price::before,
    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item td.product-quantity::before,
    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item td.product-subtotal::before {
        content: attr(data-title) ":";
        display: block;
        float: none;

        color: #b8beb9;
        font-size: 14px;
        font-weight: 400;
    }

    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item td.product-subtotal {
        margin-top: 2px;
        padding-top: 16px !important;
        border-top: 1px solid #303632;
        font-size: 17px;
        font-weight: 800;
    }

    body.bh-cart-page .bh-cart-shell table.cart
    tr.cart_item .quantity .qty {
        width: 82px !important;
        min-height: 48px;
        font-size: 16px;
    }

    /* Zona de cupón y botones */
    body.bh-cart-page .bh-cart-shell table.cart td.actions {
        display: block !important;
        width: 100% !important;
        padding: 4px 0 0 !important;
        text-align: left !important;
        box-sizing: border-box;
    }

    body.bh-cart-page .bh-cart-shell table.cart
    td.actions .coupon {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        float: none !important;
        gap: 12px !important;

        width: 100% !important;
        max-width: none !important;
        margin: 0 0 14px !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    body.bh-cart-page .bh-cart-shell table.cart
    td.actions .coupon #coupon_code {
        display: block !important;
        float: none !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 50px;

        margin: 0 !important;
        padding: 13px 16px !important;
        box-sizing: border-box;

        border: 1px solid #59645b;
        border-radius: 9px;
        background: #111611;
        color: #ffffff;

        font-size: 16px;
        line-height: 1.4;
        text-align: left !important;
    }

    body.bh-cart-page .bh-cart-shell table.cart
    td.actions button[name="apply_coupon"],
    body.bh-cart-page .bh-cart-shell table.cart
    td.actions button[name="update_cart"] {
        display: flex !important;
        align-items: center;
        justify-content: center;
        float: none !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 50px;

        margin: 0 !important;
        padding: 13px 16px !important;
        box-sizing: border-box;

        font-size: 13px;
        line-height: 1.4;
        text-align: center !important;
        white-space: normal;
    }

    body.bh-cart-page .bh-cart-continue {
        margin-top: 24px;
        padding-block: 8px;
    }
}

/* Ocultar el enlace suelto dentro de las tarjetas de la home */
body.bh-home-cart-ready
.barbas-product-card a.added_to_cart {
    display: none !important;
}

/* Confirmación flotante */
#bh-home-cart-notice {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999999;

    width: 390px;
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;

    padding: 24px;
    box-sizing: border-box;

    border: 1px solid #d9b675;
    border-radius: 16px;
    background: #101510;
    color: #ffffff;

    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
    font-family: inherit;
    text-align: left;
}

#bh-home-cart-notice[hidden] {
    display: none !important;
}

#bh-home-cart-notice .bh-home-cart-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 30px;
}

#bh-home-cart-notice .bh-home-cart-heading strong {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

#bh-home-cart-notice .bh-home-cart-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    border: 1px solid #d9b675;
    border-radius: 50%;
    color: #d9b675;
    font-size: 18px;
}

#bh-home-cart-notice .bh-home-cart-message {
    margin: 14px 0 20px;
    padding: 0;

    color: #dce1dc;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* Botón Ver carrito */
#bh-home-cart-notice .bh-home-cart-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    box-sizing: border-box;

    border: 1px solid #d9b675;
    border-radius: 9px;
    background: #d9b675;
    color: #080908;

    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    text-transform: uppercase;

    transition: background-color 0.2s, border-color 0.2s;
}

#bh-home-cart-notice .bh-home-cart-link:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #080908;
}

/* Cerrar */
#bh-home-cart-notice .bh-home-cart-close {
    position: absolute;
    top: 8px;
    right: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #ffffff;

    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

#bh-home-cart-notice .bh-home-cart-close:hover {
    background: #263026;
}

#bh-home-cart-notice a:focus-visible,
#bh-home-cart-notice button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* Móvil */
@media (max-width: 767px) {
    #bh-home-cart-notice {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        width: calc(100vw - 32px);
        padding: 22px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #bh-home-cart-notice .bh-home-cart-link {
        transition: none;
    }
}

/* Ocultar el enlace de los relacionados cuando
   la confirmación flotante está preparada */
body.bh-home-cart-ready
.bh-pdp-card a.added_to_cart {
    display: none !important;
}


/* BARBAS HATS — Finalizar compra clásico v1.
   Añadir al FINAL de style.css. No eliminar los estilos anteriores. */

body.bh-co-page {
    --bh-co-gold: #d9b675;
    --bh-co-muted: #b8beb9;
    --bh-co-line: #303632;
    background: #080908; color: #f5f5f2;
}
body.bh-co-page .bh-co-shell {
    width: 100%; max-width: 1320px;
    margin: 0 auto; padding: 42px 24px 72px;
    box-sizing: border-box;
}
.bh-co-page .bh-co-header { margin: 0 0 30px; }
.bh-co-page .bh-co-header h1 {
    margin: 0 0 12px; padding: 0;
    color: #fff; font-family: inherit;
    font-size: clamp(34px, 4.5vw, 60px); font-weight: 800;
    line-height: 1.08; letter-spacing: -.035em; text-transform: uppercase;
}
.bh-co-page .bh-co-header p { margin: 0; color: var(--bh-co-muted); font-size: 15px; line-height: 1.6; }
.bh-co-page .bh-co-shell a { color: var(--bh-co-gold); }

/* Formularios nativos dentro de una distribución de dos columnas. */
body.bh-co-page .bh-co-shell form.checkout.woocommerce-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    gap: 32px;
    align-items: start;
    margin: 30px 0 0;
}
.bh-co-page .bh-co-shell form.checkout::before,
.bh-co-page .bh-co-shell form.checkout::after { content: none; display: none; }
.bh-co-page .bh-co-shell form.checkout > * { grid-column: 1 / -1; min-width: 0; }
body.bh-co-page .bh-co-shell form.checkout #customer_details {
    grid-column: 1; float: none; width: 100%; margin: 0; padding: 0;
}
body.bh-co-page .bh-co-shell form.checkout .bh-co-summary {
    grid-column: 2;
    padding: 26px; box-sizing: border-box;
    border: 1px solid var(--bh-co-line); border-radius: 14px;
    background: #0e120f;
}
body.bh-co-page .bh-co-shell #customer_details > .col-1,
body.bh-co-page .bh-co-shell #customer_details > .col-2 {
    display: block; float: none; width: 100%; max-width: 100%; margin: 0; padding: 0;
}
body.bh-co-page .bh-co-shell #customer_details > .col-2 { margin-top: 26px; }
.bh-co-page .bh-co-shell h3 { margin: 0 0 22px; color: #fff; font-size: 22px; font-weight: 800; line-height: 1.3; }
body.bh-co-page .bh-co-shell #order_review_heading { float: none; width: 100%; margin: 0 0 20px; }
body.bh-co-page .bh-co-shell #order_review { float: none; width: 100%; min-width: 0; margin: 0; }

/* Campos: conservar nombres, orden, obligatoriedad y validación. */
.bh-co-page .bh-co-shell .woocommerce-billing-fields__field-wrapper,
.bh-co-page .bh-co-shell .woocommerce-shipping-fields__field-wrapper {
    display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 16px;
}
.bh-co-page .bh-co-shell .woocommerce-billing-fields__field-wrapper::before,
.bh-co-page .bh-co-shell .woocommerce-billing-fields__field-wrapper::after,
.bh-co-page .bh-co-shell .woocommerce-shipping-fields__field-wrapper::before,
.bh-co-page .bh-co-shell .woocommerce-shipping-fields__field-wrapper::after { content: none; display: none; }
body.bh-co-page .bh-co-shell #customer_details .form-row {
    float: none; width: 100%; min-width: 0; max-width: 100%;
    margin: 0 0 18px; padding: 0; box-sizing: border-box;
}
body.bh-co-page .bh-co-shell .woocommerce-billing-fields__field-wrapper > .form-row,
body.bh-co-page .bh-co-shell .woocommerce-shipping-fields__field-wrapper > .form-row { grid-column: 1 / -1; margin: 0 !important; }
body.bh-co-page .bh-co-shell .woocommerce-billing-fields__field-wrapper > .form-row-first,
body.bh-co-page .bh-co-shell .woocommerce-shipping-fields__field-wrapper > .form-row-first { grid-column: 1; }
body.bh-co-page .bh-co-shell .woocommerce-billing-fields__field-wrapper > .form-row-last,
body.bh-co-page .bh-co-shell .woocommerce-shipping-fields__field-wrapper > .form-row-last { grid-column: 2; }
.bh-co-page .bh-co-shell #customer_details .woocommerce-input-wrapper { display: block; width: 100%; min-width: 0; }
.bh-co-page .bh-co-shell .form-row label { display: block; margin: 0 0 8px; color: #e4e8e4; font-size: 14px; font-weight: 500; line-height: 1.5; }
.bh-co-page .bh-co-shell .form-row .optional { color: var(--bh-co-muted); font-size: 12px; }
.bh-co-page .bh-co-shell .form-row .required { color: #e9bc78; text-decoration: none; }
.bh-co-page .bh-co-shell #customer_details input.input-text,
.bh-co-page .bh-co-shell #customer_details textarea,
.bh-co-page .bh-co-shell #customer_details select,
.bh-co-page .bh-co-shell form.checkout_coupon input.input-text,
.bh-co-page .bh-co-shell form.woocommerce-form-login input.input-text {
    display: block; width: 100% !important; min-width: 0; max-width: 100%; min-height: 50px;
    margin: 0; padding: 12px 14px; box-sizing: border-box;
    border: 1px solid #59645b; border-radius: 9px;
    background: #111611; color: #fff; box-shadow: none;
    font-family: inherit; font-size: 16px; line-height: 1.5; color-scheme: dark;
}
.bh-co-page .bh-co-shell #customer_details textarea { min-height: 116px; resize: vertical; }
.bh-co-page .bh-co-shell input::placeholder,
.bh-co-page .bh-co-shell textarea::placeholder { color: #aab4ac; opacity: 1; }
.bh-co-page .bh-co-shell #customer_details input.input-text:focus,
.bh-co-page .bh-co-shell #customer_details textarea:focus,
.bh-co-page .bh-co-shell #customer_details select:focus { border-color: var(--bh-co-gold); }
.bh-co-page .bh-co-shell #customer_details .woocommerce-invalid input.input-text,
.bh-co-page .bh-co-shell #customer_details .woocommerce-invalid select,
.bh-co-page .bh-co-shell #customer_details .woocommerce-invalid .select2-selection { border-color: #f09b95 !important; }
.bh-co-page .bh-co-shell .woocommerce-account-fields { margin-top: 22px; }
.bh-co-page .bh-co-shell #ship-to-different-address { margin: 0 0 20px; font-size: 16px; }
.bh-co-page .bh-co-shell #ship-to-different-address label { color: #fff; font-weight: 600; line-height: 1.6; cursor: pointer; }
.bh-co-page .bh-co-shell input[type="checkbox"],
.bh-co-page .bh-co-shell input[type="radio"] { accent-color: var(--bh-co-gold); }
.bh-co-page .bh-co-shell #ship-to-different-address input { margin-right: 8px; }
.bh-co-page .bh-co-shell .woocommerce-shipping-fields__field-wrapper { margin-bottom: 24px; }

/* SelectWoo / Select2: país y estado, incluidos los desplegables. */
.bh-co-page .bh-co-shell .select2-container { width: 100% !important; max-width: 100%; }
.bh-co-page .bh-co-shell .select2-selection--single { min-height: 50px; border: 1px solid #59645b; border-radius: 9px; background: #111611; }
.bh-co-page .bh-co-shell .select2-selection--single .select2-selection__rendered { padding-left: 14px; padding-right: 30px; color: #fff; font-size: 16px; line-height: 48px; }
.bh-co-page .bh-co-shell .select2-selection--single .select2-selection__arrow { height: 48px; right: 8px; }
.bh-co-page .select2-dropdown { border-color: #59645b; background: #111611; color: #fff; }
.bh-co-page .select2-search--dropdown .select2-search__field { padding: 10px; border: 1px solid #59645b; border-radius: 6px; background: #080908; color: #fff; font-size: 16px; }
.bh-co-page .select2-results__option[aria-selected="true"] { background: #2c382e; color: #fff; }
.bh-co-page .select2-container--default .select2-results__option--highlighted[aria-selected] { background: #d9b675; color: #080908; }

/* Botones secundarios y formularios de cupón/acceso.
   No forzar display en los formularios que WooCommerce abre y cierra. */
.bh-co-page .bh-co-shell .button {
    min-height: 48px; padding: 12px 18px; box-sizing: border-box;
    border: 1px solid #667169; border-radius: 9px; background: transparent; color: #fff;
    font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.5;
    text-decoration: none; text-transform: uppercase; white-space: normal;
    transition: background-color .2s, color .2s;
}
.bh-co-page .bh-co-shell .button:hover { border-color: #fff; background: #fff; color: #080908; }
.bh-co-page .bh-co-shell .button:disabled { opacity: .5; cursor: not-allowed; }
.bh-co-page .bh-co-shell form.checkout_coupon,
.bh-co-page .bh-co-shell form.woocommerce-form-login {
    max-width: 620px; margin: 0 0 28px; padding: 22px;
    border: 1px solid var(--bh-co-line); border-radius: 12px; background: #0e120f;
}
.bh-co-page .bh-co-shell form.checkout_coupon p,
.bh-co-page .bh-co-shell form.woocommerce-form-login p { color: #dce1dc; font-size: 14px; line-height: 1.6; }
body.bh-co-page .bh-co-shell form.checkout_coupon .form-row-first,
body.bh-co-page .bh-co-shell form.checkout_coupon .form-row-last {
    float: none !important; width: 100% !important; min-width: 0; margin: 0 0 12px; padding: 0;
}
.bh-co-page .bh-co-shell form.checkout_coupon button[name="apply_coupon"] { display: block; width: 100%; }
.bh-co-page .bh-co-shell form.woocommerce-form-login .form-row { padding: 0; }
.bh-co-page .bh-co-shell form.woocommerce-form-login label.woocommerce-form-login__rememberme { display: inline-block; margin: 12px; }

/* Tabla del pedido y miniaturas */
.bh-co-page .bh-co-shell #order_review table.shop_table {
    width: 100%; table-layout: fixed; margin: 0 0 24px;
    border: 0; border-radius: 0; border-collapse: collapse; background: transparent;
}
.bh-co-page .bh-co-shell #order_review table.shop_table th,
.bh-co-page .bh-co-shell #order_review table.shop_table td {
    padding: 16px 0; border: 0; border-bottom: 1px solid var(--bh-co-line);
    background: transparent; color: #f5f5f2;
    font-size: 14px; line-height: 1.6; vertical-align: top; overflow-wrap: anywhere;
}
.bh-co-page .bh-co-shell #order_review table.shop_table th:first-child,
.bh-co-page .bh-co-shell #order_review table.shop_table td:first-child { width: 62%; padding-right: 12px; text-align: left; }
.bh-co-page .bh-co-shell #order_review table.shop_table th:last-child,
.bh-co-page .bh-co-shell #order_review table.shop_table td:last-child { text-align: right; }
.bh-co-page .bh-co-shell #order_review table.shop_table thead th { padding-top: 0; color: var(--bh-co-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; }
.bh-co-page .bh-co-shell .bh-co-item { display: inline-flex; align-items: center; gap: 10px; width: 100%; min-width: 0; }
.bh-co-page .bh-co-shell .bh-co-item-image { display: block; flex: 0 0 48px; width: 48px; }
.bh-co-page .bh-co-shell .bh-co-item-image img { display: block; width: 48px; max-width: none; height: 48px; margin: 0; padding: 4px; box-sizing: border-box; border-radius: 7px; background: #fff; object-fit: contain; }
.bh-co-page .bh-co-shell .bh-co-item-name { min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.bh-co-page .bh-co-shell #order_review .product-quantity { display: block; margin-left: 58px; color: var(--bh-co-muted); font-size: 12px; font-weight: 400; }
.bh-co-page .bh-co-shell #order_review dl.variation { margin: 6px 0 0 58px; color: var(--bh-co-muted); font-size: 12px; }
.bh-co-page .bh-co-shell #order_review dl.variation p { margin: 0; }
.bh-co-page .bh-co-shell #order_review tfoot th { color: var(--bh-co-muted); font-weight: 500; }
.bh-co-page .bh-co-shell #order_review tr.order-total th,
.bh-co-page .bh-co-shell #order_review tr.order-total td { color: #fff; font-size: 20px; font-weight: 800; }
.bh-co-page .bh-co-shell #order_review tr.order-total small { display: block; color: var(--bh-co-muted); font-size: 11px; font-weight: 400; }
.bh-co-page .bh-co-shell #shipping_method { margin: 0; padding: 0; list-style: none; }
.bh-co-page .bh-co-shell #shipping_method li { margin: 0 0 10px; }
.bh-co-page .bh-co-shell #shipping_method label { display: inline; font-size: 13px; font-weight: 400; }

/* Métodos de pago: conservar controles y contenido de cada pasarela. */
body.bh-co-page .bh-co-shell #payment { margin: 0; border-radius: 0; background: transparent; color: #fff; }
.bh-co-page .bh-co-shell #payment ul.payment_methods { margin: 0; padding: 0; border-bottom: 1px solid var(--bh-co-line); }
.bh-co-page .bh-co-shell #payment ul.payment_methods li { margin: 0 0 16px; color: #fff; text-align: left; line-height: 1.6; }
.bh-co-page .bh-co-shell #payment ul.payment_methods li > label { display: inline; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.bh-co-page .bh-co-shell #payment ul.payment_methods li > input[type="radio"] { margin-right: 8px; }
.bh-co-page .bh-co-shell #payment div.payment_box {
    width: 100%; margin: 14px 0 0; padding: 16px; box-sizing: border-box;
    border: 1px solid #3d4940; border-radius: 9px; background: #18221a; color: #dce5dd;
    font-size: 13px; line-height: 1.75; overflow-wrap: anywhere;
}
.bh-co-page .bh-co-shell #payment div.payment_box::before { display: none; }
.bh-co-page .bh-co-shell #payment div.payment_box p { margin: 0 0 12px; }
.bh-co-page .bh-co-shell #payment div.payment_box p:last-child { margin-bottom: 0; }
.bh-co-page .bh-co-shell #payment .form-row.place-order { float: none; width: 100%; margin: 0; padding: 22px 0 0; box-sizing: border-box; }
.bh-co-page .bh-co-shell #payment .woocommerce-privacy-policy-text { color: var(--bh-co-muted); font-size: 12px; line-height: 1.7; }
.bh-co-page .bh-co-shell #payment .woocommerce-terms-and-conditions { background: #111611; color: #dce1dc; border-color: #59645b; }
.bh-co-page .bh-co-shell #payment .woocommerce-terms-and-conditions-wrapper label { color: #dce1dc; font-size: 13px; line-height: 1.7; }
body.bh-co-page .bh-co-shell #payment #place_order {
    display: block; float: none; width: 100%; min-height: 54px;
    margin: 18px 0 0; padding: 14px 18px; box-sizing: border-box;
    border: 1px solid var(--bh-co-gold); border-radius: 9px;
    background: var(--bh-co-gold); color: #080908;
    font-family: inherit; font-size: 14px; font-weight: 800;
    line-height: 1.5; text-transform: uppercase; text-align: center;
}
body.bh-co-page .bh-co-shell #payment #place_order:hover { border-color: #fff; background: #fff; color: #080908; }
body.bh-co-page .bh-co-shell #payment #place_order:disabled { opacity: .5; cursor: not-allowed; }

/* Mensajes nativos de error, acceso, cupón y confirmación */
.bh-co-page .bh-co-shell .woocommerce-message,
.bh-co-page .bh-co-shell .woocommerce-info,
.bh-co-page .bh-co-shell .woocommerce-error {
    margin: 0 0 20px; border-radius: 10px; background: #121813; color: #e5eae5; font-size: 14px; line-height: 1.7;
}
.bh-co-page .bh-co-shell .woocommerce-message,
.bh-co-page .bh-co-shell .woocommerce-info { border-top-color: var(--bh-co-gold); }
.bh-co-page .bh-co-shell .woocommerce-message::before,
.bh-co-page .bh-co-shell .woocommerce-info::before { color: var(--bh-co-gold); }
.bh-co-page .bh-co-shell .woocommerce-error { border-top-color: #e69a94; }
.bh-co-page .bh-co-shell .woocommerce-error::before { color: #e69a94; }
.bh-co-page .bh-co-shell a:focus-visible,
.bh-co-page .bh-co-shell button:focus-visible,
.bh-co-page .bh-co-shell input:focus-visible,
.bh-co-page .bh-co-shell textarea:focus-visible,
.bh-co-page .bh-co-shell select:focus-visible,
.bh-co-page .bh-co-shell .select2-selection:focus-visible { outline: 2px solid var(--bh-co-gold); outline-offset: 3px; }

/* Tablet y móvil: una sola columna, sin comprimir formularios. */
@media (max-width: 980px) {
    body.bh-co-page .bh-co-shell form.checkout.woocommerce-checkout { grid-template-columns: minmax(0,1fr); gap: 28px; }
    body.bh-co-page .bh-co-shell form.checkout #customer_details,
    body.bh-co-page .bh-co-shell form.checkout .bh-co-summary { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    body.bh-co-page .bh-co-shell { padding: 28px 16px 48px; }
    .bh-co-page .bh-co-header h1 { font-size: clamp(30px, 8.5vw, 42px); }
    .bh-co-page .bh-co-header p { font-size: 14px; }
    .bh-co-page .bh-co-shell h3 { font-size: 20px; }
    body.bh-co-page .bh-co-shell form.checkout .bh-co-summary { padding: 20px 16px; }
    .bh-co-page .bh-co-shell .woocommerce-billing-fields__field-wrapper,
    .bh-co-page .bh-co-shell .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0,1fr); gap: 18px; }
    body.bh-co-page .bh-co-shell .woocommerce-billing-fields__field-wrapper > .form-row,
    body.bh-co-page .bh-co-shell .woocommerce-shipping-fields__field-wrapper > .form-row { grid-column: 1 / -1 !important; float: none !important; width: 100% !important; }
    .bh-co-page .bh-co-shell form.checkout_coupon,
    .bh-co-page .bh-co-shell form.woocommerce-form-login { padding: 18px; }
    body.bh-co-page .bh-co-shell form.woocommerce-form-login .form-row-first,
    body.bh-co-page .bh-co-shell form.woocommerce-form-login .form-row-last { float: none; width: 100%; margin-bottom: 16px; }
    .bh-co-page .bh-co-shell form.woocommerce-form-login button { display: block; width: 100%; }
    .bh-co-page .bh-co-shell #order_review table.shop_table th,
    .bh-co-page .bh-co-shell #order_review table.shop_table td { font-size: 13px; }
    .bh-co-page .bh-co-shell .bh-co-item { gap: 8px; }
    .bh-co-page .bh-co-shell .bh-co-item-image { flex-basis: 40px; width: 40px; }
    .bh-co-page .bh-co-shell .bh-co-item-image img { width: 40px; height: 40px; }
    .bh-co-page .bh-co-shell #order_review .product-quantity,
    .bh-co-page .bh-co-shell #order_review dl.variation { margin-left: 48px; }
    .bh-co-page .bh-co-shell #order_review tr.order-total th,
    .bh-co-page .bh-co-shell #order_review tr.order-total td { font-size: 18px; }
    .bh-co-page .bh-co-shell #payment div.payment_box { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .bh-co-page .bh-co-shell *, .bh-co-page .bh-co-shell *::before, .bh-co-page .bh-co-shell *::after { transition: none !important; }
}
/* ==========================================================
   THANK YOU / PEDIDO CONFIRMADO
   ========================================================== */

body.custom-thankyou-page {
    --custom-bg: #080a09;
    --custom-bg-soft: #0d0f0e;
    --custom-card: #0d100f;

    --custom-border: rgba(255, 255, 255, 0.14);
    --custom-border-soft: rgba(255, 255, 255, 0.08);

    --custom-text: #f4f3ef;
    --custom-text-soft: #a8aaa5;
    --custom-text-muted: #777b75;

    --custom-gold: #ddb966;
    --custom-gold-light: #f1cf7c;
    --custom-gold-dark: #ba9142;

    background: var(--custom-bg);
    color: var(--custom-text);
}


/* ==========================================================
   OCULTAR CONTENIDO NATIVO DE WOOCOMMERCE
   ========================================================== */

body.custom-thankyou-page
.woocommerce-thankyou-order-received,

body.custom-thankyou-page
.woocommerce-order-overview,

body.custom-thankyou-page
.woocommerce-order-details,

body.custom-thankyou-page
.woocommerce-customer-details {
    display: none !important;
}


body.custom-thankyou-page .page-header {
    display: none;
}


body.custom-thankyou-page .woocommerce,
body.custom-thankyou-page .woocommerce-order {
    width: 100%;
    max-width: none;
}


/* ==========================================================
   CONTENEDOR
   ========================================================== */

.custom-thankyou {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 45px 0 70px;
    color: var(--custom-text);
    box-sizing: border-box;
}


.custom-thankyou *,
.custom-thankyou *::before,
.custom-thankyou *::after {
    box-sizing: border-box;
}


/* ==========================================================
   CABECERA
   ========================================================== */

.custom-thankyou__header {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.custom-thankyou__check {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    margin: 0 auto 24px;

    border: 2px solid var(--custom-gold);

    border-radius: 50%;

    color: var(--custom-gold);
}


.custom-thankyou__check svg {
    width: 39px;
    height: 39px;
}


.custom-thankyou__header h1 {
    margin: 0 0 8px;

    color: var(--custom-text);

    font-family:
        "Bebas Neue",
        "Arial Narrow",
        Arial,
        sans-serif;

    font-size: clamp(42px, 5vw, 66px);
    font-weight: 700;

    line-height: 0.95;

    letter-spacing: 0.01em;

    text-transform: uppercase;
}


.custom-thankyou__thanks {
    margin: 0 0 10px;

    color: var(--custom-text);

    font-size: 18px;
    font-weight: 600;
}


.custom-thankyou__intro {
    max-width: 580px;

    margin: 0 auto;

    color: var(--custom-text-soft);

    font-size: 18px;

    line-height: 1.65;
}


/* ==========================================================
   INFORMACIÓN DEL PEDIDO
   ========================================================== */

.order-info {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    margin-bottom: 54px;

    border: 1px solid var(--custom-border);

    background: rgba(255, 255, 255, 0.015);
}


.order-info__item {
    min-width: 0;

    padding: 21px 26px;

    border-right: 1px solid var(--custom-border);
}


.order-info__item:last-child {
    border-right: 0;
}


.order-info__label {
    display: block;

    margin-bottom: 8px;

    color: var(--custom-text-muted);

    font-size: 18px;
    font-weight: 600;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


.order-info__item strong {
    display: block;

    overflow: hidden;

    color: var(--custom-text);

    font-size: 18px;
    font-weight: 600;

    line-height: 1.35;

    text-overflow: ellipsis;
}


.order-info .woocommerce-Price-amount {
    color: inherit;
}


/* ==========================================================
   CONTENIDO PRINCIPAL
   ========================================================== */

.custom-thankyou__content {
    display: grid;

    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(250px, 0.75fr);

    gap: 48px;

    align-items: start;
}


/* ==========================================================
   TÍTULOS
   ========================================================== */

.custom-thankyou__products h2,
.custom-thankyou__sidebar h2 {
    margin: 0 0 18px;

    color: var(--custom-text);

    font-family:
        "Arial Narrow",
        Arial,
        sans-serif;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: 0.035em;

    text-transform: uppercase;
}


/* ==========================================================
   PRODUCTOS
   ========================================================== */

.order-products {
    border: 1px solid var(--custom-border);
}


.order-product {
    display: grid;

    grid-template-columns:
        78px
        minmax(0, 1fr)
        auto;

    gap: 20px;

    align-items: center;

    padding: 16px 18px;

    border-bottom:
        1px solid
        var(--custom-border-soft);
}


.order-product:last-child {
    border-bottom: 0;
}


.order-product__image {
    width: 78px;
    height: 78px;

    overflow: hidden;

    background: #141615;
}


.order-product__image a {
    display: block;

    width: 100%;
    height: 100%;
}


.order-product__image img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;

    object-fit: cover;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}


.order-product__image a:hover img {
    transform: scale(1.04);

    opacity: 0.9;
}


.order-product__info {
    min-width: 0;
}


.order-product__name {
    display: inline-block;

    margin: 0;

    color:
        var(--custom-text)
        !important;

    font-size: 18px;
    font-weight: 600;

    line-height: 1.35;

    text-decoration:
        none
        !important;
}


.order-product__name:hover {
    color:
        var(--custom-gold)
        !important;
}


.order-product__meta {
    margin-top: 6px;

    color:
        var(--custom-text-muted);

    font-size: 18px;

    line-height: 1.5;
}


.order-product__meta ul,
.order-product__meta p {
    margin: 0;
    padding: 0;

    list-style: none;
}


.order-product__meta li {
    display: inline;
}


.order-product__price {
    display: flex;

    gap: 5px;

    align-items: center;

    padding-left: 20px;

    color:
        var(--custom-text-soft);

    white-space: nowrap;

    font-size: 18px;
}


.order-product__price strong {
    color:
        var(--custom-text);

    font-weight: 500;
}


/* ==========================================================
   SIDEBAR
   ========================================================== */

.custom-thankyou__sidebar {
    display: flex;

    flex-direction: column;

    gap: 38px;
}


.custom-thankyou__address address {
    margin: 0;

    color:
        var(--custom-text-soft);

    font-size: 18px;

    font-style: normal;

    line-height: 1.8;
}


.custom-thankyou__help p {
    margin: 0 0 15px;

    color:
        var(--custom-text-soft);

    font-size: 13px;

    line-height: 1.6;
}


/* ==========================================================
   CONTACTO
   ========================================================== */

.help-link {
    display: flex;

    gap: 9px;

    align-items: center;

    width: fit-content;

    margin: 10px 0 0;

    color:
        var(--custom-gold)
        !important;

    font-size: 18px;
    font-weight: 500;

    line-height: 1.4;

    text-decoration:
        none
        !important;

    transition:
        color 0.2s ease;
}


.help-link:hover {
    color:
        var(--custom-gold-light)
        !important;
}


.help-link__icon {
    display: inline-flex;

    width: 17px;
    height: 17px;
}


.help-link__icon svg {
    width: 100%;
    height: 100%;
}


/* ==========================================================
   BOTÓN
   ========================================================== */

.custom-thankyou__footer {
    display: flex;

    justify-content: center;

    margin-top: 48px;
}


.custom-thankyou__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 270px;
    min-height: 52px;

    padding: 15px 32px;

    border:
        1px solid
        var(--custom-gold);

    background:
        linear-gradient(
            135deg,
            var(--custom-gold-light),
            var(--custom-gold)
        );

    color:
        #11120f
        !important;

    font-size: 18px;
    font-weight: 800;

    letter-spacing: 0.04em;

    line-height: 1;

    text-align: center;

    text-decoration:
        none
        !important;

    text-transform: uppercase;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.custom-thankyou__button:hover {
    transform:
        translateY(-2px);

    background:
        linear-gradient(
            135deg,
            #f5d985,
            #e6bd64
        );

    color:
        #11120f
        !important;

    box-shadow:
        0 10px 30px
        rgba(221, 185, 102, 0.12);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .custom-thankyou {
        width:
            min(
                100% - 36px,
                760px
            );

        padding-top: 55px;
    }


    .order-info {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .order-info__item:nth-child(2) {
        border-right: 0;
    }


    .order-info__item:nth-child(1),
    .order-info__item:nth-child(2) {
        border-bottom:
            1px solid
            var(--custom-border);
    }


    .custom-thankyou__content {
        grid-template-columns:
            1fr;

        gap: 42px;
    }


    .custom-thankyou__sidebar {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 35px;
    }

}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 600px) {

    .custom-thankyou {
        width:
            calc(100% - 28px);

        padding-top: 42px;
        padding-bottom: 55px;
    }


    .custom-thankyou__header {
        margin-bottom: 32px;
    }


    .custom-thankyou__check {
        width: 62px;
        height: 62px;

        margin-bottom: 20px;
    }


    .custom-thankyou__check svg {
        width: 33px;
        height: 33px;
    }


    .custom-thankyou__header h1 {
        font-size: 42px;
    }


    .custom-thankyou__thanks {
        font-size: 18px;
    }


    .custom-thankyou__intro {
        font-size: 18px;
    }


    .order-info {
        grid-template-columns:
            1fr;

        margin-bottom: 42px;
    }


    .order-info__item {
        padding: 16px 18px;

        border-right: 0;

        border-bottom:
            1px solid
            var(--custom-border);
    }


    .order-info__item:nth-child(2) {
        border-bottom:
            1px solid
            var(--custom-border);
    }


    .order-info__item:last-child {
        border-bottom: 0;
    }


    .order-product {
        grid-template-columns:
            66px
            minmax(0, 1fr);

        gap: 14px;

        padding: 14px;
    }


    .order-product__image {
        width: 66px;
        height: 66px;
    }


    .order-product__price {
        grid-column: 2;

        justify-content: flex-start;

        padding: 0;

        margin-top: -7px;
    }


    .custom-thankyou__sidebar {
        display: flex;

        flex-direction: column;

        gap: 32px;
    }


    .custom-thankyou__footer {
        margin-top: 40px;
    }


    .custom-thankyou__button {
        width: 100%;

        min-width: 0;
    }

}

/* ==========================================================
   MI CUENTA - WOOCOMMERCE
   ========================================================== */

body.custom-my-account-page {
    --account-bg: #080a09;
    --account-bg-soft: #0d100f;
    --account-card: #0d100f;

    --account-border: rgba(255, 255, 255, 0.14);
    --account-border-soft: rgba(255, 255, 255, 0.08);

    --account-text: #f5f4ef;
    --account-text-soft: #a7aaa5;
    --account-text-muted: #71766f;

    --account-gold: #ddb966;
    --account-gold-light: #f1cf7c;
    --account-gold-dark: #b88e3f;

    background: var(--account-bg);
    color: var(--account-text);
}


/* ==========================================================
   CONTENEDOR GENERAL
   ========================================================== */

body.custom-my-account-page .page-header {
    display: none;
}

body.custom-my-account-page .woocommerce {
    width: min(1180px, calc(100% - 48px));
    max-width: none;

    margin: 0 auto;
    padding: 55px 0 75px;
}

body.custom-my-account-page .woocommerce::before,
body.custom-my-account-page .woocommerce::after {
    display: none;
}


/* ==========================================================
   LAYOUT PRINCIPAL
   ========================================================== */

body.custom-my-account-page .woocommerce {
    display: grid;

    grid-template-columns: 220px minmax(0, 1fr);

    gap: 36px;

    align-items: start;
}


body.custom-my-account-page .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
}


body.custom-my-account-page .woocommerce-MyAccount-content {
    float: none;
    width: 100%;

    min-width: 0;
}


/* ==========================================================
   NAVEGACIÓN
   ========================================================== */

.custom-account-nav {
    position: sticky;
    top: 30px;

    border: 1px solid var(--account-border);

    background: rgba(255, 255, 255, 0.015);
}


.custom-account-nav__list {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


.custom-account-nav__item {
    margin: 0 !important;
    padding: 0 !important;

    border-bottom: 1px solid var(--account-border-soft);
}


.custom-account-nav__item:last-child {
    border-bottom: 0;
}


.custom-account-nav__link {
    position: relative;

    display: flex;

    gap: 12px;

    align-items: center;

    min-height: 54px;

    padding: 13px 16px;

    color: var(--account-text-soft) !important;

    font-size: 18px;
    font-weight: 500;

    line-height: 1.2;

    text-decoration: none !important;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}


.custom-account-nav__link:hover {
    color: var(--account-text) !important;
    background: rgba(255, 255, 255, 0.025);
}


.custom-account-nav__item.is-active .custom-account-nav__link {
    color: var(--account-text) !important;

    background:
        linear-gradient(
            90deg,
            rgba(221, 185, 102, 0.11),
            transparent
        );
}


.custom-account-nav__item.is-active .custom-account-nav__link::before {
    content: "";

    position: absolute;

    left: -1px;
    top: -1px;
    bottom: -1px;

    width: 3px;

    background: var(--account-gold);
}


.custom-account-nav__icon {
    display: inline-flex;

    flex: 0 0 18px;

    width: 18px;
    height: 18px;

    color: currentColor;
}


.custom-account-nav__icon svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.45;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================
   OCULTAR EL TEXTO NATIVO DEL DASHBOARD
   ========================================================== */

body.custom-my-account-page
.woocommerce-MyAccount-content > p:first-child,

body.custom-my-account-page
.woocommerce-MyAccount-content > p:nth-child(2) {
    display: none;
}


/* ==========================================================
   CABECERA DEL DASHBOARD
   ========================================================== */

.custom-account-heading {
    margin-bottom: 24px;
}


.custom-account-heading h1 {
    margin: 0 0 3px;

    color: var(--account-text);

    font-family:
        "Bebas Neue",
        "Arial Narrow",
        Arial,
        sans-serif;

    font-size: clamp(42px, 4vw, 58px);
    font-weight: 700;

    line-height: 0.95;

    letter-spacing: 0.01em;

    text-transform: uppercase;
}


.custom-account-heading p {
    margin: 0;

    color: var(--account-text-soft);

    font-size: 18px;
}


/* ==========================================================
   BIENVENIDA
   ========================================================== */

.custom-account-welcome {
    display: grid;

    grid-template-columns: 145px minmax(0, 1fr);

    min-height: 165px;

    margin-bottom: 34px;

    overflow: hidden;

    border: 1px solid var(--account-border);

    background:
        linear-gradient(
            110deg,
            #121514 0%,
            #0d100f 48%,
            #11130f 100%
        );
}


.custom-account-welcome__visual {
    position: relative;

    display: flex;

    align-items: flex-end;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(221,185,102,0.11),
            transparent 60%
        );
}


.custom-account-welcome__visual::after {
    content: "";

    position: absolute;

    inset: auto 0 0;

    height: 45%;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.28)
        );
}


.custom-account-welcome__avatar {
    width: 108px;
    height: 108px;

    margin-bottom: 18px;

    overflow: hidden;

    border-radius: 50%;

    border: 1px solid rgba(221, 185, 102, 0.25);

    background: #171a18;
}


.custom-account-welcome__avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.custom-account-welcome__content {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 30px;

    padding: 32px 34px;
}


.custom-account-welcome__eyebrow {
    display: block;

    margin-bottom: 2px;

    color: var(--account-text-soft);

    font-size: 18px;
    font-weight: 600;

    letter-spacing: 0.06em;
}


.custom-account-welcome__content h2 {
    margin: 0 0 8px;

    color: var(--account-text);

    font-size: 28px;
    font-weight: 700;

    line-height: 1;
}


.custom-account-welcome__content p {
    margin: 0;

    color: var(--account-text-soft);

    font-size: 18px;
}


.custom-account-welcome__quote {
    width: min(270px, 40%);

    color: var(--account-gold);

    font-family:
        "Arial Narrow",
        Arial,
        sans-serif;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.35;

    text-align: right;

    text-transform: uppercase;
}


/* ==========================================================
   SECCIONES
   ========================================================== */

.custom-account-section {
    margin-top: 0;
    margin-bottom: 34px;
}


.custom-account-section__header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 14px;
}


.custom-account-section__header h2 {
    margin: 0;

    color: var(--account-text);

    font-family:
        "Arial Narrow",
        Arial,
        sans-serif;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: 0.035em;

    text-transform: uppercase;
}


.custom-account-section__header a {
    color: var(--account-text-soft) !important;

    font-size: 18px;

    text-decoration: none !important;
}


.custom-account-section__header a:hover {
    color: var(--account-gold) !important;
}


/* ==========================================================
   TABLA DE PEDIDOS
   ========================================================== */

.custom-orders-table-wrap {
    overflow-x: auto;

    border: 1px solid var(--account-border);
}


.custom-orders-table {
    width: 100%;

    margin: 0 !important;

    border: 0 !important;
    border-collapse: collapse;

    background: transparent;
}


.custom-orders-table th,
.custom-orders-table td {
    padding: 14px 16px !important;

    border: 0 !important;
    border-bottom: 1px solid var(--account-border-soft) !important;

    background: transparent !important;

    text-align: left;
    vertical-align: middle;
}


.custom-orders-table tr:last-child td {
    border-bottom: 0 !important;
}


.custom-orders-table th {
    color: var(--account-text-muted);

    font-size: 18px;
    font-weight: 600;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


.custom-orders-table td {
    color: var(--account-text-soft);

    font-size: 18px;
}


.custom-orders-table td:first-child,
.custom-orders-table td:nth-child(4) {
    color: var(--account-text);
    font-weight: 600;
}


.custom-order-status {
    display: inline-flex;

    align-items: center;

    min-height: 23px;

    padding: 4px 8px;

    border-radius: 3px;

    background: rgba(221, 185, 102, 0.13);

    color: var(--account-gold);

    font-size: 18px;
    font-weight: 600;

    line-height: 1;

    white-space: nowrap;
}


.custom-order-status--completed {
    background: rgba(77, 157, 94, 0.14);
    color: #8bc997;
}


.custom-order-status--cancelled,
.custom-order-status--failed {
    background: rgba(190, 80, 80, 0.14);
    color: #d98a8a;
}


.custom-order-status--processing,
.custom-order-status--on-hold {
    background: rgba(221, 185, 102, 0.13);
    color: var(--account-gold);
}


.custom-order-view {
    color: var(--account-gold) !important;

    font-size: 18px;

    text-decoration: underline !important;
    text-underline-offset: 3px;
}


.custom-order-view:hover {
    color: var(--account-gold-light) !important;
}


/* ==========================================================
   TARJETAS INFERIORES
   ========================================================== */

.custom-account-bottom-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;
}


.custom-account-card {
    min-width: 0;

    padding: 22px;

    border: 1px solid var(--account-border);

    background: rgba(255, 255, 255, 0.01);
}


.custom-account-card h3 {
    margin: 0 0 10px;

    color: var(--account-text);

    font-size: 18px;
    font-weight: 600;
}


.custom-account-card address {
    margin: 0 0 18px;

    color: var(--account-text-soft);

    font-size: 18px;
    font-style: normal;

    line-height: 1.65;
}


.custom-account-card__muted {
    margin: 0 0 18px;

    color: var(--account-text-muted);

    font-size: 18px;
}


.custom-account-edit-link {
    color: var(--account-gold) !important;

    font-size: 18px;
    font-weight: 500;

    text-decoration: underline !important;

    text-underline-offset: 3px;
}


.custom-account-detail {
    display: flex;

    gap: 9px;

    align-items: center;

    margin-bottom: 10px;

    color: var(--account-text-soft);

    font-size: 18px;

    word-break: break-word;
}


.custom-account-detail__icon {
    display: inline-flex;

    flex: 0 0 16px;

    width: 16px;
    height: 16px;

    color: var(--account-text-muted);
}


.custom-account-detail__icon svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.4;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================
   ESTADOS VACÍOS
   ========================================================== */

.custom-account-empty {
    padding: 28px;

    border: 1px solid var(--account-border);

    text-align: center;
}


.custom-account-empty p {
    margin: 0 0 12px;

    color: var(--account-text-soft);

    font-size: 18px;
}


.custom-account-empty a {
    color: var(--account-gold) !important;

    font-size: 18px;

    text-decoration: none !important;
}


/* ==========================================================
   RESTO DE ENDPOINTS DE MI CUENTA
   Pedidos, direcciones, detalles, etc.
   ========================================================== */

body.custom-my-account-page
.woocommerce-MyAccount-content
.woocommerce-info,

body.custom-my-account-page
.woocommerce-MyAccount-content
.woocommerce-message,

body.custom-my-account-page
.woocommerce-MyAccount-content
.woocommerce-error {
    margin: 0 0 22px !important;

    padding: 16px 18px !important;

    border: 1px solid var(--account-border) !important;
    border-top: 1px solid var(--account-gold) !important;

    background: #0d100f !important;

    color: var(--account-text-soft) !important;

    font-size: 18px;
}


body.custom-my-account-page
.woocommerce-MyAccount-content
.woocommerce-info::before,

body.custom-my-account-page
.woocommerce-MyAccount-content
.woocommerce-message::before {
    color: var(--account-gold) !important;
	display: none !important;
}


body.custom-my-account-page
.woocommerce-MyAccount-content
table.shop_table {
    width: 100%;

    margin: 0 !important;

    border: 1px solid var(--account-border) !important;
    border-radius: 0 !important;

    border-collapse: collapse !important;

    background: transparent;
}


body.custom-my-account-page
.woocommerce-MyAccount-content
table.shop_table th,

body.custom-my-account-page
.woocommerce-MyAccount-content
table.shop_table td {
    padding: 14px 16px !important;

    border: 0 !important;
    border-bottom: 1px solid var(--account-border-soft) !important;

    background: transparent !important;

    color: var(--account-text-soft);

    font-size: 18px;
}


body.custom-my-account-page
.woocommerce-MyAccount-content
table.shop_table th {
    color: var(--account-text-muted);

    font-size: 18px;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}


body.custom-my-account-page
.woocommerce-MyAccount-content
table.shop_table tr:last-child td {
    border-bottom: 0 !important;
}


body.custom-my-account-page
.woocommerce-MyAccount-content
a {
    color: var(--account-gold);
}


body.custom-my-account-page
.woocommerce-MyAccount-content
.button,

body.custom-my-account-page
.woocommerce-MyAccount-content
button.button,

body.custom-my-account-page
.woocommerce-MyAccount-content
input.button {
    min-height: 44px;

    padding: 12px 22px !important;

    border: 1px solid var(--account-gold) !important;
    border-radius: 0 !important;

    background:
        linear-gradient(
            135deg,
            var(--account-gold-light),
            var(--account-gold)
        ) !important;

    color: #11120f !important;

    font-size: 18px !important;
    font-weight: 800 !important;

    letter-spacing: 0.04em;

    text-transform: uppercase;

    box-shadow: none !important;
}


body.custom-my-account-page
.woocommerce-MyAccount-content
input.input-text,

body.custom-my-account-page
.woocommerce-MyAccount-content
input[type="text"],

body.custom-my-account-page
.woocommerce-MyAccount-content
input[type="email"],

body.custom-my-account-page
.woocommerce-MyAccount-content
input[type="password"],

body.custom-my-account-page
.woocommerce-MyAccount-content
input[type="tel"],

body.custom-my-account-page
.woocommerce-MyAccount-content
select,

body.custom-my-account-page
.woocommerce-MyAccount-content
textarea {
    min-height: 46px;

    padding: 11px 13px !important;

    border: 1px solid var(--account-border) !important;
    border-radius: 0 !important;

    outline: none !important;

    background: #0c0f0e !important;

    color: var(--account-text) !important;

    font-size: 18px !important;

    box-shadow: none !important;
}


body.custom-my-account-page
.woocommerce-MyAccount-content
textarea {
    min-height: 110px;
}


body.custom-my-account-page
.woocommerce-MyAccount-content
input:focus,

body.custom-my-account-page
.woocommerce-MyAccount-content
select:focus,

body.custom-my-account-page
.woocommerce-MyAccount-content
textarea:focus {
    border-color: var(--account-gold) !important;
}


body.custom-my-account-page
.woocommerce-MyAccount-content
label {
    margin-bottom: 6px;

    color: var(--account-text-soft);

    font-size: 18px;
    font-weight: 500;
}


body.custom-my-account-page
.woocommerce-MyAccount-content
fieldset {
    margin-top: 28px;

    padding: 20px;

    border: 1px solid var(--account-border);
}


body.custom-my-account-page
.woocommerce-MyAccount-content
legend {
    padding: 0 8px;

    color: var(--account-text);

    font-size: 18px;
    font-weight: 600;
}


body.custom-my-account-page
.woocommerce-Address {
    padding: 20px !important;

    border: 1px solid var(--account-border);
}


body.custom-my-account-page
.woocommerce-Address-title h2 {
    color: var(--account-text);

    font-size: 18px;
}


body.custom-my-account-page
.woocommerce-Address address {
    color: var(--account-text-soft);

    font-size: 18px;

    line-height: 1.7;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    body.custom-my-account-page .woocommerce {
        width: min(100% - 36px, 760px);

        grid-template-columns: 1fr;

        gap: 24px;

        padding-top: 40px;
    }


    .custom-account-nav {
        position: static;
    }


    .custom-account-nav__list {
        display: grid;

        grid-template-columns: repeat(3, 1fr);
    }


    .custom-account-nav__item {
        border-right: 1px solid var(--account-border-soft);
    }


    .custom-account-nav__item:nth-child(3n) {
        border-right: 0;
    }


    .custom-account-nav__link {
        justify-content: center;

        padding: 12px 9px;
    }


    .custom-account-welcome__content {
        padding: 26px;
    }

}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 600px) {

    body.custom-my-account-page .woocommerce {
        width: calc(100% - 28px);

        padding-top: 30px;
        padding-bottom: 55px;
    }


    .custom-account-nav {
        overflow-x: auto;

        border-left: 0;
        border-right: 0;
    }


    .custom-account-nav__list {
        display: flex;

        width: max-content;
        min-width: 100%;
    }


    .custom-account-nav__item {
        flex: 0 0 auto;

        border-right: 1px solid var(--account-border-soft);
        border-bottom: 0;
    }


    .custom-account-nav__link {
        min-width: 110px;

        justify-content: center;

        padding: 12px;

        font-size: 18px;
    }


    .custom-account-nav__text {
        white-space: nowrap;
    }


    .custom-account-heading h1 {
        font-size: 42px;
    }


    .custom-account-welcome {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .custom-account-welcome__visual {
        padding-top: 22px;
    }


    .custom-account-welcome__avatar {
        margin-bottom: 10px;
    }


    .custom-account-welcome__content {
        flex-direction: column;

        gap: 18px;

        padding: 20px 20px 26px;
    }


    .custom-account-welcome__quote {
        width: 100%;

        font-size: 18px;

        text-align: center;
    }


    .custom-account-bottom-grid {
        grid-template-columns: 1fr;
    }


    .custom-orders-table-wrap {
        overflow: visible;

        border: 0;
    }


    .custom-orders-table,
    .custom-orders-table tbody,
    .custom-orders-table tr,
    .custom-orders-table td {
        display: block;

        width: 100%;
    }


    .custom-orders-table thead {
        display: none;
    }


    .custom-orders-table tr {
        margin-bottom: 12px;

        padding: 8px 14px;

        border: 1px solid var(--account-border);
    }


    .custom-orders-table td {
        display: flex;

        justify-content: space-between;
        align-items: center;

        gap: 15px;

        padding: 9px 0 !important;

        text-align: right;
    }


    .custom-orders-table td::before {
        content: attr(data-label);

        flex: 0 0 40%;

        color: var(--account-text-muted);

        font-size: 18px;

        letter-spacing: 0.05em;

        text-align: left;

        text-transform: uppercase;
    }


    .custom-orders-table tr:last-child td {
        border-bottom: 1px solid var(--account-border-soft) !important;
    }


    .custom-orders-table td:last-child {
        border-bottom: 0 !important;
    }


    body.custom-my-account-page
    .woocommerce-MyAccount-content
    .woocommerce-Addresses {
        display: block;
    }


    body.custom-my-account-page
    .woocommerce-MyAccount-content
    .woocommerce-Address {
        width: 100% !important;

        margin-bottom: 16px;
    }

}


/**
 * ==========================================================
 * BARBAS HATS — HERO DE CATEGORÍAS
 *
 * IMPORTANTE:
 * Las tarjetas NO se vuelven a diseñar aquí.
 * Reutilizan directamente tu CSS actual de:
 *
 * .bh-catalog
 * .barbas-product-card
 * .barbas-product-media
 * .barbas-product-cart
 * .barbas-product-title
 * .barbas-product-price
 * ==========================================================
 */


/* ----------------------------------------------------------
   FONDO GENERAL
   ---------------------------------------------------------- */

body.bh-category-page {
    background: #080908;
    color: #ffffff;
}


/* Evitar título adicional de Hello Elementor */
body.bh-category-page .page-header {
    display: none !important;
}


/* ----------------------------------------------------------
   HERO FULL WIDTH
   ---------------------------------------------------------- */

body.bh-category-page .bh-category-hero {
    position: relative;

    width: 100%;
    min-height: 500px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    box-sizing: border-box;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    background:
        radial-gradient(
            circle at 70% 40%,
            #20241f 0%,
            #101310 35%,
            #080908 72%
        );
}


/* Imagen real de categoría */
body.bh-category-page .bh-category-hero.has-image::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image: var(--bh-category-hero-image);

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    transform: scale(1.015);
}


/* Oscurecido similar al ejemplo */
body.bh-category-page .bh-category-hero-overlay {
    position: absolute;
    z-index: 1;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.86) 0%,
            rgba(0, 0, 0, 0.70) 28%,
            rgba(0, 0, 0, 0.36) 58%,
            rgba(0, 0, 0, 0.18) 100%
        );
}


/* Gradiente inferior para integrar hero + catálogo */
body.bh-category-page .bh-category-hero-overlay::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 34%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0, 0, 0, 0.28)
        );
}


body.bh-category-page .bh-category-hero-inner {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    width: min(1320px, calc(100% - 48px));
    min-height: 500px;

    margin: 0 auto;
    padding: 60px 0;

    box-sizing: border-box;
}


/* ----------------------------------------------------------
   TÍTULO
   ---------------------------------------------------------- */

body.bh-category-page .bh-category-hero h1 {
    max-width: 900px;

    margin: 0 0 22px;
    padding: 0;

    color: #ffffff;

    font-family: inherit;
    font-size: clamp(54px, 6vw, 88px);
    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -0.04em;

    text-transform: uppercase;

    text-shadow:
        0 3px 20px rgba(0, 0, 0, 0.28);
}


/* ----------------------------------------------------------
   BREADCRUMB
   ---------------------------------------------------------- */

body.bh-category-page
.bh-category-breadcrumb
.woocommerce-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 10px;

    margin: 0;
    padding: 0;

    color: #d8dcd7;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.5;
}


body.bh-category-page
.bh-category-breadcrumb
.woocommerce-breadcrumb a {
    color: #ffffff;

    text-decoration: none;

    transition: color 0.2s ease;
}


body.bh-category-page
.bh-category-breadcrumb
.woocommerce-breadcrumb a:hover {
    color: #d9b675;
}


body.bh-category-page
.bh-category-breadcrumb-separator {
    color: #d9b675;

    font-weight: 700;
}


/* ----------------------------------------------------------
   CATÁLOGO DE CATEGORÍA
   ---------------------------------------------------------- */

/*
 * .bh-catalog ya existe en tu CSS actual.
 * Solo añadimos separación respecto al hero.
 */
body.bh-category-page .bh-category-catalog {
    padding-top: 28px;
}


/*
 * Neutralizar cualquier H1/título residual que un plugin
 * pudiera imprimir dentro del archivo.
 */
body.bh-category-page
.bh-category-catalog
.woocommerce-products-header__title {
    display: none !important;
}


/* ----------------------------------------------------------
   RESPONSIVE HERO
   ---------------------------------------------------------- */

@media (max-width: 1024px) {

    body.bh-category-page .bh-category-hero,
    body.bh-category-page .bh-category-hero-inner {
        min-height: 420px;
    }


    body.bh-category-page .bh-category-hero-inner {
        width: min(100% - 40px, 900px);

        padding: 48px 0;
    }


    body.bh-category-page .bh-category-hero h1 {
        max-width: 720px;

        font-size: clamp(50px, 8vw, 76px);
    }

}


@media (max-width: 767px) {

    body.bh-category-page .bh-category-hero,
    body.bh-category-page .bh-category-hero-inner {
        min-height: 330px;
    }


    body.bh-category-page .bh-category-hero-inner {
        width: calc(100% - 32px);

        padding: 38px 0;
    }


    body.bh-category-page .bh-category-hero h1 {
        max-width: 100%;

        margin-bottom: 17px;

        font-size: clamp(42px, 14vw, 58px);
        line-height: 0.98;
    }


    body.bh-category-page
    .bh-category-breadcrumb
    .woocommerce-breadcrumb {
        gap: 7px;

        font-size: 12px;
    }


    body.bh-category-page .bh-category-catalog {
        padding-top: 18px;
    }

}


==========================================================
3_ MUY IMPORTANTE:
ACTIVAR TU AVISO "PRODUCTO AÑADIDO" TAMBIÉN EN CATEGORÍAS
==========================================================

En tu functions.php YA tienes DOS condiciones iguales como esta:

if (
    ! class_exists( 'WooCommerce' ) ||
    ! ( is_front_page() || is_product() || is_shop() )
) {
    return;
}


Debes cambiar LAS DOS por esta versión:

if (
    ! class_exists( 'WooCommerce' ) ||
    ! (
        is_front_page() ||
        is_product() ||
        is_shop() ||
        is_product_category()
    )
) {
    return;
}

/* ==========================================================
   BARBAS HATS — BLOG
   ========================================================== */

body.bh-blog-page {
    --bh-blog-bg: #080908;
    --bh-blog-bg-soft: #101310;

    --bh-blog-white: #ffffff;
    --bh-blog-black: #080908;

    --bh-blog-text: #f5f5f2;
    --bh-blog-muted: #b8beb9;

    --bh-blog-gold: #d9b675;
    --bh-blog-gold-light: #efd39d;

    --bh-blog-border: #303632;

    margin: 0;

    background: var(--bh-blog-bg);

    color: var(--bh-blog-text);
}


/* El título lo imprime el hero */
body.bh-blog-page .page-header {
    display: none !important;
}


/* ==========================================================
   HERO
   ========================================================== */

body.bh-blog-page .bh-blog-hero {
    position: relative;

    width: 100%;
    min-height: 500px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    background: #080908;
}


body.bh-blog-page .bh-blog-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        var(--bh-blog-hero-image);

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    transform: scale(1.01);
}


body.bh-blog-page .bh-blog-hero-overlay {
    position: absolute;
    z-index: 1;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.84) 0%,
            rgba(0, 0, 0, 0.64) 31%,
            rgba(0, 0, 0, 0.30) 60%,
            rgba(0, 0, 0, 0.10) 100%
        );
}


body.bh-blog-page .bh-blog-hero-overlay::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 32%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0, 0, 0, 0.24)
        );
}


body.bh-blog-page .bh-blog-hero-inner {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    width: min(1320px, calc(100% - 48px));
    min-height: 500px;

    margin: 0 auto;
    padding: 60px 0;

    box-sizing: border-box;
}


body.bh-blog-page .bh-blog-hero h1 {
    margin: 0 0 22px;
    padding: 0;

    color: #ffffff;

    font-family: inherit;
    font-size: clamp(64px, 7vw, 100px);
    font-weight: 800;

    line-height: 0.92;

    letter-spacing: -0.045em;

    text-transform: uppercase;

    text-shadow:
        0 3px 20px rgba(0, 0, 0, 0.28);
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */

body.bh-blog-page .bh-blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 10px;

    margin: 0;

    color: #d8dcd7;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.5;
}


body.bh-blog-page .bh-blog-breadcrumb a {
    color: #ffffff;

    text-decoration: none;

    transition: color 0.2s ease;
}


body.bh-blog-page .bh-blog-breadcrumb a:hover {
    color: var(--bh-blog-gold);
}


body.bh-blog-page .bh-blog-breadcrumb > span:first-of-type {
    color: var(--bh-blog-gold);
}


/* ==========================================================
   CONTENEDOR
   ========================================================== */

body.bh-blog-page .bh-blog-shell {
    width: min(1320px, calc(100% - 48px));

    margin: 0 auto;
    padding: 70px 0 80px;

    box-sizing: border-box;
}


/* ==========================================================
   ENCABEZADOS DE SECCIÓN
   ========================================================== */

body.bh-blog-page .bh-blog-section-heading {
    margin: 0 0 26px;
}


body.bh-blog-page .bh-blog-section-heading > span {
    display: block;

    margin-bottom: 7px;

    color: var(--bh-blog-gold);

    font-size: 11px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


body.bh-blog-page .bh-blog-section-heading h2 {
    margin: 0;
    padding: 0;

    color: #ffffff;

    font-size: clamp(30px, 3.8vw, 48px);
    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.035em;

    text-transform: uppercase;
}


/* ==========================================================
   ARTÍCULO DESTACADO
   ========================================================== */

body.bh-blog-page .bh-blog-featured-section {
    margin-bottom: 72px;
}


body.bh-blog-page .bh-blog-featured {
    display: grid;

    grid-template-columns:
        minmax(0, 1.28fr)
        minmax(340px, 0.72fr);

    min-height: 520px;

    overflow: hidden;

    border: 1px solid var(--bh-blog-border);
    border-radius: 15px;

    background: #0f130f;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.18);
}


body.bh-blog-page .bh-blog-featured-media {
    position: relative;

    display: block;

    min-height: 520px;

    overflow: hidden;

    background: #151915;
}


body.bh-blog-page .bh-blog-featured-image {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 520px;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.5s ease,
        opacity 0.3s ease;
}


body.bh-blog-page .bh-blog-featured:hover
.bh-blog-featured-image {
    transform: scale(1.025);
}


body.bh-blog-page .bh-blog-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: clamp(30px, 4vw, 58px);

    box-sizing: border-box;
}


body.bh-blog-page .bh-blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px 12px;

    margin: 0 0 20px;

    color: var(--bh-blog-muted);

    font-size: 11px;
    font-weight: 600;

    line-height: 1.4;

    text-transform: uppercase;
}


body.bh-blog-page .bh-blog-meta-featured {
    display: inline-flex;
    align-items: center;

    min-height: 28px;

    padding: 4px 10px;

    border: 1px solid var(--bh-blog-gold);
    border-radius: 20px;

    color: var(--bh-blog-gold);

    font-weight: 800;
}


body.bh-blog-page .bh-blog-meta-category {
    color: var(--bh-blog-gold);
}


body.bh-blog-page .bh-blog-featured-content h3 {
    margin: 0 0 22px;

    padding: 0;

    font-size: clamp(30px, 3.3vw, 48px);
    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -0.035em;

    overflow-wrap: anywhere;
}


body.bh-blog-page .bh-blog-featured-content h3 a {
    color: #ffffff;

    text-decoration: none;
}


body.bh-blog-page .bh-blog-featured-content p {
    margin: 0 0 28px;

    color: #dce1dc;

    font-size: 15px;

    line-height: 1.75;
}


body.bh-blog-page .bh-blog-featured-link {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    width: min(240px, 100%);
    min-height: 50px;

    margin-top: auto;

    padding: 13px 18px;

    box-sizing: border-box;

    border: 1px solid var(--bh-blog-gold);
    border-radius: 12px;

    background: var(--bh-blog-gold);

    color: #080908;

    font-size: 13px;
    font-weight: 800;

    line-height: 1.2;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


body.bh-blog-page .bh-blog-featured-link:hover {
    transform: translateY(-2px);

    background: var(--bh-blog-gold-light);

    color: #080908;
}


/* ==========================================================
   GRID
   ========================================================== */

body.bh-blog-page .bh-blog-grid-section {
    margin-top: 0;
}


body.bh-blog-page .bh-blog-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* ==========================================================
   TARJETA BLOG
   ========================================================== */

body.bh-blog-page .bh-blog-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border-radius: 15px;

    background: #ffffff;
    color: #080908;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


body.bh-blog-page .bh-blog-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.30);
}


body.bh-blog-page .bh-blog-card-media {
    position: relative;

    display: block;

    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #eceeeb;
}


body.bh-blog-page .bh-blog-card-image {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.45s ease;
}


body.bh-blog-page .bh-blog-card:hover
.bh-blog-card-image {
    transform: scale(1.035);
}


body.bh-blog-page .bh-blog-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 22px 20px 24px;

    box-sizing: border-box;
}


body.bh-blog-page .bh-blog-card-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 6px 12px;

    margin: 0 0 13px;

    color: rgba(8, 9, 8, 0.52);

    font-size: 10px;
    font-weight: 700;

    line-height: 1.4;

    text-transform: uppercase;
}


body.bh-blog-page .bh-blog-card-meta > span {
    color: #8b682e;
}


body.bh-blog-page .bh-blog-card h3 {
    margin: 0 0 13px;
    padding: 0;

    color: #080908;

    font-size: 22px;
    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -0.025em;

    overflow-wrap: anywhere;
}


body.bh-blog-page .bh-blog-card h3 a {
    color: inherit;

    text-decoration: none;
}


body.bh-blog-page .bh-blog-card p {
    margin: 0 0 22px;

    color: rgba(8, 9, 8, 0.68);

    font-size: 14px;

    line-height: 1.65;
}


body.bh-blog-page .bh-blog-card-link {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    gap: 14px;

    width: 100%;

    min-height: 46px;

    margin-top: auto;

    padding: 11px 15px;

    box-sizing: border-box;

    border: 1px solid #080908;
    border-radius: 12px;

    background: #080908;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    line-height: 1.2;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


body.bh-blog-page .bh-blog-card-link:hover {
    background: #ffffff;

    color: #080908;
}


/* ==========================================================
   PLACEHOLDER SIN IMAGEN
   ========================================================== */

body.bh-blog-page .bh-blog-image-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    min-height: inherit;

    background:
        linear-gradient(
            135deg,
            #151a16,
            #080908
        );

    color: var(--bh-blog-gold);

    font-size: 22px;
    font-weight: 800;

    letter-spacing: 0.08em;

    text-align: center;
}


/* ==========================================================
   PAGINACIÓN
   ========================================================== */

body.bh-blog-page .bh-blog-pagination {
    margin-top: 52px;
}


body.bh-blog-page .bh-blog-pagination ul.page-numbers {
    display: flex;

    flex-wrap: wrap;
    justify-content: center;

    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}


body.bh-blog-page .bh-blog-pagination li {
    margin: 0;
    padding: 0;
}


body.bh-blog-page .bh-blog-pagination .page-numbers a,
body.bh-blog-page .bh-blog-pagination .page-numbers span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    padding: 0 12px;

    box-sizing: border-box;

    border: 1px solid var(--bh-blog-border);
    border-radius: 10px;

    background: #101510;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}


body.bh-blog-page
.bh-blog-pagination
.page-numbers.current {
    border-color: var(--bh-blog-gold);

    background: var(--bh-blog-gold);

    color: #080908;
}


body.bh-blog-page
.bh-blog-pagination
a.page-numbers:hover {
    border-color: var(--bh-blog-gold);

    color: var(--bh-blog-gold);
}


/* ==========================================================
   SIN ARTÍCULOS
   ========================================================== */

body.bh-blog-page .bh-blog-empty {
    padding: 70px 30px;

    border: 1px solid var(--bh-blog-border);
    border-radius: 15px;

    text-align: center;
}


body.bh-blog-page .bh-blog-empty h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 38px;
    font-weight: 800;
}


body.bh-blog-page .bh-blog-empty p {
    margin: 0;

    color: var(--bh-blog-muted);
}


/* ==========================================================
   ACCESIBILIDAD
   ========================================================== */

body.bh-blog-page .bh-blog-main a:focus-visible {
    outline: 2px solid var(--bh-blog-gold);
    outline-offset: 3px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1024px) {

    body.bh-blog-page .bh-blog-hero,
    body.bh-blog-page .bh-blog-hero-inner {
        min-height: 420px;
    }


    body.bh-blog-page .bh-blog-hero-inner,
    body.bh-blog-page .bh-blog-shell {
        width: min(100% - 40px, 900px);
    }


    body.bh-blog-page .bh-blog-featured {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(300px, 0.85fr);

        min-height: 460px;
    }


    body.bh-blog-page .bh-blog-featured-media,
    body.bh-blog-page .bh-blog-featured-image {
        min-height: 460px;
    }


    body.bh-blog-page .bh-blog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 767px) {

    body.bh-blog-page .bh-blog-hero,
    body.bh-blog-page .bh-blog-hero-inner {
        min-height: 330px;
    }


    body.bh-blog-page .bh-blog-hero-inner {
        width: calc(100% - 32px);

        padding: 38px 0;
    }


    body.bh-blog-page .bh-blog-hero h1 {
        margin-bottom: 17px;

        font-size: clamp(48px, 17vw, 68px);
    }


    body.bh-blog-page .bh-blog-breadcrumb {
        gap: 7px;

        font-size: 12px;
    }


    body.bh-blog-page .bh-blog-shell {
        width: calc(100% - 32px);

        padding: 46px 0 60px;
    }


    body.bh-blog-page .bh-blog-featured-section {
        margin-bottom: 54px;
    }


    body.bh-blog-page .bh-blog-featured {
        grid-template-columns: 1fr;

        min-height: 0;
    }


    body.bh-blog-page .bh-blog-featured-media {
        min-height: 0;

        aspect-ratio: 4 / 3;
    }


    body.bh-blog-page .bh-blog-featured-image {
        min-height: 0;

        aspect-ratio: 4 / 3;
    }


    body.bh-blog-page .bh-blog-featured-content {
        padding: 26px 22px 28px;
    }


    body.bh-blog-page .bh-blog-featured-content h3 {
        font-size: 30px;
    }


    body.bh-blog-page .bh-blog-featured-link {
        width: 100%;
    }


    body.bh-blog-page .bh-blog-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    body.bh-blog-page .bh-blog-card h3 {
        font-size: 21px;
    }

}


/* ==========================================================
   REDUCIR MOVIMIENTO
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    body.bh-blog-page .bh-blog-main *,
    body.bh-blog-page .bh-blog-main *::before,
    body.bh-blog-page .bh-blog-main *::after {
        transition: none !important;
    }


    body.bh-blog-page .bh-blog-card:hover {
        transform: none;
    }


    body.bh-blog-page .bh-blog-featured:hover
    .bh-blog-featured-image {
        transform: none;
    }

}

==========================================================
2_ STYLE.CSS
AÑADIR AL FINAL DE STYLE.CSS
==========================================================

/* ==========================================================
   BARBAS HATS — SINGLE BLOG
   ========================================================== */

body.bh-single-post {
    --bh-single-bg: #080908;
    --bh-single-soft: #101310;

    --bh-single-white: #ffffff;
    --bh-single-black: #080908;

    --bh-single-text: #f5f5f2;
    --bh-single-muted: #b8beb9;

    --bh-single-gold: #d9b675;
    --bh-single-gold-light: #efd39d;

    --bh-single-border: #303632;

    background: var(--bh-single-bg);

    color: var(--bh-single-text);
}


/* Ocultar título nativo del tema */
body.bh-single-post .page-header {
    display: none !important;
}


/* ==========================================================
   HERO
   ========================================================== */

body.bh-single-post .bh-single-hero {
    position: relative;

    width: 100%;
    min-height: 590px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);

    background: #080908;
}


body.bh-single-post .bh-single-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        var(--bh-single-hero-image);

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    transform: scale(1.01);
}


body.bh-single-post .bh-single-hero-overlay {
    position: absolute;
    z-index: 1;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.88) 0%,
            rgba(0,0,0,0.70) 35%,
            rgba(0,0,0,0.40) 62%,
            rgba(0,0,0,0.22) 100%
        );
}


body.bh-single-post .bh-single-hero-overlay::after {
    content: "";

    position: absolute;

    inset: auto 0 0;

    height: 38%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0,0,0,0.35)
        );
}


body.bh-single-post .bh-single-hero-inner {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    width: min(1320px, calc(100% - 48px));
    min-height: 590px;

    margin: 0 auto;
    padding: 72px 0;

    box-sizing: border-box;
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */

body.bh-single-post .bh-single-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 9px;

    max-width: 900px;

    margin: 0 0 30px;

    color: rgba(255,255,255,0.75);

    font-size: 13px;
    font-weight: 600;

    line-height: 1.5;
}


body.bh-single-post .bh-single-breadcrumb a {
    color: #ffffff;

    text-decoration: none;

    transition: color 0.2s ease;
}


body.bh-single-post .bh-single-breadcrumb a:hover {
    color: var(--bh-single-gold);
}


body.bh-single-post
.bh-single-breadcrumb > span[aria-hidden="true"] {
    color: var(--bh-single-gold);
}


body.bh-single-post .bh-single-breadcrumb-current {
    overflow: hidden;

    max-width: 440px;

    white-space: nowrap;

    text-overflow: ellipsis;
}


/* ==========================================================
   META
   ========================================================== */

body.bh-single-post .bh-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 10px 14px;

    margin: 0 0 18px;

    color: #d9ddd8;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.4;

    text-transform: uppercase;
}


body.bh-single-post .bh-single-category {
    display: inline-flex;
    align-items: center;

    min-height: 30px;

    padding: 4px 12px;

    border: 1px solid var(--bh-single-gold);
    border-radius: 20px;

    color: var(--bh-single-gold);
}


/* ==========================================================
   H1
   ========================================================== */

body.bh-single-post .bh-single-hero h1 {
    max-width: 1000px;

    margin: 0;
    padding: 0;

    color: #ffffff;

    font-family: inherit;
    font-size: clamp(54px, 6.6vw, 96px);
    font-weight: 800;

    line-height: 0.96;

    letter-spacing: -0.045em;

    text-transform: uppercase;

    overflow-wrap: anywhere;

    text-shadow:
        0 4px 22px rgba(0,0,0,0.35);
}


/* ==========================================================
   SHELL
   ========================================================== */

body.bh-single-post .bh-single-shell {
    width: min(1320px, calc(100% - 48px));

    margin: 0 auto;

    padding: 76px 0 90px;

    box-sizing: border-box;
}


/* ==========================================================
   ARTÍCULO
   ========================================================== */

body.bh-single-post .bh-single-article {
    width: min(860px, 100%);

    margin: 0 auto 90px;
}


/* ==========================================================
   CONTENIDO EDITORIAL
   ========================================================== */

body.bh-single-post .bh-single-content {
    color: #e5e8e4;

    font-size: 18px;

    line-height: 1.85;

    overflow-wrap: anywhere;
}


body.bh-single-post .bh-single-content > *:first-child {
    margin-top: 0;
}


body.bh-single-post .bh-single-content > *:last-child {
    margin-bottom: 0;
}


body.bh-single-post .bh-single-content p {
    margin: 0 0 26px;
}


body.bh-single-post .bh-single-content h2,
body.bh-single-post .bh-single-content h3,
body.bh-single-post .bh-single-content h4 {
    color: #ffffff;

    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -0.025em;
}


body.bh-single-post .bh-single-content h2 {
    margin: 58px 0 20px;

    font-size: clamp(30px, 3.6vw, 44px);
}


body.bh-single-post .bh-single-content h3 {
    margin: 44px 0 18px;

    font-size: clamp(25px, 3vw, 34px);
}


body.bh-single-post .bh-single-content h4 {
    margin: 34px 0 16px;

    font-size: 22px;
}


body.bh-single-post .bh-single-content a {
    color: var(--bh-single-gold);

    text-decoration: underline;
    text-underline-offset: 3px;
}


body.bh-single-post .bh-single-content strong {
    color: #ffffff;
}


body.bh-single-post .bh-single-content ul,
body.bh-single-post .bh-single-content ol {
    margin: 0 0 28px;

    padding-left: 26px;
}


body.bh-single-post .bh-single-content li {
    margin-bottom: 9px;
}


body.bh-single-post .bh-single-content blockquote {
    margin: 42px 0;

    padding: 22px 0 22px 26px;

    border-left: 3px solid var(--bh-single-gold);

    color: #ffffff;

    font-size: 22px;
    font-weight: 700;

    line-height: 1.55;
}


body.bh-single-post .bh-single-content blockquote p {
    margin: 0;
}


body.bh-single-post .bh-single-content img {
    max-width: 100%;
    height: auto;

    border-radius: 15px;
}


body.bh-single-post .bh-single-content figure {
    max-width: 100%;

    margin: 42px 0;
}


body.bh-single-post .bh-single-content figcaption {
    margin-top: 10px;

    color: var(--bh-single-muted);

    font-size: 12px;

    line-height: 1.5;
}


body.bh-single-post .bh-single-content iframe {
    max-width: 100%;
}


/* Gutenberg wide/full */
body.bh-single-post .bh-single-content .alignwide {
    width: min(1050px, calc(100vw - 48px));
    max-width: none;

    margin-left: 50%;
    transform: translateX(-50%);
}


body.bh-single-post .bh-single-content .alignfull {
    width: 100vw;
    max-width: none;

    margin-left: 50%;
    transform: translateX(-50%);
}


/* ==========================================================
   TABLAS
   ========================================================== */

body.bh-single-post .bh-single-content table {
    width: 100%;

    margin: 34px 0;

    border-collapse: collapse;

    border: 1px solid var(--bh-single-border);
}


body.bh-single-post .bh-single-content th,
body.bh-single-post .bh-single-content td {
    padding: 14px;

    border: 1px solid var(--bh-single-border);

    background: transparent;

    color: #e5e8e4;

    text-align: left;
}


body.bh-single-post .bh-single-content th {
    color: #ffffff;
}


/* ==========================================================
   NAVEGACIÓN ANTERIOR / SIGUIENTE
   ========================================================== */

body.bh-single-post .bh-single-post-nav {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    margin-top: 70px;
    padding-top: 34px;

    border-top: 1px solid var(--bh-single-border);
}


body.bh-single-post .bh-single-post-nav-item {
    display: flex;
    flex-direction: column;

    gap: 8px;

    min-height: 125px;

    padding: 20px;

    box-sizing: border-box;

    border: 1px solid var(--bh-single-border);
    border-radius: 15px;

    background: #0e120e;

    color: #ffffff;

    text-decoration: none;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}


body.bh-single-post .bh-single-post-nav-item:hover {
    transform: translateY(-2px);

    border-color: var(--bh-single-gold);
}


body.bh-single-post .bh-single-post-nav-label {
    color: var(--bh-single-gold);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.06em;
}


body.bh-single-post .bh-single-post-nav-item strong {
    font-size: 16px;

    line-height: 1.35;
}


body.bh-single-post .bh-single-post-nav-next {
    text-align: right;
}


/* ==========================================================
   RELACIONADOS
   ========================================================== */

body.bh-single-post .bh-single-related {
    margin-top: 0;
}


body.bh-single-post .bh-single-section-heading {
    margin: 0 0 28px;
}


body.bh-single-post .bh-single-section-heading > span {
    display: block;

    margin-bottom: 7px;

    color: var(--bh-single-gold);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


body.bh-single-post .bh-single-section-heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(30px, 3.8vw, 48px);
    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.035em;

    text-transform: uppercase;
}


body.bh-single-post .bh-single-related-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* ==========================================================
   TARJETA RELACIONADA
   ========================================================== */

body.bh-single-post .bh-single-related-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border-radius: 15px;

    background: #ffffff;
    color: #080908;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.16);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


body.bh-single-post .bh-single-related-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.30);
}


body.bh-single-post .bh-single-related-media {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #eceeeb;
}


body.bh-single-post .bh-single-related-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}


body.bh-single-post
.bh-single-related-card:hover
.bh-single-related-image {
    transform: scale(1.035);
}


body.bh-single-post .bh-single-related-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 22px 20px 24px;
}


body.bh-single-post .bh-single-related-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 6px 12px;

    margin-bottom: 13px;

    color: rgba(8,9,8,0.52);

    font-size: 10px;
    font-weight: 700;

    line-height: 1.4;

    text-transform: uppercase;
}


body.bh-single-post .bh-single-related-meta > span {
    color: #8b682e;
}


body.bh-single-post .bh-single-related-card h3 {
    margin: 0 0 18px;

    color: #080908;

    font-size: 22px;
    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -0.025em;
}


body.bh-single-post .bh-single-related-card h3 a {
    color: inherit;

    text-decoration: none;
}


body.bh-single-post .bh-single-related-link {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    gap: 14px;

    width: 100%;
    min-height: 46px;

    margin-top: auto;

    padding: 11px 15px;

    box-sizing: border-box;

    border: 1px solid #080908;
    border-radius: 12px;

    background: #080908;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;
    text-transform: uppercase;
}


body.bh-single-post .bh-single-related-link:hover {
    background: #ffffff;

    color: #080908;
}


/* ==========================================================
   PLACEHOLDER
   ========================================================== */

body.bh-single-post .bh-single-image-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            #151a16,
            #080908
        );

    color: var(--bh-single-gold);

    font-size: 20px;
    font-weight: 800;

    letter-spacing: 0.08em;
}


/* ==========================================================
   BOTÓN VOLVER AL BLOG
   ========================================================== */

body.bh-single-post .bh-single-blog-button-wrap {
    display: flex;

    justify-content: center;

    margin-top: 42px;
}


body.bh-single-post .bh-single-blog-button {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-width: 270px;
    min-height: 50px;

    padding: 13px 18px;

    box-sizing: border-box;

    border: 1px solid var(--bh-single-gold);
    border-radius: 12px;

    background: var(--bh-single-gold);

    color: #080908;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}


body.bh-single-post .bh-single-blog-button:hover {
    transform: translateY(-2px);

    background: var(--bh-single-gold-light);

    color: #080908;
}


/* ==========================================================
   ACCESIBILIDAD
   ========================================================== */

body.bh-single-post .bh-single-main a:focus-visible {
    outline: 2px solid var(--bh-single-gold);
    outline-offset: 3px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1024px) {

    body.bh-single-post .bh-single-hero,
    body.bh-single-post .bh-single-hero-inner {
        min-height: 500px;
    }


    body.bh-single-post .bh-single-hero-inner,
    body.bh-single-post .bh-single-shell {
        width: min(100% - 40px, 900px);
    }


    body.bh-single-post .bh-single-related-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 767px) {

    body.bh-single-post .bh-single-hero,
    body.bh-single-post .bh-single-hero-inner {
        min-height: 430px;
    }


    body.bh-single-post .bh-single-hero-inner {
        width: calc(100% - 32px);

        padding: 48px 0;
    }


    body.bh-single-post .bh-single-breadcrumb {
        gap: 7px;

        margin-bottom: 22px;

        font-size: 11px;
    }


    body.bh-single-post .bh-single-breadcrumb-current {
        max-width: 180px;
    }


    body.bh-single-post .bh-single-meta {
        margin-bottom: 14px;

        font-size: 10px;
    }


    body.bh-single-post .bh-single-hero h1 {
        font-size: clamp(42px, 13vw, 58px);
    }


    body.bh-single-post .bh-single-shell {
        width: calc(100% - 32px);

        padding: 48px 0 64px;
    }


    body.bh-single-post .bh-single-article {
        margin-bottom: 64px;
    }


    body.bh-single-post .bh-single-content {
        font-size: 16px;

        line-height: 1.78;
    }


    body.bh-single-post .bh-single-content h2 {
        margin-top: 44px;

        font-size: 30px;
    }


    body.bh-single-post .bh-single-content h3 {
        margin-top: 36px;

        font-size: 25px;
    }


    body.bh-single-post .bh-single-content blockquote {
        margin: 34px 0;

        padding-left: 18px;

        font-size: 19px;
    }


    body.bh-single-post .bh-single-content .alignwide,
    body.bh-single-post .bh-single-content .alignfull {
        width: calc(100vw - 20px);
    }


    body.bh-single-post .bh-single-post-nav {
        grid-template-columns: 1fr;

        margin-top: 50px;
    }


    body.bh-single-post .bh-single-post-nav-next {
        text-align: left;
    }


    body.bh-single-post .bh-single-related-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    body.bh-single-post .bh-single-blog-button {
        width: 100%;
        min-width: 0;
    }

}


/* ==========================================================
   REDUCIR MOVIMIENTO
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    body.bh-single-post .bh-single-main *,
    body.bh-single-post .bh-single-main *::before,
    body.bh-single-post .bh-single-main *::after {
        transition: none !important;
    }


    body.bh-single-post .bh-single-related-card:hover,
    body.bh-single-post .bh-single-post-nav-item:hover,
    body.bh-single-post .bh-single-blog-button:hover {
        transform: none;
    }

}

/* ==========================================================
   BARBAS HATS — CONTACTO
   ========================================================== */

body.bh-contact-page {
    --bh-contact-bg: #080908;
    --bh-contact-soft: #101310;

    --bh-contact-white: #ffffff;
    --bh-contact-black: #080908;

    --bh-contact-text: #f5f5f2;
    --bh-contact-muted: #b8beb9;

    --bh-contact-gold: #d9b675;
    --bh-contact-gold-light: #efd39d;

    --bh-contact-border: #303632;

    background: var(--bh-contact-bg);

    color: var(--bh-contact-text);
}


body.bh-contact-page .page-header {
    display: none !important;
}


/* ==========================================================
   HERO
   ========================================================== */

body.bh-contact-page .bh-contact-hero {
    position: relative;

    width: 100%;
    min-height: 500px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);

    background: #080908;
}


body.bh-contact-page .bh-contact-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        var(--bh-contact-hero-image);

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    transform: scale(1.01);
}


body.bh-contact-page .bh-contact-hero-overlay {
    position: absolute;
    z-index: 1;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.84) 0%,
            rgba(0,0,0,0.64) 31%,
            rgba(0,0,0,0.30) 60%,
            rgba(0,0,0,0.10) 100%
        );
}


body.bh-contact-page .bh-contact-hero-overlay::after {
    content: "";

    position: absolute;

    inset: auto 0 0;

    height: 32%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0,0,0,0.24)
        );
}


body.bh-contact-page .bh-contact-hero-inner {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    width: min(1320px, calc(100% - 48px));
    min-height: 500px;

    margin: 0 auto;
    padding: 60px 0;

    box-sizing: border-box;
}


body.bh-contact-page .bh-contact-hero h1 {
    margin: 0 0 22px;

    color: #ffffff;

    font-family: inherit;
    font-size: clamp(64px, 7vw, 100px);
    font-weight: 800;

    line-height: 0.92;

    letter-spacing: -0.045em;

    text-transform: uppercase;

    text-shadow:
        0 3px 20px rgba(0,0,0,0.28);
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */

body.bh-contact-page .bh-contact-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 10px;

    margin: 0;

    color: #d8dcd7;

    font-size: 18px;
    font-weight: 600;

    line-height: 1.5;
}


body.bh-contact-page .bh-contact-breadcrumb a {
    color: #ffffff;

    text-decoration: none;

    transition: color 0.2s ease;
}


body.bh-contact-page .bh-contact-breadcrumb a:hover {
    color: var(--bh-contact-gold);
}


body.bh-contact-page
.bh-contact-breadcrumb > span:first-of-type {
    color: var(--bh-contact-gold);
}


/* ==========================================================
   SHELL
   ========================================================== */

body.bh-contact-page .bh-contact-shell {
    width: min(1320px, calc(100% - 48px));

    margin: 0 auto;

    padding: 72px 0 90px;

    box-sizing: border-box;
}


/* ==========================================================
   INTRO
   ========================================================== */

body.bh-contact-page .bh-contact-intro {
    width: min(780px, 100%);

    margin: 0 0 48px;
}


body.bh-contact-page .bh-contact-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: var(--bh-contact-gold);

    font-size: 18px;
    font-weight: 800;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


body.bh-contact-page .bh-contact-intro h2 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(36px, 4.5vw, 58px);
    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.04em;

    text-transform: uppercase;
}


body.bh-contact-page .bh-contact-intro p {
    max-width: 690px;

    margin: 0;

    color: #dce1dc;

    font-size: 18px;

    line-height: 1.75;
}


/* ==========================================================
   LAYOUT
   ========================================================== */

body.bh-contact-page .bh-contact-layout {
    display: grid;

    grid-template-columns:
        minmax(300px, 0.72fr)
        minmax(0, 1.28fr);

    gap: 28px;

    align-items: stretch;
}


/* ==========================================================
   INFORMACIÓN
   ========================================================== */

body.bh-contact-page .bh-contact-info {
    display: flex;
    flex-direction: column;

    gap: 14px;
}


body.bh-contact-page .bh-contact-info-card {
    display: grid;

    grid-template-columns: 50px minmax(0, 1fr);

    gap: 16px;

    align-items: start;

    padding: 22px;

    border: 1px solid var(--bh-contact-border);
    border-radius: 15px;

    background: #0f130f;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}


body.bh-contact-page .bh-contact-info-card:hover {
    transform: translateY(-2px);

    border-color: rgba(217,182,117,0.60);
}


body.bh-contact-page .bh-contact-info-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border: 1px solid var(--bh-contact-gold);
    border-radius: 50%;

    color: var(--bh-contact-gold);
}


body.bh-contact-page .bh-contact-info-icon svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.45;

    stroke-linecap: round;
    stroke-linejoin: round;
}


body.bh-contact-page .bh-contact-info-label {
    display: block;

    margin-bottom: 5px;

    color: var(--bh-contact-gold);

    font-size: 18px;
    font-weight: 800;

    letter-spacing: 0.10em;

    text-transform: uppercase;
}


body.bh-contact-page .bh-contact-info-card h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 800;

    line-height: 1.2;
}


body.bh-contact-page .bh-contact-info-card a,
body.bh-contact-page .bh-contact-info-card p {
    display: block;

    margin: 0 0 5px;

    color: #cdd2cd;

    font-size: 18px;

    line-height: 1.65;

    text-decoration: none;

    overflow-wrap: anywhere;
}


body.bh-contact-page .bh-contact-info-card a:hover {
    color: var(--bh-contact-gold);
}


/* ==========================================================
   BRAND MESSAGE
   ========================================================== */

body.bh-contact-page .bh-contact-brand-message {
    position: relative;

    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;

    min-height: 210px;

    padding: 28px;

    overflow: hidden;

    border: 1px solid var(--bh-contact-border);
    border-radius: 15px;

    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(217,182,117,0.16),
            transparent 40%
        ),
        #0f130f;
}


body.bh-contact-page
.bh-contact-brand-message > span {
    margin-bottom: 8px;

    color: var(--bh-contact-gold);

    font-size: 18px;
    font-weight: 800;

    letter-spacing: 0.14em;
}


body.bh-contact-page
.bh-contact-brand-message strong {
    color: #ffffff;

    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -0.04em;
}


/* ==========================================================
   FORMULARIO CARD
   ========================================================== */

body.bh-contact-page .bh-contact-form-card {
    padding: clamp(28px, 4vw, 48px);

    box-sizing: border-box;

    border-radius: 15px;

    background: #ffffff;
    color: #080908;

    box-shadow:
        0 18px 50px rgba(0,0,0,0.20);
}


body.bh-contact-page .bh-contact-form-heading {
    margin-bottom: 30px;
}


body.bh-contact-page
.bh-contact-form-heading > span {
    display: block;

    margin-bottom: 7px;

    color: #8c692f;

    font-size: 18px;
    font-weight: 800;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


body.bh-contact-page .bh-contact-form-heading h2 {
    margin: 0 0 13px;

    color: #080908;

    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.04em;

    text-transform: uppercase;
}


body.bh-contact-page .bh-contact-form-heading p {
    max-width: 640px;

    margin: 0;

    color: rgba(8,9,8,0.64);

    font-size: 18px;

    line-height: 1.65;
}


/* ==========================================================
   FORM GRID
   ========================================================== */

body.bh-contact-page .bh-contact-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


body.bh-contact-page .bh-contact-field {
    min-width: 0;
}


body.bh-contact-page .bh-contact-field-full {
    margin-top: 18px;
}


body.bh-contact-page .bh-contact-field label {
    display: block;

    margin: 0 0 7px;

    color: #080908;

    font-size: 18px;
    font-weight: 800;
}


body.bh-contact-page .bh-contact-field label span {
    color: #8c692f;
}


body.bh-contact-page .bh-contact-field input,
body.bh-contact-page .bh-contact-field textarea {
    width: 100%;

    min-width: 0;

    padding: 13px 14px;

    box-sizing: border-box;

    border: 1px solid #d4d7d3;
    border-radius: 10px;

    outline: 0;

    background: #f7f7f5;

    color: #080908;

    font-family: inherit;
    font-size: 18px;

    line-height: 1.45;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}


body.bh-contact-page .bh-contact-field input {
    min-height: 50px;
}


body.bh-contact-page .bh-contact-field textarea {
    min-height: 170px;

    resize: vertical;
}


body.bh-contact-page .bh-contact-field input:focus,
body.bh-contact-page .bh-contact-field textarea:focus {
    border-color: #9a7334;

    background: #ffffff;
}


/* ==========================================================
   BOTÓN
   ========================================================== */

body.bh-contact-page .bh-contact-submit {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    width: 100%;
    min-height: 54px;

    margin-top: 22px;
    padding: 13px 18px;

    box-sizing: border-box;

    border: 1px solid #080908;
    border-radius: 12px;

    background: #080908;

    color: #ffffff;

    font-family: inherit;
    font-size: 18px;
    font-weight: 800;

    line-height: 1.2;

    text-transform: uppercase;

    cursor: pointer;

    box-shadow: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


body.bh-contact-page .bh-contact-submit:hover {
    transform: translateY(-1px);

    background: #ffffff;

    color: #080908;
}


/* ==========================================================
   MENSAJES
   ========================================================== */

body.bh-contact-page .bh-contact-message {
    display: flex;

    gap: 14px;

    margin: 0 0 24px;
    padding: 16px;

    border-radius: 12px;

    font-size: 18px;

    line-height: 1.55;
}


body.bh-contact-page .bh-contact-message strong {
    display: block;

    margin-bottom: 3px;

    font-size: 18px;
    font-weight: 800;
}


body.bh-contact-page .bh-contact-message p,
body.bh-contact-page .bh-contact-message ul {
    margin: 0;
}


body.bh-contact-page .bh-contact-message ul {
    padding-left: 18px;
}


body.bh-contact-page
.bh-contact-message-success {
    border: 1px solid #7aa688;

    background: #edf7ef;

    color: #254c31;
}


body.bh-contact-page
.bh-contact-message-error {
    display: block;

    border: 1px solid #c98c87;

    background: #fff1f0;

    color: #742e29;
}


body.bh-contact-page .bh-contact-message-icon {
    display: inline-flex;

    flex: 0 0 32px;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border: 1px solid currentColor;
    border-radius: 50%;

    font-size: 17px;
}


/* ==========================================================
   HONEYPOT
   ========================================================== */

body.bh-contact-page .bh-contact-hp {
    position: absolute !important;

    left: -99999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


/* ==========================================================
   ACCESIBILIDAD
   ========================================================== */

body.bh-contact-page .bh-contact-main a:focus-visible,
body.bh-contact-page .bh-contact-main button:focus-visible,
body.bh-contact-page .bh-contact-main input:focus-visible,
body.bh-contact-page .bh-contact-main textarea:focus-visible {
    outline: 2px solid var(--bh-contact-gold);
    outline-offset: 3px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1024px) {

    body.bh-contact-page .bh-contact-hero,
    body.bh-contact-page .bh-contact-hero-inner {
        min-height: 420px;
    }


    body.bh-contact-page .bh-contact-hero-inner,
    body.bh-contact-page .bh-contact-shell {
        width: min(100% - 40px, 900px);
    }


    body.bh-contact-page .bh-contact-layout {
        grid-template-columns:
            minmax(260px, 0.75fr)
            minmax(0, 1.25fr);

        gap: 20px;
    }


    body.bh-contact-page .bh-contact-info-card {
        grid-template-columns: 42px minmax(0, 1fr);

        padding: 18px;
    }


    body.bh-contact-page .bh-contact-info-icon {
        width: 40px;
        height: 40px;
    }

}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 767px) {

    body.bh-contact-page .bh-contact-hero,
    body.bh-contact-page .bh-contact-hero-inner {
        min-height: 330px;
    }


    body.bh-contact-page .bh-contact-hero-inner {
        width: calc(100% - 32px);

        padding: 38px 0;
    }


    body.bh-contact-page .bh-contact-hero h1 {
        margin-bottom: 17px;

        font-size: clamp(48px, 17vw, 68px);
    }


    body.bh-contact-page .bh-contact-breadcrumb {
        gap: 7px;

        font-size: 18px;
    }


    body.bh-contact-page .bh-contact-shell {
        width: calc(100% - 32px);

        padding: 48px 0 64px;
    }


    body.bh-contact-page .bh-contact-intro {
        margin-bottom: 34px;
    }


    body.bh-contact-page .bh-contact-intro h2 {
        font-size: 36px;
    }


    body.bh-contact-page .bh-contact-intro p {
        font-size: 18px;
    }


    body.bh-contact-page .bh-contact-layout {
        grid-template-columns: 1fr;

        gap: 24px;
    }


    body.bh-contact-page .bh-contact-brand-message {
        min-height: 180px;
    }


    body.bh-contact-page .bh-contact-form-card {
        padding: 26px 20px;
    }


    body.bh-contact-page .bh-contact-form-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    body.bh-contact-page .bh-contact-field-full {
        margin-top: 16px;
    }

}


/* ==========================================================
   REDUCIR MOVIMIENTO
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    body.bh-contact-page .bh-contact-main *,
    body.bh-contact-page .bh-contact-main *::before,
    body.bh-contact-page .bh-contact-main *::after {
        transition: none !important;
    }


    body.bh-contact-page .bh-contact-info-card:hover,
    body.bh-contact-page .bh-contact-submit:hover {
        transform: none;
    }

}




/* ==========================================================
   BARBAS HATS — NOSOTROS
   ========================================================== */

body.bh-about-page {
    --bh-about-bg: #080908;
    --bh-about-soft: #101310;

    --bh-about-white: #ffffff;
    --bh-about-black: #080908;

    --bh-about-text: #f5f5f2;
    --bh-about-muted: #c1c6c1;

    --bh-about-gold: #d9b675;
    --bh-about-gold-light: #efd39d;

    --bh-about-border: #303632;

    background: var(--bh-about-bg);
    color: var(--bh-about-text);
}


body.bh-about-page .page-header {
    display: none !important;
}


/*
 * Tamaño mínimo solicitado:
 * ningún texto visible de esta página baja de 17px.
 */
body.bh-about-page .bh-about-main {
    font-size: 17px;
}


/* ==========================================================
   UTILIDADES
   ========================================================== */

body.bh-about-page .bh-about-shell {
    width: min(1320px, calc(100% - 48px));

    margin: 0 auto;

    box-sizing: border-box;
}


body.bh-about-page .bh-about-eyebrow {
    display: block;

    margin-bottom: 10px;

    color: var(--bh-about-gold);

    font-size: 17px;
    font-weight: 800;

    line-height: 1.25;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* ==========================================================
   HERO
   ========================================================== */

body.bh-about-page .bh-about-hero {
    position: relative;

    width: 100%;
    min-height: 500px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);

    background: #080908;
}


body.bh-about-page .bh-about-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        var(--bh-about-hero-image);

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    transform: scale(1.01);
}


body.bh-about-page .bh-about-hero-overlay {
    position: absolute;
    z-index: 1;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.86) 0%,
            rgba(0,0,0,0.67) 31%,
            rgba(0,0,0,0.32) 60%,
            rgba(0,0,0,0.10) 100%
        );
}


body.bh-about-page .bh-about-hero-overlay::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 32%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0,0,0,0.26)
        );
}


body.bh-about-page .bh-about-hero-inner {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    width: min(1320px, calc(100% - 48px));
    min-height: 500px;

    margin: 0 auto;
    padding: 60px 0;

    box-sizing: border-box;
}


body.bh-about-page .bh-about-hero h1 {
    margin: 0 0 24px;
    padding: 0;

    color: #ffffff;

    font-family: inherit;
    font-size: clamp(64px, 7vw, 100px);
    font-weight: 800;

    line-height: 0.92;

    letter-spacing: -0.045em;

    text-transform: uppercase;

    text-shadow:
        0 3px 20px rgba(0,0,0,0.28);
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */

body.bh-about-page .bh-about-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 10px;

    margin: 0;

    color: #d8dcd7;

    font-size: 17px;
    font-weight: 600;

    line-height: 1.5;
}


body.bh-about-page .bh-about-breadcrumb a {
    color: #ffffff;

    text-decoration: none;

    transition: color 0.2s ease;
}


body.bh-about-page .bh-about-breadcrumb a:hover {
    color: var(--bh-about-gold);
}


body.bh-about-page
.bh-about-breadcrumb > span:first-of-type {
    color: var(--bh-about-gold);
}


/* ==========================================================
   INTRO
   ========================================================== */

body.bh-about-page .bh-about-intro {
    padding: 90px 0 84px;

    border-bottom: 1px solid var(--bh-about-border);
}


body.bh-about-page .bh-about-intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: clamp(45px, 7vw, 110px);

    align-items: start;
}


body.bh-about-page .bh-about-intro h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -0.045em;

    text-transform: uppercase;
}


body.bh-about-page .bh-about-intro-copy {
    padding-top: 26px;
}


body.bh-about-page .bh-about-intro-copy p {
    margin: 0 0 22px;

    color: #dce1dc;

    font-size: 20px;

    line-height: 1.75;
}


body.bh-about-page
.bh-about-intro-copy p:first-child {
    color: #ffffff;

    font-size: 25px;
    font-weight: 700;

    line-height: 1.55;
}


/* ==========================================================
   IDENTIDAD
   ========================================================== */

body.bh-about-page .bh-about-identity {
    padding: 90px 0;

    background: #0d100e;
}


body.bh-about-page .bh-about-identity-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    gap: clamp(38px, 6vw, 84px);

    align-items: center;
}


body.bh-about-page .bh-about-identity-media {
    position: relative;

    overflow: hidden;

    border-radius: 15px;

    background: #151815;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.25);
}


body.bh-about-page .bh-about-identity-media::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.18),
            transparent 45%
        );
}


body.bh-about-page .bh-about-identity-media img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 4 / 5;

    object-fit: cover;
    object-position: center;

    transition: transform 0.5s ease;
}


body.bh-about-page
.bh-about-identity-media:hover img {
    transform: scale(1.025);
}


body.bh-about-page .bh-about-identity-content h2 {
    margin: 0 0 26px;

    color: #ffffff;

    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -0.045em;

    text-transform: uppercase;
}


body.bh-about-page .bh-about-identity-content p {
    margin: 0 0 20px;

    color: #dce1dc;

    font-size: 18px;

    line-height: 1.75;
}


/* ==========================================================
   BOTÓN PRINCIPAL
   ========================================================== */

body.bh-about-page .bh-about-primary-button {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    gap: 28px;

    min-width: 270px;
    min-height: 54px;

    margin-top: 16px;
    padding: 14px 18px;

    box-sizing: border-box;

    border: 1px solid var(--bh-about-gold);
    border-radius: 12px;

    background: var(--bh-about-gold);

    color: #080908;

    font-size: 17px;
    font-weight: 800;

    line-height: 1.2;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


body.bh-about-page .bh-about-primary-button:hover {
    transform: translateY(-2px);

    background: var(--bh-about-gold-light);

    color: #080908;
}


/* ==========================================================
   HISTORIA
   ========================================================== */

body.bh-about-page .bh-about-history {
    padding: 100px 0;

    background: #080908;
}


body.bh-about-page .bh-about-history-heading {
    width: min(860px, 100%);

    margin-bottom: 46px;
}


body.bh-about-page .bh-about-history-heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -0.045em;

    text-transform: uppercase;
}


body.bh-about-page .bh-about-history-grid {
    display: grid;

    grid-template-columns:
        minmax(260px, 0.72fr)
        minmax(0, 1.28fr);

    gap: clamp(36px, 6vw, 86px);

    align-items: stretch;
}


body.bh-about-page .bh-about-history-highlight {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    min-height: 420px;

    padding: 34px;

    box-sizing: border-box;

    border: 1px solid var(--bh-about-border);
    border-radius: 15px;

    background:
        radial-gradient(
            circle at 78% 20%,
            rgba(217,182,117,0.20),
            transparent 36%
        ),
        #101410;
}


body.bh-about-page
.bh-about-history-highlight > span {
    margin-bottom: 12px;

    color: var(--bh-about-gold);

    font-size: 17px;
    font-weight: 800;

    letter-spacing: 0.07em;
}


body.bh-about-page
.bh-about-history-highlight strong {
    color: #ffffff;

    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;

    line-height: 0.92;

    letter-spacing: -0.05em;
}


body.bh-about-page .bh-about-history-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


body.bh-about-page .bh-about-history-copy p {
    margin: 0 0 23px;

    color: #dce1dc;

    font-size: 19px;

    line-height: 1.78;
}


body.bh-about-page
.bh-about-history-copy p:first-child {
    color: #ffffff;

    font-size: 24px;
    font-weight: 700;

    line-height: 1.55;
}


/* ==========================================================
   MISIÓN / VISIÓN
   ========================================================== */

body.bh-about-page .bh-about-purpose {
    padding: 92px 0 100px;

    background: #0d100e;
}


body.bh-about-page .bh-about-section-heading {
    margin-bottom: 38px;
}


body.bh-about-page .bh-about-section-heading h2,
body.bh-about-page .bh-about-gallery-header h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.045em;

    text-transform: uppercase;
}


body.bh-about-page .bh-about-purpose-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


body.bh-about-page .bh-about-purpose-card {
    position: relative;

    min-height: 330px;

    padding: 34px;

    box-sizing: border-box;

    overflow: hidden;

    border-radius: 15px;

    background: #ffffff;
    color: #080908;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.14);
}


body.bh-about-page .bh-about-purpose-number {
    display: block;

    margin-bottom: 52px;

    color: #8c692f;

    font-size: 17px;
    font-weight: 800;
}


body.bh-about-page .bh-about-purpose-card h3 {
    margin: 0 0 18px;

    color: #080908;

    font-size: 36px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.035em;

    text-transform: uppercase;
}


body.bh-about-page .bh-about-purpose-card p {
    max-width: 570px;

    margin: 0;

    color: rgba(8,9,8,0.72);

    font-size: 18px;

    line-height: 1.72;
}


/* ==========================================================
   GALERÍA / CARRUSEL
   ========================================================== */

body.bh-about-page .bh-about-gallery {
    padding: 96px 0 104px;

    background: #080908;
}


body.bh-about-page .bh-about-gallery-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 34px;
}


body.bh-about-page .bh-about-carousel-controls {
    display: flex;

    gap: 10px;

    flex: 0 0 auto;
}


body.bh-about-page .bh-about-carousel-arrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    padding: 0;

    border: 1px solid var(--bh-about-border);
    border-radius: 50%;

    background: #101410;
    color: #ffffff;

    font-family: inherit;
    font-size: 22px;
    font-weight: 700;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}


body.bh-about-page
.bh-about-carousel-arrow:hover {
    border-color: var(--bh-about-gold);

    background: var(--bh-about-gold);
    color: #080908;
}


body.bh-about-page .bh-about-carousel-viewport {
    display: flex;

    gap: 18px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    scrollbar-width: none;

    overscroll-behavior-inline: contain;
}


body.bh-about-page
.bh-about-carousel-viewport::-webkit-scrollbar {
    display: none;
}


body.bh-about-page .bh-about-slide {
    flex: 0 0 calc((100% - 36px) / 3);

    min-width: 0;

    margin: 0;

    overflow: hidden;

    border-radius: 15px;

    background: #141814;

    scroll-snap-align: start;
}


body.bh-about-page .bh-about-slide img {
    display: block;

    width: 100%;
    height: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.5s ease,
        opacity 0.3s ease;
}


body.bh-about-page
.bh-about-slide:hover img {
    transform: scale(1.035);
}


/* ==========================================================
   CTA FINAL
   ========================================================== */

body.bh-about-page .bh-about-cta {
    padding: 94px 0;

    border-top: 1px solid var(--bh-about-border);

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(217,182,117,0.14),
            transparent 30%
        ),
        #0d100e;
}


body.bh-about-page .bh-about-cta-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, 0.72fr);

    gap: clamp(40px, 7vw, 100px);

    align-items: end;
}


body.bh-about-page .bh-about-cta h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(48px, 6.5vw, 86px);
    font-weight: 800;

    line-height: 0.92;

    letter-spacing: -0.05em;

    text-transform: uppercase;
}


body.bh-about-page .bh-about-cta-copy p {
    margin: 0 0 12px;

    color: #dce1dc;

    font-size: 19px;

    line-height: 1.72;
}


/* ==========================================================
   ACCESIBILIDAD
   ========================================================== */

body.bh-about-page .bh-about-main a:focus-visible,
body.bh-about-page .bh-about-main button:focus-visible,
body.bh-about-page
.bh-about-carousel-viewport:focus-visible {
    outline: 2px solid var(--bh-about-gold);
    outline-offset: 3px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1024px) {

    body.bh-about-page .bh-about-hero,
    body.bh-about-page .bh-about-hero-inner {
        min-height: 420px;
    }


    body.bh-about-page .bh-about-hero-inner,
    body.bh-about-page .bh-about-shell {
        width: min(100% - 40px, 900px);
    }


    body.bh-about-page .bh-about-intro-grid,
    body.bh-about-page .bh-about-identity-grid,
    body.bh-about-page .bh-about-history-grid,
    body.bh-about-page .bh-about-cta-inner {
        gap: 38px;
    }


    body.bh-about-page .bh-about-slide {
        flex-basis: calc((100% - 18px) / 2);
    }

}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 767px) {

    body.bh-about-page .bh-about-hero,
    body.bh-about-page .bh-about-hero-inner {
        min-height: 330px;
    }


    body.bh-about-page .bh-about-hero-inner {
        width: calc(100% - 32px);

        padding: 38px 0;
    }


    body.bh-about-page .bh-about-hero h1 {
        margin-bottom: 17px;

        font-size: clamp(48px, 17vw, 68px);
    }


    body.bh-about-page .bh-about-breadcrumb {
        gap: 7px;

        font-size: 17px;
    }


    body.bh-about-page .bh-about-shell {
        width: calc(100% - 32px);
    }


    body.bh-about-page .bh-about-intro,
    body.bh-about-page .bh-about-identity,
    body.bh-about-page .bh-about-history,
    body.bh-about-page .bh-about-purpose,
    body.bh-about-page .bh-about-gallery,
    body.bh-about-page .bh-about-cta {
        padding-top: 64px;
        padding-bottom: 64px;
    }


    body.bh-about-page .bh-about-intro-grid,
    body.bh-about-page .bh-about-identity-grid,
    body.bh-about-page .bh-about-history-grid,
    body.bh-about-page .bh-about-purpose-grid,
    body.bh-about-page .bh-about-cta-inner {
        grid-template-columns: 1fr;

        gap: 32px;
    }


    body.bh-about-page .bh-about-intro-copy {
        padding-top: 0;
    }


    body.bh-about-page
    .bh-about-intro-copy p:first-child,
    body.bh-about-page
    .bh-about-history-copy p:first-child {
        font-size: 21px;
    }


    body.bh-about-page .bh-about-identity-media img {
        aspect-ratio: 4 / 4.6;
    }


    body.bh-about-page .bh-about-history-highlight {
        min-height: 300px;
    }


    body.bh-about-page .bh-about-purpose-card {
        min-height: 0;

        padding: 28px 24px;
    }


    body.bh-about-page .bh-about-purpose-number {
        margin-bottom: 36px;
    }


    body.bh-about-page .bh-about-gallery-header {
        align-items: flex-end;
    }


    body.bh-about-page .bh-about-carousel-arrow {
        width: 48px;
        height: 48px;

        font-size: 20px;
    }


    body.bh-about-page .bh-about-slide {
        flex-basis: 84%;
    }


    body.bh-about-page .bh-about-primary-button {
        width: 100%;
        min-width: 0;
    }

}


/* ==========================================================
   REDUCIR MOVIMIENTO
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    body.bh-about-page .bh-about-main *,
    body.bh-about-page .bh-about-main *::before,
    body.bh-about-page .bh-about-main *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }


    body.bh-about-page
    .bh-about-identity-media:hover img,
    body.bh-about-page
    .bh-about-slide:hover img,
    body.bh-about-page
    .bh-about-primary-button:hover {
        transform: none;
    }

}
