/* The three shopping departments inherit the storefront's seasonal palette. */
@layer pp-controls-consistency {
  html body.pp-header-refresh #pp-store-header .pp-three-departments { position:relative!important; z-index:45!important; }
  html body.pp-header-refresh #pp-store-header .pp-three-departments>.pp-shopping-nav__links { position:relative!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:6px!important; }
  html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-item { position:static!important; }
  .pp-three-departments .pp-department { position:static; margin:0; padding:0; border:0; background:transparent; }
  html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department>summary { display:flex!important; align-items:center; justify-content:center; gap:10px; list-style:none; padding:12px 10px!important; min-height:48px!important; border:0!important; border-radius:9px!important; color:var(--season-deep,#823c30)!important; background:transparent!important; font:800 15px/1.3 var(--pp-body,'Nunito',sans-serif)!important; cursor:pointer; }
  .pp-three-departments summary::-webkit-details-marker { display:none; }
  .pp-three-departments .pp-department>summary svg { flex:0 0 16px; width:16px; height:16px; stroke-width:1.8; }
  .pp-three-departments .pp-department[open]>summary svg { transform:rotate(180deg); }
  html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department>summary:is(:hover,.is-current), html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department[open]>summary { background:var(--season-wash,#fff3e4)!important; }
  .pp-three-departments summary:focus-visible,.pp-three-departments a:focus-visible,.pp-three-departments button:focus-visible { outline:3px solid var(--season-deep,#823c30)!important; outline-offset:2px!important; }
  html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-panel { position:absolute; top:calc(100% + 5px); left:0; right:0; z-index:60; max-height:min(70dvh,680px); overflow:auto; padding:22px 26px; border:1px solid var(--season-border,#e6ba89); border-radius:0 0 18px 18px; background:var(--pp-ui-paper,#fffdf8); color:#1b2b20; box-shadow:0 14px 28px #34211425; box-sizing:border-box; }
  .pp-department-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid var(--season-border,#e6ba89); }
  html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-panel a { display:flex!important; justify-content:flex-start!important; width:auto!important; height:auto!important; min-width:0!important; min-height:40px!important; margin:0!important; padding:7px 8px!important; border:0!important; border-radius:7px!important; color:#1b2b20!important; background:transparent!important; font:700 14px/1.4 var(--pp-body,'Nunito',sans-serif)!important; text-align:left!important; text-decoration:none!important; white-space:normal!important; box-sizing:border-box; }
  html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-panel a:hover { background:var(--season-wash,#fff3e4)!important; }
  html body.pp-header-refresh #pp-store-header .pp-three-departments a.pp-department-all { padding:0!important; min-height:36px!important; color:var(--season-deep,#823c30)!important; font-weight:900!important; }
  html body.pp-header-refresh #pp-store-header .pp-department-close { display:grid!important; place-items:center; flex:0 0 40px; min-width:40px!important; min-height:40px!important; padding:0!important; border:1px solid var(--season-border,#e6ba89)!important; border-radius:50%!important; background:transparent!important; color:#1b2b20!important; font:400 25px/1 var(--pp-body,'Nunito',sans-serif)!important; box-shadow:none!important; cursor:pointer; }
  html body.pp-header-refresh #pp-store-header .pp-department-close[hidden] { display:none!important; }
  .pp-department-columns { display:grid; gap:20px 34px; }
  .pp-department-produce { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pp-department-grocery { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .pp-department-columns section { min-width:0; margin:0; padding:0; border:0; background:transparent; box-shadow:none; }
  html body.pp-header-refresh #pp-store-header .pp-department-columns h2 { margin:0 0 7px!important; font:900 17px/1.3 var(--pp-body,'Nunito',sans-serif)!important; color:var(--season-deep,#823c30)!important; }
  html body.pp-header-refresh #pp-store-header .pp-department-columns h2 a { padding:3px 8px!important; font-weight:900!important; color:var(--season-deep,#823c30)!important; }
  .pp-department-family-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 8px; }
  .pp-department-family-links a { gap:10px; }
  .pp-department-family-links small { margin-left:auto; color:#706353; font-size:12px; font-weight:500; }
  .pp-department-product-links { display:grid; gap:3px; }
  .pp-department-product-links a { gap:10px; }
  .pp-department-product-links img { flex:0 0 35px; width:35px!important; height:35px!important; object-fit:contain; border-radius:5px; }
  .pp-department-baskets { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
  html body.pp-header-refresh #pp-store-header .pp-department-baskets>a { flex-direction:column; align-items:center!important; gap:8px; text-align:center!important; }
  .pp-department-baskets img { width:96px!important; height:96px!important; object-fit:contain; border-radius:9px; }
  .pp-department-subscription { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; border-top:1px solid var(--season-border,#e6ba89); margin-top:18px; padding-top:12px; font:500 13px/1.5 var(--pp-body,'Nunito',sans-serif); }
  html body.pp-header-refresh #pp-store-header .pp-department-subscription a { color:var(--season-deep,#823c30)!important; }
  .pp-department-browse { display:flex; align-items:flex-start; flex-wrap:wrap; gap:7px; margin:0 0 12px; }
  .pp-department-browse>a,.pp-department-refine>summary { display:flex; align-items:center; justify-content:center; min-height:42px; padding:8px 13px; border:1px solid var(--season-border,#d8bd8d); border-radius:11px; background:var(--pp-ui-paper,#fffdf8); color:#1b2b20; font:700 13px/1.3 var(--pp-body,'Nunito',sans-serif); text-decoration:none; box-sizing:border-box; cursor:pointer; }
  .pp-department-browse>a[aria-current=page] { border-color:var(--season-deep,#823c30); background:var(--season-wash,#fff3e4); box-shadow:inset 0 0 0 1px var(--season-deep,#823c30); }
  .pp-department-refine { position:relative; padding:0; border:0; background:transparent; }
  .pp-refine-families { position:absolute; top:calc(100% + 5px); right:0; z-index:20; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; width:min(560px,calc(100vw - 42px)); padding:14px; border:1px solid var(--season-border,#d8bd8d); border-radius:12px; background:var(--pp-ui-paper,#fffdf8); box-shadow:0 8px 20px #34211420; }
  .pp-refine-families a { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px; color:#1b2b20; text-decoration:none; font:600 13px/1.4 var(--pp-body,'Nunito',sans-serif); }
  .pp-refine-families small { color:#706353; }
  .pp-department-discovery { display:flex; flex-wrap:wrap; gap:7px 18px; margin:0 0 13px; }
  .pp-department-discovery a { color:var(--season-deep,#823c30); text-underline-offset:3px; font:700 13px/1.5 var(--pp-body,'Nunito',sans-serif); }
  .pp-grocery-section { clear:both; margin:24px 0 32px; }
  .pp-grocery-section[hidden] { display:none!important; }
  .pp-grocery-section-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px 18px; margin:0 0 13px; padding-top:14px; border-top:1px solid var(--season-border,#d8bd8d); }
  .pp-grocery-section-heading h2 { margin:0!important; color:var(--season-deep,#823c30)!important; font:900 clamp(20px,2.7vw,27px)/1.2 var(--pp-body,'Nunito',sans-serif)!important; }
  .pp-grocery-section-heading>a { color:var(--season-deep,#823c30); font:700 13px/1.4 var(--pp-body,'Nunito',sans-serif); text-underline-offset:3px; }
  @media(max-width:900px) { .pp-department-family-links { grid-template-columns:1fr; } }
  @media(max-width:760px) {
    html body.pp-header-refresh #pp-store-header .pp-three-departments>.pp-shopping-nav__links { gap:3px!important; }
    html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department>summary { gap:5px; min-height:48px!important; padding:9px 4px!important; font-size:12px!important; }
    .pp-three-departments .pp-department>summary svg { flex-basis:12px; width:12px; height:12px; }
    html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-panel { padding:13px 12px; max-height:68dvh; top:calc(100% + 3px); border-radius:0 0 14px 14px; }
    .pp-department-panel-heading { gap:8px; margin-bottom:10px; padding-bottom:8px; }
    .pp-department-columns { gap:18px 12px; }
    .pp-department-produce { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .pp-department-grocery { grid-template-columns:1fr; }
    html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-panel a { min-height:44px!important; padding:6px 5px!important; font-size:12px!important; }
    html body.pp-header-refresh #pp-store-header .pp-department-columns h2 { font-size:15px!important; }
    .pp-department-family-links { grid-template-columns:1fr; gap:2px; }
    .pp-department-family-links a { gap:5px; }
    .pp-department-family-links small { font-size:11px; }
    .pp-department-product-links { grid-template-columns:repeat(2,minmax(0,1fr)); gap:3px 8px; }
    .pp-department-product-links img { flex-basis:30px; width:30px!important; height:30px!important; }
    .pp-department-baskets { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
    html body.pp-header-refresh #pp-store-header .pp-department-baskets>a { flex-direction:row; gap:8px; text-align:left!important; }
    .pp-department-baskets img { flex:0 0 42px; width:42px!important; height:42px!important; }
    .pp-department-subscription { margin-top:12px; padding-top:9px; font-size:12px; }
    .pp-refine-families { right:auto; left:min(0px,calc(80px - 30vw)); }
    .pp-grocery-section { margin-top:20px; }
    .pp-grocery-section-heading>a { font-size:12px; }
  }
  @media(max-width:350px) { .pp-department-product-links { grid-template-columns:1fr; } .pp-department-baskets { grid-template-columns:1fr; } }
}

/* Rounded display lettering and unframed product cutouts for every family. */
@layer pp-controls-consistency {
  html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department>summary {
    font-family:var(--pp-font-display,'Fredoka',sans-serif)!important;font-weight:600!important;font-size:20px!important;line-height:1.15!important;letter-spacing:-.02em!important;
  }
  html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department>summary>span,
  html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-columns h2 a>span { font-family:inherit!important;font-weight:inherit!important; }
  html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-columns h2,
  html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-columns h2 a {
    font-family:var(--pp-font-display,'Fredoka',sans-serif)!important;font-weight:600!important;font-size:21px!important;line-height:1.15!important;letter-spacing:-.02em!important;
  }
  html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-family-links>a {
    gap:10px!important;align-items:center!important;font-family:var(--pp-font-display,'Fredoka',sans-serif)!important;font-size:15px!important;font-weight:500!important;line-height:1.25!important;letter-spacing:-.01em!important;min-height:54px!important;
  }
  .pp-department-family-copy { flex:1;min-width:0;font:inherit!important; }
  .pp-department-family-links small { flex:none; }
  .pp-department-family-thumb,
  html body.pp-header-refresh #pp-store-header .pp-three-departments img.pp-department-family-thumb {
    display:block!important;flex:0 0 40px!important;width:40px!important;height:40px!important;max-width:40px!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;mix-blend-mode:darken;filter:brightness(1.1);
  }
  html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-columns h2 a { gap:10px!important;align-items:center!important;padding-left:0!important; }
  html body.pp-header-refresh #pp-store-header .pp-three-departments a.pp-department-all { font-family:var(--pp-font-display,'Fredoka',sans-serif)!important;font-size:18px!important;font-weight:500!important; }
  html body.pp-header-refresh #pp-store-header .pp-department-product-links img,
  html body.pp-header-refresh #pp-store-header .pp-department-baskets img { border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important; }
  html body.pp-header-refresh #pp-store-header .pp-department-baskets>a { font-family:var(--pp-font-display,'Fredoka',sans-serif)!important;font-size:16px!important;font-weight:500!important; }
  html body.pp-header-refresh #pp-store-header .pp-site-menu-panel .pp-menu-group h2 { font-family:var(--pp-font-display,'Fredoka',sans-serif)!important;font-size:18px!important;line-height:1.2!important;font-weight:600!important;letter-spacing:-.01em!important;color:var(--season-deep,#823c30)!important; }
  .pp-grocery-section-heading h2 { display:flex;align-items:center;gap:12px;min-width:0;max-width:100%; }
  .pp-grocery-section-heading h2>span { min-width:0; }
  .pp-grocery-section-heading img.pp-department-family-thumb { flex-basis:48px!important;width:48px!important;max-width:48px!important;height:48px!important; }
  @media(max-width:760px) {
    html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department>summary { font-size:16px!important;min-height:48px!important; }
    html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-columns h2,
    html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-columns h2 a { font-size:18px!important; }
    html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-family-links>a { gap:7px!important;font-size:13px!important;line-height:1.2!important;min-height:52px!important;padding:5px 0!important; }
    html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-family-links small { display:none!important; }
    html body.pp-header-refresh #pp-store-header .pp-three-departments img.pp-department-family-thumb { flex-basis:30px!important;width:30px!important;max-width:30px!important;height:34px!important; }
    html body.pp-header-refresh #pp-store-header .pp-three-departments .pp-department-columns h2 a { gap:8px!important; }
    html body.pp-header-refresh #pp-store-header .pp-three-departments a.pp-department-all { font-size:15px!important; }
    html body.pp-header-refresh #pp-store-header .pp-department-baskets>a { font-size:14px!important; }
    .pp-grocery-section-heading img.pp-department-family-thumb { flex-basis:40px!important;width:40px!important;max-width:40px!important;height:40px!important; }
  }
}
