/* ================================================================
   HONEY KAAB — app.css
   Paleta: Ámbar miel · Blanco cálido · Crema · Negro tipográfico
   Tipografía: Cormorant Garamond (display) + DM Sans (body)
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: #FFFDF8;
    color: #1A1208;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Variables ──────────────────────────────────────────────── */
:root {
    --amber-50:  #FFFBF0;
    --amber-100: #FEF3C7;
    --amber-200: #FDE080;
    --amber-300: #FBC842;
    --amber-400: #F5A800;
    --amber-500: #E09200;
    --amber-600: #C47A00;
    --amber-700: #9E6000;
    --amber-800: #7A4600;
    --amber-900: #4F2D00;

    --white:   #FFFDF8;
    --cream:   #FBF6EC;
    --cream-2: #F5EDD8;
    --cream-3: #EAE0C8;

    --ink:    #1A1208;
    --ink-2:  #2E2010;
    --ink-3:  #3E2E18;
    --muted:  #7A6248;
    --subtle: #A89070;

    --display: 'Cormorant Garamond', Georgia, serif;
    --body:    'DM Sans', system-ui, sans-serif;

    --r-xs:  6px;
    --r-sm:  12px;
    --r-md:  20px;
    --r-lg:  28px;
    --r-xl:  36px;
    --r-2xl: 48px;

    --s-xs: 0 1px 3px rgba(26,18,8,.06);
    --s-sm: 0 4px 12px rgba(26,18,8,.08);
    --s-md: 0 8px 28px rgba(26,18,8,.10);
    --s-lg: 0 20px 48px rgba(26,18,8,.13);
    --s-xl: 0 32px 64px rgba(26,18,8,.16);

    --ease:        cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.2, 0.64, 1);
    --t:           all .35s var(--ease);
    --t-bounce:    all .45s var(--ease-bounce);
}

/* ── Tipografía ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 5.5vw, 5rem);   letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw,   1.7rem); }
p  { margin-bottom: .75rem; color: var(--muted); font-weight: 350; line-height: 1.75; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #2E2010;
    border-bottom: 2px solid var(--amber-500);
    box-shadow: var(--s-md);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 2rem;
    max-width: 1260px;
    margin: 0 auto;
}
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--amber-300);
    font-family: var(--display);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.navbar-logo img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.navbar-nav a {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,253,248,.7);
    transition: var(--t);
    position: relative;
    padding-bottom: 6px;
}
.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--amber-400);
    border-radius: 2px;
    transition: width .3s var(--ease);
}
.navbar-nav a:hover,
.navbar-nav a.active { color: var(--amber-300); }
.navbar-nav a:hover::after,
.navbar-nav a.active::after { width: 100%; }

.navbar-actions { display: flex; align-items: center; gap: 1rem; }

.cart-icon {
    position: relative;
    color: var(--amber-300);
    opacity: .8;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--t);
    padding: 8px;
    border-radius: var(--r-xs);
}
.cart-icon:hover { opacity: 1; background: rgba(255,253,248,.1); }
.cart-badge {
    position: absolute;
    top: -4px; right: -2px;
    background: var(--amber-400);
    color: var(--ink);
    font-size: .62rem;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: rgba(255,253,248,.1);
    border: 1px solid rgba(255,253,248,.2);
    border-radius: var(--r-sm);
    padding: 10px 12px;
}
.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--amber-300);
    border-radius: 2px;
    transition: var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #2E2010;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--amber-600);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: var(--amber-200);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,253,248,.1);
    font-size: .95rem;
}
.mobile-menu a:hover { color: var(--amber-400); padding-left: 8px; }

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0; top: calc(100% + 8px);
    background: var(--ink-2);
    border: 1px solid rgba(255,253,248,.08);
    border-radius: var(--r-md);
    box-shadow: var(--s-xl);
    min-width: 180px;
    padding: .35rem 0;
    z-index: 1100;
}
[data-dropdown]:focus-within .dropdown-menu,
[data-dropdown].open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-item-btn {
    display: block;
    padding: .52rem 1.1rem;
    font-size: .84rem;
    color: rgba(255,253,248,.6);
    transition: background .14s, color .14s;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--body);
}
.dropdown-menu a:hover, .dropdown-item-btn:hover {
    background: rgba(245,168,0,.1);
    color: var(--amber-300);
}

@media (max-width: 860px) {
    .navbar-nav { display: none; }
    .hamburger  { display: flex; }
}

/* ================================================================
   BOTONES  — un solo bloque, sin duplicados
================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .7rem 1.6rem;
    border-radius: 6px;           /* fijo, sin variable para evitar sobreescrituras */
    font-family: var(--body);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: var(--t-bounce);
    white-space: nowrap;
}

/* Ámbar — CTA principal */
.btn-primary {
    background: var(--amber-400);
    color: var(--ink);
    border-color: var(--amber-400);
}
.btn-primary:hover {
    background: var(--amber-500);
    border-color: var(--amber-500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200,130,0,.3);
}

/* Outline blanco — sobre fondos oscuros (navbar, hero oscuro) */
.btn-outline-white {
    background: transparent;
    color: rgba(255,253,248,.8);
    border-color: rgba(255,253,248,.35);
}
.btn-outline-white:hover {
    color: var(--white);
    border-color: rgba(255,253,248,.7);
    background: rgba(255,253,248,.1);
}

/* Negro sólido */
.btn-dark {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}
.btn-dark:hover {
    background: var(--ink-2);
    transform: translateY(-2px);
    box-shadow: var(--s-md);
}

/* Outline oscuro — sobre fondos claros */
.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-outline:hover {
    background: var(--ink);
    color: var(--white);
}

/* Tamaños */
.btn-lg   { padding: .95rem 2.4rem; font-size: .85rem; }
.btn-sm   { padding: .45rem 1rem;   font-size: .72rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ================================================================
   HERO
================================================================ */
.hk-hero + .hk-hero { display: none !important; }

.hk-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, #FFF8E7 100%);
}
.hk-hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 100% 50%, rgba(245,168,0,.12) 0%, transparent 65%);
}
.hk-hero__noise {
    position: absolute;
    inset: 0;
    opacity: .03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hk-hero__inner {
    position: relative;
    z-index: 2;
    padding: 8rem 0 6rem;
    max-width: 720px;
}
.hk-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 2rem;
}
.hk-hero__tag span {
    display: block;
    width: 40px; height: 2px;
    background: var(--amber-500);
}
.hk-hero__title {
    font-family: var(--display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 1.5rem;
}
.hk-hero__accent { font-style: italic; color: var(--amber-600); }
.hk-hero__sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 3rem;
}
.hk-hero__actions { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 4rem; }
.hk-hero__stats {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--cream-3);
    border-radius: var(--r-lg);
    overflow: hidden;
    width: fit-content;
    background: rgba(255,255,255,.9);
}
.hk-hero__stat { padding: 1.2rem 2rem; text-align: center; }
.hk-hero__stat-divider { width: 1px; background: var(--cream-3); }
.hk-hero__stat strong {
    display: block;
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--amber-600);
}
.hk-hero__stat span {
    display: block;
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--subtle);
}
.hk-hero__scroll {
    position: absolute;
    bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
}
.hk-hero__scroll-line {
    width: 2px; height: 60px;
    background: linear-gradient(to bottom, var(--amber-500), transparent);
    margin: 0 auto;
    animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%,100% { opacity: .4; transform: scaleY(.8); }
    50%      { opacity: 1; transform: scaleY(1); }
}

/* Transición hero */
.hk-transition { height: 1px; background: var(--cream-3); }

/* ================================================================
   CATEGORÍAS
================================================================ */
.hk-cats-section {
    padding: 2rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--cream-3);
}
.hk-cats__scroll {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    align-items: center;
}
.hk-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.3rem;
    background: var(--white);
    border: 1.5px solid var(--cream-3);
    border-radius: 60px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
    transition: var(--t-bounce);
    cursor: pointer;
}
.hk-cat-pill:hover {
    border-color: var(--amber-400);
    color: var(--amber-700);
    transform: translateY(-2px);
    box-shadow: var(--s-sm);
}
.hk-cat-pill--all {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--amber-300);
}
.hk-cat-pill--all:hover { background: var(--ink-2); color: var(--amber-400); }
.hk-cat-pill__count {
    background: var(--cream-2);
    padding: .15rem .5rem;
    border-radius: 40px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--amber-700);
}
@media (max-width: 700px) { .hk-cat-pill { padding: .45rem 1rem; font-size: .7rem; } }

/* ================================================================
   CAROUSEL
================================================================ */
.carousel {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    height: clamp(320px, 48vw, 580px);
    border-radius: var(--r-2xl);
    box-shadow: var(--s-lg);
}
.carousel-track { display: flex; height: 100%; transition: transform .85s cubic-bezier(.77,0,.175,1); }
.carousel-slide { min-width: 100%; position: relative; overflow: hidden; }
.carousel-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(.55) saturate(1.05);
    transition: transform 10s ease;
}
.carousel-slide.active img { transform: scale(1.05); }
.carousel-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.65) 100%);
    border-radius: var(--r-2xl);
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.carousel-content { max-width: 700px; padding: 0 2rem; color: var(--white); }
.carousel-content::before {
    content: '✦ ⋆ ｡ ° ✩';
    display: block;
    font-size: .9rem;
    color: var(--amber-300);
    letter-spacing: .3em;
    margin-bottom: 1.2rem;
    font-family: var(--display);
}
.carousel-content h2 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 4.5vw, 3.5rem);
    font-weight: 300;
    color: var(--white);
    text-shadow: 0 4px 24px rgba(0,0,0,.35);
    margin-bottom: 1rem;
}
.carousel-content p { color: rgba(255,255,255,.82); font-size: clamp(.88rem,1.8vw,1.05rem); margin-bottom: 2rem; }
.carousel-controls {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: .75rem; z-index: 10;
}
.carousel-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: var(--t); padding: 0;
}
.carousel-dot.active { background: var(--amber-300); width: 28px; border-radius: 6px; }
.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: var(--r-xl);
    background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2);
    color: var(--white); font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--t-bounce); z-index: 10;
}
.carousel-arrow:hover { background: var(--amber-500); border-color: var(--amber-500); transform: translateY(-50%) scale(1.05); }
.carousel-arrow-prev { left: 2rem; }
.carousel-arrow-next { right: 2rem; }

/* ================================================================
   SECTION HEADER
================================================================ */
.section-header { text-align: center; margin-bottom: 3rem; }
.eyebrow {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--amber-600);
    display: inline-flex;
    align-items: center;
    gap: .75rem;
}

/* ================================================================
   PRODUCTOS
================================================================ */
.hk-section-cream { background: var(--white); padding: 6rem 0; }

.product-card {
    background: var(--white);
    border: 1px solid var(--cream-3);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: var(--t-bounce);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--s-lg);
    border-color: var(--amber-400);
}
.product-card-img {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--cream);
}
.product-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease-bounce);
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    padding: .25rem .75rem;
    background: var(--ink);
    color: var(--amber-300);
    border-radius: 60px;
    font-size: .65rem;
    font-weight: 700;
    z-index: 2;
}
.badge-new       { background: var(--amber-500); color: var(--white); }
.badge-sale      { background: var(--ink);        color: var(--amber-300); }
.badge-featured  { background: var(--ink);        color: var(--amber-300); }
.badge-online    { background: #1d4ed8;           color: #fff; }
.badge-presential{ background: #065f46;           color: #fff; }
.badge-both      { background: var(--ink-3);      color: var(--amber-300); }

.product-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-card-category {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: .5rem;
}
.product-card-title {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: .5rem;
    line-height: 1.3;
}
.product-card-desc {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.55;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-price { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1rem; }
.price-current {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
}
.price-original { font-size: .85rem; color: var(--subtle); text-decoration: line-through; }
.price-discount {
    font-size: .68rem;
    font-weight: 700;
    color: #b91c1c;
    background: #fee2e2;
    padding: .14rem .44rem;
    border-radius: 3px;
}
.product-card .btn,
.product-card button[type="submit"],
.product-card form button {
    width: 100%;
    background: var(--amber-400);
    color: var(--ink);
    border: 1.5px solid var(--amber-400);
    border-radius: 6px;
    padding: .75rem;
    font-family: var(--body);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--t-bounce);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card .btn:hover,
.product-card button[type="submit"]:hover,
.product-card form button:hover {
    background: var(--amber-500);
    border-color: var(--amber-500);
    transform: translateY(-2px);
}

/* ================================================================
   BANDA DE VALORES
================================================================ */
.hk-band {
    background: linear-gradient(135deg, var(--amber-400) 0%, var(--amber-600) 100%);
    padding: 3rem 0;
}
.hk-band__grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2rem;
    text-align: center;
}
.hk-band__icon {
    font-size: 2rem;
    background: rgba(26,18,8,.15);
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    margin: 0 auto .75rem;
}
.hk-band__item strong { color: var(--ink); display: block; margin-bottom: .25rem; }
.hk-band__item p { font-size: .8rem; color: rgba(26,18,8,.7); margin: 0; }
@media (max-width: 800px) { .hk-band__grid { grid-template-columns: repeat(2,1fr); } }

/* ================================================================
   SOBRE NOSOTROS — SPLIT
================================================================ */
.hk-about-split { padding: 5rem 0; background: var(--cream); }
.hk-about-split__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hk-about-split__visual { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.hk-about-split__card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--r-lg);
    text-align: center;
    box-shadow: var(--s-md);
    transition: var(--t);
}
.hk-about-split__card:hover { transform: translateY(-3px); }
.hk-about-split__card--main {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
}
.hk-about-split__card--sm { }
.hk-about-split__num {
    font-family: var(--display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--ink);
}
.hk-about-split__label { font-size: .8rem; color: var(--muted); }
.hk-about-split__card--main .hk-about-split__num,
.hk-about-split__card--main .hk-about-split__label { color: var(--ink); }
@media (max-width: 900px) { .hk-about-split__inner { grid-template-columns: 1fr; } }

/* ================================================================
   SECCIÓN OSCURA (cursos en home)
================================================================ */
.hk-section-dark { background: var(--ink); padding: 5rem 0; }
.hk-section-dark .section-header .eyebrow { color: var(--amber-400); justify-content: center; }
.hk-section-dark .section-header h2 { color: var(--white); }
.hk-section-dark .section-header p  { color: rgba(255,255,255,.55); }
.hk-section-dark .product-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.hk-section-dark .product-card:hover { border-color: var(--amber-400); background: rgba(255,255,255,.07); }
.hk-section-dark .product-card-title    { color: rgba(255,253,248,.9); }
.hk-section-dark .product-card-desc     { color: rgba(255,253,248,.45); }
.hk-section-dark .product-card-category { color: var(--amber-400); }

/* ================================================================
   CTA FINAL
================================================================ */
.hk-cta-final {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hk-cta-final::after {
    content: '⬡';
    position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
    font-size: 20rem; color: rgba(200,130,0,.04);
    pointer-events: none; line-height: 1;
}
.hk-cta-final__bee   { font-size: 3rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.hk-cta-final__title {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--ink);
    margin-bottom: 1rem;
    position: relative; z-index: 1;
}
.hk-cta-final__sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto;
    position: relative; z-index: 1;
}
.visit-counter {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(200,130,0,.08);
    border: 1px solid rgba(200,130,0,.2);
    padding: .5rem 1.1rem;
    border-radius: 100px;
    font-size: .8rem;
    color: var(--amber-700);
}

/* ================================================================
   WHATSAPP
================================================================ */
.hk-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border-radius: var(--r-xl);
    box-shadow: 0 6px 20px rgba(37,211,102,.4);
    transition: var(--t-bounce);
}
.hk-wa-btn:hover { transform: scale(1.1) rotate(5deg); }

/* ================================================================
   FOOTER
================================================================ */
.footer {
    background: #2E2010;
    color: rgba(255,253,248,.7);
    padding: 4rem 0 2rem;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--amber-500), transparent);
}
.footer-grid {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--amber-300);
    margin-bottom: 1rem;
}
.footer-brand .logo img { height: 2rem; }
.footer-brand p { font-size: .85rem; color: rgba(255,253,248,.6); max-width: 280px; }
.footer-divider { width: 40px; height: 2px; background: var(--amber-500); margin: 1rem 0; }
.footer-social { display: flex; gap: .8rem; margin-top: 1rem; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,253,248,.1);
    color: var(--amber-300);
    border-radius: var(--r-xl);
    display: flex; align-items: center; justify-content: center;
    transition: var(--t-bounce);
}
.footer-social a:hover { background: var(--amber-500); color: var(--ink); transform: translateY(-3px); }
.footer-col h4 {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: .7rem; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,253,248,.6); transition: var(--t); }
.footer-col ul li a:hover { color: var(--amber-300); padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: .7rem; font-size: .85rem; margin-bottom: .8rem; }
.footer-bottom {
    max-width: 1260px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    border-top: 1px solid rgba(255,253,248,.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .75rem;
}
.footer-bottom a { color: rgba(255,253,248,.5); transition: color .2s; }
.footer-bottom a:hover { color: var(--amber-300); }

@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2,1fr); gap: 2rem; } }
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ================================================================
   FORMULARIOS
================================================================ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1.25rem; display: flex; flex-direction: column; }

.form-label {
    display: block;
    font-family: var(--body);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: .45rem;
}
.form-label .required { color: #dc2626; margin-left: 2px; }

.form-control {
    width: 100%;
    padding: .7rem 1rem;
    background: var(--white);
    border: 1.5px solid var(--cream-3);
    border-radius: var(--r-sm);
    font-family: var(--body);
    font-size: .9rem;
    font-weight: 400;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
    -webkit-appearance: none;
}
.form-control::placeholder { color: var(--subtle); }
.form-control:focus {
    outline: none;
    border-color: var(--amber-400);
    box-shadow: 0 0 0 3px rgba(245,168,0,.12);
}
.form-control.is-invalid       { border-color: #dc2626; }
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(220,38,38,.1); }
textarea.form-control { resize: vertical; min-height: 130px; line-height: 1.6; }
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%237A6248' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.75rem;
    cursor: pointer;
}
.form-error { display: block; font-size: .76rem; color: #dc2626; margin-top: .3rem; }

.form-check {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    cursor: pointer;
    font-size: .88rem;
    color: var(--muted);
    font-weight: 300;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 1rem; height: 1rem;
    accent-color: var(--amber-500);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: .2rem;
}

/* ================================================================
   ALERTAS
================================================================ */
.alert {
    padding: .85rem 1.1rem;
    border-radius: var(--r-sm);
    font-size: .85rem;
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    border-left: 3px solid transparent;
    margin-bottom: 1rem;
}
.alert-success { background: #f0fdf4; border-color: #16a34a; color: #14532d; }
.alert-error   { background: #fef2f2; border-color: #dc2626; color: #991b1b; }
.alert-warning { background: var(--amber-50); border-color: var(--amber-400); color: var(--amber-800); }
.alert-info    { background: #eff6ff; border-color: #2563eb; color: #1e3a8a; }
.alert-close   { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 1rem; opacity: .45; line-height: 1; transition: opacity .2s; }
.alert-close:hover { opacity: 1; }

/* ================================================================
   MODALES
================================================================ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(26,18,8,.55);
    z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
    opacity: 0; visibility: hidden;
    transition: opacity .25s, visibility .25s;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    will-change: opacity;
}
.modal-overlay.open {
    opacity: 1;
    visibility: visible;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
    background: var(--white);
    border-radius: var(--r-lg);
    width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
    box-shadow: var(--s-xl);
    transform: scale(.96) translateY(10px);
    transition: transform .25s var(--ease);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.35rem 1.75rem;
    border-bottom: 1px solid var(--cream-2);
}
.modal-header h3 { font-size: 1rem; font-family: var(--body); font-weight: 600; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--subtle); line-height: 1; transition: color .2s; }
.modal-close:hover { color: var(--ink); }
.modal-body   { padding: 1.75rem; }
.modal-footer {
    display: flex; justify-content: flex-end; gap: .75rem;
    padding: 1.1rem 1.75rem;
    border-top: 1px solid var(--cream-2);
    background: var(--cream);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
}

/* ================================================================
   SIDEBAR FILTROS (products/index)
================================================================ */
.hk-filter-card {
    background: var(--white);
    border: 1.5px solid var(--cream-3);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    position: sticky;
    top: 90px;
}
.hk-filter-title {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1.5px solid var(--cream-2);
    letter-spacing: -.01em;
}

/* ================================================================
   GALERÍA (products/show)
================================================================ */
.gallery-thumb {
    flex-shrink: 0;
    width: 72px; height: 72px;
    border-radius: var(--r-sm);
    overflow: hidden;
    border: 2px solid var(--cream-3);
    cursor: pointer;
    background: var(--white);
    padding: 0;
    transition: border-color .2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { border-color: var(--amber-400); }
.gallery-thumb--active { border-color: var(--amber-500); box-shadow: 0 0 0 2px var(--amber-200); }

/* ================================================================
   BOTONES CANTIDAD
================================================================ */
.qty-btn {
    width: 40px; height: 42px;
    background: var(--cream);
    border: none;
    font-size: 1.1rem;
    color: var(--ink);
    cursor: pointer;
    transition: background .18s;
    line-height: 1;
}
.qty-btn:hover { background: var(--amber-100); color: var(--amber-700); }
#add-to-cart-btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ================================================================
   ADMIN
================================================================ */
.admin-layout { display: flex; min-height: 100vh; background: #F5F0E8; font-family: var(--body); }
.admin-sidebar {
    width: 255px; min-width: 255px;
    background: var(--ink);
    display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 900;
}
.sidebar-logo {
    padding: 1.35rem 1.25rem;
    display: flex; align-items: center; gap: .65rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: var(--white);
    font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: .02em;
}
.sidebar-logo img { height: 2rem; width: auto; }
.sidebar-logo span { color: var(--amber-300); }
.sidebar-nav { flex: 1; padding: .6rem 0; }
.sidebar-section {
    padding: .5rem 1.25rem .2rem;
    font-size: .62rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .15em;
    color: rgba(255,255,255,.2); margin-top: .55rem;
}
.sidebar-link {
    display: flex; align-items: center; gap: .7rem;
    padding: .6rem 1.25rem;
    color: rgba(255,255,255,.42);
    font-size: .84rem; font-weight: 400;
    transition: all .15s ease;
    border-left: 2px solid transparent;
}
/* ── Navbar usuario (logueado) ─────────────────────────────────
   Agrega esto al final de app.css
──────────────────────────────────────────────────────────────── */

.navbar-user-wrap {
    position: relative;
}

.navbar-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(255,253,248,.1);
    border: 1.5px solid rgba(255,253,248,.25);
    border-radius: 6px;
    color: rgba(255,253,248,.85);
    font-family: var(--body);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    cursor: pointer;
    transition: var(--t);
    white-space: nowrap;
}
.navbar-user-btn:hover {
    background: rgba(255,253,248,.18);
    border-color: rgba(255,253,248,.45);
    color: var(--white);
}
.navbar-user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown */
.navbar-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: var(--ink-2);
    border: 1px solid rgba(255,253,248,.1);
    border-radius: var(--r-sm);
    box-shadow: var(--s-xl);
    min-width: 190px;
    padding: .4rem 0;
    z-index: 1100;
}

/* Abre con :focus-within (sin JS) o con clase .open (con JS) */
.navbar-user-wrap:focus-within .navbar-dropdown,
.navbar-user-wrap.open .navbar-dropdown {
    display: block;
}

.navbar-dropdown a {
    display: block;
    padding: .55rem 1.1rem;
    font-family: var(--body);
    font-size: .84rem;
    font-weight: 400;
    color: rgba(255,253,248,.65);
    transition: background .15s, color .15s;
}
.navbar-dropdown a:hover {
    background: rgba(245,168,0,.12);
    color: var(--amber-300);
}

.navbar-dropdown-btn {
    display: block;
    width: 100%;
    padding: .55rem 1.1rem;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--body);
    font-size: .84rem;
    font-weight: 400;
    color: rgba(255,253,248,.65);
    cursor: pointer;
    transition: background .15s, color .15s;
}
.navbar-dropdown-btn:hover {
    background: rgba(220,38,38,.12);
    color: #fca5a5;
}

.navbar-dropdown-divider {
    height: 1px;
    background: rgba(255,253,248,.08);
    margin: .3rem 0;
}
.sidebar-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.sidebar-link:hover { background: rgba(255,255,255,.04); color: rgba(255,255,255,.8); }
.sidebar-link.active { background: rgba(245,168,0,.12); color: var(--amber-300); border-left-color: var(--amber-400); }
.sidebar-link .badge-count {
    margin-left: auto;
    background: var(--amber-500); color: var(--ink);
    font-size: .65rem; font-weight: 700;
    padding: .1rem .42rem; border-radius: 999px;
}
.sidebar-footer { padding: 1rem 1.25rem; border-top: 1px solid rgba(255,255,255,.06); font-size: .78rem; color: rgba(255,255,255,.28); }
.admin-main { flex: 1; min-width: 0; overflow-x: hidden; }
.admin-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--cream-3);
    padding: 0 1.75rem; height: 3.6rem;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 800;
    box-shadow: var(--s-xs);
}
.admin-topbar h1 { font-size: .95rem; font-weight: 600; color: var(--ink); font-family: var(--body); }
.admin-content { padding: 1.75rem; }

.stat-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; margin-bottom: 2rem; }
.stat-card {
    background: var(--white); border-radius: var(--r-lg);
    padding: 1.3rem; box-shadow: var(--s-xs);
    border: 1.5px solid var(--cream-3);
    display: flex; align-items: center; gap: 1rem;
}
.stat-card-icon {
    width: 48px; height: 48px; border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
}
.stat-card-icon.amber  { background: var(--amber-100); color: var(--amber-700); }
.stat-card-icon.green  { background: #dcfce7; color: #15803d; }
.stat-card-icon.blue   { background: #dbeafe; color: #1d4ed8; }
.stat-card-icon.red    { background: #fee2e2; color: #dc2626; }
.stat-card-icon.purple { background: #f3e8ff; color: #7c3aed; }
.stat-card-data .value { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.stat-card-data .label { font-size: .76rem; color: var(--muted); }

.admin-table-wrap { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--s-xs); border: 1.5px solid var(--cream-3); overflow: hidden; }
.admin-table-header { padding: 1rem 1.5rem; border-bottom: 1px solid var(--cream-3); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.admin-table th { background: var(--cream); padding: .7rem 1rem; text-align: left; font-size: .67rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid var(--cream-3); white-space: nowrap; }
.admin-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--cream); color: var(--muted); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--amber-50); }

.status-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .65rem; border-radius: 3px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.status-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pending    { background: var(--amber-100); color: var(--amber-800); }
.status-paid       { background: #dbeafe; color: #1d4ed8; }
.status-processing { background: #ede9fe; color: #5b21b6; }
.status-shipped    { background: #f3e8ff; color: #6d28d9; }
.status-delivered  { background: #dcfce7; color: #15803d; }
.status-cancelled  { background: #fee2e2; color: #dc2626; }
.status-refunded   { background: var(--cream); color: var(--muted); }
.status-active     { background: #dcfce7; color: #15803d; }
.status-inactive   { background: #fee2e2; color: #dc2626; }

.admin-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--s-xs); border: 1.5px solid var(--cream-3); padding: 1.5rem; margin-bottom: 1.5rem; }
.admin-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--cream-2); }
.admin-card-header h2 { font-size: .95rem; font-weight: 600; font-family: var(--body); }

.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(26,18,8,.5); z-index: 850; }
.sidebar-overlay.open { display: block; }
.sidebar-toggle { display: none; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--muted); }

.admin-form-section { background: var(--cream); border-radius: var(--r-md); padding: 1.25rem; margin-bottom: 1.25rem; }
.admin-form-section-title { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 1rem; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.admin-tabs { display: flex; gap: .2rem; border-bottom: 2px solid var(--cream-3); margin-bottom: 1.5rem; }
.admin-tab { padding: .6rem 1.2rem; font-size: .84rem; font-weight: 500; color: var(--muted); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: var(--t); font-family: var(--body); }
.admin-tab:hover  { color: var(--amber-600); }
.admin-tab.active { color: var(--amber-700); border-bottom-color: var(--amber-500); }
.admin-tab-panel        { display: none; }
.admin-tab-panel.active { display: block; }

.order-timeline { position: relative; padding-left: 2rem; }
.order-timeline::before { content: ''; position: absolute; left: .65rem; top: 0; bottom: 0; width: 1.5px; background: var(--cream-3); }
.timeline-item { position: relative; padding-bottom: 1.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -1.55rem; top: .2rem; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--cream-3); background: var(--white); }
.timeline-dot.done { background: var(--amber-400); border-color: var(--amber-400); }
.timeline-label { font-size: .84rem; font-weight: 600; color: var(--muted); }
.timeline-date  { font-size: .75rem; color: var(--subtle); }

.upload-area { border: 1.5px dashed var(--cream-3); border-radius: var(--r-md); padding: 2rem 1rem; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; background: var(--cream); }
.upload-area:hover, .upload-area.drag-over { border-color: var(--amber-400); background: var(--amber-50); }
.upload-area input[type="file"] { display: none; }
.upload-area p { color: var(--muted); font-size: .84rem; margin: 0; }
.upload-area strong { color: var(--amber-700); }

.stock-ok    { color: #15803d; font-weight: 600; }
.stock-low   { color: var(--amber-700); font-weight: 600; }
.stock-empty { color: #dc2626; font-weight: 600; }

.variant-badge { display: inline-block; padding: .18rem .55rem; background: var(--amber-100); color: var(--amber-800); border-radius: 3px; font-size: .7rem; font-weight: 600; margin: .15rem; text-transform: uppercase; letter-spacing: .06em; }

.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; margin-bottom: 1.25rem; }
.mini-stat { text-align: center; padding: .75rem; background: var(--cream); border-radius: var(--r-md); }
.mini-stat .value { font-size: 1.4rem; font-weight: 700; color: var(--amber-700); }
.mini-stat .label { font-size: .72rem; color: var(--muted); }

.pagination { display: flex; justify-content: center; gap: .3rem; flex-wrap: wrap; margin-top: 2rem; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r-sm); font-size: .84rem; font-weight: 500; border: 1.5px solid var(--cream-3); color: var(--muted); transition: var(--t); }
.pagination a:hover { border-color: var(--amber-400); color: var(--amber-700); }
.pagination .active span { background: var(--amber-400); border-color: var(--amber-500); color: var(--ink); }
.pagination .disabled span { opacity: .35; cursor: not-allowed; }

.spinner { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.25); border-top-color: var(--white); border-radius: 50%; animation: spin .65s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive admin */
@media (max-width: 1024px) { .stat-cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px) {
    .admin-sidebar { position: fixed; left: -260px; top: 0; height: 100vh; transition: left .28s ease; }
    .admin-sidebar.open { left: 0; }
    .sidebar-toggle { display: block; }
    .admin-content { padding: 1.2rem; }
}
@media (max-width: 640px) {
    .stat-cards { grid-template-columns: 1fr 1fr; }
    .admin-table { font-size: .78rem; }
    .admin-table th, .admin-table td { padding: .6rem .75rem; }
    .mini-stats { grid-template-columns: repeat(2,1fr); }
}

/* Responsive productos */
@media (max-width: 1024px) {
    .container > div[style*="grid-template-columns:240px"] { grid-template-columns: 1fr !important; }
    .hk-filter-card { position: static; }
    .container > div[style*="grid-template-columns:1fr 460px"] { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
}

/* ================================================================
   UTILIDADES
================================================================ */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-gold    { color: var(--amber-600); }
.text-muted   { color: var(--muted); }
.text-sm      { font-size: .85rem; }
.text-xs      { font-size: .75rem; }
.fw-bold      { font-weight: 700; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }  .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.hidden  { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

::selection { background: var(--amber-400); color: var(--ink); }