/* User-approved NOY artwork. Captions/counts stay live HTML, independent of artwork. */
#categoryBrowse,#ageBrowse{--kingdom-blue:#10265d;--kingdom-yellow:#ffd000}
#categoryBrowse .section-heading,#ageBrowse .section-heading{position:relative;margin-bottom:28px;gap:24px}
#categoryBrowse .section-heading>div,#ageBrowse .section-heading>div{position:relative;z-index:1}
#categoryBrowse .eyebrow,#ageBrowse .eyebrow{display:block;color:#004aff;font-size:12px;font-weight:800;letter-spacing:1.7px}
#categoryBrowse h2,#ageBrowse h2{position:relative;display:inline-block;font-size:clamp(27px,2.8vw,38px);line-height:1.15;font-weight:800;letter-spacing:-.8px;color:var(--kingdom-blue);margin:8px 0 12px}
#categoryBrowse h2::after,#ageBrowse h2::after{content:"";position:absolute;right:3px;bottom:-10px;width:48%;height:10px;border-bottom:7px solid var(--kingdom-yellow);border-radius:0 0 55% 48%;transform:rotate(-1deg);pointer-events:none}
#categoryBrowse .eyebrow::before,#ageBrowse .eyebrow::before{content:"";position:absolute;width:8px;height:16px;border-radius:6px;background:var(--kingdom-yellow);left:-19px;top:2px;transform:rotate(-32deg);box-shadow:-11px 9px 0 -1px var(--kingdom-yellow),6px -10px 0 -1px var(--kingdom-yellow)}
#categoryBrowse .browse-link{z-index:1;flex-shrink:0;color:#003aff;border:1.5px solid #1670ff;font-size:14px;padding:12px 20px;box-shadow:0 2px 0 #e9f0ff}
.discovery-crown{position:absolute;right:190px;top:1px;width:180px;height:94px;opacity:.9;pointer-events:none}
#categoryDiscovery{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
#categoryDiscovery .category-tile{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:2px;min-height:0;padding:8px 8px 12px;text-align:center;border:1.5px solid transparent;border-radius:22px;background:var(--discovery-tone,#e7f2ff);color:var(--kingdom-blue);overflow:hidden;transition:transform .18s,box-shadow .18s,border-color .18s}
#categoryDiscovery .category-tile>.category-art{display:block;flex:0 0 auto;width:100%;max-width:250px;height:auto;margin:0;background-image:url('./assets/discovery-categories-20261123.png');background-repeat:no-repeat;border-radius:15px}
#categoryDiscovery .category-tile>span:nth-child(2){display:grid;place-items:center;flex:none;width:100%;min-height:38px}
#categoryDiscovery .category-tile b{font-family:"Trebuchet MS","Segoe UI",Arial,sans-serif;font-size:16px;font-weight:800;line-height:1.25;color:var(--kingdom-blue);text-wrap:balance}
#categoryDiscovery .category-tile>span:last-child:not(.category-art){display:none}
#categoryDiscovery .category-tile:hover{border-color:#1768ff;transform:translateY(-3px);box-shadow:0 7px 18px #11377714}
#categoryDiscovery .category-tile:focus-visible,#ageDiscovery .age-tile:focus-visible{outline:3px solid #064bdb;outline-offset:3px;box-shadow:0 0 0 6px #ffdb40}
#ageDiscovery{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
#ageDiscovery .age-tile{display:flex;flex-direction:column;align-items:center;padding:15px 11px 19px;min-width:0;border:1.4px solid #6e93ff;border-radius:23px;background:linear-gradient(145deg,#f8fbff,#fff 62%);color:var(--kingdom-blue);transition:transform .18s,box-shadow .18s,border-color .18s}
#ageDiscovery .age-art{display:block;width:100%;max-width:282px;height:auto;flex:none;margin:0 0 16px;border-radius:29px;background-image:url('./assets/discovery-ages-20261123.png');background-repeat:no-repeat;background-color:transparent}
#ageDiscovery .age-tile b{font-family:"Trebuchet MS","Segoe UI",Arial,sans-serif;font-size:clamp(18px,1.65vw,24px);font-weight:800;line-height:1.25;color:var(--kingdom-blue);text-wrap:balance}
#ageDiscovery .age-tile small{font-size:14px;line-height:1.4;margin-top:8px;color:#57739a}
#ageDiscovery .age-tile:not(:disabled):hover{border-color:#0055ff;background:#fff;transform:translateY(-3px);box-shadow:0 7px 20px #123da515}
#ageDiscovery .age-tile:not(:disabled):hover small{color:#57739a}
#ageBrowse .browse-note{margin-top:19px;color:#526783;font-size:12px}
@media(min-width:651px) and (max-width:1050px){
 #categoryDiscovery{grid-template-columns:repeat(3,minmax(0,1fr))}
 #categoryDiscovery .category-tile>.category-art{max-width:210px}
 #ageDiscovery{gap:9px}
 #ageDiscovery .age-tile{padding:10px 7px 14px;border-radius:18px}
 #ageDiscovery .age-art{border-radius:20px;margin-bottom:12px}
 #ageDiscovery .age-tile b{font-size:16px}
 #ageDiscovery .age-tile small{font-size:12px}
 .discovery-crown{display:none}
}
@media(max-width:650px){
 #categoryBrowse .section-heading,#ageBrowse .section-heading{gap:12px;margin-bottom:22px}
 #categoryBrowse .eyebrow,#ageBrowse .eyebrow{font-size:9px;letter-spacing:1.2px}
 #categoryBrowse .eyebrow::before,#ageBrowse .eyebrow::before{display:none}
 #categoryBrowse h2,#ageBrowse h2{font-size:27px;line-height:1.15;letter-spacing:-.5px}
 #categoryBrowse .section-heading{flex-wrap:wrap;align-items:flex-start}
 #categoryBrowse .browse-link{font-size:12px;padding:9px 13px}
 .discovery-crown{display:none}
 #categoryDiscovery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #categoryDiscovery .category-tile{padding:7px 5px 10px;border-radius:18px}
 #categoryDiscovery .category-tile b{font-size:13px;line-height:1.25}
 #categoryDiscovery .category-tile>span:nth-child(2){min-height:35px}
 #ageDiscovery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #ageDiscovery .age-tile{padding:10px 8px 15px;border-radius:20px}
 #ageDiscovery .age-art{border-radius:23px;margin-bottom:12px}
 #ageDiscovery .age-tile b{font-size:18px}
 #ageDiscovery .age-tile small{font-size:12px;margin-top:6px}
 #ageBrowse .browse-note{font-size:11px;line-height:1.6}
}
@media(prefers-reduced-motion:reduce){#categoryDiscovery .category-tile,#ageDiscovery .age-tile{transition:none}#categoryDiscovery .category-tile:hover,#ageDiscovery .age-tile:hover{transform:none}}

/* The same friendly NOY typography across the remaining discovery sections. */
#brandBrowse,#worldsSection,#catalog{--discovery-font:"Trebuchet MS","Segoe UI",Arial,sans-serif}
#brandBrowse .section-heading h2,#worldsSection .section-heading h2,#catalog .section-heading h2{font-family:var(--discovery-font);font-size:clamp(27px,2.8vw,38px);font-weight:800;line-height:1.15;letter-spacing:-.8px;color:#10265d;margin:8px 0 12px}
#brandBrowse .section-heading .eyebrow,#worldsSection .section-heading .eyebrow,#catalog .section-heading .eyebrow{display:block;font-family:var(--discovery-font);font-size:12px;font-weight:800;letter-spacing:1.7px;color:#004aff}
#brandBrowse .brand-tile b{font-family:var(--discovery-font);font-size:18px;font-weight:800;line-height:1.3;color:#10265d}
#worldsSection .world-tile b{font-family:var(--discovery-font);font-size:16px;font-weight:800;line-height:1.3;color:#10265d}
#brandBrowse .brand-tile small,#worldsSection .world-tile small{font-family:var(--discovery-font);font-weight:400}
#brandBrowse .browse-link,#worldsSection .browse-link{font-family:var(--discovery-font);font-weight:700;font-size:14px}
#catalog #filterPanelTitle,#catalog .filter-field-title,#catalog .filter-panel-top .catalog-toolbar>label,#catalog .freight-filter>label{font-family:var(--discovery-font);font-weight:700}
#catalog .browse-filter-grid select,#catalog #sort{font-family:var(--discovery-font);font-weight:600}
#catalog #clearFilters,#catalog .filter-cep-button,#catalog .filter-chip,#catalog #loadMoreProducts{font-family:var(--discovery-font);font-weight:700}
@media(max-width:650px){
 #brandBrowse .section-heading h2,#worldsSection .section-heading h2,#catalog .section-heading h2{font-size:27px;letter-spacing:-.5px}
 #brandBrowse .section-heading .eyebrow,#worldsSection .section-heading .eyebrow,#catalog .section-heading .eyebrow{font-size:9px;letter-spacing:1.2px}
 #brandBrowse .brand-tile b{font-size:16px}
 #worldsSection .world-tile b{font-size:14px}
 #brandBrowse .browse-link,#worldsSection .browse-link{font-size:12px}
}

/* Shared heading treatment: blue callout, yellow sparks and hand-drawn underline. */
#brandBrowse .section-heading,#worldsSection .section-heading,#catalog .section-heading{position:relative;margin-bottom:28px;gap:24px}
#brandBrowse .section-heading>div,#worldsSection .section-heading>div,#catalog .section-heading>div{position:relative}
#brandBrowse .section-heading h2,#worldsSection .section-heading h2,#catalog .section-heading h2{position:relative;display:inline-block}
#brandBrowse .section-heading h2::after,#worldsSection .section-heading h2::after,#catalog .section-heading h2::after{content:"";position:absolute;right:3px;bottom:-10px;width:48%;height:10px;border-bottom:7px solid #ffd000;border-radius:0 0 55% 48%;transform:rotate(-1deg);pointer-events:none}
#categoryBrowse .section-heading .eyebrow,#ageBrowse .section-heading .eyebrow,#brandBrowse .section-heading .eyebrow,#worldsSection .section-heading .eyebrow,#catalog .section-heading .eyebrow{font-family:"Segoe UI",Arial,sans-serif;font-weight:800}
#brandBrowse .section-heading .eyebrow::before,#worldsSection .section-heading .eyebrow::before,#catalog .section-heading .eyebrow::before{content:"";position:absolute;width:8px;height:16px;border-radius:6px;background:#ffd000;left:-19px;top:2px;transform:rotate(-32deg);box-shadow:-11px 9px 0 -1px #ffd000,6px -10px 0 -1px #ffd000;pointer-events:none}
@media(max-width:650px){
 #brandBrowse .section-heading,#worldsSection .section-heading,#catalog .section-heading{flex-wrap:wrap;gap:12px;margin-bottom:22px}
 #brandBrowse .section-heading .eyebrow::before,#worldsSection .section-heading .eyebrow::before,#catalog .section-heading .eyebrow::before{display:none}
}

#categoryBrowse .browse-link,#brandBrowse .browse-link,#worldsSection .browse-link{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:44px;padding:12px 20px;border:1.5px solid #1670ff;border-radius:30px;background:#fff;color:#003aff;font-family:"Trebuchet MS","Segoe UI",Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.25;box-shadow:0 2px 0 #e9f0ff;cursor:pointer}
#categoryBrowse .browse-link:hover,#brandBrowse .browse-link:hover,#worldsSection .browse-link:hover{background:#f3f7ff;border-color:#0055ff}
#categoryBrowse .browse-link:focus-visible,#brandBrowse .browse-link:focus-visible,#worldsSection .browse-link:focus-visible{outline:3px solid #ffd000;outline-offset:3px}
@media(max-width:650px){#categoryBrowse .browse-link,#brandBrowse .browse-link,#worldsSection .browse-link{min-height:40px;padding:9px 13px;font-size:12px}}

/* Keep the complete sorting label visible and make the filter heading distinct. */
#catalog #filterPanelTitle{font-family:"Segoe UI",Arial,sans-serif;font-size:14px;font-weight:800;letter-spacing:1.5px;line-height:1.4;text-transform:uppercase;color:#004aff}
#catalog .filter-panel-top .catalog-toolbar{flex-shrink:0;gap:12px}
#catalog .filter-panel-top .catalog-toolbar>label{gap:9px}
#catalog .filter-panel-top #sort{width:280px;min-height:42px;padding:10px 30px 10px 12px;font-size:14px}
@media(max-width:650px){
 #catalog #filterPanelTitle{min-width:0;font-size:12px;letter-spacing:1px;align-self:center;text-wrap:balance}
 #catalog .filter-panel-top .catalog-toolbar{display:flex;grid-column:1/-1;grid-row:2;align-items:flex-end;flex-wrap:wrap;gap:8px}
 #catalog .filter-panel-top .catalog-toolbar>label{display:block;flex:1 1 220px;min-width:0;font-size:11px}
 #catalog .filter-panel-top #sort{width:100%;min-height:42px;margin-top:4px;font-size:13px}
 #catalog .filter-panel-top #clearFilters{flex:0 0 auto;margin-left:auto;min-height:42px}
}
