/* ============================================================
   Premium Boutique EN - design system
   Brand colour injected via --brand inline on <html> by server.
   Fonts: Fraunces (display serif) + Plus Jakarta Sans (UI).
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f6fb;
  --bg-tint: #f1eff9;
  --text: #14121f;
  --muted: #625f70;
  --border: #e9e7f0;
  --brand: #4f46e5;
  --brand-ink: #ffffff;
  --brand-deep: color-mix(in srgb, var(--brand) 70%, #000);
  --brand-soft: color-mix(in srgb, var(--brand) 9%, white);
  --brand-softer: color-mix(in srgb, var(--brand) 5%, white);
  --ink: #14111e;
  --ink-soft: #1f1a2e;
  --gold: #f5a623;
  --danger: #e11d48;
  --success: #10b981;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20,18,31,.05);
  --shadow-md: 0 14px 38px rgba(20,18,31,.11);
  --shadow-lg: 0 30px 70px rgba(20,18,31,.18);
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); letter-spacing: -0.015em; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 12px; font-size: 15px; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 30%, transparent); }
.btn-primary:hover { background: var(--brand-deep); box-shadow: 0 12px 26px color-mix(in srgb, var(--brand) 38%, transparent); }
.btn-ghost { background: var(--bg); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--bg-soft); border-color: color-mix(in srgb, var(--brand) 30%, white); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-soft); }
.btn-sm { padding: 8px 15px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ---------- Badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
.badge-promo { background: #ffe4e6; color: #be123c; }
.badge-bestseller { background: #fff4d6; color: #b45309; }
.badge-new { background: #dcfce7; color: #15803d; }
.badge-dark { background: rgba(255,255,255,.16); color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); margin: 0; font-weight: 700; }
.section-head .sub { color: var(--muted); margin-top: 6px; font-size: 15px; }
.section-head .link { font-size: 14px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.section-head .link:hover { text-decoration: underline; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink); color: #efeef5; font-size: 13px; }
.announce .wrap { max-width: 1180px; margin: 0 auto; padding: 8px 22px; display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.announce .item { display: inline-flex; align-items: center; gap: 7px; }
.announce .dot { color: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
.site-header .bar { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-serif); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.brand .logo { height: 32px; width: auto; border-radius: 7px; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: var(--brand-ink); display: grid; place-items: center; font-family: var(--font-sans); font-weight: 800; font-size: 14px; box-shadow: 0 6px 14px color-mix(in srgb, var(--brand) 34%, transparent); }
.nav { display: flex; gap: 2px; margin-left: 10px; }
.nav a { padding: 9px 14px; border-radius: 10px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); background: var(--bg-soft); }
.nav a.active { color: var(--text); background: var(--bg-soft); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.searchbox { display: flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 11px; padding: 8px 13px; }
.searchbox input { border: 0; background: transparent; outline: none; font-size: 14px; width: 160px; color: var(--text); }
.searchbox svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 11px; border: 1px solid var(--border); font-size: 14px; font-weight: 700; background: var(--bg); }
.cart-btn:hover { border-color: color-mix(in srgb, var(--brand) 35%, white); }
.cart-btn .count { background: var(--brand); color: var(--brand-ink); border-radius: 999px; font-size: 11px; min-width: 19px; height: 19px; display: grid; place-items: center; padding: 0 5px; font-weight: 800; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--brand-softer) 0%, #fff 78%); border-bottom: 1px solid var(--border); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%); top: -160px; right: -120px; }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%); bottom: -180px; left: -120px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 56px 0 64px; }
.hero-copy { max-width: 600px; }
.hero-copy h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.06; margin: 18px 0 18px; font-weight: 700; letter-spacing: -0.02em; }
.hero-copy h1 em { font-style: italic; color: var(--brand); }
.hero-copy .lead { color: var(--muted); font-size: 18px; margin: 0 0 28px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatar { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700; margin-left: -10px; }
.avatar:first-child { margin-left: 0; }
.hero-trust .txt { font-size: 13.5px; color: var(--muted); }
.hero-trust .txt strong { color: var(--text); }
.hero-trust .stars { color: var(--gold); letter-spacing: 1px; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.book-stack { position: relative; width: 100%; max-width: 460px; height: 440px; }
.book-stack .book { position: absolute; width: 46%; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.book-stack .book img { width: 100%; height: auto; display: block; }
.book-stack .book.b1 { left: 6%; top: 30px; transform: rotate(-9deg); z-index: 2; }
.book-stack .book.b2 { left: 34%; top: 44px; transform: rotate(3deg); z-index: 3; }
.book-stack .book.b3 { left: 18%; top: 70px; transform: rotate(-3deg) scale(1.05); z-index: 4; }
.book-stack:hover .book.b1 { transform: rotate(-12deg) translateY(-6px); }
.book-stack:hover .book.b3 { transform: rotate(1deg) translateY(-6px) scale(1.05); }
.float-badge { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 13px; padding: 10px 14px; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; z-index: 6; }
.float-badge .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 14px; }
.fb1 { top: 12px; right: 4%; }
.fb2 { bottom: 22px; left: 4%; }

/* ---------- Trust bar ---------- */
.trust-bar { border-bottom: 1px solid var(--border); background: var(--bg); }
.trust-bar .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-icon { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.trust-icon svg { width: 22px; height: 22px; }
.trust-item b { display: block; font-size: 14.5px; }
.trust-item span { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.cat-card { display: flex; flex-direction: column; gap: 12px; padding: 20px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; position: relative; overflow: hidden; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 32%, white); }
.cat-card .cat-icon { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff; font-size: 20px; }
.cat-card .cat-name { font-weight: 700; font-size: 15px; }
.cat-card .cat-count { font-size: 12.5px; color: var(--muted); }

/* ---------- Product grid / cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 22px; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 26%, white); }
.product-card .cover { position: relative; aspect-ratio: 3/4; background: linear-gradient(180deg, var(--brand-softer), #fff); overflow: hidden; }
.cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card .p-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.product-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.product-card .cat { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.product-card .title { font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.product-card .meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.price { font-weight: 800; font-size: 17px; }
.price .old { color: var(--muted); text-decoration: line-through; font-weight: 500; font-size: 13px; margin-right: 7px; }
.rating { color: var(--muted); font-size: 13px; font-weight: 600; }
.rating .star { color: var(--gold); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; background: var(--bg); position: relative; }
.step-num { position: absolute; top: 18px; right: 20px; font-family: var(--font-serif); font-size: 44px; font-weight: 700; color: var(--brand-soft); line-height: 1; }
.step-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.step-icon svg { width: 24px; height: 24px; }
.step h3 { font-size: 19px; margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.t-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; background: var(--bg); }
.t-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.t-card p { margin: 0 0 18px; font-size: 15px; color: #2a2735; }
.t-card .who { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.t-card .who b { display: block; font-size: 14px; }
.t-card .who span { font-size: 12.5px; color: var(--muted); }

/* ---------- Guarantee band ---------- */
.guarantee { background: radial-gradient(1200px 500px at 50% -120px, var(--ink-soft), var(--ink)); color: #fff; }
.guarantee-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; padding: 54px 0; }
.guarantee-badge { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); display: grid; place-items: center; font-size: 44px; box-shadow: 0 16px 40px color-mix(in srgb, var(--brand) 45%, transparent); }
.guarantee h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); color: #fff; }
.guarantee p { margin: 0; color: #c9c5d6; max-width: 620px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d7d3e2; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 34px; padding: 56px 22px 40px; max-width: 1180px; margin: 0 auto; }
.site-footer h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: #8f8aa3; margin: 0 0 16px; font-family: var(--font-sans); }
.site-footer a { display: block; padding: 5px 0; color: #c6c2d4; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-brand { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.site-footer .desc { font-size: 14px; color: #9d98b0; max-width: 300px; }
.footer-pay { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.footer-pay span { font-size: 11px; font-weight: 700; letter-spacing: .03em; border: 1px solid #3a3450; border-radius: 7px; padding: 4px 9px; color: #b7b2c6; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #2c2740; padding-top: 22px; font-size: 13px; color: #8f8aa3; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }

/* ---------- Product detail ---------- */
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.pd { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; padding: 40px 0 20px; align-items: start; }
.pd-media { position: sticky; top: 92px; }
.pd-media .cover { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(180deg, var(--brand-softer), #fff); }
.pd-media .cover img { width: 100%; height: auto; }
.pd-info h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 10px 0 10px; line-height: 1.12; }
.pd-info .pd-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 6px 0 4px; }
.pd-info .desc { color: var(--muted); font-size: 16px; margin: 16px 0; }
.pd-info .h3 { font-family: var(--font-serif); font-size: 21px; margin: 26px 0 12px; }
.includes { margin: 0; padding: 0; list-style: none; }
.includes li { padding-left: 30px; position: relative; margin: 9px 0; font-size: 15px; }
.includes li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #fff; background: var(--success); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip-s { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; color: var(--text); }
.buy-box { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; background: var(--bg-soft); margin-top: 22px; }
.buy-box .price-row { display: flex; align-items: baseline; gap: 12px; }
.buy-box .big-price { font-size: 32px; font-weight: 800; }
.buy-box .old-price { color: var(--muted); text-decoration: line-through; font-size: 17px; }
.trust-mini { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.trust-mini span { display: inline-flex; align-items: center; gap: 6px; }
.trust-mini svg { width: 16px; height: 16px; color: var(--success); }

/* ---------- Cart / checkout ---------- */
.cart-line { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-line .thumb { width: 56px; height: 74px; border-radius: 9px; flex: none; overflow: hidden; background: var(--bg-soft); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .qty { width: 52px; padding: 6px; border: 1px solid var(--border); border-radius: 9px; text-align: center; font-weight: 700; }
.summary-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; background: var(--bg); }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.field input { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 11px; font-size: 15px; background: var(--bg); color: var(--text); }
.field input:focus { outline: 3px solid color-mix(in srgb, var(--brand) 22%, transparent); border-color: var(--brand); }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 17px; border-radius: 13px; font-size: 14px; margin: 16px 0; line-height: 1.5; }
.alert-info { background: #eef2ff; color: #3730a3; border: 1px solid #c7d2fe; }
.alert-warn { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius-lg); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 780px; }
.prose h1 { font-size: 36px; margin: 0 0 20px; }
.prose h2 { font-size: 23px; margin: 30px 0 10px; }
.prose p, .prose li { color: #2a2735; font-size: 15.5px; }

/* ---------- Toolbar (filters) ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px; }
.toolbar select { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; background: var(--bg); color: var(--text); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border: 1px solid var(--border); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.chip:hover { border-color: color-mix(in srgb, var(--brand) 35%, white); color: var(--text); }
.chip.active { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding: 40px 0 48px; }
  .hero-visual { min-height: 0; }
  .book-stack { height: 380px; }
  .trust-bar .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .guarantee-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 20px; }
  .pd { grid-template-columns: 1fr; gap: 28px; }
  .pd-media { position: static; max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .searchbox input { width: 100px; }
}
@media (max-width: 520px) {
  .trust-bar .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 34px; }
  .section { padding: 48px 0; }
  .announce .wrap { gap: 12px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
}

/* Book mockup SVG is transparent-background product shot */
.product-card .cover, .pd-media .cover { padding: 0; }

/* ---------- Reviews marquee (auto-scroll left to right) ---------- */
.marquee { overflow: hidden; padding: 6px 0 28px; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee-scroll 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .t-card { width: 320px; flex: none; }
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Category illustration sizing */
.cat-icon svg { width: 100%; height: 100%; display: block; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: start; }
.field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 11px; font-size: 15px; font-family: inherit; min-height: 130px; resize: vertical; background: var(--bg); color: var(--text); }
.field textarea:focus { outline: 3px solid color-mix(in srgb, var(--brand) 22%, transparent); border-color: var(--brand); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
