/* ==========================================================================
   emmano theme — the only stylesheet.
   Every page in templates/leme/ loads this file and nothing else, so it is
   downloaded once and then served from browser cache for the whole session.

   Structure:
     1. Tokens          2. Base        3. Layout      4. Header + nav
     5. Buttons         6. Cards       7. Sections    8. Footer
     9. Utilities      10. Mobile

   Per-store theming is done by overriding the tokens in section 1 — never by
   copying this file.
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --brand:        #5b4fe9;
  --brand-dark:   #4a3fd4;
  --brand-soft:   #f4f2fe;
  --brand-tint:   #d6d1fa;

  --ink:          #1c2b53;
  --ink-2:        #4d5a7d;
  --muted:        #8a92ab;
  --muted-2:      #a8aec2;
  --muted-3:      #b8bdce;

  --line:         #eef0f6;
  --line-2:       #eceef6;
  --line-3:       #d6dae6;

  --blush:        #f6ecf0;
  --blush-2:      #fbe9f0;
  --accent:       #c4587e;
  --sale:         #e8355a;

  --page:         #fff;
  --card:         #fff;

  --r-sm:  10px;
  --r:     16px;
  --r-lg:  20px;
  --r-xl:  24px;
  --pill:  999px;

  --shadow:    0 18px 44px rgba(28, 43, 83, .16);
  --shadow-sm: 0 8px 20px rgba(91, 79, 233, .30);
  --shadow-img:0 22px 44px rgba(28, 43, 83, .18);

  --wrap:   1240px;
  --gutter: 40px;

  --font: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* The `hidden` attribute must win. Its UA rule is display:none, which any
   later same-specificity display (.qq__imgs { display: grid }) overrides -
   that is why every chained panel rendered at once. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--page);
  font-family: var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; }

h1, h2, h3, p { margin: 0; }

button { font-family: inherit; }

/* Visible focus for keyboard users, invisible for mouse users. */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.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;
}

/* 3. Layout ------------------------------------------------------------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }

/* 4. Header + nav ------------------------------------------------------- */
.announce {
  background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 600; text-align: center;
  padding: 9px 16px;
}

.site-header { background: #fff; border-bottom: 1px solid var(--line); }

.hdr-row {
  display: flex; align-items: center; gap: 36px;
  padding-top: 16px; padding-bottom: 16px;
}

.hdr-logo { flex: none; display: flex; align-items: center; }
/* width:auto — the <img> carries width/height attributes to reserve layout
   space and avoid CLS, but the rendered width must follow the real aspect
   ratio, not the attribute. */
.hdr-logo img { height: 44px; width: auto; display: block; }

/* Search is a real <form> so it works with JS disabled and with a keyboard. */
.hdr-search {
  position: relative;             /* contains the visually-hidden submit */
  flex: 1 1 240px; max-width: 560px; min-width: 0;
  display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1.5px solid var(--line-3);
  border-radius: var(--pill); padding: 12px 22px;
  transition: border-color .16s;
}
.hdr-search:focus-within { border-color: var(--brand); }
.hdr-search svg { flex: none; }
.hdr-search input {
  flex: 1 1 auto; border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: 14px; color: var(--ink);
  min-width: 0; width: 100%;
  /* Safari gives type=search a native pill, an inset shadow and a clear
     button that all fight this design. */
  -webkit-appearance: none; appearance: none;
}
.hdr-search input::-webkit-search-decoration,
.hdr-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hdr-search input::placeholder { color: var(--muted); }

.hdr-actions {
  flex: none; margin-left: auto;
  display: flex; align-items: center; gap: 28px;
}

.hdr-link { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.hdr-link:hover { color: var(--brand); }
.hdr-link__label { line-height: 1.3; }
.hdr-link__title { display: block; font-weight: 600; font-size: 15px; }
.hdr-link__sub   { display: block; font-size: 13px; color: var(--muted); }

.hdr-cart { position: relative; display: flex; }
.hdr-cart__count {
  position: absolute; top: -6px; right: -8px;
  background: var(--sale); color: #fff;
  font-size: 10px; font-weight: 600;
  border-radius: var(--pill);
  min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* No overflow here. `overflow-x: auto` makes overflow-y compute to auto too,
   which clips the dropdowns to the height of the nav bar — they render but get
   cut off. Horizontal scrolling is enabled only on mobile, where the dropdowns
   are hidden anyway (hover doesn't exist on touch). */
.nav {
  display: flex; align-items: center; gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink); font-weight: 600; font-size: 14.5px;
  padding: 12px 14px; border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--brand); border-bottom-color: var(--brand-tint); }
.nav a.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.nav a.is-quiet { color: var(--muted); margin-left: auto; font-size: 14px; }

/* Dropdown opens on hover AND on keyboard focus. */
.navdd { position: relative; }
.navdd > .dd {
  visibility: hidden; opacity: 0; transform: translateY(8px);
  transition: opacity .16s, transform .16s;
  position: absolute; top: 100%; left: 0; z-index: 50;
  padding-top: 6px;
}
.navdd:hover > .dd,
.navdd:focus-within > .dd { visibility: visible; opacity: 1; transform: translateY(0); }

.dd__panel {
  background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--r); box-shadow: var(--shadow);
  padding: 14px; min-width: 260px;
  display: flex; flex-direction: column; gap: 2px;
}
.dd__label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--muted);
  padding: 4px 14px 8px;
}
.dd__panel a {
  color: var(--ink); font-size: 13.5px; font-weight: 600;
  padding: 10px 14px; border-radius: var(--r-sm);
}
.dd__panel a:hover { background: var(--brand-soft); color: var(--brand); }
.dd__all {
  color: var(--brand) !important; font-size: 13px; font-weight: 700;
  padding: 10px 14px 6px !important; margin-top: 6px;
  border-top: 1px solid var(--line); border-radius: 0 !important;
}
.dd__all:hover { background: transparent !important; }

/* 5. Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--brand); color: #fff;
  font-family: inherit; font-weight: 700; font-size: 18px;
  border-radius: var(--pill); padding: 19px 46px;
  box-shadow: var(--shadow-sm);
  transition: background .16s;
}
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn--sm { font-size: 15px; padding: 13px 28px; }

.link-more { font-size: 13.5px; font-weight: 600; color: var(--brand); }

/* 6. Cards -------------------------------------------------------------- */
.card { display: block; color: var(--ink); }
.card:hover { color: var(--ink); }
.card:hover .card__media img { transform: scale(1.04); }

.card__media {
  position: relative; border-radius: var(--r);
  overflow: hidden; background: var(--blush);
  aspect-ratio: 1;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s ease;
}
.card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--sale); color: #fff;
  font-size: 11px; font-weight: 600;
  border-radius: 8px; padding: 5px 10px;
}
.card__title {
  font-weight: 600; font-size: 14px; line-height: 1.35;
  margin: 12px 0 4px; color: var(--ink);
}
.card__prices { display: flex; align-items: baseline; gap: 8px; }
.card__price { font-weight: 600; font-size: 15px; color: var(--ink); }
.card__was   { font-size: 12.5px; color: var(--muted-2); text-decoration: line-through; }
/* Omnibus directive: lowest price in the 30 days before the reduction. */
.card__omnibus { font-size: 10.5px; color: var(--muted-3); margin-top: 3px; }

.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 10px; background: var(--blush);
  border-radius: var(--r); color: var(--ink);
  font-weight: 600; font-size: 13.5px; text-align: center;
}
.cat-tile:hover { background: var(--blush-2); color: var(--brand); }
.cat-tile__icon {
  width: 48px; height: 48px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
}

.step {
  background: #fff; border-radius: 18px;
  padding: 28px 26px; text-align: center;
}
.step__n {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-weight: 600; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step__title { font-weight: 600; font-size: 15.5px; margin-bottom: 8px; }
.step__body  { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

/* 7. Sections ----------------------------------------------------------- */
.band { background: var(--blush); }
.band--pink {
  background: var(--blush-2); text-align: center;
  padding: 11px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink);
}

.section { padding-top: 40px; padding-bottom: 50px; }
.section--tight { padding: 36px var(--gutter) 8px; }

.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px;
}
.section__title { font-size: 24px; font-weight: 600; color: var(--ink); }
.section__title--center { text-align: center; margin-bottom: 22px; }

.hero {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 44px; align-items: center;
  padding-top: 50px; padding-bottom: 50px;
}
.hero__eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.hero__title {
  font-size: 46px; line-height: 1.12; font-weight: 700;
  color: var(--ink); letter-spacing: -.5px; margin-bottom: 16px;
  text-wrap: pretty;
}
.hero__body {
  font-size: 16px; line-height: 1.6; color: var(--ink-2);
  margin: 0 0 28px; max-width: 420px; text-wrap: pretty;
}
.hero__art { position: relative; height: 400px; }
.hero__art img {
  position: absolute; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-img);
  border: 6px solid #fff;
}
.hero__art img:first-of-type { width: 295px; left: 6px;  top: 16px;    transform: rotate(-2.5deg); }
.hero__art img:nth-of-type(2){ width: 255px; right: 14px; bottom: 6px; transform: rotate(2deg); }
.hero__chip {
  position: absolute; right: 40px; top: 30px;
  background: var(--ink); color: #fff; border-radius: var(--pill);
  padding: 9px 16px; font-size: 12.5px; font-weight: 600;
  transform: rotate(3deg);
}

.empty {
  padding: 40px 0; text-align: center;
  color: var(--muted); font-size: 14px;
}

/* 7b. Category page ----------------------------------------------------- */
.crumbs {
  display: flex; gap: 8px; align-items: center;
  padding-top: 18px; padding-bottom: 2px;
  font-size: 13px; color: var(--muted);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }

.cat-head { padding-top: 14px; padding-bottom: 4px; }
.cat-title {
  font-size: 34px; line-height: 1.15; font-weight: 700;
  color: var(--ink); letter-spacing: -.4px; margin-bottom: 10px;
  text-wrap: pretty;
}
.cat-intro {
  font-size: 15px; line-height: 1.65; color: var(--ink-2);
  max-width: 680px; text-wrap: pretty;
}

.cat-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 22px;
}
.cat-sorts { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: var(--pill);
  border: 1.5px solid var(--line-2);
  color: var(--ink); font-size: 13px; font-weight: 600;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-on {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.chip.is-on:hover { color: #fff; }
.cat-count { font-size: 13.5px; color: var(--muted); }

/* Long-form SEO copy. Styled generically because it comes from markdown. */
.prose { max-width: 760px; }
.prose h2 {
  font-size: 22px; font-weight: 600; color: var(--ink);
  margin: 32px 0 12px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; font-weight: 600; margin: 22px 0 8px; }
.prose p, .prose li {
  font-size: 15px; line-height: 1.7; color: var(--ink-2); margin: 0 0 14px;
}
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose a { text-decoration: underline; }

.faq {
  background: #fff; border-radius: var(--r-sm);
  padding: 14px 18px; margin-bottom: 8px;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; float: right; color: var(--brand);
  font-size: 18px; line-height: 1;
}
.faq[open] summary::after { content: '\2212'; }   /* minus */
.faq__a p { margin: 10px 0 0; font-size: 14.5px; }

/* 8. Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--ink); color: #fff;
  padding-top: 48px; padding-bottom: 32px;
}
.site-footer a { color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.site-footer a:hover { color: #fff; }

.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;   /* brand column is wider */
  gap: 32px; margin-bottom: 36px;
}
.footer-col--brand { max-width: 340px; }
.footer-brand { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.footer-blurb {
  font-size: 13.5px; line-height: 1.65;
  color: rgba(255, 255, 255, .68); margin: 0 0 16px;
}
.footer-contact { display: grid; gap: 6px; }

.footer-col__title {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: rgba(255, 255, 255, .55);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 24px;
  font-size: 12.5px; color: rgba(255, 255, 255, .55);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-social { display: flex; gap: 16px; }

/* 8b. Guided-search modal ----------------------------------------------- */
.modal {
  border: 0; padding: 0; background: transparent;
  max-width: 560px; width: calc(100% - 32px);
  border-radius: var(--r-xl);
  color: var(--ink);
}
.modal::backdrop { background: rgba(28, 43, 83, .45); }

.modal__panel {
  background: #fff; border-radius: var(--r-xl);
  padding: 26px 28px 28px;
  box-shadow: var(--shadow);
  max-height: 86vh; overflow-y: auto;
}
.modal__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 4px;
}
.modal__title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.modal__close {
  flex: none; border: 0; background: var(--brand-soft); color: var(--ink);
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 14px; cursor: pointer; line-height: 1;
}
.modal__close:hover { background: var(--brand); color: #fff; }
.modal__lead { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }

.modal__label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--muted);
  margin: 20px 0 10px;
}
.modal__label:first-of-type { margin-top: 0; }

.modal__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.occ {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; padding: 14px 8px;
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.25;
}
.occ:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.occ svg { color: var(--brand); }

.modal__row { display: flex; flex-wrap: wrap; gap: 8px; }
.ptype {
  padding: 9px 18px; border-radius: var(--pill);
  border: 1.5px solid var(--line-2);
  color: var(--ink); font-size: 13.5px; font-weight: 600;
}
.ptype:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }

.modal__search { display: flex; gap: 8px; }
.modal__search input {
  flex: 1; min-width: 0;
  border: 1.5px solid var(--line-3); border-radius: var(--pill);
  padding: 12px 18px; font-family: inherit; font-size: 14px; color: var(--ink);
  -webkit-appearance: none; appearance: none; outline: 0;
}
.modal__search input:focus { border-color: var(--brand); }
.modal__search .btn { flex: none; box-shadow: none; }

/* Type-ahead results. Empty until somebody types, so it takes no space. */
.modal__hits { display: grid; gap: 2px; margin-top: 10px; }
.modal__hits:empty { display: none; }
.hit {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px; border-radius: var(--r-sm);
  color: var(--ink); font-size: 13.5px; font-weight: 600;
}
.hit img {
  flex: none; width: 40px; height: 40px;
  object-fit: cover; border-radius: 8px; background: var(--blush);
}
.hit:hover, .hit:focus { background: var(--brand-soft); color: var(--brand); }

/* 9. Utilities ---------------------------------------------------------- */
.stack-6  { display: grid; gap: 6px; }
.center   { text-align: center; }
.mt-0     { margin-top: 0; }

/* 10. Mobile ------------------------------------------------------------ */
/* Logo + search + phone + cart stop fitting on one line well before the
   phone breakpoint, so the search drops to its own row here rather than
   squeezing or overflowing. */
@media (max-width: 1000px) {
  .hdr-row { flex-wrap: wrap; gap: 12px 20px; }
  .hdr-search { order: 3; flex-basis: 100%; max-width: 100%; }
  .hdr-actions { margin-left: auto; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }

  /* Only the vertical padding — the shorthand used to reset .wrap's
     horizontal gutter to 0 and push the header flush to the screen edge. */
  .hdr-row { padding-top: 12px; padding-bottom: 12px; gap: 12px 14px; }
  .hdr-help { display: none; }
  .hdr-actions { gap: 18px; }
  .hdr-logo img { height: 36px; }

  /* On touch there is no hover, so the dropdowns can't be opened. Hide them
     and let the nav scroll sideways instead — the child links live on the
     category pages the top-level items point to. */
  .nav {
    flex-wrap: nowrap;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-left: 0; padding-right: 0;
    scroll-padding-left: var(--gutter);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav::before, .nav::after { content: ''; flex: none; width: calc(var(--gutter) - 14px); }
  .navdd > .dd { display: none; }
  .caret { display: none; }        /* no dropdown to open, so no affordance */

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .hero__title { font-size: 32px; }
  .hero__art { height: 300px; }
  .hero__art img:first-of-type { width: 210px; }
  .hero__art img:nth-of-type(2) { width: 180px; }
  .hero__chip { right: 12px; }

  .section { padding-top: 28px; padding-bottom: 32px; }
  .section__title { font-size: 20px; }

  .cat-title { font-size: 26px; }
  .cat-bar { padding-top: 16px; }
  .cat-sorts { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .cat-sorts::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }

  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .footer-col--brand { grid-column: 1 / -1; max-width: none; }

  .modal__panel { padding: 20px 18px 24px; }
  .modal__title { font-size: 17px; }
  .modal__grid { grid-template-columns: repeat(2, 1fr); }
  .modal__search { flex-wrap: wrap; }
  .modal__search .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .card:hover .card__media img { transform: none; }
}
/* 7c. Cart - ported from claude_theme/Emmano Cart.dc.html ---------------- */
/* A checkout funnel, not a browsing page: grey page, white cards, its own
   stripped header, no nav and no footer. */

.co-header { background: #fff; box-shadow: 0 1px 0 #e8eaf2; }
.co-header__row {
  max-width: 1280px; margin: 0 auto; padding: 14px 32px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 20px;
}
.co-back {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink-2); justify-self: start;
}
.co-back:hover { color: var(--brand); }
.co-header__row img { height: 46px; width: auto; display: block; }
.co-secure {
  justify-self: end; display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--ink-2);
}
.co-secure a { font-weight: 600; color: var(--ink-2); }
.co-secure a:hover { color: var(--brand); }

.co-steps {
  max-width: 1280px; margin: 0 auto; padding: 26px 32px 8px;
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 600; color: #b0b6c8;
}
.co-steps .is-on {
  color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 3px;
}

.co-wrap { max-width: 1280px; margin: 0 auto; padding: 18px 32px 64px; }
.co-grid {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: 28px; align-items: start;
}
.co-grid.is-busy { opacity: .55; pointer-events: none; }

.co-card {
  background: #fff; border-radius: 14px;
  padding: 30px 34px; border: 1px solid #e8eaf2;
}
.co-card--tight { padding: 26px 30px; }
.co-side { display: flex; flex-direction: column; gap: 20px; }

.co-title {
  font-size: 15px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: #141a2e; margin-bottom: 10px;
}
.co-card--tight .co-title { font-size: 14px; margin-bottom: 18px; }

/* ---- a cart line ---- */
.ci {
  display: grid; grid-template-columns: 170px 1fr auto;
  gap: 22px; padding: 24px 0; border-top: 1px solid var(--line);
}
.ci__media { position: relative; }
.ci__media img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 10px; display: block;
}
.ci__qty {
  position: absolute; top: -7px; right: -7px;
  background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 700; border-radius: 50%;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.ci__name {
  font-size: 16.5px; font-weight: 700; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px;
}
.ci__meta {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #6b7490; margin-top: 3px;
}
.ci__meta:first-of-type { margin-top: 8px; }
.ci__btns { display: flex; gap: 10px; margin-top: 14px; }
.ci__btn {
  border: 1.5px solid #c9cede; background: #fff; border-radius: 8px;
  padding: 9px 18px; font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.ci__btn:hover { border-color: var(--brand); color: var(--brand); }
.ci__right { text-align: right; }
.ci__price { font-size: 16.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ci__was {
  font-size: 13.5px; color: var(--muted-2); text-decoration: line-through;
  margin-top: 4px; white-space: nowrap;
}
.ci__remove {
  display: inline-block; margin-top: 14px;
  font-size: 13.5px; font-weight: 600; color: #6b7490;
  text-decoration: underline; text-underline-offset: 3px;
}
.ci__remove:hover { color: var(--sale); }

/* ---- Stworz zestaw ---- */
.co-set { border-top: 1px solid var(--line); padding-top: 24px; }
.co-set__title {
  text-align: center; font-size: 21px; font-weight: 700;
  color: #141a2e; margin-bottom: 18px;
}
.up {
  display: grid; grid-template-columns: 150px 1fr auto;
  gap: 22px; align-items: center;
  background: #f9f9fc; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px; margin-bottom: 12px;
}
.up img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.up__name { font-size: 16.5px; font-weight: 700; color: var(--ink); }
.up__prices { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.up__price { font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.up__was {
  font-size: 13.5px; color: #b4364f; text-decoration: line-through; white-space: nowrap;
}
.up__note { font-size: 12.5px; color: #6b7490; margin-top: 4px; }
.up__add {
  border: 2px solid var(--brand); background: #fff; color: var(--brand);
  border-radius: 10px; padding: 12px 26px;
  font-size: 14.5px; font-weight: 700; cursor: pointer;
  font-family: inherit; white-space: nowrap;
}
.up__add:hover { background: var(--brand); color: #fff; }

/* ---- the two CTAs ---- */
.co-ctas { display: block; }
.co-cta {
  display: block; width: 100%; border: 0; cursor: pointer;
  color: #fff; text-align: center;
  font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: 2px;
  border-radius: 10px; padding: 19px 20px;
}
.co-cta--pay { background: var(--brand); margin-top: 14px; }
.co-cta--pay:hover { background: var(--brand-dark); }
.co-cta--cod { background: var(--ink); margin-top: 12px; }
.co-cta--cod:hover { background: #141a2e; }

.co-safe {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 20px; font-size: 14px; font-weight: 800;
  letter-spacing: .5px; text-transform: uppercase; color: #141a2e;
}
.co-pays {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap; margin-top: 12px;
}
.co-pays span {
  border: 1px solid #e0e3ee; border-radius: 6px; padding: 5px 10px;
  font-size: 11.5px; font-weight: 700; color: var(--ink-2);
}

/* ---- summary ---- */
.co-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0; font-size: 15.5px; font-weight: 600;
}
.co-row strong { font-weight: 700; }
.co-row--line { border-bottom: 1px solid var(--line); }

/* ---- review ---- */
.co-review {
  display: grid; grid-template-columns: 130px 1fr;
  gap: 20px; align-items: start; padding: 24px 26px;
}
.co-review img { width: 100%; aspect-ratio: .8; object-fit: cover; border-radius: 8px; display: block; }
.co-review__title { font-size: 18px; font-weight: 700; color: #141a2e; margin-bottom: 8px; }
.co-review__stars { color: var(--ink); font-size: 16px; letter-spacing: 2px; margin-bottom: 10px; }
.co-review__text { font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.co-review__who { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* ---- help ---- */
.co-help { padding: 6px 8px; }
.co-help__title {
  font-size: 14.5px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: #141a2e; margin-bottom: 8px;
}
.co-help div { font-size: 15px; color: var(--ink); }
.co-help a { font-size: 15px; font-weight: 700; color: var(--ink); }
.co-help a[href^="mailto"] { color: var(--brand); }
.co-help__label { font-weight: 700; color: #141a2e; margin-top: 18px; }

/* The cart page sits on grey, per the design. */
body:has(.co-header) { background: #f2f1f6; }

@media (max-width: 900px) {
  .co-header__row { padding: 12px 18px; grid-template-columns: auto 1fr; }
  .co-secure { display: none; }
  .co-steps, .co-wrap { padding-left: 18px; padding-right: 18px; }
  .co-grid { grid-template-columns: 1fr; gap: 20px; }
  .co-card { padding: 20px 18px; }
  .ci { grid-template-columns: 96px 1fr; gap: 14px; }
  .ci__right { grid-column: 2; text-align: left; }
  .up { grid-template-columns: 92px 1fr; }
  .up__add { grid-column: 2; justify-self: start; }
  .co-review { grid-template-columns: 96px 1fr; }
}

/* Quantity steppers need JS (the endpoint takes a JSON body), so hide them
   until leme.js has run. The number itself always shows. */
.qty button { display: none; }
.js .qty button { display: block; }
.js .qty { border: 1.5px solid var(--line-3); }
.qty { border: 0; }
.field-error { color: var(--sale); font-size: 12.5px; margin-top: 5px; }
.has-error { border-color: var(--sale) !important; }
.is-loading { opacity: .6; pointer-events: none; }
.is-busy { opacity: .55; pointer-events: none; }

/* 7d. Guarantee - ported from claude_theme/Emmano Guarantee.dc.html ------ */
/* Same treatment as the cart: grey page, white cards. Here it is doing a
   different job - the cards have to read as separate promises rather than as
   one wall of terms-and-conditions text. */

.gt-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, #7a6ff0 60%, #9187f4 100%);
  color: #fff;
}
/* The design's two soft circles. Ornament, so they are pseudo-elements rather
   than empty divs a screen reader has to walk past. */
.gt-hero::before, .gt-hero::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.gt-hero::before {
  width: 340px; height: 340px; top: -140px; right: -60px;
  background: rgba(255, 255, 255, .08);
}
.gt-hero::after {
  width: 200px; height: 200px; bottom: -90px; left: 22%;
  background: rgba(255, 255, 255, .07);
}

.gt-hero__row {
  position: relative;                    /* above the circles */
  display: flex; align-items: center; gap: 32px;
  padding-top: 52px; padding-bottom: 52px;
}

.gt-hero__badge {
  flex: none; width: 84px; height: 84px; border-radius: 22px;
  background: rgba(255, 255, 255, .15);
  display: flex; align-items: center; justify-content: center;
}

.gt-hero__text { flex: 1; }
.gt-hero__title {
  font-size: 40px; font-weight: 700; letter-spacing: -.4px;
  margin-bottom: 10px; text-wrap: pretty;
}
.gt-hero__lead {
  font-size: 17px; line-height: 1.55; opacity: .92;
  max-width: 560px; text-wrap: pretty;
}

.gt-stats { flex: none; display: flex; gap: 28px; }
.gt-stats__rule { width: 1px; background: rgba(255, 255, 255, .25); }
.gt-stat { text-align: center; }
.gt-stat__value { font-size: 26px; font-weight: 700; }
.gt-stat__label { font-size: 12.5px; opacity: .85; }

.gt-grid {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 44px; align-items: start;
  padding-top: 40px; padding-bottom: 72px;
}

/* min-width:0 — a grid item defaults to min-content width, so one long
   unbroken word in a promise would widen the column and squash the panel. */
.gt-list { min-width: 0; }

.gt-card {
  background: var(--card); border: 1px solid #e8eaf2;
  border-radius: var(--r); padding: 26px 30px; margin-bottom: 16px;
}
.gt-card:last-child { margin-bottom: 0; }
.gt-card__title {
  font-size: 20px; font-weight: 700; color: #141a2e; margin-bottom: 10px;
  text-wrap: pretty;
}
.gt-card__body {
  font-size: 15px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty;
}

.gt-help {
  background: var(--card); border: 1px solid #e8eaf2;
  border-radius: 18px; padding: 30px 32px;
  position: sticky; top: 20px;
}
.gt-help__title {
  font-size: 24px; font-weight: 700; color: #141a2e; margin-bottom: 10px;
}
.gt-help__lead {
  font-size: 14.5px; line-height: 1.65; color: var(--ink-2);
  margin-bottom: 22px; text-wrap: pretty;
}

.gt-ch {
  display: grid; grid-template-columns: 46px 1fr auto;
  gap: 14px; align-items: center;
  border: 1px solid #e8eaf2; border-radius: 14px;
  padding: 14px 16px; margin-bottom: 12px; color: var(--ink);
}
.gt-ch:last-child { margin-bottom: 0; }
.gt-ch:hover { border-color: var(--brand); color: var(--ink); }
.gt-ch__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.gt-ch__icon--wa   { background: #e9f6ee; }
.gt-ch__icon--mail { background: var(--brand-soft); }
.gt-ch__icon--tel  { background: var(--ink); }
.gt-ch__title { display: block; font-weight: 700; font-size: 16px; }
/* The email address is the longest thing in this panel and the grid column is
   narrow — break it rather than letting it push the arrow off the card. */
.gt-ch__sub {
  display: block; font-size: 13px; color: var(--muted); margin-top: 2px;
  overflow-wrap: anywhere;
}
.gt-ch__arrow { color: var(--muted); }

/* The guarantee page sits on grey, per the design - same mechanism the cart
   uses, keyed off markup only this page has. */
body:has(.gt-hero) { background: #f2f1f6; }

/* ---- the strip that carries it onto every other page ---- */
.gt-strip { background: var(--brand-soft); border-top: 1px solid var(--brand-tint); }
.gt-strip__row {
  display: flex; align-items: center; gap: 24px;
  padding-top: 20px; padding-bottom: 20px;
  color: var(--ink);
}
.gt-strip__row:hover { color: var(--ink); }
.gt-strip__row:hover .gt-strip__cta { color: var(--brand-dark); }

.gt-strip__badge {
  flex: none; width: 46px; height: 46px; border-radius: 13px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.gt-strip__lead { flex: none; }
.gt-strip__title { display: block; font-weight: 700; font-size: 16px; }
.gt-strip__sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

.gt-strip__points {
  flex: 1; display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
/* The tick is decorative - the sentence already says what the promise is. */
.gt-strip__point::before {
  content: '✓'; color: var(--brand); font-weight: 700; margin-right: 7px;
}
.gt-strip__cta {
  flex: none; font-size: 14px; font-weight: 700; color: var(--brand);
  white-space: nowrap;
}

@media (max-width: 1000px) {
  /* The three ticks are the first thing to go - the heading and the CTA are
     what actually carry the click. */
  .gt-strip__points { display: none; }
  .gt-strip__lead { flex: 1; }
}

@media (max-width: 900px) {
  .gt-hero__row {
    flex-wrap: wrap; gap: 20px;
    padding-top: 36px; padding-bottom: 36px;
  }
  .gt-hero__badge { width: 64px; height: 64px; border-radius: 18px; }
  .gt-hero__badge svg { width: 34px; height: 34px; }
  .gt-hero__title { font-size: 28px; }
  .gt-hero__lead { font-size: 15.5px; }
  /* Stats drop to their own full-width row instead of squeezing the heading. */
  .gt-stats { flex-basis: 100%; justify-content: space-between; gap: 16px; }

  .gt-grid {
    grid-template-columns: 1fr; gap: 20px;
    padding-top: 24px; padding-bottom: 48px;
  }
  .gt-card { padding: 20px 18px; }
  .gt-card__title { font-size: 18px; }
  /* Sticky is meaningless once the panel is below the cards, and it strands
     the panel mid-screen on a short viewport. */
  .gt-help { position: static; padding: 24px 18px; }

  .gt-strip__row { gap: 14px; padding-top: 16px; padding-bottom: 16px; }
  .gt-strip__sub { display: none; }
  .gt-strip__cta { font-size: 13px; }
}

@media (max-width: 560px) {
  .gt-strip__badge { width: 38px; height: 38px; border-radius: 11px; }
  .gt-strip__badge svg { width: 21px; height: 21px; }
  .gt-strip__cta { white-space: normal; text-align: right; }
}

/* 7d. Product designer + questions --------------------------------------- */
.dz {
  /* 7 / 5, not an even split - the mockup is the hero and gets the room. */
  display: grid; grid-template-columns: 7fr 5fr;
  gap: 44px; align-items: start; padding-top: 8px; padding-bottom: 56px;
}
.dz__media {
  position: sticky; top: 18px;
  border-radius: var(--r-lg); overflow: hidden; background: var(--blush);
}
.dz__media img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

.dz__title {
  font-size: 30px; line-height: 1.15; font-weight: 700;
  color: var(--ink); letter-spacing: -.3px;
}
.dz__sub { font-size: 15px; color: var(--ink-2); margin: 6px 0 22px; }

.dz__group { margin-bottom: 8px; }
.dz__grouphead {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 6px;
}
.dz__grouplabel {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; color: var(--muted);
}
.dz__back {
  border: 0; background: none; cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 600; color: var(--brand);
  text-decoration: underline; text-underline-offset: 3px;
}
.dz__groupname { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }

.dz__warn {
  background: #fdecef; border: 1px solid #f6c9d3; border-radius: var(--r-sm);
  color: #a3243c; font-size: 13.5px; font-weight: 600; padding: 11px 14px;
  margin: 14px 0;
}
.dz__cta { width: 100%; margin-top: 18px; }
.dz__note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 10px; }
.dz__trust {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; gap: 10px; font-size: 13.5px; color: var(--ink-2);
}
.dz__trust li::before { content: '\2713'; color: var(--brand); margin-right: 8px; font-weight: 700; }

/* ---- one question ---- */
/* Questions inside one person sit close together, so the person reads as a
   single block. The air goes BETWEEN people instead - see .dz__person below.
   Both gaps used to be ~26px, which made two people look like four loose
   questions. */
.qq { margin-bottom: 16px; }
.qq__q { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.qq__help, .qq__note { font-size: 12.5px; color: var(--muted); }
.qq__help { margin-bottom: 10px; }
.qq__note { margin-top: 6px; display: block; }
.qq__label { display: block; font-size: 13px; font-weight: 600; margin: 10px 0 6px; }
.qq__err { color: var(--sale); font-size: 12.5px; font-weight: 600; margin-top: 6px; }

.qq__text, .qq__select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line-3); border-radius: var(--r-sm);
  font-family: inherit; font-size: 15px; color: var(--ink);
  -webkit-appearance: none; appearance: none; outline: 0; background: #fff;
}
.qq__select { background-image: none; }
.qq__text:focus, .qq__select:focus { border-color: var(--brand); }
.qq .has-error { border-color: var(--sale); }

.qq__opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.qq__choice, .qq__own {
  border: 1.5px solid var(--line-3); background: #fff; color: var(--ink);
  border-radius: var(--r-sm); padding: 12px 20px; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 700;
}
.qq__choice:hover, .qq__own:hover { border-color: var(--brand); color: var(--brand); }
.qq__choice.is-on { border-color: var(--brand); background: #efedfb; color: var(--brand); }
.qq__own { font-weight: 600; color: var(--muted); }

.qq__opt { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.qq__opt input { accent-color: var(--brand); }
.qq__check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; }
.qq__check input { accent-color: var(--brand); width: 18px; height: 18px; }

.qq__imgs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; margin-top: 10px;
}
.qq__imgs--wide { grid-template-columns: repeat(3, 1fr); }
.qq__img {
  display: block; cursor: pointer; text-align: center;
  border: 2px solid transparent; border-radius: var(--r-sm);
  padding: 6px; background: #fff;
}
.qq__img input { position: absolute; opacity: 0; width: 0; height: 0; }
.qq__img img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.qq__img span { display: block; font-size: 12px; font-weight: 600; margin-top: 5px; }
.qq__img:hover { border-color: var(--brand-tint); }
.qq__img:has(input:checked), .qq__img.is-on { border-color: var(--brand); background: #efedfb; }

.qq__count { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.qq__names { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }

.qq__date { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; margin-top: 10px; }
.qq__date label { display: grid; gap: 5px; font-size: 12px; font-weight: 600; color: var(--muted); }
.qq__date select, .qq__date input {
  padding: 12px 12px; border: 1.5px solid var(--line-3); border-radius: var(--r-sm);
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
  -webkit-appearance: none; appearance: none;
}

/* ---- progress modal ---- */
.dz__loading .modal__panel { text-align: center; padding: 34px 30px; }
.dz__spin {
  width: 38px; height: 38px; margin: 0 auto 16px;
  border: 3px solid var(--brand-soft); border-top-color: var(--brand);
  border-radius: 50%; animation: dzspin .9s linear infinite;
}
@keyframes dzspin { to { transform: rotate(360deg); } }
.dz__loadtitle { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.dz__bar { height: 8px; background: var(--brand-soft); border-radius: var(--pill); overflow: hidden; }
.dz__barfill { height: 100%; width: 0; background: var(--brand); transition: width .3s ease; }
.dz__loadnote { font-size: 13px; color: var(--muted); margin-top: 12px; }

@media (max-width: 900px) {
  .dz { grid-template-columns: 1fr; gap: 22px; padding-bottom: 36px; }
  .dz__media { position: static; }
  .dz__title { font-size: 24px; }
  .qq__imgs { grid-template-columns: repeat(3, 1fr); }
  .qq__date { grid-template-columns: 1fr; }
}

/* 7e. Order tracking - ported from claude_theme/Emmano Order Tracking.dc.html */
/* Grey page, white cards, a two-column split that collapses on mobile. Same
   token set as everything else - no new colours are introduced here. */

/* Lines on this page are black, not the theme's faint grey. One token so the
   card borders, the dividers and the input outlines can never drift apart. */
:root { --ot-line: #000; }

body:has(.ot-grid) { background: #f2f1f6; }

.ot-grid {
  display: grid; grid-template-columns: 1.55fr 1fr;
  gap: 36px; align-items: start;
  padding-top: 44px; padding-bottom: 72px;
}

.ot-h1 { font-size: 32px; font-weight: 700; color: #141a2e; margin-bottom: 8px; }
.ot-lead { font-size: 15px; color: var(--ink-2); margin-bottom: 24px; }

.ot-card {
  background: var(--card); border: 1px solid var(--ot-line);
  border-radius: var(--r); padding: 28px 30px;
}
.ot-form { box-shadow: 0 10px 32px rgba(28, 43, 83, .08); }

.ot-field { margin-bottom: 14px; }
.ot-field label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--ink); margin-bottom: 7px;
}
.ot-field input {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid var(--ot-line); border-radius: var(--r-sm);
  padding: 13px 15px; font-family: inherit;
  font-size: 15px; font-weight: 500; color: var(--ink);
  outline: none; background: #fff;
}
.ot-field input:focus { border-color: var(--brand); }
.ot-hint { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }

.ot-error { font-size: 13.5px; font-weight: 600; color: var(--sale); margin: 10px 0; }

.ot-submit {
  width: 100%; border: 0; cursor: pointer;
  background: var(--brand); color: #fff;
  border-radius: 12px; padding: 17px 20px;
  font-family: inherit; font-size: 17px; font-weight: 700;
  transition: background .16s;
}
.ot-submit:hover { background: var(--brand-dark); }

/* ---- the found order ---- */
.ot-result { margin-top: 20px; }
.ot-result__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; margin-bottom: 4px;
}
.ot-result__no { font-size: 18px; font-weight: 700; color: #141a2e; }
.ot-pill { font-size: 13px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.ot-pill.is-shipped { color: #3a9b57; }
.ot-eta { font-size: 13.5px; color: #6b7490; margin-bottom: 18px; }
.ot-eta strong { color: var(--ink); }

.ot-steps { margin-bottom: 4px; }
.ot-step {
  display: grid; grid-template-columns: 26px 1fr auto;
  gap: 14px; align-items: start; padding-bottom: 22px;
}
.ot-step__dot {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: var(--line); color: var(--muted);
}
.ot-step.is-done .ot-step__dot { background: #3a9b57; color: #fff; }
.ot-step.is-curr .ot-step__dot { background: var(--brand); color: #fff; }
.ot-step__title { font-size: 15px; font-weight: 700; color: var(--ink); }
.ot-step.is-todo .ot-step__title { color: var(--muted); }
.ot-step__desc { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ot-step__when { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.ot-track {
  border-top: 1px solid var(--ot-line); padding-top: 18px; margin-bottom: 18px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
}
.ot-track__label { font-size: 12.5px; color: var(--muted); }
.ot-track__id { font-size: 15px; color: var(--ink); word-break: break-all; }
.ot-track__where { font-size: 12.5px; color: var(--muted); flex-basis: 100%; }

/* ---- "will it arrive in time?" ---- */
.ot-need { border-top: 1px solid var(--ot-line); padding-top: 18px; }
.ot-need__title { font-size: 15px; font-weight: 700; color: #141a2e; margin-bottom: 4px; }
.ot-need__body { font-size: 13px; color: #6b7490; margin-bottom: 12px; }
.ot-need__form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ot-need__form input {
  box-sizing: border-box; border: 1.5px solid var(--ot-line);
  border-radius: var(--r-sm); padding: 11px 12px;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--ink); outline: none; background: #fff;
}
.ot-need__form input:focus { border-color: var(--brand); }
.ot-need__form button {
  border: 2px solid var(--brand); background: #fff; color: var(--brand);
  border-radius: var(--r-sm); padding: 10px 20px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
}
.ot-need__form button:hover { background: var(--brand-soft); }

.ot-verdict {
  margin-top: 12px; border-radius: var(--r-sm); padding: 12px 16px;
  font-size: 13.5px; font-weight: 600; line-height: 1.5;
}
.ot-verdict.is-good { background: #e9f6ee; color: #2c7a44; border: 1px solid #bfe3cc; }
.ot-verdict.is-bad  { background: #fdf0ec; color: #a3452c; border: 1px solid #f3cdbe; }
.ot-verdict a { color: inherit; font-weight: 700; text-decoration: underline; }

/* ---- one more thing ---- */
.ot-upsell {
  border-top: 1px solid var(--ot-line); padding-top: 18px; margin-top: 18px;
  display: grid; grid-template-columns: 96px 1fr auto;
  gap: 16px; align-items: center;
}
.ot-upsell img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r-sm); display: block;
}
.ot-upsell__name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.ot-upsell__prices { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.ot-upsell__price { font-size: 15px; font-weight: 700; color: var(--ink); }
.ot-upsell__was { font-size: 13px; color: #b4364f; text-decoration: line-through; }
.ot-upsell__note { font-size: 12.5px; color: #6b7490; margin-top: 4px; }
.ot-upsell button {
  border: 2px solid var(--brand); background: #fff; color: var(--brand);
  border-radius: var(--r-sm); padding: 11px 22px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
}
.ot-upsell button:hover { background: var(--brand-soft); }

/* ---- right rail ---- */
.ot-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 20px; }

.ot-promo {
  background: linear-gradient(135deg, var(--brand) 0%, #7a6ff0 100%);
  border-radius: 18px; padding: 26px 28px; color: #fff;
}
.ot-promo__kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  opacity: .85; margin-bottom: 8px;
}
.ot-promo__title { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.ot-promo__body { font-size: 13.5px; line-height: 1.55; opacity: .85; margin-bottom: 18px; }
.ot-promo__label { font-size: 12.5px; font-weight: 700; opacity: .95; margin-bottom: 8px; }
.ot-promo__rail {
  height: 7px; background: rgba(255, 255, 255, .25);
  border-radius: 4px; overflow: hidden; margin-bottom: 18px;
}
.ot-promo__rail span {
  display: block; height: 100%; width: 0;
  border-radius: 4px; background: #fff; transition: width .25s;
}
.ot-promo button {
  width: 100%; border: 0; border-radius: 11px; padding: 14px;
  font-family: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; background: #fff; color: var(--brand);
}

.ot-links {
  background: var(--card); border: 1px solid var(--ot-line);
  border-radius: var(--r); padding: 22px 26px;
  display: flex; flex-direction: column; gap: 9px;
}
.ot-links__title { font-size: 16px; font-weight: 700; color: #141a2e; }
.ot-links__sub { font-size: 13.5px; color: #6b7490; }
.ot-links a { font-weight: 600; }
.ot-links span { font-size: 14px; color: var(--ink); }

/* ---- reminders panel ---- */
.ot-panel { position: fixed; inset: 0; z-index: 100; }
.ot-panel__scrim { position: absolute; inset: 0; background: rgba(20, 26, 46, .45); }
.ot-panel__body {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 92vw; box-sizing: border-box;
  background: #fff; box-shadow: -20px 0 60px rgba(20, 26, 46, .25);
  padding: 28px 30px; overflow-y: auto;
}
.ot-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.ot-panel__title { font-size: 20px; font-weight: 700; color: #141a2e; }
.ot-panel__x {
  border: 0; background: #f4f4f8; border-radius: 50%;
  width: 34px; height: 34px; font-size: 15px;
  color: var(--ink); cursor: pointer; font-family: inherit;
}
.ot-panel__intro { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin-bottom: 6px; }
.ot-panel__note { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.ot-panel__label { font-size: 13px; font-weight: 700; color: #6b7490; margin-bottom: 10px; }
.ot-panel__rail {
  height: 7px; background: var(--line); border-radius: 4px;
  overflow: hidden; margin-bottom: 20px;
}
.ot-panel__rail span {
  display: block; height: 100%; width: 0;
  border-radius: 4px; background: var(--brand); transition: width .25s;
}
.ot-panel__kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--muted); margin: 14px 0 8px;
}

.ot-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; border: 1px solid var(--ot-line); border-radius: 12px;
  padding: 12px 16px; margin-bottom: 8px;
}
.ot-row.is-mine { background: #f8f7fe; border-color: #e4e0fb; }
.ot-row__name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.ot-row__date { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ot-row button {
  border: 2px solid var(--brand); background: #fff; color: var(--brand);
  border-radius: var(--r-sm); padding: 9px 18px;
  font-family: inherit; font-size: 13.5px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
}
.ot-row button.is-on { border-color: #3a9b57; background: #e9f6ee; color: #2c7a44; }
.ot-row button.is-plain {
  border: 0; background: none; padding: 0; text-decoration: underline;
  color: var(--muted); font-size: 12.5px; font-weight: 600;
}

.ot-custom { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; align-items: center; }
.ot-custom input {
  box-sizing: border-box; width: 100%;
  border: 1.5px solid var(--ot-line); border-radius: var(--r-sm);
  padding: 12px 13px; font-family: inherit;
  font-size: 14px; font-weight: 500; color: var(--ink);
  outline: none; background: #fff;
}
.ot-custom input:focus { border-color: var(--brand); }
.ot-custom button {
  border: 2px solid var(--brand); background: #fff; color: var(--brand);
  border-radius: var(--r-sm); padding: 10px 16px;
  font-family: inherit; font-size: 13.5px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
}

@media (max-width: 900px) {
  .ot-grid { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
  .ot-side { position: static; }
  .ot-h1 { font-size: 26px; }
  .ot-card { padding: 22px 18px; }
  .ot-upsell { grid-template-columns: 80px 1fr; }
  .ot-upsell form { grid-column: 2; justify-self: start; }
  .ot-custom { grid-template-columns: 1fr; }
  .ot-panel__body { width: 100%; padding: 22px 18px; }
}

/* Designer: the questions sit in a white card, per the design. */
.dz__card {
  background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--r-lg); padding: 26px 28px;
}
.dz__q { font-size: 21px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.dz__hint { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.dz__counts { display: flex; flex-wrap: wrap; gap: 10px; }
.dz__count {
  min-width: 62px; height: 62px; padding: 0 14px;
  border: 1.5px solid var(--line-3); background: #fff; color: var(--ink);
  border-radius: 12px; cursor: pointer;
  font-family: inherit; font-size: 19px; font-weight: 700;
}
.dz__count:hover { border-color: var(--brand); color: var(--brand); }
.dz__count.is-on { border: 2.5px solid var(--brand); background: #efedfb; color: var(--brand); }
.dz__step { margin-bottom: 4px; }

/* The seam between two people. The last question in a group drops its own
   bottom margin so this rule is the ONLY thing setting the gap - otherwise the
   two stack and the spacing drifts every time .qq changes.
   :not([hidden]) on both sides because the sections are revealed one headcount
   at a time; without it the first visible person gets a leading gap. */
.dz__person .qq:last-child { margin-bottom: 0; }

/*
 * On desktop every person is on screen at once, so the seam between them has
 * to be the biggest gap on the page - otherwise "3 Osoba" reads as just another
 * question. The heading itself sits TIGHT to its first question for the same
 * reason: air above the name groups it with what follows, air below detaches it.
 */
.dz__person:not([hidden]) + .dz__person:not([hidden]) { margin-top: 54px; }
.dz__person > .dz__q { margin-bottom: 2px; }
.dz__person > .dz__q + .qq { margin-top: 0; }


/* V / W first level - colour swatches. Small squares, no captions, per the
   design; the label is only useful on the second level (the hairstyles). */
.qq__imgs--swatch {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.qq__imgs--swatch .qq__img {
  width: 46px; padding: 3px; border-radius: 10px;
}
.qq__imgs--swatch .qq__img img {
  width: 40px; height: 40px; border-radius: 7px; object-fit: cover;
}
.qq__imgs--swatch .qq__img span { display: none; }   /* caption is noise here */

/*
 * Second level - the hairstyles.
 *
 * FIXED TILES, NOT A 3-COLUMN GRID. repeat(3, 1fr) stretched each card to a
 * third of the panel, so on a desktop the panel is wide and five hairstyles
 * became five 250px cards with a small drawing floating in the middle, then an
 * orphaned second row. The Vue used 100x100 tiles in a flex wrap and it read
 * correctly at every width; this is that, and it also lines the styles up with
 * the colour swatches directly above them.
 */
.qq__imgs--style {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px;
}
.qq__imgs--style .qq__img {
  width: 104px; flex: none;
  border: 1.5px solid #aab2c6; border-radius: 12px; padding: 8px;
}
.qq__imgs--style .qq__img img { width: 100%; height: 84px; object-fit: contain; }

@media (max-width: 900px) {
  .qq__imgs--style { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Feedback pass: less-round buttons, more presence, bigger supporting text.
   The cart and size-selection designs both use ~10-12px on buttons, so this
   also brings the theme in line with them - only the search field stays a
   pill, where the design does want one.
   ========================================================================== */

.btn {
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(91, 79, 233, .28);
  transition: background .16s, box-shadow .16s, transform .06s;
}
.btn:hover { box-shadow: 0 8px 22px rgba(91, 79, 233, .34); }
.btn:active { transform: translateY(1px); box-shadow: 0 4px 12px rgba(91, 79, 233, .26); }
.btn--sm { border-radius: 10px; }

/* Option buttons read as pressable: a lift, a shadow, and a clear pressed
   state. Shadow value matches the size-selection design. */
.qq__choice, .qq__own, .ptype, .chip, .dz__count, .ci__btn {
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(28, 43, 83, .10);
  transition: border-color .12s, background .12s, color .12s,
              box-shadow .12s, transform .06s;
}
.qq__choice:hover, .qq__own:hover, .ptype:hover, .chip:hover,
.dz__count:hover, .ci__btn:hover {
  box-shadow: 0 5px 14px rgba(28, 43, 83, .16);
  transform: translateY(-1px);
}
.qq__choice:active, .ptype:active, .chip:active, .dz__count:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(28, 43, 83, .12);
}
.qq__choice.is-on, .chip.is-on, .dz__count.is-on {
  box-shadow: 0 4px 14px rgba(91, 79, 233, .22);
}

/* Image choices lift on hover too, so they read as clickable. */
.qq__imgs--style .qq__img,
.qq__imgs--swatch .qq__img {
  transition: border-color .12s, box-shadow .12s, transform .06s;
}
.qq__imgs--style .qq__img:hover,
.qq__imgs--swatch .qq__img:hover {
  box-shadow: 0 5px 14px rgba(28, 43, 83, .14);
  transform: translateY(-1px);
}
.qq__imgs--swatch .qq__img { box-shadow: 0 2px 6px rgba(28, 43, 83, .12); }
.qq__imgs--swatch .qq__img:has(input:checked),
.qq__imgs--swatch .qq__img.is-on {
  box-shadow: 0 0 0 2px var(--brand), 0 4px 12px rgba(91, 79, 233, .22);
}

/* The questions card carries the page - give it weight. */
.dz__card {
  padding: 30px 32px;
  border-radius: var(--r-xl);
  box-shadow: 0 10px 30px rgba(28, 43, 83, .08);
}

/* The product name under the H1 is the quote - make it read like one. */
.dz__sub {
  font-size: 18px; font-weight: 600; color: var(--ink-2);
  letter-spacing: .2px; margin: 8px 0 20px;
}

/* Benefits are a reason to buy, not fine print. */
.dz__trust { gap: 12px; font-size: 15px; margin-top: 30px; }
.dz__trust li::before { font-size: 16px; }
.cart-trust { font-size: 13.5px; gap: 8px; }

/* Inputs match the new button radius. */
.qq__text, .qq__select, .modal__search input,
.cart-note textarea, .qq__date select, .qq__date input {
  border-radius: 10px;
}

/* ---- Mobile: nav behind a hamburger ------------------------------------ */
/* The horizontally-scrolling nav ran off the screen on a phone. Below the
   breakpoint it moves into a full-screen panel, which also carries the search;
   the button only exists there. 900px matches the designer's own breakpoint so
   the two never disagree about which mode the page is in. */

.hdr-burger { display: none; }
html.is-locked, html.is-locked body { overflow: hidden; }

.mnav { display: none; }

@media (max-width: 900px) {
  /* No box around it - it reads as a control on its own, and the border was
     competing with the logo beside it. */
  .hdr-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    flex: none; order: -1;
    width: 40px; height: 40px; padding: 0 6px; margin-left: -6px;
    border: 0; border-radius: 10px; background: none;
    -webkit-appearance: none; appearance: none;
    cursor: pointer;
  }
  .hdr-burger:active { background: var(--tint); }
  .hdr-burger span {
    display: block; height: 2.5px; width: 100%;
    background: var(--ink); border-radius: 2px;
    transition: transform .18s, opacity .18s;
  }
  .hdr-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .hdr-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hdr-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* The header keeps the logo and the cart; search moved into the panel. */
  .hdr-search { display: none; }
  .hdr-help { display: none; }

  /* The nav is moved in here by leme.js, so it is styled inside the panel. */
  .nav { display: none; }

  .mnav {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 90;
    background: #fff;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 0 18px calc(24px + env(safe-area-inset-bottom));
  }
  .mnav[hidden] { display: none; }

  .mnav__top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; padding: 12px 0 14px;
    position: sticky; top: 0; background: #fff; z-index: 1;
    border-bottom: 1px solid var(--ot-line);
  }
  .mnav__logo img { height: 34px; width: auto; display: block; }
  .mnav__logo span { font-weight: 700; font-size: 19px; color: var(--ink); }
  .mnav__close {
    flex: none; width: 42px; height: 42px;
    border: 0; background: none; cursor: pointer;
    font-size: 34px; line-height: 1; color: var(--ink-2);
  }

  .mnav__search {
    display: flex; align-items: center; gap: 10px;
    margin: 16px 0 6px; padding: 0 16px; height: 52px;
    border: 1.5px solid var(--line-3); border-radius: 26px; background: #fff;
  }
  .mnav__search svg { flex: none; }
  .mnav__search input {
    flex: 1; min-width: 0; height: 100%;
    border: 0; background: none; outline: none;
    font: inherit; font-size: 16px; color: var(--ink);
  }

  .mnav__body .nav {
    display: flex; flex-direction: column; align-items: stretch;
    flex-wrap: nowrap; overflow: visible;
    padding: 6px 0 0; margin: 0; max-width: none;
  }
  .mnav__body .nav::before, .mnav__body .nav::after { content: none; }
  .mnav__body .nav a {
    padding: 15px 2px; font-size: 17px;
    border-bottom: 1px solid var(--ot-line);
    border-left: 0; white-space: normal;
  }
  .mnav__body .nav a:hover, .mnav__body .nav a.is-active { border-bottom-color: var(--line); }
  .mnav__body .nav a.is-quiet { margin-left: 0; }
  .mnav__body .navdd { width: 100%; }

  /* Dropdowns open inline - a hover flyout has nowhere to go on a phone. */
  .mnav__body .dd {
    position: static; display: block; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; padding: 0; min-width: 0;
  }
  .mnav__body .dd__panel {
    display: block; box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 0 14px; min-width: 0;
  }
  .mnav__body .dd__label { display: none; }
  .mnav__body .dd__panel a { font-size: 15.5px; color: var(--ink-2); padding: 12px 2px; }
  .mnav__body .caret { display: none; }

  .mnav__foot {
    display: flex; flex-direction: column; gap: 4px;
    margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--ot-line);
  }
  .mnav__foot a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); padding: 8px 2px; }
}

/* ---- Minimal footer (funnel pages) ------------------------------------ */
.site-footer--min {
  background: #fff; border-top: 1px solid var(--ot-line);
  padding-top: 26px; padding-bottom: 30px;
}
.footmin {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footmin__logo img { height: 30px; width: auto; display: block; }
.footmin__logo span { font-weight: 700; color: var(--ink); }
.footmin__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footmin__links a { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.footmin__links a:hover { color: var(--brand); }
.footmin__copy { font-size: 12.5px; color: var(--muted); }

@media (max-width: 760px) {
  .footmin { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footmin__links { gap: 16px; }
}

/* ---- Designer: make the choices read as choices ------------------------ */
/*
 * Selection state was a lilac fill, which on a page of photographed products
 * tinted the product itself - a white shirt looked mauve. Selected now means a
 * heavier brand-coloured border and a ring, on white, so what is in the tile
 * is the only thing carrying colour.
 *
 * Borders are darker than the theme's default hairline throughout: these are
 * the controls the whole funnel depends on, and at arm's length on a phone the
 * lighter line disappeared against the card.
 */
.qq__q {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 10px;
}

.qq__img,
.qq__choice, .qq__own,
.dz__count {
  border-color: #aab2c6;
  background: #fff;
}

.qq__img:has(input:checked), .qq__img.is-on,
.qq__choice.is-on,
.dz__count.is-on {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand) inset;
}

.qq__choice.is-on, .dz__count.is-on { color: var(--brand); }

.qq__text, .qq__select { border-color: #aab2c6; }

/* ---- Selection page ---------------------------------------------------- */
/* Same 7fr/5fr split as the designer, so the two funnel steps feel like one
   flow rather than two pages. */
.sel {
  display: grid; grid-template-columns: 7fr 5fr; gap: 40px;
  align-items: start; padding-top: 8px; padding-bottom: 64px;
}
.sel__shot { border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.sel__shot img { width: 100%; display: block; aspect-ratio: 1; object-fit: cover; }

.sel__desc { margin-top: 26px; }
.sel__desch { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.sel__specs { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.sel__specs ul { padding-left: 20px; margin: 0; }
.sel__specs li { margin-bottom: 6px; }

.sel__title { font-size: 28px; line-height: 1.2; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.sel__sub { font-size: 15px; color: var(--ink-2); font-weight: 500; margin-bottom: 18px; }

.sel__card {
  background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--r-lg); padding: 26px 28px;
  box-shadow: 0 10px 32px rgba(28, 43, 83, .10);
}
.sel__q { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.sel__counts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.sel__count {
  min-width: 54px; height: 54px; padding: 0 12px;
  border: 1.5px solid #aab2c6; background: #fff; color: var(--ink);
  border-radius: 12px; cursor: pointer;
  font-family: inherit; font-size: 18px; font-weight: 700;
}
.sel__count.is-on { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 2px var(--brand) inset; }

/* One garment. The seam has to be obvious - see the designer, same reasoning. */
.sel__item { padding-top: 22px; }
.sel__item + .sel__item { margin-top: 8px; border-top: 1px solid var(--line); }
.sel__item.has-error { box-shadow: 0 0 0 2px rgba(232, 53, 90, .35); border-radius: 12px; }
.sel__itemhead { margin-bottom: 12px; }
.sel__itemlabel {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; color: var(--muted);
  text-transform: uppercase;
}

.sel__label {
  font-size: 13px; font-weight: 700; letter-spacing: .8px; color: var(--ink-2);
  margin-bottom: 10px;
}
.sel__label span { color: var(--ink); }
.sel__sizeval.is-empty { color: var(--sale, #e8355a); }

/* STYL - the printable products. Tabs, with the price when there is one. */
.sel__tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.sel__tab {
  flex: 1 1 0; min-width: 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 56px; padding: 8px 10px;
  border: 1.5px solid #aab2c6; background: #fff; color: var(--ink);
  border-radius: 10px; cursor: pointer; font-family: inherit;
  box-shadow: 0 3px 10px rgba(28, 43, 83, .10);
}
.sel__tab.is-on { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 2px var(--brand) inset; }
.sel__tabname { font-size: 15px; font-weight: 700; }
.sel__tabprice { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.sel__tab.is-on .sel__tabprice { color: var(--brand); }

.sel__colorwrap { margin-bottom: 16px; }
.sel__colors { display: flex; flex-wrap: wrap; gap: 8px; }
.sel__color {
  padding: 10px 16px; border: 1.5px solid #aab2c6; background: #fff; color: var(--ink);
  border-radius: 10px; cursor: pointer; font-family: inherit;
  font-size: 14px; font-weight: 600;
}
.sel__color.is-on { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 2px var(--brand) inset; }

.sel__sizehead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sel__chartlink {
  border: 0; background: none; padding: 0; cursor: pointer; font-family: inherit;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px;
}
.sel__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sel__size { cursor: pointer; }
.sel__size input { position: absolute; opacity: 0; width: 0; height: 0; }
.sel__size span {
  display: flex; align-items: center; justify-content: center;
  min-width: 64px; height: 58px; padding: 0 10px;
  border: 1.5px solid #aab2c6; background: #fff; color: var(--ink);
  border-radius: 10px; font-size: 18px; font-weight: 700;
  box-shadow: 0 3px 10px rgba(28, 43, 83, .10);
}
.sel__size input:checked + span {
  border-color: var(--brand); color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand) inset;
}
/* Sold out is information; removing the button just looks like a gap. */
.sel__size.is-out span { color: var(--muted); text-decoration: line-through; box-shadow: none; }
.sel__size.is-out { cursor: not-allowed; }

.sel__qtyrow { margin-top: 18px; max-width: 140px; }
.sel__warn { font-size: 13.5px; color: var(--sale, #e8355a); font-weight: 600; margin: 14px 0 4px; }
.sel__cta { width: 100%; margin-top: 18px; font-size: 19px; padding: 19px 20px; }
.sel__trust { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.sel__trust li { font-size: 13px; color: var(--ink-2); text-align: center; }

.sel__chart table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sel__chart th, .sel__chart td { padding: 11px 14px; border-top: 1px solid var(--line); text-align: left; }
.sel__chart th { background: var(--tint); color: var(--brand); font-size: 12px; text-transform: uppercase; }
.sel__charthint { font-size: 13px; color: var(--ink-2); margin-top: 16px; }

@media (max-width: 900px) {
  .sel { grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
  .sel__card { padding: 22px 18px; }
  .sel__title { font-size: 24px; }
  .sel__tab { flex: 1 1 30%; }
}

/* 7f. Product selection - from claude_theme/Emmano Size Selection.dc.html ---- */
/* Grey page, white cards, 7/5 split - the design they just made is the hero
   and keeps the room, exactly as on the designer. */

.ps-page { background: #f7f7fa; }
.ps-grid {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: 40px; align-items: start;
  padding-top: 28px; padding-bottom: 64px;
}

.ps-hero { border-radius: 12px; overflow: hidden; background: #fff; }
.ps-hero img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

.ps-desc { margin-top: 26px; }
.ps-desc__title { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.ps-desc__body { font-size: 15px; line-height: 1.65; color: var(--ink-2); }

.ps-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ps-badge {
  background: #e4e0fb; color: var(--brand);
  font-size: 13.5px; font-weight: 600;
  border-radius: var(--pill); padding: 5px 14px;
}
.ps-stars { color: #f6a723; font-size: 16px; letter-spacing: 2px; }
.ps-rating { font-size: 14px; color: var(--ink); }

.ps-h1 { font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.ps-sub { font-size: 15px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }

.ps-prices { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.ps-was { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.ps-now { font-size: 23px; font-weight: 700; color: #e02b47; }
.ps-off {
  border: 1.5px solid #b4364f; color: #b4364f;
  font-size: 13px; font-weight: 600; border-radius: 8px; padding: 4px 12px;
}

/* Quantity is plain links, so it works with JS off and each count is its own
   shareable URL. */
.ps-qty { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.ps-qty__label { font-size: 13px; font-weight: 700; color: #6b7490; margin-right: 4px; }
.ps-qty__pick {
  min-width: 40px; padding: 9px 12px; text-align: center;
  border: 1.5px solid var(--line-3); border-radius: var(--r-sm);
  background: #fff; color: var(--ink); font-weight: 700; font-size: 14px;
}
.ps-qty__pick:hover { border-color: var(--brand); color: var(--brand); }
.ps-qty__pick.is-on { border: 2.5px solid var(--brand); background: #efedfb; color: var(--brand); }

.ps-card {
  background: #fff; border: 1px solid #e8eaf2; border-radius: 14px;
  padding: 26px 28px; box-shadow: 0 10px 32px rgba(28, 43, 83, .10);
}
.ps-empty { text-align: center; display: grid; gap: 12px; justify-items: center; }

/* One block per shirt, listed one after another. Tight inside, clear air
   between - same grouping rule as the designer's people. */
.ps-shirt + .ps-shirt { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.ps-shirt__head { font-size: 18px; font-weight: 700; color: #141a2e; margin-bottom: 14px; }

.ps-row__label {
  font-size: 13px; font-weight: 700; letter-spacing: .8px;
  color: #6b7490; margin-bottom: 10px;
}
.ps-row__label b { color: var(--ink); }
.ps-row__label b.is-unset { color: var(--sale); }
.ps-row__label--split { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }

/* ---- garment tabs: parent name, and what that garment costs ---- */
.ps-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ps-tab {
  flex: 1 1 auto; min-width: 96px; min-height: 52px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 8px 10px; border-radius: var(--r-sm);
  border: 1.5px solid #2d3a66; background: #fff; color: var(--ink);
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 3px 10px rgba(28, 43, 83, .10); transition: all .12s;
}
.ps-tab:hover { border-color: var(--brand); color: var(--brand); }
.ps-tab.is-on { border: 2.5px solid var(--brand); background: #efedfb; color: var(--brand); }
.ps-tab__price { font-size: 12.5px; font-weight: 600; opacity: .75; }

/* ---- colours: the swatch IS PrintableOption.color_css ---- */
.ps-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.ps-swatch {
  width: 42px; height: 42px; padding: 3px; cursor: pointer;
  border: 1.5px solid var(--line-3); border-radius: 10px; background: #fff;
}
.ps-swatch span { display: block; width: 100%; height: 100%; border-radius: 7px; }
.ps-swatch:hover { border-color: var(--brand); }
.ps-swatch.is-on { border: 2.5px solid var(--brand); }

/* ---- sizes ---- */
.ps-sizegrid { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-size {
  min-width: 64px; height: 56px; padding: 0 12px;
  border: 1.5px solid #2d3a66; background: #fff; color: var(--ink);
  border-radius: var(--r-sm); cursor: pointer;
  font-family: inherit; font-size: 18px; font-weight: 700;
  box-shadow: 0 3px 10px rgba(28, 43, 83, .10); transition: all .12s;
}
.ps-size:hover { border-color: var(--brand); color: var(--brand); }
.ps-size.is-on { border: 2.5px solid var(--brand); background: #efedfb; color: var(--brand); }
.ps-size.is-out {
  border-color: var(--line-3); color: var(--muted-3);
  cursor: not-allowed; box-shadow: none; text-decoration: line-through;
}
.ps-chartlink {
  border: 0; background: none; padding: 0; cursor: pointer; font-family: inherit;
  font-size: 12.5px; font-weight: 600; color: var(--muted); text-decoration: underline;
}
.ps-chartlink:hover { color: var(--brand); }

.ps-warn { font-size: 13.5px; font-weight: 600; color: var(--sale); margin: 14px 0 4px; }
.ps-cta { width: 100%; margin-top: 18px; }

.ps-trust {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); justify-items: center;
}
.ps-trust li::before { content: '\2713'; color: var(--brand); margin-right: 8px; font-weight: 700; }

.ps-delivery {
  text-align: center; font-size: 14px; color: var(--ink);
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
}
.ps-delivery strong { color: #3a9b57; }

.ps-side {
  background: #fff; border: 1px solid #e8eaf2; border-radius: 14px;
  padding: 22px 26px; margin-top: 16px;
  display: grid; gap: 6px; font-size: 14.5px; color: var(--ink);
}
.ps-side--heart { grid-template-columns: auto 1fr; align-items: center; gap: 14px; font-size: 15.5px; }
.ps-side__title { font-size: 16px; font-weight: 700; }
.ps-side__sub { font-size: 14px; color: #6b7490; }
.ps-side a { font-weight: 600; }

/* ---- size chart ---- */
.ps-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ps-modal__scrim { position: absolute; inset: 0; background: rgba(20, 26, 46, .5); }
.ps-modal__panel {
  position: relative; background: #fff; border-radius: 18px;
  max-width: 560px; width: 100%; max-height: 84vh; overflow-y: auto;
  padding: 30px 34px; box-shadow: 0 30px 80px rgba(20, 26, 46, .35);
}
.ps-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ps-modal__title { font-size: 21px; font-weight: 700; color: #141a2e; }
.ps-modal__x {
  border: 0; background: #f4f4f8; border-radius: 50%;
  width: 34px; height: 34px; font-size: 16px; color: var(--ink);
  cursor: pointer; font-family: inherit; flex: none;
}
.ps-modal__body { font-size: 14px; line-height: 1.6; color: var(--ink); overflow-x: auto; }
.ps-modal__body table { width: 100%; border-collapse: collapse; }
.ps-modal__body th, .ps-modal__body td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; }
.ps-modal__body th { background: #efedfb; color: var(--brand); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.ps-modal__note { font-size: 13px; color: #6b7490; margin-top: 16px; }

.ps-panel.is-hidden, .ps-sizes.is-hidden { display: none; }

@media (max-width: 900px) {
  .ps-grid { grid-template-columns: 1fr; gap: 22px; padding-top: 18px; }
  .ps-h1 { font-size: 24px; }
  .ps-card { padding: 20px 18px; }
  .ps-tab { min-width: 84px; }
  .ps-size { min-width: 56px; height: 52px; font-size: 16px; }
  .ps-modal__panel { padding: 22px 18px; }
}

/* Selection: the running total. */
.sel__price { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.sel__was { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.sel__now { font-size: 23px; font-weight: 800; color: var(--sale, #e02b47); }
.sel__off {
  border: 1.5px solid #b4364f; color: #b4364f;
  font-size: 13px; font-weight: 600; border-radius: 8px; padding: 4px 12px;
}

/* Selection: the composited product shot. */
.sel__canvas { width: 100%; height: auto; display: block; }
.sel__shot img { width: 100%; display: block; aspect-ratio: 1; object-fit: contain; }

/* Selection: one garment at a time. */
.sel__itemhead { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sel__bar { flex: 1; height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; }
.sel__barfill { height: 100%; width: 0; background: var(--brand); border-radius: 3px; transition: width .25s; }
.sel__nav { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.sel__back {
  border: 0; background: none; padding: 0; cursor: pointer; font-family: inherit;
  font-size: 13.5px; font-weight: 600; color: var(--brand);
  text-decoration: underline; text-underline-offset: 3px;
}
.sel__next { margin-left: auto; }

/*
 * Grid children must be allowed to shrink below their content.
 *
 * A grid item's min-width defaults to `auto`, which resolves to min-content -
 * and the mockup canvas is 1844px wide natively. That let the media column
 * force the whole 7fr/5fr grid past the viewport: the picture filled the page
 * and the buying panel was squeezed into a sliver. width:100% on the canvas
 * cannot fix it, because the column had already been sized to the content.
 *
 * min-width:0 is the standard release valve, and it belongs on both funnel
 * pages - the designer has the same shape and the same hazard.
 */
.sel__media, .sel__panel,
.dz__media, .dz__panel { min-width: 0; }

.sel__canvas, .sel__shot img { max-width: 100%; }

/*
 * Price, the Baymard ordering: payable amount first and dominant, was-price
 * after it as context, saving as a badge last. The eye should land on the
 * number the customer will actually be charged.
 */
.sel__price { align-items: baseline; gap: 12px; }
.sel__now { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.sel__was { font-size: 16px; font-weight: 500; }
.sel__off {
  font-size: 12.5px; font-weight: 700; letter-spacing: .2px;
  border-radius: 6px; padding: 4px 9px;
  background: #fdecef; border-color: transparent; color: #b4364f;
}

/*
 * Selection layout, by area rather than source order.
 *
 * Desktop: the shot and the description stack in the left column, the buying
 * panel runs down the right. Mobile: shot, then the panel, then the
 * description - the spec list must never sit between the product and the way
 * to buy it.
 */
.sel {
  grid-template-areas: "media panel" "desc panel";
  grid-template-rows: auto 1fr;
}
.sel__media { grid-area: media; }
.sel__desc  { grid-area: desc; margin-top: 26px; }
.sel__panel { grid-area: panel; }

@media (max-width: 900px) {
  .sel {
    grid-template-areas: "media" "panel" "desc";
    grid-template-rows: auto auto auto;
  }
  .sel__desc { margin-top: 4px; }
}

/*
 * Style tabs: an even grid, never an orphan.
 *
 * As a wrapping flex row, four tabs became three across plus one stretched
 * full-width underneath. Two rows of two is the same information without the
 * odd one out. Two and three still fit on one row.
 */
.sel__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.sel__tabs[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.sel__tabs[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sel__tabs[data-count="5"],
.sel__tabs[data-count="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sel__tab { width: 100%; }

@media (max-width: 380px) {
  .sel__tabs, .sel__tabs[data-count="3"],
  .sel__tabs[data-count="5"], .sel__tabs[data-count="6"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*
 * Cart line on a phone: keep the three columns.
 *
 * There was no breakpoint here at all, so a 170px thumbnail plus the details
 * plus the price competed for a 360px screen and the price, was-price and
 * "Usun" ended up stacked underneath the Edytuj/Podglad buttons - three
 * separate rows per line, and a cart of three items that scrolled forever.
 *
 * Smaller thumbnail, tighter gap, and the money bottom-aligned so it sits
 * level with the buttons rather than floating above them.
 */
@media (max-width: 760px) {
  .ci { grid-template-columns: 88px 1fr auto; gap: 14px; padding: 18px 0; }
  .ci__media img { width: 88px; height: 88px; }
  .ci__qty { top: -6px; right: -6px; }
  .ci__name { font-size: 15px; }
  .ci__btns { gap: 8px; margin-top: 10px; }
  .ci__btn { padding: 7px 12px; font-size: 12.5px; }
  /* Top-aligned, level with the product name. Bottom-aligning it against a
     tall details column left the price stranded in the middle of the row with
     dead space above it. */
  .ci__right {
    display: flex; flex-direction: column; align-items: flex-end;
    justify-content: flex-start; align-self: start; gap: 2px;
  }
  .ci__price { font-size: 15.5px; }
  .ci__remove { margin-top: 4px; }
}

/* ---- Choice buttons: solid dark border -------------------------------- */
/*
 * One border colour for every pick-one control across both funnel steps:
 * the designer's headcount and text choices, and the selection page's
 * quantity, style tabs, colours and sizes.
 *
 * #2d3a66 is the design's own value, not a new one. The theme's default
 * hairline (#aab2c6) is right for inputs and cards, but these are the controls
 * the whole funnel turns on - at arm's length on a phone the light line read
 * as a disabled button, or as no button at all.
 *
 * Selected keeps the design's treatment for TEXT buttons: heavier brand border
 * with the pale brand fill. Image tiles (.qq__img - hair colours, hairstyles)
 * deliberately stay white, because a tint there discolours the artwork inside
 * them, which is the thing being chosen.
 */
.dz__count,
.qq__choice, .qq__own,
.sel__count, .sel__tab, .sel__color,
.sel__size span {
  border: 1.5px solid #2d3a66;
  background: #fff;
}

.dz__count.is-on,
.qq__choice.is-on,
.sel__count.is-on, .sel__tab.is-on, .sel__color.is-on,
.sel__size input:checked + span {
  border: 2.5px solid var(--brand);
  background: #efedfb;
  color: var(--brand);
  box-shadow: none;
}

/* Sold out reads as unavailable, so it keeps the quiet border. */
.sel__size.is-out span { border-color: var(--line-3); }

/* The quantity step's button. Same purple as the real CTA - it is the way
   forward from this step, so it should look like one. */
.sel__pick { width: 100%; margin-top: 18px; font-size: 17px; padding: 16px 20px; }

/* Price: a shade quieter. 30px/800 shouted over the product name above it. */
.sel__now { font-size: 25px; font-weight: 700; }
.sel__was { font-size: 15px; }

/* Selection: delivery window + reassurance, per the design. */
.sel__eta {
  text-align: center; font-size: 14px; color: var(--ink);
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
}
.sel__eta strong { color: #3a9b57; }

.sel__aside {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 20px 24px; margin-top: 16px;
}
.sel__asiderow { display: flex; flex-direction: column; gap: 4px; }
.sel__asidelabel { font-size: 14px; color: var(--ink-2); }
.sel__asiderow strong { font-size: 16px; color: var(--ink); }
.sel__asidehelp {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink); line-height: 1.7;
}
.sel__asidehours { color: var(--ink-2); }

/* Selection: badge and rating above the title. */
.sel__flags { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sel__badge {
  background: var(--tint); color: var(--brand);
  font-size: 13.5px; font-weight: 600; border-radius: var(--pill); padding: 5px 14px;
}
.sel__stars { color: #f6a723; font-size: 16px; letter-spacing: 2px; }
.sel__rating { font-size: 14px; color: var(--ink); }

/* Selection: the payment strip under the CTA. */
.sel__pay {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
}
.sel__paylabel {
  font-size: 11.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted);
}
.sel__paymethods { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.sel__paymethods span {
  font-size: 11.5px; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line-3); border-radius: 6px; padding: 4px 9px;
}
