/* KiddoShop design system, derived from handoff tokens and stylesheet. */
:root {
  --ink: #25212b;
  --muted: #655d68;
  --paper: #fffcf7;
  --white: #fff;
  --line: #e6ded9;
  --berry: #9f1853;
  --berry-dark: #78143d;
  --pink: #f9e6ed;
  --teal: #075c59;
  --mint: #e5f4ef;
  --sun: #ffcd5d;
  --cream: #fbf0df;
  --danger: #9a222c;
  --radius: 20px;
  --shadow: 0 10px 28px #2814240b;
  --admin: #251e2b;
  --canvas: #f7f5f8;
  --body: Arial,"Nirmala UI",sans-serif;
  --display: Georgia,"Nirmala UI",serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.52 var(--body);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .63;
}

button,
input,
select,
textarea {
  accent-color: var(--berry);
}

:focus-visible {
  outline: 3px solid #086e68;
  outline-offset: 3px;
}

.skip {
  position: fixed;
  top: 4px;
  left: 8px;
  transform: translateY(-150%);
  z-index: 20;
  background: white;
  padding: 12px;
}

.skip:focus {
  transform: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 {
  font: normal clamp(38px,5.2vw,72px)/.99 var(--display);
  letter-spacing: -.06em;
  margin-bottom: 18px;
}

h2 {
  font: normal clamp(28px,3.4vw,46px)/1.08 var(--display);
  letter-spacing: -.055em;
  margin-bottom: 10px;
}

h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 14px;
}

.muted,
small {
  color: var(--muted);
}

small {
  font-size: 13px;
}

.wrap {
  width: min(1248px,calc(100% - 76px));
  margin-inline: auto;
}

.top {
  background: #321d2c;
  color: #ffedf3;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: .025em;
}

.top .wrap {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top a {
  margin-left: 20px;
}

.mast {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mainbar {
  display: grid;
  grid-template-columns: 135px minmax(140px,590px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
}

.logo {
  width: 99px;
  height: 62px;
  object-fit: contain;
}

.search {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbf8f7;
  min-width: 0;
  overflow: hidden;
}

.search input {
  border: none;
  background: transparent;
  min-width: 0;
  flex: 1;
  padding: 11px 18px;
  outline-offset: -4px;
}

.search button,
.iconbtn {
  background: transparent;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
}

.headlinks {
  display: flex;
  align-items: center;
  gap: 19px;
  font-size: 14px;
  font-weight: bold;
}

.headlinks a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
}

.count {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  color: var(--berry-dark);
  min-width: 22px;
  height: 22px;
  font-size: 11px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #f4eeeb;
  min-height: 48px;
  font-size: 14px;
  font-weight: bold;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}

.nav .right {
  margin-left: auto;
  color: var(--teal);
}

.nav .offer {
  color: var(--berry);
}

.crumb {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 24px;
}

.page {
  padding-bottom: 54px;
  min-height: 54vh;
}

.pagehead {
  margin-bottom: 23px;
}

.pagehead p {
  margin-bottom: 0;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.24;
  background: var(--berry);
  color: white;
  text-align: center;
}

.btn:hover {
  background: var(--berry-dark);
  text-decoration: none;
}

.btn.alt {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

.btn.alt:hover {
  background: var(--pink);
  color: var(--berry-dark);
}

.btn.ghost {
  background: transparent;
  color: var(--teal);
  padding-inline: 10px;
}

.btn.ghost:hover {
  background: var(--mint);
}

.btn.danger {
  background: var(--danger);
}

.wide {
  width: 100%;
}

.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.spread {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.stack {
  display: grid;
  gap: 15px;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.section {
  margin-top: 42px;
}

.sectionhead {
  margin-bottom: 16px;
}

.sectionhead p {
  margin: 0;
}

.hero {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: stretch;
  border-radius: 29px;
  overflow: hidden;
  background: #f8eddb;
  margin-top: 25px;
}

.hero .copy {
  padding: 46px 8px 42px 51px;
  z-index: 1;
  align-self: center;
}

.hero h1 {
  font-size: clamp(51px,6.15vw,90px);
  margin-bottom: 19px;
}

.hero h1 em {
  color: var(--berry);
  display: block;
  font-weight: normal;
}

.hero p {
  max-width: 410px;
  color: #53434a;
  margin-bottom: 24px;
  line-height: 1.55;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 13px;
}

.heroart {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: radial-gradient(ellipse at 56% 58%,#fce7aa 0 27%,transparent 27.5%),radial-gradient(ellipse at 57% 58%,#f6d7b4 0 41%,transparent 41.5%),radial-gradient(ellipse at 58% 58%,#f3e0c7 0 58%,transparent 58.5%);
}

.heroart:before,
.heroart:after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.heroart:before {
  inset: auto 9% 11% 8%;
  height: 12%;
  background: #aa653932;
  border-radius: 50%;
  filter: blur(14px);
}

.heroart:after {
  width: 24px;
  height: 24px;
  top: 19%;
  left: 14%;
  background: #dfe7b7;
  transform: rotate(25deg);
  border-radius: 7px;
  box-shadow: 287px 29px 0 1px #f2b3c6,330px 174px 0 -2px #99d3c4,-21px 160px 0 -5px #f4bd50;
}

.hero-pack {
  position: absolute;
  object-fit: contain;
  width: 47%;
  height: 67%;
  bottom: 17%;
  filter: drop-shadow(3px 13px 10px #66462d36);
  z-index: 1;
}

.hero-pack.one {
  left: 10%;
  transform: rotate(-10deg);
}

.hero-pack.two {
  right: 9%;
  bottom: 11%;
  transform: rotate(9deg);
}

.spark {
  position: absolute;
  z-index: 2;
  color: var(--berry);
  font-size: 31px;
  right: 13%;
  top: 16%;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.trust>a {
  padding: 12px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: bold;
  font-size: 13px;
  color: #3a363a;
  min-height: 48px;
}

.trust>a:not(:last-child) {
  border-right: 1px solid var(--line);
}

.trust .ico {
  color: var(--teal);
}

.ico {
  width: 19px;
  height: 19px;
  flex: none;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sizes {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 9px;
}

.size,
.chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 13px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
}

.size {
  height: 61px;
  flex-direction: column;
}

.size small {
  font-weight: normal;
}

.size:hover,
.chip:hover,
.selected {
  border-color: var(--teal);
  background: var(--mint);
  color: var(--teal);
  text-decoration: none;
}

.brandgrid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 12px;
}

.brandtile {
  display: grid;
  place-items: center;
  min-height: 83px;
  border-radius: 15px;
  background: var(--mint);
  font: normal clamp(18px,2.3vw,29px) var(--display);
  letter-spacing: -.05em;
  border: 1px solid #0000000b;
}

.brandtile:nth-child(2n) {
  background: var(--pink);
}

.brandtile:nth-child(3n) {
  background: #fff1d1;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 17px;
}

.productcard {
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pimage {
  min-height: 0;
  aspect-ratio: 1.2;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: #e6f3ed;
}

.pimage img {
  width: 91%;
  height: 93%;
  object-fit: contain;
}

.productcard:nth-child(3n) .pimage {
  background: #f9e9ee;
}

.productcard:nth-child(3n+2) .pimage {
  background: #fff1d6;
}

.cardcopy {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 7px;
}

.cardcopy h3 {
  margin: 0;
  font-size: 17px;
}

.cardcopy .eyebrow {
  margin: 0;
  letter-spacing: .08em;
}

.price {
  font-weight: 800;
  font-size: 18px;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}

.price del {
  font-size: 12px;
  color: var(--muted);
  font-weight: normal;
}

.price small {
  font-size: 12px;
  font-weight: normal;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  border-radius: 999px;
  padding: 3px 9px;
  background: var(--mint);
  color: #105950;
  font-size: 11px;
  font-weight: bold;
  white-space: normal;
}

.badge.warn {
  background: #fff0cf;
  color: #6c4700;
}

.badge.bad {
  background: #fce3e6;
  color: #8c2230;
}

.pimage>.badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.foot {
  border-top: 1px solid var(--line);
  background: #f5eee7;
  padding: 27px 0 30px;
}

.footergrid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 15px;
  font-size: 14px;
}

.footergrid a {
  display: block;
  min-height: 31px;
}

.footergrid h3 {
  font-size: 15px;
}

.footergrid .logo {
  width: 90px;
  margin-bottom: 5px;
}

.mnav {
  display: none;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 21px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.panel h2 {
  font-size: 29px;
}

.panel h3+small {
  display: block;
  margin-bottom: 10px;
}

.note {
  border-radius: 13px;
  padding: 12px 14px;
  background: var(--mint);
  color: #174a44;
  font-size: 14px;
}

.note.warn {
  background: #fff1d5;
  color: #624607;
}

.note.bad {
  background: #fce9eb;
  color: var(--danger);
}

.field {
  display: grid;
  gap: 5px;
  font-weight: bold;
  font-size: 14px;
  min-width: 0;
}

.field small {
  font-weight: normal;
}

.field input,
.field select,
.field textarea,
.input {
  padding: 9px 11px;
  border: 1px solid #a99ca3;
  background: #fff;
  border-radius: 10px;
  min-width: 0;
  width: 100%;
  min-height: 44px;
}

.field textarea {
  min-height: 91px;
  resize: vertical;
}

.field [aria-invalid=true] {
  border-color: var(--danger);
  border-width: 2px;
}

.error {
  color: var(--danger);
  font-size: 13px;
}

.listlayout {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  gap: 23px;
}

.listlayout .cards {
  grid-template-columns: repeat(3,1fr);
}

.listtop {
  margin-bottom: 14px;
}

.filters {
  align-self: start;
}

.filters p,
.filters fieldset {
  margin: 0 0 15px;
}

.filters fieldset {
  padding: 0;
  border: 0;
}

.filters legend {
  font-weight: bold;
  padding: 0 0 6px;
}

.opts label,
.choice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 39px;
  font-size: 14px;
}

.opts input,
.choice input {
  width: 18px;
  height: 18px;
  flex: none;
}

.shophero {
  border-radius: 19px;
  background: var(--cream);
  padding: 25px;
  margin-bottom: 22px;
}

.shophero h1 {
  font-size: 53px;
  margin: 0 0 8px;
}

.shophero p {
  margin: 0;
}

.productlayout {
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
  gap: 38px;
  align-items: start;
}

.productlayout h1 {
  font-size: clamp(35px,4vw,57px);
  margin: 10px 0;
}

.productart {
  border-radius: 22px;
  background: #e6f3ed;
  aspect-ratio: 1.18;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.productart img {
  width: 88%;
  height: 94%;
  object-fit: contain;
}

.buybox {
  display: grid;
  gap: 14px;
}

.buybox p {
  margin-bottom: 0;
}

.buybox .price {
  font-size: 29px;
}

.buybox label .input {
  max-width: 90px;
}

.mini {
  width: 69px;
  height: 64px;
  object-fit: contain;
  background: var(--mint);
  border-radius: 10px;
  border: 1px solid var(--line);
}

.lineitem {
  display: grid;
  grid-template-columns: 69px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.lineitem p {
  margin: 0;
}

.lineitem .input {
  max-width: 62px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(275px,1fr);
  gap: 20px;
  align-items: start;
}

.summarybox dl {
  margin: 10px 0 16px;
}

.summarybox dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 14px;
}

.summarybox dd {
  margin: 0;
  text-align: right;
}

.summarybox .grand {
  font-weight: bold;
  font-size: 18px;
  border-top: 1px solid var(--line);
  margin-top: 7px;
  padding-top: 12px;
}

.choice {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: flex-start;
}

.choice:has(input:checked) {
  border-color: var(--teal);
  background: var(--mint);
}

.choice small {
  display: block;
}

.center {
  max-width: 645px;
  margin: 0 auto;
}

.result {
  text-align: center;
  padding: 35px 20px;
}

.result .row {
  justify-content: center;
}

.resulticon {
  display: grid;
  place-items: center;
  width: 57px;
  height: 57px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal);
  margin: 0 auto 16px;
  font-size: 25px;
}

.resulticon.warn {
  background: #ffebc7;
  color: #795006;
}

.result h1 {
  font-size: clamp(38px,5vw,58px);
}

.legal {
  max-width: 790px;
}

.legal details {
  margin-top: 10px;
}

.accordion {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
}

.accordion summary {
  min-height: 45px;
  padding: 10px 0;
  cursor: pointer;
  font-weight: bold;
}

.timeline {
  padding-left: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  border-left: 2px solid #b7d9d3;
  margin-left: 9px;
  padding: 0 0 16px 20px;
}

.timeline li:before {
  content: '';
  height: 11px;
  width: 11px;
  border-radius: 100%;
  background: var(--teal);
  position: absolute;
  left: -7px;
  top: 4px;
}

.timeline li.future:before {
  background: #e1dfdd;
  border: 1px solid #776e75;
}

.timeline li:last-child {
  border-color: transparent;
  padding-bottom: 0;
}

.timeline small {
  display: block;
}

.accnav {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 3px 3px 12px;
  white-space: nowrap;
}

.skeleton {
  height: 210px;
  border-radius: 17px;
  background: linear-gradient(110deg,#f3ede8,#faf6f3,#f3ede8);
  border: 1px solid var(--line);
}

#announcement:not(:empty) {
  position: fixed;
  z-index: 9;
  right: 16px;
  bottom: 18px;
  border-radius: 13px;
  background: #29202d;
  color: white;
  padding: 11px 15px;
  box-shadow: var(--shadow);
  max-width: min(390px,calc(100% - 32px));
}

.tablebox {
  overflow: auto;
  border: 1px solid #eee8ee;
  border-radius: 10px;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

th,
td {
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eee8ee;
}

th {
  font-size: 12px;
  color: #554856;
  background: #f8f5f9;
  white-space: nowrap;
}

td a {
  font-weight: bold;
  color: var(--teal);
  text-decoration: underline;
}

tr:last-child td {
  border-bottom: 0;
}

@media (max-width:1090px) {
  .wrap {
    width: calc(100% - 44px);
  }

  .nav {
    gap: 17px;
  }

  .headlinks {
    gap: 10px;
  }

  .cards {
    gap: 11px;
  }

}

@media (max-width:820px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .hero .copy {
    padding-left: 26px;
  }

  .hero {
    min-height: 340px;
  }

  .heroart {
    min-height: 270px;
  }

  .cards,
  .listlayout .cards {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .listlayout {
    grid-template-columns: 175px 1fr;
    gap: 12px;
  }

  .headlinks .hide-t {
    display: none;
  }

  .nav {
    gap: 12px;
    font-size: 12px;
  }

  .brandgrid {
    grid-template-columns: repeat(3,1fr);
  }

}

@media (max-width:600px) {
  body {
    font-size: 15px;
  }

  .wrap {
    width: calc(100% - 28px);
  }

  .top {
    font-size: 10px;
  }

  .top .wrap {
    min-height: 27px;
  }

  .top a {
    margin-left: 0;
  }

  .top .desk {
    display: none;
  }

  .mainbar {
    grid-template-columns: 1fr auto;
    gap: 0 9px;
    min-height: 0;
    padding-bottom: 8px;
  }

  .mainbar .logo {
    height: 51px;
    width: 76px;
  }

  .mainbar .search {
    grid-row: 2;
    grid-column: 1/-1;
  }

  .search input {
    padding-block: 7px;
    font-size: 14px;
  }

  .mainbar .headlinks {
    gap: 13px;
  }

  .mainbar .headlinks .hide-m {
    display: none;
  }

  .nav {
    gap: 13px;
    overflow: auto;
    min-height: 40px;
    scrollbar-width: none;
  }

  .nav a {
    min-height: 40px;
  }

  .nav .right {
    margin-left: 0;
  }

  .hero {
    margin-top: 13px;
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 19px;
  }

  .hero .copy {
    padding: 21px 17px 0;
  }

  .hero h1 {
    font-size: 46px;
    margin-bottom: 12px;
  }

  .hero p {
    font-size: 14px;
    margin-bottom: 13px;
  }

  .hero .eyebrow {
    margin-bottom: 8px;
  }

  .hero .btn {
    font-size: 12px;
    padding-inline: 12px;
  }

  .heroart {
    min-height: 163px;
    margin-top: 2px;
  }

  .hero-pack {
    width: 39%;
    height: 87%;
    bottom: 6%;
  }

  .hero-pack.one {
    left: 14%;
  }

  .hero-pack.two {
    right: 12%;
    bottom: 2%;
  }

  .heroart:after {
    width: 13px;
    height: 13px;
    box-shadow: 210px 18px 0 1px #f2b3c6,216px 87px 0 -2px #99d3c4,-1px 78px 0 -3px #f4bd50;
  }

  .spark {
    font-size: 23px;
    right: 16%;
    top: 8%;
  }

  .trust {
    padding: 3px 0;
  }

  .trust>a {
    font-size: 10px;
    padding: 5px 3px;
    gap: 4px;
    text-align: center;
    min-height: 40px;
  }

  .trust .ico {
    width: 13px;
    height: 13px;
  }

  .section {
    margin-top: 23px;
  }

  .sectionhead {
    margin-bottom: 10px;
  }

  .sizes {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 5px;
  }

  .size {
    height: 49px;
    padding: 3px;
    font-size: 13px;
  }

  .size small {
    font-size: 10px;
  }

  .brandgrid {
    gap: 7px;
  }

  .brandtile {
    min-height: 54px;
    font-size: 18px;
  }

  .cardcopy {
    padding: 9px;
    gap: 5px;
  }

  .cardcopy h3 {
    font-size: 15px;
  }

  .cardcopy .eyebrow,
  .pimage .badge {
    font-size: 9px;
  }

  .cardcopy small {
    font-size: 11px;
  }

  .cardcopy .btn {
    font-size: 12px;
    padding-inline: 7px;
  }

  .footergrid {
    grid-template-columns: 1fr 1fr;
    font-size: 13px;
  }

  .footergrid>div:first-child {
    grid-column: 1/-1;
  }

  .foot {
    padding-bottom: 69px;
  }

  .mnav {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    position: fixed;
    z-index: 6;
    inset: auto 0 0;
    background: white;
    border-top: 1px solid var(--line);
    padding: 3px 0 max(3px,env(safe-area-inset-bottom));
  }

  .mnav a {
    min-height: 45px;
    display: grid;
    gap: 1px;
    place-content: center;
    justify-items: center;
    font-size: 10px;
    font-weight: bold;
  }

  .mnav .ico {
    width: 17px;
    height: 17px;
  }

  .crumb {
    margin: 13px 0;
    gap: 6px;
    font-size: 11px;
  }

  .page {
    padding-bottom: 30px;
  }

  .pagehead {
    margin-bottom: 15px;
  }

  .panel {
    padding: 14px;
    border-radius: 15px;
  }

  .listlayout,
  .split,
  .productlayout,
  .cols {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shophero {
    padding: 15px;
    margin-bottom: 13px;
  }

  .shophero h1 {
    font-size: 37px;
  }

  .listtop .input {
    max-width: 145px;
  }

  .productart {
    aspect-ratio: 1.55;
  }

  .productlayout h1 {
    font-size: 37px;
    margin: 4px 0;
  }

  .buybox .price {
    font-size: 24px;
  }

  .buybox {
    gap: 9px;
  }

  .lineitem {
    gap: 8px;
    grid-template-columns: 51px 1fr auto;
  }

  .mini {
    width: 51px;
    height: 49px;
  }

  .lineitem strong {
    font-size: 13px;
  }

  .summarybox {
    order: 0;
  }

  .result {
    padding: 22px 11px;
  }

  th,
  td {
    padding: 8px;
    font-size: 12px;
  }

  #announcement:not(:empty) {
    bottom: 62px;
  }

}

@media (prefers-reduced-motion:reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto!important;
    animation: none!important;
  }

}

@media (min-width:1100px) {
  .hero h1 {
    font-size: clamp(62px,5.5vw,79px);
  }

}

@media (max-width:600px) {
  .nav .secondary-cat {
    order: 3;
  }

  .nav .right {
    order: 2;
  }

}

.cardcopy .btn {
  margin-top: auto;
}

/* Production additions: real HTML semantics, states and accessibility fixes. */

[hidden] {
  display: none !important;
}

.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  color: var(--ink);
}

main:focus {
  outline: none;
}

main > :not(.crumb),
.split > *,
.stack > *,
.productlayout > *,
.cols > * {
  min-width: 0;
}

.breakable,
.badge,
.note {
  overflow-wrap: anywhere;
}

.pre {
  white-space: pre-line;
}

/* Header and footer */
.logolink {
  display: inline-flex;
}

.nav a[aria-current=page],
.mnav a[aria-current=page] {
  color: var(--teal);
}

.nav a[aria-current=page] {
  box-shadow: inset 0 -2px 0 currentColor;
}

.nav .offer[aria-current=page] {
  color: var(--berry);
}

.foothead {
  margin: 0 0 8px;
  font: bold 15px/1.12 var(--body);
  letter-spacing: -.035em;
}

.footlogo {
  display: inline-block !important;
}

/* Breadcrumb */
.crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crumb li + li::before {
  content: "›" / "";
}

.crumb a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.homepage {
  padding-top: 0;
}

/* Responsive pictures */
picture {
  display: contents;
}

/* display: contents would make each source a grid row and push the image out of its box. */
picture > source {
  display: none;
}

.hero-pack img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.herotitle em {
  display: block;
  color: var(--berry);
  font-weight: normal;
}

.pimage,
.productart {
  grid-template-rows: minmax(0, 1fr);
}

.mini {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  flex: none;
}

.mini img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.noimage {
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.cardcopy .cardtitle {
  margin: 0;
  font: bold 17px/1.12 var(--body);
  letter-spacing: -.035em;
}

/* Sections added for the editor */
.banner,
.promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--pink);
}

.banner {
  margin: 14px 0;
}

.banner strong,
.banner span span {
  display: block;
}

.banner strong {
  font: normal 26px/1.1 var(--display);
}

.banner img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.promo p {
  margin: 0;
}

/* Listings */
.filtertitle,
.paneltitle {
  margin: 0 0 8px !important;
  font: bold 19px/1.12 var(--subhead, var(--body)) !important;
  letter-spacing: -.035em;
}

.filters > summary {
  display: list-item;
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  font-weight: bold;
}

/* Wide screens always show filters. Browsers without ::details-content keep the disclosure. */
@supports selector(details::details-content) {
  @media (min-width: 601px) {
    .filters > summary {
      display: none;
    }

    .filters::details-content {
      content-visibility: visible;
      display: block;
      block-size: auto;
    }
  }
}

.listcount {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.sortform {
  display: flex;
  align-items: end;
  gap: 6px;
  min-width: 0;
}

.sortform .field {
  flex: 1;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

/* Product */
.buybox {
  min-width: 0;
}

.buybox .note {
  margin: 0;
}

.buyrow {
  align-items: end;
}

.buyrow .field input {
  width: 84px;
}

.choose {
  margin-bottom: 6px;
}

.guidelink,
.standalone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.guide {
  display: none;
  scroll-margin-top: 12px;
}

.guide:target {
  display: block;
}

.packinfo .accordion + .accordion {
  margin-top: 0;
}

.estimate {
  flex: 1;
  min-width: 150px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.delivery .cols,
.summarybox .cols {
  gap: 10px;
}

.summarybox .cols {
  grid-template-columns: 1fr;
}

/* Links inside running text need more than colour */
.note a,
.estimate a,
.summarybox small a,
.prose a,
.buybox small a,
.packinfo p a,
.pagehead p a,
.reorderline p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Cart and checkout */
.lineactions {
  margin-top: 6px;
  gap: 4px;
}

.qtyform {
  gap: 6px;
}

.qtyform .input {
  width: 62px;
}

.lineitem .pricechange,
.pricechange {
  margin: 4px 0 0;
  color: #6c4700;
  font-size: 13px;
}

.payments,
.claim,
.plain {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.claim {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.claim legend,
.plain legend {
  padding: 0 6px 0 0;
  font-weight: bold;
  font-size: 14px;
}

.zone {
  margin: 0;
}

.savedpick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.savedpick .chip {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* With script the quote refreshes by itself. Without it these stay visible. */
@media (scripting: enabled) {
  [data-nojs] {
    display: none;
  }
}

.btn[aria-disabled=true] {
  opacity: .7;
  cursor: progress;
}

#summary-region[aria-busy=true] {
  opacity: .65;
}

/* Forms */
.error {
  font-weight: bold;
}

.check label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
}

.check input,
.pick input,
.perm input,
.tick input {
  flex: none;
  width: 22px !important;
  height: 22px;
  min-height: 22px !important;
  margin: 0;
  padding: 0 !important;
}

.pick,
.perm {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 14px;
}

.summary-error ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.summary-error a {
  display: inline-block;
  min-height: 24px;
}

/* Status and text pages */
.flash {
  margin: 0 0 14px;
}

.resultbody {
  margin-bottom: 14px;
}

.legalpanel .tablebox {
  margin-bottom: 18px;
}

.legal > .note {
  margin-bottom: 12px;
}

.prosehead,
.formhead {
  margin: 18px 0 6px !important;
  font: bold 18px/1.2 var(--subhead, var(--body)) !important;
  letter-spacing: -.02em !important;
}

address {
  margin-bottom: 14px;
  font-style: normal;
}

/* Account */
.accbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 8px;
}

.accbar .accnav {
  min-width: 0;
  max-width: 100%;
}

.accbar .inline {
  padding-bottom: 9px;
}

.totals {
  margin: 10px 0 14px;
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 14px;
}

.totals dd {
  margin: 0;
}

.totals .grand {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: bold;
}

.empty {
  margin: 0;
  padding: 10px 0;
}

.section.tight {
  margin-top: 14px;
}

.tablebox {
  position: relative;
}

.draftbanner {
  margin: 0;
  padding: 6px;
  background: #fff0cf;
  color: #6c4700;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 600px) {
  /* Keep the fixed shortcut bar from covering a focused control (WCAG 2.4.11). */
  html {
    scroll-padding-bottom: 72px;
  }

  .crumb ol,
  .crumb li {
    gap: 6px;
  }

  .cardcopy .cardtitle {
    font-size: 15px;
  }

  /* Anything under 16px makes iOS zoom on focus. */
  .field input,
  .field select,
  .field textarea,
  .input {
    font-size: 16px;
  }

  .compact .foot {
    padding-bottom: 28px;
  }

  .split > .summarybox {
    width: 100%;
  }
}

@media (max-width: 359px) {
  .wrap {
    width: calc(100% - 20px);
  }

  h1,
  .shophero h1,
  .result h1 {
    font-size: 33px;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: 38px;
  }

  .cards,
  .listlayout .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .brandgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sizes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lineitem {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .lineitem > strong {
    grid-column: 2;
  }

  .mini {
    width: 44px;
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  .mnav {
    position: static;
  }

  .foot {
    padding-bottom: 20px;
  }
}

@media print {
  header,
  .foot,
  .mnav {
    display: none;
  }
}

/* Adjustments from the screen-by-screen comparison */
.badge {
  overflow-wrap: normal;
}

.crumb a {
  margin-block: -3px;
}

.choose .guidelink {
  margin-block: -11px;
}

.summary-error a {
  display: inline;
  line-height: 1.9;
}

.qtyform .btn,
.lineactions > .inline .btn {
  padding-inline: 6px;
}

@media (max-width: 600px) {
  .filters {
    padding: 2px 12px;
  }

  body[data-screen=checkout] .nav {
    display: none;
  }
}

/* Table links keep a 24px target (WCAG 2.5.8) */
td > a {
  display: inline-block;
  min-height: 24px;
}

/* Fixes from the accessibility pass */
@media (max-width: 600px) {
  /* Icon-only links keep their text for screen readers. */
  .mainbar .headlinks span.hide-m {
    position: absolute;
    display: block;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Enlarged text wraps instead of forcing sideways scrolling. */
@media (min-width: 601px) {
  .nav {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .headlinks {
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
  }
}

/* Show the whole pack, including its count band */
.productart img {
  min-height: 0;
}

/* Manual contrast review: 3:1 boundaries and focus rings, 4.5:1 placeholders (WCAG 1.4.3, 1.4.11) */
.field input,
.field select,
.field textarea,
.input,
.search {
  border-color: #91848b;
}

::placeholder {
  color: #655d68;
  opacity: 1;
}

.top :focus-visible,
.aside :focus-visible,
.amenu .navlinks :focus-visible {
  outline-color: #ffcd5d;
}

/* Launch additions ------------------------------------------------------- */

.consent {
  background: var(--mint);
  border-bottom: 1px solid rgb(0 0 0 / 8%);
}

.consent .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
}

.consent p {
  margin: 0;
  max-width: 70ch;
}

.productmedia {
  min-width: 0;
}

.gallery {
  /* Contains the absolutely positioned screen-reader labels, so they scroll with it. */
  position: relative;
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding: 4px;
  overflow-x: auto;
}

.gallery a {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  border: 2px solid transparent;
  border-radius: 14px;
}

.gallery a[aria-current] {
  border-color: var(--teal);
}

.packdescription ul {
  padding-left: 20px;
}

/* Homepage feedback and reels -------------------------------------------- */

.railbox {
  /* Contains the absolutely positioned screen-reader labels, so they scroll with it. */
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  padding: 4px 4px 12px;
  scrollbar-width: thin;
}

.rail {
  display: flex;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail > li {
  position: relative;
  flex: none;
  min-width: 0;
  scroll-snap-align: start;
}

.railnav {
  display: flex;
  gap: 8px;
}

.railnav[hidden] {
  display: none;
}

.railbtn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.railbtn[aria-disabled="true"] {
  opacity: .55;
  cursor: default;
}

.reviewcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(360px, 84%);
  padding: 22px;
  border: 1px solid rgba(37, 33, 43, .16);
  border-radius: var(--radius);
  background: #fff;
}

.reviewcard blockquote,
.reviewcard p {
  margin: 0;
  overflow-wrap: anywhere;
}

.reviewcard blockquote {
  padding: 0;
  border: 0;
}

.reviewcard .stars {
  color: var(--berry);
  letter-spacing: .12em;
}

.reviewcard .reviewby {
  margin-top: auto;
  padding-top: 8px;
}

.reviewshot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  border-radius: calc(var(--radius) / 2);
}

.reviewmore summary {
  min-height: 44px;
  padding: 10px 0;
  color: var(--berry);
  font-weight: bold;
  cursor: pointer;
}

.reviewcard:has(.reviewmore[open]) .excerpt {
  display: none;
}

.reelcard {
  width: min(260px, 76%);
}

.reelframe {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  background: #25212b;
  color: #fff;
}

.reelframe video,
.reelframe iframe,
.reelplay,
.reelplay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* iOS before 15 has no aspect-ratio. */
@supports not (aspect-ratio: 9 / 16) {
  .reelframe {
    height: 0;
    padding-top: 177.78%;
  }
}

.reelframe video {
  object-fit: contain;
}

.reelplay img {
  object-fit: cover;
}

.reelplay:focus-visible,
.reelframe video:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

.playmark {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: auto;
  border-radius: 50%;
  background: var(--berry);
  color: #fff;
}

.playmark .ico {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.reelwhere {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: #25212b;
  color: #fff;
  font-size: 13px;
}

.reeltitle {
  margin: 10px 2px 0;
  font-weight: bold;
  overflow-wrap: anywhere;
}

.reeltitle a {
  display: inline-block;
  min-height: 24px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media print {
  .railnav,
  .home-reels {
    display: none;
  }
}
