/* Navigation remains reachable while the announcement scrolls away. */
body:not(.ops-route):not(.admin-route) .site-header{position:sticky!important;top:0;z-index:950;box-shadow:0 3px 0 #51362b14}
body:has(.shopping-dialog[open]){overflow:hidden}
.shopping-dialog{position:fixed;inset:0 0 0 auto;width:min(620px,100%);height:100dvh;max-width:100vw;max-height:100dvh;margin:0;padding:0;border:0;border-left:2px solid #51362b;background:#fff8e9;color:#51362b;box-sizing:border-box;overflow:auto}
.shopping-dialog::backdrop{background:#33211ecc;backdrop-filter:blur(3px)}
.shopping-dialog-header{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:20px 26px;background:#fff8e9;border-bottom:1px solid #d5bd9d;gap:15px}.shopping-dialog-header h2{font:500 32px Fredoka,sans-serif;margin:0}.shopping-dialog-close{width:44px;height:44px;border:1.5px solid #51362b;border-radius:50%;background:white;color:#51362b;font-size:27px;cursor:pointer}
/* The bag is a simple item list; the full cart owns all checkout controls. */
.bag-drawer{width:min(460px,100%);overflow:hidden}
.bag-drawer[open]{display:flex;flex-direction:column}
.bag-drawer .shopping-dialog-header{flex-shrink:0;padding:18px 22px}
.bag-drawer .shopping-dialog-header h2{font-size:28px}
.bag-drawer [data-bag-drawer-body]{min-height:0;flex:1;display:flex;flex-direction:column}
.mini-bag-items{padding:4px 22px;overflow-y:auto;min-height:0;flex:1}
.bag-drawer .cart-item{display:grid;grid-template-columns:68px minmax(0,1fr) auto;gap:12px;align-items:start;margin:0;padding:22px 0;border:0;border-bottom:1px solid #dfcfb8;border-radius:0;background:transparent;box-shadow:none}
.bag-drawer .cart-item>a{width:68px;min-width:0;background:#f2e5d4;border-radius:10px;overflow:hidden}
.bag-drawer .cart-item img{width:68px;height:74px;object-fit:contain}
.bag-drawer .cart-item h3{font:500 18px/1.2 Fredoka,sans-serif;margin:3px 0 8px}
.bag-drawer .cart-item .mini-label{font-size:8px;letter-spacing:.08em}
.bag-drawer .cart-item p{display:none}
.bag-drawer .cart-item>strong{font-size:14px;white-space:nowrap;grid-column:3;grid-row:1;align-self:start;padding-top:18px}
.bag-drawer .cart-item .quantity{display:flex;width:max-content;margin-top:10px;gap:9px}
.bag-drawer .cart-item .quantity button{min-width:36px;min-height:36px}
.bag-drawer .cart-pack>a img{width:68px;height:74px}
.bag-drawer .cart-item .remove-pack,.bag-drawer .cart-item .remove-custom,.bag-drawer .cart-item .remove-wiggle-pack{font-size:12px;min-height:36px}
.mini-bag-footer{flex-shrink:0;padding:20px 22px max(20px,env(safe-area-inset-bottom));background:#fffaf1;border-top:1.5px solid #d6c2a6}
.mini-bag-footer>div{display:flex;justify-content:space-between;align-items:center;font:500 23px Fredoka,sans-serif}
.mini-bag-footer>div strong{font-weight:500}
.mini-bag-footer p{font-size:11px;line-height:1.5;color:#806b59;margin:10px 0 18px}
.mini-bag-footer>a{display:flex;justify-content:space-between;width:100%;box-sizing:border-box;font-size:15px;min-height:50px}
.mini-bag-footer>button{display:block;margin:12px auto 0;min-height:36px;border:0;background:none;text-decoration:underline;text-underline-offset:4px;color:#51362b;font:600 13px 'DM Sans',sans-serif;cursor:pointer}
.mini-bag-empty{padding:45px 25px;text-align:center;margin:auto}
.mini-bag-empty>span{font-size:50px}.mini-bag-empty h3{font:500 28px/1.15 Fredoka,sans-serif;margin:20px 0 28px}
.cart-code-remove{display:block;border:0;background:none;padding:8px 0;margin:3px 0 10px;text-decoration:underline;text-underline-offset:3px;color:#a51a5e;font:700 12px 'DM Sans',sans-serif;cursor:pointer;min-height:44px;text-align:left}
.product-card.quick-card{display:flex;flex-direction:column}.quick-card-link{color:inherit;text-decoration:none;display:block;flex:1}.quick-card .product-card-copy{padding-bottom:16px}.quick-card .quick-add-button{margin:0 20px 20px;min-height:46px;border:1.5px solid #51362b;border-radius:999px;background:#d72d78;color:#fffaf1;box-shadow:0 3px 0 #51362b;font:600 15px Fredoka,sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 14px}.quick-add-button:hover{background:#b92367}.quick-add-button:disabled{opacity:.55;cursor:not-allowed}
.quick-choice{inset:0;margin:auto;width:min(440px,calc(100vw - 28px));height:max-content;max-height:calc(100dvh - 28px);border:2px solid #51362b;border-radius:22px;overflow:auto;box-shadow:7px 8px 0 #d72d78}.quick-choice .shopping-dialog-header{padding:15px 20px}.quick-choice .shopping-dialog-header h2{font-size:25px}.quick-choice-body{padding:20px;display:grid;gap:16px}.quick-choice-body>img{width:100%;height:200px;object-fit:contain;background:#f3e7d6;border-radius:12px}.quick-choice-body p{margin:0;font-size:14px}.quick-choice-body label{display:grid;gap:8px;font-weight:700;font-size:14px}.quick-choice-body select{width:100%;min-height:48px;border:1px solid #bfa98b;border-radius:10px;background:white;padding:10px;font:16px 'DM Sans',sans-serif}.quick-choice-body button{min-height:48px;border:1.5px solid #51362b;background:#d72d78;color:white;border-radius:999px;font-weight:800;cursor:pointer}.quick-choice-body button:disabled{opacity:.5;cursor:not-allowed}.quick-choice-price{font:500 24px Fredoka,sans-serif}
@media(max-width:600px){.shopping-dialog-header{padding:14px 18px}.shopping-dialog-header h2{font-size:28px}quick-card .quick-add-button{margin:0 10px 15px;font-size:14px}.quick-card .product-card-copy{padding-bottom:12px}.bag-drawer .cart-item h3{font-size:16px}.bag-drawer .cart-item .mini-label{font-size:8px}.bag-drawer .cart-item .quantity{margin-top:8px}}
@media(prefers-reduced-motion:no-preference){.bag-drawer[open]{animation:bag-slide .22s ease-out}@keyframes bag-slide{from{transform:translateX(100%)}to{transform:translateX(0)}}}
.total-line[hidden]{display:none!important}
.shopping-dialog input,.shopping-dialog select{font-size:16px}

@media(max-width:600px){.mini-bag-items{padding-inline:18px}.mini-bag-footer{padding:17px 18px max(17px,env(safe-area-inset-bottom))}.bag-drawer .cart-item{grid-template-columns:60px minmax(0,1fr) auto;gap:10px}.bag-drawer .cart-item>a,.bag-drawer .cart-item img{width:60px}.bag-drawer .cart-item>strong{grid-column:3;grid-row:1}.bag-drawer .shopping-dialog-header{padding:14px 18px}}

.play-cookie-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: .6rem .85rem;
  min-inline-size: 0;
  margin: 1rem 0;
  padding: .9rem;
  border: 1px solid #e7d8c2;
  border-radius: 14px;
}
.play-cookie-picker legend { padding: 0 .3rem; font-weight: 700; }
.play-cookie-picker p { grid-column: 1 / -1; margin: 0; }
.play-cookie-picker label { display: grid; gap: .25rem; min-width: 0; font-weight: 600; }
.play-cookie-picker select {
  width: 100%;
  min-height: 44px;
  padding: .45rem .55rem;
  border: 1px solid #c7ae98;
  border-radius: 8px;
  background: #fffdf8;
  color: inherit;
  font: inherit;
  font-size: max(1rem, 16px);
}
.product-purchase .buy-button:disabled { opacity: .56; cursor: default; }

.product-new-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: .25rem .55rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #ffdc79;
  color: #44271e;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.1;
  box-shadow: 0 2px 0 #44271e;
  pointer-events: none;
}
