/* ===== TinyOak — design tokens ===== */
:root {
  --teal-900: #0f3b3a;
  --teal-700: #16706b;
  --teal-600: #1c8a83;
  --teal-500: #2aa79e;
  --teal-300: #7fd1c8;
  --teal-100: #d6f0ec;
  --teal-50:  #eef8f6;

  --cream:    #fbf9f4;
  --sand:     #f3ede2;
  --ink:      #1f2a2a;
  --muted:    #5c6a68;
  --line:     #e6e0d5;
  --white:    #ffffff;

  --amber:    #f0a63a;

  --radius:   18px;
  --radius-sm:12px;
  --shadow:   0 12px 30px -12px rgba(15,59,58,.22);
  --shadow-sm:0 4px 14px -6px rgba(15,59,58,.20);
  --container: 1180px;
  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-serif:'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal-600); color: #fff; }
.btn--primary:hover { background: var(--teal-700); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--teal-700); border-color: var(--teal-300); }
.btn--ghost:hover { background: var(--teal-50); }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-block; font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600);
  background: var(--teal-50); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}

/* ===== Announcement ===== */
.announce { background: var(--teal-900); color: #dff3ef; font-size: 13px; }
.announce__inner { display: flex; gap: 12px; justify-content: center; align-items: center; padding: 9px 22px; flex-wrap: wrap; }
.announce .dot { opacity: .5; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251,249,244,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-serif); font-size: 24px; font-weight: 600; }
.logo__mark { font-size: 22px; }
.logo__text b { color: var(--teal-600); font-weight: 600; }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text b { color: var(--teal-300); }

.nav { display: flex; gap: 28px; }
.nav a { font-weight: 500; font-size: 15px; color: var(--ink); position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--teal-500); transition: width .2s ease; }
.nav a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 6px; }
.iconbtn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border: none; background: transparent; color: var(--ink); border-radius: 50%; cursor: pointer; transition: background .18s ease; }
.iconbtn:hover { background: var(--sand); }
.cart__count { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; font-size: 11px; font-weight: 700; color: #fff; background: var(--amber); border-radius: 999px; display: grid; place-items: center; }
.menu-toggle { display: none; }

.nav-mobile { display: none; flex-direction: column; padding: 8px 22px 16px; border-bottom: 1px solid var(--line); background: var(--cream); }
.nav-mobile a { padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-mobile.open { display: flex; }

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, var(--teal-50), var(--cream)); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 64px 22px 72px; }
.hero__content h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 18px; }
.hero__content p { font-size: 18px; color: var(--muted); max-width: 30em; margin: 0 0 28px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__badges { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--teal-700); font-weight: 500; }

.hero__art { position: relative; min-height: 380px; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.blob--1 { width: 300px; height: 300px; background: var(--teal-100); top: 20px; right: 30px; }
.blob--2 { width: 180px; height: 180px; background: #ffe3b8; bottom: 20px; left: 20px; }
.hero__card {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.hero__emoji { font-size: 150px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.15)); animation: float 5s ease-in-out infinite; }
.hero__toy { position: absolute; font-size: 54px; animation: float 4s ease-in-out infinite; }
.hero__toy--2 { top: 30px; left: 24px; font-size: 46px; animation-delay: -1.5s; }
.hero__toy--3 { bottom: 40px; right: 24px; font-size: 50px; animation-delay: -.8s; }
.hero__toy:first-of-type { top: 40px; right: 20px; animation-delay: -2.2s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

/* ===== Stats ===== */
.stats { border-block: 1px solid var(--line); background: var(--white); }
.stats__inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; padding: 26px 22px; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-serif); font-size: 26px; color: var(--teal-700); }
.stat span { font-size: 13px; color: var(--muted); }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section--tint { background: var(--sand); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section__head h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 10px; }
.section__head p { color: var(--muted); margin: 0; font-size: 17px; }

.grid { display: grid; gap: 24px; }
.grid--products { grid-template-columns: repeat(4, 1fr); }
.grid--cats { grid-template-columns: repeat(6, 1fr); }

/* ===== Product card ===== */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; font-size: 88px; background: var(--teal-50); }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.badge--sale { background: var(--amber); color: #3a2400; }
.badge--best { background: var(--teal-600); color: #fff; }
.badge--new { background: #2f6fed; color: #fff; }
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.stars { color: var(--amber); letter-spacing: 1px; }
.card__title { font-family: var(--font-serif); font-size: 17px; line-height: 1.25; color: var(--ink); transition: color .15s ease; }
.card__title:hover { color: var(--teal-600); }
.card__media { cursor: pointer; }
.card__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.card__price .now { font-weight: 700; font-size: 18px; color: var(--ink); }
.card__price .was { text-decoration: line-through; color: var(--muted); font-size: 14px; }
.card .btn { margin-top: 10px; }

/* ===== Category card ===== */
.cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; cursor: pointer; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--teal-300); }
.cat__icon { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; background: var(--teal-50); }
.cat__name { font-weight: 600; font-size: 14px; }

/* ===== Why ===== */
.why { padding: 72px 0; background: linear-gradient(180deg, var(--cream), var(--teal-50)); }
.why__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.why__frame { aspect-ratio: 4/3; border-radius: var(--radius); background: var(--teal-100); display: grid; place-items: center; font-size: 140px; box-shadow: var(--shadow); }
.why__content h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 16px; }
.why__content p { color: var(--muted); font-size: 17px; margin: 0 0 20px; }
.why__list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.why__list li { font-weight: 500; }

/* ===== Newsletter ===== */
.newsletter { background: var(--teal-900); color: #eafaf7; text-align: center; padding: 68px 0; }
.newsletter h2 { font-size: clamp(26px, 3.5vw, 38px); color: #fff; margin-bottom: 12px; }
.newsletter p { color: #b9ddd7; margin: 0 auto 26px; max-width: 34em; }
.newsletter__form { display: flex; gap: 10px; justify-content: center; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.newsletter__form input { flex: 1; min-width: 220px; padding: 13px 18px; border-radius: 999px; border: none; font-size: 15px; font-family: inherit; }
.newsletter__form input:focus { outline: 2px solid var(--teal-300); }
.newsletter small { display: block; margin-top: 14px; color: var(--teal-300); min-height: 18px; font-weight: 500; }

/* ===== Footer ===== */
.footer { background: var(--teal-900); color: #cfe8e3; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 56px 22px 40px; }
.footer__brand p { color: #9dc6c0; max-width: 26em; margin: 14px 0 18px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.08); color: #dff3ef; transition: background .18s ease; }
.footer__social a:hover { background: var(--teal-600); }
.footer__col h4 { font-family: var(--font-sans); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__col a { display: block; color: #a9d0cb; padding: 5px 0; font-size: 14px; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 22px; font-size: 13px; color: #8fb8b2; }

/* ===== Cart drawer ===== */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(15,59,58,.4); animation: fade .2s ease; }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(400px, 90vw); background: var(--cream); display: flex; flex-direction: column; box-shadow: -10px 0 40px -10px rgba(0,0,0,.3); animation: slidein .25s ease; }
@keyframes slidein { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 20px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 60px 0; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item__media { width: 60px; height: 60px; border-radius: var(--radius-sm); background: var(--teal-50); display: grid; place-items: center; font-size: 30px; flex-shrink: 0; }
.cart-item__info { flex: 1; }
.cart-item__title { font-weight: 600; font-size: 14px; }
.cart-item__price { color: var(--muted); font-size: 14px; }
.cart-item__qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.cart-item__qty button { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; line-height: 1; }
.cart-item__remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 12px; text-decoration: underline; align-self: flex-start; }
.drawer__foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 17px; }
.drawer__total b { font-family: var(--font-serif); }
.drawer__note { text-align: center; font-size: 12px; color: var(--muted); margin: 10px 0 0; }

/* ===== Toast ===== */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--teal-900); color: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); z-index: 200; font-size: 14px; font-weight: 500; animation: toastin .25s ease; }
.toast[hidden] { display: none; }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ===== Product detail page (PDP) ===== */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); padding-top: 24px; }
.crumbs a { color: var(--teal-700); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink); }

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 28px 22px 20px; align-items: start; }
.pdp__gallery { position: sticky; top: 90px; }
.pdp__main { position: relative; aspect-ratio: 1/1; border-radius: var(--radius); background: var(--teal-50); display: grid; place-items: center; font-size: 160px; box-shadow: var(--shadow-sm); }
.pdp__badges { position: absolute; z-index: 2; margin: 14px; display: flex; gap: 6px; }
.pdp__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pdp__thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--white); font-size: 34px; cursor: pointer; transition: border-color .15s ease; }
.pdp__thumb:hover { border-color: var(--teal-300); }
.pdp__thumb.is-active { border-color: var(--teal-500); }

.pdp__title { font-size: clamp(28px, 3.5vw, 40px); margin: 10px 0 12px; }
.pdp__blurb { font-size: 18px; color: var(--muted); margin: 0 0 18px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.pdp__price .now { font-family: var(--font-serif); font-size: 30px; font-weight: 600; }
.pdp__price .was { text-decoration: line-through; color: var(--muted); font-size: 18px; }
.pdp__price .save { font-size: 13px; font-weight: 700; color: #3a2400; background: var(--amber); padding: 4px 10px; border-radius: 999px; }

.pdp__buy { display: flex; gap: 12px; margin-bottom: 22px; }
.qtybox { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qtybox button { width: 42px; height: 46px; border: none; background: none; font-size: 20px; cursor: pointer; color: var(--ink); }
.qtybox button:hover { background: var(--sand); }
.qtybox span { min-width: 34px; text-align: center; font-weight: 600; }
.pdp__buy .btn { flex: 1; }

.pdp__perks { list-style: none; padding: 18px 0; margin: 0 0 8px; border-block: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; color: var(--ink); }

.pdp__desc { margin-top: 20px; }
.pdp__desc h3 { font-family: var(--font-serif); font-size: 20px; margin: 22px 0 10px; }
.pdp__desc p { color: var(--muted); margin: 0; }
.specs { width: 100%; border-collapse: collapse; margin-top: 6px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.specs th { width: 38%; font-weight: 600; color: var(--ink); }
.specs td { color: var(--muted); }

@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .pdp__gallery { position: static; }
  .pdp__main { font-size: 120px; }
}

/* ===== Generic page shell ===== */
.page { padding: 40px 0 72px; min-height: 50vh; }
.page--narrow { padding: 56px 0 80px; }
.container--sm { max-width: 480px; }
.page__title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.hero--about { padding: 64px 0 20px; background: linear-gradient(180deg, var(--teal-50), var(--cream)); }
.hero--about h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 16px; }
.lead { font-size: 19px; color: var(--muted); max-width: 40em; }
.prose { max-width: 760px; }
.prose p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }

.grid--values { grid-template-columns: repeat(4, 1fr); }
.valuecard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; }
.valuecard__icon { font-size: 34px; margin-bottom: 10px; }
.valuecard h3 { font-size: 19px; margin-bottom: 8px; }
.valuecard p { color: var(--muted); font-size: 14px; margin: 0; }

.cta-band { background: var(--teal-900); color: #fff; text-align: center; padding: 60px 0; }
.cta-band h2 { font-size: clamp(24px, 3.5vw, 34px); color: #fff; margin-bottom: 22px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }

/* ===== Empty state ===== */
.empty { text-align: center; padding: 70px 20px; }
.empty__icon { font-size: 60px; margin-bottom: 14px; }
.empty h2 { font-size: 26px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin: 0 0 22px; }

/* ===== Cart page ===== */
.cartpage__grid { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; }
.line { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__media { width: 84px; height: 84px; border-radius: var(--radius-sm); background: var(--teal-50); display: grid; place-items: center; font-size: 40px; }
.line__title { font-family: var(--font-serif); font-size: 17px; color: var(--ink); }
.line__title:hover { color: var(--teal-600); }
.line__meta { color: var(--muted); font-size: 14px; margin: 4px 0 6px; }
.line__remove { background: none; border: none; color: var(--muted); text-decoration: underline; font-size: 13px; cursor: pointer; padding: 0; }
.line__remove:hover { color: var(--teal-700); }
.line__total { font-weight: 700; font-family: var(--font-serif); }
.qtybox { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qtybox button { width: 42px; height: 46px; border: none; background: none; font-size: 20px; cursor: pointer; color: var(--ink); }
.qtybox button:hover { background: var(--sand); }
.qtybox span { min-width: 34px; text-align: center; font-weight: 600; }
.qtybox--sm button { width: 34px; height: 38px; font-size: 17px; }
.qtybox--sm span { min-width: 26px; }

.summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; }
.summary h3 { font-size: 20px; margin-bottom: 16px; }
.summary__row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; color: var(--muted); }
.summary__row b { color: var(--ink); font-weight: 600; }
.summary__row--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; color: var(--ink); }
.summary__row--total b { font-family: var(--font-serif); font-size: 20px; }
.free { color: var(--teal-600); font-weight: 700; }
.ship-note { font-size: 13px; color: var(--teal-700); background: var(--teal-50); padding: 8px 12px; border-radius: 10px; margin: 8px 0; }
.summary .btn { margin-top: 14px; }
.summary__cont { display: block; text-align: center; margin-top: 12px; color: var(--teal-700); font-size: 14px; }
.summary__cont:hover { text-decoration: underline; }
.summary__trust { display: flex; justify-content: center; gap: 16px; margin-top: 16px; font-size: 12px; color: var(--muted); }

/* ===== Checkout ===== */
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 34px; align-items: start; }
.co-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; margin-bottom: 18px; }
.co-card h3 { font-size: 18px; margin-bottom: 14px; }
.field { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field textarea { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; background: var(--cream); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); background: #fff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.pay-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.pay-tab { flex: 1; padding: 11px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 500; }
.pay-tab.is-active { border-color: var(--teal-500); background: var(--teal-50); color: var(--teal-700); }
.co-secure { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.co-fineprint { font-size: 12px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.co-fineprint a { color: var(--teal-700); text-decoration: underline; }

.co-summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 90px; }
.co-summary h3 { font-size: 18px; margin-bottom: 14px; }
.co-lines { margin-bottom: 14px; }
.co-line { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.co-line__media { position: relative; width: 46px; height: 46px; border-radius: 10px; background: var(--teal-50); display: grid; place-items: center; font-size: 24px; }
.co-line__media i { position: absolute; top: -6px; right: -6px; background: var(--teal-600); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }
.co-line__title { font-size: 14px; }
.co-line__price { font-weight: 600; font-size: 14px; }

.co-pending { max-width: 560px; margin: 30px auto; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 30px; box-shadow: var(--shadow-sm); }
.co-pending__spin { font-size: 52px; margin-bottom: 14px; animation: float 3s ease-in-out infinite; }
.co-pending h2 { font-size: 26px; margin-bottom: 14px; }
.co-pending p { color: var(--muted); margin: 0 0 14px; }
.co-pending__hint { font-size: 15px; }
.co-pending__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 22px 0 16px; }
.co-pending__ref { font-size: 12px; color: var(--muted); letter-spacing: .05em; }

/* ===== Auth / account ===== */
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.auth__title { font-size: 28px; margin-bottom: 6px; text-align: center; }
.auth__sub { color: var(--muted); text-align: center; margin: 0 0 22px; font-size: 15px; }
.auth-card .field { margin-bottom: 14px; }
.auth__forgot { display: block; text-align: right; font-size: 13px; color: var(--teal-700); margin: -4px 0 14px; }
.auth__forgot:hover { text-decoration: underline; }
.auth__divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.auth__divider::before, .auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth__switch { text-align: center; font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.auth__switch a { color: var(--teal-700); font-weight: 600; }
.auth__switch a:hover { text-decoration: underline; }
.auth-ava { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-600); color: #fff; font-size: 28px; font-weight: 700; display: grid; place-items: center; margin: 0 auto 14px; }
.account-panel { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 16px; margin: 18px 0; }
.account-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.account-row:last-child { border-bottom: none; }
.account-row b { font-family: var(--font-serif); }
.auth-card .btn { margin-top: 10px; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 320px 1fr; gap: 34px; align-items: start; }
.contact__info { display: grid; gap: 18px; }
.contact__item { display: flex; gap: 14px; align-items: flex-start; }
.contact__ico { font-size: 24px; width: 46px; height: 46px; background: var(--teal-50); border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.contact__item b { display: block; margin-bottom: 2px; }
.contact__item p { margin: 0; color: var(--muted); font-size: 14px; }
.contact__form textarea { resize: vertical; }
.form-msg { font-size: 14px; color: var(--muted); margin: 12px 0 0; min-height: 18px; }
.form-msg.is-ok { color: var(--teal-700); font-weight: 500; }

/* ===== Policy ===== */
.policy { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.policy__nav { position: sticky; top: 90px; display: grid; gap: 4px; }
.policy__nav a { padding: 9px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.policy__nav a:hover { background: var(--sand); color: var(--ink); }
.policy__updated { color: var(--muted); font-size: 14px; margin-top: -4px; }
.policy__body section { padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.policy__body h2 { font-size: 24px; margin-bottom: 12px; }

/* ===== Reviews ===== */
.reviews { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.reviews__summary { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; position: sticky; top: 90px; }
.reviews__score { font-family: var(--font-serif); font-size: 48px; color: var(--teal-700); line-height: 1; }
.stars--lg { font-size: 20px; }
.reviews__summary p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.reviews__list { display: grid; gap: 16px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review__ava { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); font-weight: 700; display: grid; place-items: center; }
.review__head b { font-size: 15px; }
.review__verified { margin-left: auto; font-size: 12px; color: var(--teal-600); font-weight: 600; }
.review p { margin: 0; color: var(--muted); }

/* ===== Collection / search ===== */
.collection__count { color: var(--muted); font-size: 15px; margin: 2px 0 0; }
.collection__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 22px 0 24px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.chip:hover { border-color: var(--teal-300); }
.chip.is-active { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.sortsel { padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-family: inherit; font-size: 14px; cursor: pointer; color: var(--ink); }
.sortsel:focus { outline: none; border-color: var(--teal-500); }

.searchbar { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 18px; max-width: 620px; margin: 18px 0 26px; color: var(--muted); }
.searchbar:focus-within { border-color: var(--teal-500); }
.searchbar input { flex: 1; border: none; outline: none; padding: 13px 0; font-size: 16px; font-family: inherit; background: transparent; color: var(--ink); }
.search-hint { color: var(--muted); font-size: 14px; margin: 0 0 12px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .grid--products { grid-template-columns: repeat(2, 1fr); }
  .grid--cats { grid-template-columns: repeat(3, 1fr); }
  .grid--values { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { min-height: 300px; order: -1; }
  .why__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .cartpage__grid, .checkout, .contact, .policy, .reviews { grid-template-columns: 1fr; }
  .summary, .co-summary, .policy__nav, .reviews__summary { position: static; }
  .policy__nav { display: flex; flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .section { padding: 52px 0; }
  .grid--cats { grid-template-columns: repeat(2, 1fr); }
  .grid--values { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 26px; }
  .announce__inner { font-size: 12px; }
  .line { grid-template-columns: 64px 1fr auto; }
  .line__media { width: 64px; height: 64px; font-size: 30px; }
  .line__total { grid-column: 2 / 4; text-align: right; }
  .grid3 { grid-template-columns: 1fr 1fr; }
}
