/* ===== Base (scoped — coexist with Bootstrap) ===== */
.site-header, .site-footer, .hero, .main-bg-wrap, .mobile-menu, .top-banner, .back-to-top,
.hot-deals, .categories, .new-books, .bestsellers, .combos, .testimonials, .press, .partners,
.cart-page, .checkout-page, .login-section, .profile-page, .wishlist-page {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1f2937;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.site-header *, .site-footer *, .hero *, .main-bg-wrap *, .mobile-menu *, .top-banner *,
.back-to-top, .hot-deals *, .categories *, .new-books *, .bestsellers *, .combos *,
.testimonials *, .press *, .partners * { box-sizing: border-box; }

.site-header a, .site-footer a, .hero a, .main-bg-wrap a,
.new-books a, .bestsellers a, .combos a, .testimonials a, .press a, .partners a { color: inherit; text-decoration: none; }
.site-header img, .site-footer img, .hero img, .main-bg-wrap img,
.new-books img, .bestsellers img, .combos img, .testimonials img, .press img, .partners img { max-width: 100%; display: block; }
.site-header ul, .site-footer ul, .hero ul, .main-bg-wrap ul,
.new-books ul, .bestsellers ul, .combos ul, .testimonials ul, .press ul, .partners ul,
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }

:root {
    --c-primary: #0a1e4a;
    --c-primary-2: #1e3a8a;
    --c-accent: #f59e0b;
    --c-red: #e11d48;
    --c-text: #1f2937;
    --c-muted: #6b7280;
    --c-border: #e5e7eb;
    --c-bg-soft: #f3f4f6;
}

/* ===== Top banner ===== */
.top-banner {
    background: linear-gradient(90deg, #0a1e4a 0%, #1e3a8a 50%, #0a1e4a 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .2px;
}
.top-banner__link { display: block; }
.top-banner__img { width: 100%; height: auto; display: block; }
.top-banner__img--mobile { display: none; }
@media (max-width: 768px) {
    .top-banner__img--desktop { display: none; }
    .top-banner__img--mobile { display: block; }
}
.top-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
}
.top-banner__left,
.top-banner__right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.top-banner strong { color: var(--c-accent); font-weight: 700; }
.tb-icon { display: inline-flex; color: var(--c-accent); }
@media (max-width: 640px) {
    .top-banner { font-size: 11px; }
    .top-banner__inner { gap: 8px; min-height: 32px; }
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    font-family: 'Inter', sans-serif;
}
.site-header__inner {
    display: flex !important;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    flex-wrap: nowrap;
    max-width: 1280px;
    margin: 0 auto;
}
.site-logo {
    flex-shrink: 0;
}
.site-header__inner .site-socials { margin-left: auto; flex-shrink: 0; }
.site-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.site-search {
    position: relative;
    max-width: 680px;
    width: 100%;
    flex: 1 1 640px;
}
.site-search input {
    width: 100%;
    height: 42px;
    padding: 0 48px 0 18px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    outline: none;
    color: var(--c-text);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.site-search input::placeholder { color: #9ca3af; font-style: italic; }
.site-search input:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(30,58,138,.1);
}
.site-header .site-search button[type="submit"] {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.site-socials {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.site-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform .15s ease;
}
.site-socials a:hover { transform: translateY(-2px); }
.site-socials a img { width: 32px; height: 32px; }
.ss-fb { background: none; }
.ss-yt { background: none; }
.ss-sh { background: none; }
.ss-tk { background: none; }

.site-header .menu-toggle,
.site-nav .menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-logo-mobile { display: none; }

/* Nav dropdown */
.has-dropdown { position: relative; }
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 50;
}
.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text);
    white-space: nowrap;
    transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.nav-dropdown li a:hover {
    background: #f3f4f6;
    color: rgba(0, 40, 90, 1);
    padding-left: 24px;
}
.has-dropdown .nav-link svg {
    transition: transform .2s ease;
}
.has-dropdown:hover .nav-link svg {
    transform: rotate(180deg);
}
.nav-logo-mobile img { height: 36px; width: auto; object-fit: contain; }

/* ===== Nav (dark gradient bar) ===== */
.site-nav {
    background: linear-gradient(90deg, #001938 0%, #003578 100%);
    color: #fff;
}
.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 67px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
    flex: 1;
    justify-content: flex-start;
}
.nav-menu .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .5px;
    white-space: nowrap;
    text-transform: uppercase;
    padding: 23px 0;
    position: relative;
    transition: color .15s ease;
}
.nav-menu .nav-link:hover { color: #fbbf24; }
.nav-menu .nav-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 13px;
    height: 2px;
    background: #fbbf24;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}
.nav-menu .nav-link:hover::after { transform: scaleX(1); }

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}
.nav-action {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #fff;
    transition: color .15s ease;
}
.nav-action:hover { color: #fbbf24; }
.nav-action__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nav-action__icon img { width: 28px; height: 28px; }
.nav-action__badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--c-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border: 1.5px solid #fff;
    transition: transform .3s ease;
}
.nav-action__badge.cart-updated {
    animation: badge-pulse .5s ease;
}
@keyframes badge-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.nav-action__label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .2px;
}

/* ===== Responsive header ===== */
@media (max-width: 1024px) {
    .site-socials { display: none; }
    .nav-menu { gap: 22px; }
    .nav-action__label { display: none; }
}
@media (max-width: 768px) {
    .site-header__inner {
        display: flex;
        flex-wrap: nowrap;
        padding: 10px 16px;
        gap: 10px;
        align-items: center;
    }
    .site-search { flex: 1; max-width: 100%; }
    .site-search input { height: 38px; }
    .site-socials { display: inline-flex !important; margin-left: auto; flex-shrink: 0; }
    .site-socials a { width: 28px; height: 28px; }
    .site-socials a img { width: 28px; height: 28px; }
    .site-logo { display: none; }
    .menu-toggle { display: none; }
    .nav-menu { display: none; }
    .nav-logo-mobile { display: inline-flex; flex-shrink: 0; }
    .site-nav__inner { justify-content: space-between; min-height: 56px; gap: 12px; }
    .nav-actions { margin-left: auto; }
    .menu-toggle {
        display: inline-flex !important;
        color: #fff;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
}

/* ===== Mobile menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    color: var(--c-text);
    z-index: 100;
    transition: right .3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0,0,0,.3);
}
.mobile-menu.is-open { left: 0; }
.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}
.mobile-menu__logo img { height: 36px; width: auto; }
.mobile-menu__close {
    color: var(--c-text);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.mobile-menu__list {
    flex: 1;
    padding: 16px 0;
    overflow-y: auto;
}
.mobile-menu__list li a {
    display: block;
    padding: 14px 24px;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: rgba(0, 40, 90, 1);
    letter-spacing: .5px;
    text-transform: uppercase;
    border-bottom: 1px solid #e5e7eb;
    transition: background .15s ease, padding-left .15s ease;
}
.mobile-menu__list li a:hover {
    background: #f3f4f6;
    padding-left: 30px;
}
.mobile-menu__parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-menu__parent svg {
    transition: transform .25s ease;
    flex-shrink: 0;
}
.mobile-menu__has-sub.is-open .mobile-menu__parent svg {
    transform: rotate(180deg);
}
.mobile-menu__sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    background: #f9fafb;
}
.mobile-menu__has-sub.is-open .mobile-menu__sub {
    max-height: 500px;
}
.mobile-menu__sub li a {
    padding: 12px 24px 12px 40px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 40, 90, .8);
    border-bottom: 1px solid #e5e7eb;
}
.mobile-menu__sub li a:hover {
    color: rgba(0, 40, 90, 1);
    padding-left: 46px;
}
.mobile-menu__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid #e5e7eb;
}
.mobile-menu__socials a {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.mobile-menu__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.mobile-menu__overlay.is-open { opacity: 1; visibility: visible; }

/* ===== Hero slider ===== */
.hero {
    position: relative;
    overflow: hidden;
}
.hero__track {
    display: flex;
    transition: transform .5s cubic-bezier(.65,.05,.36,1);
    will-change: transform;
}
.hero__slide {
    flex: 0 0 100%;
    min-width: 0;
    position: relative;
    aspect-ratio: 1920 / 600;
}
.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    color: var(--c-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: background .15s ease, transform .15s ease;
    z-index: 2;
}
.hero__nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.hero__nav--prev { left: 16px; }
.hero__nav--next { right: 16px; }

.hero__dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: inline-flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}
.hero__dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.5);
    transition: width .25s ease, background .15s ease;
}
.hero__dots .dot.is-active {
    width: 28px;
    background: #fff;
}

@media (max-width: 768px) {
    .hero__slide { aspect-ratio: 16 / 9; }
    .hero__nav { width: 36px; height: 36px; }
    .hero__nav--prev { left: 8px; }
    .hero__nav--next { right: 8px; }
}

/* ===== Main BG Wrapper ===== */
.main-bg-wrap {
    position: relative;
    overflow: clip;
    isolation: isolate;
}
.main-bg-wrap__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    user-select: none;
}
.main-bg-wrap > section { position: relative; }

/* ===== Intro section ===== */
.intro {
    padding: 64px 0;
}
.intro__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
    overflow: hidden;
}
.intro__media { position: relative; min-width: 0; }
.intro__video {
    position: relative;
    display: block;
    width: 100%;
    max-width: 710px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(10,30,74,.18);
    aspect-ratio: 16 / 9;
    background: #0a1e4a;
}
.intro__video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.intro__video:hover img { transform: scale(1.04); }
.intro__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(225, 29, 72, .92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(225,29,72,.55);
    animation: pulse 2s infinite;
    transition: background .15s ease, transform .15s ease;
}
.intro__video:hover .intro__play {
    background: #be123c;
    transform: translate(-50%, -50%) scale(1.06);
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(225,29,72,.55); }
    70%  { box-shadow: 0 0 0 22px rgba(225,29,72,0); }
    100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); }
}

.intro__content { padding-left: 8px; }
.intro__title {
    margin: 0;
    font-family: 'Barlow', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0;
    text-align: center;
    color: rgba(0, 40, 90, 1);
}
.intro__title span { color: rgba(0, 40, 90, 1); }
.intro__divider { display: none; }
.intro__desc {
    margin: 61px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 170%;
    letter-spacing: 0;
    color: rgba(30, 30, 30, 1);
    text-align: justify;
}
.intro__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 65px auto 0;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 40, 90, 1);
    color: rgba(0, 40, 90, 1);
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0;
    text-align: center;
    border-radius: 6px;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.intro__btn:hover {
    background: linear-gradient(176.55deg, #1773EA -0.11%, #00285A 97.76%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0px 8px 14.9px 0px rgba(0, 83, 191, 0.28);
}

@media (max-width: 900px) {
    .intro { padding: 40px 0; }
    .intro__inner { grid-template-columns: 1fr; gap: 24px; overflow: visible; }
    .intro__video { max-width: 100%; }
    .intro__content { padding-left: 0; text-align: center; }
    .intro__title { font-size: 26px; line-height: 30px; }
    .intro__desc { margin-top: 32px; text-align: justify; font-size: 14px; }
    .intro__btn { margin-top: 32px; }
    .intro__play { width: 64px; height: 64px; }
}

/* ===== Hot deals ===== */
.hot-deals { padding: 48px 0; }
.hot-deals > .container { position: relative; overflow: visible; }
.hot-deals__box {
    position: relative;
    border-radius: 16px;
    padding: 28px 24px 32px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(10,30,74,.18);
    overflow: visible;
    isolation: isolate;
}
.hot-deals__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
    border-radius: 16px;
    user-select: none;
}
.hot-deals__box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 40, 90, 0.55);
    z-index: -1;
    pointer-events: none;
    border-radius: 16px;
}
.hot-deals__box > *:not(.hot-deals__bg) { position: relative; }
.hot-deals__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.hot-deals__title {
    margin: 0;
    padding: 8px 22px;
    font-family: 'Barlow', sans-serif;
    font-size: 30.12px;
    font-weight: 700;
    line-height: 21.07px;
    letter-spacing: 0;
    border-radius: 8px;
    color: rgba(255, 255, 255, 1);
}
.hot-deals__timer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.hot-deals__timer-label {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 21.07px;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 1);
}
.countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.countdown li {
    background: linear-gradient(180deg, #e11d48, #be123c);
    border-radius: 6px;
    width: 38px;
    height: 43px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
}
.countdown li span {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.countdown li small {
    display: block;
    font-size: 9px;
    color: #fee2e2;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.deals-slider { position: relative; }
.deals-slider__viewport { overflow: hidden; }
.deals-slider__track {
    display: flex;
    gap: 18px;
    align-items: stretch;
    transition: transform .45s cubic-bezier(.65,.05,.36,1);
    will-change: transform;
}
.deals-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 40, 90, 1);
    color: rgba(0, 40, 90, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.deals-slider__nav:hover { background: rgba(0, 40, 90, 1); color: #fff; transform: translateY(-50%) scale(1.05); }
.deals-slider__nav--prev { left: -50px; }
.deals-slider__nav--next { right: -50px; }

.deal-item {
    flex: 0 0 285px;
    max-width: 285px;
    display: flex;
    flex-direction: column;
}
.deal-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    flex: 1;
    color: var(--c-text);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.18);
}
.deal-card__cover {
    display: block;
    width: 191px;
    height: 187px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}
.deal-card__cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.deal-card__cover:hover img { transform: scale(1.05); }
.deal-card__title {
    margin: 0;
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    min-height: 45px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.deal-card__title a { color: rgba(0, 40, 90, 1); }
.deal-card__title a:hover { color: var(--c-primary); }
.deal-card__buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.deal-card__price-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.deal-card__origin-price {
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: line-through;
    color: rgba(0, 0, 0, 1);
}
.deal-card__price {
    font-family: 'UTM Bebas', 'Barlow', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    color: rgba(207, 32, 39, 1);
}
.deal-card__price sup { font-size: 14px; margin-left: 1px; top: -.3em; }
.deal-card__add {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: #fff;
    color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    transition: filter .15s ease, transform .15s ease;
}
.deal-card__add .cart-hover,
.btn-cart .cart-hover,
.bs-card__add .cart-hover,
.bs-feature__add .cart-hover { display: none; }
.deal-card__add:hover .cart-default,
.btn-cart:hover .cart-default,
.bs-card__add:hover .cart-default,
.bs-feature__add:hover .cart-default { display: none; }
.deal-card__add:hover .cart-hover,
.btn-cart:hover .cart-hover,
.bs-card__add:hover .cart-hover,
.bs-feature__add:hover .cart-hover { display: inline-block; }
.deal-card__add:hover { background: var(--c-primary); color: #fff; }
.deal-card__progress { display: flex; flex-direction: column-reverse; gap: 4px; margin-top: 15px; color: #fff; }
.deal-card__bar {
    height: 14px;
    background: rgba(255, 255, 255, 1);
    border-radius: 999px;
    overflow: hidden;
}
.deal-card__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #8ECCFF 0%, #0073DE 100%);
    border-radius: 999px;
}
.deal-card__progress small {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 1);
}

.hot-deals__foot { text-align: center; margin-top: 22px; }
.hot-deals__foot .hot-deals__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 26px;
    background: #fff;
    color: rgba(0, 40, 90, 1);
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: .3px;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,.18);
}
.hot-deals__more:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.25); }

@media (max-width: 1100px) {
    .deals-slider__nav--prev { left: 4px; }
    .deals-slider__nav--next { right: 4px; }
}
@media (max-width: 900px) {
    .deal-card { flex: 0 0 calc((100% - 18px) / 2); }
    .hot-deals__head { flex-direction: column; align-items: center; gap: 0px; }
}
@media (max-width: 480px) {
    .deal-item { flex: 0 0 100%; max-width: 100%; }
    .hot-deals__title { font-size: 18px; padding: 6px 14px; }
}

/* ===== Categories ===== */
.categories {
    padding: 56px 0;
    color: #fff;
    position: relative;
}
.categories::before { display: none; }

.categories__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}
.categories__line { display: none; }
.categories__title {
    margin: 0;
    font-family: 'Barlow', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0;
    text-align: center;
    color: rgba(0, 40, 90, 1);
    padding-bottom: 12px;
    position: relative;
}
.categories__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #fbbf24;
    border-radius: 2px;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 268px);
    gap: 12px;
    justify-content: center;
}
.cat-card a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    width: 268px;
    height: 208px;
    border-radius: 10px;
    overflow: hidden;
    background: #0a1e4a;
    padding: 0 16px 20px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card a:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.4);
}
.cat-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.cat-card a:hover img { transform: scale(1.08); }
.cat-card a::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,21,56,.1) 0%, rgba(0,21,56,.85) 100%);
    z-index: 1;
}
.cat-card__name {
    position: relative;
    z-index: 2;
    font-family: 'Barlow', sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 94%;
    letter-spacing: 0;
    text-align: left;
    color: rgba(255, 255, 255, 1);
}
.cat-card__bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.cat-card__bottom::before {
    content: '';
    flex: 0 0 40px;
    height: 2px;
    background: #fff;
}
.cat-card__detail {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 1);
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .categories__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .categories { padding: 40px 0; }
    .categories__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .categories__title { font-size: 17px; letter-spacing: 1px; }
    .categories__line { max-width: 60px; }
    .cat-card__name { font-size: 12px; }
}

/* ===== New Releases ===== */
.new-books {
    padding: 56px 0;
    padding-top: 50px;
    color: #fff;
    position: relative;
    z-index: 2;
    background: rgba(0, 42, 97, 1);
}
.new-books__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}
.new-books > .container { position: relative; }
.new-books__head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 0;
    margin-bottom: 28px;
    position: relative;
    z-index: 5;
}
.new-books__badge-img {
    display: block;
    width: 80px;
    height: auto;
    margin-top: -80px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
.new-books__badge-img::after {
    content: '';
    position: absolute;
    top: 0; right: -8px;
    width: 8px;
    height: 20px;
    background: rgba(56, 0, 0, 1);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.new-books__badge-wrap {
    position: relative;
    z-index: 10;
    margin-top: -61px;
}
.new-books__badge-wrap img {
    display: block;
    width: 96px;
    height: 99px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
.new-books__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    position: relative;
    padding-bottom: 8px;
}
.new-books__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #fbbf24;
    border-radius: 2px;
}

.new-books__slider { position: relative; }
.new-books__viewport { overflow: hidden; }
.new-books__track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
}
.new-books__page {
    display: contents;
}
.new-books__page.is-hidden {
    display: none;
}
.new-books__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 40, 90, 1);
    color: rgba(0, 40, 90, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.new-books__nav:hover { background: rgba(0, 40, 90, 1); color: #fff; transform: translateY(-50%) scale(1.05); }
.new-books__nav--prev { left: -54px; }
.new-books__nav--next { right: -54px; }

.nb-card {
    position: relative;
    display: grid;
    grid-template-columns: 191px 1fr;
    gap: 21px;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    color: var(--c-text);
    transition: transform .2s ease, box-shadow .2s ease;
}
.nb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,.25);
}
.nb-card__cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 191px;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}
.nb-card__cover img { width: 191px; height: 187px; object-fit: contain; transition: transform .4s ease; }
.nb-card__cover:hover img { transform: scale(1.05); }

.nb-card__body { display: flex; flex-direction: column; min-width: 0; width: 100%; padding-top: 31px; }
.nb-card__status { display: none; }
.nb-card__title {
    margin: 0;
    font-family: 'Barlow', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    color: rgba(0, 40, 90, 1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nb-card__title a { color: inherit; }
.nb-card__title a:hover { color: var(--c-red); }
.nb-card__author { display: none; }
.nb-card__desc {
    margin: 10px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 170%;
    letter-spacing: 0;
    text-align: justify;
    color: rgba(30, 30, 30, 1);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nb-card__origin-price {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: line-through;
    color: rgba(0, 0, 0, 1);
}
.nb-card__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}
.nb-card__price-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nb-card__price {
    font-family: 'UTM Bebas', 'Barlow', sans-serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0;
    color: rgba(207, 32, 39, 1);
}
.nb-card__price sup { font-size: 14px; margin-left: 1px; top: -.3em; }
.nb-card__sold {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0;
    color: rgba(0, 40, 90, 1);
}
.nb-card__bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 4px;
}
.nb-card__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #8ECCFF 0%, #0073DE 100%);
    border-radius: 999px;
}
.btn-buy {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: var(--c-red);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: filter .15s ease, transform .15s ease;
}
.btn-buy:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: #fff;
    color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 6px;
    transition: background .15s ease, color .15s ease;
}
.btn-cart:hover { background: var(--c-primary); color: #fff; }

@media (max-width: 1100px) {
    .new-books__nav--prev { left: 4px; }
    .new-books__nav--next { right: 4px; }
}
@media (max-width: 1024px) {
    .new-books__track { display: flex; flex-wrap: nowrap; overflow: hidden; }
    .new-books__page { display: flex !important; gap: 18px; flex-shrink: 0; width: 100%; transition: transform .4s ease; }
    .new-books__page.is-hidden { display: none !important; }
    .nb-card { flex: 0 0 calc((100% - 18px) / 2); grid-template-columns: 1fr; min-height: auto; max-width: 100%; }
    .nb-card__cover { width: 160px; height: 160px; margin: 0 auto; }
    .nb-card__cover img { width: 160px; height: 160px; }
    .nb-card__body { padding-top: 12px; width: 100%; max-width: 100%; }
}
@media (max-width: 768px) {
    .nb-card { flex: 0 0 100%; }
    .nb-card__title { font-size: 15px; }
    .nb-card__desc { font-size: 13px; -webkit-line-clamp: 3; }
}

/* ===== Product Card V2 (shared across pages) ===== */
.product-card-v2 {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .2s ease, box-shadow .2s ease;
    height: 100%;
}
.product-card-v2:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.product-card-v2__img {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}
.product-card-v2__img img { width: 100%; height: 100%; object-fit: contain; }
.product-card-v2__title {
    margin: 0;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: rgba(0, 40, 90, 1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}
.product-card-v2__title a { color: inherit; text-decoration: none; }
.product-card-v2__title a:hover { color: #1773EA; }
.product-card-v2__buy {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}
.product-card-v2__price-group { display: flex; flex-direction: column; align-items: center; }
.product-card-v2__origin-price {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-decoration: line-through;
    color: rgba(0, 0, 0, 1);
    line-height: 1.2;
}
.product-card-v2__price {
    font-family: 'UTM Bebas', 'Barlow', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: rgba(207, 32, 39, 1);
}
.product-card-v2__price sup { font-size: 13px; margin-left: 1px; }
.product-card-v2__add {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: #fff;
    color: rgba(0, 40, 90, 1);
    border: 1.5px solid rgba(0, 40, 90, 1);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.product-card-v2__add:hover { background: rgba(0, 40, 90, 1); color: #fff; }
.product-card-v2__add .cart-hover { display: none; }
.product-card-v2__add:hover .cart-default { display: none; }
.product-card-v2__add:hover .cart-hover { display: inline-block; }
.product-card-v2__soldout {
    font-size: 13px;
    font-weight: 600;
    color: #dc2626;
    padding: 7px 14px;
    border: 1.5px solid #dc2626;
    border-radius: 6px;
}
.product-card-v2__progress { display: flex; flex-direction: column; gap: 4px; }
.product-card-v2__progress small {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(0, 40, 90, 1);
}
.product-card-v2__bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}
.product-card-v2__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #8ECCFF 0%, #0073DE 100%);
    border-radius: 999px;
}
/* Products grid v2 */
.products-grid-v2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .products-grid-v2 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .products-grid-v2 { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { .products-grid-v2 { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }

/* Wishlist on product card v2 */
.product-card-v2 .card-wishlist { opacity: 0; transform: scale(.8); }
.product-card-v2:hover .card-wishlist { opacity: 1; transform: scale(1); }

@media (max-width: 768px) {
    .product-card-v2__title { font-size: 14px; }
    .product-card-v2__price { font-size: 20px; }
    .product-card-v2__add { font-size: 11px; padding: 6px 10px; }
}

/* ===== Home Middle Banner ===== */
.home-middle-banner { padding: 0; }
.home-middle-banner .container { max-width: 100%; padding: 0; }
.home-middle-banner__link { display: block; }
.home-middle-banner__img { width: 100%; height: auto; display: block; border-radius: 0; }
.home-middle-banner__img--mobile { display: none; }
@media (max-width: 768px) {
    .home-middle-banner__img--desktop { display: none; }
    .home-middle-banner__img--mobile { display: block; }
}

/* ===== Bestsellers ===== */
.bestsellers {
    padding: 56px 0;
    background: #f4f6fb;
    background-image:
        linear-gradient(135deg, transparent 49.5%, rgba(0,53,120,.04) 49.5%, rgba(0,53,120,.04) 50.5%, transparent 50.5%);
    background-size: 24px 24px;
    overflow: hidden;
}
.bestsellers__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}
.bestsellers__title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Barlow', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0;
    color: rgba(0, 40, 90, 1);
}
.bestsellers__title .fire { display: none; }
.bestsellers__icon { display: inline-flex; }
.bestsellers__icon img { width: 40px; height: auto; }
.bestsellers__head .bestsellers__more,
.bestsellers__foot-mobile .bestsellers__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 40, 90, 1);
    border-radius: 35px;
    color: rgba(0, 40, 90, 1);
    font-size: 13px;
    font-weight: 600;
    transition: background .15s ease, color .15s ease;
}
.bestsellers__head .bestsellers__more:hover,
.bestsellers__foot-mobile .bestsellers__more:hover { background: rgba(0, 40, 90, 1); color: #fff; }
.bestsellers__foot-mobile { display: none; text-align: center; margin-top: 20px; }

.bestsellers__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 24px;
}
.bestsellers__slider { height: 100%; }
.bestsellers__viewport { height: 100%; }
.bestsellers__list { height: 100%; }
.bestsellers__slider { position: relative; overflow: hidden; }
.bestsellers__viewport { overflow: hidden; }
.bestsellers__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
    transition: transform .45s cubic-bezier(.65,.05,.36,1);
    will-change: transform;
}
.bestsellers__nav {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 40, 90, 1);
    color: rgba(0, 40, 90, 1);
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: background .15s ease, color .15s ease;
}
.bestsellers__nav:hover { background: rgba(0, 40, 90, 1); color: #fff; }
.bestsellers__nav--prev { left: -50px; }
.bestsellers__nav--next { right: -50px; }
.bs-card {
    position: relative;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(217, 217, 217, 1);
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: transform .2s ease, box-shadow .2s ease;
}
.bs-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,.12); }
.bs-card__cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 191px;
    height: 187px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
}
.bs-card__cover img { width: 191px; height: 187px; object-fit: contain; }
.bs-card__title {
    margin: 20px 0 0;
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    color: rgba(0, 40, 90, 1);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bs-card__title a { color: inherit; }
.bs-card__title a:hover { color: var(--c-red); }
.bs-card__buy {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
}
.bs-card__price-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bs-card__origin-price {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: line-through;
    color: rgba(0, 0, 0, 1);
}
.bs-card__price {
    font-family: 'UTM Bebas', 'Barlow', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    color: rgba(207, 32, 39, 1);
}
.bs-card__price sup { font-size: 14px; margin-left: 1px; top: -.3em; }
.bs-card__add {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: #fff;
    color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    transition: filter .15s ease;
}
.bs-card__add:hover { background: var(--c-primary); color: #fff; }

.bs-item { display: flex; flex-direction: column; height: 100%; }
.bs-card { flex: 1; }
.bs-card__sold {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0;
    color: rgba(0, 40, 90, 1);
    margin-top: 10px;
}
.bs-card__bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 4px;
}
.bs-card__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #8ECCFF 0%, #0073DE 100%);
    border-radius: 999px;
}

/* Featured card */
.bs-feature {
    width: 100%;
    height: auto;
    background: linear-gradient(0.87deg, #00285A 5.35%, #2A75D3 105.51%) border-box;
    border: 13px solid transparent;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(10,30,74,.12);
    position: relative;
    color: var(--c-text);
}
.bs-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: inherit;
    z-index: 0;
}
.bs-feature > * { position: relative; z-index: 1; }
.bs-feature__cover {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}
.bs-feature__cover img { width: 300px; height: 293px; object-fit: contain; }
.bs-feature__title {
    margin: 0;
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    color: rgba(0, 40, 90, 1);
}
.bs-feature__title a { color: inherit; }
.bs-feature__title a:hover { color: var(--c-primary); }

.bs-feature__buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e5e7eb;
}
.bs-feature__price-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bs-feature__old {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-decoration: line-through;
    color: rgba(0, 0, 0, 1);
}
.bs-feature__old sup { display: none; }
.bs-feature__price {
    font-family: 'UTM Bebas', 'Barlow', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    color: rgba(207, 32, 39, 1);
}
.bs-feature__price sup { font-size: 14px; margin-left: 1px; top: -.3em; }
.bs-feature__add {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: #fff;
    color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
}
.bs-feature__add:hover { background: var(--c-primary); color: #fff; }

.bs-feature__progress { display: flex; flex-direction: column-reverse; gap: 4px; }
.bs-feature__bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}
.bs-feature__bar span {
    display: block; height: 100%;
    background: linear-gradient(90deg, #8ECCFF 0%, #0073DE 100%);
    border-radius: 999px;
}
.bs-feature__progress small {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
    color: rgba(0, 40, 90, 1);
}

.bs-feature__bundle {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 12px;
    margin-top: 4px;
}
.bs-feature__bundle h4 {
    margin: 0 0 10px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--c-primary);
}
.bs-feature__bundle ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bs-feature__bundle a {
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    transition: transform .2s ease;
}
.bs-feature__bundle a:hover { transform: translateY(-2px); }
.bs-feature__bundle img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1024px) {
    .bestsellers__grid { grid-template-columns: 1fr; }
    .bs-feature { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 560px) {
    .bestsellers__list { grid-template-columns: 1fr; }
    .bestsellers__title { font-size: 13px; letter-spacing: .3px; }
}

/* ===== Combo banners ===== */
.combos {
    padding: 56px 0;
    position: relative;
}
.combos::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><path d='M0 40h80M40 0v80' stroke='%23ffffff' stroke-opacity='.04' stroke-width='1'/></svg>");
    pointer-events: none;
}
.combos > .container { position: relative; z-index: 1; }

.combos__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}
.combos__line { display: none; }
.combos__title {
    margin: 0;
    font-family: 'Barlow', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0;
    text-align: center;
    color: rgba(0, 40, 90, 1);
    padding-bottom: 12px;
    position: relative;
}
.combos__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #fbbf24;
    border-radius: 2px;
}

.combos__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 451px 451px;
    gap: 20px;
}
.combo-card:nth-child(1) { grid-column: 1 / 4; }
.combo-card:nth-child(2) { grid-column: 4 / 6; }
.combo-card:nth-child(3) { grid-column: 1 / 3; }
.combo-card:nth-child(4) { grid-column: 3 / 6; }
.combo-card a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,.35);
    transition: transform .25s ease, box-shadow .25s ease;
}
.combo-card a:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0,0,0,.5);
}
.combo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.combo-card a:hover img { transform: scale(1.04); }
.combo-card a::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 40%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .combos { padding: 40px 0; }
    .combos__grid { grid-template-columns: 1fr; gap: 14px; }
    .combos__title { font-size: 17px; letter-spacing: 1px; }
    .combos__line { max-width: 60px; }
}

/* ===== Testimonials ===== */
.testimonials { padding: 56px 0; background: #fff; }
.testimonials > .container { max-width: 1680px; }
.testimonials__title {
    margin: 0 0 32px;
    font-family: 'Barlow', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0;
    text-align: center;
    color: rgba(0, 40, 90, 1);
}
.testimonials__slider { position: relative; }
.testimonials__viewport { overflow: hidden; }
.testimonials__nav {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 40, 90, 1);
    color: rgba(0, 40, 90, 1);
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: background .15s ease, color .15s ease;
}
.testimonials__nav:hover { background: rgba(0, 40, 90, 1); color: #fff; }
.testimonials__nav--prev { left: -50px; }
.testimonials__nav--next { right: -50px; }
.testimonials__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    perspective: 1200px;
}
.tm-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    width: 522px;
    flex-shrink: 0;
    min-height: 232px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(10,30,74,.06);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 25px;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1), box-shadow .4s ease, width .6s cubic-bezier(.4, 0, .2, 1), order 0s;
    transform-origin: center center;
}
/* Coverflow: JS toggles .is-center class */
.tm-card.is-left {
    transform: perspective(1200px) rotateY(15deg) translateX(40px) scale(.9);
    cursor: pointer;
    animation: slideFromRight .6s cubic-bezier(.4,0,.2,1);
}
.tm-card.is-center {
    width: 616px;
    transform: rotateY(0) scale(1);
    z-index: 2;
    box-shadow: 0 8px 30px rgba(10,30,74,.14);
    animation: slideToCenter .6s cubic-bezier(.4,0,.2,1);
}
.tm-card.is-right {
    transform: perspective(1200px) rotateY(-15deg) translateX(-40px) scale(.9);
    cursor: pointer;
    animation: slideFromLeft .6s cubic-bezier(.4,0,.2,1);
}
@keyframes slideToCenter {
    0% { transform: scale(.85); opacity: .7; }
    50% { transform: scale(1.03); }
    100% { transform: rotateY(0) scale(1); opacity: 1; }
}
@keyframes slideFromLeft {
    0% { transform: perspective(1200px) rotateY(0) translateX(0) scale(1); }
    100% { transform: perspective(1200px) rotateY(-15deg) translateX(-40px) scale(.9); }
}
@keyframes slideFromRight {
    0% { transform: perspective(1200px) rotateY(0) translateX(0) scale(1); }
    100% { transform: perspective(1200px) rotateY(15deg) translateX(40px) scale(.9); }
}
.tm-card.is-center:hover {
    box-shadow: 0 12px 28px rgba(10,30,74,.14);
}
.tm-card.is-hidden-card {
    display: none;
}
.tm-card--featured {
    border-color: var(--c-primary);
    box-shadow: 0 8px 24px rgba(10,30,74,.14);
}

.tm-card__img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    align-self: center;
}
.tm-card__img img { width: 100%; height: 100%; object-fit: cover; }
.tm-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.tm-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}
.tm-card__avatar { display: none; }
.tm-card__divider {
    width: 100%;
    max-width: 360px;
    height: 0;
    border: none;
    border-top: 1px solid rgba(0, 40, 90, 1);
    margin: 12px 0;
}
.tm-card__avatar-old {
    width: 48px; height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef2f7;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--c-primary);
}
.tm-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tm-card__person { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tm-card__person strong {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    background: linear-gradient(270deg, #0C4286 0%, #001E43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: .3px;
    line-height: 1.2;
}
.tm-card__person span {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0;
    background: linear-gradient(270deg, #0C4286 0%, #001E43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tm-card__fb { display: inline-flex; }

.tm-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2f7;
}
.tm-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.tm-card__media:hover img { transform: scale(1.04); }

.tm-card__text {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0;
    text-align: justify;
    color: rgba(0, 24, 54, 1);
    color: #4b5563;
    text-align: justify;
}

.testimonials__foot { text-align: center; margin-top: 28px; }
.testimonials__foot .testimonials__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(180deg, #E92028 0%, #86040A 100%);
    color: rgba(255, 255, 255, 1);
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0;
    text-align: center;
    border-radius: 8px;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    box-shadow: 0px 4px 4px 0px rgba(255, 0, 0, 0.13);
}
.testimonials__foot .testimonials__more:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 12px 0px rgba(255, 0, 0, 0.25);
    filter: brightness(1.08);
}

@media (max-width: 1024px) {
    .testimonials__grid { grid-template-columns: 1fr 1fr; }
    .tm-card--featured { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .testimonials__grid { grid-template-columns: 1fr; }
    .tm-card--featured { grid-column: auto; }
    .testimonials__title { font-size: 18px; letter-spacing: .5px; }
}

/* ===== Press / Media ===== */
.press { padding: 56px 0; background: #f9fafb; }
.press__title {
    margin: 0 0 32px;
    font-family: 'Barlow', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0;
    text-align: center;
    color: rgba(0, 40, 90, 1);
}

.press__slider { position: relative; }
.press__viewport { overflow: hidden; }
.press__track {
    display: flex;
    gap: 20px;
    transition: transform .45s cubic-bezier(.65,.05,.36,1);
    will-change: transform;
}
.press__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 1);
    color: rgba(0, 40, 90, 1);
    border: 1px solid rgba(0, 40, 90, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.press__nav:hover { background: var(--c-primary); color: #fff; transform: translateY(-50%) scale(1.05); }
.press__nav--prev { left: -54px; }
.press__nav--next { right: -54px; }

.press-card {
    flex: 0 0 calc((100% - 20px * 2) / 3);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.press-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(10,30,74,.16);
}
.press-card__media {
    display: block;
    width: 375px;
    height: 235px;
    overflow: hidden;
}
.press-card__media img {
    width: 375px; height: 235px;
    object-fit: cover;
    transition: transform .5s ease;
}
.press-card__media:hover img { transform: scale(1.05); }

.press-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    position: relative;
}
.press-card__date {
    font-size: 12px;
    color: rgba(132, 131, 131, 1);
    font-weight: 500;
}
.press-card__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}
.press-card__title {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0;
    flex: 1;
}
.press-card__body .press-card__title a { color: rgba(0, 24, 54, 1); text-decoration: none; }
.press-card__body .press-card__title a:hover { color: #1773EA; }

.press-card__source {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    width: 114px;
    height: 44px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
.press-card__source img { width: 100%; height: 100%; object-fit: contain; display: block; }

.press__foot { text-align: center; margin-top: 28px; }
.press__foot .press__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(180deg, #E92028 0%, #86040A 100%);
    color: rgba(255, 255, 255, 1);
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0;
    text-align: center;
    border-radius: 8px;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    box-shadow: 0px 4px 4px 0px rgba(255, 0, 0, 0.13);
}
.press__foot .press__more:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 12px 0px rgba(255, 0, 0, 0.25);
    filter: brightness(1.08);
}

@media (max-width: 1100px) {
    .press__nav--prev { left: 4px; }
    .press__nav--next { right: 4px; }
}
@media (max-width: 900px) {
    .press-card { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 480px) {
    .press-card { flex: 0 0 100%; }
    .press__title { font-size: 18px; letter-spacing: .5px; }
}

/* ===== Partners ===== */
.partners { padding: 56px 0; background: #fff; }
.partners__title {
    margin: 0 0 32px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: 1.5px;
}
.partners__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.partner a {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 220 / 90;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,.04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.partner a:hover {
    transform: translateY(-3px);
    border-color: var(--c-primary);
    box-shadow: 0 10px 22px rgba(10,30,74,.12);
}
.partner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(.15);
    transition: filter .2s ease;
}
.partner a:hover img { filter: grayscale(0); }
.partner__fallback {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: .5px;
}

@media (max-width: 1024px) { .partners__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .partners__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (max-width: 480px)  {
    .partners__grid { grid-template-columns: repeat(2, 1fr); }
    .partners__title { font-size: 17px; letter-spacing: .5px; }
}

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(90deg, #08213C 0%, #1B2D59 100%);
    color: #cbd5e1;
    padding-top: 48px;
    margin-top: 0;
}
.site-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    grid-template-rows: 1fr auto;
    gap: 24px 36px;
    padding-bottom: 36px;
}
.footer-brand { grid-row: 1 / 3; }
.footer-col:nth-child(2) { grid-row: 1 / 3; }
.footer-newsletter-wrap {
    grid-column: 3 / 5;
    grid-row: 2;
}

.footer-brand__logo {
    margin-bottom: 12px;
}
.footer-brand__logo img { height: 82px; width: auto; object-fit: contain; }
.footer-brand__name {
    margin: 0 0 4px;
    font-family: 'UTM Bebas', 'Barlow', sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 1);
}
.footer-brand__slogan {
    margin: 0 0 16px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0;
    font-style: normal;
    color: rgba(255, 255, 255, 1);
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 1);
}
.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
}
.footer-socials {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-socials a {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, transform .15s ease;
}
.footer-socials a:hover { background: var(--c-accent); transform: translateY(-2px); }

.footer-col__title {
    margin: 0 0 16px;
    font-family: 'UTM Bebas', 'Barlow', sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 1);
}
.footer-col__title--mt { margin-top: 24px; }

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.footer-list a {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 34px;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 1);
    transition: color .15s ease, padding-left .15s ease;
}
.footer-list a:hover { color: var(--c-accent); padding-left: 4px; }

.footer-newsletter {
    display: flex;
    align-items: stretch;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.footer-newsletter input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    font-size: 13px;
    color: var(--c-text);
    background: transparent;
}
.footer-newsletter input::placeholder { color: #9ca3af; }
.footer-newsletter button {
    padding: 0 18px;
    background: rgba(207, 32, 39, 1);
    color: #fff;
    border: none;
    outline: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: filter .15s ease;
}
.footer-newsletter button:hover { filter: brightness(1.1); }

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px 0;
    text-align: center;
}
.site-footer__bottom small {
    color: #94a3b8;
    font-size: 12px;
}

@media (max-width: 1024px) {
    .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
    .site-footer { padding-top: 36px; }
    .site-footer__inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
}

/* ===== Card wishlist icon ===== */
.card-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: none;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 3;
    cursor: pointer;
}
.card-wishlist img { width: 32px; height: 32px; display: block; }
.card-wishlist .heart-hover { display: none; }
.card-wishlist:hover .heart-default { display: none; }
.card-wishlist:hover .heart-hover { display: block; }
.deal-card:hover .card-wishlist,
.nb-card:hover .card-wishlist,
.bs-card:hover .card-wishlist { opacity: 1; transform: scale(1); }

/* ===== Back to top ===== */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #001938 0%, #003578 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,53,120,.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease, filter .15s ease;
    z-index: 99;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { filter: brightness(1.15); transform: translateY(-3px); }

@media (max-width: 600px) {
    .back-to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}

/* ===== Responsive overrides ===== */

/* --- Tablet landscape (≤1280px) --- */
@media (max-width: 1280px) {
    .bestsellers__grid { grid-template-columns: 1fr; }
    .bs-feature { width: 100%; max-width: 628px; height: auto; margin: 24px auto 0; }
    .bestsellers__list { grid-template-columns: repeat(2, 1fr); }
    .bs-card { width: 100%; height: auto; }
    .nb-card { width: 100%; }
    .combos__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
    }
    .combo-card:nth-child(1),
    .combo-card:nth-child(2),
    .combo-card:nth-child(3),
    .combo-card:nth-child(4) { grid-column: auto; }
    .combo-card a { height: auto; aspect-ratio: 16 / 10; }
}

/* --- Tablet portrait (≤1024px) --- */
@media (max-width: 1024px) {
    .intro__inner { grid-template-columns: 1fr; gap: 28px; }
    .intro__content { padding-left: 0; text-align: center; }
    .intro__title { font-size: 28px; line-height: 32px; }
    .intro__desc { margin-top: 28px; text-align: justify; font-size: 14px; }
    .intro__btn { margin: 28px auto 0; }
    .intro__video { max-width: 100%; margin: 0 auto; }

    .deal-item { flex: 0 0 calc((100% - 18px * 2) / 3); max-width: calc((100% - 18px * 2) / 3); }

    .categories__grid { grid-template-columns: repeat(3, 1fr); }
    .cat-card a { width: 100%; }

    .press-card { flex: 0 0 calc((100% - 20px) / 2); }
    .press-card__media { width: 100%; }
    .press-card__media img { width: 100%; height: auto; }

    .combos__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
    }
    .combo-card:nth-child(1),
    .combo-card:nth-child(2),
    .combo-card:nth-child(3),
    .combo-card:nth-child(4) { grid-column: auto; }
    .combo-card a { height: auto; aspect-ratio: 16 / 10; }

    .testimonials__grid { grid-template-columns: 1fr 1fr; }
    .tm-card--featured { grid-column: 1 / -1; }
}

/* --- Mobile landscape (≤768px) --- */
@media (max-width: 768px) {
    .top-banner__inner { flex-wrap: wrap; justify-content: center; }
    .top-banner { font-size: 12px; }

    .hot-deals__head { flex-direction: column; align-items: center; gap: 0px; text-align: center; }
    .hot-deals__title { font-size: 24px; line-height: 30px; padding: 8px 16px; }
    .hot-deals__timer { flex-direction: column; align-items: center; gap: 8px; }
    .deal-item { flex: 0 0 calc((100% - 18px) / 2); max-width: calc((100% - 18px) / 2); }
    .deal-card__title { font-size: 16px; }
    .deal-card__price { font-size: 24px; }
    .deal-card__origin-price { font-size: 13px; }
    .deal-card__progress small { font-size: 15px; }

    .categories__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .categories__title { font-size: 28px; line-height: 32px; }
    .cat-card a { width: 100%; height: 180px; }
    .cat-card__name { font-size: 20px; }
    .cat-card__detail { font-size: 14px; }

    .new-books__head { margin-top: -50px; gap: 10px; }
    .new-books__badge-wrap img { width: 60px; }
    .new-books__title { font-size: 20px; letter-spacing: 1px; }

    .bestsellers__head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .bestsellers__head .bestsellers__more { display: none; }
    .bestsellers__foot-mobile { display: block; }
    .bestsellers__title { font-size: 26px; line-height: 30px; }
    .bestsellers__list { display: flex; gap: 12px; }
    .bs-item { flex: 0 0 calc((100% - 12px) / 2); }
    .bestsellers__nav { display: inline-flex; }
    .bestsellers__nav--prev { left: 4px; }
    .bestsellers__nav--next { right: 4px; }
    .bs-card { width: 100%; height: auto; }
    .bs-card__cover { width: 100%; height: auto; }
    .bs-card__cover img { width: 100%; height: auto; }
    .bs-card__title { font-size: 15px; }
    .bs-card__price { font-size: 22px; }
    .bs-feature { padding: 16px; }
    .bs-feature__cover img { width: 200px; height: auto; }
    .bs-feature__title { font-size: 18px; }
    .bs-feature__price { font-size: 24px; }
    .bs-feature { border-width: 8px; }
    .bs-feature::before { border-radius: inherit; }

    .combos__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .combo-card:nth-child(1),
    .combo-card:nth-child(2),
    .combo-card:nth-child(3),
    .combo-card:nth-child(4) { grid-column: auto; }
    .combos__title { font-size: 28px; line-height: 32px; }
    .combo-card a { height: auto; aspect-ratio: 16 / 9; }

    .testimonials__grid { display: flex; gap: 16px; perspective: none; }
    .tm-card { flex: 0 0 100%; grid-template-columns: 1fr; transform: none !important; opacity: 1 !important; }
    .tm-card__img { width: 100%; height: 180px; }
    .tm-card--featured { flex: 0 0 100%; }
    .testimonials__nav { display: inline-flex; }
    .testimonials__nav--prev { left: 4px; }
    .testimonials__nav--next { right: 4px; }
    .testimonials__title { font-size: 26px; line-height: 30px; }
    .tm-card__person strong { font-size: 14px; }
    .tm-card__text { font-size: 14px; }

    .press-card { flex: 0 0 calc((100% - 20px) / 2); }
    .press__title { font-size: 26px; line-height: 30px; }
    .press-card__title { font-size: 16px; }
    .press-card__date { font-size: 13px; }

    .partners__title { font-size: 22px; }

    .site-footer__inner { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand:nth-child(1) { grid-row: auto; }
    .footer-col:nth-child(2) { grid-row: auto; }
    .footer-newsletter-wrap { grid-column: 1 / -1; }
    .footer-brand__name { font-size: 24px; line-height: 30px; }
    .footer-brand__slogan { font-size: 16px; }
    .footer-contact li { font-size: 16px; line-height: 26px; }
    .footer-col__title { font-size: 24px; line-height: 30px; }
    .footer-list a { font-size: 16px; line-height: 32px; }
    .footer-list a { font-size: 14px; line-height: 30px; }
}

/* --- Mobile portrait (≤480px) --- */
@media (max-width: 480px) {
    .top-banner { font-size: 10px; }
    .top-banner__inner { flex-direction: column; gap: 2px; min-height: 44px; padding: 6px 0; text-align: center; }

    .site-header__inner { gap: 8px; }
    .site-logo img { height: 34px; }
    .site-search input { height: 36px; font-size: 13px; }

    .site-nav__inner { min-height: 52px; }
    .nav-actions { gap: 14px; }
    .nav-action__label { display: none; }
    .nav-action__icon img { width: 28px; height: 28px; }
    .nav-action__badge { min-width: 20px; height: 20px; font-size: 12px; line-height: 20px; }
    .nav-menu .nav-link { font-size: 12px; padding: 18px 0; }

    .hero__slide { aspect-ratio: 4 / 3; }

    .intro { padding: 28px 0; }
    .intro__title { font-size: 22px; line-height: 26px; }
    .intro__desc { font-size: 15px; margin-top: 20px; text-align: justify; }
    .intro__btn { margin-top: 24px; font-size: 15px; padding: 12px 24px; }

    .hot-deals { padding: 24px 0; }
    .hot-deals__title { font-size: 20px; padding: 8px 14px; line-height: 26px; }
    .hot-deals__timer { flex-direction: column; align-items: center; gap: 6px; }
    .hot-deals__timer-label { font-size: 14px; }
    .countdown { gap: 5px; }
    .countdown li { width: 38px; height: 43px; }
    .countdown li span { font-size: 16px; }
    .countdown li small { font-size: 9px; }
    .deal-item { flex: 0 0 100%; max-width: 100%; }
    .deal-card__title { font-size: 15px; }
    .deal-card__price { font-size: 22px; }
    .deal-card__add { font-size: 12px; padding: 7px 10px; }
    .deal-card__progress small { font-size: 14px; }

    .categories { padding: 32px 0; }
    .categories__title { font-size: 22px; line-height: 26px; }
    .cat-card a { height: 150px; padding: 0 12px 14px; }
    .cat-card__name { font-size: 17px; }
    .cat-card__detail { font-size: 13px; }
    .cat-card__bottom::before { flex: 0 0 30px; }

    .new-books { padding: 40px 0; }
    .new-books__head { margin-top: -35px; gap: 8px; }
    .new-books__badge-wrap img { width: 50px; }
    .new-books__title { font-size: 16px; letter-spacing: .5px; padding-bottom: 3px; }
    .new-books__title::after { width: 40px; height: 2px; }
    .nb-card__title { font-size: 15px; }
    .nb-card__desc { font-size: 13px; -webkit-line-clamp: 3; }
    .nb-card__price { font-size: 22px; }
    .nb-card__sold { font-size: 13px; }
    .btn-cart { font-size: 13px; padding: 7px 12px; }

    .bestsellers { padding: 32px 0; }
    .bestsellers__title { font-size: 20px; line-height: 24px; gap: 6px; }
    .bestsellers__icon img { width: 28px; }
    .bestsellers__more { font-size: 14px; padding: 10px 22px; }
    .bestsellers__list { display: flex; gap: 10px; }
    .bs-item { flex: 0 0 100%; }
    .bestsellers__nav { display: inline-flex; }
    .bestsellers__nav--prev { left: 4px; }
    .bestsellers__nav--next { right: 4px; }
    .bs-card__title { font-size: 15px; margin-top: 14px; }
    .bs-card__price { font-size: 22px; }
    .bs-card__add { font-size: 13px; }
    .bs-feature__cover img { width: 160px; height: auto; }
    .bs-feature__title { font-size: 16px; }
    .bs-feature__price { font-size: 22px; }
    .bs-feature__old { font-size: 13px; }
    .bs-feature__add { font-size: 13px; }
    .bs-feature__bundle h4 { font-size: 14px; }

    .combos { padding: 32px 0; }
    .combos__title { font-size: 22px; line-height: 26px; }

    .testimonials { padding: 32px 0; }
    .testimonials__title { font-size: 22px; line-height: 26px; }
    .tm-card { padding: 14px; }
    .tm-card__person strong { font-size: 13px; }
    .tm-card__person span { font-size: 12px; }
    .tm-card__text { font-size: 13px; line-height: 1.6; }
    .testimonials__more { font-size: 15px; padding: 12px 24px; }

    .press { padding: 32px 0; }
    .press__title { font-size: 22px; line-height: 26px; }
    .press-card__date { font-size: 12px; }
    .press-card__title { font-size: 15px; }
    .press-card__source img { height: 24px; }
    .press__more { font-size: 15px; padding: 12px 24px; }
    .press-card { flex: 0 0 100%; }

    .partners { padding: 32px 0; }
    .partners__title { font-size: 20px; }
    .partner a { padding: 10px 14px; }

    .site-footer { padding-top: 28px; }
    .site-footer__inner { grid-template-columns: 1fr; gap: 20px; }
    .footer-brand__logo img { height: 68px; }
    .footer-brand__name { font-size: 20px; line-height: 26px; }
    .footer-brand__slogan { font-size: 15px; line-height: 24px; }
    .footer-contact li { font-size: 15px; line-height: 24px; }
    .footer-col__title { font-size: 20px; line-height: 26px; }
    .footer-list a { font-size: 15px; line-height: 30px; }
    .footer-newsletter-wrap { grid-column: auto; }
    .footer-newsletter input { font-size: 14px; }
    .footer-newsletter button { font-size: 14px; padding: 0 16px; }
    .site-footer__bottom small { font-size: 11px; }
}
