/* ==========================================================================
   Dawkes Music — Sale pages
   One stylesheet for all four sale landing pages:
   woodwind instruments, brass instruments, woodwind accessories, brass accessories.
   Contains only the styles those pages use. Fonts: Plus Jakarta Sans (Google Fonts link in the page head).
   Class names are from the mock-up, so swap in the real ones where needed.
   No inline styles anywhere.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Tokens (colours, radii, widths)
   -------------------------------------------------------------------------- */
:root{
  --site-w:978px;

  --ink:#1e1e1e;
  --ink-70:#55555a;
  --ink-45:#8a8a91;
  --pink:#ea0099;
  --pink-dark:#c2007f;
  --pink-wash:#fdeef8;
  --paper:#ffffff;
  --panel:#f4f4f6;
  --line:#e4e4e9;

  --radius:18px;
  --radius-sm:14px;
  --shadow:0 1px 2px rgba(30,30,30,.04), 0 8px 24px rgba(30,30,30,.06);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:"Plus Jakarta Sans",system-ui,-apple-system,sans-serif;
  font-size:15px;
  line-height:1.55;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
img{max-width:100%}

/* --------------------------------------------------------------------------
   3. Page layout
   -------------------------------------------------------------------------- */
.site{
  width:min(var(--site-w),100%);
  margin:0 auto;
  background:var(--paper);
}
.wrap{
  width:100%;
  padding:0
}
.top {padding:0 24px 0 24px}
.sec{padding:15px 0}
.sec-tight{padding:34px 0}
.sec-flush-top{padding-top:0}
.sec-end{padding-bottom:52px}

/* --------------------------------------------------------------------------
   4. Type, buttons, hero, boxes, closing band
   -------------------------------------------------------------------------- */
h1,h2,h3,h4{
  margin:0;
  letter-spacing:-.025em;
  line-height:1.14;
  font-weight:800;
}
.h-xl{font-size:36px}
.h-lg{font-size:26px}
p{margin:0 0 14px}
p:last-child{margin-bottom:0}
.eyebrow{
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--pink);
  margin-bottom:12px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font:inherit;
  font-weight:700;
  font-size:14px;
  border-radius:99px;
  padding:11px 24px;
  border:1.5px solid transparent;
  cursor:pointer;
  text-decoration:none;
  transition:background-color .15s, border-color .15s, color .15s;
}
.btn-primary{background:var(--pink);color:#fff}
.btn-primary:hover{background:var(--pink-dark)}
.btn:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.hero{
  padding:16px 0 20px;
  background:var(--panel);
  border-bottom:1px solid var(--line);
  position:relative;
}
.hero::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:var(--pink);
}
.box{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px 20px 24px;
  background:#fff;
  position:relative;
  transition:border-color .15s, box-shadow .15s;
}
.box:hover{border-color:#d3d3da;box-shadow:var(--shadow)}
.box::before{
  content:"";
  position:absolute;
  left:20px;
  top:0;
  width:34px;
  height:3px;
  background:var(--pink);
  border-radius:0 0 3px 3px;
}
.box h3{font-size:16px;margin:10px 0 7px;letter-spacing:-.02em}
.box p{font-size:13.6px;color:var(--ink-70);line-height:1.6}
.cta-band{
  background:var(--ink);
  color:#fff;
  border-radius:20px;
  padding:34px 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  flex-wrap:wrap;
}
.cta-band h2{color:#fff}
.cta-band p{color:#b6b6bd;margin-top:8px;max-width:42ch;font-size:14px}
.tag{
  font-size:11.5px;
  font-weight:600;
  padding:4px 10px;
  border-radius:99px;
  background:var(--panel);
  color:var(--ink-70);
}
@media (max-width:860px){
  .h-xl{font-size:28px}
  .h-lg{font-size:22px}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none !important;animation:none !important}
}

/* --------------------------------------------------------------------------
   5. SALE pill
   The pill is an <img> inside a position:relative wrapper (.stile-img). --badge-scale lets it be sized up where needed.
   -------------------------------------------------------------------------- */
.sale-badge{
  position:absolute;
  top:0;
  left:0;
  display:block;
  max-width:none;
  height:auto;
  pointer-events:none;
}
.sale-badge-c{width:calc(var(--badge-scale, 1) * 52px)}



/* --------------------------------------------------------------------------
   6. Intro text and section heads
   -------------------------------------------------------------------------- */
.sl-lede{font-size:16px;color:var(--ink-70);line-height:1.62;margin-top:14px;max-width:58ch}
.sl-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.sl-chips .tag{font-size:12.5px;padding:6px 13px;background:#fff;border:1px solid var(--line)}
.sl-head{margin-bottom:24px}
.sl-head-center{text-align:center}


/* --------------------------------------------------------------------------
   7. Category cards (shared by the instrument tiles and the accessories rows)
   -------------------------------------------------------------------------- */
.sl-tiles{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.stile{
  position:relative;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  transition:border-color .15s, box-shadow .15s;
}
.stile:hover{border-color:var(--pink);box-shadow:var(--shadow)}
.stile:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.stile-img{position:relative}
.stile-img img.photo{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.stile h3{font-size:17px}
.stile-go{font-size:13px;font-weight:700;color:var(--pink-dark)}
.stile:hover .stile-go{text-decoration:underline;text-underline-offset:3px}
.arrow-dot{
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--ink);
  color:#fff;
  display:grid;
  place-items:center;
  flex:none;
  transition:background-color .15s;
}
.arrow-dot svg{width:16px;height:16px}
.stile:hover .arrow-dot{background:var(--pink)}







/* --------------------------------------------------------------------------
   8. Instrument pages: tall photo tiles, centred wrapping row
   Tiles must be direct children of .sl-tiles. Each card is a fixed 216px, so:
   1-4 tiles = one centred row; 5 = 3+2; 6 = 3+3; 7 = 4+3; 8 = 4+4; 9 = 3+3+3.
   -------------------------------------------------------------------------- */
.a-tile{flex:0 0 216px;padding:14px 14px 18px;text-align:center}
.a-tile .stile-img{aspect-ratio:1/1.1;padding:26px 0 4px}
.a-tile h3{margin-top:10px}
.a-tile .stile-go{margin-top:6px}
.a-info{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.a-info .box{padding:26px 24px 28px}
.a-info .box h3{font-size:22px;margin-bottom:12px}
.a-info .box p{font-size:14px}




/* 5, 6 or 9 tiles: cap the row at three cards wide (3 x 216 + 2 x 16 gap = 680px)
   so it splits 3+2 / 3+3 / 3+3+3 instead of 4+1 / 4+2 / 4+4+1.
   :has() works in all current browsers; older ones just fall back to the wider split. */
.sl-tiles:has(> .a-tile:nth-child(5):last-child),
.sl-tiles:has(> .a-tile:nth-child(6):last-child),
.sl-tiles:has(> .a-tile:nth-child(9):last-child){
  max-width:680px;
  margin-left:auto;
  margin-right:auto;
}
@media (max-width:860px){
  .a-info{grid-template-columns:1fr}
  .a-tile{flex-basis:calc(50% - 8px)}
}

/* Team photo across the top of each info box */
.a-info .box{overflow:hidden}
.a-info .box-photo{
  display:block;
  width:calc(100% + 48px);
  max-width:none;
  aspect-ratio:16/9;height:auto;
  margin:-26px -24px 22px;
  object-fit:cover;
}

/* --------------------------------------------------------------------------
   9. Accessories pages: horizontal rows, two across
   Rows must be direct children of .d-rows. 3 rows = 2 + 1 centred; 4 = 2 + 2; 5 = 2 + 2 + 1 centred. One column below 860px.
   -------------------------------------------------------------------------- */
.d-rows{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.d-row{
  flex:0 0 calc(50% - 8px);
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:20px;
  align-items:center;
  padding:14px 20px 14px 14px;
}
.d-row .stile-img{width:132px;height:100px;border-radius:var(--radius-sm);background:var(--panel);overflow:hidden}
.d-row .stile-img img.photo{object-fit:cover;mix-blend-mode:normal}
.d-row .sale-badge{top:6px;left:6px}
.d-row h3{font-size:18px;margin-bottom:4px}
.d-row p{font-size:13.6px;color:var(--ink-70)}
@media (max-width:860px){
  .d-row{flex-basis:100%}
}

/* --------------------------------------------------------------------------
   10. Small-print notes under the info boxes (e.g. return exceptions)
   -------------------------------------------------------------------------- */
.a-notes{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  margin-top:16px;
  padding:24px 28px 26px;
  background:var(--panel);
  border-radius:var(--radius);
}
.a-notes h3{font-size:16px;margin-bottom:6px}
.a-notes p{font-size:13.6px;color:var(--ink-70);line-height:1.6}
@media (max-width:860px){
  .a-notes{grid-template-columns:1fr;gap:20px}
}

/* --------------------------------------------------------------------------
   Demo page scaffolding only
   Stand-in header, nav and footer so the mock-up looks like a page.
   NOT needed on the live site, which has its own header and footer.
   -------------------------------------------------------------------------- */
.chrome-top{border-bottom:1px solid var(--line)}
.chrome-top .wrap{
  display:flex;
  align-items:center;
  gap:20px;
  padding-top:14px;
  padding-bottom:14px;
}
.logo{
  font-weight:800;
  font-size:26px;
  letter-spacing:-.045em;
  line-height:1;
  text-decoration:none;
}
.logo sup{font-size:8px;font-weight:600;vertical-align:super}
.chrome-search{
  flex:1;
  height:40px;
  border:1px solid var(--line);
  border-radius:6px;
  display:flex;
  align-items:center;
  padding:0 13px;
  color:var(--ink-45);
  font-size:14px;
}
.chrome-util{
  margin-left:auto;
  font-size:12.5px;
  color:var(--ink-70);
  white-space:nowrap;
}
.chrome-nav{background:#2b2b2f;color:#fff}
.chrome-nav .wrap{
  display:flex;
  gap:20px;
  padding-top:12px;
  padding-bottom:12px;
  font-size:13.5px;
  font-weight:500;
  overflow-x:auto;
}
.chrome-nav span{white-space:nowrap;opacity:.88}
.chrome-strip{background:var(--panel);font-size:12.5px;color:var(--ink-70)}
.chrome-strip .wrap{
  display:flex;
  justify-content:space-between;
  padding-top:10px;
  padding-bottom:10px;
  flex-wrap:wrap;
  gap:10px;
}
.chrome-foot{background:var(--ink);color:#a9a9b0;font-size:13px}
.chrome-foot .wrap{
  padding-top:30px;
  padding-bottom:30px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
