/* cf-html-v7 · garden editorial store theme.
   Cream paper, deep-green ink, warm sand accents and a serif display voice.
   Full-bleed photo hero with copy on the image, horizontal category rows,
   three-across product cards with round badges, a promise band and a
   two-tier footer (cream columns above, solid green bar below).
   The palette arrives from skin-tokens.css; the garden ramp here is the fallback. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --header-h: 68px;
  --gutter: clamp(18px, 4vw, 44px);
  --shop-max: 1180px;
  --shop-radius: 14px;
  --j-ink: #2E4A35;
  --j-ink-deep: #23362A;
  --j-cream: #FBF8EF;
  --j-paper: #FFFDF7;
  --j-sand: #F0E3C2;
  --j-clay: #B08A4F;
  --j-muted: #63705F;
  --j-line: rgba(46, 74, 53, 0.18);
  --j-line-soft: rgba(46, 74, 53, 0.1);
  --j-shadow: 0 1px 2px rgba(35, 54, 42, 0.05), 0 18px 34px -26px rgba(35, 54, 42, 0.5);
  --j-shadow-hover: 0 2px 6px rgba(35, 54, 42, 0.07), 0 26px 42px -24px rgba(35, 54, 42, 0.42);
  --shop-bg: var(--skin-bg, var(--j-cream));
  --shop-text: var(--skin-text, var(--j-ink));
  --shop-accent: var(--skin-accent, var(--j-clay));
  --shop-heading: var(--skin-heading, "Newsreader", Georgia, "Times New Roman", serif);
  --shop-body: var(--skin-body, Inter, "Helvetica Neue", Arial, sans-serif);
}
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--shop-bg);
  color: var(--shop-text);
  font-family: var(--shop-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 {
  font-family: var(--shop-heading);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
}
::selection { background: var(--j-sand); color: var(--j-ink-deep); }

/* ---------- shared chrome ---------- */
.wrap {
  width: 100%; max-width: var(--shop-max);
  margin-inline: auto; padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 10px; top: -60px; z-index: 60;
  padding: 10px 18px; border-radius: 999px;
  background: var(--j-ink); color: var(--j-cream); font-size: 13px; text-decoration: none;
}
.skip:focus { top: 10px; }
.eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--j-clay);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
}
.btn--solid { background: var(--j-sand); color: var(--j-ink-deep); }
.btn--solid:hover { background: var(--j-cream); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; text-decoration: none; white-space: nowrap;
  padding-bottom: 2px; border-bottom: 1px solid var(--j-clay);
}
.link-arrow:hover { color: var(--j-clay); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: var(--shop-bg);
  border-bottom: 1px solid var(--j-line);
}
.site-head__inner {
  width: 100%; max-width: var(--shop-max); margin-inline: auto;
  padding-inline: var(--gutter); min-height: var(--header-h);
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); flex-wrap: wrap;
}
.wordmark {
  order: 1; flex: 0 1 auto; min-width: 0; max-width: 100%;
  text-decoration: none; padding-block: 6px;
  font-family: var(--shop-heading); font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 600; letter-spacing: -0.01em;
}
.site-nav { order: 2; flex: 0 1 auto; min-width: 0; }
.site-nav__list {
  display: flex; flex-wrap: wrap; gap: 4px 18px;
  list-style: none; margin: 0; padding: 0; min-width: 0;
}
.site-nav__list a {
  display: inline-block; padding-block: 4px; font-size: 13px;
  letter-spacing: 0.01em; color: var(--j-muted); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-nav__list a:hover { color: var(--shop-text); border-bottom-color: var(--j-clay); }
.head-link {
  order: 3; flex: 0 0 auto; white-space: nowrap; padding-block: 4px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  text-decoration: none; border-bottom: 1px solid var(--j-clay);
}
.head-link:hover { color: var(--j-clay); }
.search {
  order: 4; position: relative; display: flex; align-items: center; gap: 8px;
  flex: 0 1 230px; min-width: 132px; max-width: 250px; margin-left: auto;
  border-bottom: 1px solid var(--j-line);
}
.search:focus-within { border-bottom-color: var(--shop-text); }
.search__input {
  flex: 1 1 auto; min-width: 0; padding: 8px 0;
  border: 0; border-radius: 0; background: transparent; color: inherit;
  font: inherit; font-size: 13px;
}
.search__input:focus { outline: none; }
.search__input::placeholder {
  color: var(--j-muted); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.search__submit {
  flex: 0 0 auto; padding: 6px 2px 6px 10px; border: 0; background: transparent;
  cursor: pointer; font: inherit; font-size: 14px; line-height: 1;
  color: var(--j-muted);
}
.search__submit:hover { color: var(--shop-text); }
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 45;
  max-height: 60vh; overflow: auto; padding: 6px;
  background: var(--j-paper); border: 1px solid var(--j-line);
  border-radius: 12px; box-shadow: var(--j-shadow-hover);
}
.search-results a {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 9px 10px; border-radius: 8px; font-size: 13px; text-decoration: none;
}
.search-results a:hover { background: var(--j-sand); }
.search-results .empty { padding: 10px; color: var(--j-muted); font-size: 12px; }
.cart-link {
  order: 5; flex: 0 0 auto;
  white-space: nowrap; text-decoration: none;
  padding: 8px 16px; border-radius: 999px;
  background: var(--j-sand); color: var(--j-ink-deep);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
}
.cart-link:hover { background: var(--j-cream); box-shadow: inset 0 0 0 1px var(--j-line); }
.menu-toggle {
  display: none; order: 6; cursor: pointer; padding-block: 4px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  border-bottom: 1px solid var(--j-clay);
}
.menu-check { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- hero (full-bleed photo band) ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end;
  width: 100%; min-height: clamp(400px, 50vw, 580px);
  background: var(--j-ink); overflow: hidden;
}
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0; display: block;
  background: linear-gradient(180deg,
    rgba(35, 54, 42, 0.06) 0%, rgba(35, 54, 42, 0.34) 52%, rgba(35, 54, 42, 0.86) 100%);
}
.hero__copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding-block: clamp(34px, 6vw, 68px);
  color: var(--j-cream);
}
.hero__kicker {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--j-sand);
}
.hero__title { max-width: 18ch; font-size: clamp(36px, 6.4vw, 76px); }
.hero__lede { max-width: 46ch; font-size: clamp(14px, 1.3vw, 16px); color: rgba(251, 248, 239, 0.82); }
.hero .btn { margin-top: 8px; }

/* ---------- promise band ---------- */
.promise { background: var(--j-sand); border-bottom: 1px solid var(--j-line-soft); }
.promise__inner {
  display: flex; flex-wrap: wrap; gap: 10px 34px;
  justify-content: center; align-items: center; padding-block: 16px;
}
.promise__item {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--j-ink-deep);
}
.promise__mark { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 999px; background: var(--j-clay); }

/* ---------- sections ---------- */
.section {
  width: 100%; max-width: var(--shop-max);
  margin: clamp(38px, 6vw, 76px) auto 0; padding-inline: var(--gutter);
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 14px 24px; margin-bottom: clamp(18px, 2.4vw, 28px);
  padding-bottom: 14px; border-bottom: 1px solid var(--j-line-soft);
}
.section-head__title { margin-top: 8px; font-size: clamp(24px, 3vw, 36px); }

/* ---------- category rows ---------- */
.cat-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  list-style: none; margin: 0; padding: 0;
}
.cat { min-width: 0; }
.cat__link {
  display: flex; align-items: center; gap: 14px; height: 100%; min-width: 0;
  padding: 12px; text-decoration: none;
  background: var(--j-paper); border: 1px solid var(--j-line-soft);
  border-radius: var(--shop-radius); box-shadow: var(--j-shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.cat__link:hover { box-shadow: var(--j-shadow-hover); transform: translateY(-2px); }
.cat__photo {
  flex: 0 0 auto; width: 72px; height: 72px; border-radius: 10px;
  object-fit: cover; background: var(--j-sand);
}
.cat__photo ~ .cat__photo { display: none; }
.cat__text { display: flex; align-items: center; min-width: 0; flex: 1 1 auto; }
.cat__name { font-family: var(--shop-heading); font-size: 19px; line-height: 1.15; }
.cat__arrow { flex: 0 0 auto; margin-left: auto; color: var(--j-clay); font-size: 15px; }

/* ---------- product cards ---------- */
.grid-products {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--j-paper); border: 1px solid var(--j-line-soft);
  border-radius: 16px; box-shadow: var(--j-shadow); overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover { box-shadow: var(--j-shadow-hover); transform: translateY(-3px); }
.card__media {
  position: relative; display: block; aspect-ratio: 4 / 5;
  overflow: hidden; background: var(--j-sand);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__empty, .pdp__empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--j-muted);
}
.pill {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  background: var(--j-sand); color: var(--j-ink-deep);
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
}
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.card__title {
  font-family: var(--shop-body); font-size: 15px; font-weight: 500;
  line-height: 1.4; letter-spacing: 0;
}
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--j-clay); }
.card__price { font-size: 14px; }
.card__price s { margin-right: 8px; color: var(--j-muted); }

/* ---------- collection page ---------- */
.crumbs {
  width: 100%; max-width: var(--shop-max); margin: 22px auto 0;
  padding-inline: var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--j-muted);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--shop-text); }
.collection-head {
  width: 100%; max-width: var(--shop-max); margin: 16px auto 0;
  padding-inline: var(--gutter);
}
.collection-head__title { margin-top: 10px; font-size: clamp(32px, 5vw, 58px); }
.collection-head__lede { margin-top: 14px; max-width: 56ch; font-size: 15px; color: var(--j-muted); }

/* ---------- product page ---------- */
.pdp {
  width: 100%; max-width: var(--shop-max);
  margin: clamp(20px, 3vw, 36px) auto 0; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px); align-items: start;
}
.pdp__media {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1;
  background: var(--j-paper); border: 1px solid var(--j-line-soft);
  border-radius: 20px; box-shadow: var(--j-shadow);
}
.pdp__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp__facts { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pdp__title { font-size: clamp(28px, 4vw, 48px); }
.pdp__save {
  align-self: flex-start; padding: 4px 12px; border-radius: 999px;
  background: var(--j-sand); color: var(--j-ink-deep);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
}
.pdp__price { font-size: clamp(20px, 2.2vw, 26px); }
.pdp__price s { margin-right: 10px; font-size: 0.7em; color: var(--j-muted); }
.pdp__note {
  max-width: 46ch; padding-top: 16px; font-size: 14px; color: var(--j-muted);
  border-top: 1px solid var(--j-line-soft);
}
.buy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pdp__source {
  align-self: flex-start; padding-bottom: 2px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  text-decoration: none; border-bottom: 1px solid var(--j-clay);
}
.pdp__source:hover { color: var(--j-clay); }

/* ---------- note band (field direction) ---------- */
.note-band {
  margin-top: clamp(38px, 6vw, 76px);
  background: var(--j-paper);
  border-top: 1px solid var(--j-line-soft);
  border-bottom: 1px solid var(--j-line-soft);
}
.note-band__inner {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding-block: clamp(30px, 4.5vw, 54px); text-align: center;
}
.note-band__line {
  max-width: 62ch; font-family: var(--shop-heading);
  font-size: clamp(18px, 2.2vw, 24px); line-height: 1.38;
}

/* ---------- footer ---------- */
.foot { margin-top: clamp(48px, 7vw, 96px); }
.foot__upper {
  background: var(--j-cream);
  border-top: 1px solid var(--j-line);
  padding-block: clamp(34px, 5vw, 60px) clamp(28px, 4vw, 46px);
}
.foot__inner {
  width: 100%; max-width: var(--shop-max); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; flex-direction: column; gap: clamp(24px, 3.4vw, 40px);
}
.foot__brand { display: flex; flex-direction: column; gap: 8px; max-width: 44ch; }
.foot__mark { font-family: var(--shop-heading); font-size: clamp(22px, 2.4vw, 28px); }
.foot__note { font-size: 14px; color: var(--j-muted); }
.foot__cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.foot__col { display: flex; flex-direction: column; gap: 9px; min-width: 0; font-size: 14px; }
.foot__title {
  margin-bottom: 2px; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--j-clay);
}
.foot__col a { text-decoration: none; }
.foot__col a:hover { color: var(--j-clay); }
.foot__col p { color: var(--j-muted); }
.foot__bar { background: var(--j-ink); color: var(--j-cream); }
.foot__bar-inner {
  width: 100%; max-width: var(--shop-max); margin-inline: auto;
  padding: 16px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px; font-size: 12px;
}
.foot__legal { color: rgba(251, 248, 239, 0.78); letter-spacing: 0.02em; }
.foot__policies {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  list-style: none; margin: 0; padding: 0;
}
.foot__policies a {
  font-size: 12px; letter-spacing: 0.04em; text-decoration: none;
  color: rgba(251, 248, 239, 0.9);
}
.foot__policies a:hover { color: var(--j-sand); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-head__inner { gap: 10px 14px; padding-block: 4px; }
  .site-nav {
    order: 4; flex: 1 1 100%; width: 100%;
    display: none; margin-top: 4px; border-top: 1px solid var(--j-line-soft);
  }
  .menu-check:checked ~ .site-nav { display: block; }
  .site-nav__list { flex-direction: column; align-items: flex-start; gap: 2px; padding-block: 8px; }
  .site-nav__list a { display: block; padding-block: 7px; font-size: 14px; }
  .menu-toggle { display: inline-block; order: 2; margin-left: auto; }
  .cart-link { order: 3; padding: 7px 13px; }
  .cat__photo { width: 84px; height: 84px; }
  .head-link { display: none; }
  .search { order: 5; flex: 1 1 100%; max-width: none; margin-left: 0; margin-bottom: 10px; }
  .hero { min-height: 420px; }
  .hero__copy { gap: 12px; padding-block: 32px 30px; }
  .hero__title { font-size: clamp(30px, 9.5vw, 42px); }
  .promise__inner { justify-content: flex-start; gap: 8px 22px; }
  .section { margin-top: 38px; }
  .cat-list { grid-template-columns: 1fr; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 14px; }
  .card__body { padding: 12px 12px 15px; }
  .card__title { font-size: 14px; }
  .pdp__media { border-radius: 16px; }
  .foot__cols { grid-template-columns: 1fr; }
  .foot__bar-inner { flex-direction: column; align-items: flex-start; }
}

/* Keep long product titles and the full-bleed hero inside the viewport at
   390px and 1440px: shrink the boxes, do not mask with overflow-x hidden. */
h1, h2, h3, .wordmark, .cat__name, .card__title, .foot__mark { overflow-wrap: anywhere; word-break: normal; }
.hero, .section, .grid-products, .cat-list, .pdp, .foot__cols, .promise__inner { min-width: 0; max-width: 100%; }
.grid-products > *, .cat-list > *, .foot__cols > *, .pdp > * { min-width: 0; }
img { max-width: 100%; height: auto; }
