/* ==========================================================================
   Art_with_T_  —  design system
   Warm paper, hand-made feel, mobile first.
   ========================================================================== */

:root {
  /* colour */
  --paper:      #FFFCF5;
  --paper-2:    #F8F0E3;
  --paper-3:    #F0E4D2;
  --ink:        #241F1C;
  --ink-2:      #5C534C;
  --ink-3:      #8B8078;
  --coral:      #E2543C;
  --coral-dark: #C43F29;
  --teal:       #1E8577;
  --sunny:      #F5BE3F;
  --lilac:      #9A7CD0;
  --line:       #E3D6C3;
  --white:      #FFFFFF;

  /* type */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* space */
  --gut: clamp(1rem, 4vw, 2rem);
  --max: 1240px;

  /* shape */
  --r-sm: 10px;
  --r:    18px;
  --r-lg: 28px;

  --shadow-sm: 0 2px 6px rgba(60, 40, 20, .07);
  --shadow:    0 8px 24px rgba(60, 40, 20, .10);
  --shadow-lg: 0 20px 50px rgba(60, 40, 20, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  /* faint paper speckle */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(226, 84, 60, .035) 0, transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(30, 133, 119, .035) 0, transparent 40%);
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

p { margin: 0 0 1em; }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* skip link ------------------------------------------------------------- */
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--paper);
  padding: .7rem 1.1rem; border-radius: var(--r-sm); font-weight: 600;
  transition: top .18s var(--ease);
}
.skip:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 252, 245, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  display: flex; align-items: center; gap: 1rem;
  min-height: 68px;
}
.logo {
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
  text-decoration: none; letter-spacing: -.02em; white-space: nowrap;
  display: flex; align-items: center; gap: .5rem;
}
.logo__dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--coral); flex: none;
}

.nav { margin-left: auto; display: flex; gap: .3rem; align-items: center; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: .5rem .8rem; border-radius: 999px; color: var(--ink-2);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; background: var(--paper-3); }

.header__actions { display: flex; align-items: center; gap: .5rem; }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: .45rem;
  border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper);
  font: inherit; font-weight: 600; font-size: .9rem;
  padding: .55rem 1rem; border-radius: 999px; cursor: pointer;
  transition: transform .15s var(--ease), background .18s var(--ease);
}
.cart-btn:hover { transform: translateY(-1px); background: var(--coral); border-color: var(--coral); }
.cart-btn__count {
  min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px;
  background: var(--coral); color: #fff; font-size: .75rem; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.cart-btn:hover .cart-btn__count { background: var(--paper); color: var(--coral); }
.cart-btn__count[hidden] { display: none; }

.burger {
  display: none; background: none; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); padding: .45rem .6rem; cursor: pointer; color: var(--ink);
}

@media (max-width: 860px) {
  .burger { display: block; order: 3; }
  .nav {
    order: 4; width: 100%; margin-left: 0; flex-direction: column;
    align-items: stretch; gap: 0; padding-bottom: .8rem;
  }
  .nav:not(.is-open) { display: none; }
  .nav a { padding: .75rem .9rem; border-radius: var(--r-sm); }
  .header__actions { margin-left: auto; }
  .header__bar { flex-wrap: wrap; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--coral-dark); box-shadow: var(--shadow); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #000; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--wa { background: #25D366; color: #06331a; }
.btn--wa:hover { background: #1ebe5a; }
.btn--block { width: 100%; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2rem, 5vw, 4rem); }
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  grid-template-columns: 1.05fr .95fr;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--coral); background: rgba(226, 84, 60, .1);
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 em {
  font-style: italic; color: var(--coral);
  /* hand-drawn underline */
  background-image: linear-gradient(transparent 72%, rgba(245, 190, 63, .55) 72%);
}
.hero__lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero__collage {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  max-width: 520px; margin-inline: auto; width: 100%;
}
.hero__collage img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--r); box-shadow: var(--shadow);
  border: 5px solid var(--white);
}
.hero__collage img:nth-child(1) { transform: rotate(-2.5deg); }
.hero__collage img:nth-child(2) { transform: rotate(2deg) translateY(1.6rem); }
.hero__collage img:nth-child(3) { transform: rotate(1.5deg) translateY(-.6rem); }
.hero__collage img:nth-child(4) { transform: rotate(-1.8deg) translateY(1rem); }

/* trust strip ----------------------------------------------------------- */
.strip {
  border-block: 1px solid var(--line); background: var(--paper-2);
  padding: 1rem 0;
}
.strip__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; justify-content: center;
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
}
.strip__list li { display: flex; align-items: center; gap: .5rem; }
.strip__list svg { color: var(--teal); flex: none; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--paper-2); border-block: 1px solid var(--line); }

/* page banner: heading block at the top of an inner page. Sits close to the
   content below it instead of stacking two full section paddings. */
.page-head { padding: clamp(2rem, 5vw, 3.25rem) 0 0; }
.page-head .section__head { margin-bottom: 0; }
.page-head + .section { padding-top: clamp(1.75rem, 4vw, 2.75rem); }
.section__head { max-width: 60ch; margin-bottom: 2.5rem; }
.section__head.center { margin-inline: auto; }
.section__head p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 0; }

/* category cards -------------------------------------------------------- */
.cats { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cat {
  position: relative; display: block; text-decoration: none; overflow: hidden;
  border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  border: 1px solid var(--line);
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cat__body { padding: 1.3rem 1.4rem 1.5rem; }
.cat__body h3 { margin-bottom: .2em; }
.cat__body p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.cat__more {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem;
  font-weight: 700; color: var(--coral); font-size: .95rem;
}
.cat:hover .cat__more svg { transform: translateX(4px); }
.cat__more svg { transition: transform .2s var(--ease); }

/* ==========================================================================
   Product grid
   ========================================================================== */
.grid {
  display: grid; gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
/* Two across on phones — one product per screen makes browsing 10 sticker
   packs feel endless. */
@media (max-width: 620px) {
  .grid, .aff-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .card__body { padding: .75rem .8rem 1rem; }
  .card__title { font-size: .98rem; }
  .card__blurb { font-size: .78rem; }
  .card__price { font-size: 1rem; }
  .card__foot { padding-top: .7rem; gap: .4rem; }
  .card__foot .btn { padding: .45rem .8rem; font-size: .82rem; }
  .sizes label { font-size: .74rem; padding: .4rem .2rem; }
}

.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.card__media {
  position: relative; border: 0; padding: 0; margin: 0; cursor: zoom-in;
  background: var(--paper-2); display: block; width: 100%; overflow: hidden;
}
.card__media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .5s var(--ease), opacity .3s var(--ease);
}
.card__media:hover img { transform: scale(1.05); }
/* second photo (in-hand shot) cross-fades in on hover */
.card__media img + img { position: absolute; inset: 0; opacity: 0; }
.card__media:hover img + img,
.card__media:focus-visible img + img { opacity: 1; }

.card__peek {
  position: absolute; right: .6rem; bottom: .6rem; z-index: 2;
  background: rgba(36, 31, 28, .8); color: #fff; font-size: .72rem; font-weight: 600;
  padding: .3rem .6rem; border-radius: 999px; backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .2s var(--ease); pointer-events: none;
}
.card__media:hover .card__peek { opacity: 1; }

.card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; gap: .15rem; }
.card__title { font-family: var(--display); font-weight: 600; font-size: 1.08rem; line-height: 1.25; margin: 0; }
.card__blurb { font-size: .86rem; color: var(--ink-3); margin: 0; }
.card__foot { margin-top: auto; padding-top: .9rem; display: flex; align-items: center; gap: .6rem; }
.card__price { font-weight: 700; font-size: 1.15rem; font-family: var(--display); }
.card__foot .btn { margin-left: auto; }

.badge {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px;
  background: var(--paper-3); color: var(--ink-2);
}

/* size picker (art prints) ---------------------------------------------- */
.sizes { display: flex; gap: .4rem; margin: .7rem 0 0; }
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes label {
  flex: 1; text-align: center; cursor: pointer; font-size: .85rem; font-weight: 600;
  padding: .45rem .3rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: all .15s var(--ease); color: var(--ink-2);
}
.sizes input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.sizes input:focus-visible + label { outline: 3px solid var(--coral); outline-offset: 2px; }

/* filter bar ------------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
  padding: .5rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink-2);
  transition: all .15s var(--ease);
}
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ==========================================================================
   Feature product (used for the single book, which would look stranded
   alone in a normal product grid)
   ========================================================================== */
.feature {
  display: grid; gap: clamp(1.75rem, 5vw, 3.5rem); align-items: center;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }

.feature__media {
  border: 0; padding: 0; margin: 0; background: none; cursor: zoom-in; width: 100%;
}
.feature__media img {
  width: 100%; border-radius: var(--r); border: 6px solid var(--white);
  box-shadow: var(--shadow-lg); transform: rotate(-1.5deg);
  transition: transform .3s var(--ease);
}
.feature__media:hover img { transform: rotate(0deg) scale(1.01); }

.feature__price {
  font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 700; margin: .2em 0 .1em;
}
.feature__list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .7rem; }
.feature__list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .97rem; }
.feature__list svg { color: var(--teal); flex: none; margin-top: 4px; }

/* inside-page gallery — portrait pages, keep the top of the page visible */
.pages { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.pages button {
  border: 1px solid var(--line); padding: 0; background: var(--white);
  border-radius: var(--r); overflow: hidden; cursor: zoom-in; display: block;
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pages button:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pages img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  grid-template-columns: .8fr 1.2fr;
}
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }
.about__photo {
  border-radius: var(--r-lg); border: 6px solid var(--white);
  box-shadow: var(--shadow); transform: rotate(-2deg);
  aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
}
.quote {
  font-family: var(--display); font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-style: italic; line-height: 1.45; color: var(--ink);
  border-left: 4px solid var(--sunny); padding-left: 1.2rem; margin: 1.5rem 0;
}

/* ==========================================================================
   Cart drawer
   ========================================================================== */
.overlay {
  position: fixed; inset: 0; z-index: 190; background: rgba(36, 31, 28, .45);
  backdrop-filter: blur(2px); opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(430px, 100%); background: var(--paper);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); transform: translateX(100%);
  transition: transform .3s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer__head {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem var(--gut); border-bottom: 1px solid var(--line);
}
.drawer__head h2 { margin: 0; font-size: 1.35rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--gut); }
.drawer__foot { border-top: 1px solid var(--line); padding: var(--gut); background: var(--paper-2); }

.icon-btn {
  margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--ink-2);
  padding: .4rem; border-radius: 50%; display: grid; place-items: center;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.icon-btn:hover { background: var(--paper-3); color: var(--ink); }

.line {
  display: grid; grid-template-columns: 62px 1fr auto; gap: .85rem;
  align-items: center; padding: .85rem 0; border-bottom: 1px dashed var(--line);
}
.line:last-child { border-bottom: 0; }
.line img { width: 62px; height: 62px; object-fit: cover; border-radius: var(--r-sm); }
.line__name { font-weight: 600; font-size: .93rem; line-height: 1.3; }
.line__meta { font-size: .8rem; color: var(--ink-3); }
.line__price { font-weight: 700; white-space: nowrap; font-size: .95rem; }

.qty { display: inline-flex; align-items: center; gap: 0; margin-top: .35rem; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button {
  width: 28px; height: 28px; border: 0; background: var(--white); cursor: pointer;
  font-size: 1rem; line-height: 1; color: var(--ink-2); font-family: inherit;
  transition: background .15s var(--ease);
}
.qty button:hover { background: var(--paper-3); color: var(--ink); }
.qty span { min-width: 30px; text-align: center; font-size: .88rem; font-weight: 700; }

.totals { display: flex; justify-content: space-between; font-size: .95rem; margin-bottom: .4rem; color: var(--ink-2); }
.totals--big { font-size: 1.3rem; font-weight: 700; color: var(--ink); font-family: var(--display); margin: .6rem 0 1rem; }

.empty { text-align: center; padding: 3rem 1rem; color: var(--ink-3); }
.empty svg { margin: 0 auto 1rem; color: var(--line); }

.note {
  font-size: .82rem; color: var(--ink-3); text-align: center; margin: .8rem 0 0; line-height: 1.5;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 250; display: none;
  background: rgba(24, 20, 18, .93); padding: var(--gut);
  place-items: center;
}
.lightbox.is-open { display: grid; }
.lightbox__inner { max-width: min(1000px, 100%); max-height: 100%; display: grid; gap: 1rem; justify-items: center; }
.lightbox img { max-height: 74vh; width: auto; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); }
.lightbox__cap { color: #fff; text-align: center; font-family: var(--display); font-size: 1.15rem; }
.lightbox__close {
  position: fixed; top: 1rem; right: 1rem; background: rgba(255, 255, 255, .14);
  border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; display: grid; place-items: center;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .28); }
.lightbox__thumbs { display: flex; gap: .5rem; }
.lightbox__thumbs img {
  width: 62px; height: 62px; object-fit: cover; cursor: pointer;
  border: 2px solid transparent; border-radius: 8px; opacity: .55;
}
.lightbox__thumbs img[aria-current="true"] { border-color: #fff; opacity: 1; }

/* ==========================================================================
   Order page
   ========================================================================== */
.order__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1.1fr .9fr; align-items: start; }
@media (max-width: 900px) { .order__grid { grid-template-columns: 1fr; } }

.panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.panel + .panel { margin-top: 1.5rem; }
.panel h2 { font-size: 1.5rem; }
.panel h3 { margin-top: 1.6rem; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; padding: .7rem .9rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
  transition: border-color .15s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: none; }
.field textarea { min-height: 90px; resize: vertical; }
.field small { color: var(--ink-3); font-size: .8rem; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 2.6rem; margin-bottom: 1.1rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -1px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.steps strong { display: block; }
.steps span { font-size: .9rem; color: var(--ink-2); }

.pay-note {
  background: var(--paper-2); border: 1px dashed var(--line);
  border-radius: var(--r); padding: 1rem 1.2rem; font-size: .9rem; color: var(--ink-2);
}

/* ==========================================================================
   Affiliate (Shein) cards
   ========================================================================== */
.aff-note {
  display: flex; gap: .9rem; align-items: flex-start;
  background: rgba(245, 190, 63, .16); border: 1px solid rgba(245, 190, 63, .5);
  border-radius: var(--r); padding: 1rem 1.2rem; margin-bottom: 2.2rem; font-size: .92rem;
}
.aff-note svg { flex: none; color: #A87A11; margin-top: 2px; }
.aff-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.aff {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.aff:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.aff img { aspect-ratio: 1 / 1; object-fit: cover; background: var(--paper-2); }
.aff__body { padding: .85rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.aff__body h3 { font-size: 1rem; margin-bottom: .3em; }
.aff__body .badge { align-self: flex-start; margin-bottom: .5rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: #D9CFC5; padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; margin-top: 0; }
.footer a { color: #D9CFC5; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: 2.5rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
.footer h4 { font-family: var(--body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #8D8078; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .93rem; }
.footer__brand p { font-size: .93rem; color: #A2958B; max-width: 34ch; }
.footer .logo { color: #fff; margin-bottom: .8rem; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .09); transition: background .18s var(--ease);
}
.socials a:hover { background: var(--coral); }
.footer__base {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .82rem; color: #8D8078;
}

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%);
  z-index: 260; background: var(--ink); color: var(--paper);
  padding: .8rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow-lg); transition: transform .3s var(--ease);
  display: flex; align-items: center; gap: .55rem; max-width: calc(100% - 2rem);
}
.toast.is-open { transform: translate(-50%, 0); }
.toast svg { color: #7BD88F; flex: none; }

/* reveal on scroll ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

body.no-scroll { overflow: hidden; }
