/* ================================================================
   BARGAIN BOOK HUT — COMPLETE MOBILE RESPONSIVE STYLESHEET
   Version: 3.0 Production Ready
   No desktop styles altered. Fonts, colors, visuals untouched.
   Fixes: Heritage section (image clipping, logos out of frame, centering)
   All sections fully responsive across 1024px → 375px.
================================================================ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   0. GLOBAL RESET & OVERFLOW PREVENTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    * {
        max-width: 100vw;
    }
    
    
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        position: relative;
    }

    .container,
    .header__container,
    .bs__inner,
    .dotm__inner,
    .lr__inner,
    .wylt__inner,
    .bundles__inner,
    .cant-find__inner,
    .footer__grid,
    .heritage__inner {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. HEADER & NAVIGATION (touch-friendly, no layout shift)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
    .header__container {
        padding: 0 24px;
        gap: 20px;
    }

    .header__nav-link {
        padding: 0 10px;
        font-size: 0.78rem;
    }
}

@media (max-width: 900px) {
    .header__container {
        padding: 0 16px;
        gap: 12px;
    }

    .header__nav {
        display: none;
    }

    .header__hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .header__hamburger span {
        display: block;
        height: 2px;
        width: 20px;
        background: #ffffff;
        border-radius: 2px;
        transition: 0.2s;
    }

    .header__nav.is-open {
        display: block;
        position: fixed;
        top: 61px;
        left: 0;
        right: 0;
        background: #2a3141;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
        z-index: 199;
        max-height: calc(100vh - 61px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .header__nav.is-open .header__nav-list {
        flex-direction: column;
        padding: 4px 0 12px;
    }

    .header__nav.is-open .header__nav-link {
        line-height: 1.2;
        padding: 14px 24px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        color: #ffffff;
        display: block;
    }

    .header__actions {
        gap: 2px;
    }

    .header__icon-btn {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .header__container {
        padding: 0 12px;
    }

    .header__logo-svg img {
        height: 32px;
        width: auto;
    }

    .header__icon-btn {
        width: 34px;
        height: 34px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. SEARCH BAR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
    #searchBar {
        top: 61px;
        padding: 12px 0;
        background: #ffffff;
    }

    #searchBarInner {
        padding: 0 16px;
        gap: 10px;
    }

    #searchPill {
        height: 48px;
        padding: 0 10px 0 16px;
    }

    #searchInput {
        font-size: 0.95rem;
    }

    #searchHints {
        padding: 0 16px;
        gap: 6px;
        flex-wrap: wrap;
    }

    .search-tag {
        height: 30px;
        padding: 0 12px;
        font-size: 0.74rem;
    }
}

@media (max-width: 480px) {
    #searchBarInner {
        padding: 0 12px;
    }

    #searchPill {
        height: 44px;
    }

    #searchSubmit,
    #searchClose {
        width: 36px;
        height: 36px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. TOP TICKER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
    .ticker {
        height: 34px;
    }

    .ticker__item {
        font-size: 0.7rem;
        padding: 0 20px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .ticker {
        height: 30px;
    }

    .ticker__item {
        font-size: 0.65rem;
        padding: 0 16px;
    }

    .ticker__dot {
        width: 3px;
        height: 3px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. HERO SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
    .hero {
        min-height: 520px;
        max-height: none;
    }

    .hero__right {
        display: none;
    }

    .hero__content {
        padding: 0 32px 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .hero__left {
        max-width: 100%;
    }

    .hero__reader {
        object-position: 65% 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 460px;
        height: auto;
    }

    .hero__content {
        padding: 0 20px 32px;
        gap: 20px;
    }

    .hero__headline {
        font-size: clamp(32px, 8vw, 52px);
    }

    .hero__sub {
        font-size: clamp(13px, 3.5vw, 15px);
    }

    .hero__dots {
        bottom: 16px;
        gap: 8px;
    }

    .hero__dot {
        width: 7px;
        height: 7px;
    }

    .hero__dot.is-active {
        width: 22px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 400px;
    }

    .hero__content {
        padding: 0 16px 28px;
    }

    .hero__headline {
        font-size: clamp(28px, 9vw, 42px);
    }

    .hero__reader {
        object-position: 60% 100%;
    }
}

@media (max-width: 375px) {
    .hero {
        min-height: 360px;
    }

    .hero__headline {
        font-size: clamp(24px, 10vw, 36px);
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. BESTSELLERS SECTION (.bs)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
    .bs__inner {
        padding: 0 24px;
    }

    .bs__card {
        width: 480px;
    }
}

@media (max-width: 900px) {
    .bs__row {
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 768px) {
    .bs {
        padding: 48px 0 64px;
    }

    .bs__inner {
        padding: 0 20px;
    }

    .bs__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 20px;
    }

    .bs__title {
        font-size: 2rem;
    }

    .bs__filters {
        margin-bottom: 24px;
    }

    .bs__row {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        gap: 16px;
    }

    .bs__card {
        width: 85vw;
        min-width: 280px;
        max-width: 400px;
        flex-direction: column;
    }

    .bs__cover {
        width: 100%;
        min-height: 220px;
        max-height: 260px;
    }

    .bs__body {
        padding: 16px 16px 14px;
    }

    .bs__name {
        font-size: 1.2rem;
    }

    .bs__desc {
        -webkit-line-clamp: 3;
    }

    .bs__price-now {
        font-size: 1.1rem;
    }

    .bs__atb {
        height: 30px;
        padding: 0 16px;
        font-size: 0.82rem;
    }

    .bs__save {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .bs {
        padding: 40px 0 56px;
    }

    .bs__inner {
        padding: 0 16px;
    }

    .bs__row {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        gap: 14px;
    }

    .bs__card {
        width: 88vw;
        min-width: 260px;
    }

    .bs__cover {
        min-height: 200px;
    }

    .bs__pill {
        height: 36px;
        padding: 0 14px;
        font-size: 0.8rem;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. SALE TICKER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
    .sale-ticker {
        height: 36px;
    }

    .sale-ticker__item {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        padding: 0 16px;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .sale-ticker {
        height: 32px;
    }

    .sale-ticker__item {
        font-size: 0.65rem;
        padding: 0 12px;
        gap: 10px;
    }

    .bundles__head .sr .in {
        padding: 1px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. DEALS OF THE MONTH (.dotm)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
    .bs__filters.sr.in {
        padding: 1px;
    }

    .bs__cover {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
        overflow: hidden;
    }

    .bs__cover img {
        width: 100%;
        height: 100%;
        object-fit: scale-down !important;
        object-position: center;
        padding: 12px;
    }

    .bs__name,
    .bs__author {
        text-align: center !important;
        width: 100%;
    }

    .dotm__head {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100%;
        margin: 0 auto 20px;
    }

    .dotm__title,
    .dotm__sub,
    .dotm__link {
        width: 100%;
        text-align: center !important;
    }

    .dotm__filters {
        display: flex;
        justify-content: center !important;
        align-items: center;
        /* flex-wrap: wrap; */
        width: 100%;
        margin: 24px auto 0;
    }

    .dotm__head {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .dotm__title,
    .dotm__sub,
    .dotm__link {
        text-align: center;
    }

    .dotm__filters {
        justify-content: center;
        /* flex-wrap: wrap; */
    }
}

@media (max-width: 1024px) {
    .dotm__inner {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .dotm {
        padding: 52px 0 64px;
    }

    .dotm__inner {
        padding: 0 20px;
    }

    .dotm__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 16px;
    }

    .dotm__filters {
        margin-bottom: 28px;
    }

    .dotm__row {
        gap: 24px;
    }

    .dotm__card {
       /*flex: 0 0 175px; */
    }

    .dotm__badge {
        width: 58px;
        height: 58px;
        margin-left: -20px;
        margin-top: -6px;
    }

    .dotm__badge-pct {
        font-size: 0.65rem;
    }

    .dotm__badge-off {
        font-size: 0.5rem;
    }
}

@media (max-width: 600px) {
    .dotm__card {
       /* flex: 0 0 165px; */
    }
}

@media (max-width: 480px) {
    .dotm {
        padding: 40px 0 52px;
    }

    .dotm__inner {
        padding: 0 16px;
    }

    .dotm__card {
      /*  flex: 0 0 155px; */
    }

    .dotm__pill {
        font-size: 0.78rem;
        padding: 6px 14px;
    }

    .dotm__title {
        font-size: 1.6rem;
    }

    .dotm__badge {
        width: 50px;
        height: 50px;
        margin-left: -16px;
        margin-top: -4px;
    }
}

@media (max-width: 375px) {
    .dotm__card {
      /*  flex: 0 0 145px; */
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. EVENT BANNER
   Strategy:
     ≥ 900px  → horizontal layout, author + book side-by-side
     768–900px → tighter horizontal, author scaled down
     < 768px  → VERTICAL STACK: author hidden, content full-width
                top, book centred below. Text is always fully readable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── 1200px — subtle scale-down ─────────────────────────────── */
@media (max-width: 1200px) {
    .event-banner__author {
        max-height: 480px;
        right: calc(32px + 105px);
    }

    .event-banner__book {
        max-height: 320px;
        right: 24px;
    }
}

/* ── 1024px ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .event-banner-wrap {
        padding: 40px 24px 0;
    }

    .event-banner__content {
        width: 42%;
        padding: 32px 12px 32px 32px;
        gap: 14px;
    }

    .event-banner__title {
        font-size: clamp(20px, 2.6vw, 30px);
    }

    .event-banner__desc {
        font-size: 0.84rem;
        line-height: 1.5;
    }

    .event-banner__detail-icon {
        width: 42px;
        height: 42px;
    }

    .event-banner__detail-value {
        font-size: 0.84rem;
    }

    .event-banner__author {
        display: block !important;
        height: calc(100% + 10px);
        max-height: 400px;
        right: calc(24px + 82px);
    }

    .event-banner__book {
        right: 18px;
        bottom: 14px;
        height: 76%;
        max-height: 280px;
    }
}

/* ── 900px ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .event-banner-wrap {
        padding: 36px 20px 0;
    }

    .event-banner__content {
        width: 44%;
        padding: 28px 12px 28px 26px;
        gap: 12px;
    }

    .event-banner__title {
        font-size: clamp(18px, 2.4vw, 24px);
    }

    .event-banner__desc {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .event-banner__detail-icon {
        width: 38px;
        height: 38px;
    }

    .event-banner__author {
        max-height: 330px;
        right: calc(20px + 72px);
    }

    .event-banner__book {
        right: 12px;
        max-height: 230px;
        height: 74%;
    }
}

/* ── 768px — VERTICAL STACK (mobile portrait breakpoint) ────── */
/*
   KEY FIX: At ≤768px the author image physically overlaps
   the text content because it is absolutely positioned
   outside the card. Solution: hide author, stack vertically,
   show book image below the text instead.
*/
@media (max-width: 768px) {

    /* 1. Remove top bleed padding — no author to bleed upward */
    .event-banner-wrap {
        padding: 0 16px !important;
        overflow: visible;
        background: #fff;
    }

    /* 2. Card stacks top-to-bottom */
    .event-banner {
        flex-direction: column !important;
        min-height: auto !important;
        align-items: stretch !important;
        border-radius: 16px !important;
        margin: 16px 0 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    /* 3. Content takes full width at top — text fully readable */
    .event-banner__content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 28px 22px 22px !important;
        gap: 14px !important;
        order: 1;
        flex: none;
    }

    .event-banner__title {
        font-size: clamp(22px, 5.8vw, 30px) !important;
        line-height: 1.15;
    }

    .event-banner__desc {
        font-size: 0.875rem !important;
        line-height: 1.6;
    }

    .event-banner__details {
        gap: 12px;
    }

    .event-banner__detail-row {
        align-items: center;
        gap: 12px;
    }

    .event-banner__detail-icon {
        width: 44px !important;
        height: 44px !important;
        flex-shrink: 0;
    }

    .event-banner__detail-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    .event-banner__detail-label {
        font-size: 0.6rem !important;
    }

    .event-banner__detail-value {
        font-size: 0.85rem !important;
    }

    .event-banner__actions {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 4px;
    }

    .event-banner__spots {
        font-size: 0.62rem !important;
        padding: 5px 12px !important;
    }

    .event-banner__cta {
        padding: 12px 24px !important;
        font-size: 0.88rem !important;
        flex: 1;
        text-align: center;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* 4. Book image sits in a contained box below the text */
    .event-banner__visuals {
        order: 2 !important;
        position: relative !important;
        flex: none !important;
        height: 210px !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .event-banner__book {
        position: static !important;
        height: 100% !important;
        width: auto !important;
        max-height: 210px !important;
        display: block !important;
        margin: 0 auto !important;
        object-fit: contain !important;
        filter: drop-shadow(-4px 8px 20px rgba(0, 0, 0, 0.45));
    }

    /* 5. Author image — HIDDEN on mobile (no space; was covering text) */
    .event-banner__author {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* 6. Decorative circles stay subtle */
    .event-banner__circles svg {
        max-width: 120px;
    }
}

/* ── 480px ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .event-banner-wrap {
        padding: 0 12px !important;
    }

    .event-banner {
        border-radius: 14px !important;
        margin: 12px 0 0 !important;
    }

    .event-banner__content {
        padding: 22px 16px 16px !important;
        gap: 12px !important;
    }

    .event-banner__title {
        font-size: clamp(19px, 5.2vw, 24px) !important;
    }

    .event-banner__desc {
        font-size: 0.82rem !important;
    }

    .event-banner__detail-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .event-banner__visuals {
        height: 185px !important;
    }

    .event-banner__book {
        max-height: 185px !important;
    }

    .event-banner__actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .event-banner__cta {
        width: 100% !important;
        text-align: center !important;
    }
}

/* ── 375px ──────────────────────────────────────────────────── */
@media (max-width: 375px) {
    .event-banner-wrap {
        padding: 0 10px !important;
    }

    .event-banner {
        border-radius: 12px !important;
        margin: 10px 0 0 !important;
    }

    .event-banner__content {
        padding: 18px 14px 14px !important;
    }

    .event-banner__title {
        font-size: 18px !important;
    }

    .event-banner__visuals {
        height: 160px !important;
    }

    .event-banner__book {
        max-height: 160px !important;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9. HERITAGE SECTION — FIXED
   (CTA overlap, image clipping, logos out of frame, centering)

   ROOT CAUSE: Inline CSS sets gap:100px + flex-wrap:nowrap on
   heritage__bottom-row. At tablet widths logos (~280px) + 100px
   gap + CTA exceeds available space → CTA overlaps Wilco logo.
   FIX: Scale gap responsively, allow wrap below 900px.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── 1200px — start scaling gap down ────────────────────────── */
@media (max-width: 1200px) {
    .heritage__bottom-row {
        gap: 48px !important;
    }
}

/* ── 1024px ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .heritage__bottom-row {
        gap: 32px !important;
    }

    .heritage__logo--wood,
    .heritage__logo--wilco {
        height: 80px;
    }
}

/* ── 900px — wrap CTA below logos, no overlap ───────────────── */
@media (max-width: 900px) {
    .heritage__bottom-row {
        gap: 20px !important;
        flex-wrap: wrap !important;
        align-items: flex-start;
    }

    .heritage__logos {
        gap: 16px;
        width: 100%;
    }

    .heritage__cta {
        flex-shrink: 0;
    }

    .heritage__logo--wood,
    .heritage__logo--wilco {
        height: 70px;
    }

    .heritage__shelf {
        max-width: 300px;
    }
}

/* ── 768px (mobile) ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .heritage {
        overflow-x: hidden;
        width: 100%;
    }

    .heritage__inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0;
        margin: 0 auto;
        width: 100%;
    }

    .heritage__left {
        width: 100%;
        padding: 32px 20px 20px;
        text-align: center;
        gap: 20px;
        align-items: center;
    }

    .heritage__headline {
        font-size: clamp(28px, 6vw, 38px);
        text-align: center;
        margin-bottom: 8px;
    }

    .heritage__bottom-row {
        flex-direction: column;
        gap: 20px !important;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .heritage__logos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 24px;
        width: 100%;
    }

    .heritage__logo {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .heritage__logo--wood,
    .heritage__logo--wilco {
        height: 70px;
        width: auto;
        max-width: 180px;
    }

    .heritage__cta {
        white-space: normal;
        text-align: center;
        padding: 8px 0;
    }

    .heritage__right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        overflow: hidden;
        margin-top: 0;
    }

    .heritage__shelf {
        width: 53%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .heritage__left {
        padding: 24px 16px 16px;
    }

    .heritage__headline {
        font-size: clamp(24px, 5.5vw, 32px);
    }

    .heritage__logo--wood,
    .heritage__logo--wilco {
        height: 55px;
        max-width: 140px;
    }

    .heritage__cta {
        font-size: 0.9rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .heritage__inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .heritage__left {
        width: 50%;
        text-align: left;
        padding: 20px;
    }

    .heritage__right {
        width: 50%;
    }

    .heritage__shelf {
        max-height: 180px;
        width: auto;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   20. GLOBAL CONTAINER PADDING
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   21. BESTSELLERS SECTION — COMPLETE FIX
   HTML uses .bs / .bs__card / .bs__inner (not .bestsellers)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
    .bs {
        padding: 56px 0 64px;
    }

    .bs__inner {
        padding: 0 24px;
    }

    .bs__card {
        width: 480px;
    }
}

@media (max-width: 768px) {
    .bs {
        padding: 48px 0 56px;
    }

    .bs__inner {
        padding: 0 20px;
    }

    .bs__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 20px;
    }

    .bs__title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .bs__filters {
        margin-bottom: 24px;
        padding-bottom: 4px;
    }

    .bs__row {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        gap: 16px;
    }

    .bs__card {
        width: 86vw;
        min-width: 280px;
        max-width: 420px;
        flex-direction: column;
    }

    .bs__cover {
        width: 100%;
        min-height: 220px;
        max-height: 260px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
        overflow: hidden;
    }

    .bs__cover img {
        width: 100%;
        height: 100%;
        object-fit: scale-down;
        object-position: center;
        padding: 12px;
    }

    .bs__body {
        padding: 16px 16px 14px;
    }

    .bs__name {
        font-size: 1.1rem;
        text-align: left;
    }

    .bs__author {
        text-align: left;
    }

    .bs__desc {
        -webkit-line-clamp: 3;
    }

    .bs__footer {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .bs__price-now {
        font-size: 1.1rem;
    }

    .bs__atb {
        height: 40px;
        padding: 0 16px;
        font-size: 0.82rem;
        flex: 1;
    }

    .bs__save {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .bs__btn-group {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .bs {
        padding: 40px 0 48px;
    }

    .bs__inner {
        padding: 0 16px;
    }

    .bs__row {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        gap: 14px;
    }

    .bs__card {
        width: 88vw;
        min-width: 260px;
    }

    .bs__cover {
        min-height: 200px;
    }

    .bs__pill {
        height: 36px;
        padding: 0 14px;
        font-size: 0.8rem;
    }

    .bs__title {
        font-size: 1.7rem;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   22. HERO SECTION — ENHANCED MOBILE FIXES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
    .hero {
        min-height: 460px;
        height: calc(100svh - 94px);
        max-height: 680px;
    }

    .hero__left {
        gap: 14px;
    }

    .hero__cta-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero__cta-row .btn,
    .hero__cta-row a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 380px;
        height: calc(100svh - 90px);
    }

    .hero__video-overlay {
        background:
            linear-gradient(to right,
                rgba(10, 14, 24, 0.88) 0%,
                rgba(10, 14, 24, 0.6) 50%,
                rgba(10, 14, 24, 0.3) 100%),
            linear-gradient(to top, rgba(10, 14, 24, 0.82) 0%, transparent 40%);
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   23. DOTM SECTION — INNER PADDING FIX
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
    .dotm__inner {
        padding: 0 20px;
        overflow: hidden;
    }

    .dotm__row {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .dotm__inner {
        padding: 0 16px;
    }

    .dotm__row {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   24. EVENT BANNER — handled fully in Section 8 above
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* All event banner mobile rules are in Section 8 */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   25. BUNDLES SECTION — ROW EDGE FIXES (row bleed handled in section 12)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* Bundles fully handled in Section 12 above */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   26. LR / WYLT HEAD + ROW EDGE FIXES (row bleed padding)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {

    .lr__row,
    .wylt__row {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .lr__head,
    .wylt__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (max-width: 480px) {

    .lr__row,
    .wylt__row {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   27. CANT-FIND & FOOTER — FULL STACK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
    .cant-find {
        padding: 32px 0 16px;
    }

    .cant-find__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 0 20px 20px;
    }

    .cant-find__cta {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .cant-find__inner {
        padding: 0 16px 16px;
    }
}

@media (max-width: 600px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px 32px;
    }
}

@media (max-width: 480px) {
    .footer__grid {
        padding: 0 16px 28px;
    }

    .footer__bottom {
        padding: 16px 16px;
        font-size: 0.72rem;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   28. SALE TICKER — EDGE CASES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 375px) {
    .sale-ticker {
        height: 28px;
    }

    .sale-ticker__item {
        font-size: 0.6rem;
        padding: 0 10px;
    }

    .ticker {
        height: 28px;
    }

    .ticker__item {
        font-size: 0.62rem;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   29. OVERFLOW HARDENING — PREVENT HORIZONTAL SCROLL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {

    section,
    .event-banner-wrap,
    .heritage {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Ensure images don't bust layout */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Prevent wide tables or pre elements from causing overflow */
    table,
    pre {
        overflow-x: auto;
        max-width: 100%;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   30. HEADER HAMBURGER TOGGLE ANIMATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 900px) {
    .header__hamburger.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header__hamburger.is-open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .header__hamburger.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   10. FOR THE LITTLE READERS (.lr)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
    .lr__inner {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .lr {
        padding: 52px 0 0;
    }

    .lr__inner {
        padding: 0 20px;
    }

    .lr__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 20px;
    }

    .lr__filters {
        gap: 6px;
        margin-bottom: 28px;
    }

    .lr__row {
        gap: 24px;
    }

    .lr__card {
       /* flex: 0 0 170px; */
    }

    .lr__cover {
      /*  height: 210px; */
    }

    .lr__badge {
        width: 56px;
        height: 56px;
        margin-left: -20px;
        margin-top: -6px;
    }

    .lr__badge-pct {
        font-size: 0.65rem;
    }

    .lr__badge-off {
        font-size: 0.5rem;
    }

    .lr__body {
        padding: 12px 14px 14px;
    }
}

@media (max-width: 600px) {
    .lr__card {
      /*  flex: 0 0 160px;*/
    }
}

@media (max-width: 480px) {
    .lr {
        padding: 40px 0 0;
    }

    .lr__inner {
        padding: 0 16px;
    }

    .lr__card {
       /* flex: 0 0 154px; */
    }

    .lr__cover {
       /* height: 195px; */
    }

    .lr__pill {
        font-size: 0.78rem;
        padding: 6px 14px;
    }

    .lr__title {
        font-size: 1.6rem;
    }

    .lr__badge {
        width: 48px;
        height: 48px;
        margin-left: -16px;
        margin-top: -4px;
    }
}

@media (max-width: 375px) {
    .lr__card {
       /* flex: 0 0 144px; */
    }

    .lr__cover {
       /* height: 180px; */
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11. LR ILLUSTRATION & QUOTE SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {

    .lr-quote__text,
    .lr-quote__text em {
        font-size: 60px !important;
    }

    .lr-quote__inner svg {
        top: 30px;
        width: 185px;
    }
}

@media (max-width: 768px) {
    .lr-illo__img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .lr-quote {
        padding: 0px 20px;
    }

    .lr-quote__inner svg {
        top: 10px;
        left: 12px;
        width: 140px;
    }

    .lr-quote__text,
    .lr-quote__text em {
        font-size: 44px  !important;
    }
}

@media (max-width: 480px) {
    .lr-quote {
        padding: 24px 16px;
    }

    .lr-quote__inner {
        padding: 0;
    }

    .lr-quote__inner svg {
        top: -45px;
        left: -5px;
        width: 85px;
    }

    .lr-quote__text,
    .lr-quote__text em {
        font-size: 24px !important;
    }

    .lr-quote__cite {
        font-size: 12px;
        margin-top: 12px;
    }
}

@media (max-width: 375px) {

    .lr-quote__text,
    .lr-quote__text em {
        font-size: 20px !important;
    }

    .lr-quote__inner svg {
        top: -45px;
        left: -5px;
        width: 80px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11. WOODPECKER SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 1024px) {
    .wpb__banner {
        height: 220px !important;
    }

    .wpb__logo {
        width: 360px !important;
        height: 154px !important;
    }

    .wpb__row {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .wpb {
        padding: 40px 0 64px 0;
    }

    .wpb__banner {
        height: 160px !important;
        border-radius: 8px !important;
    }

    .wpb__logo {
        width: 250px !important;
        height: 111px !important;
        left: 12px !important;
        bottom: 12px !important;
    }

    .wpb__browse {
        right: 12px;
        bottom: 12px;
        font-size: 14px;
    }

    .wpb__sub {
        font-size: 14px;
    }

    .wpb__pill,
    .wpb__pill.active {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .wpb {
        padding: 30px 0 52px 0;
    }

    .wpb__banner {
        height: 120px !important;
    }

    .wpb__logo {
        width: 150px !important;
        height: 77px !important;
        left: 8px !important;
        bottom: 8px !important;
    }

    .wpb__browse {
        right: 8px;
        bottom: 8px;
        font-size: 12px;
    }

    .wpb__sub__div {
        margin: 12px auto 0 auto;
    }

    .wpb__sub {
        font-size: 12px;
        line-height: 140%;
    }

    .wpb__pill,
    .wpb__pill.active {
        font-size: 12px;
    }

    .wpb__row{
        gap: 24px;
    }
}

@media (max-width:375px) {
    .wpb__logo {
        width: 120px !important;
        height: 50px !important;
        left: 4px !important;
        bottom: 4px !important;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   12. CURATED BUNDLES (.bundles)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
    .bundles__inner {
        padding: 0 24px;
    }
}

@media (max-width: 900px) {
    .bundles__head {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .bundles {
        padding: 48px 0 56px;
    }

    .bundles__inner {
        padding: 0 20px;
    }

    .bundles__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 24px !important;
        /* was missing/commented out — critical fix */
    }

    .bundles__title {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .bundles__row {
        gap: 18px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .bundle__card {
        flex: 0 0 280px;
    }

    .bundle__covers {
        height: 200px;
        padding-top: 0;
        /* remove any top padding that was causing the gap */
    }

    .bundle__cover--back,
    .bundle__cover--mid {
        width: 95px;
        height: 145px;
    }

    .bundle__cover--front {
        width: 105px;
        height: 160px;
    }

    .bundle__name {
        font-size: 1.2rem;
    }

    .bundle__desc {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .bundle__card {
        flex: 0 0 260px;
    }

    .bundle__cover--back,
    .bundle__cover--mid {
        width: 85px;
        height: 130px;
    }

    .bundle__cover--front {
        width: 95px;
        height: 145px;
    }
}

@media (max-width: 480px) {
    .bundles {
        padding: 40px 0 48px;
    }

    .bundles__inner {
        padding: 0 16px;
    }

    .bundle__card {
        flex: 0 0 240px;
    }

    .bundle__covers {
        height: 180px;
    }

    .bundle__cover--back,
    .bundle__cover--mid {
        width: 75px;
        height: 115px;
    }

    .bundle__cover--front {
        width: 85px;
        height: 130px;
    }

    .bundle__body {
        padding: 14px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   13. WE THINK YOU'LL LOVE THESE (.wylt)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
    .wylt__inner {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .wylt {
        padding: 0 0 72px;
    }

    .wylt__inner {
        padding: 0 20px;
    }

    .wylt__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 20px;
    }

    .wylt__filters {
        margin-bottom: 28px;
    }

    .wylt__row {
        gap: 24px;
    }

    .wylt__card {
        /*flex: 0 0 170px; */
    }

    .wylt__cover {
       /* height: 210px; */
    }

    .wylt__badge {
        width: 56px;
        height: 56px;
        margin-left: -20px;
        margin-top: -6px;
    }

    .wylt__badge-pct {
        font-size: 0.65rem;
    }

    .wylt__body {
        padding: 12px 14px 14px;
    }

    .wylt__title {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    .wylt__card {
        /* flex: 0 0 160px; */
    }
}

@media (max-width: 480px) {
    .wylt__inner {
        padding: 0 16px;
    }

    .wylt__card {
        /* flex: 0 0 154px;  */
    }

    .wylt__cover {
      /*  height: 195px; */
    }

    .wylt__pill {
        font-size: 0.78rem;
        padding: 6px 14px;
    }

    .wylt__badge {
        width: 48px;
        height: 48px;
        margin-left: -16px;
        margin-top: -4px;
    }
}

@media (max-width: 375px) {
    .wylt__card {
       /* flex: 0 0 144px; */
    }

    .wylt__cover {
        /*height: 180px; */
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   14. FOOTER & CAN'T FIND SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 900px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding-bottom: 36px;
    }

    .footer {
        padding: 48px 0 0;
    }
}

@media (max-width: 768px) {
    .cant-find {
        padding: 36px 0 2px;
    }

    .cant-find__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 0 20px;
    }

    .cant-find__title {
        font-size: 1.6rem;
    }

    .cant-find__sub {
        max-width: 100%;
        font-size: 0.9rem;
    }

    .footer__grid {
        gap: 28px;
        padding: 0 20px 32px;
    }

    .footer__logo-name {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .cant-find {
        padding: 28px 0 2px;
    }

    .cant-find__title {
        font-size: 1.4rem;
    }

    .cant-find__sub {
        font-size: 0.85rem;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer__grid {
        padding: 0 16px 28px;
    }

    .footer__logo-name {
        font-size: 24px;
    }

    .footer__desc {
        font-size: 0.75rem;
    }

    .footer__col h4 {
        font-size: 0.7rem;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   15. PRODUCT PAGE COMPONENTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1100px) {
    .product__grid {
        grid-template-columns: 380px 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .product__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .gallery__strip {
        width: 60px;
        max-height: calc((60px * 1.4 * 3) + (10px * 2) + 30px);
    }

    .gallery__thumb {
        width: 60px;
        height: 84px;
    }

    .reviews__body {
        grid-template-columns: 1fr;
    }

    .author__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .author__stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pinfo__title {
        font-size: 1.8rem;
    }

    .format-tabs {
        flex-direction: column;
    }

    .buy-bar {
        flex-wrap: wrap;
    }

    .btn-bag {
        width: 100%;
    }

    .perks {
        flex-direction: column;
        gap: 12px;
    }

    .perk+.perk {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #ebebeb;
        padding-top: 12px;
    }

    .rbook {
        flex: 0 0 200px;
        width: 200px;
    }
}

@media (max-width: 480px) {
    .gallery__strip {
        width: 50px;
    }

    .gallery__thumb {
        width: 50px;
        height: 70px;
    }

    .pinfo__price {
        font-size: 2rem;
    }

    .reviews__title {
        font-size: 1.5rem;
    }

    .author__name {
        font-size: 1.8rem;
    }

    .rbook {
        flex: 0 0 170px;
        width: 170px;
    }
}

@media (max-width: 375px) {
    .gallery__thumb {
        width: 44px;
        height: 62px;
    }

    .rbook {
        flex: 0 0 150px;
        width: 150px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   16. TOUCH-FRIENDLY TARGETS & CAROUSEL SCROLL BEHAVIOR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
    
    
.wylt__row,
.wpb__pill,
.lr__pill,
.gtbtg__pill,
.wilco-house__pill,
.wilco-house__pill, 
.dotm__pill {
    min-height: 30px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
    button,
    .bs__atb,
    .lr__atb,
    .dotm__atb,
    .wylt__atb,
    .bundle__atb,
    .bcard__atb,
    .hero__browse,
    .filter-pill,
    .bs__pill,
    
    .lr__pill,
    .wylt__pill {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero__browse {
        padding: 8px 0;
    }

    .bs__row,
    .dotm__row,
    .lr__row,
    .wylt__row,
    .bundles__row {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-padding-left: 20px;
    }
}

@media (max-width: 480px) {

    .bs__row,
    .dotm__row,
    .lr__row,
    .wylt__row,
    .bundles__row {
        scroll-padding-left: 16px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   17. DISABLE PARALLAX ON MOBILE FOR PERFORMANCE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {

    .bs__inner,
    .dotm__inner,
    .lr__inner,
    .wylt__inner,
    .lr-illo__img {
        will-change: auto;
        transform: none !important;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   18. ACCESSIBILITY: REDUCED MOTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (prefers-reduced-motion: reduce) {

    .ticker__track,
    .sale-ticker__track,
    .hero__books-track {
        animation: none !important;
    }

    .hero__video,
    .hero__bg-slide {
        transition: none !important;
    }

    .sr {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .bs__card,
    .dotm__card,
    .lr__card,
    .wylt__card {
        transition: none !important;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   19. LANDSCAPE MODE FIXES (small height devices)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 380px;
    }

    .hero__content {
        padding-bottom: 20px;
    }

    .header__nav.is-open {
        max-height: 80vh;
    }

    .ticker,
    .sale-ticker {
        height: 28px;
    }

    .bs__card {
        flex-direction: row;
        width: 560px;
    }

    .bs__cover {
        width: 180px;
        min-height: auto;
    }

    .bs__body {
        padding: 12px;
    }
}