/* Theme accents are scoped to the campaign menu link and page. */
body.a4k-season-black-friday .wd-nav .a4k-bf-nav-item > .woodmart-nav-link {
  background-color:#19191c; color:#f4ca52;
  box-shadow:inset 0 0 0 1px #9a7931; font-weight:700;
}
body.a4k-season-black-friday .wd-nav .a4k-bf-nav-item > .woodmart-nav-link > .nav-link-text { color:inherit; }
body.a4k-season-black-friday .wd-nav .a4k-bf-nav-item > .woodmart-nav-link:is(:hover,:focus-visible) {
  background-color:#302e2a; color:#ffe191;
}
/* The custom drawer forces its default row colors with !important. */
body.a4k-season-black-friday .mobile-nav.all4kids-current-mobile-menu .mobile-pages-menu li.a4k-bf-nav-item > a.woodmart-nav-link {
  background-color:#19191c!important; color:#f4ca52!important;
}
body.a4k-season-black-friday .mobile-nav.all4kids-current-mobile-menu .mobile-pages-menu li.a4k-bf-nav-item > a.woodmart-nav-link:is(:hover,:focus-visible) {
  background-color:#302e2a!important; color:#ffe191!important;
}
.a4k-bf-landing .whb-header { display:none; }
.a4k-bf-landing .main-page-wrapper { padding-top:0; background:#faf6ea; }
.a4k-bf-landing .main-page-wrapper > .wd-content-layout { padding-top:0; }
.bf-shop { --bf-ink:#202023; --bf-blue:#31579e; --bf-line:#d9d5c9; --bf-paper:#fff; --bf-gold:#f6ca52; color:var(--bf-ink); margin:0 auto 42px; max-width:1400px; width:100%; }
.bf-shop * { box-sizing:border-box; }
.bf-shop :is(a,summary):focus-visible { outline:3px solid #31579e; outline-offset:3px; }
.bf-shop .bf-masthead { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:80px; padding-block:12px; }
.bf-shop .bf-logo { display:flex; align-items:center; min-height:44px; }
.bf-shop .bf-logo img { display:block; width:150px; height:auto; }
.bf-shop .bf-header-actions { display:flex; align-items:center; gap:8px; }
.bf-shop .bf-header-actions > a { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding-inline:13px; border-radius:8px; border:1px solid #e4ded0; background:var(--bf-paper); color:var(--bf-ink); font-weight:700; }
.bf-shop .bf-header-actions > a:hover { border-color:var(--bf-ink); }
.bf-shop .bf-header-actions .bf-cart-link { width:44px; padding:0; background:var(--bf-gold); border-color:var(--bf-gold); }
.bf-shop .bf-hero { position:relative; margin:0; }
.bf-shop .bf-jump { display:block; border-radius:8px; overflow:hidden; background:#191919; }
.bf-shop .bf-hero picture,.bf-shop .bf-hero img { display:block; width:100%; height:auto; }
.bf-shop .bf-hero picture { aspect-ratio:3 / 1; }
.bf-shop .bf-hero img { height:100%; object-fit:contain; }
.bf-shop #bf-offers { scroll-margin-top:100px; }
.bf-shop .bf-budget { margin-top:25px; scroll-margin-top:90px; }
.bf-shop .bf-budget-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:2px 12px; }
.bf-shop .bf-budget-heading h2 { margin:0; font-size:28px; line-height:1.15; color:var(--bf-ink); }
.bf-shop .bf-budget-reset { min-height:32px; padding:3px 1px; color:var(--bf-blue); text-decoration:underline; text-underline-offset:3px; }
.bf-shop .bf-budget > p { margin:6px 0 12px; font-size:16px; color:#55504a; line-height:1.25; }
.bf-shop .bf-budget-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.bf-shop .bf-budget-options > a { display:flex; flex-direction:column; justify-content:center; gap:4px; min-height:66px; padding:8px 15px; border:1px solid #ded6c6; border-radius:8px; background:var(--bf-paper); color:var(--bf-ink); line-height:1.15; }
.bf-shop .bf-budget-options > a:hover { background:#fff6db; border-color:#a68226; }
.bf-shop .bf-budget-options > a[aria-current] { background:#f6ca52; border-color:#907023; }
.bf-shop .bf-budget-options strong { font-size:21px; line-height:1.1; }
.bf-shop .bf-budget-options span { color:#48433a; font-size:15px; overflow-wrap:anywhere; }
.bf-shop .bf-categories { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); position:relative; gap:1px; margin-top:20px; padding:1px; background:#e4dcca; border-radius:8px; }
.bf-shop .bf-categories > a,.bf-shop .bf-menu > summary { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:7px 15px; margin:0; font:inherit; font-size:16px; font-weight:650; line-height:1.25; text-align:start; text-decoration:none; color:var(--bf-ink); background:transparent; border:1px solid transparent; border-radius:24px; cursor:pointer; }
.bf-shop .bf-categories > a,.bf-shop .bf-menu-categories > summary { justify-content:flex-start; width:100%; height:100%; min-height:66px; padding:7px 10px; border:0; border-radius:0; background:var(--bf-paper); }
.bf-shop .bf-categories > :first-child { border-radius:7px 0 0 7px; }
.bf-shop .bf-categories > :last-child > summary { border-radius:0 7px 7px 0; }
.bf-shop .bf-categories > a[aria-current],.bf-shop .bf-menu-categories.has-choice > summary { background:var(--bf-gold); }
.bf-shop .bf-categories > a:not([aria-current]):hover,.bf-shop .bf-menu > summary:hover { background:#fff1c7; }
.bf-shop .bf-categories span { min-width:0; overflow-wrap:anywhere; }
.bf-shop .bf-categories > a :is(img,svg),.bf-shop .bf-menu-categories summary > svg:first-child { display:block; flex:0 0 42px; width:42px; height:42px; object-fit:contain; background:#faf6ea; border-radius:6px; }
.bf-shop .bf-categories > a svg,.bf-shop .bf-menu-categories summary > svg:first-child { padding:10px; color:#25252a; }
.bf-shop .bf-menu { margin:0; position:relative; }
.bf-shop .bf-menu > summary { list-style:none; user-select:none; }
.bf-shop .bf-menu > summary::-webkit-details-marker { display:none; }
.bf-shop .bf-menu svg { flex:0 0 auto; }
.bf-shop .bf-menu[open] > summary > svg:last-child { transform:rotate(180deg); }
.bf-shop .bf-menu-categories > summary svg:last-child { display:none; }
.bf-shop .bf-menu-categories[open] > summary svg:first-child { transform:rotate(45deg); }
.bf-shop .bf-menu-categories .bf-options { left:auto; right:0; }
.bf-shop .bf-options { position:absolute; top:calc(100% + 5px); left:0; z-index:95; overflow-y:auto; overscroll-behavior:contain; width:max-content; min-width:190px; max-width:min(300px,85vw); max-height:250px; background:var(--bf-paper); color:var(--bf-ink); border:1px solid var(--bf-line); border-radius:8px; padding:5px; box-shadow:0 12px 28px rgb(31 28 20 / 12%); }
.bf-shop .bf-options a { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:9px 13px; min-height:40px; font-size:16px; line-height:1.25; text-decoration:none; color:var(--bf-ink); }
.bf-shop .bf-options a:hover,.bf-shop .bf-options a[aria-current] { color:#254a8d; background:#edf2fb; }
.bf-shop .bf-options small { color:#545966; font-size:13px; font-variant-numeric:tabular-nums; }
.bf-shop .bf-tools,.bf-shop .bf-result-title,.bf-shop .bf-criteria { display:flex; align-items:center; gap:12px; }
.bf-shop .bf-tools { justify-content:space-between; align-items:center; margin:23px 0 16px; flex-wrap:wrap; }
.bf-shop .bf-result-title { align-items:baseline; flex-wrap:wrap; gap:5px 12px; }
.bf-shop .bf-result-title h2 { margin:0; color:var(--bf-ink); font-family:var(--wd-title-font,inherit); font-size:34px; line-height:1.1; text-wrap:balance; }
.bf-shop .bf-count { color:#55565d; font-size:16px; line-height:1.3; font-variant-numeric:tabular-nums; }
.bf-shop .bf-criteria { gap:8px; flex-wrap:wrap; }
.bf-shop .bf-criteria summary { background:var(--bf-paper); border-color:var(--bf-line); min-height:40px; padding:7px 13px; }
.bf-shop .bf-criteria .bf-options { right:0; left:auto; }
.bf-shop .bf-reset { color:var(--bf-blue); display:inline-flex; align-items:center; gap:4px; font-size:15px; min-height:32px; margin:-7px 0 8px; text-decoration:underline; text-underline-offset:3px; }
.bf-shop .bf-reset svg { width:14px; }
.bf-shop .bf-products .wd-products.wd-grid-g { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); --wd-col:4; --wd-gap:16px; }
.bf-shop .bf-products .product-grid-item { min-width:0; }
.bf-shop .bf-pages { margin:28px auto 0; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:16px; }
.bf-shop .bf-pages > a { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:8px 16px; background:#fff; color:var(--bf-blue); border:1px solid var(--bf-line); border-radius:24px; text-decoration:none; font-weight:650; }
.bf-shop .bf-pages > span { font-size:15px; color:#55565d; font-variant-numeric:tabular-nums; }
.bf-shop .bf-empty { padding-block:20px; }
.bf-shop .bf-empty a { color:var(--bf-blue); text-decoration:underline; }
.a4k-season-black-friday.dmu-refined-checkout .bf-original { display:none; }
.a4k-season-black-friday.dmu-refined-checkout .dmu-section-peek[data-step="contact"] .bf-original-contact,
.a4k-season-black-friday.dmu-refined-checkout .dmu-section-peek[data-step="delivery"] .bf-original-delivery,
.a4k-season-black-friday.dmu-refined-checkout .dmu-section-peek[data-step="payment"] .bf-original-payment { display:inline; }
.a4k-season-black-friday.dmu-refined-checkout .dmu-section-peek { pointer-events:none; right:4px; }
.a4k-season-black-friday.dmu-refined-checkout .dmu-section-peek::after { height:3px; border-radius:0; }
.a4k-season-black-friday.dmu-refined-checkout .dmu-section-peek .bf-artist { width:68px; height:56px; margin-inline:1px; }
/* Like the Halloween theme, carry the seasonal palette through the checkout, not into its behavior. */
.a4k-season-black-friday.dmu-refined-checkout {
  --dmu-checkout-ink:#252528;
  --dmu-checkout-line:#e9e0ce;
  --dmu-checkout-accent:#71521a;
}
.a4k-season-black-friday.dmu-refined-checkout:has(form.wd-checkout-form) .main-page-wrapper { background:#fbf5e8; }
.a4k-season-black-friday .dmu-classic-brand { position:relative; border-bottom:2px solid #edc354; padding-bottom:14px; margin-bottom:10px; }
.a4k-season-black-friday .dmu-classic-brand h1 { padding-inline-end:153px; }
.a4k-season-black-friday .dmu-classic-brand::after {
  content:''; position:absolute; right:4px; bottom:7px; width:144px; height:57px; pointer-events:none;
  background:url('cast-02.webp') left 3px bottom 4px / 47px auto no-repeat,url('cast-09.webp') center bottom 8px / 47px auto no-repeat,url('cast-15.webp') right 2px bottom 2px / 48px auto no-repeat;
}
.a4k-season-black-friday.dmu-refined-checkout form.wd-checkout-form .dmu-classic-summary > .elementor-widget-wd_title {
  width:calc(100% + 48px); max-width:none; margin:-24px -24px 0; padding:18px 24px;
  border-radius:16px 16px 0 0; background:#252528;
}
.a4k-season-black-friday.dmu-refined-checkout .dmu-summary-toggle { color:#fff9ec !important; }
.a4k-season-black-friday.dmu-refined-checkout .dmu-summary-amount { color:#f6ca52; }
.a4k-season-black-friday.dmu-refined-checkout .dmu-classic-summary .elementor-widget-wd_title .title { margin:0 !important; }
.a4k-season-black-friday.dmu-refined-checkout form.wd-checkout-form :is(.dmu-type-button.is-active,#payment li.wc_payment_method:has(input:checked)) { background:#fff5d5 !important; border-color:#a9751b !important; }
.a4k-season-black-friday.dmu-refined-checkout form.wd-checkout-form .dmu-type-button.is-active { color:#533c12 !important; }
.a4k-season-black-friday.dmu-refined-checkout form.wd-checkout-form .dmu-type-button.is-active > .dmu-selection-mark { background:#896018 !important; border-color:#896018 !important; }
@media(max-width:1000px) {
  .a4k-season-black-friday.dmu-refined-checkout form.wd-checkout-form .dmu-summary-collapsed { background:#252528; padding-bottom:0; }
  .a4k-season-black-friday.dmu-refined-checkout form.wd-checkout-form .dmu-classic-summary > .elementor-widget-wd_title { width:calc(100% + 40px); margin:-16px -20px 0; padding:16px 20px; }
  .a4k-season-black-friday.dmu-refined-checkout form.wd-checkout-form .dmu-summary-collapsed > .elementor-widget-wd_title { border-radius:16px; }
}
@media(max-width:1050px) {
  .bf-shop .bf-products .wd-products.wd-grid-g { grid-template-columns:repeat(3,minmax(0,1fr)); --wd-col:3; }
  .bf-shop .bf-categories { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .bf-shop .bf-categories > a:nth-child(3) { border-radius:0 7px 0 0; }
  .bf-shop .bf-categories > a:nth-child(4) { border-radius:0 0 0 7px; }
  .bf-shop .bf-categories > :first-child { border-radius:7px 0 0 0; }
  .bf-shop .bf-categories > :last-child > summary { border-radius:0 0 7px 0; }
}
@media(max-width:760px) {
  .bf-shop { margin-bottom:28px; }
  .bf-shop .bf-masthead { min-height:62px; padding-block:8px; }
  .bf-shop .bf-logo img { width:117px; }
  .bf-shop .bf-header-actions > a { padding-inline:9px; }
  .bf-shop .bf-header-actions > a:not(.bf-cart-link) > svg { display:none; }
  .bf-shop #bf-offers { scroll-margin-top:80px; }
  .bf-shop .bf-categories { margin-top:12px; }
  .bf-shop .bf-categories > a,.bf-shop .bf-menu-categories summary { font-size:15px; min-height:58px; gap:5px; padding:6px; }
  .bf-shop .bf-categories > a :is(img,svg),.bf-shop .bf-menu-categories summary > svg:first-child { flex-basis:26px; width:26px; height:28px; }
  .bf-shop .bf-categories > a svg,.bf-shop .bf-menu-categories summary > svg:first-child { padding:4px; }
  .bf-shop .bf-tools { display:block; margin:15px 0 12px; }
  .bf-shop .bf-result-title h2 { font-size:26px; } .bf-shop .bf-count { font-size:14px; }
  .bf-shop .bf-criteria { margin-top:8px; }
  .bf-shop .bf-criteria summary { min-height:38px; padding:6px 11px; font-size:15px; }
  .bf-shop .bf-criteria .bf-menu:first-child .bf-options { left:0; right:auto; }
  .bf-shop .bf-menu-categories .bf-options { right:0; left:auto; }
  .bf-shop .bf-menu-categories { position:static; }
  .bf-shop .bf-menu-categories .bf-options { width:100%; max-width:none; }
  .bf-shop .bf-products .wd-products.wd-grid-g { grid-template-columns:repeat(2,minmax(0,1fr)); --wd-col:2; --wd-gap:10px; }
  .a4k-season-black-friday .dmu-classic-brand h1 { padding-inline-end:99px; }
  .a4k-season-black-friday .dmu-classic-brand::after { right:0; width:90px; height:39px; background-size:30px auto,30px auto,30px auto; }
  .a4k-season-black-friday.dmu-refined-checkout form.wd-checkout-form .dmu-classic-summary > .elementor-widget-wd_title { width:calc(100% + 32px); margin:-10px -16px 0; padding:16px; }
}
@media (max-width:600px) {
  .bf-shop .bf-hero picture { aspect-ratio:9 / 10; }
  .bf-shop .bf-budget { margin-top:17px; scroll-margin-top:57px; }
  .bf-shop .bf-budget-heading h2 { font-size:23px; }
  .bf-shop .bf-budget-options { gap:5px; }
  .bf-shop .bf-budget-options > a { justify-content:flex-start; padding:8px 6px; min-height:70px; }
  .bf-shop .bf-budget-options strong { font-size:17px; }
  .bf-shop .bf-budget-options span { font-size:13px; }
  .bf-shop .bf-categories > a,.bf-shop .bf-menu-categories > summary { flex-direction:column; justify-content:center; min-height:63px; padding:5px 2px; text-align:center; font-size:14px; }
  .bf-shop .bf-categories > a :is(img,svg),.bf-shop .bf-menu-categories summary > svg:first-child { flex:0 0 27px; width:27px; height:27px; }
}
@media (max-width:390px) {
  .bf-shop .bf-criteria { position:relative; }
  .bf-shop .bf-criteria .bf-menu { position:static; }
  .bf-shop .bf-criteria .bf-options { left:0; right:auto; }
}
@media (prefers-reduced-motion:reduce) {
  .a4k-season-black-friday.dmu-refined-checkout .dmu-section-peek { display:none !important; }
}

/* Replace only the textured wordmark baked into each campaign banner. */
@supports (mask-image:url("")) and (mask-composite:intersect) {
  :is(#slide-25617,#slide-25619) .wd-slide-bg > .a4k-responsive-slide,
  .a4k-bf-layout .bf-hero-artboard > picture {
    position:relative;
    --bf-logo-left:15.84%;
    --bf-logo-top:4.42%;
    --bf-logo-width:22.10%;
    --bf-logo-height:15.33%;
  }
  #slide-25619 .wd-slide-bg > .a4k-responsive-slide {
    --bf-logo-left:33.33%;
    --bf-logo-top:2.67%;
    --bf-logo-width:33.52%;
    --bf-logo-height:7.42%;
  }
  @media(max-width:600px) {
    .a4k-bf-layout .bf-hero-artboard > picture {
      --bf-logo-left:33.33%;
      --bf-logo-top:2.67%;
      --bf-logo-width:33.52%;
      --bf-logo-height:7.42%;
    }
  }
  :is(#slide-25617,#slide-25619) .wd-slide-bg > .a4k-responsive-slide::before,
  :is(#slide-25617,#slide-25619) .wd-slide-bg > .a4k-responsive-slide::after,
  .a4k-bf-layout .bf-hero-artboard > picture::before,
  .a4k-bf-layout .bf-hero-artboard > picture::after {
    content:"";
    position:absolute;
    inset:var(--bf-logo-top) auto auto var(--bf-logo-left);
    width:var(--bf-logo-width);
    height:var(--bf-logo-height);
    pointer-events:none;
  }
  :is(#slide-25617,#slide-25619) .wd-slide-bg > .a4k-responsive-slide::before,
  .a4k-bf-layout .bf-hero-artboard > picture::before {
    background:#181818;
    mask-image:linear-gradient(to right,transparent,#000 1.4%,#000 98.6%,transparent),linear-gradient(to bottom,transparent,#000 5%,#000 95%,transparent);
    mask-composite:intersect;
  }
  :is(#slide-25617,#slide-25619) .wd-slide-bg > .a4k-responsive-slide::after,
  .a4k-bf-layout .bf-hero-artboard > picture::after {
    background:#236bdc;
    mask:url("/wp-content/uploads/all4kids-logo-blue.svg") center / 96% auto no-repeat;
  }
}
