/* Boo & Roo's. Sunny sticker-book coastal.
   Rules this file must keep (research/design_rules.md):
   20px body, 7:1 text contrast, 44px+ targets, no motion without reduced-motion guard.
   Sizes are in rem, so they follow the browser's own font-size setting. */

@font-face{font-family:"Atkinson Hyperlegible";src:url(../fonts/atkinson-normal-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url(../fonts/atkinson-normal-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces";src:url(../fonts/fraunces-normal-400-900.woff2) format("woff2");font-weight:400 900;font-style:normal;font-display:optional}
@font-face{font-family:"Fraunces";src:url(../fonts/fraunces-italic-400-900.woff2) format("woff2");font-weight:400 900;font-style:italic;font-display:optional}

:root{
  --ink:#0E2747;
  --ink-soft:#2F4560;
  --cream:#FFF8EA;
  --paper:#FFFFFF;
  --sand:#F3E6CC;
  --sun:#FFD21F;
  --sun-deep:#F5A100;
  --sky:#8FD3F2;
  --aqua:#86DAD3;
  --teal:#095A61;
  --royal:#1F3F96;
  --pink:#FFB3C4;
  --berry:#A3122A;
  --radius:1.25rem;
  --shadow:6px 6px 0 var(--ink);
  --shadow-lg:9px 9px 0 var(--ink);
  --font-body:"Atkinson Hyperlegible",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-head:"Fraunces",Georgia,"Times New Roman",serif;
  --header-h:6.25rem;   /* the sticky header's height, so anchors, focus and the sticky certificate clear it; set per width below */
}
html{font-size:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + .5rem);-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--cream);color:var(--ink);font:400 1.25rem/1.6 var(--font-body);overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--royal);text-underline-offset:.2em;text-decoration-thickness:.12em}
a:hover{color:var(--ink)}
p{margin:0 0 1em}
h1,h2,h3{font-family:var(--font-head);font-variation-settings:"SOFT" 100;font-weight:800;line-height:1.08;margin:0 0 .5em;letter-spacing:-.01em}
h1,h2,h3{overflow-wrap:anywhere}   /* the build joins short words with non-breaking spaces (#24), so "Come see Charleston Shoe Co. in person" is one run wider than a 288px column; this breaks a run only when it cannot fit (issue #58) */
h1{font-size:clamp(2.6rem,7vw,4.9rem)}
h2{font-size:clamp(2.1rem,4.6vw,3.3rem)}
h3{font-size:1.6rem}
em{font-style:italic;background:linear-gradient(transparent 60%,var(--sun) 60% 90%,transparent 90%);padding:0 .08em}
:focus-visible{outline:4px solid var(--royal);outline-offset:3px;border-radius:.25rem}
.band-dark :focus-visible,.site-footer :focus-visible{outline-color:var(--sun)}

.wrap{width:min(100% - 2rem,75rem);margin-inline:auto}
.skip{position:absolute;left:1rem;top:-5rem;z-index:100;background:var(--ink);color:#fff;padding:.9rem 1.3rem;border-radius:.75rem;font-weight:700}
.skip:focus{top:1rem}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.eyebrow{font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:1.125rem;color:var(--teal);margin-bottom:.75rem}
.lead{font-size:1.4rem;line-height:1.55;max-width:38rem}
.center{text-align:center}
.center .lead{margin-inline:auto}
section{position:relative}
.section{padding:clamp(3.5rem,8vw,6rem) 0}

/* ---------- top bar and header ---------- */
.topbar{background:var(--ink);color:#fff;font-size:1.125rem}
.topbar-in{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem;align-items:center;justify-content:space-between;padding:.4rem 0}
.topbar p{margin:0}
.topbar-hello,.topbar-today{font-weight:700}
.topbar-today{display:none;margin:0;align-items:center;white-space:nowrap}
.topbar-today a{text-decoration:underline}
.topbar-today a::before{content:"";display:inline-block;width:2px;height:1.2em;margin:0 .9rem 0 .9rem;background:rgba(255,255,255,.5);vertical-align:-.2em}   /* the bar between the hours and Directions */
.topbar a{color:var(--sun);font-weight:700;display:inline-flex;align-items:center;min-height:2.75rem}
.topbar a:hover{color:#fff}
.topbar-actions{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}

.site-header{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:3px solid var(--ink)}
.header-in{display:flex;align-items:center;gap:1rem;padding:.6rem 0}
.brand{flex:0 0 auto;display:flex;align-items:center;min-height:2.75rem}
.brand img{width:clamp(13rem,25vw,19rem);height:auto}   /* the pill alone, no flowers (issue #22) */
.nav{margin-left:auto}
.nav ul{display:flex;gap:.5rem;list-style:none;margin:0;padding:0;align-items:center}
.nav a{display:inline-flex;align-items:center;min-height:3rem;padding:.4rem 1rem;color:var(--ink);font-weight:700;font-size:1.15rem;text-decoration:none;border-radius:999px;border:3px solid transparent}
.nav a:hover{border-color:var(--ink)}
.nav a[aria-current="page"]{background:var(--aqua);border-color:var(--ink)}
.nav .nav-gift{background:var(--sun);border-color:var(--ink);box-shadow:3px 3px 0 var(--ink);transition:box-shadow .12s}
.nav .nav-gift:hover{box-shadow:5px 5px 0 var(--ink)}   /* the pill never moves: a pill that moves from under the pointer makes the cursor flip (issue #26) */
.cart-btn{display:inline-flex;align-items:center;gap:.5rem;min-height:3rem;padding:.4rem 1.1rem;background:var(--paper);border:3px solid var(--ink);border-radius:999px;font:700 1.15rem var(--font-body);color:var(--ink);cursor:pointer}
.cart-btn:hover{background:var(--sky)}
.cart-count{display:inline-grid;place-items:center;min-width:1.7rem;height:1.7rem;border-radius:999px;background:var(--ink);color:#fff;font-size:1.125rem;padding:0 .4rem}
.menu-btn{display:none;margin-left:auto;min-height:3rem;padding:.4rem 1.2rem;border:3px solid var(--ink);border-radius:999px;background:var(--paper);font:700 1.15rem var(--font-body);color:var(--ink);cursor:pointer}
.menu-btn[aria-expanded="true"]{background:var(--ink);color:#fff}
/* the phone header's own link to the top goal; the nav list carries the same link on wider screens */
.gift-pill{display:none;align-items:center;justify-content:center;min-height:3rem;padding:.4rem 1rem;background:var(--sun);border:3px solid var(--ink);border-radius:999px;box-shadow:3px 3px 0 var(--ink);color:var(--ink);font:700 1.15rem var(--font-body);text-decoration:none;transition:box-shadow .12s}
.gift-pill:hover{box-shadow:5px 5px 0 var(--ink);color:var(--ink)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:3.4rem;padding:.7rem 1.7rem;border:3px solid var(--ink);border-radius:999px;background:var(--paper);color:var(--ink);font:700 1.2rem/1.2 var(--font-body);text-decoration:none;box-shadow:4px 4px 0 var(--ink);cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,background .12s}
.btn:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--ink);color:var(--ink)}
.btn:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.btn-sun{background:var(--sun)}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{color:#fff;background:var(--royal)}
.btn-aqua{background:var(--aqua)}
.btn-big{min-height:4rem;font-size:1.35rem;padding-inline:2.2rem}
.btn-row{display:flex;flex-wrap:wrap;gap:1rem 1.25rem;margin-top:1.75rem}
.btn[disabled]{opacity:.6;cursor:not-allowed}

/* ---------- hero ---------- */
.hero{padding:clamp(2.5rem,6vw,4.5rem) 0 clamp(1.5rem,3vw,2.5rem);background:
  radial-gradient(circle at 96% 58%,rgba(134,218,211,.55) 0 9rem,transparent 9.1rem),var(--cream)}
.hero-in{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.hero h1 em{color:var(--royal)}
.checks{list-style:none;margin:1.75rem 0 0;padding:0;display:grid;gap:.35rem;font-weight:700}
.checks li{display:flex;align-items:center;gap:.6rem}
.checks svg{flex:0 0 1.6rem;width:1.6rem;height:1.6rem}
.hero-art{position:relative;padding:0 0 3rem}
.hero-photo{margin:0;border:3px solid var(--ink);border-radius:2rem 2rem 2rem .75rem;overflow:hidden;box-shadow:var(--shadow-lg);background:var(--aqua)}
.hero-photo img{width:100%;aspect-ratio:4/3.4;object-fit:cover}
.gc-mini{position:absolute;left:-1.5rem;bottom:0;width:min(18rem,64%);transform:rotate(-6deg)}
.gc-mini::after{width:6rem;height:6rem;right:-1.6rem;bottom:-1.6rem}
.burst{position:absolute;right:-.5rem;top:-1.8rem;width:8.5rem;height:8.5rem;display:grid;place-items:center;text-align:center;background:var(--pink);border:3px solid var(--ink);border-radius:50%;font:800 1.15rem/1.1 var(--font-head);transform:rotate(10deg);box-shadow:4px 4px 0 var(--ink);padding:.5rem}

/* ---------- gift certificate card (hero mini + live preview) ---------- */
.gc-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#FFFDF5 0%,#FFEFA8 100%);border:3px solid var(--ink);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.1rem 1.25rem 1.2rem;color:var(--ink)}
.gc-card::after{content:"";position:absolute;right:-2.2rem;bottom:-2.2rem;width:9rem;height:9rem;pointer-events:none;
  background:
   radial-gradient(circle,var(--sun-deep) 0 15%,transparent 16%),
   radial-gradient(circle at 50% 18%,var(--sun) 0 19%,transparent 20%),
   radial-gradient(circle at 82% 50%,var(--sun) 0 19%,transparent 20%),
   radial-gradient(circle at 50% 82%,var(--sun) 0 19%,transparent 20%),
   radial-gradient(circle at 18% 50%,var(--sun) 0 19%,transparent 20%)}
.gc-card>*{position:relative;z-index:1}
.gc-card .gc-kicker{font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:1.125rem;color:var(--ink-soft);margin:0}
.gc-card .gc-name{font:italic 800 1.5rem/1 var(--font-head);color:var(--royal);margin:0 0 .4rem}
.gc-card .gc-amount{font:800 3.2rem/1 var(--font-head);margin:.2rem 0 .3rem}
.gc-card small{display:block;font-size:1.125rem;color:var(--ink)}

/* ---------- ways to give ---------- */
.ways{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;margin-top:2.5rem}
.card{background:var(--paper);border:3px solid var(--ink);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.6rem}
.card a{overflow-wrap:anywhere}   /* the e-mail address on Visit is one run wider than a 320px card (issue #58) */
.way{display:flex;flex-direction:column;transition:box-shadow .15s}
.way:hover{box-shadow:var(--shadow-lg)}
.way .ico{width:4rem;height:4rem;border-radius:50%;border:3px solid var(--ink);display:grid;place-items:center;margin-bottom:1rem}
.way .ico svg{width:2.1rem;height:2.1rem}
.way:nth-child(1) .ico{background:var(--sun)}
.way:nth-child(2) .ico{background:var(--aqua)}
.way:nth-child(3) .ico{background:var(--pink)}
.way p{flex:1}
.way .btn{align-self:flex-start}

/* ---------- aqua band, scallop edge, plush scroller ---------- */
.band{background:var(--aqua);border-block:3px solid var(--ink);padding:clamp(4rem,8vw,6.5rem) 0 clamp(3.5rem,7vw,5.5rem)}
.band::before{content:"";position:absolute;left:0;right:0;top:0;height:14px;background:radial-gradient(circle at 50% 0,var(--cream) 0 14px,transparent 14.5px) 0 0/28px 14px repeat-x}
.band .eyebrow,.plush-hero .eyebrow,.band .cite,.plush-hero .cite{color:var(--ink)}
.band a:not(.btn){color:var(--ink)}   /* royal on aqua is 5.88:1 against the 7:1 rule (issue #35) */
.band-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:1rem 2rem;margin-bottom:2rem}
.band-head h2{margin:0}
.scroller{display:flex;gap:1.5rem;overflow-x:auto;scroll-snap-type:x mandatory;padding:.5rem .5rem 1.8rem;margin-inline:-.5rem;scrollbar-width:thin}
.scroller>*{flex:0 0 min(19rem,78%);scroll-snap-align:start}
.pcard{margin:0;background:var(--paper);border:3px solid var(--ink);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;transition:box-shadow .15s}
.pcard:hover{box-shadow:8px 8px 0 var(--ink)}
.pcard img{width:100%;aspect-ratio:1/1;object-fit:cover;border-bottom:3px solid var(--ink);transition:filter .2s}
.pcard:hover img{filter:saturate(1.2)}
.pcard figcaption{padding:1rem 1.1rem 1.2rem}
.pcard h3{font-size:1.35rem;margin:0 0 .25rem}
.pcard p{margin:0;font-size:1.125rem;color:var(--ink-soft)}
.scroll-ctl{display:flex;gap:.75rem}
.scroll-ctl button{min-width:3.4rem;min-height:3.4rem;border:3px solid var(--ink);border-radius:999px;background:var(--paper);font:700 1.125rem var(--font-body);padding:0 1.1rem;cursor:pointer;color:var(--ink)}
.scroll-ctl button:hover{background:var(--sun)}

/* ---------- category tiles ---------- */
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;margin-top:2.5rem}
.tile{display:block;position:relative;border:3px solid var(--ink);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:var(--paper);text-decoration:none;color:var(--ink);transition:box-shadow .15s}
.tile:hover{box-shadow:9px 9px 0 var(--ink);color:var(--ink)}
.tile img{width:100%;aspect-ratio:4/3;object-fit:cover;border-bottom:3px solid var(--ink)}
.tile span{display:block;padding:1rem 1.2rem 1.2rem}
.tile strong{display:block;font:800 1.55rem/1.1 var(--font-head);margin-bottom:.2rem}
.tile small{display:block;font-size:1.125rem;color:var(--ink-soft)}

/* ---------- people photos (approved by the owner) ---------- */
.faces{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2.5rem}
.faces figure{margin:0;border:3px solid var(--ink);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:var(--sand)}
.faces figure:nth-child(odd){transform:rotate(-1deg)}
.faces figure:nth-child(even){transform:rotate(1deg)}
.faces img{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:50% 22%}

/* ---------- brand strip ---------- */
.brandstrip{background:var(--sun);border-block:3px solid var(--ink)}
.names{display:flex;flex-wrap:wrap;gap:.9rem 1rem;list-style:none;margin:1.5rem 0 2rem;padding:0}
.names li{background:var(--paper);border:3px solid var(--ink);border-radius:999px;box-shadow:3px 3px 0 var(--ink);font:800 clamp(1.25rem,2.4vw,1.7rem)/1.2 var(--font-head)}
.names li a{display:grid;place-items:center;min-height:2.75rem;padding:.35rem 1.2rem;border-radius:inherit;color:inherit;text-decoration:none}   /* the whole pill is the link: a pill with a border and a shadow must do something (issue #41) */
.names li a:hover{background:var(--sky)}   /* colour only, nothing moves: a pill that moves from under the pointer makes the cursor flip (issue #26) */
.names li.logo a{padding:.5rem 1.3rem}
.names li.logo img{height:2.4rem;width:auto;max-width:9rem;object-fit:contain}
.names li.logo.wide img{height:2rem;max-width:13rem}
.wm-logo{margin:0 0 .7rem;line-height:0}
.wm-logo img{height:3.6rem;width:auto;max-width:100%;object-fit:contain;object-position:left center}
.brandstrip em{background:linear-gradient(transparent 60%,var(--paper) 60% 90%,transparent 90%)}

/* ---------- welcome / quote ---------- */
.welcome{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.photo-slot{display:grid;place-items:center;text-align:center;min-height:22rem;border:3px dashed var(--ink);border-radius:var(--radius);background:var(--sand);padding:1.5rem;font-weight:700;color:var(--ink-soft)}
blockquote{margin:0 0 1.2rem;font:italic 700 clamp(1.6rem,3.2vw,2.3rem)/1.25 var(--font-head);color:var(--royal)}
.cite{font-size:1.125rem;color:var(--ink-soft)}

/* ---------- visit cards ---------- */
.visit{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;margin-top:2.5rem}
.visit .card h3{margin-bottom:.4rem}
.visit address{font-style:normal;margin-bottom:1rem}
.hours{list-style:none;margin:0;padding:0}
.hours li{display:flex;justify-content:space-between;gap:1rem;padding:.35rem 0;border-bottom:2px dotted rgba(14,39,71,.35)}

/* ---------- footer ---------- */
.site-footer{background:var(--ink);color:#fff;padding:4rem 0 2.5rem;margin-top:0}
.site-footer a{color:var(--sun)}
.site-footer a:hover{color:#fff}
.foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1.2fr;gap:2.5rem}
.site-footer h2{font-size:1.5rem;color:#fff;margin-bottom:.6rem}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li a{display:inline-flex;align-items:center;min-height:2.75rem}
.foot-name{font:800 2.1rem/1.1 var(--font-head);margin:0 0 .6rem;color:#fff}
.fine{margin-top:2.5rem;padding-top:1.5rem;border-top:2px solid rgba(255,255,255,.25);font-size:1.125rem;color:#D7E1EE}
.foot-back{margin:.5rem 0 0;font-size:1.125rem}
.foot-back a{display:inline-flex;align-items:center;min-height:2.75rem}

/* ---------- forms ---------- */
.field{margin-bottom:1.4rem}
.field label,.field .label{display:block;font-weight:700;margin-bottom:.3rem}
.hint{display:block;font-size:1.125rem;color:var(--ink-soft);font-weight:400;margin-bottom:.4rem}
input[type=text],input[type=email],input[type=date],input[type=tel],textarea{width:100%;min-height:3.4rem;padding:.7rem 1rem;border:3px solid var(--ink);border-radius:.9rem;background:var(--paper);color:var(--ink);font:400 1.2rem/1.4 var(--font-body)}
textarea{min-height:8rem;resize:vertical}
input[aria-invalid="true"],textarea[aria-invalid="true"]{border-color:var(--berry);background:#FFF1F3}
.err{margin:.4rem 0 0;color:var(--berry);font-weight:700;display:flex;gap:.5rem}
.err[hidden]{display:none}
.counter{font-size:1.125rem;color:var(--ink-soft);text-align:right;margin:.2rem 0 0}

/* ---------- gift certificate page ---------- */
.pagehead{padding:clamp(2.5rem,6vw,4.5rem) 0 1rem;background:radial-gradient(circle at 90% 10%,rgba(255,210,31,.4) 0 8rem,transparent 8.1rem),var(--cream)}
.gc-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(2rem,5vw,4rem);align-items:start;padding-bottom:4rem}
.step{border:0;margin:0 0 2.4rem;padding:0;min-width:0}
.step legend{display:flex;align-items:center;gap:.8rem;padding:0;margin-bottom:1rem;font:800 1.75rem/1.1 var(--font-head)}
.step-n{display:inline-grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:50%;background:var(--sun);border:3px solid var(--ink);font:800 1.3rem var(--font-body)}
.choices{display:grid;gap:.9rem}
.choices.amounts{grid-template-columns:repeat(3,1fr)}
.choice input{position:absolute;opacity:0;width:1px;height:1px}
.choice label{display:block;cursor:pointer;min-height:3.6rem;padding:.9rem 1.1rem;border:3px solid var(--ink);border-radius:1rem;background:var(--paper);box-shadow:3px 3px 0 var(--ink);transition:background .1s,box-shadow .1s}
.choice label:hover{background:var(--cream);box-shadow:5px 5px 0 var(--ink)}   /* grows in place: a label that moves makes the pointer flip (issue #26) */
.choice input:checked+label{background:var(--sun);box-shadow:5px 5px 0 var(--ink)}
.choice input:focus-visible+label{outline:4px solid var(--royal);outline-offset:3px}
.choice.unavailable label{cursor:not-allowed;box-shadow:none;background:transparent;color:var(--ink-soft);text-decoration:line-through;border-style:dashed}   /* an amount the store does not sell (issue #61) */
.choice label{position:relative}
/* the chosen amount and delivery way also carry a check mark, so the yellow is never the only sign (issue #39) */
.choice input:checked+label::after{content:"\2713";position:absolute;top:-.7rem;right:-.7rem;display:grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:50%;background:var(--ink);color:#fff;border:2px solid #fff;font:700 1.125rem/1 var(--font-body)}
.amounts label{text-align:center;font:800 1.9rem/1 var(--font-head);display:grid;place-items:center;min-height:4.4rem;padding-inline:.6rem}
.choice strong{display:block;font-size:1.2rem}
.choice span{display:block;font-size:1.125rem;color:var(--ink-soft);margin-top:.15rem}
.choice input:checked+label span{color:var(--ink)}
.choice .other{font:700 1.3rem/1.15 var(--font-body);color:var(--ink);white-space:nowrap}
.note{margin:1rem 0 0;padding:1rem 1.2rem;background:var(--sky);border:3px solid var(--ink);border-radius:1rem}
.note[hidden]{display:none}
.date-row{margin-top:.9rem}
.date-row[hidden]{display:none}
.gc-preview{position:sticky;top:calc(var(--header-h) + 1rem)}
.gc-preview .gc-card{padding:1.6rem 1.7rem 1.8rem;min-height:17rem;box-shadow:var(--shadow-lg)}
.gc-preview .gc-amount{font-size:4.6rem}
.gc-preview dl{margin:1rem 0 0;display:grid;grid-template-columns:auto 1fr;gap:.3rem .8rem;font-size:1.125rem;max-width:80%}
.gc-preview dt{font-weight:700}
.gc-preview dd{margin:0;overflow-wrap:anywhere}
.gc-msg{margin:1rem 0 0;font:italic 600 1.25rem/1.35 var(--font-head);max-width:calc(100% - 6rem);overflow-wrap:anywhere}
.gc-msg.sample{color:var(--ink-soft)}
.gc-deliver{margin:1.2rem 0 0;font-weight:700;text-align:center}
.gc-summary{margin:0 0 1rem;padding:.7rem 1rem;background:var(--sky);border:3px solid var(--ink);border-radius:1rem;font-weight:700;overflow-wrap:anywhere}
.gc-summary:empty{display:none}
@media (min-width:62.01rem){.gc-summary{display:none}}   /* the live certificate sits beside the form there */
.gc-added{margin:.8rem 0 0;font-weight:700}
.gc-added:empty{display:none}
.bump{animation:bump .35s ease}
@keyframes bump{40%{transform:scale(1.03) rotate(-.6deg)}}
.how{counter-reset:s;display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;list-style:none;margin:2rem 0 0;padding:0}
.how li{counter-increment:s;position:relative;padding-top:4rem}
.how li::before{content:counter(s);position:absolute;top:0;left:0;width:3rem;height:3rem;display:grid;place-items:center;border-radius:50%;background:var(--aqua);border:3px solid var(--ink);font:800 1.4rem var(--font-body)}
details{background:var(--paper);border:3px solid var(--ink);border-radius:1rem;margin-bottom:1rem;box-shadow:3px 3px 0 var(--ink)}
summary{cursor:pointer;min-height:3.6rem;display:flex;align-items:center;padding:.8rem 1.2rem;font-weight:700;font-size:1.25rem;list-style:none}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";margin-left:auto;font:800 1.8rem var(--font-body);color:var(--royal)}
details[open] summary::after{content:"\2212"}
details>div{padding:0 1.2rem 1rem}

/* ---------- plush page ---------- */
.plush-hero{background:var(--aqua);border-bottom:3px solid var(--ink);padding:clamp(2.5rem,6vw,4.5rem) 0}
.plush-hero-in{display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:center}
.plush-hero-in > img{border:3px solid var(--ink);border-radius:2rem;box-shadow:var(--shadow-lg);aspect-ratio:1/1;object-fit:cover;width:100%}
.chips{display:flex;flex-wrap:wrap;gap:.75rem;margin:0 0 1.2rem}
.chip{min-height:3.2rem;padding:.4rem 1.3rem;border:3px solid var(--ink);border-radius:999px;background:var(--paper);font:700 1.125rem var(--font-body);color:var(--ink);cursor:pointer}
.chip:hover{background:var(--sky)}
.chip[aria-pressed="true"]{background:var(--ink);color:#fff}
.filter-bar{display:flex;flex-wrap:wrap;gap:1rem 2rem;align-items:center;justify-content:space-between;margin-bottom:2rem}
.count{margin:0;font-weight:700}
.pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem}
.pgrid .pcard[hidden]{display:none}
.pgrid .pcard .btn{margin-top:.9rem;min-height:3rem;font-size:1.125rem;padding:.4rem 1.1rem}
.pcard.pop{animation:pop .6s ease}
@keyframes pop{30%{transform:scale(1.05) rotate(-1.5deg)}60%{transform:scale(1.02) rotate(1deg)}}

/* ---------- brands page ---------- */
.bgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
.bcard{display:grid;grid-template-columns:minmax(0,1fr);gap:0;overflow:hidden;padding:0}   /* minmax(0,..): a tall photo must not widen the track */
.bcard[hidden]{display:none}
.bcard .bimg{border-right:3px solid var(--ink);background:var(--aqua);min-height:100%}
.bcard .bimg img{width:100%;height:100%;object-fit:cover}
.bcard .bimg.type{display:grid;place-items:center;font:800 3rem var(--font-head);background:var(--sun)}
.bcard .bbody{padding:1.3rem 1.4rem 1.5rem}
.wm{font-size:1.9rem;line-height:1.1;margin:0 0 .5rem;color:var(--ink)}
.wm-jellycat{font-family:var(--font-head);font-style:italic;font-weight:800}
.wm-shaw{font-family:var(--font-head);font-weight:400;letter-spacing:.14em;text-transform:uppercase;font-size:1.5rem}
.wm-brackish{font-family:var(--font-head);font-style:italic;font-weight:500;text-transform:lowercase}
.wm-hobo{font-family:var(--font-body);font-weight:700;letter-spacing:.2em;text-transform:uppercase;font-size:1.7rem}
.wm-charleston{font-family:var(--font-head);font-weight:800;text-transform:uppercase;letter-spacing:.04em;font-size:1.5rem}
.wm-oofos{font-family:var(--font-body);font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.wm-ocean{font-family:var(--font-body);font-weight:400;letter-spacing:.1em;text-transform:lowercase}
.wm-candle{font-family:var(--font-head);font-weight:500}
.badge{display:inline-block;margin:.2rem 0 .8rem;padding:.15rem .8rem;border:2px solid var(--ink);border-radius:999px;background:var(--pink);font-weight:700;font-size:1.125rem}
.cat{font-size:1.125rem;font-weight:700;color:var(--teal);text-transform:uppercase;letter-spacing:.06em;margin:0 0 .3rem}

/* ---------- visit page ---------- */
.two{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:start}

.events{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;margin-top:2.5rem}
.event .ico{width:4rem;height:4rem;margin-bottom:1rem;border-radius:50%;border:3px solid var(--ink);display:grid;place-items:center;background:var(--sun)}
.event .ico svg{width:2.1rem;height:2.1rem}
.event img{width:100%;margin-bottom:1rem;border:3px solid var(--ink);border-radius:1rem}

/* ---------- dialog, toast, notes ---------- */
dialog{border:3px solid var(--ink);border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:0;width:min(34rem,calc(100% - 2rem));background:var(--cream);color:var(--ink)}
dialog::backdrop{background:rgba(14,39,71,.6)}
.dlg{padding:1.6rem}
.dlg h2{font-size:2rem}
.dlg .btn-row{margin-top:1.2rem}
.cart-list{list-style:none;margin:1rem 0;padding:0}
.cart-list li{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;padding:.7rem 0;border-bottom:2px dotted rgba(14,39,71,.4)}
.cart-list button{min-height:2.75rem;padding:.2rem .9rem;border:2px solid var(--ink);border-radius:.6rem;background:var(--paper);font:700 1.125rem var(--font-body);cursor:pointer;color:var(--ink)}
.cart-list li span{flex:1 1 12rem;min-width:0;overflow-wrap:anywhere}
.cart-list li button{flex:0 0 auto}
.dlg-status{margin:1rem 0 0;padding:.7rem 1rem;background:var(--sky);border:3px solid var(--ink);border-radius:1rem;font-weight:700;overflow-wrap:anywhere}
.dlg-status:empty{display:none}
.toast{position:fixed;left:50%;bottom:1.5rem;transform:translate(-50%,6rem);z-index:90;background:var(--ink);color:#fff;padding:.9rem 1.4rem;border-radius:999px;font-weight:700;opacity:0;transition:transform .25s,opacity .25s;max-width:calc(100% - 2rem);text-align:center}
.toast.show{transform:translate(-50%,0);opacity:1}
.notes [data-shopify]{outline:3px dashed var(--royal);outline-offset:5px}
.notes [data-shopify]:not(.site-header):not(.cart-btn){position:relative}
.notes [data-shopify]::before{content:"Shopify: " attr(data-shopify);position:absolute;z-index:70;top:-1.7rem;left:0;background:var(--royal);color:#fff;font:700 .85rem/1.2 var(--font-body);padding:.15rem .6rem;border-radius:.4rem;white-space:nowrap}
.notes [data-confirm]{outline:3px dashed var(--berry);outline-offset:3px}
.notes [data-confirm]::after{content:"CONFIRM: " attr(data-confirm);display:inline-block;margin-left:.5rem;background:var(--berry);color:#fff;font:700 .8rem/1.2 var(--font-body);padding:.1rem .5rem;border-radius:.4rem;vertical-align:middle}
.notes .gc-card::after{content:""}

/* ---------- Jellycat, loud ---------- */
.nav .nav-jelly{background:var(--pink);border-color:var(--ink);box-shadow:3px 3px 0 var(--ink);transition:box-shadow .12s}
.nav .nav-jelly:hover{box-shadow:5px 5px 0 var(--ink)}
.jelly-badge{display:inline-grid;place-items:center;margin-bottom:1.1rem;padding:.55rem 1.6rem;background:var(--paper);border:3px solid var(--ink);border-radius:999px;box-shadow:4px 4px 0 var(--ink);line-height:0}
.jelly-badge img{height:4.2rem;width:auto}
.wm-logo .jelly-badge{margin-bottom:0}
.bcard.feature{grid-column:1/-1;grid-template-columns:20rem 1fr;background:var(--aqua)}
.bcard.feature .bbody{padding:2rem 2.2rem}
.bcard.feature .cat{color:var(--ink)}
.bcard.feature p{font-size:1.35rem}

/* ---------- the owners ---------- */
.owners{margin:0;border:3px solid var(--ink);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-lg);background:var(--paper);transform:rotate(-1.2deg)}
.owners img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 32%}
.owners figcaption{padding:.8rem 1.1rem;font-weight:700;border-top:3px solid var(--ink)}
.owners-wide{transform:rotate(1deg)}
.owners-wide img{aspect-ratio:4/3;object-position:50% 35%}

/* ---------- motion: only when the visitor has not asked for less ---------- */
@media (prefers-reduced-motion:no-preference){
  .js .reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
  .js .reveal.in{opacity:1;transform:none}
  .burst{animation:wobble 5s ease-in-out 3}   /* three wobbles, then it rests (WCAG 2.2.2) */
  @keyframes wobble{0%,100%{transform:rotate(10deg)}50%{transform:rotate(5deg)}}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* ---------- responsive ---------- */
@media (max-width:62rem){
  .hero-in,.welcome,.two,.plush-hero-in,.gc-grid{grid-template-columns:1fr}
  .hero-art{max-width:34rem;margin-inline:auto;width:100%}
  .gc-preview{position:static}
  .ways,.visit,.how,.events{grid-template-columns:1fr}
  .tiles,.pgrid,.faces{grid-template-columns:repeat(2,1fr)}
  .bgrid{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:48rem){
  .brand{order:1}
  .gift-pill{display:inline-flex;order:2;margin-left:auto}
  .menu-btn{display:inline-flex;align-items:center;justify-content:center;order:3;margin-left:0;min-width:4.4rem}
  .cart-btn{order:4;margin-left:0}
  .nav{display:none;order:5;flex-basis:100%;margin:0}
  /* the open menu floats over the page: in the flow it grew the sticky header by the whole list and every line below jumped in one frame (issue #56).
     No padding or border on .nav, so the pills stay exactly as wide as the panel; the ring and shadow are box-shadows. */
  .nav.open{display:block;position:absolute;top:calc(100% + 3px);left:0;right:0;z-index:1;background:var(--paper);border-radius:0 0 1rem 1rem;box-shadow:0 0 0 3px var(--ink),5px 5px 0 3px var(--ink);max-height:calc(100vh - var(--header-live,4.2rem));max-height:calc(100dvh - var(--header-live,4.2rem));overflow-y:auto;overscroll-behavior:contain}
  .nav ul{flex-direction:column;align-items:stretch;padding:.5rem 0 1rem}
  .nav li.nav-gift-item{display:none}   /* the Gift pill in the header row is the one link to the gift page on a phone */
  .nav a{display:flex;min-height:3.5rem;font-size:1.3rem;border-color:var(--ink);justify-content:center}
  .nav a:focus-visible{outline-offset:-4px}
  .header-in{position:relative;flex-wrap:wrap;gap:.5rem}
  .cart-btn,.menu-btn{padding:.4rem .9rem}
  .topbar-hello{display:none}
  .topbar-today{display:flex}
  .topbar-in{justify-content:center}
  :root{--header-h:5rem}
}
@media (max-width:40rem){
  body{font-size:1.2rem}
  .hours li{flex-direction:column;gap:0}
  .tiles,.pgrid,.foot-grid{grid-template-columns:1fr}
  /* Jellycat page, issue #41. Each shelf is a thumbnail row (photo and title, then the call button across the card) instead of a 540px photo card, and the
     filter bar stays under the header. Two columns cannot hold the button's visible label on one line at 18px (wave 2D). */
  .pgrid{gap:.9rem}
  .pgrid .pcard{display:grid;grid-template-columns:6.5rem minmax(0,1fr);grid-template-areas:"pic title" "call call";gap:.6rem .9rem;align-items:center;padding:.6rem}
  .pgrid .pcard figcaption{display:contents}
  .pgrid .pcard img{grid-area:pic;width:6.5rem;height:6.5rem;border:3px solid var(--ink);border-radius:.75rem}
  .pgrid .pcard h3{grid-area:title;margin:0;font-size:1.3rem}
  .pgrid .pcard p{display:none}
  .pgrid .pcard .btn{grid-area:call;margin-top:0;width:100%}
  /* top: site.js writes the header's real height to --header-live (it is 67px from 360px wide up and 119px at 320px, where the header wraps); 4.2rem is the one-row height if scripts are off.
     tools/e2e_check.mjs measures the gap at 320, 360, 390, 430 and 600px. No scroll snapping on the chips: it pulled the last chip back out of view after a Tab. */
  .filter-bar-sticky{position:sticky;top:var(--header-live,4.2rem);z-index:40;margin:0 -1rem 1rem;padding:.6rem 1rem .5rem;gap:.25rem;background:var(--cream);border-bottom:3px solid var(--ink)}
  .filter-bar-sticky .chips{flex:1 1 100%;flex-wrap:nowrap;overflow-x:auto;margin:0;padding:.5rem;scrollbar-width:thin}   /* .5rem all round: a scroll area clips the 7px focus ring (4px outline plus 3px offset) at its edges */
  .filter-bar-sticky .chip{flex:0 0 auto}
  .filter-bar-sticky .count{font-size:1.125rem}
  .faces{gap:1rem}
  .choices.amounts{grid-template-columns:repeat(2,1fr)}
  .bcard,.bcard.feature{grid-template-columns:1fr}
  .bcard .bimg{border-right:0;border-bottom:3px solid var(--ink);aspect-ratio:16/10}
  /* the brands line up on a phone (issue #58): one padding for every card (the Jellycat card sat 12.8px further in), a full-width button so every card shares both edges,
     and a body that may be narrower than its logo (the Charleston body ran past its card at 320) */
  .bcard.feature .bbody{padding:1.3rem 1.4rem 1.5rem}
  .bcard .btn{display:flex;width:100%}
  .bcard .bbody{min-width:0}
  /* the home pills are one column of equal pills: a flowing row left a ragged right edge and pills of 60, 54 and 50px, and a two-column grid would shrink the Charleston logo to about 120px */
  .names{display:grid;grid-template-columns:minmax(0,1fr);gap:.9rem}
  .names li a{min-height:3.5rem}
  .header-in{gap:.2rem;padding:.5rem 0}
  .brand{flex:1 1 7rem;min-width:0;max-width:10.5rem}
  .brand img{width:100%}
  .gift-pill,.menu-btn,.cart-btn{padding:.4rem .35rem}
  .menu-btn{min-width:0}   /* the 4.4rem floor above is wider than the word needs, and the width is wanted for the count (#50) */
  .cart-btn{gap:.1rem;padding-right:.2rem}
  .cart-count{min-width:1.2rem;height:1.2rem;padding:0 .1rem}   /* inside the pill, kept tight: the logo check (#22) leaves no width to spare (#50) */
  .gc-mini{left:0;width:74%}
  .burst{right:-.25rem;width:7.5rem;height:7.5rem;font-size:1.125rem}
  .btn-row .btn{width:100%}
  .gc-preview dl{max-width:100%}
}

/* A 320px phone (issue #58). Breaking a heading anywhere stopped the sideways scroll but cut "in person" in half, and a big button, no longer in a column blown out to 311px, wrapped
   onto two lines. At 1.7rem the longest brand heading run, "Charleston Shoe Co.", is about 277px (294px at 1.8rem in the fallback font), inside a 288px column, and the big button's
   label fits on one line. The 1.7rem and the button size were measured in the page at 320, in both font states, before they went in. */
@media (max-width:21.25rem){
  main h2{font-size:1.7rem}
  .btn-big{font-size:1.2rem;padding-inline:1rem}
}

/* ---------- visit southport ---------- */
.routes{display:grid;grid-template-columns:repeat(2,1fr);gap:1.75rem;margin-top:2.5rem}
.routes .ico,.facts .ico{width:4rem;height:4rem;margin-bottom:1rem;border-radius:50%;border:3px solid var(--ink);display:grid;place-items:center;background:var(--sun)}
.routes .ico svg,.facts .ico svg{width:2.1rem;height:2.1rem}
.routes h3{margin-bottom:.5rem}
.routes ul{margin:.75rem 0;padding-left:1.25rem}
.routes li{margin-bottom:.3rem}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(18rem,1fr));gap:1.75rem;margin-top:2.5rem}
.facts h3{margin-bottom:.5rem}
.facts .card:nth-child(2) .ico{background:var(--aqua)}
.facts .card:nth-child(3) .ico{background:var(--pink)}
.facts .card:nth-child(4) .ico{background:var(--sky)}
.biz-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(19rem,1fr));gap:1.75rem;margin-top:2.5rem}
.biz{padding:1.3rem 1.5rem}
.biz h3{font-size:1.4rem;margin:.1rem 0 .4rem}
.biz p{margin:.3rem 0}
.biz-logo{display:grid;place-items:center;height:6.5rem;margin:0 0 1rem;padding:.5rem 1rem;background:var(--paper);border:3px solid var(--ink);border-radius:var(--radius);box-shadow:3px 3px 0 var(--ink)}
.biz-logo.dark{background:var(--ink)}   /* Port City Java's lettering is white */
.biz-logo img{display:block;max-width:100%;max-height:5.25rem;width:auto;height:auto;object-fit:contain}
.sources{columns:2 22rem;column-gap:3rem;padding-left:1.25rem;margin:2rem 0 0}
.sources li{margin-bottom:.8rem;break-inside:avoid}
@media (max-width:62rem){.routes{grid-template-columns:1fr}}

/* five nav tabs need more room than the header row has below 1280 px: the nav takes its own row under the logo */
@media (min-width:48.001rem) and (max-width:79.99rem){
  :root{--header-h:11.25rem}
  .header-in{flex-wrap:wrap}
  .brand{order:1}
  .brand img{width:clamp(15rem,32vw,22rem)}
  .cart-btn{order:2;margin-left:auto}
  .nav{order:3;flex-basis:100%;margin:0}
  .nav ul{flex-wrap:wrap;justify-content:center;padding-bottom:.4rem}
  .nav a{white-space:nowrap}
}
.madeby{display:flex;align-items:center;gap:.8rem;margin:.6rem 0 0}
.madeby img{height:2.4rem;width:auto}

/* ---------- visit southport: photos and details (issue #17) ---------- */
.sp-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(1.5rem,4vw,3rem);align-items:center}
.sp-photo{margin:0;border:3px solid var(--ink);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-lg);background:var(--paper)}
.sp-photo img{display:block;width:100%;height:auto}
.sp-photo figcaption{padding:.6rem 1rem;font-weight:700;border-top:3px solid var(--ink)}
.sp-band{display:grid;gap:1.75rem;margin-block:1rem 3rem}
.sp-wide{margin-top:2.5rem}
.sp-feature{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(1.5rem,4vw,3rem);align-items:center;margin-top:3rem}
.routes .big,.sp-feature .big{font-size:1.35rem;font-weight:700;line-height:1.35;margin:.2rem 0 .8rem}
.routes .dist{display:flex;flex-wrap:wrap;gap:.25rem 0;list-style:none;margin:.5rem 0 1rem;padding:0}   /* .routes ul gives every list a 1.25rem indent, so this needs its own (issue #41) */
.dist li{font-weight:700;margin:0}
.dist li:not(:last-child)::after{content:",";margin-inline-end:.45rem}   /* plain text, one sentence: bordered pills read as buttons (issue #41), and a comma cannot start a line the way a dot can */
details.more ul{margin:0 0 1rem;padding-left:1.25rem}
details.more p{margin:.6rem 0}
#sources-band{padding-block:2.5rem}
@media (max-width:48rem){.sp-hero,.sp-feature{grid-template-columns:1fr}}

/* ---------- the storefront and rainbow, translucent, in the head circles (issue #19) ---------- */
.hero,.page-visit .pagehead{position:relative;overflow:hidden}
.hero::before,.page-visit .pagehead::before{content:"";position:absolute;z-index:0;width:21rem;height:21rem;border-radius:50%;background:url(../img/shop-rainbow-circle.jpg) 50% 55%/cover;opacity:.36;pointer-events:none}
.hero::before,.page-visit .pagehead::before{left:1rem;top:1.5rem}
.hero>.wrap,.page-visit .pagehead>.wrap{position:relative;z-index:1}
.hero .eyebrow,.page-visit .pagehead .eyebrow{display:inline-block;background:var(--cream);padding:.2rem .8rem;border-radius:999px}
.page-visit .sp-photo img{aspect-ratio:4/3.4;object-fit:cover;object-position:50% 70%}
/* Where the hero is one column the circle sat under the headline and lead (the darkest pixels behind them were 5.7:1 against 7:1, issue #40).
   There it moves behind the photo, and on Visit Us, where the storefront photo is beside it, it is gone. The wide layout is unchanged. */
@media (max-width:62rem){
  .hero::before{left:auto;top:auto;right:-5rem;bottom:.5rem;width:15rem;height:15rem}
  .page-visit .pagehead::before{display:none}
}

/* ---------- line breaks (issue #24): balanced headings, no stranded last word where the browser supports it ---------- */
.nb{white-space:nowrap}   /* a hand-placed pair, for a block that ends in a link */
.madeby span{white-space:nowrap}
h1,h2,h3,.lead,p,li,figcaption,blockquote,small,address,.tile strong{text-wrap:balance}   /* short blocks get even lines; longer ones fall back to normal wrapping */

/* brand cards: the photo goes on top at every width. A side strip of 13rem cut the products and the words on them in half, and the text column
   was too narrow for a badge like "Handcrafted in Charleston, SC" (issues #24, #41). The Jellycat card keeps its wide side photo. */
.bcard:not(.feature) .bimg{border-right:0;border-bottom:3px solid var(--ink);aspect-ratio:16/10;min-height:0}   /* min-height:100% would stretch a 16:10 box wider than its card */

/* ---------- a page per brand (issue #20) ---------- */
.bcard{position:relative}
.bcard .btn::after{content:"";position:absolute;inset:0}   /* the whole card follows its button's link */
/* A transform on this button would make it the containing block of that ::after, so on hover or press the link would shrink to the button
   and the pointer would flip in and out (issue #26), and a click on the photo would land on the card and go nowhere. It grows its shadow instead. */
.bcard .btn:hover,.bcard .btn:active{transform:none}
.bcard .btn:hover{box-shadow:6px 6px 0 var(--ink)}
.bcard .btn:active{box-shadow:1px 1px 0 var(--ink)}
.bbody .btn{margin-top:.6rem}
.bcard .badge+p{margin-top:0}
.back{margin:0 0 1rem;font-weight:700}
.brand-logo{display:inline-grid;place-items:center;margin:0 0 1.1rem;padding:.6rem 1.4rem;background:var(--paper);border:3px solid var(--ink);border-radius:var(--radius);box-shadow:4px 4px 0 var(--ink);line-height:0}
.brand-logo img{height:3.4rem;width:auto;max-width:100%}
.brand-head .sp-hero>.bphoto{justify-self:center;width:100%}
.bgallery{columns:3 16rem;column-gap:1.5rem;margin-top:1.5rem}
.bgallery .bphoto{break-inside:avoid;margin:0 0 1.5rem;width:100%}
.more-brands{display:flex;flex-wrap:wrap;gap:.7rem;list-style:none;margin:1.25rem 0 0;padding:0}
.more-brands a{display:flex;align-items:center;min-height:44px;padding:.5rem 1.2rem;border:3px solid var(--ink);border-radius:999px;background:var(--cream);color:var(--ink);font-weight:700;text-decoration:none}
.more-brands a:hover,.more-brands a:focus-visible{background:var(--sun)}
@media (max-width:40rem){   /* after the base rules above so it wins on order: one column of equal pills on a phone, like the home pills (issue #58) */
  .more-brands{display:grid;grid-template-columns:minmax(0,1fr)}
  .more-brands a{justify-content:center;text-align:center}
}

/* ---------- touch and print (issue #41) ---------- */
/* a link with a line to itself is a 44px target; a link inside a sentence is left alone */
.back a,.site-footer address a,.biz p>a,.routes p>a:only-child,.sources li>a,p>a[href^="mailto:"]:only-child,:where(main li>a:only-child){display:inline-flex;align-items:center;min-height:2.75rem}
@media print{
  .js .reveal{opacity:1!important;transform:none!important;transition:none!important}
  .site-header{position:static}
  .menu-btn,.cart-btn,.gift-pill,.skip,.toast,.scroll-ctl{display:none!important}
}
