@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@400;500;600;700&family=Alexandria:wght@400;600;700&display=swap');

/* =====================================================================
   LIVA — games, top-up cards & digital codes
   Electric violet + arcade yellow on a soft lavender page. The header
   floats inside the home hero card and turns into a floating violet bar
   on scroll; the store-notify ticker runs under the hero. Violet game
   cards with a lifted photo and a starred name plate.

    0. Tokens & base               10. Store features
    1. Logo preloader (XP bar)     11. Customer reviews
    2. Section titles & links      12. FAQ
    3. Store-notify tickers        13. List of items
    4. Header (desktop)            14. Footer
    5. Header (phones & tablets)   15. Product page
    6. Hero card & reveals         16. Cart page
    7. Product cards + gallery     17. Cart sidebar
    8. Categories (card deck)      18. Responsive · reduced motion
    9. Brands (floating wave)
   ===================================================================== */

/* ---------- 0. Tokens & base ---------- */
:root {
    --liva-violet: var(--tw-accent, #5b4bd1);      /* primary (the reference bar) */
    --liva-violet-d: var(--tw-accent-dark, #4234b4);
    --liva-violet-dd: #2a1f7c;   /* deep — footer, preloader */
    /* header pill: the merchant's header colours (partials/theme-colors) or the design violet / white */
    --liva-header-bg: var(--tw-header-bg, var(--liva-violet));
    --liva-header-text: var(--tw-header-text, #fff);
    --liva-header-img: var(--tw-header-img-filter, brightness(0) invert(1));
    --liva-violet-l: var(--tw-accent-light, #7a6cf0);
    --liva-lilac: var(--tw-accent-soft, #efedfc);       /* soft tint */
    --liva-yellow: #f7d54a;      /* arcade accent */
    --liva-yellow-d: #e9bf19;
    --liva-pink: #ef5f72;        /* badges, sale */
    --liva-green: #2fbf86;
    --liva-page: #f7f6fd;
    --liva-ink: #1d1747;         /* headings */
    --liva-text: #2c2a45;
    --liva-mute: #77748f;
    --liva-line: #e6e3f7;

    --liva-r-sm: 10px;
    --liva-r: 16px;
    --liva-r-lg: 24px;
    --liva-shadow: 0 18px 36px -24px rgba(42, 31, 124, .45);
    --liva-shadow-lg: 0 30px 60px -30px rgba(42, 31, 124, .55);
    --liva-glow: 0 24px 44px -20px rgba(var(--tw-accent-rgb, 91, 75, 209), .75);
    --liva-ease: cubic-bezier(.22, .8, .25, 1);
    --liva-bounce: cubic-bezier(.34, 1.5, .64, 1);
    --liva-font: 'Readex Pro', 'Alexandria', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --liva-inset: clamp(8px, 1vw, 16px);                          /* hero card / bar gap to the window */
    --liva-bar-x: calc(var(--liva-inset) + clamp(8px, 2.2vw, 40px)); /* header side margin */
    --liva-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.6 5.7 4.8 9.9 10.5 10.5-5.7.6-9.9 4.8-10.5 10.5C11.4 16.8 7.2 12.6 1.5 12 7.2 11.4 11.4 7.2 12 1.5z'/%3E%3C/svg%3E");
}
html body {
    background-color: var(--liva-page);
    background-image:
        radial-gradient(900px 500px at 100% 0%, rgba(122, 108, 240, .10), transparent 70%),
        radial-gradient(700px 420px at 0% 30%, rgba(247, 213, 74, .08), transparent 70%);
    background-attachment: fixed;
    color: var(--liva-text);
    font-family: var(--liva-font);
}
/* text elements take the theme font (icon glyphs keep their icon font) */
body :is(h1, h2, h3, h4, h5, h6, p, button, input, select, textarea, label, li, a):not([class^="icon-"]):not([class*=" icon-"]) { font-family: var(--liva-font); }
body ::selection { background: var(--liva-violet); color: var(--tw-accent-text, #fff); }
body .angel_anime.animate__fadeInUp,
body .angel_anime.animate__fadeIn { animation-name: none; }
html, body { overflow-x: clip; }
html.liva-drawer-open { overflow: hidden; }
body :focus-visible { outline: 3px solid var(--liva-yellow) !important; outline-offset: 2px; }

/* ---------- 1. Logo preloader: a neon ring spins round the logo, stars orbit, an XP bar fills ---------- */
.liva-preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    background: radial-gradient(circle at 50% 42%, var(--tw-accent-dark, #4a3bc4) 0%, var(--liva-violet-dd) 55%, #150e45 100%);
    transition: opacity .55s ease .15s, visibility 0s linear .75s;
}
.liva-preloader__stage { position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.liva-preloader__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0 18%, var(--liva-yellow) 38%, #fff 50%, var(--liva-violet-l) 66%, transparent 80% 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    animation: liva-spin 1.4s linear infinite;
}
.liva-preloader__logo {
    position: relative;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 40px rgba(122, 108, 240, .55);
    animation: liva-breathe 1.8s ease-in-out infinite;
}
.liva-preloader__logo img { max-width: 92px; max-height: 70px; object-fit: contain; }
.liva-preloader__name { color: #fff; font-family: var(--liva-font); font-weight: 700; font-size: 18px; text-align: center; padding: 8px; }
.liva-preloader__orbit { position: absolute; inset: -14px; animation: liva-spin 4s linear infinite reverse; }
.liva-preloader__orbit i {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--liva-yellow);
    -webkit-mask: var(--liva-star) center / contain no-repeat;
    mask: var(--liva-star) center / contain no-repeat;
    animation: liva-twinkle 1.2s ease-in-out infinite;
}
.liva-preloader__orbit i:nth-child(1) { top: 0; left: 50%; margin-left: -8px; }
.liva-preloader__orbit i:nth-child(2) { bottom: 18%; left: 2%; width: 11px; height: 11px; animation-delay: .4s; }
.liva-preloader__orbit i:nth-child(3) { bottom: 18%; right: 2%; width: 13px; height: 13px; animation-delay: .8s; }
.liva-preloader__bar { display: flex; gap: 5px; padding: 5px; border-radius: 10px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); direction: ltr; }
.liva-preloader__bar i { width: 18px; height: 10px; border-radius: 3px; background: rgba(255, 255, 255, .14); animation: liva-xp 1.6s steps(1) infinite; }
.liva-preloader__bar i:nth-child(2) { animation-delay: .1s; } .liva-preloader__bar i:nth-child(3) { animation-delay: .2s; }
.liva-preloader__bar i:nth-child(4) { animation-delay: .3s; } .liva-preloader__bar i:nth-child(5) { animation-delay: .4s; }
.liva-preloader__bar i:nth-child(6) { animation-delay: .5s; } .liva-preloader__bar i:nth-child(7) { animation-delay: .6s; }
.liva-preloader__bar i:nth-child(8) { animation-delay: .7s; }
.liva-preloader__label { color: rgba(255, 255, 255, .7); font-family: var(--liva-font); font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
@keyframes liva-spin { to { transform: rotate(360deg); } }
@keyframes liva-breathe { 50% { transform: scale(1.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 60px rgba(247, 213, 74, .35); } }
@keyframes liva-twinkle { 50% { transform: scale(.55) rotate(45deg); opacity: .5; } }
@keyframes liva-xp { 0%, 100% { background: rgba(255, 255, 255, .14); box-shadow: none; } 10%, 70% { background: var(--liva-yellow); box-shadow: 0 0 10px rgba(247, 213, 74, .8); } }
/* exit: the stage warps forward and the screen fades */
.liva-preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.liva-preloader.is-done .liva-preloader__stage { transform: scale(1.35); opacity: 0; transition: transform .6s var(--liva-ease), opacity .45s ease; }

/* ---------- 2. Section titles & links: centred, violet, a star on each side ---------- */
body .s-block__title,
body .s-slider-block__title-right { text-align: center !important; }
body .s-block__title > .flex { align-items: center !important; }
body .s-block__title h2,
body .s-slider-block__title h2,
body .s-block__title .da-cp {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content !important;
    max-width: 100%;
    margin-inline: auto !important;
    font-weight: 700 !important;
    font-size: clamp(22px, 2.3vw, 31px) !important;
    line-height: 1.4 !important;
    color: var(--liva-violet) !important;
    text-align: center !important;
}
body .s-block__title h2::before,
body .s-block__title h2::after,
body .s-slider-block__title h2::before,
body .s-slider-block__title h2::after {
    content: "";
    flex: none;
    width: 16px;
    height: 16px;
    background: var(--liva-yellow);
    -webkit-mask: var(--liva-star) center / contain no-repeat;
    mask: var(--liva-star) center / contain no-repeat;
    transition: transform .6s var(--liva-bounce);
}
body .s-block:hover .s-block__title h2::before,
body .s-block:hover .s-slider-block__title h2::before { transform: rotate(-90deg) scale(1.25); }
body .s-block:hover .s-block__title h2::after,
body .s-block:hover .s-slider-block__title h2::after { transform: rotate(90deg) scale(1.25); }
body .s-block__title p,
body .s-block__title .da-ts { color: var(--liva-mute) !important; text-align: center !important; }
body .s-block__title { margin-bottom: 26px !important; }
body .s-slider-block__title { align-items: center !important; margin-bottom: 24px; gap: 12px; }
body .s-slider-block__title-right { flex: 1 1 auto; min-width: 0; width: auto !important; }
body .s-slider-block__title-left { flex: none; display: flex !important; align-items: center; gap: 10px; }
body .s-slider-block__display-all {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    padding: 9px 18px !important;
    border-radius: 999px;
    background: var(--liva-lilac) !important;
    border: 0 !important;
    color: var(--liva-violet) !important;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background-color .25s ease, color .25s ease;
}
body .s-slider-block__display-all * { color: inherit !important; }
body .s-slider-block__display-all::after { content: "←"; transition: transform .3s var(--liva-ease); }
html[dir="ltr"] body .s-slider-block__display-all::after { content: "→"; }
body .s-slider-block__display-all:hover { background: var(--liva-violet) !important; color: var(--tw-accent-text, #fff) !important; }
body .s-slider-block__display-all:hover::after { transform: translateX(-4px); }
html[dir="ltr"] body .s-slider-block__display-all:hover::after { transform: translateX(4px); }
body .s-slider-block__title-nav { display: flex !important; gap: 8px; }
body .s-slider-block__title-nav button.s-slider-nav-arrow {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1.5px solid var(--liva-line) !important;
    box-shadow: 0 8px 18px -12px rgba(42, 31, 124, .5) !important;
    color: var(--liva-violet) !important;
    display: grid !important;
    place-items: center;
    opacity: 1 !important;
    transition: background-color .2s ease, color .2s ease, transform .3s var(--liva-bounce);
}
body .s-slider-block__title-nav button.s-slider-nav-arrow svg { width: 20px; height: 20px; }
body .s-slider-block__title-nav button.s-slider-nav-arrow svg,
body .s-slider-block__title-nav button.s-slider-nav-arrow svg * { fill: currentColor !important; color: inherit !important; }
body .s-slider-block__title-nav button.s-slider-nav-arrow:not(.swiper-button-disabled):hover { background: var(--liva-violet) !important; border-color: var(--liva-violet) !important; color: var(--tw-accent-text, #fff) !important; transform: scale(1.08); }
body .s-slider-block__title-nav button.s-slider-nav-arrow.swiper-button-disabled { opacity: .4 !important; }
body .s-block--banners .banner { border-radius: var(--liva-r-lg) !important; overflow: hidden; }
body .s-block--fixed-banner .banner img,
body .s-block--banners .banner img { transition: transform 1.2s var(--liva-ease); }
body .s-block--fixed-banner:not(.s-block-0) .banner { border-radius: var(--liva-r-lg) !important; overflow: hidden; }
body .s-block--fixed-banner:not(.s-block-0) .banner:hover img,
body .s-block--banners .banner:hover img { transform: scale(1.03); }

/* ---------- 3. Store-notify: a looping ticker, each ad in its own style ---------- */
body .store-notify.liva-notify {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    min-height: 46px;
    overflow: hidden;
    transition: opacity .35s ease, transform .35s var(--liva-ease);
}
body .store-notify.is-closing { opacity: 0; transform: translateY(-8px); }
/* on the home page it runs under the hero, edge to edge */
body .main-container-wrapper .store-notify.liva-notify { margin: 16px calc(50% - 50vw) 8px; }
.liva-notify__viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
body .liva-notify__track {
    display: flex;
    width: max-content;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 46px !important;
    white-space: nowrap;
    animation: liva-marquee-rtl 34s linear infinite;
    will-change: transform;
}
html[dir="ltr"] body .liva-notify__track { animation-name: liva-marquee-ltr; }
body .store-notify:hover .liva-notify__track { animation-play-state: paused; }
.liva-notify__group { display: flex; align-items: center; gap: 34px; padding-inline-end: 34px; flex: none; }
body .liva-notify__group a { display: inline-flex; align-items: center; gap: 8px; color: inherit !important; text-decoration: none; }
body .liva-notify__group a:hover { text-decoration: underline; text-underline-offset: 5px; }
.liva-notify__sep { display: inline-grid; place-items: center; }
.liva-notify__sep svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
@keyframes liva-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes liva-marquee-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
body .store-notify .ad-close {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    z-index: 2;
    width: 26px;
    height: 26px;
    margin-top: -13px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 0 !important;
    background: rgba(29, 23, 71, .18);
    color: inherit;
    font-size: 10px;
    transition: background-color .2s ease, transform .3s var(--liva-ease);
}
body .store-notify .ad-close:hover { background: rgba(29, 23, 71, .4); transform: rotate(90deg); }
body .store-notify .liva-notify__viewport { margin-inline-end: 44px; }
/* 1st ad: the reference — outlined stars, a thin violet line above */
body .liva-notify--1 { box-shadow: inset 0 3px 0 var(--liva-violet-dd); }
/* 2nd ad: racing stripes, runs the other way, the stars spin */
body .liva-notify--2 {
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .1) 0 12px, transparent 12px 24px) !important;
}
body .liva-notify--2 .liva-notify__track { animation-direction: reverse; animation-duration: 40s; text-transform: uppercase; letter-spacing: .04em; }
body .liva-notify--2 .liva-notify__sep svg { fill: currentColor; stroke: none; animation: liva-spin 3s linear infinite; }
/* 3rd ad: an arcade LED strip — pixel dots, a quicker run, pulsing stars */
body .liva-notify--3 {
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.6px) !important;
    background-size: 8px 8px !important;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -2px 0 rgba(0, 0, 0, .15);
}
body .liva-notify--3 .liva-notify__track { animation-duration: 24s; font-size: 14px !important; }
body .liva-notify--3 .liva-notify__sep svg { fill: currentColor; animation: liva-twinkle 1.1s ease-in-out infinite; }

/* ---------- 4. Header — desktop: a floating violet bar (inside the hero on the home page) ---------- */
body header.store-header .navbar-brand { padding: 2px !important; display: inline-flex; }
body header.store-header .navbar-brand img {
    max-height: 58px;
    min-height: 30px;
    width: auto !important;
    height: auto !important;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(20, 12, 70, .25));
    transition: max-height .35s var(--liva-ease);
}
body header.store-header .navbar-brand h2 { color: var(--liva-header-text) !important; font-weight: 700; font-size: 22px; }
/* icon buttons: white glyphs on violet, a soft halo on hover */
body header.store-header #customerLogin,
body header.store-header .search-btn,
body header.store-header .mburger {
    position: relative;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: inline-grid !important;
    place-items: center;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--liva-header-text) !important;
    cursor: pointer;
    transition: background-color .2s ease, transform .3s var(--liva-bounce);
}
body header.store-header #customerLogin:hover,
body header.store-header .search-btn:hover,
body header.store-header .mburger:hover { background: rgba(255, 255, 255, .16) !important; transform: scale(1.06); }
body header.store-header #customerLogin i,
body header.store-header .search-btn i,
body header.store-header .mburger i,
body header.store-header #s-cart-icon i { color: var(--liva-header-text) !important; font-size: 22px !important; }
body header.store-header .mburger i { font-size: 26px !important; }
/* cart: a bag with a pink count bubble */
body header.store-header .s-cart-summary-wrapper {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 6px !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: var(--liva-header-text) !important;
    transition: background-color .2s ease;
}
body header.store-header .s-cart-summary-wrapper:hover { background: rgba(255, 255, 255, .14) !important; }
body header.store-header .s-cart-summary-wrapper * { color: var(--liva-header-text) !important; }
body header.store-header #s-cart-icon .header-btn { width: 34px; height: 34px; padding: 0 !important; display: grid; place-items: center; background: transparent !important; border: 0 !important; }
body header.store-header .s-cart-summary-count {
    top: -4px !important;
    inset-inline-start: 22px;
    left: auto;
    right: auto;
    min-width: 21px !important;
    height: 21px !important;
    padding: 0 5px;
    border-radius: 999px !important;
    background: var(--liva-pink) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700;
    line-height: 21px !important;
    text-align: center;
    box-shadow: 0 0 0 2px var(--liva-header-bg);
}
body header.store-header .s-cart-summary-count.liva-pop { animation: liva-pop .5s var(--liva-bounce); }
@keyframes liva-pop { 40% { transform: scale(1.45); } }
body header.store-header .s-cart-summary-content { margin: 0 !important; font-weight: 600; font-size: 14px; }
body header.store-header .s-cart-summary-content img,
body header.store-header .s-wallet-summary-count img { filter: var(--liva-header-img) !important; }
/* wallet: a small pill with the balance */
body header.store-header twsaa-cart-summary + twsaa-cart-summary .s-wallet-summary-count {
    position: static !important;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: var(--liva-header-text) !important;
    font-size: 12px !important;
    font-weight: 700;
}
/* language & currency: a tinted capsule */
body header.store-header .lang.btn {
    height: 46px;
    padding: 0 18px !important;
    border-radius: 14px !important;
    border: 0 !important;
    background: rgba(20, 12, 70, .16) !important;
    font-weight: 500;
    font-size: 15px;
    color: var(--liva-header-text) !important;
    transition: background-color .2s ease;
}
body header.store-header .lang.btn:hover { background: rgba(20, 12, 70, .3) !important; }
body header.store-header .lang.btn * { color: inherit !important; }
body header.store-header .lang.btn img { filter: var(--liva-header-img); }
body header.store-header .lang .flag { background: none !important; width: auto; height: auto; box-shadow: none; }
/* account: avatar · name · chevron */
body header.store-header .s-user-menu-wrapper { padding: 0 !important; margin: 0 !important; }
body header.store-header .s-user-menu-trigger-slot {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 4px !important;
    border-radius: 999px;
    background: transparent !important;
    color: var(--liva-header-text) !important;
    cursor: pointer;
    transition: background-color .2s ease;
}
body header.store-header .s-user-menu-trigger-slot:hover { background: rgba(255, 255, 255, .12) !important; }
body header.store-header .top-links-account {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid !important;
    place-items: center;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}
body header.store-header .top-links-account i { color: var(--liva-violet) !important; font-size: 20px !important; }
.liva-user-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--liva-header-text); }
.liva-user-caret { width: 14px; height: 14px; fill: none; stroke: var(--liva-header-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-inline-end: 6px; transition: transform .3s var(--liva-ease); }
body header.store-header .s-user-menu-trigger-slot.active .liva-user-caret { transform: rotate(180deg); }

@media (min-width: 1024px) {
    body header.store-header {
        position: sticky !important;
        top: 12px;
        z-index: 150;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        column-gap: 20px;
        margin: 12px var(--liva-bar-x) 18px;
        padding: 12px clamp(18px, 2.4vw, 40px);
        border-radius: 24px;
        background: var(--liva-header-bg);
        box-shadow: 0 22px 40px -26px rgba(42, 31, 124, .8);
        transition: background-color .35s ease, box-shadow .35s ease, padding .35s var(--liva-ease);
        animation: liva-fade .7s var(--liva-ease) both .75s;
    }
    html.liva-scrolled body header.store-header { padding-top: 8px; padding-bottom: 8px; box-shadow: 0 26px 50px -24px rgba(42, 31, 124, .75); }
    html.liva-scrolled body header.store-header .navbar-brand img { max-height: 42px; }
    body header.store-header #mainnav,
    body header.store-header #mainnav > .inner,
    body header.store-header #mainnav .container,
    body header.store-header #mainnav .container > .flex { display: contents !important; }
    body header.store-header #mainnav .container > .flex > div { width: auto !important; min-width: 0; }
    body header.store-header #mainnav .container > .flex > div:first-child { grid-column: 1; justify-content: flex-start; gap: 6px; }
    body header.store-header #mainnav .container > .flex > div:nth-child(2) { grid-column: 2; }
    body header.store-header #mainnav .container > .flex > div:last-child { grid-column: 3; justify-content: flex-end; gap: 12px; }
    /* burger and search live on the start side on desktop too */
    body header.store-header .search-btn.lg\:hidden,
    body header.store-header .mburger.lg\:hidden { display: inline-grid !important; }
    /* the burger opens the menu as a panel under the bar (liva.js).
       Only the menu (.container) is the panel: the search window (#searchProductModal)
       lives in the same row and must never be hidden or transformed with it. */
    body header.store-header .inner.nav-header {
        position: absolute;
        top: calc(100% + 12px);
        inset-inline: 0;
        z-index: 5;
        padding: 0 !important;
        background: transparent !important;
        pointer-events: none;
    }
    body header.store-header .inner.nav-header > .container,
    body header.store-header .inner.nav-header > twsaa-modal { pointer-events: auto; }
    body header.store-header .inner.nav-header > .container {
        padding: 14px 18px !important;
        border-radius: 22px;
        background: var(--tw-nav-bg, #fff) !important;
        box-shadow: var(--liva-shadow-lg);
        border: 1px solid var(--tw-nav-line, var(--liva-line)) !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(.98);
        transform-origin: 50% 0;
        transition: opacity .25s ease, transform .35s var(--liva-ease), visibility 0s linear .35s;
    }
    html.liva-menu-open body header.store-header .inner.nav-header > .container { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .35s var(--liva-ease), visibility 0s; }
    html.liva-menu-open body header.store-header .mburger { background: rgba(255, 255, 255, .16) !important; }
    body header.store-header .inner.nav-header > .container { max-width: none !important; margin: 0 !important; justify-content: center !important; }
    body header.store-header .inner.nav-header > .container > div:not(:first-child) { display: none !important; }
    body header.store-header .inner.nav-header > .container > div:first-child { width: 100% !important; }
    body header.store-header .inner.nav-header .main-menu,
    body header.store-header .inner.nav-header nav.mobile-menu { overflow: visible !important; width: 100%; background: transparent !important; }
    body header.store-header .inner.nav-header .main-menu {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    body header.store-header .inner.nav-header .main-menu > li.root-level { position: relative; }
    body header.store-header .inner.nav-header .main-menu > li.root-level:hover { z-index: 90; }
    body header.store-header .inner.nav-header .main-menu > li.root-level > a {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        padding: 10px 18px !important;
        border-radius: 999px;
        background: var(--tw-nav-hover, var(--liva-lilac));
        color: var(--tw-nav-text, var(--tw-header-text, var(--liva-ink))) !important;
        font-weight: 500 !important;
        font-size: 15px !important;
        white-space: nowrap;
        transition: background-color .2s ease, color .2s ease, transform .3s var(--liva-bounce);
    }
    body header.store-header .inner.nav-header .main-menu > li.root-level > a * { color: inherit !important; }
    body header.store-header .inner.nav-header .main-menu > li.root-level:hover > a { background: var(--liva-violet); color: var(--tw-accent-text, #fff) !important; transform: translateY(-2px); }
    html.liva-menu-open body header.store-header .inner.nav-header .main-menu > li.root-level { animation: liva-chip .45s var(--liva-ease) both; }
    html.liva-menu-open body header.store-header .inner.nav-header .main-menu > li.root-level:nth-child(n+4) { animation-delay: .04s; }
    html.liva-menu-open body header.store-header .inner.nav-header .main-menu > li.root-level:nth-child(n+6) { animation-delay: .08s; }
    html.liva-menu-open body header.store-header .inner.nav-header .main-menu > li.root-level:nth-child(n+8) { animation-delay: .12s; }
    @keyframes liva-chip { from { opacity: 0; transform: translateY(8px); } }
    body header.store-header .inner.nav-header .main-menu > li.has-children > a::after {
        content: "";
        width: 10px;
        height: 10px;
        border: 0 !important;
        opacity: .6;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
        transform: none;
        transition: transform .3s var(--liva-ease);
    }
    body header.store-header .inner.nav-header .main-menu > li.has-children:hover > a::after { transform: rotate(180deg); }
    body header.store-header .inner.nav-header .sub-menu {
        top: calc(100% + 6px) !important;
        z-index: 90 !important;
        min-width: 220px;
        padding: 8px !important;
        border-radius: 16px !important;
        background: #fff !important;
        border: 1px solid var(--liva-line) !important;
        box-shadow: var(--liva-shadow-lg) !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        overflow: visible;
        animation: liva-drop .3s var(--liva-ease) both;
    }
    body header.store-header .inner.nav-header .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
    body header.store-header .inner.nav-header .sub-menu li > a {
        display: flex !important;
        align-items: center;
        padding: 10px 14px !important;
        border-radius: 10px;
        color: var(--liva-text) !important;
        font-size: 14.5px !important;
        transition: background-color .2s ease, color .2s ease, padding .25s var(--liva-ease);
    }
    body header.store-header .inner.nav-header .sub-menu li > a * { color: inherit !important; }
    body header.store-header .inner.nav-header .sub-menu li > a:hover { background: var(--liva-lilac); color: var(--liva-violet) !important; padding-inline-start: 20px !important; }
    body header.store-header .inner.nav-header .sub-menu .sub-menu { top: -10px !important; }
    body header.store-header .inner.nav-header .sub-menu:has(li.has-children) { overflow: visible !important; }
    /* account dropdown: anchored under the account button */
    body header.store-header .s-user-menu-wrapper { position: relative !important; }
    body header.store-header .s-user-menu-wrapper .s-user-menu-dropdown {
        top: calc(100% + 14px) !important;
        left: auto !important;
        right: auto !important;
        inset-inline-end: 0 !important;
        min-width: 250px;
        background: #fff !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        opacity: 1 !important;
        border-radius: 18px !important;
        border: 1px solid var(--liva-line) !important;
        box-shadow: var(--liva-shadow-lg) !important;
        overflow: hidden;
        animation: liva-drop .3s var(--liva-ease) both;
    }
    body header.store-header .s-user-menu-dropdown-header { background: linear-gradient(135deg, var(--liva-violet), var(--liva-violet-l)) !important; }
    body header.store-header .s-user-menu-dropdown-header * { color: #fff !important; }
    body header.store-header .s-user-menu-dropdown-header-close svg { fill: #fff; }
    body header.store-header .s-user-menu-dropdown-item a { transition: background-color .2s ease, color .2s ease, padding .25s var(--liva-ease); }
    body header.store-header .s-user-menu-dropdown-item a:hover { background: var(--liva-lilac) !important; color: var(--liva-violet) !important; padding-inline-start: 26px !important; }
    body header.store-header .s-user-menu-dropdown-item a i { color: var(--liva-violet) !important; }
    body header.store-header .s-user-menu-dropdown-item-logout a,
    body header.store-header .s-user-menu-dropdown-item-logout a i { color: var(--liva-pink) !important; }

    /* home: the bar sits inside the hero card, transparent until the page scrolls */
    body.liva-home:has(.s-block-0.s-block--fixed-banner) header.store-header {
        margin-top: calc(var(--liva-inset) + 14px);
        margin-bottom: calc(-1 * (var(--liva-header-h, 82px) + 14px));
    }
    html:not(.liva-scrolled):not(.liva-menu-open) body.liva-home:has(.s-block-0.s-block--fixed-banner) header.store-header { background: transparent; box-shadow: none; }
    html.liva-menu-open body.liva-home header.store-header { background: var(--liva-header-bg); }
}
@keyframes liva-drop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes liva-fade { from { opacity: 0; } }

/* ---------- 5. Header — phones & tablets: a floating logo bar; account as a bottom sheet ---------- */
@media (max-width: 1023px) {
    /* only the logo bar sticks — no filter/transform on it (that would trap the account sheet) */
    body header.store-header { display: contents !important; }
    body header.store-header #mainnav {
        position: sticky !important;
        top: 8px;
        z-index: 150;
        margin: 8px var(--liva-inset) 14px;
        border-radius: 20px;
        background: var(--liva-header-bg);
        box-shadow: 0 16px 30px -20px rgba(42, 31, 124, .8) !important;
        transition: background-color .3s ease, box-shadow .3s ease;
    }
    body header.store-header #mainnav > .inner { background: transparent !important; }
    body header.store-header #mainnav .container > .flex { padding: 8px 0; }
    body header.store-header .inner.nav-header { background: transparent !important; padding: 0 !important; min-height: 0; }
    /* home: the bar sits on the hero card's violet top until the page scrolls */
    body.liva-home:has(.s-block-0.s-block--fixed-banner) header.store-header #mainnav { margin-bottom: calc(-1 * var(--liva-header-h, 62px)); }
    html:not(.liva-scrolled) body.liva-home:has(.s-block-0.s-block--fixed-banner) header.store-header #mainnav { box-shadow: none !important; background: transparent; }
    body header.store-header #mainnav:has(.s-user-menu-trigger-slot.active) { z-index: 10050 !important; }
    .liva-user-name, .liva-user-caret { display: none; }
    body header.store-header .top-links-account { width: 38px; height: 38px; }
    body header.store-header .s-user-menu-trigger-slot { padding: 0 !important; }
    /* the account menu opens as a bottom sheet above everything (floating buttons included) */
    body header.store-header .s-user-menu-toggler.opened::before { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; background: rgba(29, 23, 71, .55) !important; }
    body header.store-header .s-user-menu-dropdown {
        position: fixed !important;
        inset: auto 0 0 0 !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        z-index: 10051 !important;
        border: 0 !important;
        border-radius: 26px 26px 0 0 !important;
        background: #fff !important;
        box-shadow: 0 -20px 50px rgba(29, 23, 71, .3) !important;
        padding-bottom: env(safe-area-inset-bottom);
        animation: liva-sheet .4s var(--liva-ease) both;
    }
    @keyframes liva-sheet { from { transform: translateY(40px); opacity: 0; } }
    body header.store-header .s-user-menu-dropdown::before { content: ""; display: block; width: 44px; height: 5px; margin: 10px auto 0; border-radius: 9px; background: var(--liva-line); }
    body header.store-header .s-user-menu-dropdown-header { display: flex !important; align-items: center; padding: 14px 20px !important; border-bottom: 1px solid var(--liva-line) !important; }
    body header.store-header .s-user-menu-dropdown-header-content p { color: var(--liva-ink) !important; font-weight: 700; }
    body header.store-header .s-user-menu-dropdown-header-close { top: 50% !important; transform: translateY(-50%); }
    body header.store-header .s-user-menu-dropdown-list { display: block !important; padding: 6px 0 12px !important; }
    body header.store-header .s-user-menu-dropdown-item { display: block !important; }
    body header.store-header .s-user-menu-dropdown-item a { display: flex !important; align-items: center; gap: 12px; padding: 14px 22px !important; font-size: 15px !important; color: var(--liva-ink) !important; border-bottom: 1px solid var(--liva-line); }
    body header.store-header .s-user-menu-dropdown-item a i { color: var(--liva-violet) !important; }
    body header.store-header .s-user-menu-dropdown-item:last-child a { border-bottom: 0; }
    body header.store-header .s-user-menu-dropdown-item-logout a,
    body header.store-header .s-user-menu-dropdown-item-logout a i { color: var(--liva-pink) !important; }
}
@media (max-width: 767px) {
    body header.store-header #mainnav .container { padding-inline: 10px !important; }
    body header.store-header #mainnav .container > .flex { gap: 4px; }
    body header.store-header #mainnav .container > .flex > div:first-child,
    body header.store-header #mainnav .container > .flex > div:last-child { flex: 1 1 0%; width: auto !important; min-width: 0; gap: 2px; }
    body header.store-header #mainnav .container > .flex > div:nth-child(2) { flex: none; }
    body header.store-header .navbar-brand img { max-height: 40px !important; max-width: 104px; }
    body header.store-header .s-cart-summary-total,
    body header.store-header .s-cart-summary-content { display: none !important; }
    body header.store-header :is(#customerLogin, .search-btn, .mburger) { width: 38px !important; height: 38px !important; }
    body header.store-header .s-cart-summary-wrapper { height: 38px; padding: 0 2px !important; }
    body header.store-header :is(#customerLogin, .search-btn, .mburger, #s-cart-icon) i { font-size: 20px !important; }
    body header.store-header twsaa-cart-summary + twsaa-cart-summary .s-wallet-summary-count { display: none; }
    body header.store-header .s-cart-summary-count { inset-inline-start: 18px; min-width: 18px !important; height: 18px !important; line-height: 18px !important; font-size: 10px !important; padding: 0 4px; }
}
@media (max-width: 374px) {
    body header.store-header :is(#customerLogin, .search-btn, .mburger) { width: 32px !important; height: 32px !important; }
    body header.store-header .top-links-account { width: 32px; height: 32px; }
    body header.store-header .navbar-brand img { max-width: 80px; }
}
/* mobile drawer (Angle's mm-spn menu): violet title bar, roomy rows */
body .mm-spn.mm-spn--light { background: #fff; color: var(--liva-ink); }
body .mm-spn.mm-spn--navbar::before { color: #fff; }
body .mm-spn.mm-spn--navbar::after { background: linear-gradient(135deg, var(--liva-violet), var(--liva-violet-l)); color: #fff; font-weight: 700; font-size: 18px; }
body .mm-spn li::before { border-color: var(--liva-violet) !important; opacity: .8; }
body .mm-spn li a,
body .mm-spn li > span { color: var(--liva-ink) !important; font-weight: 500; }
body .mm-spn li:hover > a { color: var(--liva-violet) !important; }

/* ---------- 6. Hero card & reveals ---------- */
/* the first banner of the home page is a rounded card running almost edge to edge */
body.liva-home .main-container-wrapper > .container > .s-block-0.s-block--fixed-banner {
    position: relative;
    width: auto;
    max-width: none;
    margin: 0 calc(50% - 50vw + var(--liva-inset)) !important;
    padding: 0 !important;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--liva-violet-l), var(--liva-violet) 45%, var(--liva-violet-d));
    isolation: isolate;
}
body.liva-home .main-container-wrapper > .container > .s-block-0.s-block--fixed-banner > .container { max-width: none !important; width: 100% !important; padding: 0 !important; }
body.liva-home .main-container-wrapper > .container > .s-block-0.s-block--fixed-banner .banner { display: block; border-radius: 0 !important; }
body.liva-home .main-container-wrapper > .container > .s-block-0.s-block--fixed-banner .banner img { display: block; width: 100% !important; }
html.liva-loaded body.liva-home .main-container-wrapper > .container > .s-block-0.s-block--fixed-banner .banner img { animation: liva-hero 2.2s var(--liva-ease) both; }
@keyframes liva-hero { from { transform: scale(1.1); } to { transform: none; } }
@media (min-width: 1024px) {
    body.liva-home .main-container-wrapper:has(> .container > .s-block-0.s-block--fixed-banner) { padding-top: 0 !important; margin-top: 0 !important; }
    body.liva-home .main-container-wrapper > .container > .s-block-0.s-block--fixed-banner { margin-top: 0 !important; }
    body.liva-home .main-container-wrapper > .container > .s-block-0.s-block--fixed-banner .banner img {
        height: clamp(440px, 72vh, 760px) !important;
        object-fit: cover;
        object-position: center;
    }
    /* a violet shade at the top keeps the white header readable on any banner */
    body.liva-home .main-container-wrapper > .container > .s-block-0.s-block--fixed-banner::after {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 170px;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(rgba(42, 31, 124, .55), rgba(42, 31, 124, 0));
    }
}
@media (max-width: 1023px) {
    /* phones/tablets: one violet card — the logo bar on top, the banner below it */
    body.liva-home .main-container-wrapper:has(> .container > .s-block-0.s-block--fixed-banner) { padding-top: 0 !important; margin-top: 0 !important; }
    body.liva-home .main-container-wrapper > .container > .s-block-0.s-block--fixed-banner {
        margin-top: 0 !important;
        padding: calc(var(--liva-header-h, 62px) + 2px) 8px 8px !important;
        border-radius: 22px;
    }
    body.liva-home .main-container-wrapper > .container > .s-block-0.s-block--fixed-banner .banner { border-radius: 16px !important; overflow: hidden; }
    body.liva-home .main-container-wrapper > .container > .s-block-0.s-block--fixed-banner .banner img { min-height: 170px; object-fit: cover; }
}

/* reveals: sections rise in (liva.js adds .liva-reveal / .is-in) */
html.liva-reveal-on body .liva-reveal { transition: opacity .8s var(--liva-ease), transform .8s var(--liva-ease); transition-delay: var(--liva-d, 0s); }
html.liva-reveal-on body .liva-reveal:not(.is-in) { opacity: 0; transform: translateY(34px); }
html.liva-reveal-on body .liva-reveal:not(.is-in) img.lazyloading { opacity: 1; }
html.liva-reveal-on body .products-container > .product-entry.liva-reveal:not(.is-in) { transform: translateY(30px) scale(.96); }
/* the hero card never waits for the scroll */
html.liva-reveal-on body .s-block-0.liva-reveal { opacity: 1 !important; transform: none !important; }

/* ---------- 7. Product cards: violet game cards, the photo lifts out, a starred name plate ---------- */
body .product-entry.product-entry--vertical {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    position: relative;
    padding: 10px;
    background: linear-gradient(165deg, var(--liva-violet-l) 0%, var(--liva-violet) 42%, var(--liva-violet-d) 100%) !important;
    border: 0 !important;
    border-radius: 24px !important;
    overflow: visible !important;
    box-shadow: 0 16px 30px -22px rgba(42, 31, 124, .7);
    color: #fff;
    isolation: isolate;
    transition: transform .45s var(--liva-ease), box-shadow .45s ease !important;
}
/* light sweep across the card on hover */
body .product-entry.product-entry--vertical::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat;
    transition: background-position 0s;
}
@media (hover: hover) {
    body .product-entry.product-entry--vertical:hover { transform: translateY(-6px); box-shadow: var(--liva-glow); }
    body .product-entry.product-entry--vertical:hover::after { background-position: 150% 0; transition: background-position .9s var(--liva-ease); }
}
body .product-entry.product-entry--vertical > a { display: block; position: relative; margin: 0; border-radius: 18px; overflow: visible; }
body .product-entry .liva-gallery {
    position: relative;
    display: block !important;
    direction: ltr;
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .26), rgba(255, 255, 255, .07) 70%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
    transition: transform .55s var(--liva-bounce), box-shadow .45s ease;
}
@media (hover: hover) {
    /* the photo pops up out of the card */
    body .product-entry.product-entry--vertical:hover .liva-gallery { transform: translateY(-14px) scale(1.04); box-shadow: 0 22px 34px -18px rgba(20, 12, 70, .7), inset 0 0 0 1px rgba(255, 255, 255, .2); }
}
body .product-entry .liva-gallery__track { display: flex; transition: transform .6s var(--liva-ease); will-change: transform; }
body .product-entry .liva-gallery__track > img { flex: 0 0 100%; width: 100%; min-width: 0; background: transparent !important; }
body .product-entry .liva-gallery__dots {
    position: absolute; z-index: 3; bottom: 10px; left: 50%;
    display: flex; gap: 5px; padding: 4px 8px; border-radius: 999px;
    background: rgba(29, 23, 71, .5);
    transform: translate(-50%, 6px); opacity: 0;
    transition: opacity .3s ease, transform .35s var(--liva-ease);
}
body .product-entry .liva-gallery__dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .55); transition: width .35s var(--liva-ease), background-color .3s ease; }
body .product-entry .liva-gallery__dots i.is-on { width: 16px; background: var(--liva-yellow); }
body .product-entry:hover .liva-gallery__dots,
body .product-entry .liva-gallery.is-moved .liva-gallery__dots { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { body .product-entry .liva-gallery:not([data-count="1"]) .liva-gallery__dots { opacity: 1; transform: translate(-50%, 0); } }
body .product-entry .promo-title {
    top: 10px !important;
    inset-inline-start: 10px !important;
    left: auto;
    max-width: calc(100% - 20px) !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    background: var(--liva-pink) !important;
    color: #fff !important;
    opacity: 1 !important;
    font-size: 11px !important;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 3;
    transition: transform .55s var(--liva-bounce);
}
@media (hover: hover) { body .product-entry.product-entry--vertical:hover .promo-title { transform: translateY(-14px); } }
body .product-entry .sticker.new {
    top: 18px !important;
    inset-inline-end: 18px;
    left: auto;
    right: auto;
    z-index: 5;
    padding: 4px 11px !important;
    border-radius: 999px !important;
    background: var(--liva-yellow) !important;
    color: var(--liva-ink) !important;
    font-size: 11px !important;
    font-weight: 700;
    animation: liva-bob 2.4s ease-in-out infinite;
}
@keyframes liva-bob { 50% { transform: translateY(-3px); } }
body .product-entry .donating-wrap { padding: 12px 2px 2px !important; gap: 8px; flex: 1; }
/* name plate: a glassy pill with a star on each side */
body .product-entry .title-wrapper {
    position: relative;
    text-align: center !important;
    padding: 9px 30px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3);
    transition: background-color .3s ease;
}
body .product-entry .title-wrapper::before,
body .product-entry .title-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    background: var(--liva-yellow);
    -webkit-mask: var(--liva-star) center / contain no-repeat;
    mask: var(--liva-star) center / contain no-repeat;
    transition: transform .6s var(--liva-bounce);
}
body .product-entry .title-wrapper::before { inset-inline-start: 10px; }
body .product-entry .title-wrapper::after { inset-inline-end: 10px; }
@media (hover: hover) {
    body .product-entry:hover .title-wrapper { background: rgba(255, 255, 255, .16); }
    body .product-entry:hover .title-wrapper::before { transform: rotate(-180deg) scale(1.25); }
    body .product-entry:hover .title-wrapper::after { transform: rotate(180deg) scale(1.25); }
}
body .product-entry .product-entry__title { margin: 0; }
body .product-entry .product-entry__title a { color: #fff !important; font-size: 15.5px; font-weight: 600; line-height: 1.55; }
body .product-entry .s-product-card-content-subtitle { font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .72); margin: 2px 0 0; }
body .product-entry .s-product-card-content-subtitle:empty { display: none; }
body .product-entry .price-wrapper { margin: 2px 0 2px !important; }
body .product-entry .price-wrapper .on-sale { justify-content: center !important; align-items: baseline !important; gap: 6px; }
body .product-entry .price-label,
body .product-entry .price.d-flex,
body .product-entry .final-price { color: #fff !important; font-weight: 700 !important; font-size: 17px; }
body .product-entry .special-price { color: var(--liva-yellow) !important; font-weight: 700 !important; font-size: 17px; }
body .product-entry .regular-price { color: rgba(255, 255, 255, .6) !important; font-size: 13px; }
body .product-entry .price-wrapper img { filter: brightness(0) invert(1); }
body .product-entry .price-wrapper .special-price img { filter: brightness(0) saturate(100%) invert(84%) sepia(57%) saturate(735%) hue-rotate(354deg) brightness(101%); }
body .product-entry .product-footer { margin-top: auto !important; }
body .product-entry .cart-wish-wrap,
body .product-entry .cart-wish-wrap form { width: 100%; display: block; }
body .product-entry .addToCart {
    position: relative;
    overflow: hidden;
    height: 44px !important;
    width: 100%;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--liva-yellow) !important;
    color: var(--liva-ink) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    box-shadow: 0 6px 0 -1px var(--liva-yellow-d);
    transition: background-color .2s ease, transform .15s ease, box-shadow .15s ease !important;
}
body .product-entry .addToCart * { color: inherit !important; }
body .product-entry .addToCart:not([disabled]):hover { background: #ffe175 !important; }
body .product-entry .addToCart:not([disabled]):hover i { animation: liva-wiggle .5s ease; }
@keyframes liva-wiggle { 30% { transform: rotate(-14deg); } 60% { transform: rotate(10deg); } }
body .product-entry .addToCart:not([disabled]):active { transform: translateY(4px); box-shadow: 0 2px 0 -1px var(--liva-yellow-d); }
body .product-entry .addToCart[disabled],
body .product-entry .addToCart.s-button-disabled { background: rgba(255, 255, 255, .14) !important; color: rgba(255, 255, 255, .7) !important; box-shadow: none; cursor: not-allowed; opacity: 1 !important; }
body .products-container.grid { gap: 26px 20px !important; padding-top: 14px; }
body .s-block--best-offers .swiper { padding-top: 18px !important; margin-top: -18px; }
body .s-block--best-offers .swiper-slide,
body .mySwiper .slide--one-sixth { height: auto; padding-bottom: 14px; }

/* ---------- 8. Categories: portrait game cards on a fanned 3D deck (motion in liva.js) ---------- */
body .liva-cats { overflow: hidden; padding: 20px 6px 36px !important; }
body .liva-cats .swiper-slide { width: 210px !important; height: auto; transition-property: transform !important; transition-timing-function: var(--liva-ease) !important; }
body .liva-cats .banner-square { position: relative; padding: 0 !important; background: none !important; }
body .liva-cats .banner-square > a { display: block; position: relative; }
body .liva-cats .box-img {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto !important;
    border-radius: 26px !important;
    overflow: hidden;
    background: linear-gradient(160deg, var(--liva-lilac), #fff);
    box-shadow: 0 18px 30px -20px rgba(42, 31, 124, .6);
    transition: box-shadow .4s ease;
}
body .liva-cats .box-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; filter: none !important; transition: transform .8s var(--liva-ease); }
/* name: a frosted strip on the bottom of the card */
body .liva-cats .banner-square > div.relative {
    position: absolute !important;
    inset: auto 10px 10px 10px;
    z-index: 2;
    padding: 8px 10px !important;
    border-radius: 14px;
    background: rgba(29, 23, 71, .55) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    pointer-events: none;
    transform: translateY(6px);
    opacity: .96;
    transition: transform .4s var(--liva-ease), background-color .3s ease;
}
body .liva-cats .banner-square h3 { display: block; color: #fff !important; font-weight: 600; font-size: 14.5px !important; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
/* the front card wears an arcade ring */
body .liva-cats .swiper-slide-active .box-img { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--liva-yellow), 0 26px 40px -20px rgba(42, 31, 124, .8); }
@media (hover: hover) {
    body .liva-cats .banner-square:hover .box-img img { transform: scale(1.08); }
    body .liva-cats .banner-square:hover > div.relative { transform: none; background: var(--liva-violet) !important; }
}

/* ---------- 9. Brands: game coins floating on a wave (motion in liva.js) ---------- */
body .liva-brands { overflow: hidden; padding: 26px 6px 30px !important; }
body .liva-brands .swiper-wrapper { transition-timing-function: linear !important; }
body .liva-brands .swiper-slide { width: 150px !important; height: auto; transition-property: transform !important; transition-timing-function: linear !important; }
body .liva-brands .banner-square {
    max-width: none !important;
    height: 100%;
    padding: 0 !important;
    background: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
body .liva-brands .banner-square > a { display: block; width: 100%; }
body .liva-brands .box-img {
    width: 126px;
    height: 126px !important;
    margin: 0 auto;
    border-radius: 34px !important;
    background: #fff;
    box-shadow: 0 0 0 1px var(--liva-line), 0 16px 26px -18px rgba(42, 31, 124, .55);
    display: grid;
    grid-template: 100% / 100%;
    place-items: stretch;
    padding: 20px;
    overflow: hidden;
    transition: box-shadow .35s ease, border-radius .45s var(--liva-ease);
}
body .liva-brands .box-img img { width: 100% !important; height: 100% !important; object-fit: contain !important; filter: none !important; transition: transform .5s var(--liva-bounce); }
body .liva-brands .banner-square > div.relative { padding: 0 !important; width: 100%; }
body .liva-brands .banner-square h3 { font-weight: 600; font-size: 14px !important; color: var(--liva-ink) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; transition: color .2s ease; }
/* a logo that fails to load becomes a name plate (img::before only renders for broken images) */
body .liva-brands .box-img img { color: transparent; font-size: 0; position: relative; display: block; min-width: 100%; min-height: 100%; }
body .liva-brands .box-img img::before { content: attr(alt); position: absolute; inset: 0; display: grid; place-items: center; padding: 6px; border-radius: 22px; background: var(--liva-lilac); color: var(--liva-violet); font-weight: 600; font-size: 14px; line-height: 1.2; text-align: center; }
@media (hover: hover) {
    body .liva-brands .banner-square:hover .box-img { border-radius: 50% !important; box-shadow: 0 0 0 3px var(--liva-violet), 0 0 0 9px rgba(var(--tw-accent-rgb, 91, 75, 209), .15), var(--liva-glow); }
    body .liva-brands .banner-square:hover .box-img img { transform: scale(1.1) rotate(-6deg); }
    body .liva-brands .banner-square:hover h3 { color: var(--liva-violet) !important; }
}

/* ---------- 10. Store features: white tiles that power up to violet on hover ---------- */
body .myStoreSwiper { overflow: hidden; padding: 22px 4px 16px !important; }
body .myStoreSwiper .swiper-wrapper { transition-timing-function: var(--liva-ease) !important; }
body .myStoreSwiper .swiper-slide { height: auto; margin-top: 0 !important; }
body .myStoreSwiper .s-block--features__item {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    gap: 6px;
    padding: 30px 22px 26px !important;
    border-radius: var(--liva-r-lg) !important;
    background: #fff !important;
    border: 1px solid var(--liva-line);
    box-shadow: 0 14px 30px -26px rgba(42, 31, 124, .6) !important;
    overflow: hidden;
    isolation: isolate;
    transition: transform .45s var(--liva-ease), box-shadow .45s ease, border-color .3s ease;
}
/* the violet fill rises from the bottom */
body .myStoreSwiper .s-block--features__item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(165deg, var(--liva-violet-l), var(--liva-violet) 50%, var(--liva-violet-d));
    clip-path: circle(0% at 50% 100%);
    transition: clip-path .6s var(--liva-ease);
}
body .myStoreSwiper .feature-icon {
    position: relative;
    width: 72px !important;
    height: 72px !important;
    margin: 0 0 12px !important;
    border-radius: 22px !important;
    display: grid !important;
    place-items: center;
    background: var(--liva-lilac) !important;
    color: var(--liva-violet) !important;
    transform: rotate(45deg);
    transition: transform .6s var(--liva-bounce), background-color .3s ease, color .3s ease;
}
body .myStoreSwiper .feature-icon i { color: inherit !important; font-size: 28px !important; transform: rotate(-45deg); transition: transform .6s var(--liva-bounce); }
body .myStoreSwiper .s-block--features__item h2 { margin: 0 !important; font-weight: 600 !important; font-size: 18px !important; line-height: 1.5 !important; color: var(--liva-ink) !important; text-align: center !important; transition: color .3s ease; }
body .myStoreSwiper .s-block--features__item p { margin: 2px 0 0 !important; font-size: 14px !important; line-height: 1.85 !important; color: var(--liva-mute) !important; text-align: center !important; transition: color .3s ease; }
@media (hover: hover) {
    body .myStoreSwiper .s-block--features__item:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--liva-glow) !important; }
    body .myStoreSwiper .s-block--features__item:hover::before { clip-path: circle(150% at 50% 100%); }
    body .myStoreSwiper .s-block--features__item:hover .feature-icon { transform: rotate(135deg) scale(1.05); background: var(--liva-yellow) !important; color: var(--liva-ink) !important; }
    body .myStoreSwiper .s-block--features__item:hover .feature-icon i { transform: rotate(-135deg); }
    body .myStoreSwiper .s-block--features__item:hover h2 { color: #fff !important; }
    body .myStoreSwiper .s-block--features__item:hover p { color: rgba(255, 255, 255, .82) !important; }
}

/* ---------- 11. Customer reviews: player cards — a quote badge, yellow stars ---------- */
body .myReviewSwiper { overflow: hidden; padding: 24px 4px 24px !important; }
body .myReviewSwiper .swiper-wrapper { transition-timing-function: var(--liva-ease) !important; }
body .myReviewSwiper .swiper-slide { height: auto !important; margin-top: 0 !important; }
body .myReviewSwiper .swiper-slide > div {
    position: relative;
    height: 100%;
    border-radius: var(--liva-r-lg) !important;
    background: #fff !important;
    border: 1px solid var(--liva-line);
    box-shadow: 0 14px 30px -26px rgba(42, 31, 124, .6) !important;
    transition: transform .45s var(--liva-ease), box-shadow .45s ease, border-color .3s ease;
}
/* quote badge in the corner */
body .myReviewSwiper .swiper-slide > div::before {
    content: "”";
    position: absolute;
    top: -16px;
    inset-inline-end: 22px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--liva-violet);
    color: var(--tw-accent-text, var(--liva-yellow));
    font-family: Georgia, serif !important;
    font-size: 40px;
    line-height: 1;
    padding-top: 14px;
    transform: rotate(-8deg);
    box-shadow: 0 10px 20px -10px rgba(42, 31, 124, .8);
    transition: transform .5s var(--liva-bounce);
}
body .myReviewSwiper .swiper-slide > div > div { margin: 0 !important; padding: 28px 22px 22px !important; display: flex !important; flex-direction: column; gap: 16px; height: 100%; }
body .myReviewSwiper .swiper-slide > div > div > p { order: 1; flex: 1; margin: 0 !important; font-size: 15px !important; line-height: 1.9 !important; text-align: start !important; color: var(--liva-text) !important; }
body .myReviewSwiper .s-testimonials--slider--img { order: 2; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 12px !important; padding-top: 14px; border-top: 1px solid var(--liva-line); }
body .myReviewSwiper .testimonial__avatar { flex: none; order: 0; width: 46px !important; height: 46px !important; border-radius: 50% !important; overflow: hidden; box-shadow: 0 0 0 3px var(--liva-lilac), 0 0 0 5px var(--liva-violet) !important; background: var(--liva-lilac); }
body .myReviewSwiper .testimonial__avatar img { width: 100% !important; height: 100% !important; object-fit: cover; }
body .myReviewSwiper .s-testimonials--slider--img > p { order: 1; margin: 0; text-align: start; font-weight: 600; font-size: 15.5px !important; line-height: 1.3 !important; color: var(--liva-ink) !important; }
body .myReviewSwiper .testimonial__rating { order: 2; margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; }
body .myReviewSwiper .s-rating-stars-wrapper i { font-size: 13px; }
body .myReviewSwiper .s-rating-stars-wrapper i[style*="255, 215, 0"] { color: var(--liva-yellow-d) !important; }
body .myReviewSwiper .testimonial__icon { display: none; }
@media (hover: hover) {
    body .myReviewSwiper .swiper-slide > div:hover { transform: translateY(-6px); border-color: var(--liva-violet); box-shadow: var(--liva-shadow-lg) !important; }
    body .myReviewSwiper .swiper-slide > div:hover::before { transform: rotate(6deg) scale(1.08); }
}

/* ---------- 12. FAQ: two columns of violet bars with a white +/× button ---------- */
body .accordion {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    align-items: start;
}
body .accordion .accordion-item {
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--liva-violet) !important;
    box-shadow: 0 14px 26px -22px rgba(42, 31, 124, .8) !important;
    overflow: hidden;
    transition: background-color .3s ease, box-shadow .35s ease, transform .35s var(--liva-ease);
}
body .accordion .accordion-item:hover { transform: translateY(-2px); box-shadow: var(--liva-glow) !important; }
body .accordion .accordion-item.active { background: var(--liva-violet-d) !important; }
body .accordion .accordion-header {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 76px;
    padding: 14px 18px !important;
    background: transparent !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 500;
    font-size: 17px !important;
    line-height: 1.5;
    text-align: start;
    cursor: pointer;
}
/* the plus button sits on the far side (like the reference), turns into × */
body .accordion .accordion-icon {
    flex: none;
    order: 2;
    margin-inline-start: auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    position: relative;
    font-size: 0 !important;
    color: transparent !important;
    background: #fff;
    transition: transform .4s var(--liva-bounce), background-color .3s ease;
}
body .accordion .accordion-icon::before,
body .accordion .accordion-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: var(--liva-violet); }
body .accordion .accordion-icon::after { transform: rotate(90deg); }
body .accordion .accordion-item:hover .accordion-icon { transform: rotate(90deg); }
body .accordion .accordion-item.active .accordion-icon { transform: rotate(45deg); background: var(--liva-yellow); }
body .accordion .accordion-content { padding: 0 18px !important; background: transparent !important; }
body .accordion .accordion-item.active .accordion-content { max-height: 900px; padding-bottom: 4px !important; }
body .accordion .accordion-content p { color: rgba(255, 255, 255, .88) !important; font-size: 15px; line-height: 1.95; margin: 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); }

/* ---------- 13. List of items: game banners with a violet label ---------- */
body .s-block[data-item="list_of_items"] > .grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px !important; }
body .banner-entry,
body .banner-entry-list {
    position: relative;
    min-height: 250px;
    border-radius: var(--liva-r-lg) !important;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 16px 30px -24px rgba(42, 31, 124, .7);
    transition: box-shadow .4s ease, transform .45s var(--liva-ease);
}
body .banner-entry .lazy__bg,
body .banner-entry-list .lazy__bg { position: absolute; inset: 0; background-size: cover !important; background-position: center !important; transition: transform 1.1s var(--liva-ease); }
body .banner-entry.has-overlay::before,
body .banner-entry-list.has-overlay::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(42, 31, 124, .72)); }
body .banner-entry > a,
body .banner-entry-list > a { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: center; padding: 18px; }
body .banner-entry h3,
body .banner-entry-list h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 22px;
    border-radius: 14px;
    background: var(--liva-violet);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3);
    color: var(--tw-accent-text, #fff) !important;
    font-weight: 600;
    font-size: 16px !important;
    transition: background-color .25s ease, transform .45s var(--liva-bounce);
}
body .banner-entry h3::before,
body .banner-entry-list h3::before { content: ""; width: 13px; height: 13px; background: var(--liva-yellow); -webkit-mask: var(--liva-star) center / contain no-repeat; mask: var(--liva-star) center / contain no-repeat; transition: transform .6s var(--liva-bounce); }
@media (hover: hover) {
    body .banner-entry:hover,
    body .banner-entry-list:hover { transform: translateY(-5px); box-shadow: var(--liva-glow); }
    body .banner-entry:hover .lazy__bg,
    body .banner-entry-list:hover .lazy__bg { transform: scale(1.07); }
    body .banner-entry:hover h3,
    body .banner-entry-list:hover h3 { background: var(--liva-violet-d); transform: translateY(-5px); }
    body .banner-entry:hover h3::before,
    body .banner-entry-list:hover h3::before { transform: rotate(180deg) scale(1.2); }
}
body .myListSwiper .swiper-pagination-bullet-active { background: var(--liva-violet) !important; }

/* ---------- 14. Footer: a deep violet card with a starfield ---------- */
body .store-footer { position: relative; margin-top: 70px; padding: 0 var(--liva-inset) var(--liva-inset); }
body .store-footer .store-footer__inner {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background-color: var(--liva-violet-dd) !important;
    background-image:
        radial-gradient(600px 300px at 90% 0%, rgba(122, 108, 240, .45), transparent 70%),
        radial-gradient(500px 260px at 0% 100%, rgba(247, 213, 74, .12), transparent 70%),
        radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.4px) !important;
    background-size: auto, auto, 26px 26px !important;
    color: #dcd8f5;
}
body .store-footer .to-top { padding-top: 24px; }
body .store-footer .to-top a { padding: 9px 18px !important; border-radius: 999px; background: var(--liva-yellow); color: var(--liva-ink) !important; font-weight: 600; transition: transform .35s var(--liva-bounce); }
body .store-footer .to-top a * { color: inherit !important; }
body .store-footer .to-top a:hover { transform: translateY(-4px); }
body .store-footer .footer-container { border-color: rgba(255, 255, 255, .08) !important; padding: 36px 0 22px !important; }
body .store-footer .logo-footer { padding: 12px 18px; border-radius: 18px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); width: max-content; margin-inline: auto; }
body .store-footer .logo-footer img { max-height: 60px; width: auto; }
body .store-footer,
body .store-footer p,
body .store-footer span,
body .store-footer a,
body .store-footer .da-tm,
body .store-footer .text-text-grey,
body .store-footer .vat-num,
body .store-footer .vat-num * { color: #e4e1fa !important; }
body .store-footer h3 { position: relative; display: block; width: fit-content; font-weight: 600 !important; font-size: 18px !important; color: #fff !important; margin-bottom: 16px !important; padding-bottom: 10px; }
body .store-footer h3::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 30px; height: 3px; border-radius: 3px; background: var(--liva-yellow); transition: width .4s var(--liva-ease); }
body .store-footer .footer-container > div:hover h3::after { width: 54px; }
body .store-footer .footer-list a { display: inline-flex; align-items: center; gap: 8px; line-height: 2.2; opacity: .85; transition: opacity .2s ease, color .2s ease, transform .3s var(--liva-ease); }
body .store-footer .footer-list a:hover { opacity: 1; color: var(--liva-yellow) !important; transform: translateX(-4px); }
html[dir="ltr"] body .store-footer .footer-list a:hover { transform: translateX(4px); }
body .store-footer .social-links a { width: 42px; height: 42px; border-radius: 14px; display: inline-grid !important; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .2s ease, transform .35s var(--liva-bounce); }
body .store-footer .social-links a img,
body .store-footer .social-links a svg { filter: brightness(0) invert(1); max-height: 17px; }
body .store-footer .social-links a:hover { background: var(--liva-violet); transform: translateY(-4px) rotate(-6deg); }
body .store-footer .contact-links a { min-width: 64px; padding: 12px 10px !important; border-radius: 14px !important; background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(255, 255, 255, .12); color: #fff !important; transition: background-color .2s ease, transform .3s var(--liva-ease); }
body .store-footer .contact-links a * { color: inherit !important; }
body .store-footer .contact-links a:hover { background: var(--liva-violet) !important; transform: translateY(-3px); }
body .store-footer .footer-vat { align-items: center; }
body .store-footer .footer-vat img { border-radius: 8px; background: #fff; padding: 3px; }
body .store-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px !important; }
body .store-footer .footer-bottom li { background: #fff !important; border-radius: 8px !important; transition: transform .3s var(--liva-ease); }
body .store-footer .footer-bottom li:hover { transform: translateY(-3px); }
body .store-footer .copyrights p { color: #b3addb !important; }

/* certificates (VAT / CR / freelance / SBC): one aligned list — the markup centres only some
   of them and the logos come in different sizes, so each gets the same white tile */
body .store-footer .footer-container > div:has(.footer-vat) { gap: 12px !important; }
body .store-footer .footer-vat:has(.vat-num) { display: flex !important; align-items: center !important; justify-content: flex-start !important; gap: 12px !important; padding: 0 !important; }
body .store-footer .footer-vat:has(.vat-num) > a:first-child { flex: 0 0 52px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); transition: transform .35s var(--liva-bounce); }
body .store-footer .footer-vat:has(.vat-num) > a:first-child:hover { transform: translateY(-3px) rotate(-4deg); }
body .store-footer .footer-vat:has(.vat-num) > a:first-child img { width: 100% !important; height: 100% !important; object-fit: contain; padding: 0; border-radius: 0; background: none; }
body .store-footer .footer-vat:has(.vat-num) > .flex { margin: 0 !important; min-width: 0; }
body .store-footer .footer-vat .vat-num { display: flex; flex-direction: column; gap: 2px; text-align: start; line-height: 1.35; }
body .store-footer .footer-vat .vat-num p { color: rgba(228, 225, 250, .6) !important; font-size: 12.5px !important; }
body .store-footer .footer-vat .vat-num span { color: #fff !important; overflow-wrap: anywhere; }
body .store-footer .footer-container > div > .flex:has(> .footer-vat) { justify-content: flex-start !important; gap: 8px; flex-wrap: wrap; }
body .store-footer .footer-container > div > .flex > .footer-vat { padding: 0 !important; }
@media (max-width: 767px) {
    body .store-footer .footer-container > div:has(.footer-vat) { width: fit-content !important; align-self: center; margin-top: 8px; }
    body .store-footer .footer-container > div > .flex:has(> .footer-vat) { justify-content: center !important; }
}

/* certificate popups: centred, never taller than the screen, the certificate scrolls inside */
body .store-footer .twsaa-modal.s-modal-container { top: 0 !important; }
body .store-footer .twsaa-modal .s-modal-wrapper { height: 100% !important; overflow-y: auto !important; overscroll-behavior: contain; padding: 16px; display: flex !important; align-items: center; justify-content: center; }
body .store-footer .twsaa-modal .s-modal-spacer { display: none !important; }
body .store-footer .twsaa-modal .s-modal-body { max-height: calc(100dvh - 32px); overflow-y: auto !important; overscroll-behavior: contain; margin: 0 !important; border-radius: var(--liva-r-lg) !important; background: #fff !important; }
body .store-footer .twsaa-modal .s-modal-header { position: sticky; top: -1px; z-index: 2; background: #fff; padding-bottom: 10px; }
body .store-footer .twsaa-modal .s-modal-body :is(p, span, .s-modal-title) { color: var(--liva-ink) !important; }
body .store-footer .twsaa-modal .s-modal-body .s-modal-sub-title { color: var(--liva-mute) !important; }
body .store-footer .twsaa-modal .s-modal-close,
body .store-footer .twsaa-modal .s-modal-close * { color: var(--liva-ink) !important; }
body .store-footer .twsaa-modal .s-modal-body img { height: auto; border-radius: var(--liva-r-sm); }

/* ---------- 15. Product page ---------- */
body section.product-detail { color: var(--liva-text); }
body section.product-detail .sidebar { top: calc(var(--liva-header-h, 82px) + 28px) !important; }
body section.product-detail .product-hero-image {
    position: relative;
    border-radius: 28px !important;
    background: #fff !important;
    box-shadow: 0 0 0 1px var(--liva-line), 0 24px 44px -32px rgba(42, 31, 124, .6);
    overflow: hidden;
    padding: 14px;
}
body section.product-detail .product-hero-image img { border-radius: 20px !important; transition: transform .8s var(--liva-ease); }
@media (hover: hover) { body section.product-detail .product-hero-image:hover img { transform: scale(1.04); } }
body section.product-detail .discountPercentage {
    position: absolute;
    top: 22px;
    inset-inline-start: 22px;
    z-index: 3;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    background: var(--liva-pink) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 13px !important;
    animation: liva-bob 2.4s ease-in-out infinite;
}
body section.product-detail .thumb-frame,
body section.product-detail .gallery-thumb,
body section.product-detail [class*="thumbnails"] img {
    border-radius: 14px !important;
    border: 2px solid var(--liva-line) !important;
    background: #fff;
    transition: border-color .2s ease, transform .3s var(--liva-ease);
}
body section.product-detail .thumb-frame:hover,
body section.product-detail .gallery-thumb:hover { transform: translateY(-3px); }
body section.product-detail .thumb-frame.active,
body section.product-detail .gallery-thumb.active,
body section.product-detail .swiper-slide-thumb-active img { border-color: var(--liva-violet) !important; }
body section.product-detail .swiper-button-next,
body section.product-detail .swiper-button-prev {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 18px -10px rgba(42, 31, 124, .55);
    color: var(--liva-violet) !important;
    transition: background-color .2s ease, color .2s ease;
}
body section.product-detail .swiper-button-next::after,
body section.product-detail .swiper-button-prev::after { font-size: 15px !important; font-weight: 900; }
body section.product-detail .swiper-button-next:hover,
body section.product-detail .swiper-button-prev:hover { background: var(--liva-violet); color: var(--tw-accent-text, #fff) !important; }
body section.product-detail h1 {
    font-weight: 700 !important;
    font-size: clamp(23px, 2.5vw, 33px) !important;
    line-height: 1.45 !important;
    color: var(--liva-ink);
}
body section.product-detail .s-rating-stars-wrapper i { color: var(--liva-yellow-d) !important; }
body section.product-detail .price { margin-top: 16px !important; }
body section.product-detail .productDetails { gap: 12px !important; align-items: baseline !important; }
body section.product-detail .special-price,
body section.product-detail .price-label,
body section.product-detail .final-price { font-weight: 700 !important; font-size: 30px !important; color: var(--liva-violet) !important; }
body section.product-detail .regular-price ~ .special-price { color: var(--liva-pink) !important; }
body section.product-detail .regular-price { color: var(--liva-mute) !important; font-size: 16px !important; }
/* details rows */
body section.product-detail section.details { background: #fff !important; border: 1px solid var(--liva-line) !important; border-radius: 14px !important; margin: 0 0 8px !important; transition: border-color .2s ease; }
body section.product-detail section.details:hover { border-color: var(--liva-violet) !important; }
body section.product-detail .details__title { color: var(--liva-mute) !important; font-weight: 500; }
body section.product-detail .details__title i { color: var(--liva-violet) !important; }
body section.product-detail .details__action span { font-weight: 700; color: var(--liva-ink); }
body section.product-detail .product-metadata.weight { color: var(--liva-mute); font-size: 13px; margin: 10px 0; }
/* options: chips */
body section.product-detail .s-product-options-option-label { font-weight: 600; color: var(--liva-ink); }
body section.product-detail .s-product-options-option-content input:not([type="radio"]):not([type="checkbox"]),
body section.product-detail .s-product-options-option-content select,
body section.product-detail .s-product-options-option-content textarea { border-radius: 12px !important; border: 1.5px solid var(--liva-line) !important; transition: border-color .2s ease; }
body section.product-detail .s-product-options-option-content :is(input, select, textarea):focus { border-color: var(--liva-violet) !important; outline: none; box-shadow: 0 0 0 4px rgba(var(--tw-accent-rgb, 91, 75, 209), .12); }
/* buy bar */
body section.product-detail .sticky-product-bar {
    border-radius: 22px !important;
    background: #fff !important;
    border: 1px solid var(--liva-line);
    box-shadow: var(--liva-shadow) !important;
}
body .s-quantity-input-container { border: 0 !important; border-radius: 14px !important; background: var(--liva-lilac) !important; padding: 3px; overflow: hidden; }
body .s-quantity-input-button {
    width: 38px !important;
    height: 38px !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: var(--liva-violet) !important;
    font-weight: 900;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
body .s-quantity-input-button:hover { background: var(--liva-violet) !important; color: var(--tw-accent-text, #fff) !important; }
body .s-quantity-input-button:active { transform: scale(.9); }
body .s-quantity-input-input { background: transparent !important; font-weight: 700 !important; color: var(--liva-ink) !important; border: 0 !important; }
body section.product-detail .sticky-product-bar button[type="submit"] {
    position: relative;
    overflow: hidden;
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--liva-violet-l), var(--liva-violet) 55%, var(--liva-violet-d)) !important;
    color: #fff !important;
    font-weight: 600 !important;
    min-height: 52px;
    box-shadow: 0 14px 26px -16px rgba(var(--tw-accent-rgb, 91, 75, 209), .9);
    transition: transform .2s ease, box-shadow .3s ease !important;
}
body section.product-detail .sticky-product-bar button[type="submit"] * { color: inherit !important; }
body section.product-detail .sticky-product-bar button[type="submit"]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .3) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat;
    animation: liva-shine 3.2s ease-in-out infinite;
}
@keyframes liva-shine { 0%, 55% { background-position: -150% 0; } 100% { background-position: 150% 0; } }
body section.product-detail .sticky-product-bar button[type="submit"]:not([disabled]):hover { transform: translateY(-2px); box-shadow: var(--liva-glow); }
body section.product-detail .sticky-product-bar button[type="submit"][disabled] { background: #e9e7f4 !important; color: var(--liva-mute) !important; box-shadow: none; }
body section.product-detail .sticky-product-bar button[type="submit"][disabled]::after { display: none; }
/* tabs (description / offers / reviews) */
body section.product-detail .s-product-tabs .nav-tabs { gap: 8px; border: 0 !important; }
body section.product-detail .s-product-tabs .nav-link {
    border-radius: 999px !important;
    background: var(--liva-lilac) !important;
    border: 0 !important;
    color: var(--liva-violet) !important;
    font-weight: 600;
    padding: 9px 20px !important;
    transition: background-color .2s ease, color .2s ease;
}
body section.product-detail .s-product-tabs .nav-link.active,
body section.product-detail .s-product-tabs .nav-link:hover { background: var(--liva-violet) !important; color: var(--tw-accent-text, #fff) !important; }
body section.product-detail .s-product-tabs .tab-content { margin-top: 12px; border-radius: var(--liva-r-lg) !important; border: 1px solid var(--liva-line); background: #fff; }
body section.product-detail .s-comment-form-content textarea,
body section.product-detail .s-comment-form-input { border-radius: 14px !important; border: 1.5px solid var(--liva-line) !important; background: #fff !important; }
body section.product-detail .s-comment-form-content textarea:focus { border-color: var(--liva-violet) !important; outline: none; }
body section.product-detail .comment { border-radius: 16px; background: var(--liva-lilac) !important; padding: 12px; }
body section.product-detail #load-more,
body section.product-detail .s-comment-form-content button { border-radius: 12px !important; background: var(--liva-violet) !important; border: 0 !important; color: var(--tw-accent-text, #fff) !important; }

/* ---------- 16. Cart page ---------- */
body .container > .nav-header.bg-gray-100,
body .nav-header.bg-gray-100 {
    margin-top: 6px;
    border-radius: var(--liva-r-lg);
    padding: 30px 28px !important;
    background: linear-gradient(135deg, var(--liva-violet-l), var(--liva-violet) 50%, var(--liva-violet-d)) !important;
    color: #fff;
    position: relative;
    overflow: hidden;
}
/* a gamepad floats in the corner, stars twinkle */
body .nav-header.bg-gray-100::after {
    content: "🎮";
    position: absolute;
    inset-inline-end: 34px;
    top: 50%;
    font-size: 54px;
    line-height: 1;
    transform: translateY(-50%) rotate(-12deg);
    animation: liva-float 4s ease-in-out infinite;
}
body .nav-header.bg-gray-100::before {
    content: "";
    position: absolute;
    inset-inline-end: 110px;
    top: 22px;
    width: 18px;
    height: 18px;
    background: var(--liva-yellow);
    -webkit-mask: var(--liva-star) center / contain no-repeat;
    mask: var(--liva-star) center / contain no-repeat;
    animation: liva-twinkle 1.6s ease-in-out infinite;
}
@keyframes liva-float { 50% { transform: translateY(-62%) rotate(8deg); } }
body .nav-header.bg-gray-100 h1 { font-weight: 700 !important; font-size: clamp(23px, 2.6vw, 32px) !important; color: #fff !important; }
body .nav-header.bg-gray-100 a,
body .nav-header.bg-gray-100 span,
body .nav-header.bg-gray-100 li,
body .nav-header.bg-gray-100 i { color: #e9e6ff !important; }
body .s-conditional-offer-progress-container,
body .s-conditional-offer-container { border-radius: var(--liva-r-lg) !important; border: 1px solid var(--liva-line); box-shadow: none !important; }
body .s-conditional-offer-progress-line-container { height: 10px !important; border-radius: 999px; background: var(--liva-lilac) !important; overflow: hidden; }
body .s-conditional-offer-progress-line-active { border-radius: 999px; background: linear-gradient(90deg, var(--liva-violet), var(--liva-yellow)) !important; }
body .s-conditional-offer-checkpoint { background: #fff !important; border: 2px solid var(--liva-violet) !important; font-weight: 700; }
body .main-content .cart-item {
    position: relative;
    border-radius: var(--liva-r-lg) !important;
    border: 1px solid var(--liva-line);
    background: #fff !important;
    box-shadow: 0 14px 30px -28px rgba(42, 31, 124, .6) !important;
    padding: 18px !important;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .35s ease, transform .35s var(--liva-ease);
}
/* a violet edge on the start side */
body .main-content .cart-item::before { content: ""; position: absolute; top: 18px; bottom: 18px; inset-inline-start: 0; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(var(--liva-violet), var(--liva-yellow)); }
html[dir="rtl"] body .main-content .cart-item::before { border-radius: 4px 0 0 4px; }
body .main-content .cart-item:hover { border-color: var(--liva-violet); box-shadow: var(--liva-shadow) !important; }
body .main-content .cart-item img { border-radius: 14px !important; border: 1px solid var(--liva-line) !important; background: #fff; }
body .main-content .cart-item a { color: var(--liva-ink); font-weight: 600; }
body .main-content .cart-item .item-price.text-red-400 { color: var(--liva-violet) !important; font-weight: 700; font-size: 15px !important; }
body .main-content .cart-item .text-primary,
body .main-content .cart-item [class*="text-green"] { color: var(--liva-violet) !important; font-weight: 700; }
body .main-content .cart-item .s-cart-item-offers-box { border-radius: 12px; background: #fff7d6 !important; }
body .main-content .cart-item .btn--delete { border-radius: 12px !important; background: #fdeef0 !important; color: var(--liva-pink) !important; border: 0 !important; font-weight: 600; transition: background-color .2s ease, color .2s ease; }
body .main-content .cart-item .btn--delete * { color: inherit !important; }
body .main-content .cart-item .btn--delete:hover { background: var(--liva-pink) !important; color: #fff !important; }
body .main-content .cart-item .btn--wishlist { border-radius: 12px !important; }
body .main-content ~ .sticky.top-20 { top: calc(var(--liva-header-h, 82px) + 28px) !important; }
body .main-content ~ .sticky.top-20 > div,
body .main-content ~ .sticky.top-20 .shadow-default { border-radius: var(--liva-r-lg) !important; border: 1px solid var(--liva-line); box-shadow: 0 18px 36px -30px rgba(42, 31, 124, .6) !important; }
body .main-content ~ .sticky.top-20 .s-loyalty-widget .s-list-tile-item { background: linear-gradient(135deg, var(--liva-violet), var(--liva-violet-d)); border-radius: var(--liva-r); padding: 14px; color: #fff; }
body .main-content ~ .sticky.top-20 .s-loyalty-widget * { color: inherit; }
body .s-loyalty-widget .s-list-tile-item-icon { background: var(--liva-yellow) !important; color: var(--liva-ink) !important; border-radius: 50% !important; }
body .s-loyalty-widget .s-list-tile-item-icon * { background-color: transparent !important; color: var(--liva-ink) !important; }
body .main-content ~ .sticky.top-20 input.form-input,
body .main-content ~ .sticky.top-20 input.s-form-control,
body .main-content ~ .sticky.top-20 input[type="text"] { height: 48px; border-radius: 14px !important; border: 1.5px solid var(--liva-line) !important; background: #fff !important; padding-inline: 16px !important; transition: border-color .2s ease, box-shadow .2s ease; }
body .main-content ~ .sticky.top-20 input:focus { border-color: var(--liva-violet) !important; outline: none; box-shadow: 0 0 0 4px rgba(var(--tw-accent-rgb, 91, 75, 209), .12); }
body .main-content ~ .sticky.top-20 .btn--coupon { border-radius: 14px !important; background: var(--liva-ink) !important; color: #fff !important; border: 0 !important; }
body .main-content ~ .sticky.top-20 .cart-submit-wrap .s-button-primary,
body .main-content ~ .sticky.top-20 .cart-submit-wrap a,
body .main-content ~ .sticky.top-20 .cart-submit-wrap button {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 56px;
    border: 0 !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, var(--liva-violet-l), var(--liva-violet) 55%, var(--liva-violet-d)) !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 26px -16px rgba(var(--tw-accent-rgb, 91, 75, 209), .9);
    transition: transform .2s ease, box-shadow .3s ease !important;
}
body .main-content ~ .sticky.top-20 .cart-submit-wrap .s-button-primary *,
body .main-content ~ .sticky.top-20 .cart-submit-wrap a * { color: inherit !important; background: none !important; }
body .main-content ~ .sticky.top-20 .cart-submit-wrap .s-button-primary:hover,
body .main-content ~ .sticky.top-20 .cart-submit-wrap > a:hover { transform: translateY(-2px); box-shadow: var(--liva-glow); }
body .main-content ~ .sticky.top-20 .text-primary { color: var(--liva-violet) !important; font-weight: 700; }

/* ---------- 17. Cart sidebar (markup: layouts/cart-drawer, behaviour: liva.js) ---------- */
.liva-drawer { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; visibility: hidden; transition: visibility 0s linear .5s; }
.liva-drawer.is-open { pointer-events: auto; visibility: visible; transition: visibility 0s; }
.liva-drawer__overlay { position: absolute; inset: 0; background: rgba(29, 23, 71, .5); opacity: 0; transition: opacity .4s ease; }
.liva-drawer.is-open .liva-drawer__overlay { opacity: 1; }
.liva-drawer__panel {
    position: absolute;
    top: 10px;
    bottom: 10px;
    inset-inline-end: 10px;
    width: min(420px, calc(100% - 20px));
    display: flex;
    flex-direction: column;
    border-radius: 26px;
    background-color: #fff;
    color: var(--liva-ink);
    font-family: var(--liva-font);
    overflow: hidden;
    outline: none;
    transform: translateX(110%);
    transition: transform .5s var(--liva-ease);
    box-shadow: 0 30px 70px -30px rgba(29, 23, 71, .6);
}
html[dir="rtl"] .liva-drawer__panel { transform: translateX(-110%); }
.liva-drawer.is-open .liva-drawer__panel { transform: none; }
.liva-drawer__content { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.liva-drawer__head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; background: linear-gradient(135deg, var(--liva-violet-l), var(--liva-violet) 55%, var(--liva-violet-d)); color: #fff; }
.liva-drawer__title { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; font-size: 21px; color: #fff; }
.liva-drawer__count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--liva-yellow); color: var(--liva-ink); font-size: 12px; font-weight: 700; }
.liva-drawer__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; transition: background-color .2s ease, transform .3s var(--liva-ease); }
.liva-drawer__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.liva-drawer__close:hover { background: rgba(255, 255, 255, .32); transform: rotate(90deg); }
.liva-drawer__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 6px 20px; overscroll-behavior: contain; }
.liva-drawer__item { display: grid; grid-template-columns: 80px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--liva-line); transition: opacity .3s ease; }
.liva-drawer.is-open .liva-drawer__item { animation: liva-item-in .5s var(--liva-ease) both; animation-delay: calc(.07s * var(--i) + .15s); }
@keyframes liva-item-in { from { opacity: 0; transform: translateY(12px); } }
.liva-drawer__item.is-removing { opacity: .3; }
.liva-drawer__thumb { display: block; aspect-ratio: 1 / 1; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--liva-line); overflow: hidden; }
.liva-drawer__thumb img { width: 100%; height: 100%; object-fit: contain; }
.liva-drawer__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.liva-drawer__name { font-weight: 600; font-size: 15px; line-height: 1.45; color: var(--liva-ink) !important; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.liva-drawer__price { font-weight: 700; font-size: 15px; color: var(--liva-violet); }
.liva-drawer__price img.sar-icon { width: 11px !important; }
.liva-drawer__row-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.liva-qty { display: inline-flex; align-items: center; border-radius: 12px; background: var(--liva-lilac); padding: 2px; }
.liva-qty__btn { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 0; cursor: pointer; color: var(--liva-violet); transition: background-color .2s ease, color .2s ease; }
.liva-qty__btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.liva-qty__btn:hover { background: var(--liva-violet); color: var(--tw-accent-text, #fff); }
.liva-qty__value { min-width: 32px; text-align: center; font-weight: 700; font-size: 14px; }
.liva-drawer__qty-text { font-size: 13px; color: var(--liva-mute); }
.liva-drawer__remove { font-size: 12.5px; font-weight: 600; color: var(--liva-mute) !important; text-decoration: underline; text-underline-offset: 3px; }
.liva-drawer__remove:hover { color: var(--liva-pink) !important; }
.liva-drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--liva-line); background: var(--liva-lilac); }
.liva-drawer__total { display: flex; align-items: baseline; justify-content: space-between; font-weight: 600; font-size: 16px; }
.liva-drawer__total b { font-size: 20px; font-weight: 700; color: var(--liva-ink); }
.liva-drawer__total img.sar-icon { width: 13px !important; }
.liva-drawer__note { margin: 6px 0 16px; font-size: 12px; color: var(--liva-mute); }
.liva-drawer__actions { display: grid; gap: 10px; }
.liva-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 14px; font-family: var(--liva-font); font-weight: 600; font-size: 15px; text-align: center; border: 2px solid var(--liva-violet); cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.liva-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--liva-ease); }
html[dir="rtl"] .liva-btn svg { transform: scaleX(-1); }
.liva-btn--solid { background: var(--liva-violet); color: var(--tw-accent-text, #fff) !important; }
.liva-btn--solid:hover { background: var(--liva-violet-d); transform: translateY(-2px); }
.liva-btn--solid:hover svg { transform: translateX(4px); }
html[dir="rtl"] .liva-btn--solid:hover svg { transform: scaleX(-1) translateX(4px); }
.liva-btn--outline { background: transparent; color: var(--liva-violet) !important; }
.liva-btn--outline:hover { background: var(--liva-violet); color: var(--tw-accent-text, #fff) !important; }
.liva-drawer__empty { display: grid; justify-items: center; gap: 10px; padding: 70px 10px; text-align: center; }
.liva-drawer__empty-icon svg { width: 60px; height: 60px; fill: none; stroke: var(--liva-violet); stroke-width: 1.5; animation: liva-bob 2.4s ease-in-out infinite; }
.liva-drawer__empty-title { margin: 6px 0 0; font-weight: 700; font-size: 20px; }
.liva-drawer__empty-sub { margin: 0 0 12px; color: var(--liva-mute); font-size: 14px; }
.liva-drawer__loading { position: absolute; inset: 0 0 auto 0; height: 3px; overflow: hidden; opacity: 0; transition: opacity .2s ease; z-index: 2; }
.liva-drawer.is-loading .liva-drawer__loading { opacity: 1; }
.liva-drawer__loading span { display: block; width: 40%; height: 100%; background: var(--liva-yellow); animation: liva-bar-run 1s var(--liva-ease) infinite; }
@keyframes liva-bar-run { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.liva-drawer.is-loading .liva-drawer__body { opacity: .55; pointer-events: none; }

/* ---------- 18. Floating bits, responsive, reduced motion ---------- */
body .s-block--best-offers,
body .s-block { scroll-margin-top: calc(var(--liva-header-h, 82px) + 24px); }
body .floating-social .floating-btn { transition: transform .3s var(--liva-bounce); }
body .floating-social .floating-btn:hover { transform: scale(1.1); }
@media (max-width: 1023px) {
    body .floating-social:has(.whatsapp) .floating-btn:not(.whatsapp) { display: none !important; }
    body .floating-social:not(:has(.whatsapp)) .floating-btn:not(:first-child) { display: none !important; }
    body section.product-detail .sidebar { top: calc(var(--liva-header-h, 62px) + 20px) !important; }
    body .main-content ~ .sticky.top-20 { position: static !important; }
}
/* tablets: the footer's fixed-width columns overflow — lay them out 2 × 2 */
@media (min-width: 768px) and (max-width: 1023px) {
    body .store-footer .footer-container { display: grid !important; grid-template-columns: 1fr 1fr; gap: 32px 28px !important; align-items: start; }
    body .store-footer .footer-container > div { width: auto !important; max-width: none !important; min-width: 0; }
    body .liva-cats .swiper-slide { width: 180px !important; }
}
@media (max-width: 767px) {
    body .s-slider-block__title-nav { display: none !important; }
    body .floating-social .floating-btn { width: 46px !important; height: 46px !important; }
    body .liva-notify__track { font-size: 13.5px !important; line-height: 40px !important; animation-duration: 22s; }
    body .store-notify.liva-notify { min-height: 40px; }
    body .liva-notify__group { gap: 22px; padding-inline-end: 22px; }
    body .product-entry.product-entry--vertical { padding: 8px; border-radius: 20px !important; }
    body .product-entry .liva-gallery { border-radius: 14px; }
    body .product-entry .title-wrapper { padding: 7px 24px; border-radius: 12px; }
    body .product-entry .title-wrapper::before { inset-inline-start: 7px; }
    body .product-entry .title-wrapper::after { inset-inline-end: 7px; }
    body .product-entry .title-wrapper::before,
    body .product-entry .title-wrapper::after { width: 11px; height: 11px; margin-top: -5.5px; }
    body .product-entry .product-entry__title a { font-size: 13.5px; }
    body .product-entry .s-product-card-content-subtitle { font-size: 12px; }
    body .product-entry .price-label,
    body .product-entry .price.d-flex,
    body .product-entry .special-price { font-size: 15px; }
    body .product-entry .addToCart { height: 40px !important; font-size: 13px !important; border-radius: 12px !important; }
    body .products-container.grid { gap: 18px 12px !important; }
    body .liva-cats .swiper-slide { width: 150px !important; }
    body .liva-cats .box-img { border-radius: 20px !important; }
    body .liva-cats .banner-square h3 { font-size: 13px !important; }
    body .liva-brands .swiper-slide { width: 116px !important; }
    body .liva-brands .box-img { width: 100px; height: 100px !important; padding: 16px; border-radius: 28px !important; }
    body .myStoreSwiper .s-block--features__item { padding: 26px 16px 22px !important; }
    /* FAQ: one column on phones */
    body .accordion { grid-template-columns: 1fr; gap: 12px; }
    body .accordion .accordion-header { font-size: 15.5px !important; min-height: 64px; padding: 10px 14px !important; }
    body .accordion .accordion-icon { width: 38px; height: 38px; }
    body .banner-entry, body .banner-entry-list { min-height: 190px; }
    body .nav-header.bg-gray-100 { padding: 22px 18px !important; }
    body .nav-header.bg-gray-100::after { font-size: 38px; inset-inline-end: 16px; }
    body .nav-header.bg-gray-100::before { inset-inline-end: 66px; top: 14px; }
    body .store-footer .store-footer__inner { border-radius: 24px; }
    body .store-footer .footer-container { text-align: center; }
    body .store-footer h3 { margin-inline: auto !important; }
    body .store-footer h3::after { inset-inline-start: 50%; transform: translateX(-50%); }
    html[dir="rtl"] body .store-footer h3::after { transform: translateX(50%); }
    body section.product-detail .product-hero-image { border-radius: 22px !important; padding: 10px; }
    body section.product-detail .special-price,
    body section.product-detail .price-label,
    body section.product-detail .final-price { font-size: 25px !important; }
    body .main-content .cart-item { padding: 14px !important; }
    .liva-drawer__panel { top: auto; bottom: 0; inset-inline: 0; width: 100%; height: 88vh; border-radius: 24px 24px 0 0; transform: translateY(100%) !important; }
    .liva-drawer.is-open .liva-drawer__panel { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    body .liva-notify__track { animation: none !important; width: auto; }
    body .liva-notify__group[aria-hidden="true"],
    body .liva-notify__group > :nth-child(n+3) { display: none; }
    .liva-preloader__ring, .liva-preloader__orbit, .liva-preloader__orbit i, .liva-preloader__bar i, .liva-preloader__logo { animation: none !important; }
    body *, body *::before, body *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: .01ms !important;
    }
}

/* ---------- 19. Product page fixes: the main price, buy-now, and cards inside the page keep card styles ---------- */
body section.product-detail .price.my-1 .price.d-flex,
body section.product-detail .price.my-1 .price-label { font-weight: 700 !important; font-size: 30px !important; color: var(--liva-violet) !important; }
body section.product-detail .price.my-1 img { width: 20px !important; filter: brightness(0) saturate(100%) invert(30%) sepia(64%) saturate(2600%) hue-rotate(238deg) brightness(88%); }
body section.product-detail .s-quick-buy-button {
    min-height: 52px;
    border-radius: 14px !important;
    border: 2px solid var(--liva-violet) !important;
    background: #fff !important;
    color: var(--liva-violet) !important;
    font-weight: 600 !important;
    transition: background-color .2s ease, color .2s ease, transform .2s ease !important;
}
body section.product-detail .s-quick-buy-button * { color: inherit !important; }
body section.product-detail .s-quick-buy-button:not([disabled]):hover { background: var(--liva-yellow) !important; border-color: var(--liva-yellow) !important; color: var(--liva-ink) !important; transform: translateY(-2px); }
body section.product-detail .product-entry :is(.special-price, .price-label, .final-price, .price.d-flex) { font-size: 17px !important; }
body section.product-detail .product-entry .special-price { color: var(--liva-yellow) !important; }
body section.product-detail .product-entry :is(.price-label, .final-price, .price.d-flex) { color: #fff !important; }
body section.product-detail .product-entry .regular-price { color: rgba(255, 255, 255, .6) !important; font-size: 13px !important; }
body .myReviewSwiper { padding-top: 30px !important; }

/* ---------- 20. Equal-height product cards ----------
   Every card reserves the same space whatever the text: the title always takes
   exactly 2 lines (longer names end in "…"), the subtitle 1 line, the price 1 row;
   the button sits at the bottom. Grid rows and slider slides stretch to the tallest. */
body .products-container > .product-entry,
body .swiper-slide > .product-entry { height: 100% !important; }
body .s-block--best-offers .swiper-wrapper { align-items: stretch; }
body .s-block--best-offers .swiper-slide { display: flex; height: auto !important; }
body .s-block--best-offers .swiper-slide > * { flex: 1 1 auto; min-width: 0; }
body .product-entry .donating-wrap { flex: 1 1 auto; height: auto !important; min-height: 0; }
body .product-entry .title-wrapper { flex: none; }
body .product-entry .product-entry__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 15.5px;
    line-height: 1.55 !important;
    height: calc(2 * 1.55em);
    word-break: break-word;
}
body .product-entry .product-entry__title a { font-size: inherit !important; line-height: inherit !important; }
body .product-entry .s-product-card-content-subtitle,
body .product-entry .s-product-card-content-subtitle:empty {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
    height: 1.7em;
    line-height: 1.7 !important;
}
/* price: one row, never wraps to a second line */
body .product-entry .price-wrapper { flex: none; height: 30px; overflow: hidden; }
body .product-entry .price-wrapper .on-sale { flex-wrap: nowrap !important; white-space: nowrap; min-width: 0; }
body .product-entry .price-wrapper .on-sale > * { white-space: nowrap; }
body .product-entry .product-footer { flex: none; margin-top: auto !important; }
@media (max-width: 767px) {
    body .product-entry .product-entry__title { font-size: 13.5px; }
    body .product-entry .price-wrapper { height: 26px; }
    body .product-entry .regular-price { font-size: 11.5px !important; }
}
/* the name plate keeps one fixed height (2 title lines + 1 subtitle line) and centres
   whatever it holds, so a short name doesn't leave an empty band at the bottom */
body .product-entry .title-wrapper {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    height: 94px;
}
body .product-entry .product-entry__title { height: auto; max-height: calc(2 * 1.55em); flex: none; }
body .product-entry .s-product-card-content-subtitle,
body .product-entry .s-product-card-content-subtitle:empty { height: auto; max-height: 1.7em; flex: none; }
@media (max-width: 767px) {
    body .product-entry .title-wrapper { height: 82px; }
}

/* ---------- 21. Menu items without a name (blank label in the store's menu settings) are hidden ---------- */
body header.store-header .main-menu > li.root-level:has(> a span:empty),
body header.store-header .main-menu > li:empty,
body .mm-spn li:has(> a span:empty) { display: none !important; }

/* ---------- 22. Search window: dimmed backdrop, a rounded card, product results with thumbnails ---------- */
/* above the sticky header and the floating social buttons */
body #searchProductModal { z-index: 10060 !important; }
body header.store-header:has(#searchProductModal.in) { z-index: 10060 !important; }
body header.store-header #mainnav:has(~ .inner.nav-header #searchProductModal.in) { z-index: 10060 !important; }
body #searchProductModal.in .s-modal-overlay {
    position: fixed;
    inset: 0;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(29, 23, 71, .55) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: liva-fade .3s ease both;
}
body #searchProductModal .s-modal-wrapper { padding: 0 16px; }
body #searchProductModal .s-modal-body {
    position: relative;
    width: min(720px, 100%) !important;
    max-width: none !important;
    margin: 12vh auto 0 !important;
    padding: 22px 22px 18px !important;
    border-radius: 28px !important;
    background: #fff !important;
    box-shadow: 0 40px 80px -30px rgba(29, 23, 71, .6) !important;
    overflow: visible !important;
    animation: liva-search-in .45s var(--liva-ease) both;
}
@keyframes liva-search-in { from { opacity: 0; transform: translateY(-18px) scale(.97); } }
/* heading */
body #searchProductModal .s-search-modal::before {
    content: "ماذا تبحث عنه؟";
    display: block;
    margin: 0 4px 14px;
    padding-inline-end: 56px;
    font-family: var(--liva-font);
    font-weight: 700;
    font-size: 20px;
    color: var(--liva-ink);
}
html[lang="en"] body #searchProductModal .s-search-modal::before,
html[dir="ltr"] body #searchProductModal .s-search-modal::before { content: "What are you looking for?"; }
/* close: a round button in the card's corner */
body #searchProductModal .s-modal-header { position: static !important; padding: 0 !important; margin: 0 !important; border: 0 !important; min-height: 0 !important; }
body #searchProductModal .s-modal-close {
    position: absolute !important;
    top: 16px !important;
    inset-inline-end: 16px !important;
    left: auto;
    right: auto;
    z-index: 3;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center;
    padding: 0 !important;
    background: var(--liva-lilac) !important;
    border: 0 !important;
    color: var(--liva-violet) !important;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .35s var(--liva-ease);
}
html[dir="rtl"] body #searchProductModal .s-modal-close { left: 16px !important; right: auto !important; }
html[dir="ltr"] body #searchProductModal .s-modal-close { right: 16px !important; left: auto !important; }
body #searchProductModal .s-modal-close * { color: inherit !important; font-size: 13px !important; }
body #searchProductModal .s-modal-close:hover { background: var(--liva-violet) !important; color: var(--tw-accent-text, #fff) !important; transform: rotate(90deg); }
/* the field */
body #searchProductModal .s-search-container { position: relative; }
body #searchProductModal .s-search-input-wrapper {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 10px;
    height: 62px;
    padding: 0 8px !important;
    border-radius: 18px !important;
    background: var(--liva-lilac) !important;
    border: 2px solid transparent !important;
    box-shadow: none !important;
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body #searchProductModal .s-search-input-wrapper:focus-within {
    background: #fff !important;
    border-color: var(--liva-violet) !important;
    box-shadow: 0 0 0 5px rgba(var(--tw-accent-rgb, 91, 75, 209), .14) !important;
}
body #searchProductModal .s-search-icon-wrap {
    position: static !important;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid !important;
    place-items: center;
    background: var(--liva-violet);
    color: var(--tw-accent-text, #fff);
    transition: transform .4s var(--liva-bounce);
}
body #searchProductModal .s-search-input-wrapper:focus-within .s-search-icon-wrap { transform: rotate(-12deg) scale(1.05); }
body #searchProductModal .s-search-icon-wrap .icon-search { color: #fff !important; font-size: 19px !important; }
body #searchProductModal .s-search-input {
    flex: 1;
    min-width: 0;
    height: 100% !important;
    padding: 0 6px !important;
    margin: 0 !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-family: var(--liva-font) !important;
    font-size: 17px !important;
    font-weight: 500;
    color: var(--liva-ink) !important;
}
body #searchProductModal .s-search-input::placeholder { color: var(--liva-mute) !important; opacity: 1; }
body #searchProductModal .s-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
/* results: a scrolling list of product rows inside the card */
body #searchProductModal .ui.search > .results {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: -2px !important;
    right: -2px !important;
    width: auto !important;
    max-height: min(56vh, 480px);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid var(--liva-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 30px 60px -30px rgba(29, 23, 71, .5) !important;
    z-index: 5;
}
body #searchProductModal .ui.search > .results:empty { display: none !important; }
body #searchProductModal .ui.search > .results > .result {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 14px;
    background: transparent;
    text-decoration: none !important;
    animation: liva-item-in .35s var(--liva-ease) both;
    transition: background-color .2s ease, transform .25s var(--liva-ease);
}
body #searchProductModal .ui.search > .results > .result:nth-child(2) { animation-delay: .04s; }
body #searchProductModal .ui.search > .results > .result:nth-child(3) { animation-delay: .08s; }
body #searchProductModal .ui.search > .results > .result:nth-child(n+4) { animation-delay: .12s; }
body #searchProductModal .ui.search > .results > .result + .result { margin-top: 2px; }
body #searchProductModal .ui.search > .results > .result:hover,
body #searchProductModal .ui.search > .results > .result.active { background: var(--liva-lilac) !important; transform: translateX(-4px); }
html[dir="ltr"] body #searchProductModal .ui.search > .results > .result:hover,
html[dir="ltr"] body #searchProductModal .ui.search > .results > .result.active { transform: translateX(4px); }
body #searchProductModal .ui.search > .results > .result .image {
    float: none !important;
    order: 0;
    flex: none;
    width: 64px !important;
    height: 64px !important;
    margin: 0 !important;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--liva-line);
    overflow: hidden;
    display: grid;
    place-items: center;
}
body #searchProductModal .ui.search > .results > .result .image img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: contain; border-radius: 0 !important; }
body #searchProductModal .ui.search > .results > .result .content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; margin: 0 !important; }
body #searchProductModal .ui.search > .results > .result .title {
    order: 0;
    margin: 0 !important;
    font-family: var(--liva-font) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 1.5;
    color: var(--liva-ink) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body #searchProductModal .ui.search > .results > .result .price {
    order: 1;
    float: none !important;
    margin: 0 !important;
    display: flex;
    justify-content: flex-start;
}
body #searchProductModal .ui.search > .results > .result .price .price,
body #searchProductModal .ui.search > .results > .result .price span { display: inline-flex !important; align-items: center; color: var(--liva-violet) !important; font-weight: 700 !important; font-size: 14.5px !important; }
body #searchProductModal .ui.search > .results > .result .price .price span[style*="red"],
body #searchProductModal .ui.search > .results > .result .price span[style*="red"] { color: var(--liva-pink) !important; }
body #searchProductModal .ui.search > .results > .result .price s { color: var(--liva-mute); font-weight: 400; margin-inline-start: 6px; }
body #searchProductModal .ui.search > .results > .result .price i { color: inherit !important; }
body #searchProductModal .ui.search > .results > .result .description:empty { display: none; }
/* an arrow shows on the row you're on */
body #searchProductModal .ui.search > .results > .result::after {
    content: "←";
    flex: none;
    color: var(--liva-violet);
    font-weight: 700;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity .2s ease, transform .25s var(--liva-ease);
}
html[dir="ltr"] body #searchProductModal .ui.search > .results > .result::after { content: "→"; transform: translateX(-6px); }
body #searchProductModal .ui.search > .results > .result:hover::after,
body #searchProductModal .ui.search > .results > .result.active::after { opacity: 1; transform: none; }
/* no results */
body #searchProductModal .ui.search > .results > .message { padding: 26px 16px !important; text-align: center; border: 0 !important; background: transparent !important; }
body #searchProductModal .ui.search > .results > .message .header { font-family: var(--liva-font) !important; font-weight: 700; color: var(--liva-ink) !important; }
body #searchProductModal .ui.search > .results > .message .description { color: var(--liva-mute) !important; }
body #searchProductModal .s-search-no-results-placeholder { color: var(--liva-mute); text-align: center; padding: 18px 0 4px; }
@media (max-width: 767px) {
    body #searchProductModal .s-modal-wrapper { padding: 0; }
    body #searchProductModal .s-modal-body { width: 100% !important; margin: 0 !important; padding: 18px 14px 14px !important; border-radius: 0 0 26px 26px !important; animation-name: liva-search-drop; }
    @keyframes liva-search-drop { from { transform: translateY(-40px); opacity: 0; } }
    body #searchProductModal .s-search-modal::before { font-size: 17px; margin-bottom: 12px; }
    body #searchProductModal .s-modal-close { top: 12px !important; width: 38px !important; height: 38px !important; }
    html[dir="rtl"] body #searchProductModal .s-modal-close { left: 12px !important; }
    html[dir="ltr"] body #searchProductModal .s-modal-close { right: 12px !important; }
    body #searchProductModal .s-search-input-wrapper { height: 54px; border-radius: 16px !important; }
    body #searchProductModal .s-search-icon-wrap { width: 40px; height: 40px; border-radius: 12px; }
    body #searchProductModal .s-search-input { font-size: 16px !important; }
    body #searchProductModal .ui.search > .results { max-height: 62vh; }
    body #searchProductModal .ui.search > .results > .result .image { width: 54px !important; height: 54px !important; }
}
/* close button: Angle lifts it by half its height — keep it inside the card */
body #searchProductModal .s-modal-close { transform: none !important; }
body #searchProductModal .s-modal-close:hover { transform: rotate(90deg) !important; }
/* a duller, darker backdrop: the page fades into the background while searching */
body #searchProductModal.in .s-modal-overlay {
    background: rgba(16, 11, 42, .78) !important;
    -webkit-backdrop-filter: blur(8px) saturate(.5) brightness(.85);
    backdrop-filter: blur(8px) saturate(.5) brightness(.85);
}
/* the search icon: Angle also lifts it by half its height (top: 50% + translateY) — centre it in the field */
body #searchProductModal .s-search-icon-wrap { top: auto !important; bottom: auto !important; inset-inline: auto !important; margin: 0 !important; transform: none !important; align-self: center; }
body #searchProductModal .s-search-input-wrapper:focus-within .s-search-icon-wrap { transform: rotate(-12deg) scale(1.05) !important; }
body #searchProductModal .s-search-input { padding-inline-start: 4px !important; text-indent: 0 !important; }

/* product page: the image-zoom layer (ezPlus .zoomContainer, z-index 999 inline) covers the photo and sat above
   the header (150), so the menu's dropdowns closed wherever they overlapped the photo — keep it under the header */
body .zoomContainer { z-index: 140 !important; }

/* product page options: the chosen image / colour gets a border (the theme's own image border hid the checked state) */
html body .s-product-options-thumbnails-wrapper label.swatch input:checked + img,
html body .s-product-options-thumbnails-wrapper label.swatch input:checked + span { border: 3px solid var(--tw-accent, #111827) !important; }
