/* ANELVIE Rebuild — global design system (child theme over Kadence) */

:root {
    --av-bg: #ffffff;
    --av-surface: #f7f7f8;
    --av-ink: #17181a;
    --av-ink-2: #56575d;
    --av-ink-3: #8b8c92;
    --av-line: #e8e8eb;
    --av-line-soft: #f1f1f3;
    --av-silver: #d7d8dc;
    --av-btn: #17181a;
    --av-btn-hover: #2c2d31;
    --av-btn-text: #ffffff;
    --av-radius-pill: 999px;
    --av-radius-card: 12px;
    --av-radius-img: 8px;
    --av-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --av-t-fast: 160ms;
    --av-t-mid: 260ms;
    --av-t-slow: 520ms;
}

body {
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em;
}

/* ---------- Typography ---------- */
.entry-content h1, .entry-content h2, .entry-content h3,
h1.entry-title, h2.entry-title, .woocommerce h2 {
    letter-spacing: -0.015em;
    font-weight: 600;
    color: var(--av-ink);
}
.entry-content h2, .woocommerce h2 {
    font-size: clamp(20px, 2vw, 22px);
}
.entry-content h3 {
    font-size: clamp(15px, 1.6vw, 18px);
}
p {
    color: var(--av-ink);
}

/* ---------- Buttons (Woo/Kadence) ---------- */
.wc-block-components-button:not(.is-link),
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce a.checkout-button,
.single_add_to_cart_button,
.woocommerce button.single_add_to_cart_button,
.woocommerce #payment #place_order,
.woocommerce .woocommerce-Button,
.wc-block-cart__submit-button,
.wc-block-checkout__place-order-button,
.wc-block-components-totals-coupon__button {
    border-radius: var(--av-radius-pill) !important;
    font-size: 14px !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600 !important;
    padding: 0.95em 2.2em !important;
    background: var(--av-btn) !important;
    color: var(--av-btn-text) !important;
    border: 1px solid var(--av-btn) !important;
    transition: background var(--av-t-fast) var(--av-ease), transform var(--av-t-fast) var(--av-ease), opacity var(--av-t-fast) var(--av-ease);
    box-shadow: none !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wp-block-button__link:hover,
.wc-block-components-button:not(.is-link):hover,
.single_add_to_cart_button:hover,
.woocommerce #payment #place_order:hover {
    background: var(--av-btn-hover) !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.single_add_to_cart_button:disabled {
    background: var(--av-silver) !important;
    border-color: var(--av-silver) !important;
    color: #6a6b70 !important;
    cursor: not-allowed;
    transform: none !important;
}

/* ---------- Forms ---------- */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce input[type="number"]:not(.qty),
.woocommerce input[type="search"],
.woocommerce select:not(.orderby),
.woocommerce textarea,
.woocommerce .input-text:not(.qty),
.wc-block-components-text-input input,
.wc-block-components-select .wc-block-components-select__select,
.wc-block-components-country-input .wc-block-components-country-input__select {
    border-radius: 10px !important;
    border: 1px solid var(--av-line) !important;
    background: #fff !important;
    padding: 0.85em 1em !important;
    font-size: 16px !important;
    transition: border-color var(--av-t-fast) var(--av-ease), box-shadow var(--av-t-fast) var(--av-ease);
    box-shadow: none !important;
}
.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus,
.wc-block-components-text-input input:focus {
    border-color: var(--av-ink) !important;
    box-shadow: 0 0 0 3px rgba(23, 24, 26, 0.08) !important;
    outline: none;
}

/* ---------- Header (Kadence) restyle ---------- */
.site-header {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--av-line-soft);
}
.site-header .header-navigation {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.site-header .header-navigation a {
    font-weight: 500;
    color: var(--av-ink);
}
.site-header .header-navigation a:hover {
    color: var(--av-ink-3);
}
.site-header .site-logo {
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
}

/* ---------- Woo loop / product cards (shop, categories, related) ---------- */
.woocommerce ul.products li.product,
.wc-block-grid__product {
    border-radius: var(--av-radius-card);
    overflow: hidden;
    transition: transform var(--av-t-mid) var(--av-ease);
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
}
.woocommerce ul.products li.product a img {
    border-radius: var(--av-radius-img);
    margin: 0;
    transition: transform var(--av-t-slow) var(--av-ease), opacity var(--av-t-mid) var(--av-ease);
}
.woocommerce ul.products li.product:hover a img {
    transform: scale(1.02);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--av-ink);
    padding: 0;
}
.woocommerce ul.products li.product .price {
    font-size: 14px;
    color: var(--av-ink-2);
    letter-spacing: 0.02em;
}
.woocommerce ul.products li.product .button {
    font-size: 12px;
    padding: 0.75em 1.6em;
}

/* ---------- Product page ---------- */
.single-product div.product {
    gap: 0;
}
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery__image a img {
    border-radius: var(--av-radius-img);
}
.single-product .product_title {
    font-size: clamp(21px, 2.2vw, 24px);
    letter-spacing: -0.02em;
    font-weight: 600;
    color: var(--av-ink);
}
.single-product .price {
    color: var(--av-ink) !important;
    font-size: 20px;
    letter-spacing: 0.01em;
}
.single-product .summary .product_meta,
.single-product .summary .woocommerce-product-details__short-description {
    color: var(--av-ink-2);
}

/* ---------- Cart / Checkout polish ---------- */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-cart #inner-wrap,
body.woocommerce-checkout #inner-wrap {
    background: #fff;
}

body.woocommerce-cart .content-area,
body.woocommerce-checkout .content-area {
    padding-block: clamp(28px, 4vw, 52px) 64px;
}

body.page:not(.home) #inner-wrap,
body.page:not(.home) .entry-hero {
    background: #fff;
}

body.page:not(.home) .entry-hero {
    height: auto !important;
    min-height: 0 !important;
    padding: 0;
}

body.page:not(.home) .entry-hero .entry-hero-container-inner {
    height: auto !important;
    min-height: 0 !important;
    padding-block: 24px 32px;
    background: #fff !important;
}

body.page:not(.home) .entry-hero .entry-header.page-title {
    height: auto !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0;
}

body.page:not(.home) .entry-hero .entry-hero-container-inner .entry-header.page-title h1.entry-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.18;
}

@media (max-width: 767px) {
    body.page:not(.home) .entry-hero .entry-hero-container-inner .entry-header.page-title h1.entry-title {
        font-size: 24px;
    }
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    color: var(--av-ink);
}
.woocommerce table.shop_table {
    border-radius: var(--av-radius-card);
    border: 1px solid var(--av-line);
    border-collapse: separate;
    overflow: hidden;
}
.woocommerce table.shop_table th {
    background: var(--av-surface);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px;
    color: var(--av-ink-2);
}
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar,
.wc-block-components-sidebar-layout {
    border-radius: var(--av-radius-card);
}

/* ---------- Footer (Kadence) restyle ---------- */
.site-footer {
    background: var(--av-surface);
    border-top: 1px solid var(--av-line-soft);
}
.site-footer .widget {
    font-size: 14px;
}
.site-footer .widget-title {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--av-ink);
    font-weight: 700;
}
.site-footer a {
    color: var(--av-ink-2);
    text-decoration: none;
}
.site-footer a:hover {
    color: var(--av-ink);
}
.site-footer-bottom {
    color: var(--av-ink-3);
    font-size: 13px;
}

/* ---------- Motion / reveal ---------- */
html.js-av html.js-av .av-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--av-t-slow) var(--av-ease), transform var(--av-t-slow) var(--av-ease);
    will-change: opacity, transform;
}
html.js-av html.js-av .av-reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    html.js-av .av-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Accessibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--av-ink);
    outline-offset: 3px;
}

/* ---------- BELVRIA-informed global storefront shell ---------- */
#masthead,
.site-header-wrap,
#anelvie-home > .h-announce,
#anelvie-home > .h-header,
#anelvie-home > .h-drawer {
    display: none !important;
}
.av-site-shell {
    position: sticky;
    top: -45px;
    z-index: 1000;
    width: 100%;
    background: #fff;
    color: #121212;
}
.av-announcement {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    width: 100%;
    height: 45px;
    padding: 0 34px;
    background: #deded2;
    color: #111;
    font-size: 14px;
    line-height: 1;
    text-align: center;
}
.av-announcement__messages { position: relative; min-width: 0; }
.av-announcement__message { display: none; }
.av-announcement__message.is-active { display: block; animation: av-shell-fade .32s var(--av-ease); }
.av-announcement__arrow {
    appearance: none;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #383838;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.av-announcement__arrow:last-child { justify-self: end; }
.av-site-header {
    position: relative;
    z-index: 1000;
    height: 80px;
    border-bottom: 1px solid #efefef;
    background: rgba(255,255,255,.98);
}
.av-site-header__inner {
    display: grid;
    grid-template-columns: 300px minmax(0,1fr) 300px;
    align-items: center;
    height: 100%;
    padding: 0 51px;
}
.av-site-brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    color: #111;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: .28em;
    line-height: 1;
    text-decoration: none;
}
.av-desktop-nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    align-self: stretch;
    gap: 28px;
}
.av-nav-group { display: flex; align-items: center; }
.av-nav-group__top {
    display: inline-flex;
    align-items: center;
    height: 100%;
    color: #111;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.av-nav-group__top::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    height: 1px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(.5);
    transition: opacity 160ms ease, transform 160ms ease;
}
.av-nav-group { position: relative; }
.av-nav-group:hover .av-nav-group__top::after,
.av-nav-group:focus-within .av-nav-group__top::after { opacity: 1; transform: scaleX(1); }
.av-mega-menu {
    position: fixed;
    top: 125px;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 54px;
    padding: 34px 52px 40px;
    border-top: 1px solid #eee;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 220ms var(--av-ease), transform 220ms var(--av-ease), visibility 220ms;
}
.av-nav-group:hover .av-mega-menu,
.av-nav-group:focus-within .av-mega-menu,
.av-nav-group.is-open .av-mega-menu { opacity: 1; visibility: visible; transform: none; }
.av-mega-menu__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 240px));
    align-content: start;
    gap: 12px 28px;
}
.av-mega-menu__heading {
    grid-column: 1 / -1;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.av-mega-menu__links a { color: #404044; font-size: 14px; text-decoration: none; }
.av-mega-menu__links a:hover { color: #000; text-decoration: underline; text-underline-offset: 4px; }
.av-mega-menu__feature {
    display: grid;
    grid-template-columns: 110px minmax(0,1fr);
    align-items: center;
    gap: 18px;
    color: #111;
    text-decoration: none;
}
.av-mega-menu__feature img { width: 110px; aspect-ratio: 4 / 5; object-fit: cover; }
.av-mega-menu__feature span { font-size: 18px; }
.av-header-tools {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}
.av-mobile-tools { display: none; }
.av-icon-button {
    appearance: none;
    position: relative;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    text-decoration: none;
    cursor: pointer;
}
.av-icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.25; }
.av-icon-button:hover { background: #f6f6f4; }
.av-site-shell .av-icon-button:focus-visible,
.av-panel .av-icon-button:focus-visible {
    color: var(--av-ink) !important;
    background: #f6f6f4 !important;
    outline: 2px solid var(--av-ink) !important;
    outline-offset: 3px;
    box-shadow: none !important;
}
.av-cart-count {
    position: absolute;
    right: 1px;
    bottom: 0;
    display: flex;
    min-width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    background: #111;
    color: #fff;
    font-size: 10px;
    line-height: 1;
}
.av-panel[hidden] { display: none !important; }
.av-panel { position: fixed; inset: 0; z-index: 2000; }
.av-panel__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(10,10,10,.38); cursor: default; transition: opacity 240ms var(--av-ease); }
.av-panel .av-mobile-drawer__panel,
.av-panel .av-cart-drawer__panel,
.av-panel .av-search-panel__dialog { transition: transform 240ms var(--av-ease), opacity 240ms var(--av-ease); }
.av-panel.is-closing .av-mobile-drawer__panel { transform: translateX(-100%); }
.av-panel.is-closing .av-cart-drawer__panel { transform: translateX(100%); }
.av-panel.is-closing .av-search-panel__dialog { opacity: 0; transform: translateY(12px); }
.av-panel.is-closing .av-panel__backdrop { opacity: 0; }
.av-panel__head { display: flex; min-height: 68px; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid #ebebeb; }
.av-panel__head strong { font-size: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.av-mobile-drawer__panel,
.av-cart-drawer__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(92vw, 430px);
    overflow-y: auto;
    background: #fff;
    animation: av-shell-slide 280ms var(--av-ease);
}
.av-mobile-drawer__panel { left: 0; }
.av-cart-drawer__panel { right: 0; animation-name: av-shell-slide-right; }
.av-mobile-nav { padding: 14px 24px 40px; }
.av-mobile-nav details { border-bottom: 1px solid #ececec; }
.av-mobile-nav summary { padding: 18px 0; color: #111; font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
.av-mobile-nav summary::-webkit-details-marker { display: none; }
.av-mobile-nav summary::after { content: '+'; float: right; font-size: 19px; font-weight: 400; }
.av-mobile-nav details[open] summary::after { content: '−'; }
.av-mobile-nav details > div { display: grid; gap: 2px; padding: 0 0 16px 14px; }
.av-mobile-nav a { padding: 8px 0; color: #57575b; font-size: 14px; text-decoration: none; }
.av-search-panel__dialog {
    position: relative;
    width: 100%;
    max-height: min(720px, 88vh);
    overflow-y: auto;
    background: #fff;
    animation: av-shell-drop 260ms var(--av-ease);
}
.av-search-form { position: relative; max-width: 880px; margin: 44px auto 28px; padding: 0 28px; }
.av-search-form input[type="search"] {
    width: 100%;
    height: 58px;
    padding: 0 4px;
    border: 0;
    border-bottom: 1px solid #111;
    border-radius: 0;
    background: #fff;
    color: #111;
    font-size: 28px;
    outline: 0;
}
.av-search-form input[type="search"]:focus-visible {
    outline: 2px solid var(--av-ink);
    outline-offset: 3px;
}
.av-search-results { display: grid; max-width: 880px; margin: 0 auto; padding: 0 28px 48px; gap: 1px; }
.av-search-result { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 18px; align-items: center; padding: 13px 0; border-bottom: 1px solid #eee; color: #111; text-decoration: none; }
.av-search-result__image img { display: block; width: 76px; aspect-ratio: 3/4; object-fit: cover; }
.av-search-result__text { display: grid; gap: 5px; }
.av-search-result__text strong { font-size: 15px; font-weight: 500; }
.av-search-result__text span { color: #666; font-size: 13px; }
.av-search-hint { color: #6a6a6f; font-size: 14px; }
.av-cart-drawer__body { padding: 0 24px 30px; }
.av-cart-empty { display: grid; min-height: 330px; place-content: center; justify-items: center; gap: 22px; text-align: center; }
.av-shell-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid #111; border-radius: 999px; color: #111; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.av-shell-button--dark { width: 100%; background: #111; color: #fff; }
.av-shipping-progress { padding: 22px 0; border-bottom: 1px solid #eee; }
.av-shipping-progress p { margin: 0 0 10px; color: #333; font-size: 13px; text-align: center; }
.av-shipping-progress__track { display: block; height: 3px; overflow: hidden; background: #e7e7e7; }
.av-shipping-progress__track span { display: block; height: 100%; background: #111; transition: width 320ms var(--av-ease); }
.av-mini-cart-items { display: grid; }
.av-mini-cart-item { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid #eee; }
.av-mini-cart-item__image img { display: block; width: 100px; aspect-ratio: 3/4; object-fit: cover; }
.av-mini-cart-item__info { display: grid; align-content: start; gap: 7px; }
.av-mini-cart-item__title { color: #111; font-size: 14px; line-height: 1.35; text-decoration: none; }
.av-mini-cart-item__meta,
.av-mini-cart-item__price,
.av-mini-cart-item__remove { color: #666; font-size: 12px; }
.av-mini-cart-item__remove { justify-self: start; text-decoration: underline; text-underline-offset: 3px; }
.av-cart-drawer__footer { display: grid; gap: 14px; padding-top: 20px; }
.av-cart-subtotal { display: flex; justify-content: space-between; font-size: 14px; }
.av-cart-view { justify-self: center; color: #333; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
body.av-panel-open { overflow: hidden; }
.av-site-shell--no-announcement { top: 0; }
@keyframes av-shell-fade { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@keyframes av-shell-slide { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes av-shell-slide-right { from { transform: translateX(100%); } to { transform: none; } }
@keyframes av-shell-drop { from { transform: translateY(-18px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 1180px) and (min-width: 1024px) {
    .av-site-header__inner { grid-template-columns: 210px minmax(0,1fr) 210px; padding: 0 28px; }
    .av-site-brand { font-size: 22px; }
    .av-desktop-nav { gap: 16px; }
    .av-nav-group__top { font-size: 12.5px; }
}
@media (max-width: 1023px) {
    .av-site-shell { top: -42px; }
    .av-site-shell--no-announcement { top: 0; }
    .av-announcement { height: 42px; grid-template-columns: 30px minmax(0,1fr) 30px; padding: 0 10px; font-size: 13px; }
    .av-announcement__arrow { width: 30px; height: 30px; }
    .av-site-header { height: 65px; }
    .av-site-header__inner { display: flex; justify-content: center; padding: 0 16px; }
    .av-site-brand { position: absolute; left: 50%; transform: translateX(-50%); font-size: 20px; letter-spacing: .26em; }
    .av-desktop-nav { display: none; }
    .av-mobile-tools { position: absolute; left: 12px; display: flex; }
    .av-header-tools { position: absolute; right: 12px; display: flex; }
    .av-desktop-only { display: none; }
    .av-icon-button { width: 38px; height: 38px; }
    .av-icon-button svg { width: 21px; height: 21px; }
    .av-cart-count { right: 0; bottom: -1px; }
    .av-search-form { margin-top: 28px; }
    .av-search-form input[type="search"] { height: 50px; font-size: 22px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .av-site-shell { top: -44px; }
    .av-site-shell--no-announcement { top: 0; }
    .av-announcement { height: 44px; }
    .av-site-header { height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
    .av-panel *, .av-site-shell * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* Reusable product and category cards used by the dynamic homepage. */
.av-products { display: grid; gap: 20px; }
.av-product { position: relative; display: grid; min-width: 0; align-content: start; gap: 12px; }
.av-product__media { display: block; min-width: 0; color: inherit; text-decoration: none; }
.av-product__frame { position: relative; display: block; overflow: hidden; background: #fff; }
.av-product__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .36s var(--av-ease), transform .55s var(--av-ease); }
.av-product__img--first { opacity: 1; }
.av-product__img--second { opacity: 0; }
.av-product--has-second:hover .av-product__img--first,
.av-product--has-second:focus-within .av-product__img--first { opacity: 0; }
.av-product--has-second:hover .av-product__img--second,
.av-product--has-second:focus-within .av-product__img--second { opacity: 1; }
.av-product__info { display: grid; gap: 4px; }
.av-product__title { color: #111; font-size: 13px; font-weight: 500; line-height: 1.45; text-decoration: none; }
.av-product__price { color: #686860; font-size: 12px; }
.av-cats { display: grid; gap: 20px; }
.av-cat { display: grid; min-width: 0; align-content: start; gap: 12px; color: #111; text-decoration: none; }
.av-cat__frame { display: block; overflow: hidden; background: #fff; }
.av-cat__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--av-ease); }
.av-cat:hover .av-cat__img,
.av-cat:focus-visible .av-cat__img { transform: scale(1.018); }
.av-cat__label { color: #111; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* Homepage v2 candidate only. The theme-level header remains the single global header. */
#anelvie-home-v2 {
  --hv2-ink: #11110f;
  --hv2-muted: #686860;
  --hv2-paper: #f5f4f0;
  --hv2-sage: #dfded2;
  --hv2-line: #e4e3de;
  --hv2-ease: cubic-bezier(.22, 1, .36, 1);
  display: block;
  width: 100%;
  overflow: hidden;
  background: #fff;
  color: var(--hv2-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#anelvie-home-v2 *,
#anelvie-home-v2 *::before,
#anelvie-home-v2 *::after { box-sizing: border-box; }
#anelvie-home-v2 h1,
#anelvie-home-v2 h2,
#anelvie-home-v2 h3,
#anelvie-home-v2 p { margin: 0; color: inherit; font: inherit; text-shadow: none; }
#anelvie-home-v2 img { display: block; width: 100%; max-width: none; }
#anelvie-home-v2 a { color: inherit; text-decoration: none; }
#anelvie-home-v2 a:focus-visible,
#anelvie-home-v2 [tabindex="0"]:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

#anelvie-home-v2 .hv2-shell { width: min(100%, 1440px); margin-inline: auto; padding-inline: 50px; }
#anelvie-home-v2 .hv2-section { padding-block: 72px 84px; }
#anelvie-home-v2 .hv2-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
#anelvie-home-v2 .hv2-section__head h2,
#anelvie-home-v2 .hv2-explore__intro h2 { font-size: 24px; font-weight: 600; line-height: 1.18; letter-spacing: .01em; }
#anelvie-home-v2 .hv2-text-link { display: inline-block; width: fit-content; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
#anelvie-home-v2 .hv2-text-link:hover { opacity: .62; }
#anelvie-home-v2 .hv2-button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; padding: 11px 24px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .13em; text-transform: uppercase; transition: color .2s var(--hv2-ease), background .2s var(--hv2-ease); }
#anelvie-home-v2 .hv2-button--light { border-color: #fff; background: #fff; color: #111; }
#anelvie-home-v2 .hv2-button--light:hover { background: transparent; color: #fff; }

#anelvie-home-v2 .hv2-hero { position: relative; height: calc(100svh - 125px); min-height: 680px; max-height: 920px; overflow: hidden; background: #d9d5cc; }
#anelvie-home-v2 .hv2-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s ease; }
#anelvie-home-v2 .hv2-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
#anelvie-home-v2 .hv2-hero__slide--editorial { background: #eeece8; }
#anelvie-home-v2 .hv2-hero__editorial-image { position: absolute; inset: 0 0 0 auto; width: 56%; height: 100%; object-fit: cover; object-position: center 42%; }
#anelvie-home-v2 .hv2-hero__editorial-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 25px; color: #171717; }
#anelvie-home-v2 .hv2-hero__editorial-content h2 { max-width: 42%; font-size: clamp(44px, 4.4vw, 56px); font-weight: 600; line-height: 1.06; letter-spacing: -.025em; text-transform: uppercase; }
#anelvie-home-v2 .hv2-hero__editorial-content .hv2-button { border-color: #171717; background: #171717; color: #fff; }
#anelvie-home-v2 .hv2-hero__controls { position: absolute; z-index: 3; left: 50%; bottom: 23px; display: flex; align-items: center; color: #fff; transform: translateX(-50%); }
#anelvie-home-v2 .hv2-hero__arrow { display: none; }
#anelvie-home-v2 .hv2-hero__dots { display: flex; gap: 3px; align-items: center; }
#anelvie-home-v2 .hv2-hero__dots button { display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
#anelvie-home-v2 .hv2-hero__dots button::after { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; box-shadow: 0 1px 3px rgba(0,0,0,.28); transition: opacity .2s ease, transform .2s ease; }
#anelvie-home-v2 .hv2-hero__dots button[aria-current="true"]::after { opacity: 1; transform: scale(1.35); }
#anelvie-home-v2 .hv2-hero:has(.hv2-hero__slide--editorial.is-active) .hv2-hero__controls { color: #171717; }
#anelvie-home-v2 .hv2-hero__picture,
#anelvie-home-v2 .hv2-hero__image { width: 100%; height: 100%; }
#anelvie-home-v2 .hv2-hero__picture { position: relative; display: block; z-index: 0; transition: opacity .3s var(--hv2-ease); }
#anelvie-home-v2 .hv2-hero__image { object-fit: cover; object-position: center; }
#anelvie-home-v2 .hv2-hero__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s var(--hv2-ease); }
#anelvie-home-v2 .hv2-hero.is-video-ready .hv2-hero__video { opacity: 1; }
#anelvie-home-v2 .hv2-hero.is-video-ready .hv2-hero__mobile-fallback { opacity: 0; }
#anelvie-home-v2 .hv2-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 8, 7, .44) 100%); pointer-events: none; }
#anelvie-home-v2 .hv2-hero__content { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding-bottom: 46px; color: #fff; }
#anelvie-home-v2 .hv2-hero__content h1 { max-width: 680px; font-size: clamp(44px, 4vw, 56px); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; text-transform: uppercase; }
#anelvie-home-v2 .hv2-hero__content p { max-width: 470px; font-size: 14px; line-height: 1.6; }

#anelvie-home-v2 .hv2-product-rail,
#anelvie-home-v2 .hv2-category-rail { scrollbar-color: #a5a49d transparent; scrollbar-width: thin; }
#anelvie-home-v2 .hv2-product-rail::-webkit-scrollbar,
#anelvie-home-v2 .hv2-category-rail::-webkit-scrollbar { height: 4px; }
#anelvie-home-v2 .hv2-product-rail::-webkit-scrollbar-thumb,
#anelvie-home-v2 .hv2-category-rail::-webkit-scrollbar-thumb { border-radius: 999px; background: #a5a49d; }

#anelvie-home-v2 .hv2-product-rail .av-products { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4.15); grid-template-columns: none !important; gap: 20px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 0 0 22px; scroll-snap-type: inline proximity; }
#anelvie-home-v2 .hv2-product-rail .av-products { scrollbar-width: none; -ms-overflow-style: none; }
#anelvie-home-v2 .hv2-product-rail .av-products::-webkit-scrollbar { display: none; width: 0; height: 0; }
#anelvie-home-v2 .hv2-product-rail .av-product { min-width: 0; scroll-snap-align: start; }
#anelvie-home-v2 .hv2-product-rail .av-product__frame { aspect-ratio: 3 / 4; border-radius: 0; background: #fff; }
#anelvie-home-v2 .hv2-product-rail .av-product__title { font-size: 14px; line-height: 1.45; }
#anelvie-home-v2 .hv2-product-rail .av-product__price { font-size: 12px; color: var(--hv2-muted); }
#anelvie-home-v2 .hv2-products-strip--selection { padding-top: 82px; }

#anelvie-home-v2 .hv2-campaign { position: relative; height: min(62vw, 720px); min-height: 570px; overflow: hidden; background: #d8d0c4; }
#anelvie-home-v2 .hv2-campaign__image { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; transform: scale(1.012); }
#anelvie-home-v2 .hv2-campaign__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 9, 8, .42), rgba(10, 9, 8, .04) 62%); }
#anelvie-home-v2 .hv2-campaign__content { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding-bottom: 52px; color: #fff; }
#anelvie-home-v2 .hv2-campaign__content h2 { max-width: 660px; font-size: clamp(38px, 4vw, 56px); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; }
#anelvie-home-v2 .hv2-campaign__content p { max-width: 500px; font-size: 14px; }

#anelvie-home-v2 .hv2-category-rail .av-cats { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 80px) / 5); grid-template-columns: none !important; gap: 20px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 0 0 20px; scroll-snap-type: inline proximity; }
#anelvie-home-v2 .hv2-category-rail .av-cat { scroll-snap-align: start; gap: 13px; }
#anelvie-home-v2 .hv2-category-rail .av-cat__frame { aspect-ratio: 4 / 5; border-radius: 0; }
#anelvie-home-v2 .hv2-category-rail .av-cat__label { font-size: 11px; letter-spacing: .13em; }

#anelvie-home-v2 .hv2-explore { padding: 84px 0 96px; background: var(--hv2-paper); }
#anelvie-home-v2 .hv2-explore__intro { display: grid; grid-template-columns: minmax(240px, .85fr) minmax(320px, 1.15fr) auto; align-items: end; gap: 30px; margin-bottom: 54px; }
#anelvie-home-v2 .hv2-explore__intro p { max-width: 560px; color: var(--hv2-muted); font-size: 15px; line-height: 1.7; }
#anelvie-home-v2 .hv2-editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
#anelvie-home-v2 .hv2-editorial-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
#anelvie-home-v2 .hv2-editorial-card__media { display: block; width: 100%; aspect-ratio: 4 / 5; margin-bottom: 23px; overflow: hidden; background: #fff; }
#anelvie-home-v2 .hv2-editorial-card__media img { height: 100%; object-fit: cover; transition: transform .75s var(--hv2-ease); }
#anelvie-home-v2 .hv2-editorial-card:hover .hv2-editorial-card__media img { transform: scale(1.025); }
#anelvie-home-v2 .hv2-editorial-card h3 { margin-bottom: 9px; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: .01em; text-transform: uppercase; }
#anelvie-home-v2 .hv2-editorial-card p { max-width: 360px; margin-bottom: 15px; color: var(--hv2-muted); font-size: 13px; line-height: 1.65; }

#anelvie-home-v2 .hv2-trust { border-block: 1px solid var(--hv2-line); background: #fff; }
#anelvie-home-v2 .hv2-trust__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 47px; }
#anelvie-home-v2 .hv2-trust__item { display: flex; min-width: 0; flex-direction: column; align-items: center; padding: 4px 24px; text-align: center; }
#anelvie-home-v2 .hv2-trust__item + .hv2-trust__item { border-left: 1px solid var(--hv2-line); }
#anelvie-home-v2 .hv2-trust__icon { display: block; width: 30px; height: 30px; margin-bottom: 16px; }
#anelvie-home-v2 .hv2-trust__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
#anelvie-home-v2 .hv2-trust__item h2 { margin-bottom: 7px; font-size: 12px; font-weight: 700; line-height: 1.35; letter-spacing: .1em; }
#anelvie-home-v2 .hv2-trust__item p { color: var(--hv2-muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
#anelvie-home-v2 .hv2-trust__item a { border-bottom: 1px solid currentColor; }

#anelvie-home-v2 .hv2-newsletter { padding: 68px 0 76px; background: var(--hv2-sage); text-align: center; }
#anelvie-home-v2 .hv2-newsletter__inner { display: flex; justify-content: center; }
#anelvie-home-v2 .hv2-newsletter .av-newsletter { width: min(100%, 580px); }
#anelvie-home-v2 .hv2-newsletter .av-newsletter__title { margin-bottom: 9px; font-size: 22px; font-weight: 600; letter-spacing: .06em; }
#anelvie-home-v2 .hv2-newsletter .av-newsletter__sub { margin-bottom: 22px; color: var(--hv2-muted); font-size: 13px; }

@media (max-width: 1023px) {
  #anelvie-home-v2 .hv2-shell { padding-inline: 28px; }
  #anelvie-home-v2 .hv2-hero { height: calc(100svh - 114px); min-height: 620px; }
  #anelvie-home-v2 .hv2-product-rail .av-products { grid-auto-columns: calc((100% - 36px) / 2.5); gap: 18px; }
  #anelvie-home-v2 .hv2-category-rail .av-cats { grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; }
  #anelvie-home-v2 .hv2-explore__intro { grid-template-columns: 1fr 1.2fr; }
  #anelvie-home-v2 .hv2-explore__intro .hv2-text-link { grid-column: 2; }
  #anelvie-home-v2 .hv2-editorial-grid { gap: 20px; }
  #anelvie-home-v2 .hv2-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #anelvie-home-v2 .hv2-trust__item:nth-child(3) { border-left: 0; }
  #anelvie-home-v2 .hv2-trust__item:nth-child(n+3) { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--hv2-line); }
}

@media (max-width: 767px) {
  #anelvie-home-v2 .hv2-shell { padding-inline: 16px; }
  #anelvie-home-v2 .hv2-section { padding-block: 46px 52px; }
  #anelvie-home-v2 .hv2-section__head { margin-bottom: 22px; }
  #anelvie-home-v2 .hv2-section__head h2,
  #anelvie-home-v2 .hv2-explore__intro h2 { font-size: 20px; line-height: 1.2; }
  #anelvie-home-v2 .hv2-hero { height: 62svh; min-height: 500px; max-height: 560px; }
  #anelvie-home-v2 .hv2-hero__image { object-position: center; }
  #anelvie-home-v2 .hv2-hero__video { display: none; }
  #anelvie-home-v2 .hv2-hero.is-video-ready .hv2-hero__mobile-fallback { opacity: 1; }
  #anelvie-home-v2 .hv2-hero__shade { background: linear-gradient(180deg, transparent 42%, rgba(8, 8, 7, .54) 100%); }
  #anelvie-home-v2 .hv2-hero__content { gap: 10px; padding-bottom: 18px; }
  #anelvie-home-v2 .hv2-hero__content h1 { max-width: 340px; font-size: 30px; line-height: 1.08; }
  #anelvie-home-v2 .hv2-hero__content p { max-width: 330px; font-size: 13px; line-height: 1.48; }
  #anelvie-home-v2 .hv2-hero__editorial-image { width: 100%; }
  #anelvie-home-v2 .hv2-hero__editorial-content { justify-content: flex-end; gap: 15px; padding-bottom: 74px; color: #fff; background: linear-gradient(180deg, transparent 46%, rgba(0,0,0,.53)); }
  #anelvie-home-v2 .hv2-hero__editorial-content h2 { max-width: 100%; font-size: 31px; }
  #anelvie-home-v2 .hv2-hero__editorial-content .hv2-button { border-color: #fff; background: #fff; color: #171717; }
  #anelvie-home-v2 .hv2-hero__controls, #anelvie-home-v2 .hv2-hero:has(.hv2-hero__slide--editorial.is-active) .hv2-hero__controls { left: 50%; right: auto; bottom: 11px; color: #fff; }
  #anelvie-home-v2 .hv2-button { min-height: 38px; padding: 10px 17px; font-size: 10px; }
  #anelvie-home-v2 .hv2-product-rail,
  #anelvie-home-v2 .hv2-category-rail { margin-right: -16px; }
  #anelvie-home-v2 .hv2-product-rail .av-products { grid-auto-columns: 78vw; gap: 10px; padding-right: 16px; padding-bottom: 14px; }
  #anelvie-home-v2 .hv2-product-rail .av-product { gap: 9px; }
  #anelvie-home-v2 .hv2-product-rail .av-product__title { font-size: 13px; }
  #anelvie-home-v2 .hv2-campaign { height: 112vw; min-height: 420px; max-height: 520px; }
  #anelvie-home-v2 .hv2-campaign__image { object-position: center 28%; }
  #anelvie-home-v2 .hv2-campaign__shade { background: linear-gradient(180deg, transparent 38%, rgba(8, 8, 7, .54) 100%); }
  #anelvie-home-v2 .hv2-campaign__content { gap: 10px; padding-bottom: 21px; }
  #anelvie-home-v2 .hv2-campaign__content h2 { max-width: 340px; font-size: 31px; line-height: 1.06; }
  #anelvie-home-v2 .hv2-campaign__content p { max-width: 325px; font-size: 13px; line-height: 1.5; }
  #anelvie-home-v2 .hv2-category-rail .av-cats { grid-auto-columns: 72vw; gap: 10px; padding-right: 16px; padding-bottom: 14px; }
  #anelvie-home-v2 .hv2-category-rail .av-cat__label { text-align: left; }
  #anelvie-home-v2 .hv2-products-strip--selection { padding-top: 52px; }
  #anelvie-home-v2 .hv2-explore { padding: 53px 0 61px; }
  #anelvie-home-v2 .hv2-explore__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; margin-bottom: 30px; }
  #anelvie-home-v2 .hv2-explore__intro p { font-size: 14px; }
  #anelvie-home-v2 .hv2-editorial-grid { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; padding-right: 16px; scroll-snap-type: inline mandatory; scrollbar-width: thin; }
  #anelvie-home-v2 .hv2-editorial-card { flex: 0 0 82vw; scroll-snap-align: start; }
  #anelvie-home-v2 .hv2-editorial-card__media { margin-bottom: 17px; }
  #anelvie-home-v2 .hv2-editorial-card h3 { font-size: 17px; }
  #anelvie-home-v2 .hv2-trust__grid { display: grid; grid-template-columns: 1fr; padding-block: 34px; }
  #anelvie-home-v2 .hv2-trust__item { padding: 23px 8px; }
  #anelvie-home-v2 .hv2-trust__item + .hv2-trust__item,
  #anelvie-home-v2 .hv2-trust__item:nth-child(n+3) { margin-top: 0; border-top: 1px solid var(--hv2-line); border-left: 0; }
  #anelvie-home-v2 .hv2-trust__item:first-child { padding-top: 0; }
  #anelvie-home-v2 .hv2-trust__item:last-child { padding-bottom: 0; }
  #anelvie-home-v2 .hv2-newsletter { padding: 48px 0 56px; }
}

@media (prefers-reduced-motion: reduce) {
  #anelvie-home-v2 *,
  #anelvie-home-v2 *::before,
  #anelvie-home-v2 *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Loop wishlist button: light, visible heart (was a dark block). */
.anelvie-wishlist-button.anelvie-loop-wishlist{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;width:auto!important;min-width:36px;height:36px!important;padding:0 8px!important;background:transparent!important;border:1px solid #ddd!important;border-radius:999px!important;color:#111!important}
.anelvie-wishlist-button.anelvie-loop-wishlist:hover{border-color:#111!important}
.anelvie-wishlist-button.anelvie-loop-wishlist svg{width:17px!important;height:17px!important;min-width:17px!important;flex:0 0 17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.5!important;display:block!important}
.anelvie-wishlist-button.anelvie-loop-wishlist.is-active svg{fill:currentColor!important}
