/* =============================================================
   IRONCLAW — style.css

   Identidad: negro · blanco · rojo.
   Organización:
     01 Variables
     02 Reset / base
     03 Accesibilidad
     04 Layout
     05 Navbar
     06 Dropdown
     07 Hero
     08 Botones
     09 Encabezados
     10 Categorías
     11 Producto destacado
     12 Manifiesto
     13 Features
     14 Nosotros / valores
     15 CTA
     16 Comunidad
     17 Catálogo / tarjetas de producto
     18 Carrito
     19 Toast / WhatsApp flotante
     20 Contacto
     21 Footer
     22 Responsive
============================================================= */


/* =============================================================
   01 · VARIABLES
============================================================= */

:root {
    --bg: #080808;
    --bg-soft: #111111;
    --bg-card: #161616;
    --bg-elevated: #101010;

    --text: #f5f5f5;
    --text-soft: #a8a8a8;

    --red: #c8102e;
    --red-dark: #8d0b20;

    --green: #6fbf73;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.28);

    --container: 1200px;
    --transition: 0.3s ease;

    /* Header: el logo se mide por ANCHO (proporción original 2.5:1)
       y la altura del navbar acompaña. Ambos por breakpoint. */
    --navbar-height: 112px;
    --logo-nav-width: 240px;

    --logo-footer-height: 78px;
}


/* =============================================================
   02 · RESET / BASE
============================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;

    /* `clip` evita el scroll horizontal sin crear un contenedor
       de scroll (a diferencia de overflow-x: hidden). */
    overflow-x: clip;
}

img {
    max-width: 100%;
    display: block;
}

picture {
    display: contents;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

h1, h2, h3, h4 {
    font-weight: 900;
    text-wrap: balance;

    /* Ninguna palabra larga debe salirse de la pantalla en móvil. */
    overflow-wrap: break-word;
}


/* =============================================================
   03 · ACCESIBILIDAD
============================================================= */

/* Nunca se elimina el outline globalmente: se reemplaza por uno
   propio, visible solo en navegación por teclado. */
:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 5000;

    padding: 14px 22px;

    background: var(--red);
    color: #fff;

    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 1.4px;

    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

[hidden] {
    display: none !important;
}

body.cart-open {
    overflow: hidden;
}

.site-banner {
    padding: 12px 20px;

    background: var(--red);
    color: #fff;

    text-align: center;

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 1.4px;
}


/* =============================================================
   04 · LAYOUT
============================================================= */

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}


/* =============================================================
   05 · NAVBAR
============================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 1000;

    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid var(--border);
}

.navbar-container {
    min-height: var(--navbar-height);

    display: flex;
    align-items: center;

    /* Tres bloques: logo · navegación · acciones.
       space-between reparte el aire y deja el carrito al extremo derecho. */
    justify-content: space-between;

    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo img {
    /* Se dimensiona por ancho y la altura se deduce sola: la
       proporción original del archivo queda intacta. */
    width: var(--logo-nav-width);
    height: auto;
    max-width: none;

    object-fit: contain;

    /* El archivo del logo trae fondo negro puro (#000), más oscuro
       que el navbar (#080808), y a este tamaño se notaba como un
       recuadro. `screen` deja pasar el fondo del navbar por las
       zonas negras y conserva el trazo blanco intacto.
       No se modifica el archivo del logo. */
    mix-blend-mode: screen;
}

.navbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-shrink: 0;

    gap: 14px;
}

/* --- enlaces --- */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 28px;
}

.nav-menu > a,
.dropdown-toggle {
    position: relative;

    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1.3px;

    transition: color var(--transition);
}

.nav-menu > a:hover,
.dropdown-toggle:hover {
    color: var(--red);
}

.nav-menu > a[aria-current="page"],
.dropdown-toggle[aria-current="page"] {
    color: var(--red);
}

.nav-menu > a:not(.nav-button)::after,
.dropdown-toggle::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--red);

    transition: width var(--transition);
}

.nav-menu > a:not(.nav-button):hover::after,
.nav-menu > a:not(.nav-button):focus-visible::after,
.dropdown-toggle:hover::after,
.dropdown-toggle:focus-visible::after {
    width: 100%;
}

.nav-button {
    margin-left: 6px;

    padding: 15px 24px;

    background: var(--red);
    color: #fff;

    border: 1px solid var(--red);

    font-weight: 900;

    transition: background var(--transition), color var(--transition);
}

.nav-button:hover {
    background: transparent;
    color: var(--red);
}

/* --- carrito en navbar --- */

.nav-cart {
    position: relative;
    flex-shrink: 0;

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

    /* 44×44: área táctil cómoda */
    width: 44px;
    height: 44px;

    background: transparent;
    color: #fff;

    border: 1px solid var(--border);

    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.nav-cart:hover {
    background: rgba(200, 16, 46, 0.1);
    border-color: var(--red);
    color: var(--red);
}

.nav-cart svg {
    width: 19px;
    height: 19px;
}

.nav-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;

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

    min-width: 19px;
    height: 19px;
    padding: 0 4px;

    background: var(--red);
    color: #fff;

    border-radius: 50%;

    font-size: 0.62rem;
    font-weight: 900;
}

.nav-cart-count.show {
    display: flex;
}

/* --- botón hamburguesa --- */

.menu-toggle {
    display: none;

    background: transparent;
    border: 0;
    color: #fff;

    font-size: 1.7rem;
    line-height: 1;
}


/* =============================================================
   06 · DROPDOWN PRODUCTOS
============================================================= */

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;

    gap: 7px;
}

.dropdown-arrow {
    font-size: 0.72rem;

    transition: transform var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;

    min-width: 190px;
    padding: 10px 0;

    background: var(--bg-elevated);

    border: 1px solid var(--border);
    border-top: 2px solid var(--red);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.dropdown-menu a {
    display: block;

    padding: 14px 20px;

    color: var(--text-soft);

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.2px;

    transition: background var(--transition), color var(--transition);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background: #181818;
    color: var(--red);
}

/* Se abre con mouse, con teclado (.open lo gestiona main.js) y
   con foco dentro del submenú. */
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow {
    transform: rotate(180deg);
}


/* =============================================================
   07 · HERO
============================================================= */

.hero {
    position: relative;

    min-height: 850px;

    padding-top: 205px;
    padding-bottom: 110px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(circle at 75% 45%, rgba(200, 16, 46, 0.17), transparent 32%),
        linear-gradient(120deg, #050505, #111111);

    overflow: hidden;
}

.hero::before {
    content: "IRONCLAW";

    position: absolute;
    right: -40px;
    bottom: -45px;

    font-size: clamp(7rem, 16vw, 15rem);
    font-weight: 900;
    letter-spacing: -8px;

    color: rgba(255, 255, 255, 0.018);

    pointer-events: none;
    user-select: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.65) 45%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;
}

.hero-brand-logo {
    width: 650px;
    max-width: 80vw;
    height: auto;

    margin: 0 0 35px;

    object-fit: contain;
}

.hero-label,
.section-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--red);

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 3px;
}

.hero h1 {
    max-width: 900px;
    margin-bottom: 25px;

    font-size: clamp(4rem, 9vw, 7.5rem);
    line-height: 0.9;
    letter-spacing: -4px;
}

.hero h1 span {
    display: block;
    color: var(--red);
}

.hero p {
    max-width: 620px;
    margin-bottom: 36px;

    color: var(--text-soft);
    font-size: 1.05rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;
}

/* --- hero de páginas internas --- */

.page-hero {
    position: relative;

    padding-top: 175px;
    padding-bottom: 70px;

    background:
        radial-gradient(circle at 80% 20%, rgba(200, 16, 46, 0.15), transparent 45%),
        linear-gradient(120deg, #050505, #111111);

    border-bottom: 1px solid var(--border);

    overflow: hidden;
}

.page-hero::before {
    content: attr(data-word);

    position: absolute;
    right: -30px;
    bottom: -60px;

    font-size: clamp(6rem, 14vw, 13rem);
    font-weight: 900;
    letter-spacing: -6px;

    color: rgba(255, 255, 255, 0.02);

    pointer-events: none;
    user-select: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;

    max-width: 780px;
}

.page-hero .section-label {
    margin-bottom: 14px;
}

.page-hero h1 {
    margin-bottom: 16px;

    font-size: clamp(2.6rem, 6vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: -2px;
}

.page-hero p {
    max-width: 620px;

    color: var(--text-soft);
    font-size: 1.02rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;
    margin-bottom: 22px;

    color: var(--text-soft);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.breadcrumb a {
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--red);
}

.breadcrumb [aria-current="page"] {
    color: var(--red);
}


/* =============================================================
   08 · BOTONES
============================================================= */

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

    min-height: 52px;
    padding: 0 26px;

    border: 1px solid transparent;

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 1.5px;

    text-align: center;

    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.btn-primary {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: var(--border-strong);
}

.btn-secondary:hover {
    border-color: var(--red);
    color: var(--red);
}


/* =============================================================
   09 · ENCABEZADOS DE SECCIÓN
============================================================= */

.section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin-bottom: 16px;

    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: -2px;
}

.section-heading p {
    max-width: 620px;
    color: var(--text-soft);
}


/* =============================================================
   10 · CATEGORÍAS (home)
============================================================= */

.categories-section {
    background: var(--bg);
}

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

    gap: 20px;
}

.category-card {
    position: relative;

    min-height: 380px;
    padding: 32px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), rgba(200, 16, 46, 0.04)),
        var(--bg-card);

    border: 1px solid var(--border);

    overflow: hidden;

    transition: transform var(--transition), border-color var(--transition);
}

.category-card::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 3px;

    background: var(--red);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform var(--transition);
}

.category-card:hover,
.category-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(200, 16, 46, 0.6);
}

.category-card:hover::after,
.category-card:focus-visible::after {
    transform: scaleX(1);
}

.category-number {
    color: var(--red);

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.category-content span {
    display: block;
    margin-bottom: 10px;

    color: var(--text-soft);

    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.category-content h3 {
    margin-bottom: 14px;

    font-size: 2.6rem;
    line-height: 1;
}

.category-content p {
    margin-bottom: 28px;

    color: var(--text-soft);
    font-size: 0.9rem;
}

.category-content strong {
    color: var(--red);

    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1.4px;
}


/* =============================================================
   11 · PRODUCTO DESTACADO
============================================================= */

.featured-product-section {
    background: var(--bg-soft);
}

.featured-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 70px;
    align-items: center;
}

.product-placeholder,
.about-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    border: 1px dashed rgba(200, 16, 46, 0.55);

    background: linear-gradient(135deg, rgba(200, 16, 46, 0.08), rgba(255, 255, 255, 0.015));

    color: var(--red);

    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.product-placeholder {
    min-height: 560px;
    min-width: 0;

    flex-direction: column;
    gap: 10px;
}

.about-placeholder {
    min-height: 520px;
    min-width: 0;
}

.product-placeholder.has-media,
.about-placeholder.has-media {
    padding: 0;

    background: none;
    border: 1px solid var(--border);

    overflow: hidden;
}

.product-placeholder.has-media img,
.about-placeholder.has-media img {
    width: 100%;
    height: 100%;

    /* Sin `min-width: 0` un flex item conserva su ancho intrínseco
       (800 px) y desborda la pantalla si la imagen no llega a cargar. */
    min-width: 0;
    max-width: 100%;

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

.featured-product-content h2 {
    margin-bottom: 24px;

    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.9;
    letter-spacing: -3px;
}

.featured-description {
    max-width: 540px;
    margin-bottom: 35px;

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

.featured-availability {
    margin-bottom: 28px;

    color: var(--green);

    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.product-specs {
    margin-bottom: 35px;

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

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.product-spec {
    padding: 23px 20px 23px 0;
}

.product-spec + .product-spec {
    padding-left: 20px;
    border-left: 1px solid var(--border);
}

.product-spec span {
    display: block;
    margin-bottom: 8px;

    color: var(--red);

    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.product-spec strong {
    display: block;
    margin-bottom: 5px;

    font-size: 1.1rem;
}

.product-spec p {
    color: var(--text-soft);
    font-size: 0.78rem;
}


/* =============================================================
   12 · MANIFIESTO
============================================================= */

.manifesto-section {
    padding: 150px 0;

    background:
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        radial-gradient(circle at center, rgba(200, 16, 46, 0.22), transparent 55%),
        var(--bg);

    text-align: center;
}

.manifesto-content {
    max-width: 850px;
}

.manifesto-content h2 {
    margin-bottom: 25px;

    font-size: clamp(3.3rem, 7vw, 6.5rem);
    line-height: 0.9;
    letter-spacing: -3px;
}

.manifesto-content h2 span {
    display: block;
    color: var(--red);
}

.manifesto-content p {
    max-width: 700px;
    margin: 0 auto 30px;

    color: var(--text-soft);
    font-size: 1.05rem;
}

.manifesto-content strong {
    color: var(--red);

    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 3px;
}


/* =============================================================
   13 · FEATURES
============================================================= */

.features-section {
    background: var(--bg);
}

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

    gap: 18px;
}

.feature-card {
    min-height: 270px;
    padding: 30px;

    background: var(--bg-card);
    border: 1px solid var(--border);

    transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 16, 46, 0.45);
}

.feature-number {
    display: block;
    margin-bottom: 55px;

    color: var(--red);

    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.feature-card h3 {
    margin-bottom: 13px;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-soft);
    font-size: 0.88rem;
}


/* =============================================================
   14 · NOSOTROS / VALORES
============================================================= */

.about-section {
    background: var(--bg-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 70px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 25px;

    /* El mínimo de 3rem desbordaba a 320 px con palabras largas
       ("CONSTRUYENDO"): se baja el piso y se sube la pendiente. */
    font-size: clamp(2rem, 8vw, 5rem);
    line-height: 0.95;
    letter-spacing: -2px;
}

.about-content p {
    max-width: 560px;
    margin-bottom: 18px;

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

.text-link {
    display: inline-block;
    margin-top: 15px;

    color: var(--red);

    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 1.6px;

    transition: transform var(--transition);
}

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

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

    gap: 20px;
}

.value-card {
    padding: 34px 30px;

    background: var(--bg-card);

    border: 1px solid var(--border);
    border-left: 3px solid var(--red);

    transition: transform var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
}

.value-card h3 {
    margin-bottom: 12px;

    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.value-card p {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.slogan-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 14px 40px;
    padding: 50px 0;

    text-align: center;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.slogan-strip span {
    color: var(--text-soft);

    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.slogan-strip span strong {
    color: var(--red);
}


/* =============================================================
   15 · CTA
============================================================= */

.cta-section {
    padding: 75px 0;

    background: var(--red);
    color: #fff;
}

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

    gap: 35px;
}

.cta-section .section-label {
    color: #fff;
}

.cta-content h2 {
    margin-bottom: 10px;

    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.95;
}

.cta-content p {
    max-width: 570px;
    color: rgba(255, 255, 255, 0.85);
}

.cta-section .btn-primary {
    background: var(--bg);
    border-color: var(--bg);

    white-space: nowrap;
}

.cta-section .btn-primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--bg);
}


/* =============================================================
   16 · COMUNIDAD
============================================================= */

.community-section {
    background: var(--bg);
}

.community-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 30px;
    padding: 60px;

    background:
        linear-gradient(135deg, rgba(200, 16, 46, 0.1), rgba(255, 255, 255, 0.02)),
        var(--bg-card);

    border: 1px solid var(--border);
}

.community-cta-text span {
    color: var(--red);

    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.community-cta-text h2 {
    margin-top: 12px;

    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -1px;
}

.community-cta-text p {
    max-width: 480px;
    margin-top: 10px;

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

.btn-instagram {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    min-height: 54px;
    padding: 0 26px;

    background: transparent;
    color: #fff;

    border: 1px solid var(--border-strong);

    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 1.4px;

    white-space: nowrap;

    transition: border-color var(--transition), color var(--transition);
}

.btn-instagram:hover {
    border-color: var(--red);
    color: var(--red);
}

.btn-instagram svg {
    width: 19px;
    height: 19px;
}


/* =============================================================
   17 · CATÁLOGO / TARJETAS DE PRODUCTO
============================================================= */

.product-category {
    padding: 90px 0;
    border-bottom: 1px solid var(--border);
}

.product-category:last-of-type {
    border-bottom: 0;
}

.category-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 20px;
    margin-bottom: 50px;
}

.category-heading h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1;
    letter-spacing: -1.5px;
}

.category-heading .section-label {
    margin-bottom: 10px;
}

.category-tag {
    padding: 8px 16px;

    border: 1px solid var(--border);

    color: var(--text-soft);

    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 1.6px;

    white-space: nowrap;
}

.category-tag.tag-live {
    border-color: var(--red);
    color: var(--red);
}

/* --- estados de carga / error del catálogo --- */

.catalog-state {
    width: min(92%, var(--container));
    margin: 90px auto;
    padding: 60px 40px;

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

    gap: 14px;

    background: var(--bg-card);
    border: 1px dashed var(--border);
}

.catalog-state h3 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    letter-spacing: -0.5px;
}

.catalog-state p {
    max-width: 560px;
    color: var(--text-soft);
}

/* --- próximamente --- */

.coming-soon {
    padding: 70px 40px;

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

    gap: 14px;

    background: var(--bg-card);
    border: 1px dashed var(--border);
}

.coming-soon .section-label {
    color: var(--red);
}

.coming-soon h3 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -1px;
}

.coming-soon p {
    max-width: 520px;
    color: var(--text-soft);
}

/* --- grilla --- */

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

    gap: 26px;
}

.product-card {
    position: relative;

    display: flex;
    flex-direction: column;

    background: var(--bg-card);
    border: 1px solid var(--border);

    overflow: hidden;

    transition: transform var(--transition), border-color var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 16, 46, 0.5);
}

.product-card-media {
    position: relative;

    aspect-ratio: 4 / 5;
    max-width: 100%;

    background: #0c0c0c;
    overflow: hidden;
}

.product-card-media img {
    width: 100%;
    height: 100%;

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

    transition: transform 0.5s ease;
}

.product-card:hover .product-card-media img {
    transform: scale(1.045);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;

    padding: 7px 13px;

    background: var(--red);
    color: #fff;

    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.product-badge.badge-soldout {
    background: #2a2a2a;
    color: var(--text-soft);

    border: 1px solid var(--border);
}

.product-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;

    gap: 14px;
    padding: 24px;
}

.product-card-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 10px;
}

.product-card-title h3 {
    font-size: 1.25rem;
    letter-spacing: -0.3px;
}

.product-card-price {
    color: var(--red);

    font-size: 1.05rem;
    font-weight: 900;

    white-space: nowrap;
}

.product-card-note {
    color: var(--text-soft);
    font-size: 0.78rem;
}

.product-card-stock {
    color: var(--green);

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.product-card-stock.stock-out {
    color: #9a9a9a;
}

.field-group {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.field-label {
    color: var(--text-soft);

    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.size-select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;

    background: var(--bg-elevated);
    color: var(--text);

    border: 1px solid var(--border);

    font-size: 0.85rem;
    font-weight: 700;
}

.size-select:disabled {
    color: var(--text-soft);
    cursor: not-allowed;
}

.product-card-footer {
    margin-top: auto;
}

.btn-add-cart,
.btn-notify {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 1.4px;

    text-align: center;

    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.btn-add-cart {
    background: var(--red);
    color: #fff;
    border: 1px solid var(--red);
}

.btn-add-cart:hover:not(:disabled) {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-add-cart:disabled {
    background: transparent;
    color: var(--text-soft);
    border-color: var(--border);

    cursor: not-allowed;
}

.btn-notify {
    background: transparent;
    color: #fff;
    border: 1px solid var(--border-strong);
}

.btn-notify:hover {
    border-color: var(--red);
    color: var(--red);
}


/* =============================================================
   18 · CARRITO
============================================================= */

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;

    background: rgba(0, 0, 0, 0.65);

    opacity: 0;
    visibility: hidden;

    transition: opacity var(--transition), visibility var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2001;

    width: min(420px, 100vw);
    height: 100%;

    display: flex;
    flex-direction: column;

    background: #0c0c0c;
    border-left: 1px solid var(--border);

    transform: translateX(100%);

    transition: transform 0.35s ease;
}

.cart-panel.active {
    transform: translateX(0);
}

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

    padding: 26px 26px 22px;

    border-bottom: 1px solid var(--border);
}

.cart-header h2 {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.cart-close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    background: transparent;
    color: #fff;

    border: 1px solid var(--border);

    font-size: 1.1rem;

    transition: border-color var(--transition), color var(--transition);
}

.cart-close:hover {
    border-color: var(--red);
    color: var(--red);
}

.cart-items {
    flex-grow: 1;

    padding: 20px 26px;

    overflow-y: auto;
    overscroll-behavior: contain;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 100%;
    gap: 14px;

    text-align: center;
    color: var(--text-soft);
}

.cart-empty svg {
    width: 46px;
    height: 46px;

    opacity: 0.3;
}

.cart-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);

    gap: 14px;
    padding: 18px 0;

    border-bottom: 1px solid var(--border);
}

.cart-item-img {
    width: 74px;
    height: 92px;

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

    background: #111;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-info h4 {
    margin-bottom: 5px;
    font-size: 0.92rem;
}

.cart-item-meta {
    margin-bottom: 10px;

    color: var(--text-soft);
    font-size: 0.75rem;
}

.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 10px;
}

.qty-control {
    display: flex;
    align-items: center;

    border: 1px solid var(--border);
}

.qty-control button {
    width: 32px;
    height: 32px;

    background: transparent;
    color: #fff;
    border: 0;

    font-size: 0.95rem;

    transition: color var(--transition);
}

.qty-control button:hover:not(:disabled) {
    color: var(--red);
}

.qty-control button:disabled {
    color: #555;
    cursor: not-allowed;
}

.qty-control span {
    min-width: 26px;

    text-align: center;

    font-size: 0.82rem;
    font-weight: 800;
}

.cart-item-price {
    color: var(--red);

    font-size: 0.85rem;
    font-weight: 900;
}

.cart-item-remove {
    background: transparent;
    border: 0;

    color: var(--text-soft);

    font-size: 0.7rem;
    letter-spacing: 1px;

    text-decoration: underline;

    transition: color var(--transition);
}

.cart-item-remove:hover {
    color: var(--red);
}

.cart-footer {
    padding: 22px 26px 28px;
    border-top: 1px solid var(--border);
}

.cart-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 16px;

    font-size: 0.95rem;
}

.cart-subtotal strong {
    color: var(--red);
    font-size: 1.25rem;
}

.cart-note {
    margin-bottom: 16px;

    color: var(--text-soft);

    font-size: 0.72rem;
    line-height: 1.5;
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;
    min-height: 54px;

    background: var(--red);
    color: #fff;

    border: 1px solid var(--red);

    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 1.4px;

    transition: background var(--transition), border-color var(--transition);
}

.btn-checkout:hover:not(:disabled) {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-checkout:disabled {
    opacity: 0.6;
    cursor: progress;
}

.btn-checkout svg {
    width: 18px;
    height: 18px;

    flex-shrink: 0;
}


/* =============================================================
   19 · TOAST / WHATSAPP FLOTANTE
============================================================= */

.toast {
    position: fixed;
    bottom: 26px;
    left: 50%;
    z-index: 3000;

    width: max-content;
    max-width: min(90vw, 420px);

    padding: 15px 24px;

    background: #111;
    color: #fff;

    border: 1px solid var(--red);

    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;

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

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.toast.show {
    transform: translate(-50%, 0);

    opacity: 1;
    visibility: visible;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;

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

    width: 58px;
    height: 58px;

    /* Rojo corporativo IronClaw (mismo token que botones y acentos). */
    background: var(--red);

    border-radius: 50%;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);

    transition: transform var(--transition), background var(--transition);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background: var(--red-dark);
    transform: scale(1.08);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;

    fill: #fff;
}


/* =============================================================
   20 · CONTACTO
============================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 60px;
    align-items: start;
}

.contact-cards {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;

    gap: 18px;
    padding: 26px;

    background: var(--bg-card);
    border: 1px solid var(--border);

    transition: transform var(--transition), border-color var(--transition);
}

a.contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(200, 16, 46, 0.5);
}

.contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 46px;
    height: 46px;

    background: rgba(200, 16, 46, 0.12);
    color: var(--red);
}

.contact-card-icon svg {
    width: 21px;
    height: 21px;
}

.contact-card-text {
    display: block;
    min-width: 0;
}

.contact-card-text > span:first-child {
    display: block;
    margin-bottom: 5px;

    color: var(--red);

    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.contact-card-text strong {
    display: block;
    margin-bottom: 3px;

    font-size: 1rem;

    overflow-wrap: anywhere;
}

.contact-card-desc {
    display: block;

    color: var(--text-soft);
    font-size: 0.82rem;
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 460px;

    border: 1px solid var(--border);

    /* Solo se atenúa el brillo: no se invierte el mapa, para no
       destruir su contraste real. */
    filter: grayscale(0.35) brightness(0.85);
}

.contact-map iframe {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 460px;

    border: 0;
}


/* =============================================================
   21 · FOOTER
============================================================= */

.footer {
    background: #050505;
    border-top: 1px solid var(--border);
}

.footer-grid {
    padding: 65px 0;

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

    gap: 50px;
}

.footer-logo {
    height: var(--logo-footer-height);
    margin-bottom: 14px;
}

.footer-logo img {
    width: auto;
    height: var(--logo-footer-height);
    max-width: 100%;

    object-fit: contain;
}

.footer-brand p {
    margin-top: 20px;

    color: var(--text-soft);

    font-size: 0.78rem;
    letter-spacing: 2px;
}

.shipping-notice {
    letter-spacing: 0 !important;
    color: var(--red) !important;
}

.footer-links,
.footer-social {
    display: flex;
    flex-direction: column;

    gap: 11px;
}

.footer-links > span,
.footer-social > span {
    margin-bottom: 8px;

    color: var(--red);

    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.footer-links a,
.footer-social a {
    width: fit-content;
    max-width: 100%;

    color: var(--text-soft);
    font-size: 0.86rem;

    overflow-wrap: anywhere;

    transition: color var(--transition);
}

.footer-links a:hover,
.footer-social a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--border);
}

.footer-bottom-content {
    min-height: 75px;

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

    gap: 25px;

    color: #8a8a8a;
    font-size: 0.75rem;
}

.bridgeclaw-credit {
    letter-spacing: 1px;
}

.bridgeclaw-credit a {
    color: var(--red);
    font-weight: 900;

    transition: color var(--transition);
}

.bridgeclaw-credit a:hover {
    color: #fff;
}


/* =============================================================
   22 · RESPONSIVE
   Un único bloque por breakpoint: 1200 · 1100 · 900 · 650 · 420
============================================================= */

@media (max-width: 1200px) {

    :root {
        --navbar-height: 104px;
        --logo-nav-width: 212px;
    }

    .hero-brand-logo {
        width: 560px;
    }
}


@media (max-width: 1100px) {

    :root {
        --navbar-height: 98px;
        --logo-nav-width: 194px;
    }

    .navbar-container {
        gap: 22px;
    }

    .nav-menu {
        gap: 18px;
    }

    .nav-button {
        margin-left: 2px;
        padding: 14px 18px;
    }

    .categories-grid,
    .features-grid,
    .values-grid,
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-product-grid,
    .about-grid {
        gap: 45px;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

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


@media (max-width: 900px) {

    :root {
        --navbar-height: 88px;
        --logo-nav-width: 176px;
    }

    .navbar-container {
        gap: 16px;
    }

    .navbar-actions {
        gap: 10px;
    }

    .menu-toggle {
        display: block;
    }

    /* --- menú móvil --- */

    .nav-menu {
        position: absolute;

        /* Justo debajo del header, sea cual sea su altura.
           Antes era un valor fijo que se desincronizaba al
           cambiar el tamaño del navbar. */
        top: 100%;
        left: 0;

        width: 100%;
        padding: 25px 4%;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background: #090909;

        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > a,
    .dropdown-toggle {
        width: 100%;
        min-height: 50px;

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

        border-bottom: 1px solid var(--border);
    }

    .nav-menu > a::after,
    .dropdown-toggle::after {
        display: none;
    }

    .nav-button {
        margin-top: 18px;
        margin-left: 0;

        justify-content: center;

        border-bottom-color: var(--red);
    }

    /* --- dropdown móvil --- */

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;

        display: none;

        width: 100%;
        min-width: 0;
        padding: 0;

        background: var(--bg-elevated);
        border: 0;

        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* En móvil solo abre la clase .open: nunca el hover ni el
       focus-within, que provocaban aperturas fantasma. */
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .nav-dropdown:hover .dropdown-arrow,
    .nav-dropdown:focus-within .dropdown-arrow {
        transform: none;
    }

    .nav-dropdown.open .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        padding: 15px 18px 15px 30px;
        border-bottom: 1px solid var(--border);
    }

    /* --- contenido --- */

    .hero {
        padding-top: 170px;
    }

    .hero-brand-logo {
        width: 420px;
        max-width: 85vw;
    }

    .featured-product-grid,
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-placeholder,
    .about-placeholder {
        min-height: 420px;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .community-cta {
        padding: 40px 28px;

        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 650px) {

    :root {
        --navbar-height: 80px;
        --logo-nav-width: 156px;
        --logo-footer-height: 64px;
    }

    .section {
        padding: 80px 0;
    }

    /* --- hero --- */

    .hero {
        min-height: 720px;

        padding-top: 145px;
        padding-bottom: 80px;
    }

    .hero-brand-logo {
        width: 330px;
        max-width: 88vw;

        margin-bottom: 28px;
    }

    .hero h1 {
        font-size: clamp(3.6rem, 17vw, 5rem);
        letter-spacing: -3px;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    /* --- grillas a una columna --- */

    .categories-grid,
    .features-grid,
    .values-grid,
    .products-grid,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        gap: 35px;
    }

    .category-card {
        min-height: 320px;
    }

    .feature-card {
        min-height: 230px;
    }

    .feature-number {
        margin-bottom: 40px;
    }

    /* --- producto --- */

    .product-placeholder,
    .about-placeholder {
        min-height: 330px;
    }

    .product-specs {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-spec {
        padding: 18px 0;
    }

    .product-spec + .product-spec {
        padding-left: 0;

        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .category-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .coming-soon,
    .catalog-state {
        padding: 45px 26px;
    }

    /* --- CTA / carrito / varios --- */

    .cta-section {
        padding: 60px 0;
    }

    .cta-content .btn {
        width: 100%;
    }

    .cart-panel {
        width: 100vw;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;

        bottom: 18px;
        right: 18px;
    }

    .toast {
        bottom: 84px;
    }

    .slogan-strip {
        flex-direction: column;

        gap: 16px;
        padding: 36px 0;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 340px;
    }

    .footer-bottom-content {
        padding: 22px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 8px;
    }
}


@media (max-width: 420px) {

    :root {
        --navbar-height: 72px;
        --logo-nav-width: 134px;
    }

    .container {
        width: 90%;
    }

    .navbar-container {
        gap: 12px;
    }

    .hero-brand-logo {
        width: 290px;
        max-width: 90vw;
    }

    .hero h1 {
        font-size: 3.4rem;
    }

    .page-hero {
        padding-top: 150px;
    }

    .product-card-title {
        flex-direction: column;
        align-items: flex-start;

        gap: 4px;
    }
}


/* =============================================================
   18.1 · CARRITO COMPACTO — desplegables checkout
   Producto visible en formato miniatura + cupón/datos colapsables.
============================================================= */
.cart-items {
    flex-grow: 0;
    max-height: 250px;
    padding: 14px 26px;
}

.cart-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
}

.cart-item-img {
    width: 58px;
    height: 68px;
    object-fit: cover;
    object-position: top center;
    border: 1px solid var(--border);
}

.cart-item-info h4 {
    font-size: 0.82rem;
    margin-bottom: 2px;
}

.cart-item-meta {
    margin-bottom: 6px;
    font-size: 0.68rem;
}

.cart-item-row { gap: 8px; }
.qty-control button { width: 28px; height: 28px; }
.cart-item-price { font-size: 0.78rem; }
.cart-item-remove { font-size: 0.62rem; }

.cart-footer {
    padding-top: 18px;
}

.cart-accordion {
    margin: 10px 0;
    border: 1px solid var(--border);
    background: #0d0d0d;
}

.cart-accordion-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 44px 0 16px;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 1.15px;
    cursor: pointer;
    list-style: none;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.cart-accordion-toggle::-webkit-details-marker { display: none; }
.cart-accordion-toggle::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--red);
    font-size: 1.25rem;
    font-weight: 400;
}
.cart-accordion[open] > .cart-accordion-toggle::after { content: "−"; }
.cart-accordion-toggle:hover { background: #151515; }
.cart-accordion[open] > .cart-accordion-toggle {
    border-bottom: 1px solid var(--border);
}

.cart-accordion-content {
    padding: 14px 16px 16px;
}

.cart-coupon-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.cart-form-input {
    width: 100%;
    min-width: 0;
    padding: 12px;
    background: #111;
    color: #fff;
    border: 1px solid #3a3a3a;
    font: inherit;
}
.cart-form-input:focus { border-color: var(--red); }

.cart-apply-coupon {
    min-height: 46px;
    padding: 0 18px;
    background: var(--red);
    color: #fff;
    border: 1px solid var(--red);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1.2px;
}
.cart-apply-coupon:hover { background: var(--red-dark); border-color: var(--red-dark); }

.cart-customer-fields {
    display: grid;
    gap: 10px;
}

#cartCouponStatus { margin: 8px 0 0; }

@media (max-width: 520px) {
    .cart-items { max-height: 220px; padding-inline: 20px; }
    .cart-footer { padding-inline: 20px; }
    .cart-coupon-row { grid-template-columns: 1fr; }
    .cart-apply-coupon { width: 100%; }
}


/* =============================================================
   18.2 · JERARQUÍA DE CTAs DEL CARRITO
   Mercado Pago = acción principal (rojo sólido).
   WhatsApp = acción secundaria (carbón + borde rojo).
============================================================= */

#cartMercadoPagoBtn {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

#cartMercadoPagoBtn:hover:not(:disabled),
#cartMercadoPagoBtn:focus-visible:not(:disabled) {
    background: var(--red-dark);
    border-color: var(--red-dark);
    color: #fff;
}

#cartCheckoutBtn {
    background: #111111;
    color: #fff;
    border: 1px solid var(--red);
}

#cartCheckoutBtn:hover:not(:disabled),
#cartCheckoutBtn:focus-visible:not(:disabled) {
    background: rgba(200, 16, 46, 0.10);
    border-color: var(--red);
    color: var(--red);
}

#cartCheckoutBtn svg {
    color: currentColor;
}
