/* Knollwood Tubers — public shop */

.announce {
  background: var(--forest); color: var(--dew);
  text-align: center; font-size: 10.5px; padding: 10px var(--gutter);
}

/* ── masthead ── */
.masthead { background: var(--stem); color: var(--dew); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--rule-light); }
.masthead__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.masthead__mark { flex: 0 0 auto; }
.masthead__mark img { width: clamp(150px, 15vw, 196px); height: auto; }
.masthead__nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); font-size: 10.5px; margin-left: auto; }
.masthead__nav a { text-decoration: none; opacity: .82; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.masthead__nav a:hover { opacity: 1; }
.masthead__nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--sage); }
.masthead__more { display: none; }
.bag, .bag__label { white-space: nowrap; }
.dd { position: relative; }
.dd__btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; border-bottom: 1px solid transparent; color: inherit; padding: 6px 0; cursor: pointer;
  font: inherit; letter-spacing: inherit; text-transform: inherit; opacity: .82; }
.dd__btn:hover, .dd.open .dd__btn { opacity: 1; }
.dd__btn.is-here { opacity: 1; border-bottom-color: var(--sage); }
.dd__btn svg { width: 10px; height: 7px; transition: transform .25s var(--ease); }
.dd.open .dd__btn svg { transform: rotate(180deg); }
.dd__menu { position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0; min-width: 230px; display: grid; padding: 10px 0; background: var(--stem);
  border: 1px solid var(--rule-light); box-shadow: 0 24px 40px -20px rgba(21,27,18,.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; z-index: 60; }
.dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dd.open .dd__menu { opacity: 1; visibility: visible; transform: none; }
.masthead__nav .dd__menu a { padding: 12px 22px; border-bottom: 0; opacity: .85; }
.masthead__nav .dd__menu a:hover { opacity: 1; background: rgba(233,239,227,.06); }
.masthead__nav .dd__menu a[aria-current="page"] { opacity: 1; color: var(--dahlia); }
.bag svg { width: 16px; height: 16px; margin: -2px 0 0 -2px; }
.masthead__end { display: flex; align-items: center; gap: 10px; }
.bag {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--rule-light);
  color: var(--dew); padding: 10px 14px; cursor: pointer; font-family: var(--display); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
}
.bag:hover { border-color: var(--dew); }
.bag__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; background: var(--dew); color: var(--forest); font-family: var(--sans); font-size: 11px; letter-spacing: 0; }
.menu-btn { display: none; width: 44px; height: 42px; border: 1px solid var(--rule-light); background: none; cursor: pointer; padding: 0; position: relative; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--dew); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn i:first-of-type { top: 16px; } .menu-btn i:last-of-type { top: 24px; }
.menu-btn[aria-expanded="true"] i:first-of-type { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { top: 20px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .masthead__more { display: contents; }
  .masthead__in { min-height: 64px; gap: 12px; justify-content: space-between; }
  .menu-btn { display: block; }
  .masthead__nav {
    position: fixed; left: 0; right: 0; top: 64px; bottom: 0; margin: 0; z-index: 49;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 18px var(--gutter) 40px;
    background: var(--stem); font-size: 13px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .masthead__nav a { width: 100%; padding: 18px 0; border-bottom: 1px solid var(--rule-light); opacity: 1; }
  .dd { width: 100%; }
  .dd__btn { width: 100%; justify-content: space-between; padding: 18px 0 8px; font-size: 13px; opacity: 1; pointer-events: none; border-bottom: 0 !important; }
  .dd__btn svg { display: none; }
  .masthead__nav .dd__menu { position: static; translate: none; opacity: 1; visibility: inherit; transform: none; box-shadow: none; background: none; border: 0; border-bottom: 1px solid var(--rule-light); padding: 0 0 8px 16px; min-width: 0; }
  .masthead__nav .dd__menu::before { display: none; }
  .masthead__nav .dd__menu a { padding: 12px 0; border-bottom: 0; font-size: 12px; opacity: .85; background: none; }
  .masthead__nav a[aria-current="page"] { color: var(--sage); border-bottom-color: var(--rule-light); }
  body.menu-open { overflow: hidden; }
  body.menu-open .masthead__nav { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 760px) { .bag { padding: 8px 10px; } .bag__label { display: none; } }

/* ── hero (echoes the brand "SEEDS" slide) ── */
.hero { position: relative; overflow: hidden; background: var(--stem); color: var(--dew); text-align: center; }
.hero__in { position: relative; z-index: 1; padding-top: var(--sp-section); padding-bottom: var(--sp-section); }
.hero__kicker { opacity: .8; margin: 0 0 clamp(14px, 2vw, 26px); }
.hero__title { font-size: clamp(88px, 19vw, 248px); line-height: .82; letter-spacing: .01em; }
.hero__when { margin: clamp(18px, 2.6vw, 34px) 0 0; }
.hero__body { max-width: 34em; margin: 22px auto 0; font-size: clamp(18px, 1.7vw, 21px); opacity: .92; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero__stamp {
  position: absolute; top: 50%; width: clamp(150px, 22vw, 320px); aspect-ratio: 800 / 1216;
  background: var(--sage); opacity: .38;
  -webkit-mask: url(/assets/brand/stamp-dew.png) center / contain no-repeat; mask: url(/assets/brand/stamp-dew.png) center / contain no-repeat;
}
.hero__stamp--l { left: 0; transform: translate(-52%, -46%); }
.hero__stamp--r { right: 0; transform: translate(52%, -46%); }
@media (max-width: 760px) { .hero__stamp { opacity: .22; } .hero__cta .btn { width: 100%; } }

/* ── intro ── */
.intro { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; padding-top: var(--sp-section); padding-bottom: var(--sp-section); }
.intro__kf img { width: 100%; height: auto; }
.intro__h { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.06; margin: 16px 0 22px; max-width: 16em; }
.intro__text > p:last-child { max-width: 36em; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .intro { grid-template-columns: 1fr; text-align: center; } .intro__kf { width: 110px; margin: 0 auto; } .intro__text > p:last-child { margin: 0 auto; } }

/* ── section heads ── */
.sec-head { margin-bottom: var(--sp-head); }
.sec-head .eyebrow { margin: 0 0 12px; }
.sec-title { font-size: clamp(38px, 5vw, 68px); }
.sec-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ── varieties ── */
.varieties { border-top: 1px solid var(--rule); padding: var(--sp-section) 0 var(--sp-section); }
.sec-head--split .search { width: min(340px, 100%); }
.search .input { min-height: 48px; font-size: 17px; }

/* filter panel */
.filters { display: grid; gap: 18px; padding: 20px 0 22px; margin-bottom: var(--sp-head); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.filters__row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; }
.filters__label, .filt > span { font-family: var(--display); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.filters__label { padding-top: 13px; }
.filters__selects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-left: 124px; }
.filt { display: grid; gap: 7px; }
.filt .select { min-height: 46px; font-size: 16.5px; }
.filt .select.is-on { background-color: var(--stem); color: var(--dew); border-color: var(--stem); }
.filters__status { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-left: 124px; font-family: var(--display); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.filters__status .link { color: var(--stem); }
@media (max-width: 860px) {
  .filters__row { grid-template-columns: 1fr; gap: 10px; }
  .filters__label { padding-top: 0; }
  .filters__selects, .filters__status { margin-left: 0; }
}
@media (max-width: 760px) {
  .sec-head--split .search { width: 100%; }
  .filters__selects { grid-template-columns: 1fr 1fr; gap: 10px; }
  .filters__selects .filt:last-child { grid-column: 1 / -1; }
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--rule); background: transparent; cursor: pointer;
  font-family: var(--display); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
}
.chip:hover { border-color: var(--stem); }
.chip[aria-pressed="true"] { background: var(--stem); color: var(--dew); border-color: var(--stem); }
.chip i { width: 11px; height: 11px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(33,39,28,.18); }
@media (max-width: 760px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
}

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) var(--sp-gap); }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; } }

.card { position: relative; display: flex; flex-direction: column; }
.card__img {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sw-bg, var(--sage));
  cursor: pointer; border: 0; padding: 0; width: 100%; display: block;
}
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.035); }
.ph { position: absolute; inset: 0; display: grid; place-items: center; }
.ph::before {
  content: ""; width: 44%; aspect-ratio: 800 / 1216; background: var(--sw-fg, var(--dew)); opacity: .9;
  -webkit-mask: url(/assets/brand/stamp-dew.png) center / contain no-repeat; mask: url(/assets/brand/stamp-dew.png) center / contain no-repeat;
}
.ph span { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--sw-fg); font: 9.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.card__heart {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(243, 246, 238, .92); border: 0; cursor: pointer; color: var(--stem);
}
.card__heart svg { width: 19px; height: 19px; }
.card__heart[aria-pressed="true"] svg path { fill: currentColor; }
.card__flag { position: absolute; top: 10px; left: 10px; }
.tag { display: inline-block; padding: 7px 9px 4px; background: var(--paper); color: var(--forest); font: 9.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.tag--dark { background: var(--forest); color: var(--dew); }
.tag--rare { background: var(--lavender); }
.tag--out { background: var(--cosmo); color: var(--dew); }
.card__meta { padding-top: 14px; display: grid; gap: 6px; }
.card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card__name { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.12; cursor: pointer; }
.card__price { font-family: var(--serif); font-size: 19px; white-space: nowrap; }
.card__spec { font-family: var(--display); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.6; }
.card__add { margin-top: 8px; min-height: 40px; font-size: 10.5px; padding: 0 14px; }
.card.is-out .card__img { filter: grayscale(.5); opacity: .7; }
.empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* ── waitlist ── */
.waitlist { position: relative; overflow: hidden; background: var(--forest); color: var(--dew); padding: var(--sp-section) 0; }
.waitlist__stamp {
  position: absolute; right: -6%; bottom: -10%; width: clamp(240px, 34vw, 520px); aspect-ratio: 800 / 1216; background: var(--stem); opacity: .55;
  -webkit-mask: url(/assets/brand/stamp-dew.png) center / contain no-repeat; mask: url(/assets/brand/stamp-dew.png) center / contain no-repeat;
}
.waitlist__in { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.waitlist__copy .sub { margin: 0 0 14px; opacity: .8; }
.waitlist__copy .sec-title { margin-bottom: 22px; }
.waitlist__copy p { max-width: 28em; opacity: .9; }
.waitlist__note { font-family: var(--display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border-top: 1px solid var(--rule-light); padding-top: 18px; margin-top: 28px; }
.waitlist__note:empty { display: none; }
.wl-form { display: grid; gap: 22px; }
.wl-form .input, .wl-form .select, .wl-form .textarea { border-color: var(--rule-light); }
.wl-form .input:focus, .wl-form .select:focus, .wl-form .textarea:focus { border-color: var(--dew); outline: none; }
.wl-form .select option { color: var(--forest); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .waitlist__in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.radios { border: 0; padding: 0; margin: 0; min-width: 0; }
.radios__row { display: flex; gap: 8px; min-height: 50px; }
.radios__row label { flex: 1; display: grid; place-items: center; border: 1px solid var(--rule-light); cursor: pointer; font-size: 17px; padding: 0 6px; text-align: center; }
.radios__row input { position: absolute; opacity: 0; }
.radios__row label:has(input:checked) { background: var(--dew); color: var(--forest); border-color: var(--dew); }
.radios__row label:has(input:focus-visible) { outline: 2px solid var(--sage); outline-offset: 2px; }
.mylist { display: flex; flex-wrap: wrap; gap: 8px; min-height: 50px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); }
.mylist em { opacity: .6; font-size: 17px; }
.mylist button { display: inline-flex; gap: 8px; align-items: center; background: var(--stem); color: var(--dew); border: 0; padding: 8px 12px; cursor: pointer; font-size: 16px; }
.mylist button b { font-weight: 400; opacity: .7; }
.wl-form__fine { margin: -4px 0 0; font-size: 15px; opacity: .65; text-align: center; }
.wl-form .is-bad { border-color: var(--dahlia) !important; }
.wl-done { text-align: center; padding: 30px 0; }
.wl-done img { width: 90px; margin: 0 auto 22px; }
.wl-done p { opacity: .85; }

/* ── ship ── */
.ship { display: grid; grid-template-columns: 1fr 1fr; padding-top: var(--sp-section); padding-bottom: var(--sp-section); }
.ship__col { padding-right: clamp(18px, 4vw, 60px); }
.ship__col + .ship__col { padding: 0 0 0 clamp(18px, 4vw, 60px); border-left: 1px solid var(--rule); }
.ship__big { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; margin: 14px 0 0; }
@media (max-width: 760px) { .ship { grid-template-columns: 1fr; gap: 40px; } .ship__col, .ship__col + .ship__col { padding: 0; border: 0; } }

/* ── faq ── */
.faq { border-top: 1px solid var(--rule); padding: var(--sp-section) 0; }
.faq__in { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 90px); }
.faq__list details { border-bottom: 1px solid var(--rule); }
.faq__list details:first-child { border-top: 1px solid var(--rule); }
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: clamp(20px, 2vw, 24px); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--sage); }
.faq__list details[open] summary::after { content: "–"; }
.faq__list p { margin: -6px 0 24px; color: var(--ink-soft); max-width: 40em; }
@media (max-width: 820px) { .faq__in { grid-template-columns: 1fr; } }

/* ── newsletter band + footer ── */
.news { background: var(--stem); color: var(--dew); border-bottom: 1px solid var(--rule-light); }
.news__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; padding-top: var(--sp-section-sm); padding-bottom: var(--sp-section-sm); }
.news__copy .sub { margin: 0 0 12px; opacity: .8; }
.news__copy h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 12px; }
.news__copy p:last-child { margin: 0; opacity: .88; max-width: 30em; }
.news__form { display: flex; gap: 10px; flex-wrap: wrap; }
.news__form .input { flex: 1 1 220px; border-color: var(--rule-light); color: var(--dew); }
.news__form .input:focus { outline: none; border-color: var(--dew); }
.news__form .is-bad { border-color: var(--dahlia) !important; }
.news__done { margin: 0; font-family: var(--script); font-size: 26px; line-height: 1.3; }
@media (max-width: 760px) { .news__in { grid-template-columns: 1fr; } .news__form .btn { width: 100%; } }
.foot { background: var(--forest); color: var(--dew); padding: var(--sp-section) 0 28px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px 28px; }
.foot__mark { width: 220px; height: auto; }
.foot__place { font: 10px/1.6 var(--display); letter-spacing: .16em; text-transform: uppercase; opacity: .65; margin: 14px 0 18px; }
.foot__sig { width: 170px; height: auto; opacity: .85; }
.foot__col { display: grid; gap: 10px; align-content: start; font-size: 17px; }
.foot__col .sub { font-size: 10px; opacity: .6; margin: 0 0 4px; }
.foot__col a { text-decoration: none; opacity: .88; width: fit-content; border-bottom: 1px solid transparent; }
.foot__col a:hover, .foot__col a[aria-current="page"] { opacity: 1; border-bottom-color: var(--sage); }
.foot__base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--rule-light); font: 10px/1.5 var(--display); letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
@media (max-width: 960px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ── newsletter popup ── */
.pop { position: fixed; z-index: 150; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  width: min(560px, calc(100% - 32px)); display: grid; grid-template-columns: 180px 1fr; background: var(--paper); box-shadow: 0 18px 60px rgba(33,39,28,.28);
  opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pop.show { opacity: 1; transform: none; }
.pop__img { width: 100%; height: 100%; object-fit: cover; }
.pop__body { padding: 26px 24px 24px; display: grid; gap: 10px; }
.pop__body .sub { margin: 0; color: var(--ink-soft); font-size: 10px; }
.pop__body h2 { font-size: 28px; line-height: 1.1; }
.pop__body p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.pop__form { display: grid; gap: 8px; margin-top: 6px; }
.pop__form .input { min-height: 44px; font-size: 16px; }
.pop__form .btn { min-height: 44px; }
.pop__x { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; background: none; font: 300 26px/1 var(--sans); cursor: pointer; color: var(--ink); }
@media (max-width: 560px) { .pop { grid-template-columns: 1fr; } .pop__img { height: 140px; } }

/* ── instagram strip ── */
.ig { padding-top: var(--sp-section); padding-bottom: var(--sp-section); }
.ig__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.ig__head .sec-title { font-size: clamp(30px, 3.6vw, 46px); }
.ig__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.ig__item { display: block; aspect-ratio: 1; overflow: hidden; background: var(--dew); }
.ig__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.ig__item:hover img { transform: scale(1.06); filter: brightness(1.05); }
@media (max-width: 760px) { .ig__grid { grid-template-columns: repeat(4, 1fr); } }

/* ── detail dialog ── */
.detail { border: 0; padding: 0; max-width: min(980px, calc(100% - 32px)); width: 100%; background: var(--paper); color: var(--ink); }
.detail::backdrop { background: rgba(33, 39, 28, .62); }
.detail__in { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.detail__img { position: relative; aspect-ratio: 4 / 5; background: var(--sw-bg); }
.detail__img img { width: 100%; height: 100%; object-fit: cover; }
.detail__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 16px; }
.detail__name { font-size: clamp(34px, 4vw, 50px); }
.detail__desc { margin: 0; color: var(--ink-soft); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 6px 0; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.specs dt { font-family: var(--display); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; padding-top: 5px; color: var(--ink-soft); }
.specs dd { margin: 0; font-size: 17.5px; }
.detail__buy { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.detail__price { font-size: 30px; }
.detail__x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 42px; height: 42px; border: 0; background: var(--paper); cursor: pointer; font-size: 26px; line-height: 1; font-family: var(--sans); font-weight: 300; }
@media (max-width: 760px) {
  .detail { max-width: 100%; max-height: 100%; height: 100%; margin: 0; }
  .detail__in { grid-template-columns: 1fr; }
  .detail__img { aspect-ratio: 1 / 1; }
}

/* ── drawer ── */
.drawer { position: fixed; inset: 0; z-index: 120; background: rgba(33, 39, 28, .5); display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none; }
.drawer__panel { width: min(440px, 100%); height: 100%; background: var(--paper); display: flex; flex-direction: column; animation: slide .35s var(--ease); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--rule); position: relative; }
.drawer__head h2 { font-size: 30px; }
.drawer__head .detail__x { position: static; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.line__img { width: 64px; aspect-ratio: 4 / 5; background: var(--sw-bg); position: relative; overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__img .ph::before { width: 52%; }
.line__name { font-size: 19px; line-height: 1.15; }
.line__sub { font-family: var(--display); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule); }
.qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 18px; font-family: var(--sans); }
.qty span { min-width: 22px; text-align: center; font-family: var(--sans); font-size: 15px; }
.rm { background: none; border: 0; cursor: pointer; color: var(--ink-soft); font-family: var(--display); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 0; }
.totals { display: flex; justify-content: space-between; align-items: baseline; font-size: 22px; }
.totals small { font-family: var(--display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; display: grid; place-items: center; min-height: 46px; border: 1px solid var(--rule); cursor: pointer; font-size: 17px; text-align: center; padding: 0 6px; }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { background: var(--stem); color: var(--dew); border-color: var(--stem); }
.drawer__empty { text-align: center; padding: 50px 10px; color: var(--ink-soft); }
.drawer__fine { font-size: 15px; color: var(--ink-soft); margin: 0; text-align: center; }

/* ── phase 6: second photo on hover ── */
.card__alt { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
@media (hover: hover) { .card.has-alt:hover .card__alt { opacity: 1; } }
.card__notify { justify-self: start; margin-top: 4px; font-family: var(--display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--stem); }

/* ── collections ── */
.collections { padding-top: var(--sp-section); }
.varieties + .collections { border-top: 1px solid var(--rule); padding-bottom: var(--sp-section); }
.collections .sec-head { margin-bottom: var(--sp-head); align-items: end; }
.collections__lede { max-width: 30em; margin: 0; }
.coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--sp-gap); }
.coll { display: flex; flex-direction: column; background: #fbfcf8; border: 1px solid var(--rule); }
.coll__img { position: relative; border: 0; padding: 0; cursor: pointer; background: var(--sw-bg); aspect-ratio: 4 / 3; overflow: hidden; display: block; width: 100%; }
.coll__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.coll__img .ph::before { width: 26%; }
.coll:hover .coll__img img { transform: scale(1.04); }
.coll__body { padding: var(--sp-card); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.coll__body .eyebrow { margin: 0; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.coll__name { font-size: clamp(26px, 2.4vw, 32px); cursor: pointer; }
.coll__list { margin: 0; font-size: 16.5px; color: var(--ink-soft); line-height: 1.45; }
.coll__buy { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 8px; }
.coll__price { font-size: 28px; }
.coll__buy s { color: var(--ink-soft); font-size: 17px; }
.coll .btn { min-height: 46px; }
.coll.is-out .coll__img { filter: grayscale(.5); opacity: .75; }

/* ── sort ── */
.sort { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.sort .select { min-height: 40px; width: auto; padding: 6px 36px 6px 12px; font-size: 16px; border-color: var(--rule); text-transform: none; letter-spacing: 0; color: var(--ink); }
.filters__status { flex-wrap: wrap; }
.filters__done { display: none; }

/* ── detail: gallery, notes, uses, notify ── */
.detail__media { display: grid; align-content: start; background: var(--sw-bg); }
.detail__thumbs { display: flex; gap: 6px; padding: 8px; background: var(--paper); overflow-x: auto; }
.detail__thumbs button { flex: none; width: 60px; aspect-ratio: 1; padding: 0; border: 2px solid transparent; cursor: pointer; background: none; }
.detail__thumbs button[aria-pressed="true"] { border-color: var(--stem); }
.detail__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail__note { margin: 0; font-size: 26px; line-height: 1.3; }
.detail__contents ul { list-style: none; margin: 8px 0 6px; padding: 0; display: grid; gap: 4px; }
.detail__contents li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.detail__contents .link { font-size: 18px; text-align: left; }
.detail__contents p { margin: 0; }
.uses { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.uses li { border: 1px solid var(--rule); padding: 6px 10px 5px; font: 9.5px/1.2 var(--display); letter-spacing: .13em; text-transform: uppercase; color: var(--stem); }
.notify { display: grid; gap: 10px; }
.notify__lede { margin: 0; color: var(--ink-soft); font-size: 17px; }
.notify__row { display: flex; gap: 8px; }
.notify__row .input { border-color: var(--rule); background: #fbfcf8; }
.notify__row .btn { flex: none; }
.notify__done { margin: 0; color: var(--stem); }
.notify .is-bad { border-color: var(--marigold) !important; }
@media (max-width: 760px) { .detail { overflow-y: auto; } }

/* ── phone: sticky bottom bar + filter sheet ── */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(243, 246, 238, .96); backdrop-filter: blur(8px);
    border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mbar.show { transform: none; }
  .mbar__btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--stem); background: transparent; color: var(--stem); font: 10.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
  .mbar__btn svg { width: 18px; height: 18px; }
  .mbar__btn b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--stem); color: var(--dew); font: 600 11px/1 var(--sans); letter-spacing: 0; }
  .mbar__btn--dark { background: var(--stem); color: var(--dew); }
  body:has(.mbar.show) .foot { padding-bottom: 80px; }
  .pop { bottom: 84px; }

  .filters { transition: transform .4s var(--ease); }
  body.filters-open { overflow: hidden; }
  body.filters-open .filters {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; max-height: 82vh; overflow-y: auto; margin: 0;
    padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); background: var(--paper); border: 0; box-shadow: 0 -20px 60px rgba(21, 27, 18, .35);
    animation: sheet .35s var(--ease);
  }
  body.filters-open::after { content: ""; position: fixed; inset: 0; z-index: 105; background: rgba(33, 39, 28, .5); }
  body.filters-open .filters__done { display: flex; position: sticky; bottom: 0; }
  body.filters-open .mbar { transform: translateY(110%); }
  .sort { margin-left: 0; width: 100%; justify-content: space-between; }
}
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }

/* ── drop countdown ── */
.countdown { margin: 26px auto 0; }
.countdown__label { margin: 0 0 12px; font: 10.5px var(--display); letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.countdown__clock { display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 14px); }
.countdown__clock span { display: grid; justify-items: center; gap: 6px; min-width: clamp(64px, 9vw, 92px); padding: 14px 8px 12px; border: 1px solid var(--rule-light); background: rgba(233,239,227,.06); }
.countdown__clock b { font: 400 clamp(32px, 4.4vw, 52px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.countdown__clock small { font: 9px var(--display); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }

/* ── cart: free shipping bar + add-ons ── */
.shipbar { display: grid; gap: 8px; }
.shipbar p { margin: 0; font-size: 15px; text-align: center; }
.shipbar__track { height: 5px; background: var(--dew); overflow: hidden; }
.shipbar__track i { display: block; height: 100%; background: var(--sage); transition: width .6s var(--ease); }
.shipbar.is-done .shipbar__track i { background: var(--stem); }
.btn--xs { min-height: 34px; padding: 0 12px; font-size: 10px; }

/* ── Spacing rhythm on the shop pages (see site.css for the rule of thumb) */
.intro + .collections { padding-top: 0; }
.varieties + .ship, .varieties + .waitlist[hidden] + .ship { padding-top: 0; }
.collections + .varieties, .intro + .varieties, .ship + .faq { padding-top: var(--sp-section-sm); }
.collections:has(+ .varieties), .ship:has(+ .faq) { padding-bottom: var(--sp-section-sm); }
.intro:has(+ .varieties) { padding-bottom: var(--sp-section-sm); }
.foot__base { border-top: 0; position: relative; }
.foot__base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--rule-light); }

/* sub-items under "Guides & printables" in the Shop menu */
.masthead__nav .dd__menu a.dd__sub { padding-left: 38px; font-size: .92em; opacity: .7; position: relative; }
.masthead__nav .dd__menu a.dd__sub::before { content: ""; position: absolute; left: 24px; top: 50%; width: 7px; border-top: 1px solid currentColor; opacity: .6; }
.masthead__nav .dd__menu a.dd__sub:hover { opacity: 1; }
@media (max-width: 860px) {
  .masthead__nav .dd__menu a.dd__sub { padding-left: 20px; }
  .masthead__nav .dd__menu a.dd__sub::before { left: 6px; }
}

/* promo code in the cart */
.promo { margin: 4px 0 10px; font-size: 14px; }
.promo summary { cursor: pointer; color: var(--stem); font: 400 9.5px/1.4 var(--display); letter-spacing: .14em; text-transform: uppercase; list-style: none; }
.promo summary::-webkit-details-marker { display: none; }
.promo summary::after { content: " +"; }
.promo[open] summary::after { content: " –"; }
.promo__row { display: flex; gap: 8px; margin-top: 8px; }
.promo__row .input { flex: 1; text-transform: uppercase; letter-spacing: .08em; }
.promo__err { margin: 6px 0 0; color: var(--cosmo); font-size: 13.5px; }
.promo--on { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: var(--dew); }
.promo--on span:first-child { flex: 1; }
.totals s { color: var(--ink-soft); font-size: .7em; }
