:root {
  color-scheme: light;
  --purple: #6900ed;
  --panel: #f2f1f5;
  --mall-ink: #101010;
  --mall-line: #e2dfea;
  --mall-lime: #d8ff00;
}
html, body { background: white; color: var(--mall-ink); }
#appHeader, .bottom-nav, .category-search { background: #fff; color: var(--mall-ink); border-color: var(--mall-line); }
#appHeader .header-line { grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; }
#appHeader .wordmark { justify-self: start; font-size: 36px; font-weight: 950; letter-spacing: -.08em; line-height: 1; }
.wordmark small { font-size: 8px; letter-spacing: .23em; vertical-align: middle; margin-left: 3px; }
#appHeader .header-line > a { position: relative; }
#appHeader .header-line > a svg { width: 25px; height: 25px; }
body .category-search { display: block; padding-top: 7px; }
.category-search #searchForm { background: #eeedf3; border: 0; border-radius: 999px; padding: 0 10px; }
#searchInput, #searchForm > span { color: #151419; }
#searchInput::placeholder { color: #666372; }
.category-search .search-submit { background: transparent; color: #111; }
.category-favorites { display: none; }
.bottom-nav > a { color: #121212; }
.bottom-nav > a.active { color: var(--purple); }
.bottom-nav > a.active svg { fill: #6900ed22; }
.bottom-nav a b { font-size: 10px; font-weight: 700; }
.mall-chips, .ref-tabs { display: flex; gap: 6px; overflow: auto; padding: 3px 0; margin: 3px 0 10px; border: 0; }
.mall-chips a, .ref-tabs a, .search-tags button {
  flex: 0 0 auto;
  border: 0;
  background: #efedf3;
  color: #17141d;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 750;
  text-decoration: none;
}
body[data-page=home] .mall-chips a { flex: 1 0 auto; text-align: center; }
.mall-chips .selected, .ref-tabs .selected, .category-sidebar .selected {
  background: var(--purple); color: white; border-color: transparent;
}
.mall-headline, .mall-section-title, .brand-page-title, .stories-title h1,
.hub-checkout h1, .page-title h1, #sizeGuide h2 {
  font-size: clamp(27px, 7vw, 47px);
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: -.055em;
}
.mall-headline { margin: 8px 0 16px; }
.mall-headline::after, .hub-checkout h1::after {
  content: ''; display: block; width: 115px; height: 5px;
  background: var(--mall-lime); transform: rotate(-4deg);
  border-radius: 100%; margin: 5px 0 0 22px;
}
#main > .mall-hero { height: clamp(200px, 52vw, 400px); background: #d5a8f4; border-radius: 14px; }
#main > .mall-hero > img { width: 100%; object-position: center 9%; filter: none; }
#main > .mall-hero::after { background: linear-gradient(93deg,#e8d4ff 4%,#b977eddd 43%,#a454ee13 69%); }
#main > .mall-hero > div { left: 5%; max-width: 63%; text-shadow: none; color: #101010; }
.mall-hero h1 { font-size: clamp(34px, 8.6vw, 76px); font-weight: 950; line-height: .94; letter-spacing: -.075em; }
.mall-hero h1::after { content: ''; display: block; width: 64%; height: 6px; background: var(--mall-lime); border-radius: 50%; transform: rotate(-8deg); margin: 4px auto 6px; }
.mall-hero p { font-size: clamp(18px, 4.5vw, 29px); }
.purple-small, .button-black, .checkout-primary, .filter-actions .button-black, #addToBag {
  background: var(--purple) !important; color: white !important; border: 0; border-radius: 999px !important; font-weight: 850;
}
.mall-brand-rail { margin: 12px 0 15px; }
.mall-brand-rail .brand-circle { width: clamp(41px, 12vw, 70px); height: clamp(41px, 12vw, 70px); }
.mall-brand-rail a:nth-child(1) .brand-circle { background: var(--mall-lime); color: #111; }
.mall-brand-rail a:nth-child(2) .brand-circle { background: #d5b2ff; color: #111; }
.mall-brand-rail a:nth-child(3) .brand-circle { background: #111; color: white; }
.mall-brand-rail a:nth-child(4) .brand-circle { background: #e9d5c1; color: #111; }
.mall-brand-rail a:nth-child(5) .brand-circle { background: var(--purple); color: white; }
.product-grid { gap: 12px 8px; }
.product-card, .horizontal-products > .product-card { background: #fff; color: #101010; border-radius: 12px; }
.product-card .product-photo { aspect-ratio: 1.27 !important; background: #eeebf1; border-radius: 11px; }
.product-card h3, .product-card h3 button { color: #101010 !important; font-weight: 900; font-size: 14px; height: auto; }
.product-card .card-brand { color: #46414d !important; }
.product-card .price { color: #101010; font-weight: 950; }
.favorite-toggle, .horizontal-products .favorite-toggle {
  background: white !important; color: #151515; border-radius: 50%; filter: none;
  width: 28px; height: 28px; display: grid; place-items: center;
}
.favorite-toggle.selected { color: var(--purple); }
.quick-add, .horizontal-products .quick-add { background: #111; color: white; width: 27px; height: 27px; }
.mall-promo { border-radius: 13px; }
.mall-discovery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.mall-discovery a { position: relative; display: block; aspect-ratio: 1.34; border-radius: 12px; overflow: hidden; background: #d3b3f1; color: white; }
.mall-discovery img { width: 100%; height: 100%; object-fit: cover; }
.mall-discovery a::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,#110524bb); }
.mall-discovery b { position: absolute; bottom: 10px; left: 10px; z-index: 1; font-size: clamp(16px,4.6vw,29px); font-weight: 900; }
.mall-names { padding: 16px; margin: 13px 0; border-radius: 13px; background: linear-gradient(110deg,#131019 45%,#6c1fac); color: white; }
.mall-names h2 { margin: 0 0 8px; font-size: 26px; font-weight: 950; }
.mall-section-title { margin: 12px 0 8px; }
.mall-profile { display: grid; gap: 8px; }
.mall-profile a { display: flex; align-items: center; gap: 12px; background: var(--panel); padding: 14px; border-radius: 12px; font-weight: 750; }
.mall-profile a b { margin-left: auto; }
.mall-profile svg { width: 20px; height: 20px; }
.category-sidebar, .catalog-tools, .catalog-tools select, .catalog-tools button, .category-favorites,
.bag-row, .bag-summary, .quantity-control, .checkout-section, .checkout-product,
#filterDialog, #sizeGuide, #productDialog, #productDialog.quick-mode, .pdp-actions,
.pdp-service, .option-buttons button, .filter-actions, .ref-brand-list article,
.help-page details, .ref-world-links a, .empty-state, .site-footer {
  background: #f7f6fa; color: #17141e; border-color: var(--mall-line);
}
.ref-brand-list a { border-radius: 13px; }
.category-sidebar a, .catalog-meta, .checkout-section label, .checkout-field label,
#filterDialog fieldset label, #sizeGuide p, #sizeGuide small, .bag-row-bottom button,
.bag-summary small, .pdp-meta, .pdp-stock, .full-details, .checkout-deck, .checkout-privacy,
.checkout-back, .favorites-note, .muted, .filter-hint, .size-close, .size-native,
.empty-state p, .world-note { color: #514b5e; }
.pdp-info h1 { color: #101010 !important; }
#filterDialog fieldset, #sizeGuide td, #sizeGuide th, .bag-summary dl > div { border-color: var(--mall-line); }
#filterDialog input, #filterDialog select, .bag-summary input, .personal-name input,
.checkout-section input, .checkout-section select, .checkout-section textarea {
  background: white !important; color: #141019 !important; border: 1px solid #aaa3b6 !important; border-radius: 10px;
}
#filterDialog { border-radius: 24px 24px 0 0; }
#filterDialog input { accent-color: var(--purple); }
#filterDialog::backdrop, #productDialog::backdrop, #sizeGuide::backdrop { background: #17112070; }
#sizeGuide th { background: #eee1ff; }
.pdp-brand, .quantity-control button, .pdp-quantity input, .checkout-payment { background: #edeaf4; color: #17141e; border-color: var(--mall-line); }
.pdp-actions .buy-now, .pdp-heart, .checkout-secondary, .continue-link, .size-guide-link { color: var(--purple); background: white; border-color: var(--mall-line); }
.option-buttons button[aria-pressed=true] { color: var(--purple); background: #eee2ff; border-color: var(--purple); }
.product-skeleton i, .product-skeleton b, .product-skeleton span { background: #eeebf3; }
.bag-row, .bag-summary, .checkout-section { border-radius: 15px; }
.bag-product-photo { border-radius: 11px; }
.checkout-check { background: var(--purple); color: white; }
.checkout-steps li[aria-current] { color: var(--purple); border-color: var(--purple); }
body[data-page="bag"] .category-search, body[data-page="checkout"] .category-search { display: none; }
body[data-page="bag"] .bottom-nav, body[data-page="checkout"] .bottom-nav { display: none; }
.mall-shopping-title { margin: 8px 0 18px; }
.story-insert, .story-page blockquote { border-color: var(--mall-line); }
#main > .mall-hero::after { background: linear-gradient(90deg,#ead5ff78,transparent 60%); }
.mall-brand-banners { display: grid; gap: 14px; }
.mall-brand-banners section { scroll-margin-top: 65px; }
.mall-brand-banner { border-radius: 14px; height: clamp(145px, 43vw, 280px); }
.mall-brand-banner h1 { font-style: italic; font-size: clamp(27px, 8vw, 50px); }
.mall-brand-banner p { font-size: clamp(16px, 4.5vw, 26px); }
.mall-brand-banner .purple-small, .mall-promo .purple-small { background: white !important; color: var(--purple) !important; }
.mall-brand-products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.mall-brand-products img { width: 100%; aspect-ratio: 1.25; object-fit: cover; border-radius: 9px; background: var(--panel); }
.story-insert { color: white; background: #18131f; border-radius: 12px; }
.empty-state h2 { color: #161019; }
#helpSearch { width: 100%; padding: 10px 15px; border-radius: 999px; border: 0; background: #efedf3; color: #151219; margin: 12px 0; }
.help-page details { margin-bottom: 6px; border-radius: 11px; padding: 10px 12px; }
.help-page summary { font-weight: 850; cursor: pointer; }
.help-page details[open] { background: #eee2ff; }
.help-deck { font-style: italic; font-size: 16px; }
#filterDialog fieldset:has(input[type=radio]) { display: flex; flex-wrap: wrap; gap: 7px; }
#filterDialog fieldset label:has(input[type=radio]) {
  border: 1px solid #aaa3b6; border-radius: 999px; padding: 6px 10px; margin: 0; cursor: pointer;
}
#filterDialog fieldset label:has(input[type=radio]:checked) { color: var(--purple); background: #f1e5ff; border-color: var(--purple); }
body[data-page="bag"] #appHeader, body[data-page="checkout"] #appHeader { display: none; }
@media (min-width: 801px) {
  .bottom-nav { display: flex; position: fixed; bottom: 0; z-index: 35; justify-content: space-around; border-top: 1px solid var(--mall-line); }
  .bottom-nav > a { display: grid; justify-items: center; }
}
.mall-brand-rail .brand-circle b { font-size: clamp(20px, 5.7vw, 35px); font-weight: 950; font-style: italic; }
.mall-brand-rail a { font-weight: 750; font-size: 11px; }
.mall-hero .purple-small { font-size: 14px; padding: 9px 15px; }
.bag-store { display: none; }
.bag-layout { margin-top: 0; }
.bag-row { position: relative; }
.bag-product-info h2 { font-size: 15px; font-weight: 900; padding-right: 23px; }
.bag-row-bottom > button { position: absolute; right: 10px; top: 10px; }
.bag-row-bottom > button svg { width: 20px; height: 20px; }
.bag-row-bottom { justify-content: flex-end; margin-top: 4px; }
.quantity-control { border-radius: 999px; overflow: hidden; }
.bag-checkout, .checkout-primary { font-size: 16px; text-transform: none; }
.mall-checkout-top { display: grid; grid-template-columns: 30px 1fr 30px; text-align: center; align-items: center; font-size: 22px; font-weight: 900; }
.mall-checkout-top a { font-size: 25px; }
.mall-guest { display: flex; justify-content: space-between; font-size: 14px; font-weight: 750; }
.mall-guest a { color: var(--purple); text-decoration: underline; }
.hub-checkout form[data-hub-checkout-address] .checkout-section { padding: 0; border: 0; background: white; }
.mall-checkout-summary { display: grid; gap: 3px; background: var(--panel); border-radius: 13px; padding: 13px; margin: 10px 0; }
.mall-checkout-summary strong { font-size: 17px; }
.mall-checkout-summary small { color: #514b5e; }
.mall-discovery a[class^="mall-tile-"] img { position: absolute; width: 200%; height: 200%; max-width: none; object-fit: fill; }
.mall-tile-0 img, .mall-tile-2 img { left: 0; }
.mall-tile-1 img, .mall-tile-3 img { left: -100%; }
.mall-tile-0 img, .mall-tile-1 img { top: 0; }
.mall-tile-2 img, .mall-tile-3 img { top: -100%; }
.mall-gifts { grid-template-columns: repeat(3,minmax(0,1fr)); }
.mall-gifts b { font-size: clamp(12px, 3.7vw, 21px); }

/* MALL campaign and department navigation. */
#appHeader .wordmark { letter-spacing: -.045em; font-weight: 950; }
.mall-explore-title { display: none; }
body.mall-explore #appHeader, body[data-page="brands"] #appHeader,
body[data-page="brands"] .category-search { display: none; }
body.mall-explore .mall-explore-title {
  display: block;
  margin: 6px 0 14px;
  font-size: clamp(26px, 7vw, 43px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.045em;
}
body.mall-explore .category-search { padding-top: 12px; padding-bottom: 12px; }
body.mall-explore .category-favorites { display: none; }
#main > .mall-hero { height: auto; aspect-ratio: 1.7; min-height: 0; max-height: 450px; margin-bottom: 10px; }
#main > .mall-hero > img { position: absolute; inset: 0; height: 100%; object-position: center; }
#main > .mall-hero::after { background: linear-gradient(90deg,#fff4 0%,transparent 54%); }
.mall-hero h1 { font-size: clamp(28px, 9vw, 69px); letter-spacing: -.055em; }
.mall-hero h1::after { width: 83%; margin-left: 0; margin-bottom: 9px; }
.mall-topic-photo { display: block; background-image: url(assets/mall-topics.png); background-size: 200% 300%; background-repeat: no-repeat; }
.mall-topic-0 { background-position: 0 0; }
.mall-topic-1 { background-position: 100% 0; }
.mall-topic-2 { background-position: 0 50%; }
.mall-topic-3 { background-position: 100% 50%; }
.mall-topic-4 { background-position: 0 100%; }
.mall-topic-5 { background-position: 100% 100%; }
.mall-shortcuts { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; margin: 10px 0 14px; }
.mall-shortcuts a { display: grid; justify-items: center; gap: 5px; font-size: 11px; }
.mall-shortcuts .mall-topic-photo { width: min(100%, 76px); aspect-ratio: 1; border-radius: 50%; }
.mall-ticket { position: relative; display: flex; align-items: center; justify-content: space-around; gap: 8px; padding: 12px 9px; border-radius: 11px; background: linear-gradient(115deg,#4800a9,#7900ed); color: white; }
.mall-ticket::before, .mall-ticket::after { content: ''; position: absolute; top: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: white; }
.mall-ticket::before { left: -6px; } .mall-ticket::after { right: -6px; }
.mall-ticket strong { font-size: clamp(13px,4.2vw,23px); line-height: 1.06; }
.mall-ticket b { font-size: clamp(23px,7vw,40px); color: var(--mall-lime); font-weight: 950; letter-spacing: -.055em; }
.mall-ticket span { border-left: 1px solid #ffffff70; padding-left: 8px; font-size: 11px; font-weight: 800; }
.mall-offers { margin-top: 14px; }
.mall-offers .section-heading h2, .mall-trending .section-heading h2 { font-size: clamp(20px, 5.9vw, 34px); font-weight: 950; letter-spacing: -.05em; }
.mall-offers .mall-deal-link { flex: none; background: #e8ff81; padding: 7px 9px; border-radius: 9px; color: #161616; font-size: 11px; font-weight: 850; }
.mall-offers .sale-badge { background: #e5ff6a; color: #101010; border-radius: 999px; }
.mall-topic-grid .mall-topic-photo { width: 100%; height: 100%; }
.mall-topic-grid a { aspect-ratio: 1.62; }
.mall-local { margin-top: 10px; border-radius: 12px; height: clamp(105px, 32vw, 240px); }
.mall-local::after { background: linear-gradient(90deg,#efdfcd 8%,#efdfcd00 90%); }
.mall-local h1 { color: #151515; font-size: clamp(22px,6vw,42px); }
.mall-local .purple-small { background: var(--mall-lime) !important; color: #111 !important; }
.mall-trending .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.mall-trending .product-photo { aspect-ratio: 1 !important; }
.mall-trending .card-info { padding-inline: 0; }
.mall-trending .product-card h3 button { font-size: 11px; }
.mall-trending .quick-add { display: none !important; }
body[data-page="brands"] .brand-page-title { font-size: clamp(24px, 6.5vw, 43px); margin: 7px 0 12px; }
.mall-store-rail { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 4px; }
.mall-store-rail .brand-circle { width: min(100%, 55px); height: auto; aspect-ratio: 1; }
.mall-store-rail .brand-circle b { font-size: clamp(14px, 4vw, 22px); font-style: normal; }
.mall-store-rail a { font-size: 9px; }
.mall-store-rail .mall-more { display: grid; place-items: center; background: #f1e8ff; color: var(--purple); border-radius: 50%; font-size: 24px; }
.mall-brand-banner::after { background: linear-gradient(90deg,#220643bc,transparent); }
.mall-brand-banner h1 { font-style: normal; }
.mall-local, .mall-store-0, .mall-store-1 {
  background-image: url(assets/mall-store-campaigns.png);
  background-size: 100% 300%;
  background-repeat: no-repeat;
}
.mall-local > img, .mall-store-0 > img, .mall-store-1 > img { visibility: hidden; }
.mall-local { background-position: center bottom; }
.mall-local::after { background: linear-gradient(90deg,#eadac685,transparent 68%); }
.mall-store-0 { background-position: center top; }
.mall-store-0::after { background: linear-gradient(90deg,#32135366,transparent 70%); }
.mall-store-1 { background-position: center center; }
.mall-store-1::after { background: linear-gradient(90deg,#ffccbc70,transparent 65%); }
.mall-store-1 > div { color: #101010; }
.mall-brand-banner { height: auto; aspect-ratio: 2.25; }
.mall-brand-banner > img { position: absolute; inset: 0; height: 100%; }
.mall-brand-products { margin-top: -3px; padding: 4px; border: 1px solid #eeebf1; border-radius: 12px; }
.mall-brand-products:empty { display: none; }
.mall-store-rail a:nth-child(1) .brand-circle { background: #111; color: white; }
.mall-store-rail a:nth-child(2) .brand-circle { background: #ffd2c7; color: #111; }
.mall-store-rail a:nth-child(3) .brand-circle { background: #e4fc67; color: #111; }
.mall-store-rail a:nth-child(4) .brand-circle { background: #d5b8fa; color: #111; }
.mall-store-rail a:nth-child(5) .brand-circle { background: #eae1d7; color: #111; }
.mall-store-footer { display: flex; align-items: center; gap: 10px; margin: 12px 0; padding: 10px; border: 1px solid var(--mall-line); border-radius: 12px; background: #f7f6fa; }
.mall-store-footer svg { flex: none; width: 42px; height: 42px; padding: 8px; border-radius: 9px; background: #e5ff72; }
.mall-store-footer span { flex: 1; }
.mall-store-footer small { display: block; color: #4d4757; }
.mall-store-footer > b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--purple); color: white; }

/* Dark MALL surfaces. Campaign art retains its own palette. */
:root {
  color-scheme: dark;
  --panel: #19171f;
  --mall-ink: #f6f4fa;
  --mall-line: #38333f;
  --purple: #8535f2;
}
html, body, #appHeader, .bottom-nav, .category-search { background: #09090b; color: var(--mall-ink); }
.bottom-nav > a { color: #eae6f0; }
.bottom-nav > a.active, .section-heading a, .checkout-secondary, .continue-link, .size-guide-link, .mall-guest a { color: #c497ff; }
.category-search #searchForm, .mall-chips a, .ref-tabs a, .search-tags button, #helpSearch { background: #24212b; color: var(--mall-ink); }
#searchInput, #searchForm > span, .category-search .search-submit { color: var(--mall-ink); }
#searchInput::placeholder { color: #c1bacb; }
.mall-chips .selected, .ref-tabs .selected, .category-sidebar .selected { background: var(--purple); color: #fff; }
.product-card, .horizontal-products > .product-card { background: #141218; color: var(--mall-ink); }
.product-card .product-photo, .mall-brand-products img { background: var(--panel); }
.product-card h3, .product-card h3 button, .pdp-info h1 { color: var(--mall-ink) !important; }
.product-card .card-brand { color: #c1bacb !important; }
.product-card .price { color: var(--mall-ink); }
.mall-ticket::before, .mall-ticket::after { background: #09090b; }
.category-sidebar, .catalog-tools, .catalog-tools select, .catalog-tools button, .category-favorites,
.bag-row, .bag-summary, .quantity-control, .checkout-section, .checkout-product,
#filterDialog, #sizeGuide, #productDialog, #productDialog.quick-mode, .pdp-actions,
.pdp-service, .option-buttons button, .filter-actions, .help-page details, .ref-world-links a,
.empty-state, .site-footer, .mall-store-footer, .mall-profile a {
  background: var(--panel); color: var(--mall-ink); border-color: var(--mall-line);
}
.category-sidebar a, .catalog-meta, .checkout-section label, .checkout-field label,
#filterDialog fieldset label, #sizeGuide p, #sizeGuide small, .bag-row-bottom button,
.bag-summary small, .bag-summary dl > div, .bag-summary .bag-total, .pdp-meta, .pdp-stock,
.full-details, .checkout-deck, .checkout-privacy, .checkout-back, .favorites-note, .muted,
.filter-hint, .size-close, .size-native, .empty-state p, .world-note,
.mall-checkout-summary small, .mall-store-footer small { color: #c9c3d1; }
.empty-state h2 { color: var(--mall-ink); }
#filterDialog input, #filterDialog select, .bag-summary input, .personal-name input,
.checkout-section input, .checkout-section select, .checkout-section textarea {
  background: #24212b !important; color: var(--mall-ink) !important; border-color: #655b70 !important;
}
.pdp-brand, .quantity-control button, .pdp-quantity input, .checkout-payment,
.pdp-actions .buy-now, .pdp-heart, #sizeGuide th { background: #282332; color: var(--mall-ink); border-color: var(--mall-line); }
.checkout-secondary, .continue-link, .size-guide-link { background: transparent; border-color: var(--mall-line); }
.option-buttons button[aria-pressed=true], #filterDialog fieldset label:has(input[type=radio]:checked), .help-page details[open] {
  background: #382650; color: #e8d4ff; border-color: #a66cfb;
}
.hub-checkout form[data-hub-checkout-address] .checkout-section { background: transparent; }
.product-skeleton i, .product-skeleton b, .product-skeleton span { background: #25212b; }
.mall-brand-products { border-color: var(--mall-line); }
.mall-store-footer svg { color: #111; }

#searchForm { position: relative; z-index: 24; }
.search-suggestions {
  position: absolute;
  inset: calc(100% + 6px) 0 auto;
  max-height: min(330px, 50dvh);
  overflow: auto;
  padding: 5px;
  border: 1px solid var(--mall-line);
  border-radius: 13px;
  background: #19171f;
  box-shadow: 0 12px 28px #0008;
}
.search-suggestions[hidden] { display: none; }
.search-suggestions button {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px;
  border-radius: 8px;
  text-align: left;
  color: var(--mall-ink);
}
.search-suggestions button:hover, .search-suggestions button:focus-visible { background: #382650; }
.search-suggestions img { width: 38px; height: 38px; object-fit: cover; border-radius: 5px; }
.search-suggestions button > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestions strong { white-space: nowrap; font-size: 11px; }

.mall-shortcuts { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 5px; }
.mall-shortcuts a { font-size: 10px; text-align: center; }
.mall-kids-photo { object-fit: cover; object-position: 78% 45%; }
.mall-topic-grid a:last-child:has(.mall-kids-photo) { grid-column: 1 / -1; aspect-ratio: 3.1; }
.mall-store-rail { grid-template-columns: repeat(7,minmax(0,1fr)); }
.mall-store-rail .circle-photo { width: min(100%,55px); height: auto; aspect-ratio: 1; }

body.kids-mode { --purple: #9851f6; --mall-lime: #e9ff75; }
.kids-switch { display: flex; width: fit-content; gap: 4px; padding: 4px; margin: 0 0 12px; border-radius: 999px; background: var(--panel); }
.kids-switch a { padding: 7px 12px; font-size: 11px; font-weight: 900; border-radius: 999px; }
.kids-switch .selected { background: var(--purple); color: white; }
.kids-mall-hero { height: clamp(210px, 56vw, 390px); border-radius: 15px; }
.kids-mall-hero > img { object-position: 78% 40%; }
.kids-mall-hero h1 { font-size: clamp(25px, 7vw, 58px); }
.kids-mall-hero::after { background: linear-gradient(90deg, #311650c9, transparent 80%); }

#appHeader .header-line { grid-template-columns: minmax(0,1fr); }
.bottom-nav .nav-bag { position: relative; }

body.mall-explore #appHeader, body[data-page="brands"] #appHeader { display: block; }
.mall-switcher {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 4px;
  width: min(100%, 440px);
  margin: 0 auto;
  padding: 4px;
  border-radius: 15px;
  background: #1d1924;
}
.mall-switcher a {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  padding: 7px 5px;
  border-radius: 11px;
  color: #ded7e9;
  font-size: clamp(20px,6vw,28px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.045em;
}
.mall-switcher a small { font-size: 9px; letter-spacing: .14em; }
.mall-switcher a[aria-current] { background: var(--purple); color: white; }
.kids-mode .mall-switcher a[aria-current] { background: var(--mall-lime); color: #14101c; }

.hub-centered-mark {
  text-align: center;
  font-size: 32px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.06em;
  margin-bottom: 7px;
}
.mall-switcher { width: min(100%, 224px); }
.mall-switcher a { align-items: center; font-size: 14px; letter-spacing: 0; }

/* Keep the wordmark and audience selector on one row. */
#appHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
body.mall-explore #appHeader, body[data-page="brands"] #appHeader { display: flex; }
body[data-page="bag"] #appHeader, body[data-page="checkout"] #appHeader { display: none; }
.hub-centered-mark { margin: 0; text-align: left; white-space: nowrap; }
.mall-switcher { flex: 0 1 170px; width: auto; margin: 0; }

body[data-page=home] #main > .mall-hero:first-child { height: auto; aspect-ratio: 1.7; background: #d5a8f4; }
body[data-page=home] #main > .mall-hero:first-child > img { object-position: center; }
body[data-page=home] #main > .mall-hero:first-child::after { background: linear-gradient(90deg,#fff4,transparent 54%); }

#appHeader { position: static; }

.mall-home-categories { margin: 0 0 9px; scrollbar-width: none; }
body[data-page="home"] .mall-home-categories a { flex: 0 0 auto; white-space: nowrap; }

.ref-brand-circles.mall-circle-carousel {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  margin: 10px 0;
  padding: 2px 2px 6px;
}
.mall-circle-carousel > a {
  flex: 0 0 64px;
  scroll-snap-align: start;
}
.mall-circle-carousel .circle-photo {
  width: 54px;
  height: 54px;
}

.mall-offer-carousel.product-grid,
.mall-bestsellers .product-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 5px;
}
.mall-offer-carousel > .product-card,
.mall-bestsellers .product-grid > .product-card,
.mall-bestsellers .product-skeleton {
  flex: 0 0 clamp(132px, 44%, 230px);
  scroll-snap-align: start;
}

.mall-circle-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  margin: 10px 0;
}
.mall-circle-scroll .mall-circle-carousel {
  width: max-content;
  min-width: 100%;
  overflow: visible;
  scroll-snap-type: none;
  margin: 0;
}

.mall-bestsellers { margin-top: 14px; }
.mall-bestsellers .section-heading h2 { font-size: clamp(20px, 5.9vw, 34px); font-weight: 950; letter-spacing: -.05em; }

.mall-circle-scroll .mall-logo-row > a {
  display: grid;
  place-items: center;
  min-height: 46px;
  background: transparent;
}
.mall-logo-row img {
  display: block;
  width: 100%;
  height: 39px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}
.mall-circle-carousel .circle-photo > svg { width: 23px; height: 23px; }

.mall-circle-scroll .mall-circle-carousel .circle-photo {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.mall-circle-scroll .mall-circle-carousel .circle-photo img { object-fit: contain; }
