/* ============================================================
   COMFORTON — STORE LAYER (v3)
   Header, category bar, mega menus, live search, bottom nav,
   product card, shop filters, homepage blocks.
   Loads after main.css.
   ============================================================ */

:root {
  --nav-h: 64px;
  --catnav-h: 44px;
  --bn-h: 58px;
  --hdr-h: 108px;
}

.only-mobile { display: none; }

/* ---------- Announcement ---------- */

.announce { height: 34px; background: #1D2D50; }
.announce-item { font-size: 10.5px; letter-spacing: .2em; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 200; background: #fff;
  border-bottom: 1px solid var(--line);
}
.hbar-in { display: flex; align-items: center; gap: 22px; height: var(--nav-h); }
.menu-btn { display: none; }
.brand { flex: none; }
.brand .wordmark, .brand a {
  font-family: var(--display); font-weight: 500; font-size: 21px;
  letter-spacing: .34em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.brand img { max-height: 40px; width: auto; }

.hsearch {
  position: relative; flex: 1 1 auto; max-width: 600px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px; background: #F4EFE7;
  border: 1px solid transparent; border-radius: 6px; padding: 0 14px; height: 42px;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.hsearch:focus-within { background: #fff; border-color: var(--ink-3); box-shadow: 0 6px 24px -14px rgba(20,18,15,.4); }
.hsearch svg { color: var(--ink-3); flex: none; }
.hsearch input[type="search"] {
  flex: 1; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink);
  outline: none; min-width: 0; height: 100%; -webkit-appearance: none; appearance: none;
}
.hsearch input[type="search"]::-webkit-search-cancel-button { display: none; }

.hsearch-pop {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 320;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 24px 50px -24px rgba(20,18,15,.45); max-height: min(72vh, 560px); overflow: auto;
}
.hsearch-pop[hidden] { display: none; }
.hsearch-pop.is-inline { position: static; box-shadow: none; border: 0; margin-top: 8px; width: 100%; flex-basis: 100%; }
.sr-title { font-family: var(--display); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); padding: 14px 16px 6px; margin: 0; }
.sr-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 10px; }
.sr-cats a { font-size: 12.5px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.sr-cats a:hover { border-color: var(--ink); color: var(--ink); }
.sr-item { display: flex; gap: 12px; align-items: center; padding: 9px 16px; color: var(--ink); }
.sr-item:hover { background: #FAF6EF; }
.sr-item img { width: 44px; height: 58px; object-fit: cover; border-radius: 3px; background: var(--cream); flex: none; }
.sr-item b { display: block; font-weight: 400; font-size: 13.5px; line-height: 1.3; }
.sr-item span { font-size: 12.5px; font-family: var(--display); font-weight: 500; }
.sr-item s { color: var(--ink-3); font-weight: 400; margin-left: 6px; font-size: 11.5px; }
.sr-all { display: block; text-align: center; padding: 13px; border-top: 1px solid var(--line); font-family: var(--display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.sr-empty { padding: 22px 16px; color: var(--ink-3); font-size: 13.5px; }

.hactions { display: flex; align-items: center; gap: 14px; flex: none; margin-left: auto; }
.hsearch + .hactions { margin-left: 0; }

/* ---------- Category bar ---------- */

.cat-nav { position: relative; border-top: 1px solid var(--line); background: #fff; }
.cat-menu { display: flex; justify-content: center; flex-wrap: nowrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.cat-item { position: relative; }
.cat-item[data-dept] { position: static; }
.cat-item > a {
  display: flex; align-items: center; height: var(--catnav-h); padding: 0 14px; position: relative;
  font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-2); white-space: nowrap; transition: color .2s;
}
.cat-item > a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.cat-item:hover > a, .cat-item:focus-within > a, .cat-item.is-open > a { color: var(--ink); }
.cat-item:hover > a::after, .cat-item:focus-within > a::after, .cat-item.is-open > a::after { transform: scaleX(1); }
.cat-item.is-sale > a { color: var(--signal); }
.cat-item.is-sale > a::after { background: var(--signal); }

/* mega panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 210;
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 50px -30px rgba(20,18,15,.4);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease) .06s, transform .2s var(--ease) .06s, visibility 0s linear .26s;
}
.cat-item:hover > .mega, .cat-item:focus-within > .mega, .cat-item.is-open > .mega {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.mega-in { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 44px; padding: 26px var(--gut) 32px; }
.mega-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px 16px; }
.mtile { display: block; text-align: center; color: var(--ink); }
.mtile-img { display: block; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; background: var(--cream); }
.mtile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mtile:hover .mtile-img img { transform: scale(1.06); }
.mtile-name { display: block; margin-top: 9px; font-size: 13px; font-weight: 500; }
.mtile:hover .mtile-name { color: var(--dept, var(--ink)); text-decoration: underline; text-underline-offset: 3px; }

.mega-side { border-left: 1px solid var(--line); padding-left: 36px; display: flex; flex-direction: column; gap: 2px; }
.mega-side h4 { font-family: var(--display); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; font-weight: 500; }
.mega-side > a { padding: 8px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid #F0EADF; transition: color .2s, padding-left .2s; }
.mega-side > a:hover { color: var(--ink); padding-left: 5px; }
.mega-side .mega-all { color: var(--ink); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.mega-side .mega-deal {
  margin-top: 16px; padding: 14px 16px; background: #1D2D50; color: #fff; border: 0;
  display: flex; align-items: center; justify-content: space-between; border-radius: 4px;
}
.mega-side .mega-deal strong { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .04em; }
.mega-side .mega-deal span { font-family: var(--display); font-size: 20px; color: #F6C85F; }
.mega-side .mega-deal:hover { padding-left: 16px; color: #fff; }

/* simple dropdown */
.drop {
  position: absolute; left: 0; top: 100%; min-width: 210px; z-index: 210; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 22px 40px -26px rgba(20,18,15,.4); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease) .06s, transform .2s var(--ease) .06s, visibility 0s linear .26s;
}
.cat-item:hover > .drop, .cat-item:focus-within > .drop, .cat-item.is-open > .drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drop a { display: block; padding: 9px 18px; font-size: 13.5px; color: var(--ink-2); }
.drop a:hover { background: #FAF6EF; color: var(--ink); }
.drop .drop-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 11px; font-weight: 500; color: var(--ink); }

/* mobile chip strip */
.m-chips { display: none; }

/* ---------- Bottom nav (mobile) ---------- */

.bottom-nav { display: none; }

/* ---------- Mobile drawer ---------- */

.m-acc { border-bottom: 1px solid var(--line); }
.m-acc summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  padding: 17px 0; font-family: var(--display); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
}
.m-acc summary::-webkit-details-marker { display: none; }
.m-acc summary svg { transition: transform .25s var(--ease); }
.m-acc[open] summary svg { transform: rotate(180deg); }
.m-acc-body { padding: 0 0 14px; }
.m-all { display: block; padding: 4px 0 12px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); }
.m-cat { display: flex; align-items: center; gap: 14px; padding: 7px 0; color: var(--ink); font-size: 15px; }
.m-cat img { width: 44px; height: 58px; object-fit: cover; border-radius: 3px; background: var(--cream); flex: none; }
.m-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0 8px; }
.m-links a { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.m-links a.is-sale { color: var(--signal); border-color: var(--signal); }
.m-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: 14px; padding-top: 6px; border-top: 1px solid var(--line); }
.m-foot a { padding: 12px 0; font-size: 13.5px; color: var(--ink-2); border-bottom: 1px solid #F0EADF; }

/* ---------- Cart drawer extras ---------- */

.bundle-note { background: #EEF3FB; color: #1D2D50; font-size: 12.5px; line-height: 1.45; padding: 10px 12px; margin: 0 0 14px; border-radius: 4px; border-left: 3px solid #1D2D50; }
.bundle-note[hidden] { display: none; }
.cart-save { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--success); margin-bottom: 6px; }
.cart-save[hidden] { display: none; }

/* ---------- Product card (v3) ---------- */

.product-grid { gap: 26px 14px; }
.pcard { background: transparent; }
.pcard-media { border-radius: 4px; background: #EFE7DA; }
.pcard-body { padding: 11px 2px 6px; }
.pcard-label { font-size: 9.5px; margin-bottom: 3px; }
.pcard-title {
  font-size: 13.5px; font-weight: 500; margin: 0 0 5px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pcard-price { gap: 6px 8px; }
.price-now { font-size: 15px; font-weight: 600; }
.price-was { font-size: 12.5px; }
.price-off { font-size: 11.5px; font-weight: 600; color: var(--success); }
.pcard-lowest { font-size: 10.5px; color: var(--ink-3); margin: 3px 0 0; }
.pcard-rating {
  left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 3px; gap: 3px; font-size: 11px;
  background: rgba(255,255,255,.95); box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.pcard-rating b { font-weight: 600; }
.pcard-rating i { color: var(--ink-4); font-style: normal; margin: 0 2px; }
.pcard-rating span { color: var(--ink-2); }
.flag-bundle { background: #1D2D50; }
.pcard-wish { top: 8px; right: 8px; }
.pcard-flags { top: 8px; left: 8px; }
.pcard-quick { padding: 9px; flex-wrap: wrap; }

/* ---------- Homepage ---------- */

.section-tight { padding: clamp(22px, 3vw, 40px) 0; }

.hero--art { background: #F3E7D3; min-height: clamp(360px, 44vw, 600px); align-items: center; }
.hero--art .hero-media img { object-position: right center; }
.hero--art .hero-media::after { display: none; }
.hero--art .hero-inner { color: var(--ink); padding: 0; }
.hero--art .eyebrow { color: var(--ink-3); }
.hero--art .hero-h { color: var(--ink); max-width: 11ch; }
.hero--art .hero-sub { color: var(--ink-2); }
.hero-btn1 { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero--art .hero-btn2 { color: var(--ink); border-color: var(--ink); }
.hero--photo .hero-btn1 { background: #fff; color: var(--ink); border-color: #fff; }
.hero--photo .hero-btn2 { color: #fff; border-color: rgba(255,255,255,.65); }

.circles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.circle { display: block; text-align: center; color: var(--ink); }
.circle-img { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--cream); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.circle-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transform: scale(1.18); }
.circle:hover .circle-img { transform: translateY(-3px); box-shadow: 0 14px 24px -16px rgba(20,18,15,.5); }
.circle-name { display: block; margin-top: 9px; font-size: 12.5px; font-weight: 500; letter-spacing: .02em; }

.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.promo { position: relative; display: block; overflow: hidden; border-radius: 6px; color: #fff; aspect-ratio: 1600 / 520; background: #1D2D50; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.promo:hover img { transform: scale(1.04); }
.promo-copy { position: absolute; left: clamp(18px, 3vw, 36px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.promo-k { font-family: var(--display); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.promo strong { font-family: var(--accent-face); font-weight: 400; font-size: clamp(22px, 3.2vw, 40px); line-height: 1.05; }
.promo-price { font-family: var(--display); font-size: clamp(18px, 2.4vw, 30px); color: #F6C85F; font-weight: 500; }
.promo-red .promo-price { color: #FBE3C2; font-size: clamp(11px, 1.2vw, 14px); letter-spacing: .08em; }
.promo-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 3px; align-self: flex-start; }

.label-card img { object-position: center 30%; }

/* ---------- Shop ---------- */

.shop-hero { padding: 26px 0 22px; min-height: 150px; display: flex; align-items: center; }
.shop-hero .wrap { width: 100%; }
.shop-hero .h-1 { margin: 4px 0 0; }

.bundle-strip {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 14px;
  background: #1D2D50; color: #fff; padding: 12px 20px; border-radius: 6px;
}
.bundle-strip strong { font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: .03em; }
.bundle-strip-k { font-family: var(--display); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; background: #F6C85F; color: #1D2D50; padding: 4px 9px; border-radius: 2px; font-weight: 600; }
.bundle-strip-s { font-size: 12.5px; color: rgba(255,255,255,.75); margin-left: auto; }

.chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 4px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.cat-chip { flex: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: #fff; color: var(--ink-2); white-space: nowrap; transition: all .2s; }
.cat-chip:hover { border-color: var(--ink); color: var(--ink); }
.cat-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.filter-col {
  top: calc(var(--hdr-h) + 10px); max-height: calc(100vh - var(--hdr-h) - 20px); overflow-y: auto; scrollbar-width: thin;
}
.filter-sheet-head, .filter-sheet-foot, .mobile-bar { display: none; }
.fgroup-sort { display: none; }
.fgroup-title { font-family: var(--display); font-size: 11px; letter-spacing: .17em; text-transform: uppercase; font-weight: 500; padding: 15px 0; }
.scrim-filters { z-index: 240; }
.fcheck input[type="radio"] { accent-color: var(--ink); }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .circles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cat-item > a { padding: 0 10px; font-size: 11.5px; letter-spacing: .08em; }
  .mega-tiles { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  .only-mobile { display: inline-flex; }
  .only-desktop, .cat-nav, .hsearch { display: none; }
  .menu-btn { display: inline-flex; }
  .hbar-in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .brand { text-align: center; }
  .brand .wordmark, .brand a { font-size: 18px; letter-spacing: .28em; }
  .hactions { justify-content: flex-end; gap: 6px; }

  .m-chips {
    display: flex; gap: 8px; overflow-x: auto; padding: 8px var(--gut) 10px; scrollbar-width: none;
    border-top: 1px solid var(--line); background: #fff;
  }
  .m-chips::-webkit-scrollbar { display: none; }
  .m-chip { flex: none; padding: 7px 14px; border-radius: 999px; background: #F4EFE7; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
  .m-chip.is-sale { background: #FBE9E5; color: var(--signal); }

  .bundle-strip-s { display: none; }
  .bundle-strip { padding: 11px 14px; gap: 12px; }

  .mobile-bar {
    display: flex; position: sticky; top: var(--hdr-h); z-index: 150; background: #fff;
    border-bottom: 1px solid var(--line); margin: 0 calc(var(--gut) * -1);
  }
  .mb-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border: 0; background: none; font-family: var(--display); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
  .mb-sep { width: 1px; background: var(--line); margin: 9px 0; }
  .fgroup-sort { display: block; border-bottom: 1px solid var(--line); }
  .sortbox { display: none; }

  .filter-col {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 260; max-height: 88vh; max-width: none;
    background: #fff; border: 0; border-radius: 16px 16px 0 0; padding: 0 var(--gut);
    transform: translateY(104%); transition: transform .34s var(--ease); box-shadow: 0 -20px 50px -20px rgba(0,0,0,.4);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .filter-col.is-mobile-open { transform: translateY(0); }
  .filter-head { display: none; }
  .filter-sheet-head {
    display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 3;
    background: #fff; padding: 16px 0 12px; border-bottom: 1px solid var(--line);
  }
  .filter-sheet-head h3 { margin: 0; font-family: var(--display); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
  .filter-sheet-foot {
    display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: sticky; bottom: 0; background: #fff;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin-top: 10px;
  }
  .scrim-filters.is-open { opacity: 1; visibility: visible; }
  .shop-layout { display: block; }
}

@media (max-width: 860px) {
  body { padding-bottom: calc(var(--bn-h) + env(safe-area-inset-bottom)); }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
    height: calc(var(--bn-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgba(0,0,0,.35);
  }
  .bottom-nav a, .bottom-nav button {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border: 0; background: none; color: var(--ink-2); font-family: var(--display); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  }
  .bottom-nav svg { stroke-width: 1.5; }
  .bottom-nav .count-pip { top: 6px; right: calc(50% - 20px); }
  .sticky-buy { bottom: calc(var(--bn-h) + env(safe-area-inset-bottom)); }
  .toast-stack { bottom: calc(var(--bn-h) + 16px); }

  .circles { display: flex; overflow-x: auto; gap: 14px; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .circles::-webkit-scrollbar { display: none; }
  .circle { flex: 0 0 78px; }
  .circle-name { font-size: 12px; }

  .promo-grid { grid-template-columns: 1fr; }
  .promo { aspect-ratio: 1600 / 640; }

  .product-grid { gap: 20px 10px; }
  .pcard-title { font-size: 13px; }
  .price-now { font-size: 14px; }

  .hero--art { display: flex; flex-direction: column-reverse; min-height: 0; align-items: stretch; }
  .hero--art .hero-media { position: relative; inset: auto; height: 58vw; max-height: 340px; }
  .hero--art .hero-media img { object-position: 78% 50%; }
  .hero--art .hero-inner { padding: 26px 0 6px; }
  .hero--art .hero-h { max-width: 12ch; }
  .section-head .link-u { display: none; }
}

@media (max-width: 560px) {
  .hbar-in { height: 56px; }
  :root { --nav-h: 56px; }
  .brand .wordmark, .brand a { font-size: 16px; letter-spacing: .24em; }
  .icon-btn svg { width: 20px; height: 20px; }
  .shop-hero { min-height: 0; padding: 18px 0 14px; }
  .promo strong { font-size: 24px; }
  .rail > * { flex-basis: 56vw; }
}
.cart-totals[hidden]{display:none}.cart-saving strong{color:#1D6B3A}
.pdp-info{top:calc(var(--hdr-h) + 14px)}

/* Card frame keeps the image, wishlist heart and quick-size bar together and clips the bar. */
.pcard-frame { position: relative; overflow: hidden; }
@media (hover: none) { .pcard-quick { display: none; } }

/* Product page refinements */
.pdp-crumbs { padding-top: 18px; padding-bottom: 6px; }
.pdp-gallery[data-shots="1"], .pdp-gallery[data-shots="2"] { grid-template-columns: 1fr 1fr; }
.pdp-gallery[data-shots="1"] .pdp-shot:first-child { grid-column: 1 / -1; }
.pdp-gallery[data-shots="2"] .pdp-shot:first-child { grid-column: auto; aspect-ratio: 3/4; }
.pdp-wish { flex: 0 0 54px; position: relative; }
.pdp-wish span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pdp-actions .qty-stepper { margin-top: 0; align-items: stretch; background: #fff; }
.pdp-actions .qty-stepper button { width: 36px; height: auto; }
.pdp-actions .qty-stepper input { width: 34px; border: 0; background: transparent; text-align: center; font: inherit; font-size: 14px; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.pdp-actions .qty-stepper input::-webkit-outer-spin-button, .pdp-actions .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.opt-head .link-u { font-size: 12px; }

/* Colour swatches on the product page */
.color-opt { background: var(--sw, #D9CDB6); }

/* Toasts sit bottom-left on desktop and at the top on phones, so they never cover the bag buttons. */
.toast-stack { right: auto; left: 20px; align-items: flex-start; }
.toast { transform: translateX(-120%); }
.toast.is-in { transform: none; }
@media (max-width: 860px) {
  .toast-stack { top: 12px; bottom: auto; left: 12px; right: 12px; }
  .toast { transform: translateY(-140%); }
  .toast.is-in { transform: none; }
}

/* Plain templates (pages, journal, archives, 404) get the same gutters as .wrap sections */
.site-content > .breadcrumbs,
.site-content > .page-head,
.site-content > .notfound,
.site-content > .journal-single {
  max-width: var(--maxw); margin-left: auto; margin-right: auto; padding-left: var(--gut); padding-right: var(--gut);
}
.site-content > .breadcrumbs { padding-top: 18px; }
