:root {
    --bf-black: #111111;
    --bf-white: #ffffff;
    --bf-soft: #efefef;
    --bf-muted: #777777;
    --bf-page-width: 1240px;
}

html {
    background: var(--bf-white);
}

body.byfailer-site {
    min-width: 320px;
    margin: 0;

    color: var(--bf-black);
    background: var(--bf-white);

    font-family:
        "Helvetica Neue",
        "Inter",
        Helvetica,
        Arial,
        sans-serif;
}

body.byfailer-site *,
body.byfailer-site *::before,
body.byfailer-site *::after {
    box-sizing: border-box;
}

.bf-skip-link {
    position: fixed;
    z-index: 999999;
    top: 12px;
    left: 12px;

    padding: 10px 14px;

    color: #000;
    background: #fff;

    transform: translateY(-200%);
}

.bf-skip-link:focus {
    transform: translateY(0);
}

/* Promo superior */

.bf-promo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;

    min-height: 30px;
    padding: 6px clamp(20px, 6vw, 96px);

    color: #b38888;
    background: #fafafa;

    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
}

.bf-promo span:nth-child(2) {
    text-align: center;
}

.bf-promo span:last-child {
    text-align: right;
}

.bf-promo strong {
    color: #9d4e4e;
    font-weight: 700;
}

/* Header negro */

.bf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 78px;
    padding: 14px clamp(24px, 3vw, 48px);
    gap: 28px;

    background: var(--bf-black);
}

.bf-header__brand {
    display: inline-flex;
    align-items: center;

    color: #fff;
    text-decoration: none;
}

.bf-header__brand img {
    display: block;

    width: clamp(170px, 15vw, 240px);
    max-height: 52px;
}

.bf-header__brand span {
    color: #fff;

    font-size: clamp(32px, 3vw, 48px);
    font-weight: 200;
    letter-spacing: -0.065em;
}

.bf-header__store-switch {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;

    gap: 8px;

    color: #fff;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.015em;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase;

    transition: opacity 180ms ease;
}

.bf-header__store-switch:hover,
.bf-header__store-switch:focus-visible {
    color: #fff;
    opacity: 0.62;
}

/* Navegación */

.bf-catalog-bar {
    position: relative;
    z-index: 10;

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

    min-height: 60px;
    padding: 10px clamp(20px, 2.5vw, 42px);
    gap: 28px;

    background: #fff;
    border-bottom: 1px solid #e9e9e9;
}

.bf-catalog-bar__categories {
    display: flex;
    align-items: center;

    min-width: 0;
    gap: clamp(22px, 2.4vw, 44px);
}

.bf-catalog-bar__categories a {
    flex: 0 0 auto;

    color: #101010;

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

    transition: opacity 180ms ease;
}

.bf-catalog-bar__categories a:hover,
.bf-catalog-bar__categories a.is-active {
    opacity: 0.48;
}

.bf-catalog-bar__actions {
    flex: 0 0 auto;
}

.bf-global-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 8px 14px;
    gap: 10px;

    color: #111;
    background: #fff;
    border: 1px solid #111;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.bf-global-cart:hover,
.bf-global-cart:focus-visible {
    color: #fff;
    background: #111;
}

.bf-global-cart__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 22px;
    min-height: 22px;
    padding: 2px 6px;

    color: #fff;
    background: #111;
    border-radius: 999px;

    font-size: 11px;
}

.bf-global-cart:hover .bf-global-cart__count,
.bf-global-cart:focus-visible .bf-global-cart__count {
    color: #111;
    background: #fff;
}

/* Hero */

.bf-hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: clamp(390px, 43vw, 620px);
    padding: clamp(30px, 5vw, 80px);

    overflow: hidden;

    color: #fff;
    background-color: #292929;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.07)
        ),
        var(
            --bf-hero-image,
            linear-gradient(135deg, #363636, #111)
        );

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

/* Editorial: el contenedor manda, no la imagen */

.bf-editorial {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 3px;
    padding: 12px;

    background: #fff;
}

.bf-editorial__item {
    position: relative;

    min-width: 0;
    margin: 0;

    overflow: hidden;
    aspect-ratio: 9 / 16;

    background: #eee;
}

.bf-editorial__item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bf-editorial__item:hover img {
    transform: scale(1.015);
}

/*
 * Ajustes individuales de encuadre.
 * Se modifican despuÃ©s de ver el resultado.
 */

.bf-editorial__item--1 img {
    object-position: 50% 50%;
}

.bf-editorial__item--2 img {
    object-position: 50% 50%;
}

.bf-editorial__item--3 img {
    object-position: 50% 50%;
}

.bf-editorial__item--4 img {
    object-position: 50% 50%;
}

/* Manifiesto */

.bf-manifesto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;

    min-height: 330px;
    padding:
        clamp(54px, 6vw, 100px)
        clamp(28px, 7vw, 120px);

    color: #070707;
    background: #ebebeb;
}

.bf-manifesto p {
    margin: 0;

    font-size: clamp(23px, 2.15vw, 38px);
    font-weight: 700;
    line-height: 0.97;
    letter-spacing: -0.055em;
}

.bf-manifesto__opening {
    justify-self: start;
}

.bf-manifesto__closing {
    align-self: end;
    justify-self: end;

    padding-top: 90px;
}

/* Productos */

.bf-products {
    width: min(100%, var(--bf-page-width));

    padding:
        clamp(70px, 8vw, 125px)
        26px
        clamp(100px, 11vw, 170px);

    margin: 0 auto;
}

.bf-products > h1 {
    margin: 0 0 clamp(45px, 5vw, 76px);

    color: #202020;

    font-size: clamp(24px, 2.35vw, 38px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-align: center;
}

/* Las categorías son páginas de compra, no portadas editoriales. */
.bf-catalog--section .bf-products {
    padding-top: clamp(54px, 6vw, 86px);
}

.bf-catalog--section .bf-products > h1 {
    font-weight: 700;
    text-transform: uppercase;
}

.bf-products__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    column-gap: 4px;
    row-gap: clamp(38px, 4vw, 64px);
}

.bf-product-card {
    min-width: 0;
    margin: 0;
}

.bf-product-card__link {
    display: block;

    color: #111;
    text-decoration: none;
}

.bf-product-card__media {
    position: relative;

    margin: 0 0 12px;

    overflow: hidden;
    aspect-ratio: 3 / 4;

    background: #efefed;
}

.bf-product-card__media img,
.bf-product-card__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bf-product-card__link:hover .bf-product-card__media img {
    transform: scale(1.018);
}

.bf-product-card__information {
    padding: 0 14px 0 2px;
}

.bf-product-card__information h2 {
    margin: 0;

    color: #161616;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.bf-product-card__brand {
    display: block;
    margin-top: 1px;

    color: #4f4f4f;

    font-size: 13px;
    line-height: 1.1;
}

.bf-product-card__price {
    margin-top: 14px;

    color: #292929;

    font-size: 13px;
    font-style: italic;
    line-height: 1.1;
}

.bf-product-card__price del {
    margin-right: 7px;
    color: #999;
}

.bf-product-card__price ins {
    color: inherit;
    text-decoration: none;
}

/* PaginaciÃ³n */

.bf-products__pagination {
    margin-top: 70px;
    text-align: center;
}

.bf-products__pagination .woocommerce-pagination {
    text-align: center;
}

.bf-products__pagination ul.page-numbers {
    display: inline-flex;
    align-items: center;

    gap: 7px;
    padding: 0;
    margin: 0;

    list-style: none;
    border: 0;
}

.bf-products__pagination .page-numbers a,
.bf-products__pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 34px;
    min-height: 34px;

    color: #111;
    background: transparent;
    border: 1px solid #d7d7d7;

    text-decoration: none;
}

.bf-products__pagination .page-numbers .current {
    color: #fff;
    background: #111;
    border-color: #111;
}

/* Footer */

.bf-footer {
    display: grid;

    grid-template-columns:
        minmax(260px, 0.9fr)
        minmax(480px, 1.5fr);

    grid-template-rows: auto 1fr;

    min-height: 430px;

    padding:
        clamp(54px, 6vw, 90px)
        clamp(28px, 3.5vw, 58px)
        48px;

    color: #fff;
    background: #111;
}

.bf-footer__brand {
    display: inline-block;
    margin-bottom: 42px;

    color: #fff;
    text-decoration: none;
}

.bf-footer__brand img {
    display: block;
    width: clamp(180px, 17vw, 270px);
    max-height: 66px;
}

.bf-footer__brand span {
    font-size: clamp(42px, 4.3vw, 68px);
    font-weight: 200;
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.bf-footer__identity p,
.bf-footer__legal p {
    margin: 0;

    color: #8c8c8c;

    font-size: 12px;
    line-height: 1.25;
}

.bf-footer__navigation {
    display: flex;
    align-items: start;
    justify-content: flex-end;

    gap: clamp(24px, 3vw, 54px);
    padding-top: 13px;
}

.bf-footer__navigation a {
    color: #fff;

    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.bf-footer__legal {
    grid-column: 1 / -1;

    display: flex;
    align-items: end;
    justify-content: space-between;
    align-self: end;
}

.bf-footer__instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    color: #fff;
    text-decoration: none;

    transition: opacity 180ms ease;
}

.bf-footer__instagram:hover,
.bf-footer__instagram:focus-visible {
    color: #fff;
    opacity: 0.62;
}

.bf-footer__instagram svg {
    display: block;

    width: 27px;
    height: 27px;

    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.bf-footer__instagram .bf-footer__instagram-dot {
    fill: currentColor;
    stroke: none;
}

/* Tablet */

@media (max-width: 1100px) {
    .bf-catalog-bar__categories {
        flex: 1 1 auto;
        padding-bottom: 4px;

        overflow-x: auto;
        scrollbar-width: none;
    }

    .bf-catalog-bar__categories::-webkit-scrollbar {
        display: none;
    }

    .bf-footer {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .bf-footer__navigation {
        justify-content: flex-start;
        flex-wrap: wrap;
        padding: 0;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .bf-promo {
        grid-template-columns: 1fr;
        min-height: 28px;

        font-size: 9px;
        text-align: center;
    }

    .bf-promo span:not(:first-child) {
        display: none;
    }

    .bf-header {
        min-height: 76px;
        padding: 14px 20px;
        gap: 16px;
    }

    .bf-header__brand img {
        width: 150px;
    }

    .bf-header__store-switch {
        max-width: 142px;

        flex-wrap: wrap;
        gap: 2px 5px;

        font-size: 9px;
        line-height: 1.25;
    }

    .bf-catalog-bar {
        min-height: auto;
        padding: 14px 18px;
        gap: 12px;
    }

    .bf-catalog-bar__categories {
        gap: 25px;
    }

    .bf-catalog-bar__categories a {
        font-size: 11px;
    }

    .bf-global-cart {
        min-height: 36px;
        padding: 7px 10px;

        font-size: 10px;
    }

    .bf-global-cart__count {
        min-width: 20px;
        min-height: 20px;

        font-size: 10px;
    }

    .bf-hero {
        min-height: 62svh;
        padding: 28px;
        background-position: center;
    }

    /*
     * En la portada móvil las cuatro imágenes editoriales parecían
     * productos clickeables. Se conservan únicamente en escritorio.
     */
    .bf-catalog--home .bf-editorial {
        display: none;
    }

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

        gap: 2px;
        padding: 6px;
    }

    .bf-editorial__item {
        aspect-ratio: 3 / 4;
    }

    .bf-manifesto {
        grid-template-columns: 1fr;

        gap: 62px;
        min-height: auto;
        padding: 64px 28px;
    }

    .bf-manifesto p {
        font-size: clamp(25px, 8vw, 34px);
    }

    .bf-manifesto__closing {
        justify-self: start;
        padding-top: 0;
    }

    .bf-products {
        padding: 72px 10px 100px;
    }

    .bf-catalog--section .bf-products {
        padding-top: 44px;
    }

    .bf-products > h1 {
        padding: 0 16px;
        margin-bottom: 44px;

        font-size: 24px;
    }

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

        column-gap: 3px;
        row-gap: 38px;
    }

    .bf-product-card__media {
        aspect-ratio: 3 / 4;
        margin-bottom: 9px;
    }

    .bf-product-card__information {
        padding: 0 6px 0 2px;
    }

    .bf-product-card__information h2,
    .bf-product-card__brand,
    .bf-product-card__price {
        font-size: 11px;
    }

    .bf-product-card__price {
        margin-top: 10px;
    }

    .bf-footer {
        grid-template-columns: 1fr;

        min-height: 520px;
        padding: 58px 28px 38px;
    }

    .bf-footer__navigation {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        gap: 18px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bf-editorial__item img,
    .bf-product-card__media img {
        transition: none;
    }
}

/* =========================================================
   By Failer - Precision pass V2
   Ajustes de fidelidad respecto de la maqueta
   ========================================================= */

/*
 * Bloquea expl¨ªcitamente la tipograf¨ªa para evitar que
 * headings y elementos WooCommerce hereden la serif Woodmart.
 */

.byfailer-site .bf-catalog,
.byfailer-site .bf-catalog button,
.byfailer-site .bf-catalog input,
.byfailer-site .bf-catalog select,
.byfailer-site .bf-catalog a,
.byfailer-site .bf-footer {
    font-family:
        "Helvetica Neue",
        "Inter",
        Helvetica,
        Arial,
        sans-serif;
}

/* Manifiesto */

.byfailer-site .bf-manifesto {
    grid-template-columns: 1fr 1fr;

    min-height: 300px;

    padding:
        clamp(48px, 4vw, 64px)
        clamp(32px, 3.5vw, 56px);

    background: #ededed;
}

.byfailer-site .bf-manifesto p {
    margin: 0;

    font-family:
        "Helvetica Neue",
        "Inter",
        Helvetica,
        Arial,
        sans-serif;

    font-size: clamp(28px, 2.8vw, 40px);
    font-weight: 700;
    line-height: 0.86;
    letter-spacing: -0.068em;
}

.byfailer-site .bf-manifesto__opening {
    align-self: start;
    justify-self: start;
}

.byfailer-site .bf-manifesto__opening strong {
    display: block;

    padding-left: clamp(70px, 11.5vw, 170px);

    font-weight: 700;
    white-space: nowrap;
}

.byfailer-site .bf-manifesto__closing {
    align-self: end;
    justify-self: start;

    padding-top: clamp(76px, 8vw, 110px);
    padding-left: clamp(18px, 4vw, 64px);
}

/* T¨ªtulo de la colecci¨®n */

.byfailer-site .bf-products > h1 {
    margin-bottom: clamp(46px, 4.5vw, 68px);

    font-family:
        "Helvetica Neue",
        "Inter",
        Helvetica,
        Arial,
        sans-serif;

    font-size: clamp(27px, 2.3vw, 34px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

/* Grilla */

.byfailer-site .bf-products__grid {
    column-gap: 4px;
    row-gap: 42px;
}

/*
 * La maqueta utiliza im¨¢genes m¨¢s verticales que 3/4.
 */

.byfailer-site .bf-product-card__media {
    aspect-ratio: 7 / 10;
    margin-bottom: 10px;
}

.byfailer-site .bf-product-card__media img,
.byfailer-site .bf-product-card__image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

/* Informaci¨®n de producto */

.byfailer-site .bf-product-card__information {
    padding: 0 12px 0 2px;

    font-family:
        "Helvetica Neue",
        "Inter",
        Helvetica,
        Arial,
        sans-serif;
}

.byfailer-site .bf-product-card__information h2 {
    margin: 0;

    font-family:
        "Helvetica Neue",
        "Inter",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
    text-transform: none;
}

.byfailer-site .bf-product-card__brand {
    margin-top: 2px;

    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
}

.byfailer-site .bf-product-card__price {
    margin-top: 15px;

    font-size: 15px;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    letter-spacing: -0.025em;
}

/* Navegaci¨®n */

.byfailer-site .bf-catalog-bar__categories a {
    font-family:
        "Helvetica Neue",
        "Inter",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.035em;
}

/* Footer */

.byfailer-site .bf-footer__navigation a {
    font-family:
        "Helvetica Neue",
        "Inter",
        Helvetica,
        Arial,
        sans-serif;

    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Tablet */

@media (max-width: 1024px) {
    .byfailer-site .bf-manifesto p {
        font-size: clamp(25px, 3.4vw, 34px);
    }

    .byfailer-site .bf-manifesto__opening strong {
        padding-left: clamp(40px, 8vw, 90px);
    }
}

/* Mobile */

@media (max-width: 767px) {
    body.byfailer-site {
        padding-bottom: 0 !important;
    }

    body.byfailer-site .wd-toolbar {
        display: none !important;
    }

    .byfailer-site .bf-manifesto {
        grid-template-columns: 1fr;

        gap: 70px;
        min-height: auto;

        padding: 62px 26px;
    }

    .byfailer-site .bf-manifesto p {
        font-size: clamp(26px, 8vw, 34px);
        line-height: 0.9;
    }

    .byfailer-site .bf-manifesto__opening strong {
        padding-left: 0;
        white-space: normal;
    }

    .byfailer-site .bf-manifesto__closing {
        padding: 0;
    }

    .byfailer-site .bf-products > h1 {
        font-size: 23px;
        line-height: 1.1;
    }

    .byfailer-site .bf-product-card__media {
        aspect-ratio: 7 / 10;
    }

    .byfailer-site .bf-product-card__information h2 {
        font-size: 12px;
        line-height: 1.05;
    }

    .byfailer-site .bf-product-card__brand,
    .byfailer-site .bf-product-card__price {
        font-size: 11px;
    }

    .byfailer-site .bf-product-card__price {
        margin-top: 10px;
    }
}
