/*
 Theme Name:   Woodmart Child
 Theme URI:    https://theburgerhouse.es/store
 Description:  Tema hijo limpio gobernado 100% por WoodMart
 Author:       The Burger House Engineering
 Template:     woodmart
 Version:      2.1.0
 Text Domain:  woodmart-child
*/

/* 1. Fondo Negro Puro Global */
body,
.main-page-wrapper,
.woodmart-dark .main-page-wrapper,
.woodmart-dark .website-wrapper {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* 2. Cabecera Transparente en la Portada (El resto lo gobierna WoodMart Header Builder) */
.tbh-portada .whb-header:not(.whb-sticked) {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: transparent !important;
    border-bottom: none !important;
    z-index: 390 !important; /* Por debajo del menú móvil (500) y del fondo oscuro (400) de WoodMart */
}

body.admin-bar.tbh-portada .whb-header:not(.whb-sticked) {
    top: 32px !important;
}

.tbh-portada .whb-header:not(.whb-sticked) .whb-row,
.tbh-portada .whb-header:not(.whb-sticked) .whb-main-header {
    background-color: transparent !important;
    border: none !important;
}

/* 2b. Logo de cabecera: el PNG recortado (381x224) no tiene margen
       transparente, así que necesita un tamaño explícito. */
.whb-header .wd-logo img {
    width: 132px !important;
    height: auto !important;
    max-width: none !important;
    display: block !important;
}

@media (max-width: 767px) {
    .whb-header .wd-logo img {
        width: 88px !important;
    }
}

/* 3. Botonera Táctil Ergonómica [ - ] [ 1 ] [ + ]
      Colores en variables: las páginas de compra (fondo blanco) las
      redefinen en checkout-transaccional.css. */
.woocommerce .quantity.tbh-qty-initialized {
    display: inline-flex !important;
    align-items: center !important;
    background: var(--tbh-qty-bg, #111111) !important;
    border: 1px solid var(--tbh-qty-brd, #262626) !important;
    border-radius: 4px !important;
    padding: 2px !important;
    height: 48px !important;
}
.woocommerce .quantity.tbh-qty-initialized input.qty {
    width: 45px !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    color: var(--tbh-qty-color, #ffffff) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    -moz-appearance: textfield;
}
/* Los botones nativos de WoodMart sobran: los sustituyen los .tbh-qty-btn */
.woocommerce .quantity.tbh-qty-initialized > :is(.minus, .plus):not(.tbh-qty-btn) {
    display: none;
}
.woocommerce .quantity.tbh-qty-initialized input.qty::-webkit-outer-spin-button,
.woocommerce .quantity.tbh-qty-initialized input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.tbh-qty-btn {
    width: 44px !important;
    height: 44px !important;
    background: var(--tbh-qty-btn-bg, #1a1a1a) !important;
    color: var(--tbh-qty-color, #ffffff) !important;
    border: none !important;
    border-radius: 3px !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.tbh-qty-btn:hover {
    background: #8b0000 !important;
    color: #ffffff !important;
}

/* 4. Pastilla de Cata del Boceto
   Letra fluida: 15 px en móvil, 17 px en pantallas grandes. Puntos y
   márgenes en em, así que crecen con la letra.
   Marco rojo con brillo suave y nombres en negrita, como la maqueta.
   Dos columnas: nombres (más grandes y alineados a la derecha) y puntos.
   La pastilla mide lo que su contenido y deja libre el resto de la fila. */
.tbh-pill-cata-box {
    --tbh-dot-on: #991b1b;
    --tbh-dot-off: #ffffff;
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    margin: 1.1em 0 0;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0.55em 1em;
    background: #000000;
    border: 2px solid var(--tbh-dot-on);
    box-shadow: 0 0 0 4px #000000, 0 0 18px 6px rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 1em 1.4em;
    font-family: 'Red Hat Display', sans-serif;
    font-size: clamp(15px, 0.85rem + 0.25vw, 17px);
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}
.tbh-pill-cata-box .tbh-cata-row {
    display: contents;
}
.tbh-pill-cata-box .tbh-cata-label {
    font-size: 1.2em;
    text-align: right;
}
.tbh-pill-cata-box .tbh-dots-group {
    display: inline-flex;
    gap: 0.4em;
    align-items: center;
    flex-shrink: 0;
}
.tbh-pill-cata-box .tbh-dot {
    width: 0.85em;
    height: 0.85em;
    border-radius: 50%;
    background-color: var(--tbh-dot-off);
}
.tbh-pill-cata-box .tbh-dot.active {
    background-color: var(--tbh-dot-on);
}
/* En la Home, el botón COMPRAR va a la derecha de la pastilla, en la misma
   fila (en móvil, al borde derecho, a mano del pulgar). La imagen del pack
   ocupa su propia fila. Si no cupieran, el botón baja solo debajo. */
.tbh-producto .e-con-inner:has(> .elementor-widget-shortcode + .elementor-widget-button) {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 2.5rem;
}
.tbh-producto .e-con-inner:has(> .elementor-widget-shortcode + .elementor-widget-button) > .elementor-widget-image {
    flex: 0 0 100%;
}
.tbh-producto .e-con-inner > .elementor-widget-shortcode,
.tbh-producto .e-con-inner > .elementor-widget-shortcode + .elementor-widget-button {
    width: auto;
}
.tbh-producto .elementor-widget-shortcode .tbh-pill-cata-box {
    margin: 0;
}
@media (max-width: 767px) {
    .tbh-producto .e-con-inner:has(> .elementor-widget-shortcode + .elementor-widget-button) {
        column-gap: 10px;
    }
    .tbh-producto .e-con-inner > .elementor-widget-shortcode + .elementor-widget-button {
        margin-left: auto;
    }
    .tbh-producto .elementor-widget-shortcode .tbh-pill-cata-box {
        padding: 0.9em 1em;
        column-gap: 0.7em;
    }
    .tbh-producto .elementor-widget-shortcode .tbh-cata-label {
        font-size: 1.1em;
    }
    .tbh-producto .elementor-widget-shortcode .tbh-dots-group {
        gap: 0.3em;
    }
    .tbh-producto .elementor-widget-shortcode .tbh-dot {
        width: 0.75em;
        height: 0.75em;
    }
    body.tbh-portada [data-elementor-type="wp-page"] .tbh-producto .elementor-widget-button .elementor-button {
        padding: 14px 12px;
        font-size: 15px;
    }
}
/* Móviles de 360 px: un poco más compacta para que el botón quepa al lado */
@media (max-width: 380px) {
    .tbh-producto .elementor-widget-shortcode .tbh-pill-cata-box {
        padding: 0.8em;
        column-gap: 0.6em;
    }
    .tbh-producto .elementor-widget-shortcode .tbh-cata-label {
        font-size: 1em;
    }
    .tbh-producto .elementor-widget-shortcode .tbh-dot {
        width: 0.7em;
        height: 0.7em;
    }
}

/* 4b. Aviso de envío (inc/aviso-envio.php): banda ancha bajo la ficha, como
   el recuadro de butcherandchef.es, en oscuro. En escritorio, titular a la
   izquierda y texto a la derecha; en móvil, uno debajo del otro. */
.tbh-aviso-envio {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75em 2.5em;
    margin: 2.5em 0;
    padding: 1.4em 1.75em;
    background: #111111;
    border-left: 3px solid #991b1b;
    font-family: 'Red Hat Display', sans-serif;
    color: #d1d5db;
}
.tbh-aviso-envio .tbh-aviso-titular {
    flex: 1 1 22em;
}
.tbh-aviso-envio .tbh-aviso-texto {
    flex: 1.4 1 26em;
}
.tbh-aviso-envio p {
    margin: 0;
}
.tbh-aviso-envio .tbh-aviso-titular {
    font-size: clamp(16px, 0.9rem + 0.35vw, 20px);
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
}
.tbh-aviso-envio .tbh-aviso-texto {
    font-size: 15px;
    line-height: 1.6;
}
.tbh-aviso-envio .tbh-aviso-destacado {
    color: #ef4444;
}

/* 5. Carrito Lateral (Drawer) */
.cart-widget-side,
.wd-cart-side {
    background-color: #ffffff !important;
    color: #111111 !important;
}
/* WoodMart marca el panel con .color-scheme-light (textos blancos para
   fondo oscuro). Como el fondo es blanco, se devuelve la paleta clara:
   sin esto, el título, «Cerrar» y el aviso de carrito vacío no se ven. */
.cart-widget-side.color-scheme-light,
.wd-cart-side.color-scheme-light {
    --wd-title-color: #111111;
    --wd-entities-title-color: #111111;
    --wd-entities-title-color-hover: #8b0000;
    --wd-widget-title-color: #111111;
    --wd-text-color: #4b5563;
    --wd-link-color: #111111;
    --wd-link-color-hover: #8b0000;
    --color-gray-300: #bbb;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111111;
    --brdcolor-gray-200: #e5e7eb;
    --brdcolor-gray-300: #d1d5db;
}
.cart-widget-side .cart-item-link.wd-fill,
.wd-cart-side .cart-item-link.wd-fill {
    display: none !important;
}
.cart-widget-side .cart-info .wd-entities-title,
.wd-cart-side .cart-info .wd-entities-title,
.cart-widget-side .cart-info .wd-entities-title a,
.wd-cart-side .cart-info .wd-entities-title a {
    color: #111111 !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
}
.cart-widget-side .amount,
.cart-widget-side .amount *,
.wd-cart-side .amount,
.wd-cart-side .amount *,
.cart-widget-side .quantity,
.cart-widget-side .quantity *,
.wd-cart-side .quantity,
.wd-cart-side .quantity * {
    color: #111111 !important;
    font-weight: 600 !important;
}
.cart-widget-side .woocommerce-mini-cart__buttons a.checkout,
.wd-cart-side .woocommerce-mini-cart__buttons a.checkout {
    background-color: #8b0000 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* 6. Footer Keystone Blanco */
footer.footer-container {
    display: block !important;
    background-color: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    border-top: 1px solid #e5e7eb !important;
}
.footer-container .widget-area {
    display: none !important;
}

/* RESTAURAR PANTALLA COMPLETA 100VH Y BORRAR BARRA DEMO */
.whb-top-bar {
    display: none !important;
}

.tbh-portada .main-page-wrapper,
.tbh-portada .site-content,
.tbh-portada .entry-content,
.tbh-portada .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* AJUSTE EXACTO RAMA A: BODEGÓN FULL WIDTH 100% AUTOESCALABLE */
.tbh-portada .bh-bodegon-packs,
.tbh-portada .elementor-widget-image:has(img[src*="Bodegon"]) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 60px 0 !important;
    padding: 0 !important;
}

.tbh-portada img[src*="Bodegon"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
}

/* Foto fundadores blanco y negro contrastado como Rama A */
.tbh-portada img[src*="BC_parella"] {
    filter: grayscale(100%) contrast(1.1) !important;
    border-radius: 4px !important;
}

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

/* El bloque del pie ocupa todo el ancho: los fondos van a sangre.
   (El tema carga base.css despues de esta hoja, de ahi la especificidad.) */
.wd-footer .main-footer {
    max-width: none;
    padding: 0;
}

/* El pie arranca pegado al contenido: sin el relleno blanco inferior de la
   plantilla, que con el fondo negro se veia como una costura. */
.wd-page-content .content-layout-wrapper {
    padding-bottom: 0;
}

.tbh-footer {
    --tbh-seal-h: 92px;
    --tbh-logo-w: 320px;
}

@media (min-width: 768px) {
    .tbh-footer {
        --tbh-seal-h: 108px;
        --tbh-logo-w: 520px;
    }
}

@media (min-width: 1200px) {
    .tbh-footer {
        --tbh-seal-h: 120px;
        --tbh-logo-w: 680px;
    }
}

@media (max-width: 359px) {
    .tbh-footer {
        --tbh-seal-h: 72px;
        --tbh-logo-w: 260px;
    }

    .tbh-footer-seals {
        gap: 16px 24px;
    }
}

/* 1. Sellos sobre negro */
.tbh-footer-seals {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 36px;
    padding: 40px 20px 28px;
    background: #000;
}

.tbh-footer .tbh-footer-seals img {
    display: block;
    width: auto;
    height: var(--tbh-seal-h);
}

/* 2. Placa a caballo entre el negro y el blanco */
.tbh-footer-plate {
    padding: 0 20px;
    background: linear-gradient(#000 58%, #fff 58%);
    text-align: center;
}

.tbh-footer .tbh-footer-plate img {
    display: block;
    width: var(--tbh-logo-w);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* 3. Zona legal sobre blanco */
.tbh-footer-legal {
    padding: 26px 20px 38px;
    background: #fff;
    text-align: center;
}

.tbh-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
}

.tbh-footer-links a {
    color: #4b5563;
    text-decoration: none;
}

.tbh-footer-links a:hover {
    color: #8b0000;
}

.tbh-footer-links span {
    color: #c4c4c4;
}

.tbh-footer-copy {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: .03em;
    color: #6b7280;
}

@media (max-width: 767px) {
    .tbh-footer-links span {
        display: none;
    }

    /* La barra fija de WoodMart (55px) tapa la ultima linea. */
    .tbh-footer-legal {
        padding-bottom: 72px;
    }
}

/* Pie con elementos estandar de Elementor (bloque «Pie TBH»).
   Fondos, rellenos y separaciones van en el propio Elementor; aqui solo el
   tamano de sellos y placa, y el menu legal en una linea. */
.tbh-pie {
    --tbh-seal-h: 92px;
    --tbh-logo-w: 320px;
}

@media (min-width: 768px) {
    .tbh-pie {
        --tbh-seal-h: 108px;
        --tbh-logo-w: 520px;
    }
}

@media (min-width: 1200px) {
    .tbh-pie {
        --tbh-seal-h: 120px;
        --tbh-logo-w: 680px;
    }
}

@media (max-width: 359px) {
    .tbh-pie {
        --tbh-seal-h: 72px;
        --tbh-logo-w: 260px;
    }
}

.tbh-pie .tbh-pie-sellos img {
    display: block;
    width: auto;
    height: var(--tbh-seal-h);
}

.tbh-pie .tbh-pie-placa img {
    display: block;
    width: var(--tbh-logo-w);
    max-width: 100%;
    height: auto;
}

.tbh-pie .tbh-pie-legal .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
}

.tbh-pie .tbh-pie-legal .menu li {
    margin: 0;
}

.tbh-pie .tbh-pie-legal .menu li + li::before {
    content: "/";
    margin-right: 16px;
    color: #c4c4c4;
}

.tbh-pie .tbh-pie-legal .menu a {
    color: #4b5563;
    text-decoration: none;
}

.tbh-pie .tbh-pie-legal .menu a:hover {
    color: #8b0000;
}

.tbh-pie .tbh-pie-legal p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: .03em;
    text-align: center;
    text-transform: uppercase;
    color: #6b7280;
}

@media (max-width: 767px) {
    .tbh-pie .tbh-pie-legal .menu li + li::before {
        content: none;
    }
}

/* ==========================================================================
   PRECIOS — TIENDA Y FICHA DE PRODUCTO
   El precio es lo que el cliente busca de un vistazo; sobre negro, el rojo
   #8b0000 apenas alcanza 2:1 de contraste. Pasa a blanco puro y a un tamano
   de titular. El simbolo € queda en segundo plano para que domine la cifra.
   Se excluyen carrito, checkout y pedido (fondo blanco, hoja propia).
   ========================================================================== */

/* 1. Tarjeta del listado: titulo > precio > categoria.
      El precio sube por delante de la categoria para que se lea antes. */
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-order-received) .wd-products .wd-product .product-information .wd-entities-title {
    order: 0;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-order-received) .wd-products .wd-product .product-information .product-rating-price {
    order: 1;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-order-received) .wd-products .wd-product .product-information .wd-product-cats {
    order: 2;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-order-received) .wd-products .wd-product .product-information .wd-product-card-hover {
    order: 3;
}

/* Precio en rejillas: tienda, categorias, relacionados y upsells */
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-order-received) .wd-products .wd-product .price {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: .01em;
    font-variant-numeric: tabular-nums;
}

/* 2. Ficha de producto */
body.single-product .summary-inner > .price {
    margin: 6px 0 10px;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: .01em;
    font-variant-numeric: tabular-nums;
}

/* 3. El simbolo de moneda, mas pequeno y atenuado */
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-order-received) .wd-products .wd-product .price .woocommerce-Price-currencySymbol,
body.single-product .summary-inner > .price .woocommerce-Price-currencySymbol {
    font-size: .62em;
    font-weight: 600;
    color: rgba(255, 255, 255, .62);
}

/* 4. Rebajados: precio anterior tachado y en gris, precio actual en blanco */
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-order-received) .wd-products .wd-product .price del,
body.single-product .summary-inner > .price del {
    margin-right: .35em;
    font-size: .55em;
    font-weight: 400;
    color: rgba(255, 255, 255, .45);
}

body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-order-received) .wd-products .wd-product .price del .amount,
body.single-product .summary-inner > .price del .amount {
    color: inherit;
    font-weight: 400;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-order-received) .wd-products .wd-product .price ins,
body.single-product .summary-inner > .price ins {
    text-decoration: none;
    color: #ffffff;
}

@media (max-width: 767px) {
    body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-order-received) .wd-products .wd-product .price {
        font-size: 21px;
    }

    body.single-product .summary-inner > .price {
        font-size: 30px;
    }
}

/* ==========================================================================
   PAGINAS LEGALES (condiciones, privacidad, cookies)
   Todo el texto va dentro de un grupo con la clase «tbh-legal» (editor de
   bloques). Columna de lectura estrecha y centrada; titulo de pagina >
   apartados > subapartados. Las anclas (#cookies...) dejan sitio a la cabecera.
   ========================================================================== */
.tbh-legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 0 64px;
    font-size: 16px;
    line-height: 1.7;
    color: #d4d4d4;
}

.tbh-legal h1,
.tbh-legal h2,
.tbh-legal h3 {
    color: #fff;
    scroll-margin-top: 110px;
}

.tbh-legal h1 {
    margin: 0 0 32px;
    font-size: 34px;
    line-height: 1.2;
}

.tbh-legal h2 {
    margin: 48px 0 16px;
    padding-top: 24px;
    border-top: 1px solid #2a2a2a;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: .03em;
}

.tbh-legal h3 {
    margin: 28px 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.tbh-legal p,
.tbh-legal ul {
    margin: 0 0 14px;
}

.tbh-legal li {
    margin-bottom: 6px;
}

.tbh-legal strong {
    color: #fff;
}

/* Recuadro de resumen y tabla de cookies */
.tbh-legal .wp-block-table {
    margin: 0 0 24px;
    overflow-x: auto;
}

.tbh-legal .wp-block-table table {
    font-size: 14px;
    line-height: 1.6;
}

.tbh-legal .wp-block-table td,
.tbh-legal .wp-block-table th {
    padding: 12px 14px;
    border: 1px solid #2a2a2a;
    color: #d4d4d4;
    vertical-align: top;
    word-break: normal;
}

.tbh-legal .wp-block-table th {
    background: #141414;
    color: #fff;
}

.tbh-legal .wp-block-table thead {
    border-bottom: 1px solid #2a2a2a;
}

/* Firma y fecha del documento */
.tbh-legal > p:last-child {
    margin-top: 40px;
    font-size: 14px;
    color: #8a8a8a;
}

@media (max-width: 767px) {
    .tbh-legal {
        padding: 24px 0 48px;
        font-size: 15px;
    }

    .tbh-legal h1 {
        font-size: 26px;
    }

    .tbh-legal h2 {
        margin-top: 36px;
        font-size: 18px;
    }

    .tbh-legal h3 {
        font-size: 16px;
    }

    /* Tablas con varias columnas (cookies): ancho minimo y se deslizan de lado. */
    .tbh-legal .wp-block-table table:has(thead) {
        min-width: 640px;
        table-layout: auto;
    }

    .tbh-legal .wp-block-table td,
    .tbh-legal .wp-block-table th {
        padding: 10px 12px;
    }
}


/* Páginas a pantalla completa (Smash, 2026-11-09): sin el contenedor de WoodMart.
   Se activa con la clase tbh-pagina-completa en el primer contenedor de Elementor. */
main.wd-content-layout:has(.tbh-pagina-completa) {
    max-width: none;
    padding: 0;
}

/* Página 404 (404.php del tema hijo): estética oscura de la tienda,
   titular en Playfair Display y las 6 burgers debajo. */
.tbh-404 {
    padding: clamp(40px, 8vw, 100px) 0 clamp(40px, 6vw, 80px);
}
.tbh-404__intro {
    max-width: 720px;
    margin: 0 auto clamp(40px, 6vw, 70px);
    text-align: center;
}
.tbh-404__codigo {
    margin: 0 0 0.8em;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #991b1b;
}
.tbh-404__titulo {
    margin: 0 0 0.5em;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem);
    line-height: 1.1;
}
.tbh-404__texto {
    margin: 0 auto 2em;
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.6;
}
.tbh-404__botones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 2rem;
}
.tbh-404__enlace {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}
/* La 404 no lleva la franja de título de WoodMart (decía «Blog»). */
.error404 .wd-page-title {
    display: none;
}
.tbh-404__boton {
    --btn-bgcolor: #8b0000;
    --btn-color: #ffffff;
    --btn-bgcolor-hover: #991b1b;
    --btn-color-hover: #ffffff;
}

/* Lote de lanzamiento (2026-11-16): precio por kilo, pedido mínimo,
   península y entrega prevista. */
.tbh-precio-kilo {
    display: block;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.75;
}
.tbh-min-packs {
    flex-basis: 100%;
    margin: 0.8em 0 0;
    font-size: 0.9em;
    opacity: 0.85;
}
.tbh-min-packs--carrito {
    margin: 0 0 1em;
    font-weight: 600;
    color: #991b1b;
}
.tbh-peninsula {
    margin: 0 0 1em;
    font-weight: 600;
}
.tbh-entrega__nota {
    display: block;
    margin-top: 0.3em;
    opacity: 0.75;
}
.tbh-contacto {
    margin-top: 1.5em;
}
/* Franja: un solo asterisco (en el título), no en cada opción. */
.tbh-franja .woocommerce-input-wrapper .required {
    display: none;
}
