/* Joubert Crafts — loom.css
 * Soft, rounded, warm-cream design system. Class prefix: wm-
 * CSS variables come from inline <style> in head.php (config-driven).
 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wm-milk);
  color: var(--wm-thread);
  font-family: 'Nunito', -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
a:hover { color: var(--wm-plum); }

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', 'Georgia', serif;
  font-weight: 400;
  letter-spacing: -0.012em;
  margin: 0 0 .6em;
  color: var(--wm-thread);
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; font-family: 'Nunito', sans-serif; }
h4 { font-family: 'Nunito', sans-serif; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
p  { margin: 0 0 1rem; }

.wm-skip { position: absolute; top: -100px; left: 0; background: var(--wm-plum); color: var(--wm-milk); padding: .6rem 1rem; z-index: 999; border-radius: 0 0 8px 0; }
.wm-skip:focus { top: 0; }

.wm-shell { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wm-dust { color: var(--wm-dust); }
.wm-kicker { font-family: 'Nunito', sans-serif; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wm-rose); font-weight: 700; margin: 0 0 1rem; }

/* CTAs — pill, soft */
.wm-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem;
  font: 700 .92rem/1 'Nunito', sans-serif; letter-spacing: .03em;
  text-decoration: none; cursor: pointer;
  border-radius: 999px; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.wm-cta:active { transform: translateY(1px); }
.wm-cta--plum { background: var(--wm-plum); color: var(--wm-milk); border-color: var(--wm-plum); }
.wm-cta--plum:hover { background: var(--wm-thread); border-color: var(--wm-thread); color: var(--wm-milk); }
.wm-cta--ghost { background: transparent; color: var(--wm-plum); border-color: var(--wm-plum); }
.wm-cta--ghost:hover { background: var(--wm-plum); color: var(--wm-milk); }
.wm-cta--big { padding: 1rem 1.9rem; font-size: 1rem; }
.wm-cta--full { width: 100%; }

.wm-arrow { color: var(--wm-plum); text-decoration: none; font-weight: 700; border-bottom: 2px dotted var(--wm-rose); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.wm-arrow:hover { color: var(--wm-rose); border-color: var(--wm-plum); }
.wm-arrow--back { display: inline-block; margin-top: 1rem; }

/* Promo strip */
.wm-promo { background: var(--wm-rose); color: var(--wm-milk); padding: .55rem 0; text-align: center; font-size: .82rem; letter-spacing: .04em; font-weight: 600; }

/* Top */
.wm-top { background: var(--wm-milk); border-bottom: 1px solid var(--wm-line); position: sticky; top: 0; z-index: 50; }
.wm-top__row { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 28px; gap: 1.5rem; }

.wm-brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: inherit; }
.wm-brand__circle { color: var(--wm-plum); width: 42px; height: 42px; border-radius: 50%; background: var(--wm-wool); display: inline-flex; align-items: center; justify-content: center; }
.wm-brand__name { display: flex; align-items: baseline; gap: .35rem; }
.wm-brand__name strong { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.5rem; color: var(--wm-thread); }
.wm-brand__name em { font-style: italic; font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: var(--wm-rose); }

.wm-top__tools { display: flex; align-items: center; gap: .4rem; }
.wm-icon, .wm-bag { padding: 8px; color: var(--wm-thread); display: inline-flex; align-items: center; gap: 4px; text-decoration: none; position: relative; border-radius: 999px; }
.wm-icon:hover, .wm-bag:hover { background: var(--wm-wool); color: var(--wm-plum); }
.wm-bag__chip {
  background: var(--wm-plum); color: var(--wm-milk);
  font-size: .7rem; padding: 2px 7px; border-radius: 10px;
  font-weight: 700; min-width: 20px; text-align: center;
}

.wm-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.wm-burger span { display: block; width: 22px; height: 2px; background: var(--wm-thread); margin: 4px 0; border-radius: 1px; }

/* Centered nav under top row */
.wm-nav { display: flex; justify-content: center; align-items: center; gap: .9rem; padding: .9rem 28px; border-top: 1px dotted var(--wm-line); flex-wrap: wrap; font-size: .92rem; }
.wm-nav a { text-decoration: none; color: var(--wm-thread); font-weight: 500; padding: 4px 0; transition: color .2s; }
.wm-nav a:hover { color: var(--wm-plum); }
.wm-nav span { color: var(--wm-rose); opacity: .6; }

/* Mobile drawer */
.wm-tray { display: none; flex-direction: column; padding: 1rem 28px; border-top: 1px solid var(--wm-line); background: var(--wm-wool); }
.wm-tray a { padding: .6rem 0; text-decoration: none; border-bottom: 1px dotted var(--wm-line); font-size: 1rem; }
.wm-tray.is-on { display: flex; }

/* Opening hero */
.wm-open { padding: clamp(3rem, 7vw, 5.5rem) 0; border-bottom: 1px solid var(--wm-line); background: linear-gradient(180deg, var(--wm-milk) 0%, var(--wm-wool) 100%); }
.wm-open__inside { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; }
.wm-open__hd { font-style: italic; }
.wm-open__sub { font-size: 1.12rem; color: var(--wm-dust); max-width: 56ch; margin-bottom: 2rem; }
.wm-open__row { display: flex; gap: 1rem; flex-wrap: wrap; }
.wm-open__art { margin: 0; max-width: 380px; aspect-ratio: 1/1; }
.wm-open__art svg { width: 100%; height: 100%; }

/* Belt with feature cells */
.wm-belt { padding: 2.8rem 0; background: var(--wm-wool); border-bottom: 1px solid var(--wm-line); }
.wm-belt__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.wm-belt__cell { padding: .5rem 1rem .5rem 0; }
.wm-belt__num { display: inline-block; font-family: 'DM Serif Display', serif; font-style: italic; font-size: 1.4rem; color: var(--wm-rose); margin-bottom: .5rem; }
.wm-belt__cell h3 { font-size: 1.05rem; margin: 0 0 .4rem; color: var(--wm-thread); font-family: 'DM Serif Display', serif; font-weight: 400; font-style: italic; }
.wm-belt__cell p { font-size: .9rem; color: var(--wm-dust); margin: 0; line-height: 1.6; }

/* Sections */
.wm-set { padding: clamp(3rem, 6vw, 5rem) 0; }
.wm-set--sections { background: var(--wm-plum); color: var(--wm-milk); }
.wm-set--sections h2, .wm-set--sections h3, .wm-set--sections h4 { color: var(--wm-milk); }
.wm-set--reviews { background: var(--wm-wool); border-top: 1px solid var(--wm-line); }
.wm-set__head { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px dotted var(--wm-line); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wm-set__head--c { justify-content: center; text-align: center; border-bottom-color: rgba(250,241,232,.2); }
.wm-set__head h2 { font-style: italic; margin: 0; }

/* Product card grid */
.wm-grid { display: grid; gap: 2rem; }
.wm-grid--three { grid-template-columns: repeat(3, 1fr); }

.wm-product {
  background: var(--wm-wool);
  border: 1px solid var(--wm-line);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.wm-product:hover {
  border-color: var(--wm-rose);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(107,61,82,.10);
}
.wm-product__photo { display: block; aspect-ratio: 1/1; overflow: hidden; position: relative; background: var(--wm-milk); }
.wm-product__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.wm-product:hover .wm-product__photo img { transform: scale(1.05); }
.wm-product__words { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.wm-product__name { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.18rem; line-height: 1.25; color: var(--wm-thread); text-decoration: none; }
.wm-product__name:hover { color: var(--wm-plum); }
.wm-product__tease { font-size: .88rem; color: var(--wm-dust); margin: 0; line-height: 1.55; }
.wm-product__rate { font-size: .85rem; color: var(--wm-dust); display: flex; align-items: center; gap: .4rem; margin-top: auto; }
.wm-product__buy { display: flex; align-items: center; padding-top: .8rem; border-top: 1px dotted var(--wm-line); }
.wm-product__buy .wm-pop { margin-left: auto; }

/* Stars (SVG) */
.wm-stars { display: inline-flex; gap: 1px; align-items: center; }
.wm-star { color: var(--wm-line); }
.wm-star--on { color: var(--wm-rose); fill: var(--wm-rose); }
.wm-star--half { color: var(--wm-rose); fill: var(--wm-rose); opacity: .5; }
.wm-star { fill: currentColor; }

/* Badges */
.wm-badge {
  position: absolute; top: 14px; left: 14px;
  padding: .3rem .8rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px; font-weight: 700;
}
.wm-badge--sale { background: var(--wm-cherry); color: var(--wm-milk); }
.wm-badge--best { background: var(--wm-plum); color: var(--wm-milk); }
.wm-badge--new  { background: var(--wm-sage); color: var(--wm-milk); }
.wm-badge--mute { background: var(--wm-wool); color: var(--wm-thread); border: 1px solid var(--wm-line); }

/* Prices */
.wm-pricepair { display: flex; align-items: baseline; gap: .55rem; }
.wm-now { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.2rem; color: var(--wm-thread); }
.wm-was { font-size: .85rem; color: var(--wm-dust); text-decoration: line-through; }
.wm-now--big { font-size: 2.1rem; color: var(--wm-plum); }
.wm-was--big { font-size: 1rem; }

/* Add (small product card) */
.wm-pop {
  background: var(--wm-rose); color: var(--wm-milk);
  border: 0; padding: .55rem 1.1rem;
  font: 700 .8rem 'Nunito', sans-serif; letter-spacing: .05em;
  border-radius: 999px; cursor: pointer; transition: background .2s;
}
.wm-pop:hover { background: var(--wm-plum); }
.wm-pop:disabled { opacity: .7; }

/* Section grid */
.wm-secgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.wm-secgrid a {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 1.2rem;
  padding: 1.6rem 2rem; text-decoration: none;
  background: rgba(250,241,232,.06);
  border: 1.5px dotted rgba(250,241,232,.3);
  border-radius: 14px;
  color: var(--wm-milk);
  transition: background .2s, border-color .2s;
}
.wm-secgrid a:hover { background: rgba(250,241,232,.12); border-color: var(--wm-rose); border-style: solid; }
.wm-secgrid__name { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 1.4rem; }
.wm-secgrid__line { height: 1px; background: rgba(250,241,232,.2); }
.wm-secgrid__arr { color: var(--wm-rose); font-size: 1.4rem; transition: transform .2s; }
.wm-secgrid a:hover .wm-secgrid__arr { transform: translateX(4px); }

/* Reviews */
.wm-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.wm-review { background: var(--wm-milk); border: 1px solid var(--wm-line); padding: 1.8rem; border-radius: 14px; display: flex; flex-direction: column; gap: .8rem; }
.wm-review__rate { font-size: 1.1rem; }
.wm-review blockquote { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 1.05rem; line-height: 1.45; margin: 0; color: var(--wm-thread); }
.wm-review__sig { font-size: .85rem; margin: 0; }

/* Page heads */
.wm-pagehead { padding: 3rem 0 2rem; border-bottom: 1px solid var(--wm-line); }
.wm-pagehead--c { text-align: center; }
.wm-pagehead--c .wm-pagehead__sub { margin: 0 auto; }
.wm-trail { font-size: .82rem; letter-spacing: .04em; color: var(--wm-dust); margin: 0 0 1rem; }
.wm-trail span { margin: 0 .4rem; opacity: .5; }
.wm-trail a { text-decoration: none; }
.wm-trail a:hover { color: var(--wm-plum); }
.wm-pagehead h1 { margin: 0 0 .8rem; font-style: italic; }
.wm-pagehead__sub { font-size: 1.1rem; color: var(--wm-dust); max-width: 64ch; margin: 0; }

/* Shop / catalog */
.wm-shop { padding: 3rem 0 5rem; }
.wm-shop__layout { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; }
.wm-rail__hd { font-family: 'Nunito', sans-serif; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wm-dust); font-weight: 700; margin: 0 0 .8rem; padding-bottom: .5rem; border-bottom: 2px dotted var(--wm-line); }
.wm-rail__list { list-style: none; padding: 0; margin: 0 0 2.5rem; }
.wm-rail__a { display: flex; align-items: center; justify-content: space-between; padding: .55rem .8rem; text-decoration: none; color: var(--wm-dust); font-size: .95rem; border-radius: 999px; transition: background .2s, color .2s; }
.wm-rail__a:hover { color: var(--wm-thread); background: var(--wm-wool); }
.wm-rail__a.is-on { color: var(--wm-plum); background: var(--wm-wool); font-weight: 700; }
.wm-rail__a em { font-style: normal; font-size: .75rem; color: var(--wm-dust); background: var(--wm-milk); border-radius: 12px; padding: 1px 9px; }
.wm-rail__notes { list-style: '— '; padding-left: 1rem; margin: 0; font-size: .85rem; color: var(--wm-dust); }
.wm-rail__notes li { margin-bottom: .55rem; }
.wm-shop__bar { padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 2px dotted var(--wm-line); }
.wm-empty { text-align: center; padding: 3rem; color: var(--wm-dust); }

/* Item / product page */
.wm-item { padding: 2rem 0 5rem; }
.wm-item__pair { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; margin-top: 2rem; }
.wm-item__big { position: relative; aspect-ratio: 1/1; background: var(--wm-wool); border: 1px solid var(--wm-line); border-radius: 14px; overflow: hidden; }
.wm-item__big img { width: 100%; height: 100%; object-fit: cover; }
.wm-item__strip { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.wm-item__strip button { padding: 0; border: 1px solid var(--wm-line); background: var(--wm-wool); cursor: pointer; aspect-ratio: 1/1; overflow: hidden; border-radius: 10px; transition: border-color .2s; }
.wm-item__strip button:hover { border-color: var(--wm-rose); }
.wm-item__strip img { width: 100%; height: 100%; object-fit: cover; }
.wm-item__sku { margin: 0 0 .5rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.wm-item__hd { font-style: italic; margin-bottom: .8rem; }
.wm-item__rate { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem; font-size: .9rem; }
.wm-item__tease { font-size: 1.08rem; color: var(--wm-dust); margin-bottom: 2rem; line-height: 1.6; }
.wm-item__pricebox { padding: 1.4rem 0; border-top: 2px dotted var(--wm-rose); border-bottom: 1px solid var(--wm-line); margin-bottom: 1.5rem; }
.wm-item__taxnote { margin: .6rem 0 0; font-size: .85rem; }

.wm-item__form { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.wm-stepper { display: inline-flex; align-items: center; border: 2px solid var(--wm-plum); border-radius: 999px; overflow: hidden; }
.wm-stepper span { padding: 0 1rem; font-size: .8rem; color: var(--wm-dust); border-right: 1px dotted var(--wm-line); }
.wm-stepper button { padding: .65rem 1rem; background: transparent; border: 0; cursor: pointer; font-size: 1.1rem; color: var(--wm-plum); font-weight: 700; }
.wm-stepper button:hover { background: var(--wm-wool); }
.wm-stepper input { width: 40px; text-align: center; border: 0; padding: .65rem 0; background: transparent; font: 700 1rem 'Nunito', sans-serif; color: var(--wm-thread); }
.wm-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.wm-item__assure { list-style: none; padding: 1rem 0 0; margin: 0; border-top: 1px dotted var(--wm-line); display: flex; flex-direction: column; gap: .55rem; font-size: .9rem; color: var(--wm-dust); }
.wm-item__assure li::before { content: '❀'; color: var(--wm-rose); margin-right: .6rem; font-size: .8rem; }

.wm-item__detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; margin-top: 4rem; padding-top: 3rem; border-top: 2px dotted var(--wm-line); }
.wm-item__longread h2 { font-style: italic; }
.wm-item__longread h3 { font-family: 'Nunito', sans-serif; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wm-dust); margin: 1.5rem 0 .8rem; font-weight: 700; }
.wm-bullets { list-style: none; padding: 0; }
.wm-bullets li { padding-left: 1.6rem; position: relative; margin-bottom: .55rem; }
.wm-bullets li::before { content: '✿'; position: absolute; left: 0; color: var(--wm-rose); }
.wm-item__sheet { background: var(--wm-plum); color: var(--wm-milk); padding: 1.6rem; border-radius: 14px; align-self: start; position: sticky; top: 200px; }
.wm-item__sheet h3 { color: var(--wm-milk); font-family: 'DM Serif Display', serif; font-size: 1.1rem; font-style: italic; margin: 0 0 1rem; padding-bottom: .8rem; border-bottom: 1px dotted rgba(250,241,232,.3); font-weight: 400; }
.wm-item__sheet table { width: 100%; border-collapse: collapse; }
.wm-item__sheet th, .wm-item__sheet td { text-align: left; padding: .55rem 0; border-bottom: 1px dotted rgba(250,241,232,.15); font-size: .9rem; vertical-align: top; }
.wm-item__sheet th { font-weight: 600; color: rgba(250,241,232,.7); padding-right: 1rem; width: 42%; }

/* Cart & checkout */
.wm-cart, .wm-pay { padding: 3rem 0 5rem; }
.wm-cart__layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; }
.wm-pay__layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; }
.wm-cart__list, .wm-pay__lines { display: flex; flex-direction: column; gap: 1rem; }
.wm-pay__lines { padding: 0; list-style: none; }

.wm-cartline {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 1.2rem; align-items: center;
  padding: 1.2rem; background: var(--wm-wool); border: 1px solid var(--wm-line); border-radius: 12px;
}
.wm-cartline img { width: 90px; height: 90px; object-fit: cover; border-radius: 8px; }
.wm-cartline__name { font-family: 'DM Serif Display', serif; font-size: 1.1rem; margin: 0 0 .25rem; font-weight: 400; }
.wm-cartline__each { font-size: .85rem; color: var(--wm-dust); margin: 0; }
.wm-cartline__ctrl { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.wm-cartline__ctrl button { width: 26px; height: 26px; border: 1.5px solid var(--wm-rose); background: var(--wm-milk); cursor: pointer; border-radius: 50%; color: var(--wm-plum); font-weight: 700; }
.wm-cartline__ctrl button:hover { background: var(--wm-plum); color: var(--wm-milk); border-color: var(--wm-plum); }
.wm-cartline__rm { background: none; border: 0; color: var(--wm-dust); cursor: pointer; font-size: .8rem; padding: 0; margin-left: .6rem; text-decoration: underline; }
.wm-cartline__rm:hover { color: var(--wm-cherry); }
.wm-cartline__price { font-family: 'DM Serif Display', serif; font-size: 1.2rem; font-weight: 400; color: var(--wm-plum); }

.wm-cart__totals, .wm-pay__totals { background: var(--wm-wool); padding: 1.8rem; border: 2px solid var(--wm-rose); border-radius: 14px; align-self: start; position: sticky; top: 200px; }
.wm-cart__totals h2, .wm-pay__totals h2 { font-style: italic; margin-bottom: 1.2rem; }

.wm-totals { margin: 0 0 1.5rem; padding: 0; }
.wm-totals > div { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dotted var(--wm-line); margin: 0; }
.wm-totals dt { color: var(--wm-dust); margin: 0; font-size: .95rem; }
.wm-totals dd { margin: 0; color: var(--wm-thread); font-weight: 600; }
.wm-totals__final { padding-top: 1rem; border-top: 2px dotted var(--wm-rose); border-bottom: 0; }
.wm-totals__final dt, .wm-totals__final dd { font-family: 'DM Serif Display', serif; font-size: 1.4rem; font-weight: 400; color: var(--wm-plum); }

.wm-cart__note { margin-top: 1rem; font-size: .82rem; }

/* Form bits */
.wm-fset { border: 1.5px dotted var(--wm-line); padding: 1.5rem 1.8rem; margin: 0 0 1.5rem; background: var(--wm-wool); border-radius: 14px; }
.wm-fset legend { font-family: 'DM Serif Display', serif; font-size: 1.25rem; font-weight: 400; padding: 0 .6rem; display: inline-flex; align-items: center; gap: .6rem; }
.wm-fset legend span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--wm-rose); color: var(--wm-milk); font-family: 'Nunito', sans-serif; font-size: .8rem; font-weight: 700; }
.wm-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: .6rem; }
.wm-fgrid__wide { grid-column: 1 / -1; }
.wm-fgrid label { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; color: var(--wm-dust); font-weight: 600; }
.wm-fgrid input, .wm-fgrid select, .wm-fgrid textarea {
  font: inherit; padding: .8rem 1rem; background: var(--wm-milk);
  border: 1.5px solid var(--wm-line); border-radius: 10px; color: var(--wm-thread);
  transition: border-color .2s;
}
.wm-fgrid input:focus, .wm-fgrid select:focus, .wm-fgrid textarea:focus { outline: none; border-color: var(--wm-plum); }
.wm-fhint { font-size: .78rem; color: var(--wm-dust); font-weight: 400; }
.wm-pickline {
  display: flex; gap: .8rem; padding: 1rem 1.2rem; border: 1.5px solid var(--wm-line); border-radius: 12px;
  margin-top: .6rem; cursor: pointer; transition: border-color .2s, background .2s;
}
.wm-pickline:has(input:checked) { border-color: var(--wm-plum); background: var(--wm-milk); }
.wm-pickline input { margin-top: 4px; accent-color: var(--wm-plum); }
.wm-pickline strong { display: block; margin-bottom: .25rem; }
.wm-pickline em { font-style: normal; font-size: .85rem; color: var(--wm-dust); }
.wm-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; margin: 1.5rem 0; }
.wm-consent input { margin-top: 4px; accent-color: var(--wm-plum); }
.wm-secure { font-size: .8rem; color: var(--wm-dust); margin-top: 1rem; display: flex; align-items: center; gap: .4rem; }

/* Reach */
.wm-reach { padding: 3rem 0 5rem; }
.wm-reach__layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; }
.wm-reach__form { display: flex; flex-direction: column; }

/* Prose */
.wm-prose { padding: 3rem 0 5rem; }
.wm-prose__layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 3rem; }
.wm-prose__main { font-size: 1.04rem; line-height: 1.75; max-width: 70ch; }
.wm-prose__main h2 { font-style: italic; margin-top: 2.4rem; }
.wm-prose__rail { display: flex; flex-direction: column; gap: 1rem; align-self: start; position: sticky; top: 200px; }
.wm-aside { background: var(--wm-wool); padding: 1.4rem 1.5rem; border-radius: 14px; border: 1px dotted var(--wm-rose); }
.wm-aside h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wm-rose); margin: 0 0 .6rem; font-family: 'Nunito', sans-serif; font-weight: 700; }
.wm-aside p, .wm-aside address { margin: 0; font-style: normal; font-size: .92rem; line-height: 1.6; }

.wm-prose--legal .wm-shell { max-width: 800px; }
.wm-prose--legal h2 { margin-top: 2.2rem; font-style: italic; }
.wm-shiptable { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .92rem; }
.wm-shiptable th, .wm-shiptable td { padding: .8rem .6rem; text-align: left; border-bottom: 1px dotted var(--wm-line); vertical-align: top; }
.wm-shiptable th { font-weight: 700; background: var(--wm-wool); }

/* Empty / 404 */
.wm-empty-page { padding: 6rem 0; text-align: center; }
.wm-empty-page h1 { font-style: italic; margin: .8rem 0 1rem; }
.wm-empty-page .wm-pagehead__sub { margin: 0 auto; }

/* Footer */
.wm-foot { background: var(--wm-thread); color: var(--wm-milk); padding: 4rem 0 1.5rem; margin-top: 4rem; }
.wm-foot a { color: var(--wm-milk); }
.wm-foot a:hover { color: var(--wm-rose); }
.wm-foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 2px dotted rgba(250,241,232,.18); }
.wm-foot__brand { font-family: 'DM Serif Display', serif; font-size: 1.7rem; margin: 0 0 1rem; font-weight: 400; }
.wm-foot__brand em { font-style: italic; color: var(--wm-rose); }
.wm-foot__line { font-size: .92rem; color: rgba(250,241,232,.7); margin-bottom: 1rem; line-height: 1.6; }
.wm-foot__cell h4 { color: rgba(250,241,232,.6); margin-bottom: 1rem; }
.wm-foot__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.wm-foot__list a { text-decoration: none; font-size: .92rem; }
.wm-foot__addr { font-style: normal; margin: 0 0 .8rem; font-size: .92rem; line-height: 1.6; color: rgba(250,241,232,.85); }
.wm-foot__addr a { text-decoration: none; }
.wm-foot__social { list-style: none; padding: 0; margin: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.wm-foot__social a { text-decoration: none; font-size: .85rem; }
.wm-foot__bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.5rem; flex-wrap: wrap; align-items: center; }
.wm-foot__legal { font-size: .82rem; color: rgba(250,241,232,.6); margin: 0; line-height: 1.7; }
.wm-paychips { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.wm-paychips li { padding: .35rem .8rem; border: 1px dotted rgba(250,241,232,.3); border-radius: 999px; font-size: .75rem; letter-spacing: .04em; font-weight: 600; }

/* Cookie banner */
.wm-cookies {
  position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 520px;
  background: var(--wm-milk); color: var(--wm-thread);
  padding: 1.4rem 1.6rem; border: 2px solid var(--wm-rose); border-radius: 16px;
  z-index: 100; box-shadow: 0 16px 40px rgba(63,42,47,.18);
  display: none;
}
.wm-cookies.is-up { display: block; }
.wm-cookies p { font-size: .92rem; margin: 0 0 1rem; }
.wm-cookies__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.wm-cookies__row button { padding: .6rem 1.2rem; font: 700 .85rem 'Nunito', sans-serif; cursor: pointer; border: 1.5px solid var(--wm-plum); border-radius: 999px; }
.wm-cookies__row button.wm-fr { background: var(--wm-plum); color: var(--wm-milk); }
.wm-cookies__row button.wm-bk { background: var(--wm-milk); color: var(--wm-plum); }

/* Responsive */
@media (max-width: 1024px) {
  .wm-open__inside { grid-template-columns: 1fr; gap: 2rem; }
  .wm-open__art { max-width: 280px; margin: 0 auto; }
  .wm-belt__row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .wm-grid--three { grid-template-columns: repeat(2, 1fr); }
  .wm-secgrid { grid-template-columns: 1fr; }
  .wm-reviews { grid-template-columns: 1fr; }
  .wm-item__pair, .wm-item__detail { grid-template-columns: 1fr; }
  .wm-item__sheet, .wm-cart__totals, .wm-pay__totals, .wm-prose__rail { position: static; }
  .wm-cart__layout, .wm-pay__layout, .wm-reach__layout, .wm-prose__layout { grid-template-columns: 1fr; }
  .wm-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wm-top__row { gap: 1rem; }
  .wm-nav { display: none; }
  .wm-burger { display: block; }
  .wm-brand__name strong { font-size: 1.2rem; }
  .wm-brand__name em { font-size: 1rem; }
  .wm-belt__row { grid-template-columns: 1fr; }
  .wm-grid--three { grid-template-columns: 1fr; }
  .wm-fgrid { grid-template-columns: 1fr; }
  .wm-foot__grid { grid-template-columns: 1fr; }
  .wm-shop__layout { grid-template-columns: 1fr; }
  .wm-item__form { flex-direction: column; align-items: stretch; }
  .wm-item__form .wm-stepper { align-self: flex-start; }
  .wm-cookies { left: 10px; right: 10px; bottom: 10px; }
}
