/* Scoped to ASB's child header; modern flat search bar, clickable parent links, filter/A-Z panel, Best Boxes spotlight, and 2-level mobile drawer. */
body.tlb-compact-navigation #mainHeader { padding: 0; z-index: 50; }
body.tlb-compact-navigation #mainHeader #headerUpper.tlb-header-upper { display: flex; align-items: center; gap: 32px; float: none; box-sizing: border-box; width: calc(100% - 32px); max-width: 1030px; padding: 10px 0; margin: 0 auto; height: auto; line-height: normal; position: relative; }
body.tlb-compact-navigation #mainHeader #headerUpper::after { display: none; }
.tlb-header-logo { display: block; flex: 0 0 264px; }
.tlb-header-logo img { display: block; width: 100%; height: auto; }
body.tlb-compact-navigation #mainHeader #headerUpper .tlb-header-toolbar { display: flex; align-items: center; gap: 16px; flex: 0 1 auto; min-width: 0; float: none; width: auto; padding: 0; margin: 0 0 0 auto; position: static; height: auto; line-height: normal; text-align: left; }
body.tlb-compact-navigation #mainHeader #headerUpper .tlb-header-toolbar::after { display: none; }
body.tlb-compact-navigation #mainHeader #headerUpper .tlb-header-toolbar > li { margin: 0; }
body.tlb-compact-navigation header#mainHeader #headerUpper .toolbar.tlb-header-toolbar > li.search { flex: 0 1 400px; min-width: 0; width: 400px !important; background: transparent; border-radius: 10px; }
body.tlb-compact-navigation header#mainHeader #headerUpper .toolbar.tlb-header-toolbar > li.search .box-search-form { height: 42px; padding: 0 4px; border-radius: 10px; background: #fff; border: 0; box-shadow: none; transition: background-color 150ms ease, outline-color 150ms ease; }
body.tlb-compact-navigation header#mainHeader #headerUpper .toolbar.tlb-header-toolbar > li.search .box-search-form:hover { background: #fff8fa; }
body.tlb-compact-navigation header#mainHeader #headerUpper .toolbar.tlb-header-toolbar > li.search .box-search-form:focus-within { background: #fff; box-shadow: none; outline: 2px solid rgba(255, 255, 255, 0.45); outline-offset: 2px; }
body.tlb-compact-navigation header#mainHeader #headerUpper .toolbar.tlb-header-toolbar > li.search button { color: #6e637a; transition: color 150ms ease; }
body.tlb-compact-navigation header#mainHeader #headerUpper .toolbar.tlb-header-toolbar > li.search .box-search-form:focus-within button { color: #bc2347; }
body.tlb-compact-navigation header#mainHeader #headerUpper .toolbar.tlb-header-toolbar > li.search input { font-size: 15.5px; color: #1c0e35; background: transparent; border: 0; box-shadow: none; }
body.tlb-compact-navigation header#mainHeader #headerUpper .toolbar.tlb-header-toolbar > li.search input::placeholder { color: #7a6f85; opacity: 1; }
body.tlb-compact-navigation header#mainHeader #headerUpper .toolbar.tlb-header-toolbar > li.search .box-search-shortcut { border: 0; border-radius: 6px; background: #f2eff5; color: #6c6178; padding: 0 8px; margin-right: 6px; font-size: 12px; font-weight: 600; line-height: 24px; box-shadow: none; transition: background-color 150ms ease, color 150ms ease; }
body.tlb-compact-navigation header#mainHeader #headerUpper .toolbar.tlb-header-toolbar > li.search .box-search-form:focus-within .box-search-shortcut { background: #fff0f4; color: #bc2347; }
body.tlb-compact-navigation header#mainHeader #headerUpper .toolbar.tlb-header-toolbar > li.search .box-search-results { border-radius: 12px; border: 1px solid #e6e2ea; box-shadow: 0 10px 28px rgba(28, 14, 53, 0.12); margin-top: 8px; }
.tlb-menu-toggle, .tlb-search-toggle { display: none; }

body.tlb-compact-navigation #mainHeader #headerNav.tlb-header-nav { padding: 0 16px; }
.tlb-nav-inner { display: flex; align-items: stretch; gap: 24px; position: relative; }
.tlb-nav-inner::after { display: none; }
.tlb-main-links { display: flex; align-items: center; justify-content: flex-start; flex: 1 1 auto; width: 100%; gap: 24px; margin: 0; padding: 0; list-style: none; }
.tlb-main-links > li { display: flex; align-items: stretch; position: static; }
.tlb-discover { display: flex; align-items: stretch; position: relative; }
.tlb-nav-trigger { display: inline-flex; align-items: center; gap: 4px; position: relative; }

.tlb-main-links > li > a,
.tlb-nav-trigger > .tlb-nav-link { display: inline-flex; align-items: center; gap: 7px; padding: 12.5px 0; color: #fff; font: 400 19px/1 "Source Sans Pro", sans-serif; text-decoration: none; white-space: nowrap; }
.tlb-main-links > li > a > i,
.tlb-mobile-chevron,
.tlb-mobile-panel-header,
.tlb-mobile-panel-cta-wrap { display: none; }

.tlb-nav-expand { display: inline-flex; align-items: center; justify-content: center; padding: 10px 2px 10px 3px; margin: 0; border: 0; background: transparent; color: rgba(255, 255, 255, 0.9); font-size: 15px; line-height: 1; cursor: pointer; transition: transform 180ms ease, color 150ms ease; }
.tlb-nav-expand:hover { color: #fff; }
.tlb-discover.is-open .tlb-nav-expand i { transform: rotate(180deg); }
.tlb-nav-expand i { display: inline-block; transition: transform 180ms ease; }
.tlb-inline-arrow { flex: 0 0 auto; transition: transform 150ms ease; }

@media (min-width: 761px) {
    .tlb-main-links > li > a,
    .tlb-nav-item .tlb-nav-trigger { position: relative; }
    .tlb-main-links > li > a::after,
    .tlb-nav-item .tlb-nav-trigger::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: #fff; transform: scaleY(0); transform-origin: center bottom; opacity: 0; transition: transform 220ms cubic-bezier(.22,1,.36,1), opacity 180ms ease-out; pointer-events: none; }
    .tlb-nav-item .tlb-discover.is-open .tlb-nav-trigger::after,
    .tlb-nav-item .tlb-nav-trigger:hover::after,
    .tlb-nav-item .tlb-nav-trigger:focus-within::after,
    .tlb-main-links > li > a:hover::after,
    .tlb-main-links > li > a:focus-visible::after { transform: scaleY(1); opacity: 1; }

    /* Subtle right-aligned "Add your Box" entry in the main nav bar */
    .tlb-main-links > .tlb-nav-submit { display: flex; align-items: center; margin-left: auto; padding-left: 18px; position: relative; }
    .tlb-main-links > .tlb-nav-submit::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 18px; background: rgba(255, 255, 255, 0.34); }
    .tlb-main-links > .tlb-nav-submit > .tlb-nav-submit-link { gap: 6px; padding: 12px 0; color: rgba(255, 255, 255, 0.88); font: 400 16px/1 "Source Sans Pro", sans-serif; transition: color 150ms ease; }
    .tlb-main-links > .tlb-nav-submit > .tlb-nav-submit-link:hover,
    .tlb-main-links > .tlb-nav-submit > .tlb-nav-submit-link:focus-visible { color: #fff; }
    .tlb-nav-submit-icon { flex: 0 0 auto; opacity: 0.85; }

    /* Desktop dropdown panel */
    .tlb-category-panel { display: none; box-sizing: border-box; position: absolute; top: 100%; left: 0; width: 660px; max-width: calc(100vw - 32px); padding: 22px 28px 18px; background: #fff; color: #1c0e35; border-radius: 0 0 8px 8px; box-shadow: 0 12px 32px rgba(28, 14, 53, 0.16), 0 2px 6px rgba(28, 14, 53, 0.06); z-index: 60; }
    .tlb-category-panel.tlb-panel-box { width: 720px; }
    .tlb-category-panel.tlb-panel-box.tlb-panel-has-spotlight { width: 820px; }
    .tlb-category-panel.tlb-panel-wide { width: 760px; }
    .tlb-category-panel.tlb-panel-filterable .tlb-panel-curated,
    .tlb-category-panel.tlb-panel-filterable .tlb-panel-dynamic { height: 348px; box-sizing: border-box; }
    .tlb-category-panel.tlb-panel-filterable .tlb-panel-curated { overflow-y: auto; }
    .tlb-category-panel.tlb-panel-filterable .tlb-panel-curated.tlb-has-spotlight { display: grid; grid-template-columns: minmax(0, 1fr) 252px; gap: 24px; align-items: stretch; overflow-y: visible; }
    .tlb-category-panel.tlb-panel-filterable .tlb-panel-curated.tlb-has-spotlight .tlb-category-groups { overflow-y: auto; padding-right: 4px; }
    .tlb-category-panel.tlb-panel-filterable .tlb-panel-dynamic { display: flex; flex-direction: column; }
    .tlb-category-panel.tlb-panel-filterable .tlb-panel-curated[hidden],
    .tlb-category-panel.tlb-panel-filterable .tlb-panel-dynamic[hidden] { display: none !important; }
    .tlb-category-panel.tlb-panel-filterable .tlb-dyn-list,
    .tlb-category-panel.tlb-panel-filterable .tlb-dyn-list-search,
    .tlb-category-panel.tlb-panel-filterable .tlb-dyn-list-az { flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: auto; }
    .tlb-discover.is-open > .tlb-category-panel { display: block; animation: tlb-panel-fade 160ms cubic-bezier(.22,1,.36,1); }
    body:not(.tlb-nav-enhanced) .tlb-discover:hover > .tlb-category-panel,
    body:not(.tlb-nav-enhanced) .tlb-discover:focus-within > .tlb-category-panel { display: block; }
}

@keyframes tlb-panel-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 761px) and (prefers-reduced-motion: reduce) {
    .tlb-main-links > li > a::after,
    .tlb-nav-trigger::after,
    .tlb-nav-expand i { transition: none; }
    .tlb-discover.is-open > .tlb-category-panel { animation: none; }
}

/* Instant category filter bar */
.tlb-cat-filter { margin: 0 0 18px; }
.tlb-cat-filter-wrap { position: relative; display: flex; align-items: center; }
.tlb-cat-filter-icon { position: absolute; left: 12px; color: #7a6f85; pointer-events: none; }
.tlb-cat-filter-input { box-sizing: border-box; width: 100%; height: 40px; padding: 0 40px 0 38px; border: 1px solid #e2dfe6; border-radius: 8px; background: #f7f6f8; color: #1c0e35; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.3; transition: border-color 150ms ease, background-color 150ms ease; -webkit-appearance: none; appearance: none; }
.tlb-cat-filter-input::placeholder { color: #766b80; }
.tlb-cat-filter-input:focus { outline: none; background: #fff; border-color: #bc2347; }
.tlb-cat-filter-input::-webkit-search-cancel-button { display: none; }
.tlb-cat-filter-clear { position: absolute; top: 50%; right: 6px; z-index: 2; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent; color: #6d6278; cursor: pointer; }
.tlb-cat-filter-clear:hover { background: #ece9ef; color: #1c0e35; }
.tlb-cat-filter-clear[hidden] { display: none; }

/* Curated category columns */
.tlb-category-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tlb-category-groups.tlb-groups-count-1 { grid-template-columns: 1fr; }
.tlb-category-groups.tlb-groups-count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tlb-category-group + .tlb-category-group { border-left: 1px solid #ece9ef; padding-left: 24px; }
.tlb-category-group h2 { font: 600 18px/1.3 "Source Sans Pro", sans-serif; color: #bc2347; margin: 0 0 8px !important; letter-spacing: 0.01em; }
.tlb-category-group ul { padding: 0; margin: 0; list-style: none; }
.tlb-category-group li { padding: 0; margin: 0; }
.tlb-category-group a { display: flex; align-items: center; min-height: 36px; color: #1c0e35; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.35; text-decoration: none; }
.tlb-category-group a:hover, .tlb-category-group a[aria-current] { color: #bc2347; text-decoration: underline; text-underline-offset: 4px; }

/* Spotlight card ("Best Subscription Boxes") — 100% flat, no gradients, no shadows */
.tlb-box-spotlight { display: flex; }
.tlb-spotlight-card { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; padding: 18px 18px 16px; border: 1px solid #f2c3d0; border-radius: 10px; background: #fff3f6; color: #1c0e35; text-decoration: none; transition: background-color 150ms ease, border-color 150ms ease; }
.tlb-spotlight-card:hover, .tlb-spotlight-card:focus-visible { background: #ffe8ee; border-color: #d72e54; text-decoration: none; }
.tlb-spotlight-mobile-icon, .tlb-spotlight-mobile-chevron { display: none; }
.tlb-spotlight-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.tlb-spotlight-badge { display: inline-flex; align-items: center; align-self: flex-start; gap: 5px; margin-bottom: 10px; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid #f2c3d0; color: #bc2347; font: 700 11.5px/1 "Source Sans Pro", sans-serif; letter-spacing: 0.02em; text-transform: uppercase; }
.tlb-spotlight-star-icon { width: 12px; height: 12px; flex: 0 0 auto; }
.tlb-spotlight-title { display: block; margin-bottom: 6px; font: 700 20px/1.2 "Source Sans Pro", sans-serif; color: #1c0e35; }
.tlb-spotlight-desc { display: block; margin-bottom: 14px; font: 400 14px/1.45 "Helvetica Neue", Helvetica, Arial, sans-serif; color: #5c4f63; }
.tlb-spotlight-logos { display: flex; align-items: center; margin-bottom: 16px; }
.tlb-spotlight-logo { width: 38px; height: 38px; object-fit: cover; border-radius: 8px; background: #fff; border: 2px solid #fff; outline: 1px solid #ece3e8; }
.tlb-spotlight-logo + .tlb-spotlight-logo { margin-left: -6px; }
.tlb-spotlight-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 10px 14px; border-radius: 7px; background: #bc2347; color: #fff; font: 600 15px/1 "Source Sans Pro", sans-serif; transition: background-color 150ms ease; }
.tlb-spotlight-card:hover .tlb-spotlight-cta { background: #9f1b3b; }
.tlb-spotlight-card:hover .tlb-spotlight-cta .tlb-inline-arrow { transform: translateX(3px); }

/* Dynamic filter results & A-Z view */
.tlb-panel-dynamic[hidden],
.tlb-panel-curated[hidden] { display: none; }
.tlb-dyn-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tlb-dyn-title { font: 600 14px/1.2 "Source Sans Pro", sans-serif; color: #6f647a; text-transform: uppercase; letter-spacing: 0.04em; }
.tlb-dyn-empty { margin: 12px 0 4px; color: #5b5066; font-size: 15px; line-height: 1.45; }
.tlb-dyn-list { display: grid; gap: 2px 18px; margin: 0; padding: 0 4px 0 0; list-style: none; max-height: 340px; overflow-y: auto; overscroll-behavior: contain; }
.tlb-dyn-list-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tlb-dyn-list-az { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 360px; }
.tlb-dyn-cat-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 4px 8px; border-radius: 6px; color: #1c0e35; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.3; text-decoration: none; transition: background-color 120ms ease, color 120ms ease; }
.tlb-dyn-cat-link:hover, .tlb-dyn-cat-link:focus-visible { background: #fff2f5; color: #bc2347; text-decoration: none; }
.tlb-dyn-cat-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tlb-dyn-cat-count { flex: 0 0 auto; padding: 2px 7px; border-radius: 999px; background: #f2f0f5; color: #6c6178; font: 600 12px/1.2 "Source Sans Pro", sans-serif; }
.tlb-dyn-cat-link:hover .tlb-dyn-cat-count { background: #fbdce4; color: #bc2347; }

/* Panel footer */
.tlb-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; margin-top: 16px; border-top: 1px solid #ece9ef; }
.tlb-panel-footer-links { display: flex; align-items: center; gap: 16px; }
.tlb-all-categories { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; color: #bc2347; font: 600 17px/1.3 "Source Sans Pro", sans-serif; text-decoration: none; }
.tlb-all-categories:hover { text-decoration: underline; text-underline-offset: 4px; }
.tlb-all-az-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 13px; border: 1px solid #e2dfe6; border-radius: 999px; background: #f7f6f8; color: #1c0e35; font: 600 14px/1 "Source Sans Pro", sans-serif; cursor: pointer; transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease; white-space: nowrap; }
.tlb-all-az-toggle:hover { background: #fff2f5; border-color: #f0bfd0; color: #bc2347; }
.tlb-all-az-toggle[aria-pressed="true"] { background: #bc2347; border-color: #bc2347; color: #fff; }

#mainHeader .tlb-nav-inner a:focus-visible,
#mainHeader .tlb-nav-inner button:focus-visible,
#mainHeader .tlb-search-toggle:focus-visible,
#mainHeader .tlb-menu-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (min-width: 761px) and (max-width: 980px) {
    .tlb-main-links { gap: 16px; }
    .tlb-main-links > li > a,
    .tlb-nav-trigger > .tlb-nav-link { font-size: 17px; padding: 11px 0; }
    .tlb-main-links > .tlb-nav-submit { padding-left: 14px; }
    .tlb-main-links > .tlb-nav-submit > .tlb-nav-submit-link { font-size: 15px; }
}

/* Mobile 2-level drill-down drawer */
@media (max-width: 760px) {
    body.tlb-compact-navigation #mainHeader #headerUpper.tlb-header-upper { flex-wrap: wrap; gap: 12px; width: 100%; padding: 16px; background: #d72e54; z-index: 51; }
    body.tlb-compact-navigation #mainHeader #headerUpper.tlb-header-upper > * { height: auto; line-height: normal; }
    .tlb-header-logo { flex: 1; min-width: 0; max-width: 230px; margin: 0 auto; }
    .tlb-menu-toggle, .tlb-search-toggle { display: none; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px !important; padding: 0; margin: 0; background: transparent; border: 0; color: #fff; font-size: 25px; cursor: pointer; }
    .tlb-nav-enhanced .tlb-menu-toggle, .tlb-nav-enhanced .tlb-search-toggle { display: flex; }
    body.tlb-compact-navigation #mainHeader #headerUpper .tlb-header-toolbar { display: flex; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 12px; margin: 0; }
    body.tlb-compact-navigation.tlb-nav-enhanced:not(.tlb-search-open) #mainHeader #headerUpper .tlb-header-toolbar { display: none; }
    body.tlb-compact-navigation header#mainHeader #headerUpper .toolbar.tlb-header-toolbar > li.search { flex: none; width: 100% !important; }
    body.tlb-compact-navigation header#mainHeader #headerUpper .toolbar.tlb-header-toolbar > li.search input { font-size: 16px; }
    body.tlb-compact-navigation #mainHeader #headerUpper .tlb-header-toolbar .box-search-results { left: 0; width: 100%; max-height: calc(100dvh - 190px); transform: none; }

    body.tlb-compact-navigation #mainHeader #headerNav.tlb-header-nav { position: static !important; width: 100% !important; height: auto; padding: 0 16px 20px; background: #fff; color: #1c0e35; transform: none; transition: none; overflow: visible; z-index: auto; }
    .tlb-nav-enhanced #headerNav.tlb-header-nav { display: none; }
    .tlb-nav-open #headerNav.tlb-header-nav { display: block; }
    body.tlb-compact-navigation.tlb-nav-open #mainHeader { position: fixed !important; top: 0 !important; left: 0; width: 100%; height: calc(100vh - var(--tlb-header-offset, 0px)); height: calc(100dvh - var(--tlb-header-offset, 0px)); max-height: calc(100dvh - var(--tlb-header-offset, 0px)); background: #fff; overflow-y: auto; overscroll-behavior: contain; }
    body.tlb-compact-navigation.tlb-nav-open.admin-bar #mainHeader { top: 46px !important; height: calc(100dvh - 46px); max-height: calc(100dvh - 46px); }
    .tlb-nav-open { overflow: hidden; }
    .tlb-nav-inner { display: block; width: 100%; }

    .tlb-main-links { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
    .tlb-main-links > li { display: block; border-top: 1px solid #ece9ef; }
    .tlb-main-links > li:first-child { border-top: 0; }
    body.tlb-compact-navigation #mainHeader #headerNav .tlb-main-links > li { border-bottom: 0 !important; }

    .tlb-discover { display: block; }
    .tlb-nav-trigger { display: flex; width: 100%; }
    .tlb-nav-expand { display: none; }

    body.tlb-compact-navigation #mainHeader #headerNav .tlb-main-links > li > a,
    body.tlb-compact-navigation #mainHeader #headerNav .tlb-nav-trigger > .tlb-nav-link { display: flex !important; align-items: center; justify-content: space-between; width: 100%; box-sizing: border-box; padding: 14px 0; min-height: 50px; color: #1c0e35; font-size: 18px; font-weight: 500; white-space: normal; }
    .tlb-main-links > li > a > i,
    .tlb-mobile-chevron { display: inline-block; color: #8c8296; font-size: 20px; flex: 0 0 auto; margin-left: 12px; }

    .tlb-main-links > .tlb-mobile-submit { display: block; border-top: 0 !important; margin-top: 14px; }
    body.tlb-compact-navigation #mainHeader #headerNav .tlb-main-links > .tlb-mobile-submit > a { display: flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 16px; border: 1.5px solid #bc2347; border-radius: 8px; color: #bc2347; font-size: 16px; font-weight: 600; }

    .tlb-category-panel { display: none; position: static; width: 100%; padding: 0; background: #fff; border-radius: 0; box-shadow: none; }
    #headerNav.tlb-drill-active .tlb-main-links > li:not(:has(> .tlb-discover.is-mobile-active)) { display: none; }
    #headerNav.tlb-drill-active .tlb-discover.is-mobile-active > .tlb-nav-trigger { display: none; }
    #headerNav.tlb-drill-active .tlb-discover.is-mobile-active > .tlb-category-panel { display: block; }

    .tlb-mobile-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 12px; margin-bottom: 10px; border-bottom: 1px solid #ece9ef; }
    .tlb-mobile-back { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 10px 0 0; border: 0; background: transparent; color: #bc2347; font: 600 16px/1 "Source Sans Pro", sans-serif; cursor: pointer; }
    .tlb-mobile-panel-title { font: 700 18px/1.2 "Source Sans Pro", sans-serif; color: #1c0e35; }

    .tlb-cat-filter { margin: 4px 0 12px; }
    .tlb-cat-filter-input { height: 44px; font-size: 16px; }

    .tlb-mobile-panel-cta-wrap { display: block; margin: 0 0 14px; }
    body.tlb-compact-navigation #mainHeader #headerNav .tlb-mobile-panel-cta { display: flex !important; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 9px; background: #f7f6f8; color: #bc2347; font: 600 15.5px/1.3 "Source Sans Pro", sans-serif; text-decoration: none; }

    /* Mobile Level 2 spotlight card ("Best Subscription Boxes") */
    .tlb-panel-curated.tlb-has-spotlight { display: flex; flex-direction: column; }
    .tlb-panel-curated.tlb-has-spotlight[hidden] { display: none !important; }
    .tlb-panel-curated.tlb-has-spotlight .tlb-box-spotlight { order: -1; margin: 0 0 16px; }
    body.tlb-compact-navigation #mainHeader #headerNav .tlb-spotlight-card { display: flex !important; flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; }
    .tlb-spotlight-mobile-icon { display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid #f2c3d0; color: #bc2347; }
    .tlb-spotlight-mobile-icon .tlb-spotlight-star-icon { width: 18px; height: 18px; }
    .tlb-spotlight-body { display: flex !important; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
    .tlb-spotlight-badge { margin-bottom: 2px; padding: 2px 7px; font-size: 10px; }
    .tlb-spotlight-badge .tlb-spotlight-star-icon { display: none; }
    .tlb-spotlight-title { margin-bottom: 0; font-size: 17px; line-height: 1.2; }
    .tlb-spotlight-desc { margin-bottom: 0; font-size: 13px; line-height: 1.3; }
    .tlb-spotlight-logos, .tlb-spotlight-cta { display: none; }
    .tlb-spotlight-mobile-chevron { display: inline-block !important; color: #bc2347; font-size: 20px; margin-left: auto; flex: 0 0 auto; }

    .tlb-category-groups,
    .tlb-category-groups.tlb-groups-count-2 { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
    .tlb-category-group + .tlb-category-group { padding-left: 16px; }
    .tlb-category-group h2 { font-size: 17px; }
    .tlb-category-group a { min-height: 42px; font-size: 16px; }
    body.tlb-compact-navigation #mainHeader #headerNav .tlb-category-group li { border-bottom: 0 !important; }
    body.tlb-compact-navigation #mainHeader #headerNav .tlb-category-group a { display: flex; width: auto; }

    .tlb-dyn-list,
    .tlb-dyn-list-search,
    .tlb-dyn-list-az { grid-template-columns: 1fr; max-height: none; overflow-y: visible; padding-right: 0; }
    body.tlb-compact-navigation #mainHeader #headerNav .tlb-panel-dynamic li { border-bottom: 0 !important; }
    body.tlb-compact-navigation #mainHeader #headerNav .tlb-dyn-cat-link { display: flex !important; width: auto; min-height: 44px; font-size: 16px; padding: 6px 4px; border-bottom: 1px solid #f2eff5; border-radius: 0; }

    .tlb-panel-footer { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 16px; padding-top: 14px; }
    .tlb-panel-footer:not(:has(.tlb-all-az-toggle)) { display: none; }
    .tlb-panel-footer-links { display: none; }
    .tlb-all-az-toggle { justify-content: center; min-height: 44px; font-size: 15px; }
}

@keyframes tlb-mobile-reveal {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes tlb-mobile-slide-in {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
    .tlb-nav-open .tlb-nav-inner { animation: tlb-mobile-reveal 240ms cubic-bezier(.22,1,.36,1); }
    .tlb-search-open .tlb-header-toolbar { animation: tlb-mobile-reveal 200ms cubic-bezier(.22,1,.36,1); }
    #headerNav.tlb-drill-active .tlb-discover.is-mobile-active > .tlb-category-panel { animation: tlb-mobile-slide-in 220ms cubic-bezier(.22,1,.36,1); }
}

/* Move the complete header without shifting article content (0 CLS). */
.tlb-header-space{display:none}
body.tlb-compact-navigation.tlb-nav-enhanced .tlb-header-space{display:block;height:105px}
@media (min-width:761px) and (max-width:980px){body.tlb-compact-navigation.tlb-nav-enhanced .tlb-header-space{height:101px}}
@media (max-width:760px){body.tlb-compact-navigation.tlb-nav-enhanced .tlb-header-space{height:76px}}
body.tlb-compact-navigation.tlb-nav-open #mainHeader{max-height:calc(100dvh - var(--tlb-header-offset,0px))}
body.tlb-compact-navigation.tlb-nav-enhanced #mainHeader{position:fixed!important;top:var(--tlb-header-offset,0px)!important;left:0;transform:translateY(0);transition:transform .28s ease}
body.tlb-compact-navigation.tlb-nav-enhanced #mainHeader.tlb-header-away{transform:translateY(calc(-100% - var(--tlb-header-offset,0px) - 1px));pointer-events:none}
body.tlb-compact-navigation.tlb-nav-enhanced #mainHeader:focus-within{transform:translateY(0);pointer-events:auto}
@media(prefers-reduced-motion:reduce){body.tlb-compact-navigation.tlb-nav-enhanced #mainHeader{transition:none}}

@media (min-width: 761px) {
    :where(body:not(.page-template-page-a-propos):not(.page-template-page-referencement)) #content:where(:not(.content-habillage)) {
        margin-top: 24px;
    }
}

/* Balanced 3-column footer layout & horizontal social links */
#footerNav .wrapper {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(2, minmax(180px, 1fr));
    gap: 28px 44px;
    align-items: start;
}

#footerNav .wrapper::before,
#footerNav .wrapper::after {
    display: none;
    content: none;
}

#footerNav .col,
#footerNav .col.colfour {
    float: none !important;
    width: auto !important;
    margin-right: 0 !important;
}

#footerNav .col h2 {
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
    margin: 0 0 14px !important;
}

#footerNav .col ul {
    margin: 0 !important;
    padding: 0 !important;
}

#footerNav .col ul li {
    margin-bottom: 8px;
}

#footerNav .footer-social-links {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 16px 0 18px !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
}

#footerNav .footer-social-links li {
    float: none !important;
    margin: 0 !important;
    list-style: none;
}

#footerNav .footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    text-decoration: none;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

#footerNav .footer-social-links a:hover {
    background: #d72e54;
    opacity: 1 !important;
}

@media (max-width: 760px) {
    #footerNav .wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 24px;
    }

    #footerNav .col.colfour {
        grid-column: 1 / -1;
    }

    #footerNav .col ul {
        float: none !important;
        margin-bottom: 0 !important;
    }

    #footerNav .col ul li {
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 8px !important;
    }
}

@media (max-width: 520px) {
    #footerNav .wrapper {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
