/* ============================================================
   SoftDogBeds — "The Soft Home Editorial" design system
   Homepage redesign 2026. Token-driven, mobile-first.
   ============================================================ */

/* ------------------ Tokens ------------------ */
:root {
  /* color */
  --bg: #F6F1E7;
  --surface: #FDFBF5;
  --surface-2: #EFE7D8;
  --sand: #E7DCC8;
  --ink: #2A211A;
  --ink-soft: #5D5044;
  --ink-faint: #8A7C6D;
  --sage: #7C8B6D;
  --sage-deep: #535F47;
  --sage-tint: #E4E8DC;
  --terra: #BC6448;
  --terra-deep: #9A4E35;
  --terra-tint: #F3E2D9;
  --line: #E3D9C7;
  --line-strong: #CDBFA6;
  --espresso: #241C15;
  --espresso-2: #322822;

  /* type */
  --font-display: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', serif;
  --font-ui: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* scale */
  --fs-hero: clamp(2.1rem, 1.2rem + 4vw, 3.9rem);
  --fs-h2: clamp(1.55rem, 1.1rem + 1.8vw, 2.4rem);
  --fs-h3: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  --fs-body: 1rem;
  --fs-sm: .875rem;
  --fs-xs: .78rem;

  /* space */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4.5rem;

  /* shape */
  --r-sm: 6px; --r-md: 14px; --r-lg: 22px;
  --shadow-soft: 0 10px 30px -12px rgba(42, 33, 26, .18);
  --shadow-lift: 0 16px 44px -16px rgba(42, 33, 26, .28);

  /* layout */
  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  /* motion */
  --ease: cubic-bezier(.33, 1, .58, 1);
  --dur: .22s;

  --z-header: 200; --z-overlay: 400; --z-modal: 500; --z-toast: 600;
}

/* ------------------ Base ------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.soft-home {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* subtle woven-paper texture, pure CSS */
body.soft-home::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(42,33,26,.014) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(42,33,26,.011) 0 1px, transparent 1px 3px);
  z-index: 0;
}
.soft-home img { max-width: 100%; display: block; }
.soft-home a { color: inherit; }
.soft-home button { font-family: inherit; cursor: pointer; }
.soft-home :focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 2px;
  border-radius: 3px;
}

.sh-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.sh-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--espresso); color: #fff !important;
  padding: .7rem 1.2rem; z-index: 999; border-radius: 0 0 8px 0;
}
.sh-skip:focus { left: 0; }

.sh-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terra-deep);
}
.sh-h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: .35em 0 .3em;
}
.sh-sub { color: var(--ink-soft); margin: 0 0 var(--sp-5); }
.sh-section { padding-block: var(--sp-8); }
.sh-section--tight { padding-block: var(--sp-7); }

/* ------------------ Buttons ------------------ */
.sh-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .95rem;
  border-radius: 999px;
  padding: .8rem 1.6rem;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.sh-btn:hover { transform: translateY(-1px); }
.sh-btn:active { transform: translateY(0); }
.sh-btn--primary { background: var(--terra); color: #fff !important; box-shadow: var(--shadow-soft); }
.sh-btn--primary:hover { background: var(--terra-deep); box-shadow: var(--shadow-lift); }
.sh-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.sh-btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.sh-btn--ink { background: var(--ink); color: #fff !important; }
.sh-btn--ink:hover { background: var(--espresso); }
.sh-btn--sm { padding: .5rem 1.05rem; font-size: var(--fs-sm); }
.sh-btn[disabled] { opacity: .55; cursor: default; transform: none; }

/* ------------------ Announcement bar ------------------ */
.sh-annbar {
  background: var(--sage-deep);
  font-size: var(--fs-sm);
  text-align: center;
  padding: .5rem var(--gutter);
  position: relative; z-index: 2;
}
.sh-annbar, .sh-annbar p, .sh-annbar span, .sh-annbar a { color: #fff !important; }
.sh-annbar a { text-decoration: underline; text-underline-offset: 2px; }

/* ------------------ Header ------------------ */
.sh-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(253, 251, 245, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.sh-header__inner {
  display: flex; align-items: center; gap: var(--sp-4);
  min-height: 64px;
}
.sh-logo {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: .15rem;
  white-space: nowrap;
}
.sh-logo em { font-style: normal; color: var(--terra); }
.sh-nav { display: none; }
.sh-header__actions {
  margin-left: auto;
  display: flex; align-items: center; gap: .25rem;
}
.sh-iconbtn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: none; background: transparent; border-radius: 50%;
  color: var(--ink);
  transition: background var(--dur) var(--ease);
  text-decoration: none;
}
.sh-iconbtn:hover { background: var(--surface-2); }
.sh-badge {
  position: absolute; top: 2px; right: 0;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px;
  background: var(--terra); color: #fff !important;
  font-size: .66rem; font-weight: 700; line-height: 17px; text-align: center;
}
.sh-acct-link {
  display: none; font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none; padding: .45rem .8rem; border-radius: 999px;
  white-space: nowrap;
}
.sh-acct-link:hover { background: var(--surface-2); }

@media (min-width: 1200px) {
  .sh-nav {
    display: flex; align-items: center; gap: .25rem;
    margin-left: var(--sp-4);
  }
  .sh-nav > a {
    font-size: .93rem; font-weight: 600; text-decoration: none;
    color: var(--ink-soft); white-space: nowrap;
    padding: .5rem .85rem; border-radius: 999px;
    transition: color var(--dur), background var(--dur);
  }
  .sh-nav > a:hover, .sh-nav > a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
  .sh-acct-link { display: inline-block; }
  .sh-menu-toggle { display: none !important; }
}

/* mobile drawer */
.sh-menu-toggle { flex-direction: column; gap: 4px; }
.sh-menu-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform var(--dur), opacity var(--dur);
}
.sh-drawer {
  position: fixed; inset: 0 auto 0 0; width: min(84vw, 340px);
  background: var(--surface); z-index: var(--z-modal);
  transform: translateX(-102%);
  transition: transform .28s var(--ease);
  display: flex; flex-direction: column;
  padding: var(--sp-5);
  overflow-y: auto;
  box-shadow: var(--shadow-lift);
}
.sh-drawer.is-open { transform: translateX(0); }
.sh-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-5); }
.sh-drawer nav a {
  display: block; padding: .8rem .4rem;
  font-size: 1.05rem; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.sh-drawer nav a:hover { color: var(--terra-deep); }
.sh-scrim {
  position: fixed; inset: 0; background: rgba(36, 28, 21, .45);
  z-index: var(--z-overlay); opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
}
.sh-scrim.is-open { opacity: 1; pointer-events: auto; }

/* ------------------ Search overlay ------------------ */
.sh-search {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-modal);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  transform: translateY(-105%);
  transition: transform .28s var(--ease);
  padding: var(--sp-5) 0 var(--sp-6);
}
.sh-search.is-open { transform: translateY(0); }
.sh-search__row { display: flex; gap: var(--sp-3); align-items: center; }
.sh-search .sh-modal__close { position: static; flex: none; }
.sh-search__input {
  flex: 1;
  font-size: 1.15rem; font-family: var(--font-display);
  border: none; border-bottom: 2px solid var(--ink);
  background: transparent; padding: .6rem .2rem;
  color: var(--ink);
}
.sh-search__input:focus { outline: none; border-bottom-color: var(--terra); }
.sh-search__results { margin-top: var(--sp-4); display: grid; gap: 2px; }
.sh-search__hint { color: var(--ink-faint); font-size: var(--fs-sm); margin-top: var(--sp-4); }
.sh-sresult {
  display: flex; gap: var(--sp-3); align-items: center;
  padding: .55rem .6rem; border-radius: var(--r-sm);
  text-decoration: none;
}
.sh-sresult:hover, .sh-sresult:focus { background: var(--surface-2); }
.sh-sresult img { width: 46px; height: 46px; object-fit: cover; border-radius: var(--r-sm); background: var(--surface-2); }
.sh-sresult__t { font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
.sh-sresult__p { margin-left: auto; font-weight: 700; font-size: var(--fs-sm); color: var(--sage-deep); white-space: nowrap; }

/* ------------------ Hero ------------------ */
.sh-hero { padding-block: clamp(2.2rem, 6vw, 4.5rem) var(--sp-7); overflow: hidden; }
.sh-hero__grid { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .sh-hero__grid { grid-template-columns: 1.05fr .95fr; gap: var(--sp-7); } }

.sh-hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -.02em;
  margin: .4em 0 .35em;
}
.sh-hero h1 em { font-style: italic; color: var(--terra-deep); }
.sh-hero__lede { font-size: clamp(1rem, .95rem + .4vw, 1.2rem); color: var(--ink-soft); margin: 0 0 var(--sp-5); }
.sh-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.sh-trust { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 0; margin: 0; list-style: none; }
.sh-trust li {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--fs-sm); color: var(--ink-soft); font-weight: 500;
}
.sh-trust svg { color: var(--sage-deep); flex: none; }
.sh-trust a { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--line-strong); }
.sh-trust a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* hero collage — three real products, editorial offsets */
.sh-collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 26px;
  gap: 0;
}
.sh-collage__card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.sh-collage__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.sh-collage__card img { width: 100%; height: 100%; object-fit: cover; }
.sh-collage__card figure { margin: 0; height: 100%; }
.sh-collage__tag {
  position: absolute; left: .8rem; bottom: .8rem; right: .8rem;
  background: rgba(253, 251, 245, .94);
  border-radius: var(--r-sm);
  padding: .45rem .7rem;
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
}
.sh-collage__tag b { font-size: .8rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.sh-collage__tag span { font-size: .8rem; font-weight: 700; color: var(--terra-deep); white-space: nowrap; }
.sh-collage__card--a { grid-column: 1 / 8;  grid-row: 1 / span 10; }
.sh-collage__card--b { grid-column: 8 / 13; grid-row: 3 / span 7; border-radius: var(--r-md); }
.sh-collage__card--c { grid-column: 3 / 9;  grid-row: 11 / span 6; border-radius: var(--r-md); }
.sh-collage::after {
  content: '';
  position: absolute; z-index: -1;
  right: -8%; top: -10%;
  width: 62%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--sand), transparent 70%);
}

/* ------------------ Sleep styles ------------------ */
.sh-styles { background: var(--surface); border-block: 1px solid var(--line); }
.sh-styles__tabs {
  display: flex; gap: .4rem; flex-wrap: nowrap;
  overflow-x: auto; padding-bottom: .35rem;
  scrollbar-width: thin;
}
.sh-tab {
  flex: none;
  border: 1.5px solid var(--line-strong);
  background: transparent; color: var(--ink-soft);
  font-weight: 600; font-size: var(--fs-sm);
  border-radius: 999px; padding: .55rem 1.15rem;
  transition: all var(--dur) var(--ease);
}
.sh-tab:hover { border-color: var(--ink); color: var(--ink); }
.sh-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.sh-styles__panel { margin-top: var(--sp-5); }
.sh-styles__desc { color: var(--ink-soft); margin: 0 0 var(--sp-4); }
.sh-styles__link { font-weight: 700; font-size: var(--fs-sm); color: var(--terra-deep); text-decoration: none; }
.sh-styles__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------ Product cards ------------------ */
.sh-pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
@media (min-width: 720px)  { .sh-pgrid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); } }
@media (min-width: 1024px) { .sh-pgrid { grid-template-columns: repeat(4, 1fr); } }

.sh-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.sh-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.sh-card__media {
  position: relative; display: block;
  aspect-ratio: 1;
  background: var(--surface-2);
  overflow: hidden;
}
.sh-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease);
}
.sh-card:hover .sh-card__media img { transform: scale(1.045); }
.sh-fav {
  position: absolute; top: .6rem; right: .6rem;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: rgba(253, 251, 245, .92);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  box-shadow: 0 3px 10px rgba(42,33,26,.12);
  transition: color var(--dur), transform var(--dur);
}
.sh-fav:hover { transform: scale(1.08); color: var(--terra-deep); }
.sh-fav.is-active { color: var(--terra); }
.sh-fav.is-active svg { fill: currentColor; }
.sh-card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.sh-card__cat { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.sh-card__title { font-size: .95rem; font-weight: 600; line-height: 1.35; margin: 0; }
.sh-card__title a { text-decoration: none; }
.sh-card__title a::after { content: ''; position: absolute; inset: 0; }
.sh-card__title a:hover { color: var(--terra-deep); }
.sh-chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.sh-chip {
  font-size: .7rem; font-weight: 600;
  background: var(--sage-tint); color: var(--sage-deep);
  border-radius: 999px; padding: .18rem .55rem;
}
.sh-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.sh-card__price { font-weight: 700; font-size: 1.05rem; }
.sh-card__sizes { font-size: var(--fs-xs); color: var(--ink-faint); }
.sh-add {
  position: relative; z-index: 2;
  border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink);
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur), color var(--dur), transform var(--dur);
}
.sh-add:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.sh-add.is-done { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.sh-fav { z-index: 2; }

/* ------------------ Needs tiles ------------------ */
.sh-needs { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
@media (min-width: 900px) { .sh-needs { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); } }
.sh-need {
  position: relative;
  border-radius: var(--r-md);
  padding: var(--sp-5);
  min-height: 165px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.sh-need:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.sh-need::before {
  content: '';
  position: absolute; top: -34%; right: -18%;
  width: 65%; aspect-ratio: 1; border-radius: 50%;
  background: var(--tile-tint, var(--sage-tint));
  transition: transform .35s var(--ease);
}
.sh-need:hover::before { transform: scale(1.15); }
.sh-need:nth-child(3n+2) { --tile-tint: var(--terra-tint); }
.sh-need:nth-child(3n)   { --tile-tint: var(--sand); }
.sh-need h3 { position: relative; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 500; margin: 0; }
.sh-need p { position: relative; margin: 0; color: var(--ink-soft); font-size: var(--fs-sm); }
.sh-need .sh-need__count {
  position: relative; font-size: var(--fs-xs); font-weight: 700;
  color: var(--terra-deep); letter-spacing: .05em; text-transform: uppercase;
}

/* ------------------ Editorial dark band ------------------ */
.sh-editorial {
  background: linear-gradient(160deg, var(--espresso) 0%, var(--espresso-2) 100%);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.sh-editorial::before {
  content: '';
  position: absolute; right: -12%; bottom: -35%;
  width: 55%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(188, 100, 72, .28), transparent 70%);
}
/* Global rule: dark background → explicit white text, no inheritance */
.sh-editorial h2, .sh-editorial h3, .sh-editorial p,
.sh-editorial span, .sh-editorial li, .sh-editorial strong, .sh-editorial em,
.sh-editorial a { color: #fff !important; }
.sh-editorial .sh-eyebrow { color: #E8B39B !important; }
.sh-editorial h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 500; line-height: 1.15; margin: .35em 0 .4em; }
.sh-editorial p { position: relative; opacity: .92; }
.sh-stats {
  position: relative;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4);
  margin-top: var(--sp-6); padding: 0; list-style: none;
}
@media (min-width: 760px) { .sh-stats { grid-template-columns: repeat(4, 1fr); } }
.sh-stats b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 500; color: #fff !important; }
.sh-stats span { font-size: var(--fs-sm); color: #fff !important; opacity: .78; }

/* ------------------ Comparison ------------------ */
.sh-compare { display: grid; gap: var(--sp-4); }
@media (min-width: 900px) { .sh-compare { grid-template-columns: repeat(4, 1fr); } }
.sh-ctype {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.sh-ctype h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); margin: 0; }
.sh-ctype dl { margin: 0; display: grid; gap: .55rem; }
.sh-ctype dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); }
.sh-ctype dd { margin: 0 0 .2rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.sh-ctype__link { margin-top: auto; font-weight: 700; font-size: var(--fs-sm); color: var(--terra-deep); text-decoration: none; }
.sh-ctype__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sh-ctype__count { font-size: var(--fs-xs); color: var(--ink-faint); }

/* ------------------ Size helper ------------------ */
.sh-size { background: var(--surface); border-block: 1px solid var(--line); }
.sh-size__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 900px) { .sh-size__grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.sh-measure {
  position: relative;
  background: var(--sage-tint);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.sh-measure svg { width: 100%; height: auto; }
.sh-size__form { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: flex-end; margin: var(--sp-5) 0 var(--sp-4); }
.sh-field { display: flex; flex-direction: column; gap: .3rem; }
.sh-field label { font-size: var(--fs-sm); font-weight: 600; }
.sh-field input, .sh-field select {
  font-size: 1rem; font-family: inherit;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--bg); color: var(--ink);
  padding: .6rem .8rem; min-width: 110px;
}
.sh-field input:focus, .sh-field select:focus { outline: none; border-color: var(--terra); }
.sh-size__result {
  border-left: 3px solid var(--sage-deep);
  background: var(--sage-tint);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: var(--sp-4);
  font-size: var(--fs-sm);
}
.sh-size__result b { font-size: 1.05rem; }
.sh-size__note { font-size: var(--fs-xs); color: var(--ink-faint); margin-top: var(--sp-3); }

/* ------------------ Newsletter ------------------ */
.sh-news {
  background: var(--surface-2);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4.5vw, 3.2rem);
  display: grid; gap: var(--sp-5);
}
@media (min-width: 900px) { .sh-news { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.sh-news h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 500; margin: .2em 0; }
.sh-news p { color: var(--ink-soft); margin: 0; }
.sh-news form { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.sh-news input[type="email"] {
  flex: 1; min-width: 210px;
  font-size: 1rem; font-family: inherit;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); color: var(--ink);
  padding: .8rem 1.3rem;
}
.sh-news input[type="email"]:focus { outline: none; border-color: var(--terra); }
.sh-news__msg { flex-basis: 100%; font-size: var(--fs-sm); font-weight: 600; min-height: 1.2em; margin: 0; }
.sh-news__msg.is-ok { color: var(--sage-deep); }
.sh-news__msg.is-err { color: var(--terra-deep); }

/* ------------------ Footer ------------------ */
.sh-footer {
  margin-top: var(--sp-8);
  background: var(--espresso);
  position: relative; z-index: 1;
}
/* Global rule: dark background → explicit white text */
.sh-footer h4, .sh-footer p, .sh-footer span, .sh-footer a,
.sh-footer li, .sh-footer strong { color: #fff !important; }
.sh-footer__main { padding-block: var(--sp-7); display: grid; gap: var(--sp-6); }
@media (min-width: 900px) { .sh-footer__main { grid-template-columns: 1.2fr 2fr; gap: var(--sp-8); } }
.sh-footer .sh-logo { color: #fff !important; font-size: 1.5rem; }
.sh-footer .sh-logo em { color: #E8B39B !important; }
.sh-footer__desc { opacity: .8; font-size: var(--fs-sm); margin-top: var(--sp-3); }
.sh-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
@media (min-width: 720px) { .sh-footer__cols { grid-template-columns: repeat(3, 1fr); } }
.sh-footer h4 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .65; margin: 0 0 var(--sp-3); }
.sh-footer__cols a {
  display: block; text-decoration: none;
  font-size: var(--fs-sm); padding-block: .32rem;
  opacity: .88;
}
.sh-footer__cols a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.sh-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: var(--sp-4);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3);
  font-size: var(--fs-xs);
}
.sh-footer__bottom span { opacity: .7; }
.sh-pay { display: flex; gap: .5rem; }

/* ------------------ Modal (quiz + variant picker) ------------------ */
.sh-modal {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: none; align-items: center; justify-content: center;
  padding: var(--sp-4);
}
.sh-modal.is-open { display: flex; }
.sh-modal__panel {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  width: min(680px, 100%);
  max-height: min(86vh, 760px);
  overflow-y: auto;
  padding: clamp(1.4rem, 4vw, 2.4rem);
}
.sh-modal__close {
  position: absolute; top: .9rem; right: .9rem;
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: var(--surface-2); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.sh-modal__close:hover { background: var(--sand); }

/* quiz */
.sh-quiz__progress { display: flex; gap: .35rem; margin: var(--sp-4) 0 var(--sp-5); }
.sh-quiz__progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); transition: background var(--dur); }
.sh-quiz__progress i.is-done { background: var(--sage-deep); }
.sh-quiz h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); margin: 0 0 var(--sp-4); }
.sh-quiz__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.sh-qopt {
  border: 1.5px solid var(--line-strong);
  background: transparent; border-radius: var(--r-md);
  padding: var(--sp-4);
  text-align: left; font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
  transition: border-color var(--dur), background var(--dur);
}
.sh-qopt small { display: block; font-weight: 500; color: var(--ink-faint); margin-top: .2rem; }
.sh-qopt:hover { border-color: var(--ink); }
.sh-qopt[aria-pressed="true"] { border-color: var(--terra); background: var(--terra-tint); }
.sh-quiz__nav { display: flex; justify-content: space-between; margin-top: var(--sp-5); }
.sh-quiz__why {
  background: var(--sage-tint); border-radius: var(--r-sm);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm); margin: var(--sp-4) 0;
}
.sh-quiz__results { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
@media (min-width: 640px) { .sh-quiz__results { grid-template-columns: repeat(3, 1fr); } }
.sh-qcard { text-decoration: none; }
.sh-qcard img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); background: var(--surface-2); }
.sh-qcard b { display: block; font-size: var(--fs-xs); font-weight: 600; line-height: 1.3; margin-top: .4rem; }
.sh-qcard span { font-size: var(--fs-xs); font-weight: 700; color: var(--terra-deep); }

/* variant picker */
.sh-vp__group { margin-bottom: var(--sp-4); }
.sh-vp__group h4 { font-size: var(--fs-sm); margin: 0 0 .5rem; }
.sh-vp__opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.sh-vopt {
  border: 1.5px solid var(--line-strong); background: transparent;
  border-radius: 999px; padding: .4rem .9rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
}
.sh-vopt:hover { border-color: var(--ink); }
.sh-vopt[aria-pressed="true"] { border-color: var(--terra); background: var(--terra-tint); }

/* wishlist drawer */
.sh-wishdrawer {
  position: fixed; inset: 0 0 0 auto; width: min(92vw, 400px);
  background: var(--surface); z-index: var(--z-modal);
  transform: translateX(102%);
  transition: transform .28s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lift);
}
.sh-wishdrawer.is-open { transform: translateX(0); }
.sh-wishdrawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--line);
}
.sh-wishdrawer__head h3 { font-family: var(--font-display); font-weight: 500; margin: 0; }
.sh-wishdrawer__list { flex: 1; overflow-y: auto; padding: var(--sp-4) var(--sp-5); display: grid; gap: var(--sp-3); align-content: start; }
.sh-wishitem { display: flex; gap: var(--sp-3); align-items: center; }
.sh-wishitem img { width: 58px; height: 58px; object-fit: cover; border-radius: var(--r-sm); background: var(--surface-2); }
.sh-wishitem a { font-size: var(--fs-sm); font-weight: 600; text-decoration: none; line-height: 1.3; }
.sh-wishitem a:hover { color: var(--terra-deep); }
.sh-wishitem span { display: block; font-size: var(--fs-xs); color: var(--sage-deep); font-weight: 700; margin-top: .15rem; }
.sh-wishitem button { margin-left: auto; border: none; background: none; color: var(--ink-faint); padding: .4rem; }
.sh-wishitem button:hover { color: var(--terra-deep); }
.sh-wishdrawer__empty { color: var(--ink-faint); font-size: var(--fs-sm); text-align: center; padding: var(--sp-6) 0; }

/* ------------------ Toast ------------------ */
.sh-toast {
  position: fixed; left: 50%; bottom: 1.4rem; z-index: var(--z-toast);
  transform: translate(-50%, 140%);
  background: var(--espresso);
  border-radius: 999px;
  padding: .8rem 1.5rem;
  font-size: var(--fs-sm); font-weight: 600;
  box-shadow: var(--shadow-lift);
  transition: transform .3s var(--ease);
  max-width: calc(100vw - 2rem);
  text-align: center;
}
.sh-toast, .sh-toast span, .sh-toast a { color: #fff !important; }
.sh-toast.is-visible { transform: translate(-50%, 0); }
.sh-toast a { text-decoration: underline; margin-left: .5rem; }

/* ------------------ Utilities & motion ------------------ */
.sh-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-3); }
.sh-section-head .sh-sub { margin-bottom: 0; }
.sh-section-head__link { font-weight: 700; font-size: var(--fs-sm); color: var(--terra-deep); text-decoration: none; white-space: nowrap; }
.sh-section-head__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .soft-home *, .soft-home *::before, .soft-home *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* small phones */
@media (max-width: 420px) {
  .sh-pgrid { gap: var(--sp-3); }
  .sh-card__body { padding: var(--sp-3); }
  .sh-quiz__opts { grid-template-columns: 1fr; }
  .sh-needs { grid-template-columns: 1fr; }
  /* keep the header row inside 360px viewports */
  .sh-header__inner { gap: .25rem; min-height: 56px; }
  .sh-logo { font-size: 1.1rem; }
  .sh-iconbtn { width: 36px; height: 36px; }
  .sh-acct-link { display: none; }
}

/* ============================================================
   LEGACY BRIDGE — re-skins pre-redesign inner pages (product
   detail, listing, cart, checkout, auth, account, static, blog)
   to the Soft Home Editorial identity. Loaded after style.css.
   ============================================================ */

/* ---- base ---- */
body.soft-inner { background: var(--bg); color: var(--ink); font-family: var(--font-ui); }
.soft-inner main.w { max-width: var(--container); padding: var(--sp-6) var(--gutter) var(--sp-7); }
.soft-inner h1, .soft-inner h2:not(.sh-h2):not([class*="sh-"]),
.soft-inner .sec-t, .soft-inner .sec-t2, .soft-inner .auth-title,
.soft-inner .myacc-title, .soft-inner .list-hdr h1 {
  font-family: var(--font-display); font-weight: 500; color: var(--ink);
}
.soft-inner .sec-sub, .soft-inner .result-count, .soft-inner .count { color: var(--ink-soft); }

/* ---- buttons ---- */
.soft-inner .btn {
  background: var(--ink); color: #fff; border-radius: 999px;
  font-weight: 600; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  border: 1.5px solid transparent;
}
.soft-inner .btn:hover { background: var(--espresso); transform: translateY(-1px); }
.soft-inner .btn-gold, .soft-inner .btn-buy, .soft-inner .cart-checkout-btn, .soft-inner .ck-btn, .soft-inner .auth-btn, .soft-inner .myacc-btn {
  background: var(--terra); color: #fff !important; border-radius: 999px; border: none;
  font-weight: 600; box-shadow: var(--shadow-soft);
}
.soft-inner .btn-gold:hover, .soft-inner .btn-buy:hover, .soft-inner .cart-checkout-btn:hover, .soft-inner .ck-btn:hover, .soft-inner .auth-btn:hover, .soft-inner .myacc-btn:hover {
  background: var(--terra-deep); color: #fff !important; box-shadow: var(--shadow-lift);
}
.soft-inner .btn-outline {
  background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong);
}
.soft-inner .btn-outline:hover { border-color: var(--ink); background: var(--surface); color: var(--ink); }
.soft-inner .btn-reset { background: transparent; color: var(--ink-soft); border: 1.5px solid var(--line-strong); border-radius: 999px; }

/* ---- forms ---- */
.soft-inner input[type="text"], .soft-inner input[type="email"], .soft-inner input[type="password"],
.soft-inner input[type="tel"], .soft-inner input[type="number"], .soft-inner input[type="search"],
.soft-inner select, .soft-inner textarea {
  background: var(--surface); border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm); color: var(--ink); padding: .6rem .8rem;
}
.soft-inner input:focus, .soft-inner select:focus, .soft-inner textarea:focus {
  border-color: var(--terra); outline: none;
}

/* ---- cards / panels ---- */
.soft-inner .auth-card, .soft-inner .ck-card, .soft-inner .cart-aside-inner,
.soft-inner .myacc-section, .soft-inner .contact-card, .soft-inner .pl-side,
.soft-inner .blog-card, .soft-inner .faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: none;
}
.soft-inner .blog-card:hover { box-shadow: var(--shadow-soft); }

/* ---- product listing ---- */
.soft-inner .pl-chip {
  background: var(--surface); border: 1.5px solid var(--line-strong);
  border-radius: 999px; color: var(--ink-soft);
}
.soft-inner .pl-chip:hover { border-color: var(--ink); color: var(--ink); }
.soft-inner .pl-chip-clear { background: var(--terra-tint); border-color: var(--terra); color: var(--terra-deep); }
.soft-inner .pag-btn {
  border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: transparent; color: var(--ink-soft);
}
.soft-inner .pag-btn:hover { border-color: var(--ink); color: var(--ink); }
.soft-inner .pag-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.soft-inner .empty { color: var(--ink-faint); }

/* ---- product detail ---- */
.soft-inner .pd-title { font-family: var(--font-display); font-weight: 500; line-height: 1.2; }
.soft-inner .pd-price .price-lg, .soft-inner .price { color: var(--terra-deep); }
.soft-inner .pd-brand a { color: var(--sage-deep); font-weight: 700; }
.soft-inner .pd-stock-badge { border-radius: 999px; font-family: var(--font-ui); }
.soft-inner .pd-stock-in { background: var(--sage-tint); color: var(--sage-deep); }
.soft-inner .pd-stock-out { background: var(--terra-tint); color: var(--terra-deep); }
.soft-inner .var-opt { border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); }
.soft-inner .var-opt:hover { border-color: var(--ink); }
.soft-inner .var-opt.selected { background: var(--terra-tint); border-color: var(--terra); color: var(--terra-deep); }
.soft-inner .var-opt-img { border-radius: var(--r-sm); }
.soft-inner .var-opt-img.selected img { box-shadow: 0 0 0 2px var(--terra); }
.soft-inner .var-opt-img.selected span { color: var(--terra-deep); }
.soft-inner .var-selected { color: var(--terra-deep); }
.soft-inner .pd-tabs button { font-weight: 600; color: var(--ink-soft); }
.soft-inner .pd-tabs button.active { color: var(--terra-deep); border-color: var(--terra); }
.soft-inner .pd-specs tr { border-color: var(--line); }
.soft-inner .thumb.active { border-color: var(--terra); }
.soft-inner .img-nav { background: rgba(253, 251, 245, .9); color: var(--ink); }
.soft-inner .pd-main-img, .soft-inner .pd-gallery { background: var(--surface); border-radius: var(--r-md); }

/* ---- cart & checkout ---- */
.soft-inner .cart-free { background: var(--sage-tint); color: var(--sage-deep); border-radius: var(--r-sm); }
.soft-inner .ck-auth-tab.active { color: var(--terra-deep); border-color: var(--terra); }
.soft-inner .ck-badges svg { color: var(--sage-deep); }

/* ---- account ---- */
.soft-inner .myacc-badge { border-radius: 999px; }
.soft-inner .myacc-stat-icon { color: var(--sage-deep); }
.soft-inner .myacc-stat-num { font-family: var(--font-display); color: var(--ink); }

/* ---- static pages ---- */
.soft-inner .faq-q { font-weight: 600; color: var(--ink); }
.soft-inner .faq-a, .soft-inner .policy-content { color: var(--ink-soft); }
.soft-inner .policy-content h2, .soft-inner .policy-content h3 { font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.soft-inner .contact-card-icon { color: var(--sage-deep); }
.soft-inner .contact-link { color: var(--terra-deep); }

/* ---- blog ---- */
.soft-inner .blog-card-title { font-family: var(--font-display); font-weight: 500; }
.soft-inner .blog-card-link { color: var(--terra-deep); font-weight: 700; }
.soft-inner .blog-card-date { color: var(--ink-faint); }

/* ---- search hero strip ---- */
.soft-inner .hero-s { background: var(--surface-2); color: var(--ink); border-radius: var(--r-lg); }
.soft-inner .hero-s h1 { color: var(--ink); }

/* legacy links that pointed at the old purple accent */
.soft-inner a:hover { color: inherit; }
.soft-inner .tag { background: var(--sage-tint); color: var(--sage-deep); border-radius: 999px; }
.soft-inner .ck-auth-tab.active { background: var(--terra); color: #fff !important; }
.soft-inner .ck-auth-tab:hover:not(.active) { background: var(--surface-2); color: var(--ink); }

/* ============================================================
   CHECKOUT 2.0 — enterprise checkout experience
   ============================================================ */
.ck2 { max-width: 1120px; margin: 0 auto; padding-block: var(--sp-5) var(--sp-7); }
.ck2-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); }
.ck2-head h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); margin: 0 0 .2em; }
.ck2-back-top { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.ck2-back-top:hover { color: var(--ink); }

/* stepper */
.ck2-steps {
  display: flex; align-items: center; gap: 0;
  list-style: none; margin: var(--sp-4) 0 var(--sp-5); padding: 0;
}
.ck2-step { display: flex; align-items: center; gap: .5rem; flex: 1; min-width: 0; }
.ck2-step:not(:first-child)::before {
  content: ''; flex: 1; height: 2px; background: var(--line-strong);
  margin-inline: .6rem; border-radius: 1px;
}
.ck2-step.is-done:not(:first-child)::before,
.ck2-step.is-current:not(:first-child)::before { background: var(--sage-deep); }
.ck2-step__dot {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
  background: var(--surface-2); color: var(--ink-faint);
  border: 1.5px solid var(--line-strong);
  transition: all var(--dur) var(--ease);
}
.ck2-step.is-current .ck2-step__dot { background: var(--terra); border-color: var(--terra); color: #fff; }
.ck2-step.is-done .ck2-step__dot { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.ck2-step__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-faint); white-space: nowrap; }
.ck2-step.is-current .ck2-step__label { color: var(--ink); }
.ck2-step.is-done .ck2-step__label { color: var(--sage-deep); }

/* layout */
.ck2-grid { display: grid; gap: var(--sp-5); align-items: start; }
@media (min-width: 960px) {
  .ck2-grid { grid-template-columns: 1fr 380px; gap: var(--sp-6); }
  .ck2-aside { position: sticky; top: 84px; }
  .ck2-sum-toggle { display: none; }
}

/* cards */
.ck2-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: var(--sp-4);
}
.ck2-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }
.ck2-card__title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); margin: 0 0 var(--sp-4); }
.ck2-card__head .ck2-card__title { margin-bottom: 0; }
.ck2-ssl {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--sage-deep); background: var(--sage-tint);
  border-radius: 999px; padding: .3rem .75rem;
}

/* segmented auth control */
.ck2-seg {
  display: flex; background: var(--surface-2);
  border-radius: 999px; padding: 4px; margin-bottom: var(--sp-5);
}
.ck2-seg button {
  flex: 1; border: none; background: transparent;
  border-radius: 999px; padding: .6rem 1rem;
  font-weight: 600; font-size: var(--fs-sm); color: var(--ink-soft);
  transition: all var(--dur) var(--ease);
}
.ck2-seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(42,33,26,.12); }

/* fields */
.ck2-field { margin-bottom: var(--sp-4); }
.ck2-field label {
  display: block; font-size: var(--fs-sm); font-weight: 600;
  margin-bottom: .35rem; color: var(--ink);
}
.ck2-field label small { font-weight: 500; color: var(--ink-faint); }
.ck2-field input, .ck2-field select, .ck2-field textarea {
  width: 100%; font-size: 1rem; font-family: inherit;
  background: var(--bg); border: 1.5px solid var(--line-strong);
  border-radius: 10px; color: var(--ink); padding: .7rem .9rem;
  transition: border-color var(--dur);
}
.ck2-field input:focus, .ck2-field select:focus, .ck2-field textarea:focus {
  outline: none; border-color: var(--terra); box-shadow: 0 0 0 1px var(--terra);
}
.ck2-field input.is-invalid, .ck2-field textarea.is-invalid { border-color: var(--terra-deep); }
.ck2-fielderr { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--terra-deep); min-height: 1em; margin-top: .25rem; }
.ck2-row { display: grid; gap: 0 var(--sp-4); }
@media (min-width: 640px) { .ck2-row--2 { grid-template-columns: 1fr 1fr; } }
.ck2-pass { position: relative; display: flex; align-items: center; }
.ck2-pass input { padding-right: 4.6rem; }
.ck2-pass__btn {
  position: absolute; right: .4rem;
  width: 32px; height: 32px; border: none; background: none;
  color: var(--ink-faint); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.ck2-pass__btn:hover { color: var(--ink); background: var(--surface-2); }
.ck2-pass__btn:nth-last-child(2) { right: 2.6rem; }

/* shipping options */
.ck2-ship { border: none; margin: 0 0 var(--sp-4); padding: 0; }
.ck2-ship legend { font-size: var(--fs-sm); font-weight: 600; margin-bottom: .5rem; }
.ck2-ship__opt {
  display: flex; align-items: center; gap: .7rem;
  border: 1.5px solid var(--line-strong); border-radius: 10px;
  padding: .75rem .9rem; margin-bottom: .5rem; cursor: pointer;
  transition: border-color var(--dur), background var(--dur);
}
.ck2-ship__opt:hover { border-color: var(--ink); }
.ck2-ship__opt.is-on { border-color: var(--terra); background: var(--terra-tint); }
.ck2-ship__opt input { accent-color: var(--terra); }
.ck2-ship__name { flex: 1; font-weight: 600; font-size: var(--fs-sm); }

/* buttons + errors */
.ck2-btn {
  width: 100%; border: none; border-radius: 999px;
  background: var(--terra); color: #fff !important;
  font-weight: 700; font-size: 1rem; padding: .95rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: background var(--dur), transform var(--dur);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
}
.ck2-btn:hover { background: var(--terra-deep); transform: translateY(-1px); }
.ck2-btn[disabled] { opacity: .6; transform: none; cursor: default; }
.ck2-back {
  display: block; width: 100%; margin-top: var(--sp-3);
  border: none; background: none; color: var(--ink-soft);
  font-weight: 600; font-size: var(--fs-sm); text-align: center;
}
.ck2-back:hover { color: var(--ink); }
.ck2-err {
  background: var(--terra-tint); color: var(--terra-deep);
  border-left: 3px solid var(--terra-deep);
  border-radius: 0 8px 8px 0; padding: .7rem .9rem;
  font-size: var(--fs-sm); font-weight: 600; margin: 0 0 var(--sp-3);
}
.ck2-alert {
  background: var(--terra-tint); color: var(--terra-deep);
  border-radius: var(--r-sm); padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4); font-weight: 600;
}
.ck2-alert p { margin: 0; }
.ck2-paynote { font-size: var(--fs-xs); color: var(--ink-faint); text-align: center; margin: var(--sp-3) 0 0; }
.ck2-spin {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  display: inline-block; animation: ck2spin .7s linear infinite;
}
@keyframes ck2spin { to { transform: rotate(360deg); } }
#card-element { margin-bottom: var(--sp-4); min-height: 60px; }

/* summary */
.ck2-sum-toggle {
  width: 100%; display: flex; align-items: center; gap: .6rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: .85rem 1rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
  margin-bottom: var(--sp-4);
}
.ck2-sum-toggle strong { margin-left: auto; }
.ck2-sum-toggle svg { transition: transform var(--dur); }
.ck2-sum-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (max-width: 959px) {
  .ck2-aside { display: none; }
  .ck2-aside.is-open { display: block; order: -1; }
  .ck2-grid { display: flex; flex-direction: column; }
}
.ck2-summary {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--sp-5);
}
.ck2-summary h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); margin: 0 0 var(--sp-4); }
.ck2-items { list-style: none; margin: 0 0 var(--sp-4); padding: 0; display: grid; gap: var(--sp-3); }
.ck2-item { display: flex; align-items: center; gap: var(--sp-3); }
.ck2-item__img { position: relative; flex: none; }
.ck2-item__img img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-sm); background: var(--surface-2); }
.ck2-item__qty {
  position: absolute; top: -6px; right: -6px;
  min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--ink); color: #fff !important;
  font-size: .68rem; font-weight: 700; font-style: normal;
  border-radius: 999px; line-height: 19px; text-align: center;
}
.ck2-item__name { flex: 1; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
.ck2-item__name small { display: block; font-weight: 500; color: var(--ink-faint); margin-top: .15rem; }
.ck2-item__price { font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
.ck2-lines { margin: 0; border-top: 1px solid var(--line); padding-top: var(--sp-4); display: grid; gap: .5rem; }
.ck2-lines > div { display: flex; justify-content: space-between; font-size: var(--fs-sm); }
.ck2-lines dt { color: var(--ink-soft); }
.ck2-lines dd { margin: 0; font-weight: 600; }
.ck2-free { color: var(--sage-deep) !important; font-weight: 700; }
.ck2-lines__total { border-top: 1px solid var(--line); padding-top: .6rem; margin-top: .2rem; }
.ck2-lines__total dt { font-weight: 700; color: var(--ink); font-size: 1rem; }
.ck2-lines__total dd { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.ck2-trust { list-style: none; margin: var(--sp-4) 0 0; padding: var(--sp-4) 0 0; border-top: 1px solid var(--line); display: grid; gap: .55rem; }
.ck2-trust li { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft); }
.ck2-trust svg { color: var(--sage-deep); flex: none; }
.ck2-trust a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ck2-trust a:hover { color: var(--ink); }
.ck2-cards { display: flex; gap: .5rem; margin-top: var(--sp-4); }

@media (min-width: 960px) { .ck2-sum-toggle { display: none !important; } }

.ck2-paytotal { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0 0 var(--sp-4); }
.ck2-paytotal strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); margin-left: .3rem; }
#paypal-buttons { margin-bottom: var(--sp-3); min-height: 120px; }

/* ============================================================
   CORPORATE / LEGAL PAGES (about, contact, policies, faq)
   ============================================================ */
.lp { padding-block: var(--sp-6) var(--sp-7); }
.lp-head { margin-bottom: var(--sp-6); }
.lp-head h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); margin: .2em 0 .15em; }
.lp-updated { font-size: var(--fs-sm); color: var(--ink-faint); margin: 0; }
.lp h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); margin: 1.8em 0 .5em; }
.lp h3 { font-size: 1.02rem; font-weight: 700; margin: 1.4em 0 .4em; }
.lp p, .lp li { color: var(--ink-soft); line-height: 1.75; }
.lp ul { padding-left: 1.2rem; }
.lp li { margin-bottom: .35rem; }
.lp a { color: var(--terra-deep); font-weight: 600; text-decoration: none; }
.lp a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp strong { color: var(--ink); }

.lp-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--sp-5);
  margin-block: var(--sp-5);
}
.lp-card h2:first-child, .lp-card h3:first-child { margin-top: 0; }

.lp-grid { display: grid; gap: var(--sp-4); margin-block: var(--sp-5); }
@media (min-width: 760px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.lp-tile {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--sp-5);
  display: flex; flex-direction: column; gap: .4rem;
}
.lp-tile svg { color: var(--sage-deep); }
.lp-tile h3 { margin: 0; font-size: 1rem; }
.lp-tile p { margin: 0; font-size: var(--fs-sm); }
.lp-tile a.lp-mail { font-size: 1.02rem; word-break: break-all; }

.lp-company {
  background: var(--sage-tint); border-left: 3px solid var(--sage-deep);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: var(--sp-4) var(--sp-5); margin-block: var(--sp-5);
  font-size: var(--fs-sm); line-height: 1.8;
}
.lp-company b { display: block; font-size: 1rem; color: var(--ink); }

.lp-steps { counter-reset: lpstep; list-style: none; padding: 0; margin-block: var(--sp-4); display: grid; gap: var(--sp-3); }
.lp-steps li {
  position: relative; padding-left: 3rem; counter-increment: lpstep;
}
.lp-steps li::before {
  content: counter(lpstep);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--terra); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
}

.lp-faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 0; margin-bottom: var(--sp-3);
  overflow: hidden;
}
.lp-faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink);
  padding: var(--sp-4) var(--sp-5);
  list-style: none; position: relative; padding-right: 3rem;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: '+'; position: absolute; right: var(--sp-5); top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem; color: var(--terra-deep); font-weight: 400;
}
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq details > div { padding: 0 var(--sp-5) var(--sp-4); }
.lp-faq details > div p { margin-top: 0; }

.lp-table { width: 100%; border-collapse: collapse; margin-block: var(--sp-4); font-size: var(--fs-sm); }
.lp-table th { text-align: left; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--line-strong); padding: .6rem .5rem; }
.lp-table td { border-bottom: 1px solid var(--line); padding: .6rem .5rem; color: var(--ink-soft); }

/* footer mascot */
.sh-footer__mascot { margin-top: var(--sp-4); width: 230px; height: auto; filter: drop-shadow(0 8px 24px rgba(0,0,0,.35)); }

/* header logo icon (mascot) */
.sh-header .sh-logo { align-items: center; }
.sh-logo__icon { width: 36px; height: 36px; object-fit: contain; flex: none; margin-right: .4rem; }
@media (max-width: 420px) { .sh-logo__icon { width: 28px; height: 28px; } }
