/* ==========================================================
   HUANCA · LAYOUT v2 (1.0.42)
   Header, home sections and footer. Editorial, warm, no gimmicks.
   ========================================================== */

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-latin-wght.woff2") format("woff2");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --hv-ink: #17231a;
    --hv-ink-soft: #46524a;
    --hv-cream: #f5f0e6;
    --hv-cream-2: #ece5d6;
    --hv-leaf: #2f5d24;
    --hv-lime: #95c233;
    --hv-line: #e6e0d3;
    --hv-serif: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ---------- shared pieces ---------- */
.hv-title {
    margin: 0;
    color: var(--hv-ink);
    font-family: var(--hv-serif);
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.015em;
}
.hv-title a { color: inherit; text-decoration: none; }
.hv-kicker { margin: 0 0 12px; color: var(--hv-leaf); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hv-link { color: var(--hv-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.hv-link:hover { color: var(--hv-leaf); }

.hv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border: 1.5px solid var(--hv-ink);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.hv-btn:hover { transform: translateY(-1px); }
.hv-btn--solid { background: var(--hv-ink); color: #fff; }
.hv-btn--solid:hover { background: var(--hv-leaf); border-color: var(--hv-leaf); color: #fff; }
.hv-btn--line { background: transparent; color: var(--hv-ink); }
.hv-btn--line:hover { background: var(--hv-ink); color: #fff; }
.hv-btn--light { background: var(--hv-cream); border-color: var(--hv-cream); color: var(--hv-ink); }
.hv-btn--light:hover { background: #fff; color: var(--hv-ink); }
.hv-btn.loading { opacity: .65; pointer-events: none; }
.hv-btn.added::after { content: " ✓"; }
.hv-feature .added_to_cart { display: none !important; }

/* ==========================================================
   HEADER
   ========================================================== */
.hv-topbar { background: var(--hv-ink); color: var(--hv-cream); }
.hv-topbar p { margin: 0 auto; padding: 8px 0; font-size: 13px; font-weight: 500; letter-spacing: .02em; text-align: center; }
.hv-topbar span { margin: 0 6px; opacity: .5; }

.huanca-header.hv-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-top: 0;
    border-bottom: 1px solid var(--hv-line);
    background: #fff;
    transition: box-shadow .25s ease;
}
.admin-bar .huanca-header.hv-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .huanca-header.hv-header { top: 46px; } }
.hv-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(23, 35, 26, .25); }

.hv-header__bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 76px;
    transition: min-height .25s ease;
}
.hv-header.is-scrolled .hv-header__bar { min-height: 64px; }

.hv-header__brand img,
.hv-header__brand svg { display: block; width: auto; max-height: 46px; }
.hv-header__brand a { display: inline-block; }

.hv-nav ul { display: flex; flex-wrap: wrap; gap: 6px 30px; margin: 0; padding: 0; list-style: none; }
.hv-nav a {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    color: var(--hv-ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.hv-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--hv-lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.hv-nav a:hover::after,
.hv-nav a[aria-current="page"]::after { transform: scaleX(1); }

.hv-header__actions { display: flex; align-items: center; gap: 8px; }

.hv-icon-btn {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--hv-line);
    border-radius: 50%;
    background: #fff;
    color: var(--hv-ink);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.hv-icon-btn:hover { border-color: var(--hv-ink); }
.hv-icon-btn svg,
.hv-cart-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hv-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 8px 0 16px;
    border: 0;
    border-radius: 999px;
    background: var(--hv-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}
.hv-cart-btn:hover { background: var(--hv-leaf); }
.hv-cart-btn .huanca-mobile-cart-count {
    position: static;
    min-width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--hv-lime);
    color: var(--hv-ink);
    font-size: 13px;
    font-weight: 800;
}

.hv-header__menu { display: none; }

/* search drops below the bar, on every screen size */
.hv-search.huanca-header__mobile-search {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    border-top: 0;
    background: var(--hv-cream);
    transition: max-height .3s ease;
}
.hv-search.is-open { max-height: 520px; overflow: visible; }
.hv-search .huanca-shell { padding: 16px 0 18px; }
.hv-search__form { max-width: 720px; margin: 0 auto; }
.hv-search__form input[type="search"] { min-height: 54px; font-size: 17px; }

@media (max-width: 1023px) {
    .hv-header__bar { grid-template-columns: 44px 1fr auto; gap: 10px; min-height: 64px; }
    .hv-header__menu { display: inline-grid; }
    .hv-header__brand { justify-self: center; }
    .hv-header__brand img, .hv-header__brand svg { max-height: 38px; }
    .hv-nav, .hv-header__account, .hv-cart-btn__label { display: none; }
    .hv-cart-btn { padding: 0 6px 0 12px; gap: 6px; }
}

/* drawer menu */
.hv-menu .huanca-drawer__panel--menu { width: min(92vw, 420px); background: var(--hv-cream); }
.hv-menu .huanca-drawer__head { border-bottom-color: var(--hv-cream-2); }
.hv-menu__body { display: flex; flex-direction: column; min-height: calc(100% - 74px); padding: 18px 22px 26px; }
.hv-menu__links { margin: 0; padding: 0; list-style: none; }
.hv-menu__links li { border-bottom: 1px solid var(--hv-cream-2); }
.hv-menu__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: var(--hv-ink);
    font-family: var(--hv-serif);
    font-size: 28px;
    font-weight: 600;
    text-decoration: none;
}
.hv-menu__links a span { font-family: Inter, system-ui, sans-serif; font-size: 20px; opacity: .45; transition: transform .2s ease, opacity .2s ease; }
.hv-menu__links a:hover span { transform: translateX(4px); opacity: 1; }
.huanca-drawer.is-open .hv-menu__links li { animation: hv-in .45s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--i, 0) * 50ms + 80ms); }
@keyframes hv-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.hv-menu__foot { display: grid; gap: 12px; margin-top: auto; padding-top: 24px; }
.hv-menu__foot a { display: flex; align-items: center; gap: 10px; color: var(--hv-ink-soft); font-size: 15px; font-weight: 600; text-decoration: none; }
.hv-menu__foot svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ==========================================================
   HOME · ventajas
   ========================================================== */
.hv-perks { background: var(--hv-cream); }
.hv-perks__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.hv-perks__list li { padding: 30px 26px; border-left: 1px solid var(--hv-cream-2); }
.hv-perks__list li:first-child { border-left: 0; padding-left: 0; }
.hv-perks__n { display: block; margin-bottom: 14px; color: var(--hv-leaf); font-family: var(--hv-serif); font-size: 15px; font-weight: 600; }
.hv-perks h2 { margin: 0 0 6px; color: var(--hv-ink); font-size: 18px; font-weight: 750; letter-spacing: -.005em; }
.hv-perks p { margin: 0; color: var(--hv-ink-soft); font-size: 14.5px; line-height: 1.5; }

@media (max-width: 900px) {
    .hv-perks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hv-perks__list li { padding: 20px 16px; border-left: 0; border-top: 1px solid var(--hv-cream-2); }
    .hv-perks__list li:nth-child(-n+2) { border-top: 0; }
    .hv-perks__list li:nth-child(odd) { padding-left: 0; }
    .hv-perks__list li:nth-child(even) { border-left: 1px solid var(--hv-cream-2); }
    .hv-perks h2 { font-size: 16px; }
    .hv-perks p { font-size: 13.5px; }
}

/* ==========================================================
   HOME · producto destacado (pocos productos) / grilla
   ========================================================== */
.hv-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(24px, 5vw, 80px);
    margin: clamp(48px, 7vw, 100px) auto;
}
.hv-feature__media {
    display: block;
    overflow: hidden;
    border-radius: 28px;
    background: var(--hv-cream);
    aspect-ratio: 1 / 1;
}
.hv-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.hv-feature__media:hover img { transform: scale(1.03); }
.hv-feature__rating { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--hv-ink-soft); font-size: 14px; }
.hv-feature__text { margin: 16px 0 0; color: var(--hv-ink-soft); font-size: 17px; line-height: 1.6; max-width: 46ch; }
.hv-feature__text p { margin: 0 0 8px; }
.hv-feature__price { margin: 20px 0 0; color: var(--hv-ink); font-size: 28px; font-weight: 800; }
.hv-feature__price del { margin-right: 8px; color: #9aa19b; font-size: .65em; font-weight: 600; }
.hv-feature__price ins { text-decoration: none; }
.hv-feature__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hv-feature__thumbs { display: flex; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.hv-feature__thumbs li { width: 72px; height: 72px; overflow: hidden; border-radius: 14px; background: var(--hv-cream); }
.hv-feature__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.hv-new { margin: clamp(48px, 7vw, 100px) auto; }
.hv-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }

@media (max-width: 800px) {
    .hv-feature { grid-template-columns: 1fr; gap: 20px; margin: 40px auto; }
    .hv-feature__media { border-radius: 22px; }
    .hv-feature__text { font-size: 16px; }
    .hv-feature__actions .hv-btn { flex: 1 1 auto; }
    .hv-head { align-items: start; flex-direction: column; gap: 8px; }
}

/* ==========================================================
   HOME · preguntas frecuentes
   ========================================================== */
.hv-faq { padding: clamp(48px, 7vw, 100px) 0; border-top: 1px solid var(--hv-line); }
.hv-faq__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.hv-faq__aside { position: sticky; top: 110px; }
.hv-faq__aside p { margin: 16px 0 24px; color: var(--hv-ink-soft); font-size: 16px; line-height: 1.6; max-width: 34ch; }
.hv-faq__item { border-bottom: 1px solid var(--hv-line); }
.hv-faq__item:first-child { border-top: 1px solid var(--hv-line); }
.hv-faq__item summary {
    position: relative;
    padding: 22px 48px 22px 0;
    color: var(--hv-ink);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
}
.hv-faq__item summary::-webkit-details-marker { display: none; }
.hv-faq__item summary::before,
.hv-faq__item summary::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 16px;
    height: 2px;
    background: var(--hv-ink);
    transition: transform .25s ease;
}
.hv-faq__item summary::after { transform: rotate(90deg); }
.hv-faq__item[open] summary::after { transform: rotate(0deg); }
.hv-faq__item p { margin: -6px 0 22px; padding-right: 48px; color: var(--hv-ink-soft); font-size: 16px; line-height: 1.65; }

@media (max-width: 800px) {
    .hv-faq__inner { grid-template-columns: 1fr; }
    .hv-faq__aside { position: static; }
    .hv-faq__item summary { font-size: 16.5px; padding: 18px 40px 18px 0; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.huanca-footer.hv-footer {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
    border: 0;
    background: var(--hv-ink);
    color: var(--hv-cream);
}
.hv-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 36px;
    padding: clamp(48px, 7vw, 88px) 0 40px;
}
.hv-footer__logo img,
.hv-footer__logo svg { max-height: 46px; width: auto; filter: brightness(0) invert(1); }
.hv-footer__statement { max-width: 30ch; margin: 22px 0 26px; color: var(--hv-cream); font-family: var(--hv-serif); font-size: 24px; font-weight: 500; line-height: 1.3; }
.hv-footer__col h2 { margin: 0 0 16px; color: rgba(245, 240, 230, .55); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hv-footer__col ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.hv-footer__col a { color: var(--hv-cream); font-size: 15px; text-decoration: none; }
.hv-footer__col a:hover { color: var(--hv-lime); }
.hv-footer__col small { color: rgba(245, 240, 230, .55); }
.hv-footer__claims { display: inline-flex; padding: 6px 12px; border: 1px solid rgba(245, 240, 230, .35); border-radius: 8px; }

.hv-footer__word {
    margin: 0 0 -0.18em;
    color: rgba(245, 240, 230, .06);
    font-family: var(--hv-serif);
    font-size: clamp(90px, 24vw, 380px);
    font-weight: 700;
    line-height: .9;
    letter-spacing: -.04em;
    text-align: center;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}
.hv-footer__bottom { position: relative; border-top: 1px solid rgba(245, 240, 230, .12); }
.hv-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 18px 0 22px; color: rgba(245, 240, 230, .6); font-size: 13px; }

@media (max-width: 900px) {
    .hv-footer__top { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
    .hv-footer__intro { grid-column: 1 / -1; }
    .hv-footer__statement { font-size: 21px; }
}
@media (max-width: 520px) {
    .hv-footer__top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .hv-nav a::after, .hv-btn, .hv-feature__media img, .hv-search.huanca-header__mobile-search { transition: none; }
    .huanca-drawer.is-open .hv-menu__links li { animation: none; }
}

/* Same editorial serif for the big headings of the flavour hero and product landing */
.hs-sabores__name,
.hf-band__name,
.hf-section-title,
.hf-moments__text h3 { font-family: var(--hv-serif); font-weight: 600; letter-spacing: -.02em; }
.hf-stats__item strong { font-family: var(--hv-serif); font-weight: 600; }

/* closed search panel takes no space at all (old rules added padding) */
.hv-search.huanca-header__mobile-search:not(.is-open) { padding: 0 !important; margin: 0 !important; border: 0 !important; min-height: 0 !important; height: 0; }
.hv-search.is-open { height: auto; }
@media (max-width: 560px) {
    .hv-topbar p { font-size: 12.5px; padding: 7px 0; }
    .hv-topbar__more { display: none; }
}

/* ==========================================================
   1.0.43 · HEADER: menú + buscador visibles (como antes, más moderno)
   ========================================================== */
.hv-header__bar { grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 18px; }
.hv-header__menu--mobile { display: none; }

.hv-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px 0 12px;
    border: 1px solid var(--hv-line);
    border-radius: 999px;
    background: #fff;
    color: var(--hv-ink);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.hv-menu-btn:hover { border-color: var(--hv-ink); }
.hv-menu-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.hv-searchbar {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 640px;
    height: 48px;
    margin: 0 auto;
    padding: 4px 4px 4px 0;
    border: 1.5px solid var(--hv-line);
    border-radius: 999px;
    background: #faf8f3;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.hv-searchbar:focus-within { border-color: var(--hv-ink); background: #fff; box-shadow: 0 0 0 4px rgba(149, 194, 51, .22); }
.hv-searchbar__icon { display: grid; place-items: center; width: 46px; color: var(--hv-ink-soft); }
.hv-searchbar__icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.hv-searchbar input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--hv-ink);
    font-size: 15px;
    outline: none;
}
.hv-searchbar input::placeholder { color: #8a918b; }
.hv-searchbar__go {
    height: 38px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--hv-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.hv-searchbar__go:hover { background: var(--hv-leaf); }
.hv-searchbar .huanca-search-suggestions { top: calc(100% + 8px); left: 0; right: 0; }

.hv-header__search-toggle { display: none; }
.hv-search.huanca-header__mobile-search { display: none !important; }

@media (max-width: 1023px) {
    .hv-header__bar { grid-template-columns: 44px 1fr auto; gap: 10px; }
    .hv-header__menu--mobile { display: inline-grid; }
    .hv-menu-btn, .hv-searchbar { display: none; }
    .hv-header__search-toggle { display: inline-grid; }
    .hv-search.huanca-header__mobile-search { display: block !important; }
}

/* ==========================================================
   1.0.43 · BANNER PRINCIPAL EN CELULAR: casi cuadrado
   (imagen al lado del texto; listo para pasar productos como carrusel)
   ========================================================== */
@media (max-width: 600px) {
    .hs-sabores--hero { padding: 18px 0 16px; }
    .hs-sabores--hero .hs-sabores__inner {
        grid-template-columns: minmax(0, 45%) minmax(0, 1fr);
        align-items: center;
        gap: 14px;
    }
    .hs-sabores--hero .hs-sabores__stage { order: 0; min-height: 0; padding: 0; }
    .hs-sabores--hero .hs-sabores__card { width: 100%; max-width: none; border-radius: 20px; }
    .hs-sabores--hero .hs-sabores__ring,
    .hs-sabores--hero .hs-sabores__ghost,
    .hs-sabores--hero .hs-sabores__shadow,
    .hs-sabores--hero .hs-sabores__herb--2,
    .hs-sabores--hero .hs-sabores__notes,
    .hs-sabores--hero .hs-sabores__more { display: none; }
    .hs-sabores--hero .hs-sabores__herb { width: 44px; }
    .hs-sabores--hero .hs-sabores__herb--1 { top: -10px; left: -8px; }
    .hs-sabores--hero .hs-sabores__herb--3 { bottom: -10px; left: auto; right: -6px; }
    .hs-sabores--hero .hs-sabores__eyebrow { font-size: 10.5px; letter-spacing: .1em; }
    .hs-sabores--hero .hs-sabores__eyebrow::before { width: 14px; }
    .hs-sabores--hero .hs-sabores__name { min-height: 0; margin: 8px 0 6px; font-size: 27px; line-height: 1.05; }
    .hs-sabores--hero .hs-sabores__tagline { margin-bottom: 12px; font-size: 13.5px; line-height: 1.4; }
    .hs-sabores--hero .hs-sabores__actions { flex-direction: column; align-items: stretch; gap: 8px; }
    .hs-sabores--hero .hs-sabores__price { font-size: 20px; }
    .hs-sabores--hero .hs-sabores__buy { min-height: 44px; padding: 0 14px; font-size: 14px; }
    .hs-sabores--hero .hs-sabores__picker { margin-top: 14px; }
}

/* ==========================================================
   1.0.43 · NUEVOS INGRESOS: fila de tarjetas que crece con el catálogo
   ========================================================== */
.hv-shelf { margin: clamp(48px, 7vw, 100px) auto; }
.hv-shelf__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.hv-shelf__tools { display: flex; align-items: center; gap: 10px; }
.hv-shelf__tools .hv-link { margin-right: 8px; }
.hv-shelf__arrow {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--hv-line);
    border-radius: 50%;
    background: #fff;
    color: var(--hv-ink);
    cursor: pointer;
}
.hv-shelf__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hv-shelf__arrow--next svg { transform: rotate(180deg); }
.hv-shelf__arrow:hover:not(:disabled) { border-color: var(--hv-ink); }
.hv-shelf__arrow:disabled { opacity: .35; cursor: default; }

.hv-shelf__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 18px) / 4);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 6px;
    outline: none;
}
.hv-shelf__track::-webkit-scrollbar { display: none; }

.hv-card { position: relative; scroll-snap-align: start; }
.hv-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    background: var(--hv-cream);
}
.hv-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.hv-card:hover .hv-card__media img { transform: scale(1.04); }
.hv-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--hv-ink);
    font-size: 12px;
    font-weight: 750;
}
.hv-card__tag--sale { background: var(--hv-ink); color: #fff; }
.hv-card__tag--soon { background: var(--hv-ink); color: var(--hv-cream); }
.hv-card__body { padding: 14px 52px 0 2px; }
.hv-card__body h3 { margin: 0 0 4px; font-family: var(--hv-serif); font-size: 19px; font-weight: 600; line-height: 1.25; }
.hv-card__body h3 a { color: var(--hv-ink); text-decoration: none; }
.hv-card__price { margin: 0; color: var(--hv-ink); font-size: 16px; font-weight: 750; }
.hv-card__price del { margin-right: 6px; color: #9aa19b; font-size: .85em; font-weight: 500; }
.hv-card__price ins { text-decoration: none; }
.hv-card__add {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--hv-ink);
    color: #fff;
    transition: background .2s ease, transform .2s ease;
}
.hv-card__add:hover { background: var(--hv-leaf); color: #fff; transform: scale(1.06); }
.hv-card__add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.hv-card__add.loading { opacity: .6; }
.hv-card__add.added svg { display: none; }
.hv-card__add.added::after { content: "✓"; font-size: 18px; font-weight: 800; }
.hv-shelf .added_to_cart { display: none !important; }

.hv-card--soon .hv-card__media img { filter: saturate(.75); opacity: .85; }
.hv-card--soon .hv-card__price { color: var(--hv-ink-soft); font-size: 14px; font-weight: 600; }

@media (max-width: 800px) {
    .hv-shelf__head { align-items: start; flex-direction: column; gap: 6px; }
    .hv-shelf__arrow { display: none; }
    .hv-shelf__track { grid-auto-columns: 70%; gap: 14px; margin-right: -16px; padding-right: 16px; }
    .hv-card__media { border-radius: 18px; }
    .hv-card__body h3 { font-size: 17px; }
}

/* ==========================================================
   1.0.43 · PIE: RUC visible, sin marca de agua, libro reservado
   ========================================================== */
.hv-footer__word { display: none; }
.hv-footer__legal { margin: 18px 0 0; color: rgba(245, 240, 230, .75); font-size: 13.5px; line-height: 1.5; }
.hv-footer__legal strong { display: block; color: var(--hv-cream); font-weight: 700; letter-spacing: .02em; }
.hv-footer__book {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 10px 14px;
    border: 1px solid rgba(245, 240, 230, .3);
    border-radius: 12px;
    color: var(--hv-cream);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}
a.hv-footer__book:hover { border-color: var(--hv-lime); color: var(--hv-lime); }
.hv-footer__book svg { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hv-footer__bottom { margin-top: 10px; }
