/* =========================================================
   Harmony Vue - App Styles
   Basado en el diseño de harmonylife.com.mx/tienda
   ========================================================= */

.joinchat__button{
    display:none!important;
}
   
:root {
    /* Brand */
    --hv-purple: #5A5B93;
    --hv-purple-hover: #511069;
    --hv-purple-soft: #5110691A;

    /* Neutrals */
    --hv-black: #000000;
    --hv-text: #1E1E1E;
    --hv-text-soft: #1E1E1EB2;
    --hv-text-muted: #555555;
    --hv-border: #0000001A;
    --hv-border-strong: #1E1E1E80;
    --hv-bg: #efeff7;
    --hv-bg-soft: #efeff7;

    /* Layout */
    --hv-container: 1440px;
    --hv-radius: 14px;
    --hv-radius-card: 18px;
    --hv-radius-pill: 62px;
    --hv-radius-btn: 8px;

    /* Typography */
    --hv-font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
    --hv-font-topbar: "Outfit", "Helvetica Neue", Arial, sans-serif;
    --hv-font-footer: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--hv-font-body);
    color: var(--hv-text);
    background: var(--hv-bg);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.hv-container { width: 100%; max-width: min(100%, var(--hv-container)); margin: 0 auto; padding: 0 24px; }

/* ============= Topbar ============= */
.hv-topbar {
    background: var(--hv-black);
    color: #FFFFFF;
    font-family: var(--hv-font-topbar);
    font-size: 14px;
    font-weight: 300;
}
.hv-topbar__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 8px 24px;
    min-height: 34px;
}
.hv-topbar__left {
    display: flex;
    gap: 8px;
    align-items: center;
    line-height: 1.3;
}
.hv-topbar__center {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.hv-topbar__right {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
}
.hv-topbar a { color: #FFFFFF; }

/* ============= Header ============= */
.hv-header {
    background: var(--hv-bg);
    border-bottom: 1px solid var(--hv-border);
}
.hv-header__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 22px 24px;
    gap: 24px;
    min-height: 78px;
}

.hv-header__divider {
    width: 1px;
    height: 41px;
    background: var(--hv-border-strong);
    margin: 0 4px 0 8px;
    flex-shrink: 0;
    align-self: center;
    margin-left: 0;
    margin-right: 0;
}

.hv-nav {
    display: flex;
    gap: 28px;
    align-items: center;
    margin-left: 0;
    margin-right: auto;
}

.hv-logo {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 22px;
    color: var(--hv-black);
    font-family: var(--hv-font-body);
    line-height: 1;
}
.hv-logo__img {
    display: block;
    height: 22px;
    width: auto;
    max-width: 215px;
}
.hv-logo__img--footer {
    height: 37px;
    width: auto;
    max-width: 325px;
}
.hv-logo__text { display: inline-flex; align-items: center; }
.hv-logo__text--footer { color: #fff; font-size: 24px; }
.hv-logo span { display: inline-block; }
.hv-logo__o2 {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--hv-black);
    border-radius: 50%;
    margin: 0 4px;
    vertical-align: -3px;
    background: radial-gradient(circle, var(--hv-black) 35%, transparent 36%);
}

.hv-logo--footer {
    color: #fff;
    letter-spacing: 4px;
    font-size: 24px;
}
.hv-logo--footer .hv-logo__o2 {
    border-color: #fff;
    background: radial-gradient(circle, #fff 35%, transparent 36%);
}

.hv-nav__link {
    color: var(--hv-text-soft);
    font-family: var(--hv-font-body);
    font-size: 16px;
    font-weight: 400;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.hv-nav__link:hover { color: var(--hv-text); }
.hv-nav__link--active {
    border-bottom-color: var(--hv-black);
    color: var(--hv-text);
}

.hv-header__cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ============= Buttons ============= */
.hv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hv-black);
    color: #FFFFFF;
    border: none;
    border-radius: var(--hv-radius-pill);
    padding: 11px 20px;
    font-family: var(--hv-font-body);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 26px;
    cursor: pointer;
    transition: background-color .3s ease, transform .3s ease-out;
}
.hv-btn:hover { background: #333; }
.hv-btn:active { transform: scale(0.97); }
.hv-product__add {
    background: #FFFFFF;
    color: var(--hv-black);
    border: 2px solid var(--hv-black);
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease-out;
}
.hv-product__add:hover {
    background: var(--hv-black);
    color: #FFFFFF;
    border-color: var(--hv-black);
}
.hv-product__add:disabled {
    background: #FFFFFF;
    color: var(--hv-black);
    border-color: var(--hv-black);
    opacity: .6;
    cursor: progress;
}

.hv-btn--ghost {
    background: transparent;
    color: var(--hv-text);
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius-btn);
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
}
.hv-btn--ghost:hover { background: var(--hv-bg-soft); }

.hv-btn--purple {
    background: var(--hv-purple);
    color: #FFFFFF !important;
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 600;
    width: 150px;
    height: 34px;
    letter-spacing: 0;
    transition: background-color .3s ease, transform .3s ease-out;
}
.hv-btn--purple:hover { background: var(--hv-purple-hover); }
.hv-btn--purple:active { transform: scale(0.94); }

.hv-btn--purple-ghost {
    background: transparent;
    color: var(--hv-purple) !important;
    border: 1px solid var(--hv-purple);
}
.hv-btn--purple-ghost:hover {
    background: var(--hv-purple-soft);
    color: var(--hv-purple-hover) !important;
    border-color: var(--hv-purple-hover);
}

.hv-header__cta--guest { display: flex; gap: 10px; margin-left: auto; }

.hv-user {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
    background: transparent;
    color: var(--hv-text);
    font-family: var(--hv-font-body);
    font-size: 16px;
    font-weight: 500;
    margin-left: auto;
    transition: background-color .15s ease;
    text-decoration: none;
}
.hv-user:hover { background: var(--hv-bg-soft); }
.hv-user__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--hv-bg-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hv-border);
    flex-shrink: 0;
}
.hv-user__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-user__initials {
    font-family: var(--hv-font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--hv-text);
}
.hv-user__name {
    line-height: 1;
    white-space: nowrap;
}

.hv-btn--block { width: 100%; padding: 11px 20px; }

/* ============= Main ============= */
.hv-main {
    min-height: 60vh;
    padding: 40px 0 64px;
    background: var(--hv-bg);
}

.hv-section-title {
    font-family: var(--hv-font-body);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 25px;
    color: var(--hv-text);
}
.hv-section-title--center { text-align: center; }

/* ============= Shop layout ============= */
.hv-shop {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    font-family: var(--hv-font-body);
}
.hv-shop__head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 4px 24px;
    font-size: 14px;
    color: var(--hv-muted);
}
.hv-shop__head strong {
    font-family: var(--hv-font-body);
    font-size: 24px;
    font-weight: 700;
    color: var(--hv-text);
}
.hv-shop__head-meta {
    margin-left: 2em;
}
.hv-shop__head strong {
    font-family: var(--hv-font-body);
    font-size: 24px;
    font-weight: 700;
    color: var(--hv-text);
}
.hv-shop__sort { color: var(--hv-text); font-size: 14px; }

/* ============= Order toggle ============= */
.hv-order {
    position: relative;
    margin-left: auto;
    font-family: var(--hv-font-body);
}
.hv-order__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: var(--hv-text);
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius-btn);
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.hv-order__toggle:hover { border-color: var(--hv-text); }
.hv-order__toggle.is-open { border-color: var(--hv-text); }
.hv-order__arrow {
    display: inline-flex;
    align-items: center;
    color: var(--hv-text-muted);
    transition: transform .2s ease;
}
.hv-order__toggle.is-open .hv-order__arrow { transform: rotate(180deg); }

.hv-order__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: #FFFFFF;
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius-btn);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    box-shadow: var(--hv-shadow);
    z-index: 20;
}
.hv-order__item {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 8px 14px;
    font-family: var(--hv-font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--hv-text);
    cursor: pointer;
    transition: background-color .12s ease, color .12s ease;
}
.hv-order__item:hover { background: var(--hv-bg-soft); }
.hv-order__item.is-active {
    color: var(--hv-purple);
    font-weight: 600;
}
.hv-caret { display: inline-block; margin-left: 4px; color: var(--hv-text-muted); }

/* ============= Filters sidebar ============= */
.hv-filters {
    width: 280px;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius);
    padding: 25px;
    height: max-content;
}
.hv-filters__title {
    margin: 0 0 25px;
    font-family: var(--hv-font-body);
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    color: var(--hv-text);
}
.hv-filters__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.hv-filters__group { display: flex; flex-direction: column; gap: 2px; }

.hv-filters__parent {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 6px 8px;
    border-radius: 4px;
    font-family: var(--hv-font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--hv-text);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, padding-left .2s ease;
}
.hv-filters__parent:hover {
    background-color: #eee7f6;
    color: var(--hv-purple-hover);
    padding-left: 14px;
}
.hv-filters__parent.is-open { padding-left: 14px; }
.hv-filters__parent-name { flex: 1; }
.hv-filters__arrow {
    display: inline-flex;
    align-items: center;
    color: var(--hv-text-muted);
    transition: transform .2s ease;
}
.hv-filters__parent.is-open .hv-filters__arrow { transform: rotate(90deg); color: var(--hv-text); }

.hv-filters__children {
    list-style: none;
    padding: 2px 0 4px 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 1px dashed var(--hv-border);
    margin-left: 12px;
}

.hv-filters__btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    font-family: var(--hv-font-body);
    font-size: 14px;
    font-weight: 400;
    color: #1D1D1D99;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .15s ease, color .15s ease, padding-left .2s ease;
}
.hv-filters__btn:hover {
    color: var(--hv-purple-hover);
    padding-left: 16px;
}
.hv-filters__btn--active {
    color: var(--hv-text);
    font-weight: 700;
}
.hv-filters__empty { color: var(--hv-text-muted); font-size: 13px; padding: 8px 10px; }

/* ============= Grid ============= */
.hv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}
.hv-grid--related { grid-template-columns: repeat(4, 1fr); }

/* ============= Product card ============= */
.hv-card {
    display: block;
    background: white;
    padding: 25px;
    border-radius: var(--hv-radius-card);
    border: none;
    transition: transform .2s ease;
    overflow: hidden;
}
.hv-card:hover { transform: translateY(-4px); }

.hv-card__media {
    display: block;
    background: #fff;
    overflow: hidden;
    border-radius: var(--hv-radius-sm, 8px);
}
.hv-card__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hv-card__body {
    padding: 18px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hv-card__title {
    font-family: var(--hv-font-body);
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    margin: 0 0 10px;
    color: var(--hv-text);
}
.hv-card__desc {
    color: var(--hv-text-muted);
    font-family: var(--hv-font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hv-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
}
.hv-card__price {
    font-family: var(--hv-font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--hv-text);
}
.hv-card__cart {
    width: 52px;
    height: 38px;
    border-radius: 999px;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--hv-black);
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    position: relative;
    z-index: 2;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hv-card__cart:hover { background: var(--hv-black); border-color: var(--hv-black); color: #fff; transform: scale(1.05); }
.hv-card__cart:active { transform: scale(0.95); }
.hv-card__cart:disabled { opacity: .6; cursor: progress; }
.hv-card__cart:hover .hv-icon--cart { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zM6.2 4H3v2h2l3.6 8.6-1.4 2.4c-.5.9.1 2 1.1 2H19v-2H8.5l1-2H17a2 2 0 0 0 1.8-1.1L21.5 7H7.5l-.8-2z'/></svg>"); }
.hv-card__media-link,
.hv-card__title-link { display: block; color: inherit; text-decoration: none; }
.hv-card__title-link { color: var(--hv-text); }
.hv-card__title-link:hover .hv-card__title { color: var(--hv-primary, var(--hv-text)); }

/* ============= Pagination ============= */
.hv-pagination {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.hv-pagination__nums { display: flex; gap: 12px; align-items: center; }
.hv-pagination__item {
    min-width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    padding: 0 6px;
    font-family: var(--hv-font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--hv-text);
}
.hv-pagination__item:hover:not(:disabled) { font-weight: 600; }
.hv-pagination__item--active { font-weight: 600; }
.hv-pagination__item--dots { background: transparent; cursor: default; }
.hv-pagination__btn {
    width: 115px;
    height: 37px;
    border-radius: var(--hv-radius-btn);
    border: 1px solid var(--hv-border);
    background: #fff;
    font-family: var(--hv-font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--hv-text);
    padding: 8px 14px;
    transition: background-color .15s ease, border-color .15s ease;
}
.hv-pagination__btn:hover:not(:disabled) { background: var(--hv-bg-soft); border-color: var(--hv-text); }
.hv-pagination__btn:disabled { opacity: .45; cursor: not-allowed; }

/* ============= Product detail ============= */
.hv-product { padding: 24px 0; background: #efeff7; }
.hv-product__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.hv-product__gallery { background: var(--hv-bg-soft); border-radius: var(--hv-radius); padding: 24px; display: flex; align-items: center; justify-content: center; }
.hv-product__main-img { max-height: 520px; width: auto; border-radius: var(--hv-radius); }
.hv-product__title {
    font-family: var(--hv-font-body);
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 14px;
    line-height: 1.2;
    color: var(--hv-text);
}
.hv-product__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.hv-product__price > span:first-of-type {
    font-family: var(--hv-font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--hv-text);
}
.hv-product__price small { color: var(--hv-text-muted); font-size: 13px; }
.hv-product__lead { color: var(--hv-text); margin: 0 0 22px; line-height: 1.6; }
.hv-product__actions { display: flex; align-items: stretch; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.hv-product__actions .hv-product__qty { margin-bottom: 0; flex-shrink: 0; }
.hv-product__actions .hv-product__add { flex: 1 1 200px; }
.hv-product__qty { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hv-border); border-radius: 999px; overflow: hidden; margin-bottom: 14px; background: #fff; }
.hv-product__qty button { width: 36px; height: 36px; border: none; background: transparent; font-size: 20px; font-weight: 700; line-height: 1; color: var(--hv-text); display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s ease, color .15s ease; }
.hv-product__qty button:hover { background:white; color: var(--hv-primary, var(--hv-text)); }
.hv-product__qty button:focus-visible { outline: 2px solid var(--hv-primary, var(--hv-text)); outline-offset: 1px; }
.hv-product__qty span { min-width: 32px; text-align: center; font-weight: 700; color: var(--hv-text); }

.hv-product__details { padding: 32px 0; background: #efeff7; border-top: 1px solid var(--hv-border); }
.hv-product__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; transition: max-height .35s ease; position: relative; }
.hv-product__cols.is-collapsed { max-height: 220px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); }
.hv-product__col p { margin: 0 0 12px; line-height: 1.6; color: var(--hv-text); }
.hv-product__details-more { display: flex; justify-content: center; margin-top: 20px; }
.hv-product__more {
    background: #FFFFFF;
    color: var(--hv-black);
    border: 2px solid var(--hv-black);
    border-radius: 999px;
    padding: 10px 28px;
    font-family: var(--hv-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hv-product__more:hover { background: var(--hv-black); color: #FFFFFF; border-color: var(--hv-black); }

.hv-related { padding: 36px 0 60px; }

/* ============= Footer ============= */
.hv-footer {
    background: #1E1E1E;
    color: #FFFFFF;
    font-family: var(--hv-font-footer);
}
.hv-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
    padding: 48px 24px 28px;
    min-height: 440px;
}
.hv-footer__brand { max-width: 320px; }
.hv-footer__copy {
    font-family: var(--hv-font-footer);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    color: #FFFFFF;
    margin: 18px 0 22px;
}
.hv-footer__title {
    color: #FFFFFF;
    font-family: var(--hv-font-footer);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 18px;
}
.hv-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hv-footer__list a {
    color: #FFFFFF;
    font-family: var(--hv-font-footer);
    font-size: 14px;
    font-weight: 300;
    transition: opacity .15s ease;
}
.hv-footer__list a:hover { opacity: .7; }
.hv-footer__socials { display: flex; gap: 12px; }
.hv-social--light .hv-icon { background: transparent; border: 1px solid #FFFFFF; border-radius: 50%; }
.hv-social--light .hv-icon:hover { background: var(--hv-purple); border-color: var(--hv-purple); }
.hv-footer__bottom {
    border-top: 1px solid #FFFFFF33;
    padding: 18px 0;
    color: #FFFFFF;
    font-family: var(--hv-font-footer);
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

/* ============= Social icons (SVG via background) ============= */
.hv-social { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; transition: transform .2s ease; }
.hv-social:hover { transform: scale(1.1); }
.hv-icon { display: inline-block; background-repeat: no-repeat; background-position: center; background-size: contain; }
.hv-icon--pin { width: 14px; height: 14px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M12 2a8 8 0 0 0-8 8c0 5.5 8 12 8 12s8-6.5 8-12a8 8 0 0 0-8-8zm0 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6z'/></svg>"); }
.hv-icon--phone { width: 14px; height: 14px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M6.6 10.8c1.5 3 3.7 5.2 6.7 6.7l2.2-2.2c.3-.3.7-.4 1-.3 1.1.4 2.3.6 3.5.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.5.1.4 0 .8-.3 1l-2.2 2.3z'/></svg>"); }
.hv-icon--yt { width: 16px; height: 16px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M23 7.2a3 3 0 0 0-2.1-2.1C19 4.5 12 4.5 12 4.5s-7 0-8.9.6A3 3 0 0 0 1 7.2 31 31 0 0 0 .5 12 31 31 0 0 0 1 16.8a3 3 0 0 0 2.1 2.1c1.9.6 8.9.6 8.9.6s7 0 8.9-.6a3 3 0 0 0 2.1-2.1A31 31 0 0 0 23.5 12 31 31 0 0 0 23 7.2zM10 15.5v-7l6 3.5-6 3.5z'/></svg>"); }
.hv-icon--ig { width: 16px; height: 16px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M12 2.2c3.2 0 3.6 0 4.8.1 1.2.1 1.8.3 2.2.4.6.2 1 .5 1.4 1 .5.4.8.8 1 1.4.1.4.3 1 .4 2.2.1 1.2.1 1.6.1 4.7s0 3.6-.1 4.8c-.1 1.2-.3 1.8-.4 2.2-.2.6-.5 1-1 1.4-.4.5-.8.8-1.4 1-.4.1-1 .3-2.2.4-1.2.1-1.6.1-4.8.1s-3.6 0-4.8-.1c-1.2-.1-1.8-.3-2.2-.4-.6-.2-1-.5-1.4-1-.5-.4-.8-.8-1-1.4-.1-.4-.3-1-.4-2.2C2.2 15.6 2.2 15.2 2.2 12s0-3.6.1-4.8c.1-1.2.3-1.8.4-2.2.2-.6.5-1 1-1.4.4-.5.8-.8 1.4-1 .4-.1 1-.3 2.2-.4C8.4 2.2 8.8 2.2 12 2.2zm0 1.8c-3.1 0-3.5 0-4.7.1-1.1.1-1.7.2-2.1.4-.5.2-.9.4-1.3.8-.4.4-.6.8-.8 1.3-.2.4-.3 1-.4 2.1C2.6 9.5 2.6 9.9 2.6 13s0 3.5.1 4.7c.1 1.1.2 1.7.4 2.1.2.5.4.9.8 1.3.4.4.8.6 1.3.8.4.2 1 .3 2.1.4 1.2.1 1.6.1 4.7.1s3.5 0 4.7-.1c1.1-.1 1.7-.2 2.1-.4.5-.2.9-.4 1.3-.8.4-.4.6-.8.8-1.3.2-.4.3-1 .4-2.1.1-1.2.1-1.6.1-4.7s0-3.5-.1-4.7c-.1-1.1-.2-1.7-.4-2.1-.2-.5-.4-.9-.8-1.3-.4-.4-.8-.6-1.3-.8-.4-.2-1-.3-2.1-.4-1.2-.1-1.6-.1-4.7-.1zm0 3.1A4.9 4.9 0 1 1 7.1 12 4.9 4.9 0 0 1 12 7.1zm0 8.1a3.2 3.2 0 1 0 0-6.4 3.2 3.2 0 0 0 0 6.4zm6.3-8.3a1.1 1.1 0 1 1-2.3 0 1.1 1.1 0 0 1 2.3 0z'/></svg>"); }
.hv-icon--fb { width: 16px; height: 16px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M22 12a10 10 0 1 0-11.6 9.9V14.9H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.4v6.9A10 10 0 0 0 22 12z'/></svg>"); }
.hv-icon--cart { width: 18px; height: 18px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'><path d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zM6.2 4H3v2h2l3.6 8.6-1.4 2.4c-.5.9.1 2 1.1 2H19v-2H8.5l1-2H17a2 2 0 0 0 1.8-1.1L21.5 7H7.5l-.8-2z'/></svg>"); }
.hv-icon--wa { width: 28px; height: 28px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23ffffff'><path d='M16 3C9 3 3.5 8.5 3.5 15.5c0 2.4.7 4.7 2 6.7L3 29l7-1.8c1.9 1 4 1.6 6 1.6 7 0 12.5-5.5 12.5-12.5S23 3 16 3zm0 22.6c-1.8 0-3.6-.5-5.1-1.4l-.4-.2-4.1 1.1 1.1-4-.3-.4a10 10 0 0 1-1.6-5.4c0-5.7 4.6-10.3 10.3-10.3S26.3 9.6 26.3 15.3 21.7 25.6 16 25.6zm5.9-7.7c-.3-.2-1.9-1-2.2-1.1-.3-.1-.5-.2-.7.2-.2.3-.8 1.1-1 1.3-.2.2-.4.2-.7.1-.3-.2-1.4-.5-2.6-1.6-.9-.8-1.6-1.9-1.8-2.2-.2-.3 0-.5.1-.6l.5-.6c.2-.2.2-.4.4-.6.1-.2 0-.4 0-.6 0-.2-.7-1.7-1-2.3-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.5.1-.8.4-.3.3-1 1-1 2.4 0 1.4 1 2.8 1.2 3 .1.2 2.1 3.2 5.1 4.5.7.3 1.3.5 1.7.6.7.2 1.4.2 1.9.1.6-.1 1.9-.8 2.1-1.5.3-.7.3-1.4.2-1.5-.1-.1-.3-.2-.6-.3z'/></svg>"); }

/* ============= WhatsApp Float ============= */
.hv-whatsapp {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    z-index: 50;
    transition: background-color .2s ease, transform .2s ease;
}
.hv-whatsapp:hover { background: #1ebe5b; transform: scale(1.05); }

/* ============= Loader & States ============= */
.hv-loader { padding: 32px; text-align: center; color: var(--hv-text-muted); font-family: var(--hv-font-body); }
.hv-loader--page { padding: 80px 0; }
.hv-empty { padding: 32px; text-align: center; color: var(--hv-text-muted); font-family: var(--hv-font-body); }

/* ============= Transitions ============= */
.hv-fade-enter-active, .hv-fade-leave-active { transition: opacity .18s ease, transform .18s ease; }
.hv-fade-enter-from { opacity: 0; transform: translateY(4px); }
.hv-fade-leave-to { opacity: 0; transform: translateY(-4px); }

/* ============= Responsive ============= */
@media (max-width: 960px) {
    .hv-shop { flex-direction: column; gap: 24px; }
    .hv-filters { width: 100%; order: 2; }
    .hv-product__inner { grid-template-columns: 1fr; gap: 28px; }
    .hv-product__title { font-size: 32px; }
    .hv-product__cols { grid-template-columns: 1fr; gap: 18px; }
    .hv-grid { grid-template-columns: repeat(2, 1fr); }
    .hv-grid--related { grid-template-columns: repeat(2, 1fr); }
    .hv-footer__inner { grid-template-columns: 1fr 1fr; }
    .hv-topbar__inner { grid-template-columns: 1fr; text-align: center; gap: 6px; }
    .hv-topbar__right { justify-content: center; }
    .hv-pagination__nums { display: none; }
}

@media (max-width: 640px) {
    .hv-grid, .hv-grid--related { grid-template-columns: 1fr 1fr; gap: 18px; }
    .hv-header__inner { flex-wrap: wrap; gap: 12px; padding: 16px; min-height: auto; }
    .hv-nav { order: 3; width: 100%; justify-content: center; gap: 18px; }
    .hv-btn--purple { width: auto; }
    .hv-btn--purple-ghost { width: auto; }
    .hv-header__cta--guest { order: 2; width: 100%; justify-content: center; margin-left: 0; }
    .hv-user { order: 2; margin-left: 0; }
    .hv-header__divider { display: none; }
    .hv-nav { margin-right: 0; }
    .hv-product__title { font-size: 26px; }
    .hv-footer__inner { grid-template-columns: 1fr; padding: 36px 16px 18px; }
    .hv-whatsapp { right: 14px; bottom: 14px; width: 48px; height: 48px; }
    .hv-card { padding: 16px; }
    .hv-card__title { font-size: 20px; }
    .hv-section-title { font-size: 20px; }
    .hv-user__name { font-size: 14px; }
    .hv-user__avatar { width: 32px; height: 32px; }
    .hv-logo__img { height: 20px; }
    .hv-shop__head { flex-wrap: wrap; row-gap: 8px; }
    .hv-order { margin-left: 0; }
    .hv-order__menu { left: 0; right: auto; }
}

@media (max-width: 420px) {
    .hv-grid, .hv-grid--related { grid-template-columns: 1fr; }
}

/* =========================================================
   Cart Drawer (MercadoLibre style)
   ========================================================= */
.hv-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
.hv-cart-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hv-cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 360px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: -5px 0 25px rgba(0, 0, 0, .2);
    display: flex;
    flex-direction: column;
    font-family: var(--hv-font-body);
    border-radius: 20px 0 0 20px;
    overflow: hidden;
    transition: right .3s ease;
}
.hv-cart-drawer.is-active { right: 0; }

.hv-cart-drawer__header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    background: #fff;
}
.hv-cart-drawer__header-left {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 4px;
}
.hv-cart-drawer__thumb {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
.hv-cart-drawer__thumb img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}
.hv-cart-drawer__check {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #00a650;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    padding: 2px 5px;
    line-height: 1;
    font-weight: 700;
}
.hv-cart-drawer__title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 3px;
    color: var(--hv-text);
}
.hv-cart-drawer__name {
    font-size: 13px;
    margin-bottom: 2px;
    color: var(--hv-text);
}
.hv-cart-drawer__qty {
    font-size: 12px;
    color: #666;
}
.hv-cart-drawer__close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.hv-cart-drawer__body {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
}
.hv-cart-drawer__related-title {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.hv-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.hv-related-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    border: none;
    transition: transform .15s ease;
    cursor: pointer;
}
.hv-related-card:hover { transform: translateY(-2px); }
.hv-related-card__media {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
    aspect-ratio: 1 / 1;
}
.hv-related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hv-related-card__plus {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    background: #fff;
    color: var(--hv-black);
    border: 1px solid var(--hv-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    padding: 0;
}
.hv-related-card__plus:hover {
    background: var(--hv-black);
    color: #fff;
    border-color: var(--hv-black);
}
.hv-related-card__plus:active { transform: scale(.88); }
.hv-related-card__title {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0;
    color: var(--hv-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hv-related-card__price {
    font-size: 13px;
    font-weight: 600;
    color: var(--hv-text);
    margin: 0;
}

.hv-cart-drawer__footer {
    flex-shrink: 0;
    padding: 16px;
    border-top: 1px solid #eee;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hv-cart-drawer__go {
    display: block;
    text-align: center;
    background: #FFFFFF;
    color: var(--hv-black);
    border: 2px solid var(--hv-black);
    padding: 12px;
    border-radius: 22px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hv-cart-drawer__go:hover {
    background: var(--hv-black);
    color: #FFFFFF;
    border-color: var(--hv-black);
}
.hv-cart-drawer__keep {
    display: block;
    text-align: center;
    background: transparent;
    color: var(--hv-text);
    padding: 12px;
    border-radius: 22px;
    border: 1px solid #00000026;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    transition: background-color .2s ease, color .2s ease;
}
.hv-cart-drawer__keep:hover { background: var(--hv-black); border-color: var(--hv-black); color: #FFFFFF; }

@media (min-width: 769px) {
    .hv-cart-drawer {
        width: 420px;
        right: -440px;
    }
    .hv-cart-drawer__header { padding: 20px 22px; }
    .hv-cart-drawer__thumb { width: 60px; height: 60px; }
    .hv-cart-drawer__title { font-size: 15px; }
    .hv-cart-drawer__name { font-size: 14px; }
    .hv-cart-drawer__qty { font-size: 13px; }
    .hv-cart-drawer__body { padding: 20px 22px; }
    .hv-cart-drawer__related-title { font-size: 14px; }
    .hv-cart-drawer__footer { padding: 18px 22px; }
    .hv-cart-drawer__go, .hv-cart-drawer__keep { font-size: 15px; padding: 14px; }
}

@media (max-width: 400px) {
    .hv-cart-drawer { width: 100%; right: -100%; border-radius: 0; }
}

/* =========================================================
   Login page
   ========================================================= */
.hv-login-page { background: var(--hv-bg); padding: 32px 0 80px; }

.hv-login {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.hv-login__title {
    font-family: var(--hv-font-body);
    font-size: 28px;
    font-weight: 700;
    color: var(--hv-text);
    margin: 0 0 8px;
    line-height: 1.2;
}
.hv-login__card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid #ECECEC;
    padding: 28px 24px;
    max-width: 460px;
    width: 100%;
    justify-self: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(15, 15, 20, .04);
}

.hv-login__label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--hv-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--hv-text);
}
.hv-login__req { color: #c0392b; font-weight: 700; }

.hv-login__input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-family: var(--hv-font-body);
    font-size: 15px;
    color: var(--hv-text);
    background: #FFFFFF;
    border: 1px solid #D9D9DE;
    border-radius: 8px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.hv-login__input:focus {
    border-color: var(--hv-text);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

.hv-login__remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--hv-font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--hv-text);
    cursor: pointer;
    user-select: none;
}
.hv-login__remember input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--hv-black);
    cursor: pointer;
}

.hv-login__submit {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: var(--hv-radius-pill);
    background: var(--hv-black);
    color: #FFFFFF;
    font-family: var(--hv-font-body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .3px;
    cursor: pointer;
    transition: background-color .2s ease, transform .15s ease;
    margin-top: 4px;
}
.hv-login__submit:hover { background: #222; }
.hv-login__submit:active { transform: scale(.98); }
.hv-login__submit:disabled { opacity: .6; cursor: progress; }

.hv-login__error {
    margin: 4px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fdecea;
    color: #a02622;
    font-family: var(--hv-font-body);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
}

.hv-login__forgot {
    margin-top: 4px;
    font-family: var(--hv-font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--hv-text-muted);
    text-align: center;
    text-decoration: underline;
    transition: color .15s ease;
}
.hv-login__forgot:hover { color: var(--hv-text); }

@media (min-width: 769px) {
    .hv-login__title { font-size: 32px; }
    .hv-login__card { padding: 36px 32px; }
}