/* ==========================================================================
   KAZWINI — Storefront theme
   --------------------------------------------------------------------------
   Presentation layer only. This file changes how the storefront LOOKS.
   Existing views are restyled in place; the catalog-detail header uses a
   small set of `kz-*` presentation classes. Routes, form fields, Blade
   control flow, `data-js-*` hooks, functional element IDs and JS stay intact.

   Design system (see the Kazwini design project):
     5 colours, 2 typefaces, hairline borders, no gradients, no shadows.
   Load this LAST so it wins over the legacy page styles.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    --kz-ink: #16130f;        /* text, wordmark, icons — primary neutral   */
    --kz-paper: #fdfcfa;      /* background — dominates every screen       */
    --kz-stone: #857f76;      /* secondary/muted text, captions            */
    --kz-hairline: #e4e0d9;   /* borders, dividers, card edges             */
    --kz-brass: #b08d57;      /* the one accent — never a large fill       */

    /* Derived surfaces (tints of the five, not new colours) */
    --kz-white: #fff;         /* card surface                              */
    --kz-wash: #fbf9f5;       /* hover wash                                */
    --kz-hairline-soft: #f2efea;
    --kz-ink-line: #3a352e;   /* hairline ON the ink bar                   */
    --kz-ink-field: #1e1a15;  /* input surface ON the ink bar              */

    /* Accessible text variants of Stone and Brass.
       The palette's Stone (#857F76) scores 3.87:1 on Paper and Brass (#B08D57)
       scores 3.01:1 — both below the 4.5:1 WCAG AA needs for small text, which
       is why labels like "PROMOCIONES" and "LIQUIDACIÓN" read as too faint.
       These are the SAME hues, only darkened until they pass:
         --kz-stone-text  5.62:1      --kz-brass-text  4.88:1
       Use these for text on Paper; keep Stone/Brass for borders, fills, and
       for text sitting on Ink (where both already pass comfortably). */
    --kz-stone-text: #6b655c;
    --kz-brass-text: #8a6a38;

    /* Status tones — muted, from the same family */
    --kz-bad: #9b4a3c;
    --kz-ok: #4a6b52;

    --kz-serif: "Bodoni Moda", Georgia, serif;
    --kz-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

    /* Bootstrap variable overrides — retunes every BS component at once */
    --bs-body-bg: var(--kz-paper);
    --bs-body-color: var(--kz-ink);
    --bs-body-font-family: var(--kz-sans);
    --bs-border-color: var(--kz-hairline);
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
    --bs-border-radius-xl: 0;
    --bs-border-radius-pill: 0;
    --bs-primary: #16130f;
    --bs-primary-rgb: 22, 19, 15;
    --bs-secondary: #857f76;
    --bs-link-color: var(--kz-ink);
    --bs-link-hover-color: var(--kz-brass);
    --bs-emphasis-color: var(--kz-ink);
    --bs-secondary-color: var(--kz-stone);
    --bs-tertiary-bg: var(--kz-wash);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
body {
    background: var(--kz-paper);
    color: var(--kz-ink);
    font-family: var(--kz-sans);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* The legacy sheet sets a blanket `* { transition: .5s }` — that makes every
   hover feel sluggish. Scope motion to the properties that actually change. */
* { transition: none; }
a, button, .btn, input, select, textarea,
[class*="catalog-"], [class*="promo-"], [class*="quick-filter"], [class*="view-toggle"] {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

a { color: var(--kz-ink); text-decoration: none; }
a:hover { color: var(--kz-brass); }

h1, h2, h3, h4, h5, h6,
.catalog-title, .catalog-swiper-name {
    font-family: var(--kz-serif);
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.25;
    text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 { color: var(--kz-ink); }

hr { border-top: 1px solid var(--kz-hairline); opacity: 1; }

::selection { background: var(--kz-brass); color: var(--kz-paper); }

:focus-visible {
    outline: 1px solid var(--kz-brass);
    outline-offset: 2px;
}

/* Shared label idiom: uppercase, tracked, small */
.kz-label,
.quick-filter-pill,
.view-toggle-btn,
.catalog-btn,
.catalog-swiper-btn,
.promo-mini-button,
.promo-offer-button,
.promo-mini-lead-cta {
    font-family: var(--kz-sans);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   3. Bootstrap components, retuned
   -------------------------------------------------------------------------- */
.btn {
    --bs-btn-border-radius: 0;
    font-family: var(--kz-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 11px 24px;
    border-radius: 0;
    box-shadow: none !important;
}
.btn:focus { box-shadow: none !important; }

.btn-primary,
.btn-dark {
    --bs-btn-bg: var(--kz-ink);
    --bs-btn-border-color: var(--kz-ink);
    --bs-btn-color: var(--kz-paper);
    --bs-btn-hover-bg: var(--kz-ink);
    --bs-btn-hover-border-color: var(--kz-ink);
    --bs-btn-hover-color: var(--kz-paper);
    --bs-btn-active-bg: var(--kz-ink);
    --bs-btn-active-border-color: var(--kz-brass);
}
.btn-primary:hover, .btn-dark:hover { opacity: .86; }

.btn-secondary,
.btn-outline-dark,
.btn-outline-secondary,
.btn-light {
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--kz-hairline);
    --bs-btn-color: var(--kz-ink);
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-border-color: var(--kz-brass);
    --bs-btn-hover-color: var(--kz-brass);
}

.btn-warning, .btn-success, .btn-info {
    --bs-btn-bg: var(--kz-ink);
    --bs-btn-border-color: var(--kz-ink);
    --bs-btn-color: var(--kz-paper);
    --bs-btn-hover-bg: var(--kz-ink);
    --bs-btn-hover-border-color: var(--kz-brass);
    --bs-btn-hover-color: var(--kz-paper);
}
.btn-danger {
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--kz-bad);
    --bs-btn-color: var(--kz-bad);
    --bs-btn-hover-bg: var(--kz-bad);
    --bs-btn-hover-color: var(--kz-paper);
    --bs-btn-hover-border-color: var(--kz-bad);
}

.form-control, .form-select {
    border: 1px solid var(--kz-hairline);
    border-radius: 0;
    background: var(--kz-white);
    color: var(--kz-ink);
    font-family: var(--kz-sans);
    font-size: 13px;
    letter-spacing: .04em;
    padding: 11px 14px;
    box-shadow: none;
}
.form-control:focus, .form-select:focus {
    border-color: var(--kz-brass);
    box-shadow: none;
    background: var(--kz-white);
    color: var(--kz-ink);
}
.form-control::placeholder { color: var(--kz-stone); }
.form-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--kz-stone);
    margin-bottom: 6px;
}
.form-text { color: var(--kz-stone); font-size: 12px; }
.form-check-input { border-radius: 0; border-color: var(--kz-hairline); }
.form-check-input:checked { background-color: var(--kz-ink); border-color: var(--kz-ink); }

.card {
    border: 1px solid var(--kz-hairline);
    border-radius: 0;
    background: var(--kz-white);
    box-shadow: none;
}
.card-body { background: transparent; }

.modal-content {
    border: 1px solid var(--kz-hairline);
    border-radius: 0;
    background: var(--kz-paper);
    box-shadow: none;
}
.modal-header, .modal-footer { border-color: var(--kz-hairline); }
.modal-title { font-family: var(--kz-serif); font-weight: 500; }

/* El modal de cuenta ya no fuerza tema oscuro en el markup (era `text-bg-dark`,
   quitado 2026-08-13) — hereda el Ink-on-Paper por defecto de .modal-content/
   .form-control/.nav-link/.btn-primary de arriba, sin overrides propios. */

.dropdown-menu {
    border: 1px solid var(--kz-hairline);
    border-radius: 0;
    background: var(--kz-white);
    box-shadow: none;
    padding: 0;
    min-width: 212px;
}
.dropdown-item {
    padding: 13px 18px;
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--kz-ink);
    border-top: 1px solid var(--kz-hairline-soft);
}
.dropdown-menu > li:first-child .dropdown-item { border-top: 0; }
.dropdown-item:hover, .dropdown-item:focus {
    background: var(--kz-wash);
    color: var(--kz-brass);
}
.dropdown-divider { border-color: var(--kz-hairline); margin: 0; }
.dropdown-toggle::after { border-top-color: currentColor; }

.badge {
    border-radius: 0;
    font-family: var(--kz-sans);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 10px;
    padding: 4px 8px;
}

.nav-underline .nav-link,
.nav-link {
    color: var(--kz-stone);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.nav-underline .nav-link.active,
.nav-link.active { color: var(--kz-ink); border-color: var(--kz-brass); }

.table {
    --bs-table-bg: var(--kz-white);
    --bs-table-color: var(--kz-ink);
    --bs-table-border-color: var(--kz-hairline-soft);
    --bs-table-hover-bg: var(--kz-wash);
    font-size: 14px;
}
.table > thead th {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--kz-stone);
    border-bottom: 1px solid var(--kz-hairline);
    background: var(--kz-white);
}
.table > tbody td { border-color: var(--kz-hairline-soft); vertical-align: middle; }

.list-group-item {
    background: var(--kz-white);
    border-color: var(--kz-hairline-soft);
    border-radius: 0 !important;
    font-size: 13px;
    letter-spacing: .04em;
}
.list-group-item-action:hover { background: var(--kz-wash); }

.offcanvas {
    background: var(--kz-paper);
    border-left: 1px solid var(--kz-hairline);
}

.alert { border-radius: 0; border: 1px solid var(--kz-hairline); }
.text-bg-danger { background: var(--kz-bad) !important; color: var(--kz-paper) !important; }
.text-muted { color: var(--kz-stone) !important; }

.pagination { --bs-pagination-border-radius: 0; }
.page-link {
    border-radius: 0;
    border-color: var(--kz-hairline);
    color: var(--kz-stone);
    font-size: 12px;
    letter-spacing: .06em;
}
.page-item.active .page-link {
    background: var(--kz-ink);
    border-color: var(--kz-ink);
    color: var(--kz-paper);
}

.spinner-border { color: var(--kz-brass); }

/* --------------------------------------------------------------------------
   4. Header — the Ink bar
   -------------------------------------------------------------------------- */
header {
    position: sticky !important;
    top: 0;
    z-index: 1030;
    padding: 0 !important;
    margin-bottom: 0 !important;
    background: var(--kz-ink);
}
/* Neutralise the legacy animated gradient/pattern layers */
header .header-background,
header .header-gradient,
header .header-overlay {
    background: var(--kz-ink) !important;
    animation: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

header .navbar { padding: 12px 0; }
header .navbar-brand {
    font-family: var(--kz-serif) !important;
    font-weight: 500 !important;
    letter-spacing: .08em !important;
    font-size: 1.15rem !important;
    color: var(--kz-paper) !important;
}
/* The wordmark uses a gradient text-clip inline; force it to Paper */
header .navbar-brand span {
    background: none !important;
    -webkit-text-fill-color: var(--kz-paper) !important;
    color: var(--kz-paper) !important;
}
header .nav-link,
header .dropdown-toggle,
header .btn:not(.btn-primary):not(.btn-warning):not(.search-button),
header .text-muted {
    color: var(--kz-paper) !important;
    font-size: 12px;
    letter-spacing: .06em;
}
header .dropdown-toggle:hover,
header .nav-link:hover { color: var(--kz-brass) !important; }
header .badge.bg-light {
    background: transparent !important;
    color: var(--kz-stone) !important;
    border: 1px solid var(--kz-ink-line);
}
header .dropdown-menu { background: var(--kz-white); }
header .dropdown-menu .dropdown-item { color: var(--kz-ink); }
header .dropdown-menu.dropdown-menu .btn:not(.btn-primary):not(.btn-warning) {
    color: var(--kz-ink) !important;
}
header .dropdown-menu.dropdown-menu .btn:not(.btn-primary):not(.btn-warning):hover,
header .dropdown-menu.dropdown-menu .btn:not(.btn-primary):not(.btn-warning):focus {
    color: var(--kz-brass) !important;
    border-color: var(--kz-brass);
}

/* The mobile account offcanvas lives inside <header>, so the broad header
   button rule above used to make its transparent logout button Paper-on-Paper. */
header #offcanvas-nav .btn-danger {
    background: transparent !important;
    border-color: var(--kz-bad) !important;
    color: var(--kz-bad) !important;
}
header #offcanvas-nav .btn-danger:hover,
header #offcanvas-nav .btn-danger:focus {
    background: var(--kz-bad) !important;
    border-color: var(--kz-bad) !important;
    color: var(--kz-paper) !important;
}

/* Search — a bordered field on the Ink bar, not a pill with a glow */
header .search-form { max-width: 460px; width: 100%; margin: 0 auto; }
header .search-input-group {
    border: 1px solid var(--kz-ink-line);
    background: var(--kz-ink-field);
    border-radius: 0;
    box-shadow: none !important;
    overflow: visible;
    transform: none !important;
}
header .search-input-group:focus-within {
    border-color: var(--kz-brass);
    box-shadow: none !important;
    transform: none !important;
}
header .search-input,
header input.search-input.form-control {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--kz-paper) !important;
    font-family: var(--kz-sans);
    font-size: 13px !important;
    font-weight: 400;
    letter-spacing: .04em;
    text-shadow: none !important;
    height: 44px;
    padding: 0 14px !important;
}
header .search-input::placeholder { color: var(--kz-stone) !important; }
header .search-button {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--kz-stone) !important;
    height: 44px;
    padding: 0 16px !important;
    font-size: 11px;
    letter-spacing: .14em;
    transform: none !important;
}
header .search-button:hover { color: var(--kz-brass) !important; transform: none !important; }

/* Guest register/login card — flat, hairline, no blur or lift */
header .auth-card {
    background: transparent !important;
    backdrop-filter: none !important;
    border: 1px solid var(--kz-ink-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 10px 18px !important;
    transform: none !important;
}
header .auth-card:hover {
    background: transparent !important;
    border-color: var(--kz-brass) !important;
    transform: none !important;
    box-shadow: none !important;
}
header .auth-message {
    color: var(--kz-stone) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
}
header .auth-link {
    color: var(--kz-paper) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase;
}
header .signup-link:hover,
header .login-link:hover {
    color: var(--kz-brass) !important;
    text-shadow: none !important;
}
header .auth-link:hover .auth-icon { transform: none !important; }
header .auth-divider {
    background: var(--kz-ink-line) !important;
    height: 20px;
}
header .auth-link::after { display: none !important; }

/* Cart + mobile menu buttons — square, hairline, no gradient/pulse */
.cart-button,
header .btn-floating,
.auth-floating-buttons .btn {
    background: transparent !important;
    border: 1px solid var(--kz-ink-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    transform: none !important;
    animation: none !important;
    color: var(--kz-paper) !important;
}
.cart-button:hover,
header .btn-floating:hover,
.auth-floating-buttons .btn:hover {
    border-color: var(--kz-brass) !important;
    color: var(--kz-brass) !important;
    transform: none !important;
    box-shadow: none !important;
}
.cart-button i, header .btn-floating i { color: inherit !important; }
.cart-button .badge {
    background: var(--kz-brass) !important;
    color: var(--kz-paper) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    animation: none !important;
}

/* --------------------------------------------------------------------------
   5. Main tabs — segmented control becomes a tracked underline nav
   -------------------------------------------------------------------------- */
.main-nav-tabs {
    margin: 0 !important;
    border-bottom: 1px solid var(--kz-hairline);
    background: var(--kz-paper);
    padding: 0;
    justify-content: flex-start !important;
}
.segmented-control-container {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex;
    gap: 32px;
    max-width: 1520px;
    margin: 0 auto;
    width: 100%;
    padding: 0 clamp(20px, 4vw, 48px) !important;
    overflow-x: auto;
    scrollbar-width: none;
}
.segmented-control-container::-webkit-scrollbar { display: none; }

.segment-link {
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 16px 2px !important;
    min-width: 0 !important;
    flex: 0 0 auto;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
    color: var(--kz-stone-text) !important;   /* was Stone — failed AA at 12px */
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.kz-promo-indicator {
    position: absolute;
    top: 10px;
    right: 0;
    width: 5px;
    height: 5px;
    background: var(--kz-brass);
}
.segment-link i { opacity: .7; margin-right: 8px; font-size: 1em; }
.segment-link:hover:not(.active) { color: var(--kz-ink) !important; }
.segment-link.active {
    background: none !important;
    color: var(--kz-ink) !important;
    border-bottom-color: var(--kz-brass);
    box-shadow: none !important;
}
.segment-link.active i { color: var(--kz-ink); opacity: 1; }

/* --------------------------------------------------------------------------
   6. Promo strip — Ink lead panel + hairline rail
   -------------------------------------------------------------------------- */
.promo-mini-strip-wrap { margin: 28px 0 0; }

/* The legacy sheet paints decorative red (#dc2626) chrome via pseudo-elements:
   a bar above the strip and a radial glow behind the lead panel. Neither
   exists in the system — remove them rather than trying to recolour them. */
.promo-mini-strip::before,
.promo-mini-strip::after,
.promo-mini-shell::before,
.promo-mini-shell::after,
.promo-mini-lead::before,
.promo-mini-lead::after,
.promo-mini-card::before,
.promo-mini-card::after,
.promo-mini-badge::before,
.promo-mini-badge::after,
.promo-offers-header::before,
.promo-offer-card::before,
.promo-offer-badge::before,
.quick-filter-pill::before,
.quick-filter-pill::after,
.catalog-card::before,
.catalog-card::after,
.catalog-swiper-card::before,
.catalog-swiper-card::after,
.discount-badge::before,
.discount-badge::after,
.catalog-swiper-discount::before,
.catalog-swiper-discount::after,
.promo-mini-strip-chip::before,
.promo-mini-strip-chip::after,
.promo-mini-strip-title::before,
.promo-mini-strip-title::after,
.promo-mini-strip-note::before,
.promo-mini-strip-note::after,
.promo-mini-lead-label::before,
.promo-mini-lead-label::after,
.promo-mini-lead-value::before,
.promo-mini-lead-value::after,
.promo-mini-lead-title::before,
.promo-mini-lead-title::after,
.promo-mini-lead-cta::before,
.promo-mini-lead-cta::after,
.promo-mini-code::before,
.promo-mini-name::before,
.promo-offers-kicker::before,
.promo-offers-title::after,
.catalog-title::before,
.catalog-title::after,
.catalog-swiper-name::before,
.catalog-swiper-name::after {
    display: none !important;
    content: none !important;
}

.promo-mini-strip,
.promo-mini-shell {
    background: var(--kz-white) !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.promo-mini-shell { border: none !important; display: grid; grid-template-columns: minmax(220px, 270px) minmax(0, 1fr); }

.promo-mini-lead {
    background: var(--kz-ink) !important;
    color: var(--kz-paper) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 26px 28px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}
.promo-mini-lead-label {
    color: var(--kz-brass) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .2em !important;
    text-transform: uppercase;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}
.promo-mini-lead-label i { display: none; }   /* no icon chrome on the kicker */
.promo-mini-lead-value {
    font-family: var(--kz-serif) !important;
    font-size: 44px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: var(--kz-paper) !important;
    margin: 0 !important;
    -webkit-text-fill-color: var(--kz-paper) !important;
    background: none !important;
}
.promo-mini-lead-title {
    font-family: var(--kz-sans) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
    color: var(--kz-paper) !important;
    margin: 0 !important;
}
.promo-mini-lead-note {
    font-size: 12px !important;
    line-height: 1.6 !important;
    color: var(--kz-stone) !important;
    max-width: 210px;
    margin: 0 !important;
}
.promo-mini-lead-cta {
    font-size: 11px !important;
    border: none !important;
    border-bottom: 1px solid var(--kz-paper) !important;
    border-radius: 0 !important;
    background: none !important;
    color: var(--kz-paper) !important;
    padding: 0 0 4px !important;
    align-self: flex-start;
    margin-top: 6px;
}
.promo-mini-lead:hover .promo-mini-lead-cta {
    color: var(--kz-brass) !important;
    border-color: var(--kz-brass) !important;
}

.promo-mini-rail { padding: 18px 0; min-width: 0; display: flex; flex-direction: column; }
.promo-mini-strip-head {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 14px; padding: 0 24px 14px;
}
.promo-mini-strip-title {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase;
    color: var(--kz-ink) !important;
    background: none !important;
}
.promo-mini-strip-title i { display: none; }
.promo-mini-strip-chip {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--kz-brass) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
    padding: 0 !important;
}
.promo-mini-strip-note {
    font-size: 11px !important;
    letter-spacing: .1em !important;
    color: var(--kz-stone) !important;
}

.promo-mini-marquee { overflow: hidden; padding: 0 24px 4px; }
.promo-mini-track { display: flex; gap: 14px; align-items: stretch; }

.promo-mini-card {
    flex: 0 0 250px;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    background: var(--kz-white) !important;
    box-shadow: none !important;
    padding: 12px !important;
    display: flex;
    gap: 12px;
    align-items: stretch;
    position: relative;
    transform: none !important;
}
.promo-mini-card:hover { border-color: var(--kz-brass) !important; transform: none !important; }
.promo-mini-badge {
    position: absolute; top: 10px; right: 10px;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--kz-brass) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .08em !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.promo-mini-thumb {
    flex: 0 0 56px; height: 56px;
    background: var(--kz-paper) !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.promo-mini-thumb img { width: 92%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.promo-mini-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.promo-mini-code {
    font-size: 10px !important;
    letter-spacing: .12em !important;
    text-transform: uppercase;
    color: var(--kz-stone) !important;
}
.promo-mini-name {
    font-size: 12px !important;
    line-height: 1.35 !important;
    color: var(--kz-ink) !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.promo-mini-prices { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.promo-mini-price-old {
    font-size: 11px !important;
    color: var(--kz-stone) !important;
    text-decoration: line-through;
}
.promo-mini-price-new {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--kz-ink) !important;
}
.promo-mini-actions { display: none; }   /* whole card is the link — one CTA per view */

/* Offers modal */
.promo-offers-modal .modal-dialog { max-width: 1100px; }
.promo-offers-surface {
    background: var(--kz-paper) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.promo-offers-header {
    border-bottom: 1px solid var(--kz-hairline);
    padding: 24px 28px;
    background: var(--kz-paper) !important;
}
.promo-offers-kicker {
    color: var(--kz-brass) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .2em !important;
    text-transform: uppercase;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}
.promo-offers-kicker i { display: none; }
.promo-offers-title {
    font-family: var(--kz-serif) !important;
    font-size: 30px !important;
    font-weight: 500 !important;
    color: var(--kz-ink) !important;
}
.promo-offers-subtitle { color: var(--kz-stone) !important; font-size: 13px !important; }
.promo-offers-highlight {
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    background: var(--kz-white) !important;
    box-shadow: none !important;
    padding: 12px 18px !important;
}
.promo-offers-highlight-label,
.promo-offers-highlight-note {
    color: var(--kz-stone) !important;
    font-size: 10px !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
}
.promo-offers-highlight-value {
    font-family: var(--kz-serif) !important;
    font-size: 26px !important;
    font-weight: 500 !important;
    color: var(--kz-ink) !important;
    -webkit-text-fill-color: var(--kz-ink) !important;
    background: none !important;
}
.promo-offers-toolbar-title {
    font-size: 10px !important; font-weight: 600 !important;
    letter-spacing: .16em !important; text-transform: uppercase;
    color: var(--kz-ink) !important;
}
.promo-offers-toolbar-subtitle { color: var(--kz-stone) !important; font-size: 12px !important; }
.promo-offers-current-filter,
.promo-offers-results-pill {
    background: none !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    color: var(--kz-stone) !important;
    font-size: 10px !important;
    letter-spacing: .14em !important;
    text-transform: uppercase;
    padding: 5px 12px !important;
}
.promo-offers-filter {
    background: var(--kz-white) !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    color: var(--kz-stone) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase;
    padding: 8px 15px !important;
    box-shadow: none !important;
}
.promo-offers-filter:hover { border-color: var(--kz-brass) !important; }
.promo-offers-filter.active {
    background: var(--kz-ink) !important;
    border-color: var(--kz-ink) !important;
    color: var(--kz-paper) !important;
}
.promo-offers-filter-count { opacity: .6; margin-left: 6px; }
.promo-offer-card {
    background: var(--kz-white) !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}
.promo-offer-card:hover { border-color: var(--kz-brass) !important; transform: none !important; }
.promo-offer-badge {
    background: var(--kz-white) !important;
    border: 1px solid var(--kz-brass) !important;
    border-radius: 0 !important;
    color: var(--kz-brass) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .12em !important;
    padding: 3px 8px !important;
    box-shadow: none !important;
}
.promo-offer-thumb { background: var(--kz-paper) !important; border-radius: 0 !important; }
.promo-offer-thumb img { mix-blend-mode: multiply; }
.promo-offer-code {
    font-size: 10px !important; letter-spacing: .12em !important;
    text-transform: uppercase; color: var(--kz-stone) !important;
}
.promo-offer-name {
    font-family: var(--kz-serif) !important;
    font-size: 17px !important; font-weight: 500 !important;
    color: var(--kz-ink) !important;
}
.promo-offer-meta { color: var(--kz-stone) !important; font-size: 11px !important; }
.promo-offer-price-old { color: var(--kz-stone) !important; text-decoration: line-through; }
.promo-offer-price-new { color: var(--kz-ink) !important; font-weight: 500 !important; }
.promo-offer-footer { border-top: 1px solid var(--kz-hairline); }
.promo-offer-mini-stat span { color: var(--kz-stone) !important; font-size: 10px !important; letter-spacing: .14em !important; text-transform: uppercase; }
.promo-offer-mini-stat strong { color: var(--kz-brass) !important; }
.promo-offer-button {
    background: var(--kz-ink) !important;
    border: 1px solid var(--kz-ink) !important;
    border-radius: 0 !important;
    color: var(--kz-paper) !important;
    font-size: 11px !important;
    padding: 10px 18px !important;
    box-shadow: none !important;
}
.promo-offer-button:hover { opacity: .86; color: var(--kz-paper) !important; }
.promo-offer-button i, .promo-mini-button i { display: none; }
.promo-offers-page-btn {
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    background: var(--kz-white) !important;
    color: var(--kz-stone) !important;
    box-shadow: none !important;
}
.promo-offers-page-btn:hover { border-color: var(--kz-brass) !important; color: var(--kz-brass) !important; }
.promo-offers-page-btn.active {
    background: var(--kz-ink) !important;
    border-color: var(--kz-ink) !important;
    color: var(--kz-paper) !important;
}
.promo-offers-empty-card {
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    background: var(--kz-white) !important;
    box-shadow: none !important;
}
.promo-offers-empty-icon { color: var(--kz-stone) !important; background: none !important; }
.promo-offers-empty-title { font-family: var(--kz-serif) !important; font-weight: 500 !important; }
.promo-offers-empty-note { color: var(--kz-stone) !important; }

/* --------------------------------------------------------------------------
   7. Toolbar — filter chips + view toggle
   -------------------------------------------------------------------------- */
.catalog-toolbar {
    background: var(--kz-paper) !important;
    border: none !important;
    border-bottom: 1px solid var(--kz-hairline);
    box-shadow: none !important;
    padding: 16px 0 !important;
    margin-top: 36px;
}
.quick-filter-rail {
    display: flex; gap: 8px; align-items: center;
    overflow-x: auto; scrollbar-width: none; flex-wrap: wrap;
}
.quick-filter-rail::-webkit-scrollbar { display: none; }

.quick-filter-pill {
    background: var(--kz-white) !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--kz-stone) !important;
    font-size: 11px !important;
    padding: 8px 15px !important;
    white-space: nowrap;
    transform: none !important;
}
.quick-filter-pill:hover { border-color: var(--kz-brass) !important; transform: none !important; }
.quick-filter-pill.active {
    background: var(--kz-ink) !important;
    border-color: var(--kz-ink) !important;
    color: var(--kz-paper) !important;
}
.pill-dot { display: none !important; }   /* the chip state is the fill, not a dot */

.view-toggle-group {
    display: flex;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    gap: 0;
}
.view-toggle-btn {
    background: var(--kz-white) !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--kz-stone) !important;
    width: auto;
    height: 38px;
    padding: 0 16px !important;
    margin-left: -1px;
    font-size: 11px !important;
}
.view-toggle-btn:first-child { margin-left: 0; }
.view-toggle-btn:hover { border-color: var(--kz-brass) !important; color: var(--kz-brass) !important; }
.view-toggle-btn.active {
    background: var(--kz-ink) !important;
    border-color: var(--kz-ink) !important;
    color: var(--kz-paper) !important;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   8. Catalog cards — white surface, image above, hairline, info below
   -------------------------------------------------------------------------- */
.catalog-premium-grid { margin-top: 28px; }

.catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
    background: var(--kz-white) !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
    transform: none !important;
}
.catalog-card:hover { border-color: var(--kz-brass) !important; transform: none !important; box-shadow: none !important; }

/* Image sits in its own 4:3 stage on white, not as a full-bleed background */
.catalog-card > .carousel,
.catalog-card > img.catalog-bg-image {
    position: relative !important;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto !important;
    background: var(--kz-white);
}
.catalog-bg-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply;
    filter: none !important;
    transform: none !important;
}
.catalog-card:hover .catalog-bg-image { transform: none !important; }
.catalog-card .carousel-inner, .catalog-card .carousel-item { height: 100% !important; }

/* The dark gradient scrim has no place in the system */
.catalog-overlay { display: none !important; }

.catalog-code {
    position: absolute; top: 12px; right: 12px;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    color: var(--kz-stone) !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: .1em !important;
    padding: 0 !important;
}
.discount-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--kz-white) !important;
    border: 1px solid var(--kz-brass) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--kz-brass) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .12em !important;
    padding: 3px 8px !important;
    animation: none !important;
}
.discount-badge i { display: none; }

.catalog-bottom {
    position: static !important;
    background: var(--kz-white) !important;
    border-top: 1px solid var(--kz-hairline);
    padding: 16px 18px 18px !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transform: none !important;
}
.catalog-title {
    font-family: var(--kz-serif) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    letter-spacing: .02em !important;
    line-height: 1.25 !important;
    color: var(--kz-ink) !important;
    text-shadow: none !important;
    margin: 0 !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.catalog-bottom-row {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; flex-wrap: wrap;
}
.catalog-meta {
    display: flex; gap: 14px;
    font-size: 11px !important;
    letter-spacing: .06em !important;
    color: var(--kz-stone) !important;
    text-shadow: none !important;
}
.catalog-meta span { color: var(--kz-stone) !important; }
.catalog-meta i { display: none; }
.catalog-btn {
    background: none !important;
    border: none !important;
    border-bottom: 1px solid var(--kz-ink) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    color: var(--kz-ink) !important;
    font-size: 11px !important;
    padding: 0 0 3px !important;
    transform: none !important;
}
.catalog-btn:hover {
    background: none !important;
    color: var(--kz-brass) !important;
    border-color: var(--kz-brass) !important;
    transform: none !important;
}
.catalog-btn i { display: none; }

/* --------------------------------------------------------------------------
   9. Swiper / carousel view
   -------------------------------------------------------------------------- */
.carousel-section-title {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin: 22px 0 0 !important;
    background: none !important;
}
.carousel-section-title::before,
.carousel-section-title::after {
    content: ""; flex: 1; height: 1px; max-width: 180px;
    background: var(--kz-hairline);
}
.carousel-section-title span {
    font-family: var(--kz-sans) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .22em !important;
    text-transform: uppercase;
    color: var(--kz-stone) !important;
    background: none !important;
    -webkit-text-fill-color: var(--kz-stone) !important;
    padding: 0 !important;
    border: none !important;
}

.catalog-swiper { padding: 22px 0 !important; background: none !important; }
.catalog-swiper-card {
    background: var(--kz-white) !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.catalog-swiper-card:hover { border-color: var(--kz-brass) !important; }
.catalog-swiper-card-bg { background: var(--kz-white) !important; }
.catalog-lens { display: none !important; }
#catalogBtnLens { display: none !important; }

.catalog-swiper-card > .carousel,
.catalog-swiper-card > img.catalog-swiper-img,
.catalog-swiper-placeholder {
    position: relative !important;
    width: 100%;
    aspect-ratio: 16 / 11;
    height: auto !important;
    background: var(--kz-white);
}
.catalog-swiper-img {
    width: 100% !important; height: 100% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply;
    filter: none !important;
}
.catalog-swiper-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; color: var(--kz-stone) !important; background: var(--kz-paper) !important;
}
.catalog-swiper-code {
    position: absolute; top: 14px; right: 16px;
    background: none !important; border: none !important; box-shadow: none !important;
    backdrop-filter: none !important;
    color: var(--kz-stone) !important;
    font-size: 10px !important; letter-spacing: .1em !important; padding: 0 !important;
}
.catalog-swiper-discount {
    position: absolute; top: 14px; left: 16px;
    background: var(--kz-white) !important;
    border: 1px solid var(--kz-brass) !important;
    border-radius: 0 !important;
    color: var(--kz-brass) !important;
    font-size: 10px !important; font-weight: 600 !important;
    letter-spacing: .12em !important; padding: 3px 8px !important;
    box-shadow: none !important; animation: none !important;
}
.catalog-swiper-discount i { display: none; }
.catalog-swiper-overlay {
    position: static !important;
    background: var(--kz-white) !important;
    border-top: 1px solid var(--kz-hairline);
    padding: 18px 22px 20px !important;
    display: flex; flex-direction: column; gap: 16px;
}
.catalog-swiper-name {
    font-family: var(--kz-serif) !important;
    font-size: 22px !important; font-weight: 500 !important;
    letter-spacing: .02em !important; line-height: 1.25 !important;
    color: var(--kz-ink) !important; text-shadow: none !important;
}
.catalog-swiper-bottom-row {
    display: flex; justify-content: space-between; align-items: center;
    gap: 14px; flex-wrap: wrap;
}
.catalog-swiper-meta {
    display: flex; gap: 16px;
    font-size: 11px !important; letter-spacing: .06em !important;
    color: var(--kz-stone) !important; text-shadow: none !important;
}
.catalog-swiper-meta span { color: var(--kz-stone) !important; }
.catalog-swiper-meta i { display: none; }
.catalog-swiper-btn {
    background: var(--kz-ink) !important;
    border: 1px solid var(--kz-ink) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--kz-paper) !important;
    font-size: 11px !important;
    padding: 11px 24px !important;
    transform: none !important;
}
.catalog-swiper-btn:hover { opacity: .86; color: var(--kz-paper) !important; transform: none !important; }
.catalog-swiper-btn i { display: none; }

.catalog-swiper-controls {
    display: flex; align-items: center; justify-content: center; gap: 20px;
    margin-top: 22px; background: none !important;
}
.catalog-btn-prev, .catalog-btn-next {
    width: 38px; height: 38px;
    background: var(--kz-white) !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--kz-ink) !important;
    display: flex; align-items: center; justify-content: center;
}
.catalog-btn-prev:hover, .catalog-btn-next:hover {
    border-color: var(--kz-brass) !important; color: var(--kz-brass) !important;
}
#catalogSwiperCounter {
    font-size: 11px !important; letter-spacing: .14em !important;
    color: var(--kz-stone) !important; min-width: 64px; text-align: center;
}
.swiper-pagination-bullet {
    border-radius: 0 !important;
    background: var(--kz-hairline) !important;
    opacity: 1 !important;
}
.swiper-pagination-bullet-active { background: var(--kz-brass) !important; }

.catalog-empty-carousel {
    border: 1px solid var(--kz-hairline);
    background: var(--kz-white);
    color: var(--kz-stone);
    padding: 56px 24px;
    text-align: center;
}
.catalog-empty-carousel i { color: var(--kz-hairline); font-size: 28px; }

/* --------------------------------------------------------------------------
   9b. Titles — wrap to two lines instead of being clipped
   --------------------------------------------------------------------------
   The legacy sheet sets `white-space: nowrap` + a single-line ellipsis on these,
   and their flex parent then compresses the box below one line-height, which
   cuts the glyphs horizontally. Bodoni Moda also has deep descenders, so the
   line box needs a little more room than the 1.25 used elsewhere.
   These need !important: the legacy rules live in a <style> block inside the
   page body, which comes after this file in document order.
   -------------------------------------------------------------------------- */
.catalog-title,
.catalog-swiper-name,
.promo-mini-name,
.promo-offer-name {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    overflow-wrap: anywhere;
    line-height: 1.35 !important;
    height: auto !important;
    max-height: none !important;
    padding-bottom: 2px !important;   /* descender room */
    /* stop the flex parent squashing the box below its content height */
    flex: 0 0 auto !important;
}

/* Reserve two lines so cards in a row keep a common baseline whether the
   title runs to one line or two. */
.catalog-title,
.catalog-swiper-name {
    /* 2 x the 1.35 line-height, plus the descender padding — box-sizing is
       border-box, so the padding has to be added or a 2-line title overflows
       the card (which clips it, since .catalog-card hides overflow). */
    min-height: calc(2.7em + 4px) !important;
}
.promo-mini-name,
.promo-offer-name {
    min-height: 0 !important;
}

/* --------------------------------------------------------------------------
   9c. Let the card's info panel size to its content
   --------------------------------------------------------------------------
   The legacy sheet pins .catalog-bottom to a fixed height sized for the old
   one-line, overlay-on-image treatment. Now that the title wraps to two lines
   the panel overflows and .catalog-card (overflow:hidden) clips the meta row.

   These selectors are deliberately MORE SPECIFIC than the legacy ones rather
   than merely !important: the legacy rules also use !important and live in a
   <style> block in the page body, so on equal specificity they win on document
   order. Child selectors (0,2,0) beat their single class (0,1,0) outright.
   -------------------------------------------------------------------------- */
.catalog-card > .catalog-bottom,
.catalog-swiper-card > .catalog-swiper-overlay {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
}

div.catalog-card,
div.catalog-swiper-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;   /* nothing left to clip once panels size correctly */
}

/* Keep the image stage itself clipped, so a tall photo can't bleed out */
.catalog-card > .carousel,
.catalog-card > img.catalog-bg-image,
.catalog-swiper-card > .carousel,
.catalog-swiper-card > img.catalog-swiper-img {
    overflow: hidden !important;
}

/* --------------------------------------------------------------------------
   9d. Legibility pass — small text on Paper
   --------------------------------------------------------------------------
   Same hues, darkened until they pass AA. Palette identity is unchanged; only
   text that sits on Paper at 10-12px is remapped. Anything on Ink keeps the
   original Stone/Brass, which already pass there.
   -------------------------------------------------------------------------- */
.promo-mini-strip-note,
.promo-mini-code,
.promo-mini-price-old,
.promo-offer-code,
.promo-offer-meta,
.promo-offer-price-old,
.promo-offers-subtitle,
.promo-offers-toolbar-subtitle,
.promo-offers-current-filter,
.promo-offers-results-pill,
.promo-offers-highlight-label,
.promo-offers-highlight-note,
.catalog-meta,
.catalog-meta span,
.catalog-code,
.catalog-swiper-meta,
.catalog-swiper-meta span,
.catalog-swiper-code,
.carousel-section-title span,
.quick-filter-pill,
.view-toggle-btn,
#catalogSwiperCounter,
.table > thead th,
.form-label {
    color: var(--kz-stone-text) !important;
}

.promo-mini-strip-chip,
.promo-mini-badge,
.discount-badge,
.catalog-swiper-discount,
.promo-offer-badge,
.promo-offers-kicker,
.promo-offer-mini-stat strong {
    color: var(--kz-brass-text) !important;
}
/* the outlined tags keep the lighter Brass as their border */
.discount-badge,
.catalog-swiper-discount,
.promo-offer-badge { border-color: var(--kz-brass) !important; }

/* --------------------------------------------------------------------------
   9e. Promotions page  (/shop/promociones — home/promotions.blade.php)
   --------------------------------------------------------------------------
   Same treatment as the rest of the system: Ink hero, hairline toolbar,
   Bodoni section titles, Brass as the only accent. Markup untouched.
   -------------------------------------------------------------------------- */
.promo-hero {
    position: relative;
    background: var(--kz-ink) !important;
    color: var(--kz-paper);
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: clamp(28px, 4vw, 52px) 0 clamp(32px, 4vw, 56px) !important;
    margin-bottom: 0 !important;
}
/* Remove the legacy red halo behind the default hero. */
.promo-hero--default::before {
    display: none !important;
    content: none !important;
}
/* Banner variant keeps its admin-set image and overlay opacity: the scrim
   reads --banner-overlay straight off the inline style the Blade sets, so the
   value stays configurable from the admin rather than baked in here. */
.promo-hero--banner { background-size: cover !important; background-repeat: no-repeat !important; }
.promo-hero--banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(22, 19, 15, var(--banner-overlay, 0.72));
    z-index: 0;
}
.promo-hero > * { position: relative; z-index: 1; }

.back-to-shop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--kz-ink-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--kz-paper) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
    padding: 10px 18px !important;
    box-shadow: none !important;
}
.back-to-shop:hover { border-color: var(--kz-brass) !important; color: var(--kz-brass) !important; }

.promo-hero-label {
    display: block;
    color: var(--kz-brass) !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .2em !important;
    text-transform: uppercase;
}
.promo-hero-title {
    font-family: var(--kz-serif) !important;
    font-size: clamp(30px, 4.4vw, 52px) !important;
    font-weight: 500 !important;
    letter-spacing: .02em !important;
    line-height: 1.12 !important;
    color: var(--kz-paper) !important;
    -webkit-text-fill-color: var(--kz-paper) !important;
    background: none !important;
    margin: 10px 0 0 !important;
    text-shadow: none !important;
}
.promo-hero-title .accent {
    color: var(--kz-brass) !important;
    -webkit-text-fill-color: var(--kz-brass) !important;
    background: none !important;
    font-style: normal;
}
.promo-hero-sub {
    color: var(--kz-stone) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    max-width: 62ch;
    margin: 12px 0 0 !important;
}

/* Toolbar */
.promo-toolbar {
    background: var(--kz-paper) !important;
    border: none !important;
    border-bottom: 1px solid var(--kz-hairline) !important;
    box-shadow: none !important;
    padding: 20px 0 !important;
    margin-bottom: 32px;
}
.promo-filter-label {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
    color: var(--kz-stone-text) !important;
    margin-bottom: 8px;
}
.promo-filter-label i { display: none; }

.promo-linea-select,
.promo-range-field input {
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    /* Use only background-color here so the catalogue select keeps the
       dropdown-arrow background image supplied by the existing page CSS. */
    background-color: var(--kz-white) !important;
    color: var(--kz-ink) !important;
    font-family: var(--kz-sans) !important;
    font-size: 13px !important;
    letter-spacing: .04em;
    padding: 10px 14px !important;
    height: 40px;
    box-shadow: none !important;
}
.promo-linea-select { padding-right: 36px !important; }
.promo-linea-select:focus,
.promo-range-field input:focus { border-color: var(--kz-brass) !important; box-shadow: none !important; }
.promo-range-inputs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.promo-range-field { position: relative; display: flex; align-items: center; }
.promo-range-field .suffix { color: var(--kz-stone-text) !important; font-size: 12px; margin-left: 6px; }
.promo-range-separator {
    color: var(--kz-stone-text) !important;
    font-size: 10px !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
}

.descuento-presets { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.descuento-preset {
    background: var(--kz-white) !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--kz-stone-text) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase;
    padding: 8px 14px !important;
    white-space: nowrap;
    transform: none !important;
}
.descuento-preset:hover { border-color: var(--kz-brass) !important; color: var(--kz-brass-text) !important; transform: none !important; }
.descuento-preset.active {
    background: var(--kz-ink) !important;
    border-color: var(--kz-ink) !important;
    color: var(--kz-paper) !important;
}

.promo-btn-apply {
    background: var(--kz-ink) !important;
    border: 1px solid var(--kz-ink) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--kz-paper) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
    padding: 12px 22px !important;
    height: 40px;
}
.promo-btn-apply:hover { opacity: .86; color: var(--kz-paper) !important; }
.promo-btn-apply i { display: none; }
.promo-btn-clear {
    background: transparent !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--kz-stone-text) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
    padding: 12px 22px !important;
    height: 40px;
    display: inline-flex;
    align-items: center;
}
.promo-btn-clear:hover { border-color: var(--kz-brass) !important; color: var(--kz-brass-text) !important; }

.selected-linea-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    color: var(--kz-stone-text) !important;
    font-size: 11px !important;
    letter-spacing: .1em !important;
    padding: 7px 14px !important;
    margin-top: 14px;
    box-shadow: none !important;
}
.selected-linea-pill .remove { color: var(--kz-stone-text) !important; }
.selected-linea-pill .remove:hover { color: var(--kz-brass-text) !important; }

/* Line sections */
.linea-section { margin: 0 0 clamp(48px, 6vw, 80px); }
.linea-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 14px !important;
    margin-bottom: 24px;
}
.linea-eyebrow {
    color: var(--kz-brass-text) !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .2em !important;
    text-transform: uppercase;
}
.linea-title {
    font-family: var(--kz-serif) !important;
    font-size: clamp(22px, 2.6vw, 30px) !important;
    font-weight: 500 !important;
    letter-spacing: .02em !important;
    color: var(--kz-ink) !important;
    -webkit-text-fill-color: var(--kz-ink) !important;
    background: none !important;
    margin: 8px 0 0 !important;
}
.linea-code {
    color: var(--kz-stone-text) !important;
    font-size: 11px !important;
    letter-spacing: .12em !important;
    text-transform: uppercase;
    margin-top: 4px;
}
.linea-count-badge {
    background: transparent !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--kz-stone-text) !important;
    font-size: 10px !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
    padding: 7px 14px !important;
}
.linea-count-badge strong { color: var(--kz-ink) !important; font-weight: 500; }

.promo-list-footer {
    color: var(--kz-stone-text) !important;
    font-size: 11px !important;
    letter-spacing: .12em !important;
    text-transform: uppercase;
    text-align: center;
    margin-top: 28px;
}
.promo-list-footer strong { color: var(--kz-ink) !important; font-weight: 500; }
.promo-list-footer .divider {
    display: block;
    height: 1px;
    background: var(--kz-hairline) !important;
    margin: 0 auto 18px;
    max-width: 180px;
}

.empty-promotions {
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    background: var(--kz-white) !important;
    box-shadow: none !important;
    text-align: center;
    padding: clamp(48px, 7vw, 80px) 24px !important;
}
.empty-promotions i { color: var(--kz-hairline) !important; font-size: 28px; }
.empty-promotions h3 {
    font-family: var(--kz-serif) !important;
    font-weight: 500 !important;
    color: var(--kz-ink) !important;
    margin-top: 16px;
}
.empty-promotions p { color: var(--kz-stone-text) !important; font-size: 14px !important; }

/* --------------------------------------------------------------------------
   9f. Catalog detail header  (/shop/catalogo/{slug} — web/catalog/index.blade.php)
   -------------------------------------------------------------------------- */
.kz-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--kz-hairline);
    background: var(--kz-white);
    color: var(--kz-ink);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 10px 18px;
}
.kz-back-link:hover { border-color: var(--kz-brass); color: var(--kz-brass-text); }

.kz-catalog-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    background: var(--kz-white);
    border: 1px solid var(--kz-hairline);
    padding: 26px 28px;
    margin-bottom: 24px;
}
.kz-catalog-head-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.kz-catalog-titleline {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}
.kz-catalog-code {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--kz-stone-text);
    white-space: nowrap;
}
.kz-catalog-name {
    font-family: var(--kz-serif);
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.2;
    color: var(--kz-ink);
    text-transform: none;   /* the old header shouted in uppercase */
    margin: 0;
}
.kz-catalog-metrics {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--kz-stone-text);
}
.kz-catalog-metrics strong { color: var(--kz-ink); font-weight: 500; }

.kz-catalog-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.kz-btn-outline,
.kz-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--kz-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 12px 20px;
    white-space: nowrap;
    border-radius: 0;
}
.kz-btn-outline {
    border: 1px solid var(--kz-hairline);
    background: transparent;
    color: var(--kz-ink);
}
.kz-btn-outline:hover { border-color: var(--kz-brass); color: var(--kz-brass-text); }
.kz-btn-solid {
    border: 1px solid var(--kz-ink);
    background: var(--kz-ink);
    color: var(--kz-paper);
}
.kz-btn-solid:hover { opacity: .86; color: var(--kz-paper); }

@media (max-width: 575.98px) {
    .kz-catalog-head { padding: 20px; }
    .kz-catalog-actions { width: 100%; }
    .kz-catalog-actions a { flex: 1 1 auto; }
}

/* --------------------------------------------------------------------------
   9g. Product card  (components/web/products.blade.php)
   --------------------------------------------------------------------------
   Used by the catalog detail, promotions and search pages.

   That component styles itself with ~79 inline style="" attributes and carries
   34 data-js-* hooks. Rather than edit the Blade (which risks the hooks), every
   rule here is CSS-only and targets the hooks themselves. `!important` is
   required and sufficient: an important declaration in a stylesheet beats a
   plain inline style. NOTHING in the markup changed.
   -------------------------------------------------------------------------- */
[data-js-component="product"] {
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    background: var(--kz-white) !important;
    box-shadow: none !important;
}
[data-js-component="product"]:hover { border-color: var(--kz-brass) !important; }
[data-js-component="product"] .card-header {
    background: var(--kz-white) !important;
    border-bottom: 1px solid var(--kz-hairline) !important;
    padding: 0 !important;
}

/* Header: reference code + variation / stock counts */
.product-header h5 {
    font-family: var(--kz-serif) !important;
    font-size: 19px !important;
    font-weight: 500 !important;
    letter-spacing: .04em !important;
    color: var(--kz-ink) !important;
}
.product-header h5 span { color: var(--kz-brass) !important; }   /* the ◆ mark */
.product-header span { color: var(--kz-stone-text) !important; font-weight: 400 !important; }
.product-header span span {
    color: var(--kz-ink) !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}
.product-header i { display: none !important; }

/* PROMO flag: solid red block -> outlined brass tag */
[data-js-porcentaje] {
    background: var(--kz-white) !important;
    border: 1px solid var(--kz-brass) !important;
    border-radius: 0 !important;
    color: var(--kz-brass-text) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .12em !important;
    padding: 3px 8px !important;
    box-shadow: none !important;
}

/* "Color seleccionado" band: tinted panel with a coloured left border
   (the exact pattern the design system rules out) -> flat, hairline-topped. */
[data-js-component="product"] div:has(> [data-js-selected-color-name]),
[data-js-selected-color-name] {
    background: transparent !important;
    border-left: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
[data-js-component="product"] div:has(> [data-js-selected-color-name]) {
    border-top: 1px solid var(--kz-hairline) !important;
    padding: 12px 16px 8px !important;
}
[data-js-component="product"] div:has(> [data-js-selected-color-name]) > *:first-child {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
    color: var(--kz-stone-text) !important;
}
[data-js-selected-color-name] {
    color: var(--kz-ink) !important;
    font-family: var(--kz-sans) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Colour swatches */
.variant-thumbnail-label {
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    background: var(--kz-white) !important;
    box-shadow: none !important;
    width: 52px !important;
    padding-bottom: 0 !important;
}
.variant-thumbnail-label:hover { border-color: var(--kz-brass) !important; }
.variant-thumbnail-input:checked + .variant-thumbnail-label {
    border-color: var(--kz-brass) !important;
    box-shadow: none !important;
}
.variant-thumbnail-label span {
    font-size: 9px !important;
    font-weight: 500 !important;
    letter-spacing: .1em !important;
    color: var(--kz-stone-text) !important;
    border-top: 1px solid var(--kz-hairline-soft) !important;
    width: 100%;
    padding: 3px 0 4px !important;
    margin-top: 0 !important;
}
.variant-thumbnail-input:checked + .variant-thumbnail-label span { color: var(--kz-ink) !important; }
.variant-thumbnail-label img { mix-blend-mode: multiply; }

/* Stock / min-purchase chips: filled navy & amber -> hairline outlines */
[data-js-stockTitulo],
[data-js-stock-reservado],
[data-js-minPurchase] {
    background: transparent !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--kz-stone-text) !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase;
    padding: 4px 10px !important;
}
[data-js-stockTitulo] { color: var(--kz-brass-text) !important; border-color: var(--kz-brass) !important; }
[data-js-stock-reservado] { color: var(--kz-bad) !important; border-color: var(--kz-bad) !important; }
[data-js-minMaxPrice] { color: var(--kz-stone-text) !important; font-size: 13px !important; }
[data-js-minMaxPrice] strong { color: var(--kz-ink) !important; font-weight: 500 !important; }

/* Price panel: gradient -> flat, red -> ink with a brass "Ahora" label */
[data-js-price-panel] {
    background: var(--kz-white) !important;
    border-top: 1px solid var(--kz-hairline) !important;
    padding: 14px 16px !important;
}
[data-js-label-antes],
[data-js-label-ahora] {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
}
[data-js-label-antes] { color: var(--kz-stone-text) !important; }
[data-js-label-ahora] { color: var(--kz-brass-text) !important; }
[data-js-precios] {
    color: var(--kz-stone-text) !important;
    font-size: 13px !important;
    text-decoration: line-through;
}
[data-js-promotion] {
    color: var(--kz-ink) !important;
    font-family: var(--kz-sans) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

/* Quantity stepper: rounded grey box -> square hairline, ink glyphs */
div:has(> [data-js-sum]) {
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    overflow: hidden;
}
[data-js-discount],
[data-js-sum] {
    background: var(--kz-white) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--kz-ink) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    height: 36px;
}
[data-js-discount]:hover,
[data-js-sum]:hover { color: var(--kz-brass-text) !important; background: var(--kz-wash) !important; }
[data-js-component="product"] input[name="quantity"] {
    background: var(--kz-white) !important;
    border-left: 1px solid var(--kz-hairline) !important;
    border-right: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    color: var(--kz-ink) !important;
    font-family: var(--kz-sans) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    height: 36px;
}

/* Info button */
[data-js-info] {
    background: transparent !important;
    border: 1px solid var(--kz-hairline) !important;
    border-radius: 0 !important;
    color: var(--kz-stone-text) !important;
    box-shadow: none !important;
    height: 36px;
}
[data-js-info]:hover { border-color: var(--kz-brass) !important; color: var(--kz-brass-text) !important; }

/* Carousel arrows on the product image */
[data-js-component="product"] .carousel [data-bs-slide] {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--kz-stone-text) !important;
}
[data-js-component="product"] .carousel [data-bs-slide]:hover { color: var(--kz-brass-text) !important; }

/* In-cart marker: amber bubble -> small brass square */
[data-js-in-cart-icon] {
    background: var(--kz-brass) !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--kz-paper) !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   10. Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .promo-mini-shell { grid-template-columns: 1fr; }
    .promo-mini-lead-note { max-width: none; }
}

@media (max-width: 767.98px) {
    body { font-size: 15px; }

    header .navbar { flex-direction: column !important; padding: 10px 0 12px; }
    header .search-form { max-width: 100%; margin-top: 10px; }
    header .search-input { height: 46px; }
    header .search-button { height: 46px; }

    /* These fixed controls can sit beyond the Ink header surface on narrow
       screens. Give the cart its own opaque surface so its icon never becomes
       Paper-on-Paper. */
    header .cart-button {
        background: var(--kz-ink) !important;
        border-color: var(--kz-brass) !important;
        color: var(--kz-paper) !important;
    }

    /* Keep both mobile navigation surfaces above the fixed cart and give them
       a warm, visibly separate surface instead of a pure-white panel. */
    header .dropdown-menu {
        z-index: 1100 !important;
        background: var(--kz-wash) !important;
        border: 1px solid var(--kz-hairline) !important;
    }
    header .dropdown-menu .dropdown-item {
        background: transparent !important;
        color: var(--kz-ink) !important;
    }
    header .dropdown-menu .dropdown-item:hover,
    header .dropdown-menu .dropdown-item:focus {
        background: var(--kz-white) !important;
    }
    header #offcanvas-nav {
        z-index: 1100 !important;
        background: var(--kz-wash) !important;
    }
    header #offcanvas-nav .offcanvas-header {
        background: var(--kz-ink) !important;
        border-bottom: 1px solid var(--kz-brass) !important;
    }
    header #offcanvas-nav .list-group-item {
        background: transparent !important;
        border-color: var(--kz-hairline) !important;
    }
    header #offcanvas-nav .btn-close {
        filter: invert(1) grayscale(1);
        opacity: .85;
    }
    header:has(#offcanvas-nav.show),
    header:has(#offcanvas-nav.showing) {
        z-index: 1080 !important;
    }

    /* Native select rendering can otherwise lose its foreground on mobile.
       Scope this to the promotions catalogue filter; its name/value/submit
       behaviour remains the original Blade form. */
    .promo-toolbar .promo-linea-select,
    .promo-toolbar .promo-linea-select:focus {
        background-color: var(--kz-wash) !important;
        border-color: var(--kz-hairline) !important;
        color: var(--kz-ink) !important;
        -webkit-text-fill-color: var(--kz-ink) !important;
        opacity: 1 !important;
    }
    .promo-toolbar .promo-linea-select option {
        background: var(--kz-white);
        color: var(--kz-ink);
    }

    .segmented-control-container { gap: 22px; }
    .segment-link { padding: 14px 2px !important; font-size: 11px !important; }
    .segment-link i { display: none; }

    .catalog-toolbar { margin-top: 24px; padding: 12px 0 !important; }
    .quick-filter-rail { flex-wrap: nowrap; padding-bottom: 6px; }
    .quick-filter-pill { padding: 12px 15px !important; }
    .view-toggle-btn { height: 46px; }

    /* Touch targets: the whole card action goes full width */
    .catalog-bottom-row { flex-direction: column; align-items: stretch; }
    .catalog-btn {
        border: 1px solid var(--kz-ink) !important;
        background: var(--kz-ink) !important;
        color: var(--kz-paper) !important;
        height: 46px;
        display: flex; align-items: center; justify-content: center;
        padding: 0 !important;
    }
    .catalog-btn:hover { background: var(--kz-ink) !important; color: var(--kz-paper) !important; }

    .promo-mini-card { flex: 0 0 78vw; }
    .promo-offers-title { font-size: 24px !important; }
    .catalog-swiper-name { font-size: 19px !important; }
    .catalog-swiper-btn { width: 100%; justify-content: center; }
    .catalog-swiper-bottom-row { flex-direction: column; align-items: stretch; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* --------------------------------------------------------------------------
   11. Compra rápida  (/shop/compra-rapida — web/home/quick-buy.blade.php)
   --------------------------------------------------------------------------
   A dense, table-style bulk-ordering mode for wholesale buyers. Same five
   colours, same two typefaces, hairline borders, radius 0, no shadows.
   The legacy sheet kills motion globally with `* { transition: none }`, so
   every animated property below is re-declared on its own selector.
   -------------------------------------------------------------------------- */

/* 11a. Mode entry — the Ink veil ------------------------------------------ */
.kz-qb-veil {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    overflow: hidden;
    pointer-events: auto;
}
.kz-qb-entering .kz-qb-veil,
.kz-qb-veil.is-leaving { display: block; }

.kz-qb-veil-panel {
    position: absolute;
    inset: 0;
    background: var(--kz-ink);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}
.kz-qb-veil-mark {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    opacity: 0;
    will-change: opacity, transform;
}
/* The two brand marks are traced from the supplied artwork and painted with
   `mask` rather than <img>, so their colour comes from the palette.

   Two non-obvious things keep them from rendering blank:

   1. The artwork is filled WHITE. Chromium resolves the default
      `mask-mode: match-source` on an SVG *image* as luminance, so black
      artwork (luminance 0) masks itself away entirely. White reads correctly
      as both luminance and alpha, so it survives either interpretation.

   2. The masks are inlined as data URIs rather than referenced from
      /assets/web/img/. The veil is `display:none` until the entry button is
      clicked, so the browser has no reason to fetch an external mask before
      then — it would start downloading it as the animation begins and paint
      the logo late or not at all. Inlining costs ~15KB here but makes the
      artwork available the instant the veil is shown, on a cold cache.
      public/assets/web/img/kazwini-{wordmark,imperial}.svg remain the source
      of truth; re-inline from them if the marks ever change. */
.kz-qb-veil-crest {
    display: block;
    width: clamp(40px, 5.5vw, 64px);
    aspect-ratio: 997.24 / 1000;
    background-color: var(--kz-brass);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 997.24 1000.0%22 fill=%22%23fff%22%3E %3Cpath d=%22M480.6 18.2c-8 8.3 -16.9 18.2 -19.5 21.9 -2.8 3.9 -5.7 7 -6.3 7 -3.6 0 -35.4 57.8 -35.5 64.9 -0.2 1.3 -2.6 10.6 -5.5 20.6 -5.2 18.2 -5.2 18.2 -14.8 12.5 -34.1 -20.6 -71.1 -20.9 -111 -1.3 -15.4 7.6 -15.4 7.6 -0.8 21.4 49.8 47.1 63.3 62 82.8 91.2 29.5 44.5 47.6 100.5 47.7 148 0 14.3 0 14.3 -14.1 14.3 -41.9 0 -112.2 -20.8 -138.5 -40.9 -13.8 -10.4 -39.4 -28.9 -40.4 -28.9 -2.6 0 -32.1 -27.3 -53.4 -49.7 -26.6 -27.6 -23.9 -27.1 -33.6 -6.3 -15.9 33.6 -15.7 66.2 0.3 98.2 4.4 8.4 8 15.7 8.3 16.2 0.2 0.5 -5.4 2.6 -12.2 4.7 -47.1 13.6 -103.4 49.3 -129 81.6 -5 6.5 -5 6.5 5.4 17 28.4 28.9 55.8 47.4 99 66.9 9.1 4.1 31.8 11.5 35.1 11.5 1.3 0 2.1 0.5 1.8 1.1 -24.5 48 -26.8 77.4 -8.8 114.9 9.7 20.3 8.4 20.1 24.7 2.4 31.7 -34.6 48.2 -48.5 95.1 -81.5 39.9 -27.9 92.8 -45.1 140.9 -45.8 21.3 -0.2 21.9 1.5 17.9 38 -8.9 78.4 -44.8 140.1 -123 211.8 -22.6 20.6 -22.4 19.5 -3.1 29.1 36.7 18 80.2 15.1 111.7 -7.3 3.6 -2.4 4.9 -2.8 5.5 -1.1 0.3 1.1 3.9 12.3 7.8 24.8 14.3 45.4 33.3 74.8 72.6 112.3 11.5 11 9.1 12 32.8 -12.5 31.3 -32.5 46.1 -57.5 60.9 -102.6 7.8 -23.9 7.8 -23.9 12.7 -20.6 25.2 17 58.1 23.2 86.2 16.1 12.8 -3.2 39.8 -15.6 40.7 -18.7 0.3 -1 -13.5 -14.8 -30.5 -30.8 -72.7 -68.7 -106.6 -134.2 -112.6 -217.8 -1.6 -21.7 -1.6 -21.6 14.3 -21.6 59.2 0.2 121.4 24 173.3 66.9 4.2 3.4 8.3 6.2 9.1 6.2 3.9 0 43.8 38.3 64.9 62.2 8.3 9.6 8.3 9.6 12.5 2.4 21.6 -36.8 22.9 -77.9 3.6 -114.1 -7 -13.3 -7 -13.3 4.1 -16.1 37.3 -9.7 85.1 -38.1 118.8 -70.6 19.2 -18.5 19.2 -15.4 -0.8 -35.4 -32.5 -32 -79.9 -59.9 -118.6 -69.6 -10.4 -2.6 -10.4 -2.6 -2.4 -18.2 16.2 -32.3 16.9 -63.8 2.1 -98 -10.4 -24 -8.8 -23.9 -27.4 -3.1 -17.9 20 -57 57 -60.2 57 -0.5 0 -5.2 3.2 -10.2 7 -53.1 40.6 -113.1 62.8 -169.6 62.8 -14.8 0 -14.9 -0.3 -13.5 -20.9 6.3 -84.2 36.5 -142.2 111.8 -214.3 17.2 -16.4 31.2 -30.7 31.2 -31.7 0 -2.8 -26.9 -15.3 -40.7 -19 -30.4 -8 -64.1 -2.3 -88.6 15.1 -4.4 3.1 -4.4 3.1 -7 -6.3 -1.5 -5.2 -4.4 -14.6 -6.7 -21.1 -2.1 -6.3 -3.9 -12.7 -3.9 -13.8 0 -13.8 -30.4 -59.1 -59.9 -89.4 -17 -17.4 -15.3 -17.4 -32.9 0.8Zm93.2 475.7c4.9 6.2 4.9 6.2 -35.9 47.1l-40.7 40.9 -39.8 -40.3c-21.9 -22.1 -39.8 -41.1 -39.8 -42 0 -1.1 18 -20.1 40.1 -42.2l40.3 -40.3 35.4 35.2c19.5 19.5 37.7 38.1 40.4 41.6Z%22/%3E %3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 997.24 1000.0%22 fill=%22%23fff%22%3E %3Cpath d=%22M480.6 18.2c-8 8.3 -16.9 18.2 -19.5 21.9 -2.8 3.9 -5.7 7 -6.3 7 -3.6 0 -35.4 57.8 -35.5 64.9 -0.2 1.3 -2.6 10.6 -5.5 20.6 -5.2 18.2 -5.2 18.2 -14.8 12.5 -34.1 -20.6 -71.1 -20.9 -111 -1.3 -15.4 7.6 -15.4 7.6 -0.8 21.4 49.8 47.1 63.3 62 82.8 91.2 29.5 44.5 47.6 100.5 47.7 148 0 14.3 0 14.3 -14.1 14.3 -41.9 0 -112.2 -20.8 -138.5 -40.9 -13.8 -10.4 -39.4 -28.9 -40.4 -28.9 -2.6 0 -32.1 -27.3 -53.4 -49.7 -26.6 -27.6 -23.9 -27.1 -33.6 -6.3 -15.9 33.6 -15.7 66.2 0.3 98.2 4.4 8.4 8 15.7 8.3 16.2 0.2 0.5 -5.4 2.6 -12.2 4.7 -47.1 13.6 -103.4 49.3 -129 81.6 -5 6.5 -5 6.5 5.4 17 28.4 28.9 55.8 47.4 99 66.9 9.1 4.1 31.8 11.5 35.1 11.5 1.3 0 2.1 0.5 1.8 1.1 -24.5 48 -26.8 77.4 -8.8 114.9 9.7 20.3 8.4 20.1 24.7 2.4 31.7 -34.6 48.2 -48.5 95.1 -81.5 39.9 -27.9 92.8 -45.1 140.9 -45.8 21.3 -0.2 21.9 1.5 17.9 38 -8.9 78.4 -44.8 140.1 -123 211.8 -22.6 20.6 -22.4 19.5 -3.1 29.1 36.7 18 80.2 15.1 111.7 -7.3 3.6 -2.4 4.9 -2.8 5.5 -1.1 0.3 1.1 3.9 12.3 7.8 24.8 14.3 45.4 33.3 74.8 72.6 112.3 11.5 11 9.1 12 32.8 -12.5 31.3 -32.5 46.1 -57.5 60.9 -102.6 7.8 -23.9 7.8 -23.9 12.7 -20.6 25.2 17 58.1 23.2 86.2 16.1 12.8 -3.2 39.8 -15.6 40.7 -18.7 0.3 -1 -13.5 -14.8 -30.5 -30.8 -72.7 -68.7 -106.6 -134.2 -112.6 -217.8 -1.6 -21.7 -1.6 -21.6 14.3 -21.6 59.2 0.2 121.4 24 173.3 66.9 4.2 3.4 8.3 6.2 9.1 6.2 3.9 0 43.8 38.3 64.9 62.2 8.3 9.6 8.3 9.6 12.5 2.4 21.6 -36.8 22.9 -77.9 3.6 -114.1 -7 -13.3 -7 -13.3 4.1 -16.1 37.3 -9.7 85.1 -38.1 118.8 -70.6 19.2 -18.5 19.2 -15.4 -0.8 -35.4 -32.5 -32 -79.9 -59.9 -118.6 -69.6 -10.4 -2.6 -10.4 -2.6 -2.4 -18.2 16.2 -32.3 16.9 -63.8 2.1 -98 -10.4 -24 -8.8 -23.9 -27.4 -3.1 -17.9 20 -57 57 -60.2 57 -0.5 0 -5.2 3.2 -10.2 7 -53.1 40.6 -113.1 62.8 -169.6 62.8 -14.8 0 -14.9 -0.3 -13.5 -20.9 6.3 -84.2 36.5 -142.2 111.8 -214.3 17.2 -16.4 31.2 -30.7 31.2 -31.7 0 -2.8 -26.9 -15.3 -40.7 -19 -30.4 -8 -64.1 -2.3 -88.6 15.1 -4.4 3.1 -4.4 3.1 -7 -6.3 -1.5 -5.2 -4.4 -14.6 -6.7 -21.1 -2.1 -6.3 -3.9 -12.7 -3.9 -13.8 0 -13.8 -30.4 -59.1 -59.9 -89.4 -17 -17.4 -15.3 -17.4 -32.9 0.8Zm93.2 475.7c4.9 6.2 4.9 6.2 -35.9 47.1l-40.7 40.9 -39.8 -40.3c-21.9 -22.1 -39.8 -41.1 -39.8 -42 0 -1.1 18 -20.1 40.1 -42.2l40.3 -40.3 35.4 35.2c19.5 19.5 37.7 38.1 40.4 41.6Z%22/%3E %3C/svg%3E") center / contain no-repeat;
    opacity: 0;
    will-change: transform, opacity;
}
.kz-qb-veil-wordmark {
    display: block;
    width: min(430px, 64vw);
    aspect-ratio: 1000 / 128.54;
    background-color: var(--kz-paper);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1000.0 128.54%22 fill=%22%23fff%22%3E %3Cpath d=%22M0 1.6c0 0.1 1.5 1 3.3 1.9 4 2 6.5 4.3 7.8 7.1 1 2.2 1.2 10.1 1.9 90.4 0.1 8.8 1.6 10.8 12.3 17.1 5.6 3.3 5.6 3.3 5.9 -51.9 0.2 -30.4 0.6 -55.9 0.9 -56.8 0.8 -2.4 4.2 -5.6 6.8 -6.4 4.9 -1.4 1.8 -1.8 -18.3 -1.8 -11.3 0 -20.7 0.1 -20.7 0.3ZM67.9 1.9c0.3 0.4 1.8 1.4 3.5 2.3 6.2 3.1 7.9 5.6 6 9.1 -1.6 3.1 -8.3 12.4 -9.8 13.7 -0.2 0.2 -1.8 2.1 -3.4 4.4 -1.7 2.3 -3.5 4.5 -4.1 5 -0.5 0.5 -2.8 3.1 -5 5.6 -7.8 8.9 -14.4 13.8 -18.7 13.8 -3.5 0 -2.7 5.2 1.1 7.3 5.1 2.7 15.7 14.9 15.7 18 0 0.2 0.9 2.4 2.1 4.9 2.7 5.7 6 13.6 6 14.3 0 1.5 7.6 16.2 9.5 18.3 2.7 3.1 4.1 3.3 22.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4 -1.7 -30.4 -1.6 -29.5 0.1ZM971 3.9c-0.2 1.1 -0.4 25.5 -0.4 54.3 0 58.2 0.1 56.7 -4 59.8 -1.1 0.9 -2.3 1.6 -2.6 1.6 -0.3 0.1 -1.4 0.8 -2.4 1.6 -1.9 1.6 -1.9 1.6 18.3 1.6 13.6 0 20.1 -0.2 19.8 -0.6 -0.3 -0.4 -1.9 -1.8 -3.9 -3.2 -6.6 -4.9 -6.4 -3.2 -6.9 -60 -0.5 -49.6 -0.2 -48.1 -9.9 -52.9 -1.3 -0.6 -2.9 -1.5 -3.4 -1.9 -2.9 -2.1 -4.3 -2.2 -4.6 -0.2Z%22/%3E %3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1000.0 128.54%22 fill=%22%23fff%22%3E %3Cpath d=%22M0 1.6c0 0.1 1.5 1 3.3 1.9 4 2 6.5 4.3 7.8 7.1 1 2.2 1.2 10.1 1.9 90.4 0.1 8.8 1.6 10.8 12.3 17.1 5.6 3.3 5.6 3.3 5.9 -51.9 0.2 -30.4 0.6 -55.9 0.9 -56.8 0.8 -2.4 4.2 -5.6 6.8 -6.4 4.9 -1.4 1.8 -1.8 -18.3 -1.8 -11.3 0 -20.7 0.1 -20.7 0.3ZM67.9 1.9c0.3 0.4 1.8 1.4 3.5 2.3 6.2 3.1 7.9 5.6 6 9.1 -1.6 3.1 -8.3 12.4 -9.8 13.7 -0.2 0.2 -1.8 2.1 -3.4 4.4 -1.7 2.3 -3.5 4.5 -4.1 5 -0.5 0.5 -2.8 3.1 -5 5.6 -7.8 8.9 -14.4 13.8 -18.7 13.8 -3.5 0 -2.7 5.2 1.1 7.3 5.1 2.7 15.7 14.9 15.7 18 0 0.2 0.9 2.4 2.1 4.9 2.7 5.7 6 13.6 6 14.3 0 1.5 7.6 16.2 9.5 18.3 2.7 3.1 4.1 3.3 22.6 3.9 14.9 0.5 15.7 0.3 10.6 -2.6 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.9c-0.2 1.1 -0.4 25.5 -0.4 54.3 0 58.2 0.1 56.7 -4 59.8 -1.1 0.9 -2.3 1.6 -2.6 1.6 -0.3 0.1 -1.4 0.8 -2.4 1.6 -1.9 1.6 -1.9 1.6 18.3 1.6 13.6 0 20.1 -0.2 19.8 -0.6 -0.3 -0.4 -1.9 -1.8 -3.9 -3.2 -6.6 -4.9 -6.4 -3.2 -6.9 -60 -0.5 -49.6 -0.2 -48.1 -9.9 -52.9 -1.3 -0.6 -2.9 -1.5 -3.4 -1.9 -2.9 -2.1 -4.3 -2.2 -4.6 -0.2Z%22/%3E %3C/svg%3E") center / contain no-repeat;
    /* Revealed by a left-to-right wipe, so the letters appear in reading order
       without needing each glyph as its own path. */
    clip-path: inset(0 100% 0 0);
    will-change: clip-path;
}
.kz-qb-veil-rule {
    display: block;
    width: min(220px, 40vw);
    height: 1px;
    background: var(--kz-brass);
    transform: scaleX(0);
    transform-origin: center;
}
.kz-qb-veil-caption {
    font-family: var(--kz-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--kz-brass);
    opacity: 0;
}

/* Leaving the shop page: panel wipes across, crest blooms, wordmark reveals. */
.kz-qb-veil.is-leaving .kz-qb-veil-panel {
    animation: kzQbWipeIn 340ms cubic-bezier(.76, 0, .24, 1) forwards;
}
.kz-qb-veil.is-leaving .kz-qb-veil-mark { opacity: 1; }
.kz-qb-veil.is-leaving .kz-qb-veil-crest {
    animation: kzQbCrestIn 440ms cubic-bezier(.22, .61, .36, 1) 250ms forwards;
}
.kz-qb-veil.is-leaving .kz-qb-veil-wordmark {
    animation: kzQbReveal 520ms cubic-bezier(.76, 0, .24, 1) 430ms forwards;
}
.kz-qb-veil.is-leaving .kz-qb-veil-rule {
    animation: kzQbRule 280ms cubic-bezier(.76, 0, .24, 1) 700ms forwards;
}
.kz-qb-veil.is-leaving .kz-qb-veil-caption {
    animation: kzQbCaptionIn 260ms ease-out 780ms forwards;
}

/* Arriving on the table: the assembled mark lifts, then the panel retracts. */
.kz-qb-entering .kz-qb-veil-panel {
    transform: scaleX(1);
    transform-origin: right center;
    animation: kzQbWipeOut 340ms cubic-bezier(.76, 0, .24, 1) 180ms forwards;
}
.kz-qb-entering .kz-qb-veil-mark {
    opacity: 1;
    animation: kzQbMarkOut 260ms cubic-bezier(.55, 0, 1, .45) forwards;
}
/* Hold the assembled state the departure half ended on. */
.kz-qb-entering .kz-qb-veil-crest { opacity: 1; }
.kz-qb-entering .kz-qb-veil-wordmark { clip-path: inset(0 0 0 0); }
.kz-qb-entering .kz-qb-veil-rule { transform: scaleX(1); }
.kz-qb-entering .kz-qb-veil-caption { opacity: 1; }
/* Finishes just before the panel does (180 + 340ms): the cleanup that removes
   .kz-qb-entering also cancels this animation, so it must be done by then. */
.kz-qb-entering .kz-qb-page {
    animation: kzQbPageIn 300ms cubic-bezier(.22, .61, .36, 1) 190ms backwards;
}

@keyframes kzQbWipeIn  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kzQbWipeOut { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes kzQbRule    { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kzQbPageIn  { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes kzQbCaptionIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes kzQbMarkOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-14px); } }
/* The crest has 4-fold symmetry, so unwinding a 45deg offset reads as the mark
   settling into register rather than an arbitrary spin. */
@keyframes kzQbCrestIn {
    from { opacity: 0; transform: scale(.55) rotate(-45deg); }
    to   { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes kzQbReveal {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0 0 0); }
}

/* 11b. Entry button on the shop toolbar ----------------------------------- */
.kz-quick-entry {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border: 1px solid var(--kz-ink);
    background: var(--kz-ink);
    color: var(--kz-paper);
    font-family: var(--kz-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 0 18px;
    height: 38px;
    white-space: nowrap;
}
.kz-quick-entry:hover,
.kz-quick-entry:focus-visible { color: var(--kz-paper); opacity: .88; }
.kz-quick-entry-mark {
    width: 5px;
    height: 5px;
    background: var(--kz-brass);
    flex-shrink: 0;
    transition: transform .2s ease;
}
.kz-quick-entry:hover .kz-quick-entry-mark { transform: translateX(3px); }

/* 11c. Page header --------------------------------------------------------- */
/* The theme pins the ink header sticky and strips its `mb-3`, so a page that
   starts at the top of <main> butts straight into the bar. Buy back the gap. */
.kz-qb-page { padding-top: 40px; padding-bottom: 64px; }

.kz-qb-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 8px 0 18px;
}
.kz-qb-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--kz-brass-text);
}
.kz-qb-title {
    font-family: var(--kz-serif);
    font-size: clamp(28px, 4.2vw, 46px);
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.1;
    color: var(--kz-ink);
    margin: 10px 0 0;
}
.kz-qb-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.kz-qb-exit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--kz-stone-text);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}
.kz-qb-exit:hover {
    color: var(--kz-ink);
    border-bottom-color: var(--kz-ink);
}
.kz-qb-exit-glyph { font-size: 14px; line-height: 1; }

.kz-qb-cart {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--kz-ink);
    background: transparent;
    color: var(--kz-ink);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 12px 20px;
    white-space: nowrap;
}
.kz-qb-cart:hover { background: var(--kz-ink); color: var(--kz-paper); }
.kz-qb-lede {
    color: var(--kz-stone-text);
    font-size: 13px;
    line-height: 1.7;
    max-width: 76ch;
    margin: 0 0 22px;
}

/* 11d. Toolbar — search, line scope, SKU pills ----------------------------- */
.kz-qb-toolbar {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid var(--kz-hairline);
    padding: 18px 0 16px;
}
.kz-qb-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kz-qb-field-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--kz-stone-text);
}
.kz-qb-search-input,
.kz-qb-select {
    border: 1px solid var(--kz-hairline);
    background-color: var(--kz-white);
    color: var(--kz-ink);
    font-family: var(--kz-sans);
    font-size: 13px;
    letter-spacing: .03em;
    height: 40px;
    padding: 0 14px;
}
.kz-qb-search-input { width: min(320px, 70vw); }
.kz-qb-select { min-width: 200px; }
.kz-qb-search-input:focus,
.kz-qb-select:focus { border-color: var(--kz-brass); outline: none; }
.kz-qb-submit {
    border: 1px solid var(--kz-ink);
    background: transparent;
    color: var(--kz-ink);
    font-family: var(--kz-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    height: 40px;
    padding: 0 20px;
    white-space: nowrap;
}
.kz-qb-submit:hover { background: var(--kz-ink); color: var(--kz-paper); }

.kz-qb-hint {
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--kz-stone-text);
    padding-bottom: 12px;
}

.kz-qb-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    padding: 4px 0 0;
}
.kz-qb-pill {
    border: 1px solid var(--kz-hairline);
    background: var(--kz-white);
    color: var(--kz-stone-text);
    font-family: var(--kz-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 7px 14px;
    white-space: nowrap;
}
.kz-qb-pill:hover { border-color: var(--kz-brass); color: var(--kz-brass-text); }
.kz-qb-pill.is-active {
    border-color: var(--kz-ink);
    color: var(--kz-ink);
    box-shadow: inset 0 0 0 1px var(--kz-ink);
}

.kz-qb-count {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--kz-stone-text);
    padding: 22px 0 14px;
}

/* 11e. Product block ------------------------------------------------------- */
.kz-qb-block {
    border: 1px solid var(--kz-hairline);
    background: var(--kz-white);
    margin-bottom: 22px;
}
.kz-qb-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 18px 20px;
}
.kz-qb-block-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.kz-qb-block-thumb {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 1px solid var(--kz-hairline);
    background: var(--kz-white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.kz-qb-block-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.kz-qb-block-name {
    font-family: var(--kz-serif);
    font-size: 21px;
    font-weight: 500;
    letter-spacing: .03em;
    line-height: 1.2;
    color: var(--kz-ink);
    margin: 0;
    overflow-wrap: anywhere;
}
.kz-qb-block-meta {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--kz-stone-text);
}
.kz-qb-block-price { text-align: right; }
.kz-qb-block-price-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--kz-stone-text);
}
.kz-qb-block-price-value {
    display: block;
    margin-top: 3px;
    font-family: var(--kz-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--kz-ink);
}
.kz-qb-block-price-value .kz-qb-price-pair { justify-content: flex-end; }
.kz-qb-block-local,
.kz-qb-block-usd { white-space: nowrap; }
.kz-qb-block-usd { color: var(--kz-ink); font-weight: 600; }
.kz-qb-block-local { font-size: 12px; font-weight: 500; }
.kz-qb-price-pair {
    display: flex;
    align-items: baseline;
    gap: 7px;
    min-width: 0;
    flex-wrap: wrap;
}
.kz-qb-price-separator {
    display: none;
    color: var(--kz-hairline);
    font-weight: 400;
}
.kz-qb-price-pair:has([data-js-price]:not(.d-none), [data-js-original-price]:not(.d-none)) > .kz-qb-price-separator,
.kz-qb-add-prices:has([data-js-price]:not(.d-none)) > .kz-qb-price-separator { display: inline; }

/* 11f. Variant table ------------------------------------------------------- */
.kz-qb-thead,
.kz-qb-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 128px 122px 220px;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    border-top: 1px solid var(--kz-hairline);
}
.kz-qb-thead {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--kz-stone-text);
}
.kz-qb-row {
    border-top-color: var(--kz-hairline-soft);
    padding-top: 12px;
    padding-bottom: 12px;
    transition: background-color .18s ease;
}
.kz-qb-row:hover { background: var(--kz-wash); }
.kz-qb-row.is-hidden,
.kz-qb-block.is-hidden { display: none; }

.kz-qb-cell-finish { display: flex; align-items: center; gap: 14px; min-width: 0; }
.kz-qb-thumb {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid var(--kz-hairline);
    background: var(--kz-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: inherit;
}
.kz-qb-thumb[data-kz-preview] { cursor: zoom-in; }
.kz-qb-thumb[data-kz-preview]:focus-visible {
    outline: 2px solid var(--kz-brass);
    outline-offset: 2px;
}
.kz-qb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.kz-qb-thumb-blank {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--kz-stone-text);
    background: var(--kz-wash);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 2px;
    text-align: center;
}
.kz-qb-thumb-zoom {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    width: 208px;
    height: 208px;
    border: 1px solid var(--kz-hairline);
    background: var(--kz-white);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 30;
    transform: translateY(-50%) scale(.97);
    transform-origin: left center;
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.kz-qb-thumb-zoom img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
@media (hover: hover) {
    .kz-qb-thumb:hover .kz-qb-thumb-zoom {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) scale(1);
    }
}

.kz-qb-finish { min-width: 0; }
.kz-qb-finish-name {
    display: block;
    font-size: 14px;
    color: var(--kz-ink);
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.kz-qb-finish-sku {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--kz-stone-text);
}

.kz-qb-unit {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--kz-ink);
    white-space: nowrap;
}
.kz-qb-usd,
.kz-qb-tier-usd,
.kz-qb-add-usd {
    display: block;
    margin-top: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--kz-ink);
    white-space: nowrap;
}
.kz-qb-was {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--kz-stone-text);
    text-decoration: line-through;
    white-space: nowrap;
}
.kz-qb-was .kz-qb-price-pair { gap: 5px; }
.kz-qb-was-usd { display: block; }
.kz-qb-tiers {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--kz-brass-text);
    line-height: 1.5;
}
.kz-qb-tier {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 6px;
    align-items: baseline;
}
.kz-qb-tier-range { grid-row: 1; }
.kz-qb-tier-prices { gap: 4px; }
.kz-qb-tier-local,
.kz-qb-tier-usd { font-size: 10px; white-space: nowrap; }
.kz-qb-tier-usd { margin-top: 0; color: inherit; font-weight: 600; }

.kz-qb-stock {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--kz-stone-text);
    white-space: nowrap;
}
.kz-qb-stock--low { color: var(--kz-brass-text); }
.kz-qb-stock--none { color: var(--kz-bad); }

.kz-qb-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--kz-hairline);
    background: var(--kz-white);
    height: 36px;
}
.kz-qb-step {
    width: 34px;
    border: none;
    background: transparent;
    color: var(--kz-ink);
    font-family: var(--kz-sans);
    font-size: 15px;
    line-height: 1;
    padding: 0;
}
.kz-qb-step:hover:not(:disabled) { background: var(--kz-wash); color: var(--kz-brass-text); }
.kz-qb-step:disabled { color: var(--kz-hairline); }
.kz-qb-qty {
    width: 46px;
    border: none;
    border-left: 1px solid var(--kz-hairline);
    border-right: 1px solid var(--kz-hairline);
    background: var(--kz-white);
    color: var(--kz-ink);
    font-family: var(--kz-sans);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    padding: 0;
}
.kz-qb-qty:focus { outline: none; }
.kz-qb-qty:disabled { color: var(--kz-stone-text); background: var(--kz-wash); }

.kz-qb-cell-action { min-width: 0; }
.kz-qb-add {
    width: 100%;
    border: 1px solid var(--kz-ink);
    background: transparent;
    color: var(--kz-ink);
    font-family: var(--kz-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    min-height: 52px;
    height: auto;
    padding: 0 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kz-qb-add-label { display: block; }
.kz-qb-add:hover:not(:disabled) { background: var(--kz-ink); color: var(--kz-paper); }
.kz-qb-add:disabled { border-color: var(--kz-hairline); color: var(--kz-stone-text); background: transparent; }
.kz-qb-add.is-done {
    border-color: var(--kz-brass);
    color: var(--kz-brass-text);
    background: transparent;
}
.kz-qb-feedback {
    display: none;
    grid-column: 1 / -1;
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--kz-bad);
    padding-top: 6px;
}
.kz-qb-feedback.is-shown { display: block; }

/* 11g. Empty state + pager ------------------------------------------------- */
.kz-qb-empty {
    border: 1px solid var(--kz-hairline);
    background: var(--kz-white);
    text-align: center;
    padding: clamp(44px, 7vw, 76px) 24px;
}
.kz-qb-empty p { color: var(--kz-stone-text); font-size: 14px; margin: 0 0 18px; }
.kz-qb-pager { display: flex; justify-content: center; padding-top: 12px; }
.kz-qb-pager .pagination { margin: 0; }

/* 11h. Narrow screens ------------------------------------------------------ */
@media (max-width: 991.98px) {
    .kz-qb-thead { display: none; }
    .kz-qb-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "finish price"
            "stock  stock"
            "qty    action";
        gap: 12px 16px;
        padding: 16px;
    }
    .kz-qb-cell-finish { grid-area: finish; }
    .kz-qb-cell-price  { grid-area: price; text-align: right; }
    .kz-qb-cell-stock  { grid-area: stock; }
    .kz-qb-cell-qty    { grid-area: qty; }
    .kz-qb-cell-action { grid-area: action; }
    .kz-qb-block-head { padding: 16px; }
    .kz-qb-block-price { text-align: left; }
    .kz-qb-thumb-zoom { display: none; }
    .kz-qb-stepper { height: 44px; }
    .kz-qb-step { width: 42px; }
    .kz-qb-add { height: 44px; }
    .kz-qb-search-input { width: 100%; }
    .kz-qb-field { flex: 1 1 100%; }
    .kz-qb-hint { padding-bottom: 0; }
}

/* Phones. At ~390px the stepper and the Agregar button cannot share a row
   without `nowrap` + ellipsis eating the price out of the primary action, so
   each gets its own full-width line. Rows get taller, but the buy action stays
   legible and comfortably tappable — which is the whole point of this mode. */
@media (max-width: 575.98px) {
    .kz-qb-row {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "finish"
            "price"
            "stock"
            "qty"
            "action";
        gap: 10px;
        padding: 16px 14px;
    }
    .kz-qb-cell-price { text-align: left; }
    .kz-qb-stepper { display: flex; width: 100%; height: 46px; }
    .kz-qb-step { width: 56px; flex: 0 0 56px; }
    .kz-qb-qty { flex: 1 1 auto; width: auto; }
    .kz-qb-add { height: 46px; white-space: normal; }

    .kz-qb-head { gap: 14px; }
    .kz-qb-actions { width: 100%; justify-content: space-between; gap: 12px; }
    .kz-qb-block-head { gap: 10px; padding: 14px; }
    /* Long finish names and SKUs must wrap rather than widen the grid. */
    .kz-qb-cell-finish,
    .kz-qb-block-name,
    .kz-qb-block-meta { min-width: 0; overflow-wrap: anywhere; }
}

/* The mode entry is decorative: with reduced motion the page is simply there.
   Overrides the global reduce block above, which only shortens durations. */
@media (prefers-reduced-motion: reduce) {
    .kz-qb-veil,
    .kz-qb-entering .kz-qb-veil,
    .kz-qb-veil.is-leaving { display: none !important; }
    .kz-qb-entering .kz-qb-page { animation: none !important; }
    .kz-quick-entry-mark { transition: none; }
}

/* --------------------------------------------------------------------------
   13. Compra rápida — collapsing, and a preview that works without a mouse
   -------------------------------------------------------------------------- */

/* 13a. Input-appropriate hint. Only one of the two is ever shown. ---------- */
.kz-qb-hint-touch { display: none; }
@media (hover: none), (pointer: coarse) {
    .kz-qb-hint-hover { display: none; }
    .kz-qb-hint-touch { display: inline; }
}

/* 13b. Collapsible product blocks ----------------------------------------- */
.kz-qb-block-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 40px;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    user-select: none;
}
.kz-qb-block-head:hover { background: var(--kz-wash); }
.kz-qb-block-toggle {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--kz-hairline);
    background: var(--kz-white);
    color: var(--kz-ink);
    padding: 0;
}
.kz-qb-block-toggle:hover { border-color: var(--kz-ink); }
.kz-qb-chevron {
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .18s ease;
}
.kz-qb-block.is-collapsed .kz-qb-chevron {
    transform: rotate(-45deg) translate(-2px, 2px);
}
/* The filter toggles `.is-hidden` on rows; collapsing hides the whole group
   one level up, so the two never write to the same property on the same node. */
.kz-qb-block.is-collapsed { margin-bottom: 10px; }
.kz-qb-block.is-collapsed .kz-qb-variants { display: none; }

/* 13c. Expand/collapse-all, sitting with the result count ------------------ */
.kz-qb-countbar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.kz-qb-expand {
    border: 0;
    background: transparent;
    color: var(--kz-stone-text);
    font-family: var(--kz-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}
.kz-qb-expand:hover { color: var(--kz-ink); border-bottom-color: var(--kz-ink); }
.kz-qb-expand:disabled { color: var(--kz-hairline); cursor: default; border-color: transparent; }

/* 13d. Touch preview ------------------------------------------------------
   `.is-open` is set by tap only where hover does not exist. On a phone the
   panel is centred in the viewport rather than beside the thumb, which would
   sit off-screen. */
.kz-qb-thumb.is-open .kz-qb-thumb-zoom {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}
@media (max-width: 991.98px) {
    /* Section 11h hid this outright; it is reachable by tap now. */
    .kz-qb-thumb-zoom { display: block; }
    .kz-qb-thumb.is-open {
        position: relative;
        z-index: 1200;
    }
    .kz-qb-thumb.is-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 0;
        background: rgba(22, 19, 15, .62);
        cursor: zoom-out;
    }
    .kz-qb-thumb.is-open .kz-qb-thumb-zoom {
        position: fixed;
        left: 50%;
        top: 50%;
        width: min(72vw, 300px);
        height: min(72vw, 300px);
        transform: translate(-50%, -50%);
        z-index: 1;
        box-shadow: none;
        border-color: var(--kz-ink);
    }
    .kz-qb-thumb.is-open .kz-qb-thumb-zoom::after {
        content: "Tocá fuera para cerrar";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -30px;
        color: var(--kz-paper);
        font: 600 10px/1 var(--kz-sans);
        letter-spacing: .14em;
        text-align: center;
        text-transform: uppercase;
    }
}

@media (max-width: 767.98px) {
    .kz-qb-block-head {
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 10px 14px;
    }
    .kz-qb-block-price {
        grid-column: 1 / -1;
        grid-row: 2;
        text-align: left;
    }
    .kz-qb-block-toggle {
        grid-column: 2;
        grid-row: 1;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 575.98px) {
    .kz-qb-page { --kz-qb-phone: 1; }
    .kz-qb-block-toggle { width: 44px; height: 44px; }
    .kz-qb-exit { min-height: 44px; padding: 10px 0; }
    .kz-qb-cart { min-height: 48px; justify-content: center; }
    .kz-qb-search-input,
    .kz-qb-select { height: 48px; font-size: 16px; }
    .kz-qb-submit { width: 100%; height: 48px; }
    .kz-qb-hint { width: 100%; }
    .kz-qb-countbar { gap: 4px 8px; align-items: center; }
    .kz-qb-expand {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 10px 0;
    }
    .kz-qb-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
    }
    .kz-qb-pills::-webkit-scrollbar { display: none; }
    .kz-qb-pill {
        flex: 0 0 auto;
        min-height: 44px;
        scroll-snap-align: start;
    }
    .kz-qb-stepper { height: 48px; }
    .kz-qb-add { min-height: 58px; }
}
