/* Slow Tide product page (tokens and type from the live site's styles.css), dressing the cart-badge-bump part. */
:root {
  --cream: #F4EAD3; --card: #EEDFBD; --green: #1D3A2C; --green-deep: #16291F; --orange: #D9531C;
  --ink: #20180F; --ink-80: rgba(32, 24, 15, .8); --ease: cubic-bezier(.44, 0, .56, 1);
  /* the part, in Slow Tide colours */
  --cbb-accent: var(--orange); --cbb-accent-ink: #fff; --cbb-ink: var(--ink); --cbb-paper: var(--cream);
  --cbb-rule: rgba(29, 58, 44, .16); --cbb-scrim: rgba(22, 41, 31, .5); --cbb-font: Archivo, system-ui, sans-serif;
  --cbb-badge-size: 26px; --cbb-badge-font: 16px; --cbb-badge-inset: -6px; --cbb-panel-w: 470px;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--cream); color: var(--ink); font: 400 16px/24px Archivo, system-ui, sans-serif; overflow-x: hidden; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
.spark { width: 12px; height: 12px; color: var(--orange); flex: none; }

/* buttons: the site's pill with the 1.5px ink ring */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 49px; padding: 14px 28px; border-radius: 999px;
  background: var(--orange); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink);
  font: 700 14px/21px Archivo, sans-serif; text-transform: uppercase; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn-ghost { height: 44px; padding: 12px 18px; background: var(--cream); color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }

/* nav */
.nav { height: 104px; padding: 0 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav-l, .nav-r { display: flex; align-items: center; gap: 28px; }
.nav-r { justify-content: flex-end; }
.link { font: 600 15px/22px Archivo, sans-serif; color: var(--green); }
.logo { display: block; width: 168px; height: 56px; }
.logo img { width: 100%; height: 100%; object-fit: contain; }

/* the bag button that carries the count */
.bag.cbb-cart {
  width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%;
  background: var(--cream); color: var(--green); box-shadow: inset 0 0 0 2px var(--green);
}
.bag.cbb-cart svg { width: 28px; height: 28px; }
.bag .cbb-badge { top: -8px; right: -8px; padding: 3px 6px; box-shadow: 0 0 0 2px var(--cream); font-family: Archivo, sans-serif; }
.cbb-badge[data-count="0"] { visibility: hidden; }

/* product */
main { flex: 1; display: flex; flex-direction: column; }
.prod { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; padding: 20px 48px 56px; align-items: center; }
.shot { position: relative; height: 880px; border-radius: 11px; background: var(--card); display: grid; place-items: center; overflow: hidden; }
.shot img { height: 640px; width: auto; filter: drop-shadow(0 22px 24px rgba(32, 24, 15, .22)); transform: rotate(-2deg); }
.tag {
  position: absolute; top: 22px; left: 22px; display: flex; align-items: center; gap: 8px; height: 35px; padding: 6px 14px; border-radius: 999px;
  background: var(--green); color: var(--cream); font: 700 12px/18px Archivo, sans-serif; letter-spacing: 1px; text-transform: uppercase;
}
.info { display: flex; flex-direction: column; align-items: flex-start; }
.crumb { font: 600 13px/20px Archivo, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-80); }
h1 { margin-top: 14px; font: 400 104px/.98 Anton, Impact, sans-serif; text-transform: uppercase; color: var(--green); }
.attrs { display: flex; gap: 8px; margin-top: 18px; font-size: 18px; line-height: 26px; }
.price { margin-top: 22px; font: 400 44px/1 Anton, sans-serif; color: var(--orange); display: flex; align-items: baseline; gap: 12px; }
.price small { font: 500 15px/1 Archivo, sans-serif; color: var(--ink-80); }
.desc { margin-top: 20px; max-width: 30ch; font-size: 18px; line-height: 27px; color: var(--ink-80); }
.opts { display: flex; gap: 10px; margin-top: 26px; }
.opt { height: 44px; padding: 11px 18px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--green); color: var(--green); font: 700 13px/22px Archivo, sans-serif; text-transform: uppercase; }
.opt.on { background: var(--green); color: var(--cream); }
.btn-add { width: 100%; height: 66px; margin-top: 28px; font-size: 17px; letter-spacing: .5px; box-shadow: inset 0 0 0 1.5px var(--ink), 6px 6px 0 var(--ink); }
.btn-add[aria-busy="true"] { background: var(--green); }
.ship { display: flex; align-items: center; gap: 8px; margin-top: 22px; font: 500 14px/20px Archivo, sans-serif; color: var(--ink-80); }

/* marquee band */
.marquee { height: 78px; padding: 24px 0; background: var(--green); overflow: hidden; margin-top: auto; }
.track { display: flex; align-items: center; gap: 16px; width: max-content; will-change: transform; }
.track span { font: 400 20px/30px Anton, sans-serif; text-transform: uppercase; color: var(--cream); white-space: nowrap; }
.track .spark { width: 18px; height: 18px; }

/* the cart: a bag drawer on the right, in the site's cream, green and Anton */
.cbb-modal { flex-direction: row; justify-content: flex-end; align-items: stretch; }
.cbb-modal:not([hidden]) { animation: st-scrim .3s var(--ease) both; }
.cbb-modal:not([hidden]) .cbb-panel { animation: st-drawer .42s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes st-scrim { from { background-color: transparent; } }
@keyframes st-drawer { from { transform: translateX(40px); opacity: 0; } }
.cbb-panel { height: 100%; max-height: none; padding: 0; border-left: 2px solid var(--green); box-shadow: -12px 0 40px rgba(22, 41, 31, .25); }
.cbb-head { padding: 30px 32px 24px; border-bottom: 2px solid var(--green); }
.cbb-head h4 { font: 400 40px/1 Anton, sans-serif; color: var(--green); }
.cbb-close { width: 44px; height: 44px; margin: -8px -10px -8px 0; padding: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--green); color: var(--green); }
.cbb-list { padding: 18px 32px; }
.cbb-item { align-items: center; padding: 16px 0; }
.cbb-thumb { width: 104px; height: 120px; aspect-ratio: auto; object-fit: contain; padding: 10px; border-radius: 10px; background: var(--card); }
.cbb-info { margin: 0 20px; gap: 2px; font-size: 17px; }
.cbb-name { font: 400 26px/1.15 Anton, sans-serif; color: var(--green); text-transform: uppercase; letter-spacing: .5px; }
.cbb-remove { font-size: 14px; color: var(--ink-80); margin-top: 4px; }
.cbb-qty { width: 72px; height: 48px; margin: 0; padding: 8px 8px 8px 16px; border: 2px solid var(--green); border-radius: 999px; background: var(--cream); font: 600 18px/1 Archivo, sans-serif; color: var(--green); }
.cbb-qty:focus { border-color: var(--orange); }
.cbb-foot { padding: 22px 32px 32px; border-top: 2px solid var(--green); }
.cbb-sum { margin-bottom: 20px; font: 600 16px/1 Archivo, sans-serif; text-transform: uppercase; letter-spacing: .5px; }
.cbb-sum b { font: 400 36px/1 Anton, sans-serif; color: var(--green); }
.cbb-foot .cbb-btn {
  min-height: 66px; border: 0; border-radius: 999px; background: var(--green); color: var(--cream);
  box-shadow: 6px 6px 0 var(--ink); font: 700 16px/1 Archivo, sans-serif; letter-spacing: .5px;
}
.cbb-btn:focus-visible, .cbb-cart:focus-visible, .cbb-close:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* desktop windows shorter than the stage: tighten the column */
@media (min-width: 761px) and (max-height: 1000px) {
  .shot { height: min(880px, calc(100svh - 260px)); }
  .shot img { height: calc(min(880px, 100svh - 260px) * .72); }
  h1 { font-size: 88px; }
}
/* phone */
@media (max-width: 760px) {
  .nav { height: 76px; padding: 0 16px; grid-template-columns: auto 1fr auto; }
  .nav-l, .link { display: none; }
  .logo { width: 126px; height: 42px; }
  .bag.cbb-cart { width: 50px; height: 50px; }
  .prod { grid-template-columns: 1fr; gap: 24px; padding: 4px 16px 32px; }
  .shot { height: 360px; }
  .shot img { height: 290px; }
  h1 { font-size: 64px; margin-top: 8px; }
  .attrs { font-size: 16px; }
  .price { font-size: 36px; }
  .desc { font-size: 16px; line-height: 24px; }
  .cbb-head h4 { font-size: 32px; }
}
