/* SEND packs: cards, country sections, Schools tidy, see-inside lightbox */

/* Card + pack-page styles (these lived in send-preview.css but were never linked) */
.sch-region{display:inline-block;font-size:.8rem;font-weight:700;letter-spacing:.04em;padding:.12rem .55rem;border-radius:999px;margin:.15rem .25rem .25rem 0;line-height:1.2}
.sch-region-uk{background:#d4edc9;color:#24501c}
.sch-region-us{background:#cfe4f7;color:#16385a}
.sch-region-au{background:#ffe7a3;color:#5a3e00}
.sch-cover-wrap{position:relative;display:block;width:100%}
.sch-flag{position:absolute;top:.45rem;right:.45rem;z-index:2;width:32px;height:21px;border-radius:5px;border:2px solid #fff;box-shadow:0 1px 4px rgba(40,30,20,.35);overflow:hidden;background:#fff;line-height:0;pointer-events:none}
.sch-flag svg{display:block;width:100%;height:100%}
@media (min-width:700px){.sch-flag{width:40px;height:27px;border-radius:6px}}
.send-grid{list-style:none;margin:1rem auto 1.6rem;padding:0;max-width:72rem;display:grid;grid-template-columns:1fr;gap:.9rem}
@media (min-width:600px){.send-grid{grid-template-columns:1fr 1fr}}
@media (min-width:900px){.send-grid{grid-template-columns:1fr 1fr 1fr}}
@media (min-width:600px){.send-grid:has(>li:only-child){grid-template-columns:minmax(0,24rem);justify-content:center}}
.send-grid li,.send-grid .send-card{background:#fffdf8;border:1px solid rgba(120,90,60,.16);border-radius:22px;padding:.85rem .9rem 1rem;text-align:center;display:flex;flex-direction:column;align-items:center;position:relative}
.send-grid .sch-cover-wrap img{width:100%;max-width:16rem;height:auto;border-radius:16px;background:#fff}
.send-grid h3{font-family:"Chewy","Nunito",sans-serif;font-weight:400;margin:.4rem 0 .2rem;color:#d6336c}
.send-grid .sch-meta{font-size:.95rem;margin:.1rem 0}
.send-grid .sch-price{margin:.25rem 0 .15rem;font-size:1.15rem}
.send-grid .sch-school{font-size:.95rem;margin:0 0 .45rem}
.send-grid .btn, .cc-see-inside{min-height:44px;min-width:44px}
a.sch-etsy{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:.3rem .2rem;padding:.4rem .95rem;border-radius:999px;background:#f1641e;color:#fff!important;font-weight:700;text-decoration:none!important}
a.sch-etsy:hover{background:#d4550f;color:#fff!important}
.licence-sel{display:flex;flex-direction:column;gap:.45rem;max-width:26rem;margin:.7rem auto}
.licence-sel label{display:flex;align-items:center;gap:.5rem;min-height:44px;border:2px solid #e8c4a0;border-radius:16px;padding:.45rem .7rem;cursor:pointer;text-align:left;background:#fff}
.licence-sel label.is-on{border-color:#d6336c;background:#fff5f8}
.taster-form{max-width:26rem;margin:1rem auto;padding:1rem 1.1rem;background:#fff6ee;border-radius:22px;text-align:center}
.taster-form input{width:100%;max-width:22rem;margin:.25rem auto;display:block;padding:.55rem .7rem;border:2px solid #e8c4a0;border-radius:14px;text-align:center}
.taster-form .consent{display:flex;gap:.5rem;align-items:flex-start;text-align:left;margin:.7rem auto;max-width:22rem}
.taster-form .hp{position:absolute;left:-9999px;height:0;width:0;opacity:0}
.send-addon{font-size:.9rem;color:#6b5a4e;margin:.15rem 0}
.look-inside{margin:1.6rem 0}
.look-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.7rem}
.look-fig{margin:0;border-radius:14px;overflow:hidden;background:#fff6ee;border:1px solid rgba(120,90,60,.14)}
.look-fig img{display:block;width:100%;height:auto}
#send-buy,.licence-sel{margin:.6rem 0}

/* Country jump + Schools tidy */
.send-etsy-jump{text-align:center;margin:1.4rem auto 1.8rem;max-width:720px}
.send-etsy-h,.send-country-h,html:root body .prose h1.sch-h,html:root body .prose h2.sch-h,html:root body .prose h3.sch-h,.sch-h{
  font-family:"Chewy","Nunito",sans-serif;font-weight:400;text-align:center;color:#b82357;
  background:none!important;border:none;display:block;margin-left:auto;margin-right:auto;line-height:1.15;
  padding:0;border-radius:0
}
h1.sch-h,html:root body .prose h1.sch-h{font-size:clamp(1.8rem,4vw,2.4rem);margin:.2rem auto 1rem}
h2.sch-h,html:root body .prose h2.sch-h,.send-etsy-h,.send-country-h{font-size:clamp(1.55rem,3.4vw,2.1rem);margin:1.4rem auto .8rem}
html:root body .prose h3.sch-h,.send-group>h3,.send-country .send-group>h2{
  font-family:"Chewy","Nunito",sans-serif;font-weight:400;font-size:clamp(1.25rem,2.8vw,1.6rem);text-align:center;color:#b9531f;background:none;margin:1.1rem auto .6rem
}
.sch-lead,.sch-card,html:root body .prose .sch-lead,html:root body .prose .sch-card{
  background:#fff4e6;border-radius:22px;padding:1rem 1.25rem;max-width:720px;margin:.7rem auto;text-align:center;color:#6b5a4e
}
.sch-licence-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;max-width:720px;margin:1.1rem auto}
.sch-licence-row .sch-card{margin:0;max-width:none}
.sch-card-wide{max-width:720px}
.sch-card ol,.sch-card ul{text-align:left;display:inline-block;margin:.4rem auto}
@media(max-width:639px){.sch-licence-row{grid-template-columns:1fr}}
.send-flag-jump{display:flex;justify-content:center;align-items:stretch;gap:1.25rem;flex-wrap:wrap;margin:.2rem auto 0}
.send-flag-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:148px;min-height:118px;padding:.85rem 1.15rem;background:#fff4e6;border-radius:22px;text-decoration:none;color:#6b5a4e;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.send-flag-btn:hover,.send-flag-btn:focus-visible{background:#fde9da;outline:3px solid #e0824f;outline-offset:2px}
.send-flag-btn-flag{display:block;line-height:0}
.send-flag-btn-flag svg{width:108px;height:auto;display:block;border-radius:10px;box-shadow:0 1px 5px rgba(0,0,0,.18)}
.send-flag-btn-name{font-family:"Chewy","Nunito",sans-serif;font-size:1rem;margin-top:.4rem;line-height:1.1;text-align:center;color:#6b5a4e}
.send-etsy-h{margin:1.4rem auto .8rem}
/* t654/t655/t669: bigger centred Etsy jump, flags only, no UK button */
.send-etsy-jump{text-align:center;margin:1.8rem auto 2.4rem;max-width:820px;width:100%}
h2.send-etsy-h,.send-etsy-jump .send-etsy-h{font-size:clamp(1.95rem,4.6vw,2.75rem)!important;margin:.2rem auto 1.05rem!important;text-align:center}
.send-flag-jump{gap:1.6rem;justify-content:center}
.send-flag-btn{min-width:180px;min-height:150px;padding:1.05rem 1.4rem}
.send-flag-btn-flag svg{width:140px;height:auto;max-width:100%}
.send-flag-btn-name{font-size:1.18rem;margin-top:.55rem}
.send-country{margin-top:1.6rem;scroll-margin-top:5.5rem}
/* Country sections show every card in that section; never hide by old region toggle */
.send-country .send-card{display:flex}

/* See inside lightbox */
#cc-see-lb{position:fixed;inset:0;z-index:9850;background:rgba(40,24,16,.72);display:flex;align-items:center;justify-content:center;padding:1rem}
#cc-see-lb[hidden]{display:none}
#cc-see-lb .cc-see-fig{margin:0;max-width:min(900px,96vw);max-height:92vh;text-align:center}
#cc-see-lb img{max-width:100%;max-height:78vh;height:auto;border-radius:12px;background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.35)}
#cc-see-lb .cc-see-cap{font-family:"Chewy","Nunito",sans-serif;color:#fff;margin-top:.6rem;font-size:1.15rem}
#cc-see-lb .cc-see-btn{position:absolute;background:#fffaf3;border:0;border-radius:999px;width:48px;height:48px;font-size:1.6rem;line-height:1;cursor:pointer;color:#6b5a4e;box-shadow:0 2px 8px rgba(0,0,0,.2)}
#cc-see-lb .cc-see-close{top:12px;right:12px}
#cc-see-lb .cc-see-prev{left:12px;top:50%;transform:translateY(-50%)}
#cc-see-lb .cc-see-next{right:12px;top:50%;transform:translateY(-50%)}
html.lb-open,html.lb-open body{overflow:hidden}

/* t670: no bullets beside flags, no UK/US/AU letter labels, flags keep aspect */
html:root body ul.send-grid,
html:root body .send-grid{
  list-style:none!important;
  margin-left:auto;
  margin-right:auto;
  padding-left:0!important;
  padding-right:0!important;
}
html:root body .send-grid>li,
html:root body li.send-card{
  list-style:none!important;
}
html:root body .send-grid>li::marker,
html:root body li.send-card::marker{content:none;font-size:0}
html:root body .sch-region,
html:root body .send-flag-btn-name{display:none!important}
.sch-flag{width:36px;height:auto;aspect-ratio:2/1;overflow:hidden}
.sch-flag svg{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
@media (min-width:700px){.sch-flag{width:44px}}
.send-flag-jump{list-style:none!important;padding:0!important;margin-left:auto;margin-right:auto;width:100%;max-width:100%;box-sizing:border-box}
.send-flag-btn{box-sizing:border-box}
.send-flag-btn-flag{display:block;width:100%;max-width:140px}
.send-flag-btn-flag svg{width:100%;max-width:140px;height:auto;aspect-ratio:2/1;object-fit:contain;display:block}
@media (max-width:760px){
  .send-flag-jump{gap:.8rem;padding:0 .4rem}
  .send-flag-btn{min-width:0;flex:1 1 8.5rem;max-width:11rem;min-height:0;padding:.7rem .65rem}
  .send-flag-btn-flag,.send-flag-btn-flag svg{max-width:112px;width:100%;height:auto}
}

/* t671 price pills, t673 overlap, t676 licence lines */
.sch-prices{display:flex;flex-direction:column;align-items:center;gap:.4rem;margin:.55rem auto .7rem;width:100%;max-width:100%}
.sch-prices .sch-price,
.sch-prices .sch-school{
  font-family:"Chewy","Nunito",sans-serif!important;
  font-weight:400!important;
  font-size:clamp(1.22rem,3.6vw,1.55rem)!important;
  line-height:1.15!important;
  margin:0!important;
  display:inline-block;
  padding:.42rem 1.2rem;
  border-radius:999px;
  text-align:center;
  max-width:100%;
  box-sizing:border-box;
}
.sch-prices .sch-price{background:#ffd4e6;color:#b82357}
.sch-prices .sch-school{background:#ddd6ff;color:#4c2fb8}
html:root body #product .licence-sel{
  display:flex;flex-direction:column;align-items:center;gap:.45rem;
  max-width:22rem;width:100%;margin:1rem auto;border:0;background:none
}
html:root body #product .licence-sel label{
  font-family:"Chewy","Nunito",sans-serif!important;
  font-weight:400!important;
  font-size:clamp(1.22rem,3.6vw,1.55rem)!important;
  line-height:1.15!important;
  display:flex!important;align-items:center;justify-content:center;gap:.45rem;
  width:100%;min-height:52px;padding:.42rem 1.1rem;border-radius:999px;
  border:0!important;box-sizing:border-box;text-align:center;cursor:pointer
}
html:root body #product .licence-sel label:has(input[value="class"]),
html:root body #product .licence-sel label.is-on:has(input[value="class"]){
  background:#ffd4e6!important;color:#b82357!important
}
html:root body #product .licence-sel label:has(input[value="school"]){
  background:#ddd6ff!important;color:#4c2fb8!important
}
html:root body #product .licence-sel label.is-on{outline:3px solid currentColor;outline-offset:2px}
.cc-licence{text-align:center;max-width:38rem;margin:.8rem auto;line-height:1.45}
.cc-licence .cc-lic-line{display:block;margin:.2rem 0}
/* t673: don't let the stuck header wood-strip cover pack body text */
@media (max-width:767px){
  html body header.topbar.cc-hb5.h3-stuck .h5-art,
  html body header.topbar.cc-hb5.shrunk .h5-art{display:none!important}
  html body header.topbar.cc-hb.cc-hb3.cc-hb5.h3-stuck,
  html body header.topbar.cc-hb.cc-hb3.cc-hb5.shrunk{top:0!important}
  html body #product .lead,
  html body #product .card-body h2,
  html body #product .ticks,
  html body #product .pages-block,
  html body .look-inside,
  html body #taster{scroll-margin-top:5.25rem}
}
html body #product .card,
html body #product .card-body,
html body #product .lead,
html body #product .pages-block,
html body .look-inside{overflow:visible}
html body #product .card-img{overflow:hidden}
html body #product .lead{padding-top:.15rem}

/* t677/t678: real bullet list for pack feature lines, slightly larger copy */
html:root body #product ul.pages-block,
html:root body ul.pages-block{
  display:block;
  list-style:disc!important;
  list-style-position:outside!important;
  text-align:left!important;
  margin:1rem auto!important;
  padding:.15rem 0 .15rem 1.4rem!important;
  max-width:36rem;
  width:calc(100% - 2rem);
  box-sizing:border-box;
  font-size:1.08rem;
  line-height:1.5;
  color:#3f3129;
}
html:root body #product ul.pages-block li,
html:root body ul.pages-block li{
  text-align:left!important;
  margin:.28rem 0;
  padding-left:.15rem;
  display:list-item!important;
}
html:root body #product ul.pages-block li::marker,
html:root body ul.pages-block li::marker{color:#b82357;font-size:1.05em}
html:root body #product .lead,
html:root body #product .card-body p,
html:root body #product .ticks li,
html:root body #product .cc-licence,
html:root body #product .cc-type{
  font-size:1.05rem
}
html:root body #product .lead{font-size:1.08rem;line-height:1.55}

/* t681: title/image go to the product page, never checkout */
.send-card-link{display:block;width:100%;max-width:100%;text-decoration:none;color:inherit;text-align:center}
.send-card-link:hover h3,.send-card-link:focus-visible h3{text-decoration:underline;text-underline-offset:3px}
.send-card-link .sch-cover-wrap,.send-card-link img{margin-left:auto;margin-right:auto}

/* t683: all card buttons the same size, one row on desktop, stacked full-width on mobile */
html:root body .send-card .send-card-actions,
.send-card-actions{
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  justify-content:stretch;
  align-items:stretch;
  gap:.5rem;
  width:100%;
  max-width:100%;
  margin:.55rem 0 0;
  box-sizing:border-box;
}
html:root body .send-card .send-card-actions .btn,
html:root body .send-card .send-card-actions .btn.btn-small,
html:root body .send-card .send-card-actions .btn.btn-ghost,
html:root body .send-card .send-card-actions a.sch-etsy,
html:root body .send-card .send-card-actions .cc-see-inside,
html:root body .send-card .send-card-actions .cc-add{
  flex:1 1 auto;
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:48px;
  height:auto;
  margin:0!important;
  padding:.45rem .7rem!important;
  box-sizing:border-box;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  text-align:center!important;
  font-size:1rem!important;
  line-height:1.15!important;
  font-weight:700;
  border-radius:999px!important;
  white-space:nowrap;
}
html:root body .send-card .send-card-actions a.sch-etsy{
  background:#f1641e;
  color:#fff!important;
}
@media (min-width:700px){
  html:root body .send-card .send-card-actions,
  .send-card-actions{
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:stretch;
  }
  html:root body .send-card .send-card-actions .btn,
  html:root body .send-card .send-card-actions .btn.btn-small,
  html:root body .send-card .send-card-actions .btn.btn-ghost,
  html:root body .send-card .send-card-actions a.sch-etsy,
  html:root body .send-card .send-card-actions .cc-see-inside,
  html:root body .send-card .send-card-actions .cc-add{
    flex:1 1 0;
    width:auto;
    min-width:0;
    white-space:normal;
  }
}

/* t681 lightbox: samples plus Class/School buy and Add to basket underneath */
#cc-see-lb{
  flex-direction:column;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:3.2rem 1rem 1.1rem;
}
#cc-see-lb .cc-see-panel{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  width:min(900px,96vw);
  max-height:none;
  margin:0 auto;
}
#cc-see-lb .cc-see-fig{max-height:none;width:100%}
#cc-see-lb img{max-height:min(58vh,560px);max-width:100%}
#cc-see-lb .cc-see-btn{z-index:2}
#cc-see-lb .cc-see-buy{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  gap:.5rem;
  width:100%;
  max-width:36rem;
  margin:.85rem auto 0;
  box-sizing:border-box;
}
#cc-see-lb .cc-see-buy[hidden]{display:none!important}
html:root body #cc-see-lb .cc-see-buy .btn,
html:root body #cc-see-lb .cc-see-buy a.sch-etsy,
html:root body #cc-see-lb .cc-see-buy .cc-add{
  flex:1 1 calc(50% - .5rem);
  min-width:min(100%,10.5rem);
  min-height:48px;
  height:auto;
  margin:0!important;
  padding:.5rem .7rem!important;
  box-sizing:border-box;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  text-align:center!important;
  font-size:1rem!important;
  line-height:1.2!important;
  border-radius:999px!important;
}
@media (max-width:699px){
  html:root body #cc-see-lb .cc-see-buy .btn,
  html:root body #cc-see-lb .cc-see-buy a.sch-etsy,
  html:root body #cc-see-lb .cc-see-buy .cc-add{
    flex:1 1 100%;
    width:100%;
  }
  #cc-see-lb img{max-height:min(48vh,420px)}
}

/* t684: full-width card copy, clearer card boundaries, no UK/US/AU text labels */
html:root body .send-grid{
  gap:2rem 1.25rem;
  margin:1.2rem auto 2rem;
}
html:root body .send-grid>li,
html:root body li.send-card,
html:root body .send-country .send-card{
  align-items:stretch;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  padding:1.2rem 1.15rem 1.3rem;
  background:#fffdf8;
  border:2px solid rgba(120,90,60,.22);
  border-radius:22px;
  box-shadow:0 6px 18px rgba(90,60,30,.10);
}
html:root body .send-card .send-card-link,
html:root body .send-card .send-card-link h3,
html:root body .send-card h3,
html:root body .send-card .sch-meta,
html:root body .send-card p.sch-meta,
html:root body .send-grid .sch-meta,
html:root body .send-card .sch-prices,
html:root body .send-card .send-card-actions{
  width:100%;
  max-width:none!important;
  box-sizing:border-box;
}
html:root body .send-card .sch-meta,
html:root body .send-grid .sch-meta{
  margin:.25rem 0;
  padding:0;
  line-height:1.45;
  text-align:center;
}
html:root body .send-card .sch-region,
html:root body .send-grid .sch-region,
html:root body .send-flag-btn-name{
  display:none!important;
}

html.lb-open #cc-cookie{visibility:hidden;pointer-events:none}
#cc-see-lb{z-index:9850}

/* Keep sample pages clear of the lightbox arrows; hide floating controls while it is open */
#cc-see-lb .cc-see-panel{padding:0 3.1rem;box-sizing:border-box}
#cc-see-lb .cc-see-prev{left:6px}
#cc-see-lb .cc-see-next{right:6px}
@media (max-width:699px){
  #cc-see-lb .cc-see-panel{padding:0 2.7rem}
  #cc-see-lb .cc-see-prev{left:2px}
  #cc-see-lb .cc-see-next{right:2px}
}
html.lb-open .cc-sticky-play,
html.lb-open .cc-sticky{visibility:hidden;pointer-events:none}

/* Keep the mobile Free pages pill off SEND card buttons */
@media (max-width:767px){
  html:root body .send-country,
  html:root body .send-grid{
    padding-bottom:calc(4.75rem + env(safe-area-inset-bottom,0px));
  }
  html:root body .send-card .send-card-actions{
    scroll-margin-bottom:calc(5.25rem + env(safe-area-inset-bottom,0px));
  }
}
html:root body.cc-hide-free-pill a.cc-sticky-play{
  opacity:0!important;
  pointer-events:none!important;
  visibility:hidden;
}
#cc-free-pill-band{position:fixed;left:0;right:0;bottom:0;height:calc(88px + env(safe-area-inset-bottom,0px));pointer-events:none;z-index:-1;visibility:hidden}

@media (max-width:767px){
  /* The sticky buy bar already sits at the bottom on pack pages; don't let Free pages cover copy above it. */
  html:root body:has(.cc-sticky) a.cc-sticky-play{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

/* US/AU Etsy listings: class price only, school by message */
.cc-etsy-school{
  margin:.35rem 0 .15rem;
  font-size:.95rem;
  line-height:1.4;
  text-align:center;
  color:#5a4f62;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
.cc-etsy-school a{color:#b9531f;text-decoration:underline;text-underline-offset:.12em}
.cc-etsy-school a:hover,.cc-etsy-school a:focus-visible{color:#8a3a16}
html:root body .send-card .cc-etsy-school{
  width:100%;
  max-width:none!important;
  margin:.45rem 0 0;
}
#cc-see-lb .cc-see-buy{
  background:rgba(40,24,16,.94);
  border-radius:18px;
  padding:.75rem .75rem .65rem;
}
#cc-see-lb .cc-see-cap{
  text-shadow:0 1px 4px rgba(0,0,0,.85);
  position:relative;
  z-index:1;
}
#cc-see-lb .cc-see-buy .cc-etsy-school{
  flex:1 1 100%;
  margin:.2rem 0 0;
  max-width:100%;
  color:#f6efe8;
}
#cc-see-lb .cc-see-buy .cc-etsy-school a{color:#ffd7b8}
#cc-see-lb .cc-see-buy .cc-etsy-school a:hover,
#cc-see-lb .cc-see-buy .cc-etsy-school a:focus-visible{color:#fff}
