/* ============================================================
   MERICATI — premium blush-rose design system
   Palette inspired by the reference screenshots:
   blush pinks + steel blue + soft light grays
   ============================================================ */

:root {
  --rose-50: #FDF6F9;
  --rose-100: #FBE9F0;
  --rose-200: #F7CAD9;
  --rose-300: #F0A4BE;
  --rose-400: #E8789C;
  --rose-500: #E4587F;
  --rose-600: #D84B72;
  --rose-700: #B23B5D;
  --steel-50: #F2F8FD;
  --steel-100: #E3EEF9;
  --steel-200: #C4D8EE;
  --steel-500: #5D7BA6;
  --steel-700: #44618A;
  --ink: #26222B;
  --ink-2: #4A4550;
  --muted: #8A8391;
  --line: #ECE7EA;
  --bg: #F7F6F8;
  --card: #FFFFFF;
  --gold: #C9A24B;
  --green: #1F9D6B;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(38,34,43,.05), 0 4px 14px rgba(38,34,43,.05);
  --shadow-md: 0 6px 24px rgba(38,34,43,.09);
  --shadow-lg: 0 18px 48px rgba(38,34,43,.16);
  --grad-rose: linear-gradient(135deg, #EF7FA1, #D84B72);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; } /* modals/dropdowns must respect hidden attribute */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--rose-600); text-decoration: none; }
a:hover { color: var(--rose-700); }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.02em; }
::selection { background: var(--rose-200); }
:focus-visible { outline: 3px solid var(--rose-300); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(800px, 100% - 40px); margin-inline: auto; }
.section { padding: 72px 0; }
.section-tight { padding: 40px 0 72px; }
.section-alt { background: linear-gradient(180deg, #FBF7FA 0%, #F6F1F5 100%); }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 300;
}
.skip-link:focus { left: 0; color: #fff; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: all .22s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad-rose); color: #fff; box-shadow: 0 6px 18px rgba(216,75,114,.35); }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 26px rgba(216,75,114,.45); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--rose-300); color: var(--rose-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--rose-600); border-color: var(--rose-300); }
.btn-outline:hover { background: var(--rose-50); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--rose-600); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn-light:hover { color: var(--rose-700); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-mini { padding: 6px 12px; font-size: 12.5px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; font-weight: 600; transition: all .15s; }
.btn-mini:hover { border-color: var(--rose-300); color: var(--rose-600); }
.btn-green { color: var(--green); border-color: #BFE6D5; }
.btn-danger { color: #C0392B; border-color: #F2C9C4; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); transition-delay: calc(var(--d, 0) * 1ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Topbar ============ */
.topbar { background: var(--ink); color: #F4E9EE; font-size: 13px; position: relative; z-index: 60; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; padding: 6px 0; }
.topbar-text { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-links { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.topbar-links a { color: #E9C9D6; }
.topbar-links a:hover { color: #fff; }
.topbar-dot { opacity: .4; }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 30px rgba(38,34,43,.08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand:hover { color: var(--ink); }
.brand-mark { display: inline-flex; border-radius: 10px; box-shadow: 0 4px 12px rgba(216,75,114,.3); }
.brand-dot { color: var(--rose-500); font-style: normal; }
.main-nav { display: flex; gap: 4px; margin-left: 6px; }
.main-nav a { padding: 9px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 15px; transition: all .18s; }
.main-nav a:hover { background: var(--rose-100); color: var(--rose-700); }
.main-nav a.active { color: var(--rose-600); background: var(--rose-100); }
.header-search { position: relative; flex: 1; max-width: 340px; margin-left: auto; }
.header-search .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.header-search input {
  width: 100%; padding: 10px 16px 10px 38px; border-radius: 999px; border: 1.5px solid var(--line);
  font: inherit; font-size: 14px; background: #fff; transition: all .2s;
}
.header-search input:focus { outline: none; border-color: var(--rose-300); box-shadow: 0 0 0 4px var(--rose-100); }
.search-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; z-index: 120;
  animation: suggestIn .18s ease;
}
.search-suggest a { display: flex; align-items: center; gap: 10px; padding: 9px 14px; color: var(--ink); font-size: 14px; border-bottom: 1px solid var(--rose-50); }
.search-suggest a:last-child { border-bottom: 0; }
.search-suggest a:hover { background: var(--rose-50); color: var(--rose-700); }
.search-suggest img { border-radius: 6px; object-fit: cover; }
.ss-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-price { font-weight: 700; color: var(--rose-600); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.plus { font-size: 17px; font-weight: 800; }
.lang-switch { display: inline-flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 2px; }
.lang-switch a { color: #E9C9D6; font-size: 12px; font-weight: 800; padding: 3px 11px; border-radius: 999px; transition: all .18s; }
.lang-switch a.on { background: var(--rose-500); color: #fff; }
.lang-switch a:hover { color: #fff; }
.nav-auth { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 4.5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: all .25s; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(24,18,28,.4); z-index: 90; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #FDF6F9 0%, #F9EDF3 45%, #F3F6FB 100%); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.hero-blob-1 { width: 480px; height: 480px; background: #F5C9DA; top: -160px; right: -100px; animation: blobFloat 11s ease-in-out infinite; }
.hero-blob-2 { width: 380px; height: 380px; background: #D5E5F7; bottom: -140px; left: -120px; animation: blobFloat 13s ease-in-out infinite reverse; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 64px 0 76px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--rose-200); color: var(--rose-700); font-size: 13.5px; font-weight: 600; padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose-500); position: relative; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--rose-400); animation: pulse 1.8s ease-out infinite; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; margin: 20px 0 14px; letter-spacing: -0.035em; }
.hl { background: linear-gradient(120deg, #F0A4BE 0%, #E4587F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-hl { color: var(--steel-700); position: relative; white-space: nowrap; }
.brand-hl::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 3px; height: 9px; background: var(--rose-200); z-index: -1; border-radius: 4px; opacity: .8; }
.hero-sub { font-size: 17.5px; color: var(--ink-2); max-width: 480px; margin-bottom: 24px; }
.hero-search { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 999px; box-shadow: var(--shadow-md); border: 1.5px solid var(--rose-100); max-width: 520px; }
.hero-search svg { align-self: center; margin-left: 14px; color: var(--muted); flex-shrink: 0; }
.hero-search input { flex: 1; border: 0; font: inherit; font-size: 15.5px; padding: 8px 6px; background: transparent; min-width: 0; }
.hero-search input:focus { outline: none; }
.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.hero-chips a { background: #fff; border: 1px solid var(--line); padding: 5px 13px; border-radius: 999px; color: var(--ink-2); font-weight: 600; transition: all .18s; }
.hero-chips a:hover { border-color: var(--rose-300); color: var(--rose-600); transform: translateY(-2px); }
.hero-stats { display: flex; gap: 36px; margin-top: 30px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.stat span { font-size: 13.5px; color: var(--muted); }

.hero-visual { position: relative; height: 430px; transition: transform .25s ease-out; }
.hero-card {
  position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 10px 10px 12px; width: 240px; color: var(--ink); overflow: hidden;
  animation: floatY 6s ease-in-out infinite;
}
.hero-card:hover { color: var(--ink); }
.hero-card img { width: 100%; height: 165px; object-fit: cover; border-radius: 12px; }
.hero-card-main { left: 6%; top: 8%; z-index: 3; animation-delay: 0s; }
.hero-card-a { right: 4%; top: 0; z-index: 2; width: 210px; animation-delay: 1.2s; }
.hero-card-a img { height: 140px; }
.hero-card-b { left: 22%; bottom: 0; z-index: 2; width: 200px; animation-delay: 2.1s; }
.hero-card-b img { height: 135px; }
.hc-body { display: flex; flex-direction: column; padding: 9px 4px 2px; gap: 2px; }
.hc-title { font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-price { font-size: 15px; font-weight: 800; color: var(--rose-600); }
.hc-chip { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.94); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.hero-badge { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); padding: 9px 14px; font-size: 13px; font-weight: 700; z-index: 4; animation: floatY 5s ease-in-out infinite; }
.hero-badge-a { left: 0; bottom: 22%; color: var(--green); }
.hero-badge-b { right: 2%; bottom: 14%; color: var(--rose-600); animation-delay: 1.6s; }

/* ============ Marquee ============ */
.marquee { background: var(--ink); overflow: hidden; padding: 13px 0; position: relative; }
.marquee-track { display: flex; gap: 26px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { color: #EADCE2; font-weight: 700; font-size: 14px; letter-spacing: .04em; white-space: nowrap; }
.m-dot { color: var(--rose-400); font-size: 11px; }

/* ============ Section heads ============ */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 8px 0 6px; }
.section-head p { color: var(--muted); max-width: 560px; }
.section-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; color: var(--rose-500); }
.link-more { font-weight: 700; color: var(--steel-500); white-space: nowrap; }
.link-more:hover { color: var(--steel-700); }

/* ============ Category grid ============ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 12px 18px; color: var(--ink); transition: all .25s cubic-bezier(.22,.61,.36,1); }
.cat-card:hover { transform: translateY(-6px); border-color: var(--rose-200); box-shadow: var(--shadow-md); color: var(--ink); }
.cat-icon { font-size: 34px; transition: transform .3s ease; }
.cat-card:hover .cat-icon { transform: scale(1.18) rotate(-6deg); }
.cat-name { font-weight: 700; font-size: 14.5px; }
.cat-count { font-size: 12px; color: var(--muted); }

/* ============ Item cards ============ */
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.item-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease; display: flex; flex-direction: column; }
.item-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.item-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--rose-50); }
.item-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.item-card:hover .item-card-media img { transform: scale(1.07); }
.chip { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; letter-spacing: .01em; }
.chip-cond { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.95); color: var(--ink-2); box-shadow: var(--shadow-sm); }
.cond-new { color: var(--green); }
.cond-like-new { color: var(--steel-700); }
.chip-featured { position: absolute; top: 10px; right: 10px; background: linear-gradient(120deg, #E9C87E, #C9A24B); color: #fff; }
.chip-views, .chip-listed { background: var(--rose-100); color: var(--rose-700); }
.item-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.item-card-row { display: flex; align-items: flex-start; gap: 10px; }
.item-card-title { flex: 1; font-size: 15px; font-weight: 700; line-height: 1.35; }
.item-card-title a { color: var(--ink); }
.item-card-title a:hover { color: var(--rose-600); }
.like-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 700; padding: 4px; border-radius: 999px; transition: color .18s; flex-shrink: 0; }
.like-btn:hover { color: var(--rose-500); }
.like-btn.liked { color: var(--rose-500); }
.like-btn.liked svg { fill: currentColor; }
.like-btn.pop { animation: heartPop .4s cubic-bezier(.22,.61,.36,1); }
.item-card-price { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.item-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.cat-tag { font-size: 12.5px; color: var(--steel-500); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-tag:hover { color: var(--steel-700); }
.time { font-size: 12px; color: var(--muted); flex-shrink: 0; }

/* ============ Tabs ============ */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tab { font: inherit; font-size: 14px; font-weight: 700; padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.tab:hover { border-color: var(--rose-300); color: var(--rose-600); }
.tab.active { background: var(--grad-rose); color: #fff; border-color: transparent; box-shadow: 0 5px 14px rgba(216,75,114,.32); }

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; top: 52px; left: 14%; right: 14%; border-top: 2px dashed var(--rose-200); z-index: 0; }
.step { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: all .25s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--rose-200); }
.step-icon { font-size: 40px; display: inline-block; animation: bob 3.4s ease-in-out infinite; }
.step:nth-child(2) .step-icon { animation-delay: .5s; }
.step:nth-child(3) .step-icon { animation-delay: 1s; }
.step h3 { font-size: 18px; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
.steps-cta { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ============ Features ============ */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: all .25s; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--rose-200); }
.feature-icon { font-size: 32px; }
.feature h3 { font-size: 17px; margin: 12px 0 6px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ============ SEO block ============ */
.seo-block { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 44px 48px; box-shadow: var(--shadow-sm); }
.seo-block-sm { margin-top: 44px; }
.seo-block h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 10px 0 18px; }
.seo-cols { columns: 2; column-gap: 34px; }
.seo-cols p { margin-bottom: 14px; color: var(--ink-2); font-size: 15px; }
.seo-cols a { font-weight: 600; }

/* ============ Testimonials ============ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; margin: 0; transition: all .25s; }
.testi:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testi-stars { color: var(--gold); letter-spacing: 2px; }
.testi blockquote { font-size: 15px; color: var(--ink-2); flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 10px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--av, var(--rose-200)); display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; flex-shrink: 0; }
.testi figcaption strong { display: block; font-size: 14px; }
.testi figcaption em { font-style: normal; font-size: 12.5px; color: var(--muted); }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: var(--rose-200); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: none; border: 0; font: inherit; font-size: 16px; font-weight: 700; padding: 18px 22px; cursor: pointer; color: var(--ink); text-align: left; }
.faq-ico { width: 28px; height: 28px; border-radius: 50%; background: var(--rose-100); color: var(--rose-600); display: grid; place-items: center; font-size: 18px; font-weight: 700; transition: transform .3s ease, background .3s; flex-shrink: 0; }
.faq-item.open .faq-ico { transform: rotate(45deg); background: var(--rose-500); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.22,.61,.36,1); }
.faq-a-inner { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; }
.faq-item.open .faq-a { max-height: 220px; }

/* ============ CTA banner ============ */
.cta-banner { background: var(--grad-rose); border-radius: 24px; padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.cta-banner::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.12); top: -160px; right: -90px; }
.cta-banner::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.09); bottom: -120px; left: 24%; }
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-copy p { color: rgba(255,255,255,.92); margin-bottom: 20px; font-size: 16px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-emoji { font-size: 88px; position: relative; z-index: 1; animation: floatY 5s ease-in-out infinite; }

/* ============ Blog cards ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: all .28s cubic-bezier(.22,.61,.36,1); }
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); color: var(--ink); }
.blog-card-head { display: grid; place-items: center; height: 150px; background: var(--bgc, var(--rose-100)); position: relative; overflow: hidden; }
.blog-card-head::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.5), transparent 55%); }
.blog-card-emoji { font-size: 56px; transition: transform .35s ease; }
.blog-card:hover .blog-card-emoji { transform: scale(1.15) rotate(-5deg); }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.blog-card-meta { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.blog-card-title { font-size: 17.5px; font-weight: 800; line-height: 1.3; }
.blog-card-excerpt { font-size: 14px; color: var(--ink-2); }
.blog-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.tag { background: var(--rose-100); color: var(--rose-700); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

/* ============ Breadcrumbs / page head ============ */
.breadcrumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); font-weight: 600; }
.breadcrumbs a:hover { color: var(--rose-600); }
.page-head { background: linear-gradient(160deg, #FDF6F9, #F3F6FB); padding: 44px 0 38px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.page-sub { color: var(--ink-2); font-size: 16px; margin-top: 8px; max-width: 640px; }

/* ============ Browse ============ */
.browse-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.browse-side { position: sticky; top: 96px; }
.filter-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.filter-group h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14.5px; }
.check input { position: absolute; opacity: 0; width: 0; }
.check-box { width: 19px; height: 19px; border: 2px solid var(--line); border-radius: 6px; flex-shrink: 0; transition: all .18s; position: relative; background: #fff; }
.check-box.radio { border-radius: 50%; }
.check input:checked + .check-box { background: var(--rose-500); border-color: var(--rose-500); }
.check input:checked + .check-box.radio { box-shadow: inset 0 0 0 4.5px #fff; }
.check input:focus-visible + .check-box { outline: 3px solid var(--rose-200); }
.check-label { flex: 1; color: var(--ink-2); }
.check-count { font-size: 12px; color: var(--muted); }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { width: 100%; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px; }
.price-inputs input:focus { outline: none; border-color: var(--rose-300); }
.browse-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.sort-form { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sort-form select { padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px; background: #fff; color: var(--ink); cursor: pointer; }
.result-count { font-size: 13.5px; color: var(--muted); }
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip-chip { background: var(--rose-100); color: var(--rose-700); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.chip-chip:hover { background: var(--rose-200); color: var(--rose-700); }
.empty-state { text-align: center; padding: 70px 20px; background: #fff; border: 1px dashed var(--rose-200); border-radius: var(--radius); }
.empty-emoji { font-size: 64px; animation: bob 3s ease-in-out infinite; }
.empty-state h2 { font-size: 24px; margin: 14px 0 8px; }
.empty-state p { color: var(--muted); max-width: 440px; margin: 0 auto 20px; }
.empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-search-404 { margin: 0 auto 22px; }

/* ============ Pagination ============ */
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin: 36px 0 8px; flex-wrap: wrap; }
.pagination a { min-width: 40px; height: 40px; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 11px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); transition: all .18s; }
.pagination a:hover { border-color: var(--rose-300); color: var(--rose-600); transform: translateY(-2px); }
.pagination a.active { background: var(--grad-rose); color: #fff; border-color: transparent; box-shadow: 0 5px 14px rgba(216,75,114,.3); }
.pagination .pg-dots { color: var(--muted); padding: 0 4px; }
.pg-arrow { font-size: 16px; }

/* ============ Ad slots ============ */
.ad-slot { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); min-height: 100px; display: grid; place-items: center; margin: 28px 0; overflow: hidden; }
.ad-slot span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 10px; }
.ad-empty span { font-size: 12px; }

/* ============ Item detail ============ */
.item-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.item-photo { position: relative; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); cursor: zoom-in; aspect-ratio: 4/3; }
.item-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.item-photo:hover img { transform: scale(1.04); }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink-2); font-size: 18px; cursor: pointer; box-shadow: var(--shadow-sm); }
.item-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumb { border: 2px solid var(--line); border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; background: #fff; transition: border-color .18s; }
.thumb img { width: 74px; height: 54px; object-fit: cover; }
.thumb.active { border-color: var(--rose-500); }
.item-chip-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.item-details h1 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 8px; }
.item-price-big { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 18px; }
.price-note { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.item-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.like-btn-big { border: 2px solid var(--line); padding: 13px 20px; background: #fff; border-radius: 999px; font-size: 15px; }
.like-btn-big.liked { border-color: var(--rose-300); background: var(--rose-50); }
.item-protect { display: flex; gap: 12px; align-items: flex-start; background: var(--steel-50); border: 1px solid var(--steel-100); border-radius: 14px; padding: 14px 16px; margin-bottom: 20px; font-size: 14px; color: var(--steel-700); }
.protect-icon { font-size: 22px; }
.seller-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 22px; }
.seller-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-rose); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 19px; flex-shrink: 0; }
.seller-info { flex: 1; min-width: 0; }
.seller-info strong { display: block; }
.seller-info span { font-size: 13px; color: var(--muted); }
.item-desc { margin-bottom: 10px; }
.item-desc h2 { font-size: 20px; margin-bottom: 10px; }
.desc-body { color: var(--ink-2); font-size: 15.5px; }
.desc-meta { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.safety-box { background: #FFFBF3; border: 1px solid #F3E3C4; border-radius: 14px; padding: 18px 20px; margin-top: 6px; }
.safety-box h3 { font-size: 15.5px; margin-bottom: 8px; }
.safety-box ul { font-size: 13.5px; color: var(--ink-2); }
.related-block { margin-top: 52px; }
.related-cats { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 34px; font-weight: 600; color: var(--muted); }
.related-cats a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.related-cats a:hover { border-color: var(--rose-300); color: var(--rose-600); }

/* ============ Modal & lightbox ============ */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(30,22,32,.5); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: fadeIn .2s ease; }
.modal-card { background: #fff; border-radius: 20px; padding: 30px; width: min(460px, 100%); max-height: 90vh; overflow: auto; position: relative; box-shadow: var(--shadow-lg); animation: modalUp .3s cubic-bezier(.22,.61,.36,1); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--rose-100); color: var(--rose-700); font-size: 15px; cursor: pointer; }
.modal-card h3 { font-size: 22px; margin-bottom: 4px; }
.modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.modal-open { overflow: hidden; }
.field { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-weight: 400; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose-300); box-shadow: 0 0 0 4px var(--rose-100); }
.field small { display: block; font-weight: 400; color: var(--muted); margin-top: 5px; font-size: 12.5px; }
.buy-safe { background: var(--steel-50); border: 1px solid var(--steel-100); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: var(--steel-700); margin-bottom: 16px; }
.buy-success { font-size: 54px; text-align: center; margin: 6px 0 10px; animation: heartPop .6s cubic-bezier(.22,.61,.36,1); }
.lightbox { position: fixed; inset: 0; z-index: 210; background: rgba(20,14,20,.88); display: grid; place-items: center; padding: 30px; animation: fadeIn .2s ease; }
.lightbox img { max-width: min(900px, 100%); max-height: 85vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: fixed; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 17px; cursor: pointer; }

/* ============ Sell page ============ */
.sell-account-box { background: var(--rose-50); border: 1.5px dashed var(--rose-300); border-radius: 16px; padding: 22px 24px; margin-bottom: 26px; }
.sell-account-box h2 { font-size: 19px; margin-bottom: 4px; }
.sell-account-box p { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.sell-as-note { background: var(--steel-50); border: 1px solid var(--steel-100); border-radius: 12px; padding: 11px 16px; font-size: 14px; color: var(--steel-700); margin-bottom: 22px; }
.sell-section-title { font-size: 19px; margin-bottom: 16px; }
.dd-logout { color: #B23B2E; }
.dd-logout:hover { background: #FDF0F0; color: #B23B2E; }
.sell-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.sell-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow-sm); }
.sell-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-errors { background: #FDF0F0; border: 1px solid #F2C9C4; color: #A33B2E; border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; font-size: 14px; }
.form-errors ul { margin: 6px 0 0 18px; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success h2 { margin-bottom: 8px; }
.form-success p { color: var(--muted); margin-bottom: 18px; }
.check-big { padding: 10px 0; }
.check-big .check-label { font-size: 14px; }
.req { color: var(--rose-500); }
.upload-box { border: 2px dashed var(--rose-200); border-radius: 14px; padding: 26px; text-align: center; cursor: pointer; margin-top: 6px; transition: all .2s; background: var(--rose-50); overflow: hidden; }
.upload-box:hover { border-color: var(--rose-400); background: var(--rose-100); }
.upload-inner { display: flex; flex-direction: column; gap: 5px; align-items: center; color: var(--ink-2); font-size: 14px; }
.upload-emoji { font-size: 34px; }
.upload-box img { max-height: 220px; margin: 0 auto; border-radius: 10px; }
.upload-box-sm { padding: 14px; }
.sell-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.sell-benefit { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.sb-icon { font-size: 24px; }
.sell-benefit strong { font-size: 15px; }
.sell-benefit p { font-size: 13px; color: var(--muted); }
.tips-card { background: var(--ink); color: #EDE0E6; border-radius: 16px; padding: 22px; }
.tips-card h3 { color: #fff; margin-bottom: 10px; font-size: 16px; }
.tips-card ol { font-size: 13.5px; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }

/* ============ Contact / about / static ============ */
.contact-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; }
.contact-side { display: flex; flex-direction: column; gap: 14px; }
.contact-card { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 14px; }
.contact-card p { color: var(--muted); font-size: 13.5px; }
.about-story { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; margin-bottom: 64px; }
.about-story h2 { font-size: clamp(24px, 3vw, 34px); margin: 10px 0 14px; }
.about-story p { color: var(--ink-2); margin-bottom: 12px; }
.about-stats { display: flex; flex-direction: column; gap: 14px; }
.about-stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; display: flex; align-items: baseline; gap: 12px; }
.about-stat strong { font-size: 26px; }
.about-stat span { color: var(--muted); font-size: 14px; }
.values-strip { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 44px 0 54px; }
.values-strip span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.legal-doc h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.sitemap-grid h2 { font-size: 19px; margin-bottom: 12px; }
.sm-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; margin-bottom: 30px; }
.sm-links a { color: var(--ink-2); font-size: 14.5px; }
.sm-links a:hover { color: var(--rose-600); }

/* ============ Post / article ============ */
.post-wrap { padding: 40px 0 80px; }
.post-head { text-align: center; margin-bottom: 34px; }
.post-emoji { font-size: 58px; }
.post-head h1 { font-size: clamp(26px, 3.4vw, 40px); margin: 12px 0 10px; }
.post-meta { color: var(--muted); font-size: 14px; }
.post-tags { display: flex; justify-content: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.post-body { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 44px 48px; box-shadow: var(--shadow-sm); font-size: 16.5px; color: var(--ink-2); }
.post-body h2 { font-size: 24px; color: var(--ink); margin: 30px 0 12px; }
.post-body h3 { font-size: 19px; color: var(--ink); margin: 22px 0 8px; }
.post-body p { margin-bottom: 14px; }
.post-body ul, .post-body ol { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.post-body strong { color: var(--ink); }
.post-cta { background: var(--grad-rose); border-radius: 20px; padding: 36px; text-align: center; margin-top: 30px; color: #fff; box-shadow: var(--shadow-lg); }
.post-cta h3 { font-size: 24px; margin-bottom: 6px; }
.post-cta p { color: rgba(255,255,255,.92); margin-bottom: 18px; }
.post-cta .cta-actions { justify-content: center; }
.post-related { margin-top: 48px; }
.post-related h2 { font-size: 24px; margin-bottom: 20px; }

/* ============ Footer ============ */
.site-footer { background: #241D26; color: #C9BCC6; margin-top: 20px; }
.site-footer .container { padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 34px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand:hover { color: #fff; }
.footer-tagline { font-size: 14px; color: #A99BA6; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #E5D7E0; transition: all .2s; }
.footer-social a:hover { background: var(--rose-500); color: #fff; transform: translateY(-3px); }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.footer-col a { color: #B7A8B2; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-news { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 24px 28px; margin-top: 40px; }
.footer-news h4 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.footer-news p { font-size: 13.5px; color: #A99BA6; }
.footer-news-form { display: flex; gap: 8px; flex: 1; max-width: 420px; min-width: 260px; }
.footer-news-form input { flex: 1; min-width: 0; padding: 13px 18px; border-radius: 999px; border: 0; font: inherit; font-size: 14.5px; background: rgba(255,255,255,.1); color: #fff; }
.footer-news-form input::placeholder { color: #9C8E97; }
.footer-news-form input:focus { outline: 2px solid var(--rose-400); }
.footer-popular { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 26px; }
.footer-popular h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.pop-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pop-chips a { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #D8CBD4; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; transition: all .18s; }
.pop-chips a:hover { background: var(--rose-500); border-color: transparent; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 26px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #8F808C; }
.footer-bottom a { color: #CBBEC7; }
.footer-note .heart { color: var(--rose-400); animation: heartbeat 1.6s ease-in-out infinite; display: inline-block; }

/* ============ Toast / back to top ============ */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 13px 24px; border-radius: 999px; font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow-lg); animation: toastIn .35s cubic-bezier(.22,.61,.36,1); max-width: min(480px, 90vw); text-align: center; }
.toast.err { background: #B23B3B; }
.toast.out { animation: toastOut .3s ease forwards; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grad-rose); color: #fff; cursor: pointer; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .3s; z-index: 150; }
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body { background: #F4F2F5; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: var(--ink); color: #D8CBD4; display: flex; flex-direction: column; padding: 22px 16px; position: sticky; top: 0; height: 100vh; }
.brand-admin { color: #fff; padding: 4px 8px 18px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 14px; }
.brand-admin:hover { color: #fff; }
.admin-tag { font-size: 12px; font-weight: 700; color: var(--rose-300); letter-spacing: .06em; margin-left: 4px; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.admin-nav a { display: flex; align-items: center; gap: 10px; color: #C3B4BE; padding: 11px 14px; border-radius: 11px; font-weight: 600; font-size: 14.5px; transition: all .18s; }
.admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav a.active { background: var(--grad-rose); color: #fff; box-shadow: 0 6px 16px rgba(216,75,114,.3); }
.admin-side-foot { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
.admin-side-foot a { color: #AFA0AA; font-size: 14px; padding: 8px 14px; border-radius: 10px; }
.admin-side-foot a:hover { color: #fff; background: rgba(255,255,255,.06); }
.admin-main { min-width: 0; }
.admin-top { display: flex; align-items: center; gap: 14px; background: #fff; border-bottom: 1px solid var(--line); padding: 0 28px; height: 66px; position: sticky; top: 0; z-index: 50; }
.admin-top h1 { font-size: 20px; flex: 1; }
.admin-burger { display: none; border: 0; background: none; font-size: 22px; cursor: pointer; padding: 6px 10px; border-radius: 8px; }
.admin-user { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; }
.admin-logout { display: inline-flex; align-items: center; gap: 6px; margin-left: 16px; padding: 9px 16px; border-radius: 999px; background: #FDF0F0; border: 1px solid #F2C9C4; color: #B23B2E; font-weight: 700; font-size: 13.5px; text-decoration: none; transition: all .18s; }
.admin-logout:hover { background: #B23B2E; color: #fff; border-color: #B23B2E; }
.au-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-rose); color: #fff; display: grid; place-items: center; font-size: 14px; }
.admin-content { padding: 28px; max-width: 1200px; }
.admin-flash { background: #EAF7F0; border: 1px solid #BFE6D5; color: #17634A; border-radius: 12px; padding: 12px 18px; margin-bottom: 20px; font-weight: 600; font-size: 14px; animation: fadeIn .3s ease; }
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; position: relative; display: flex; flex-direction: column; gap: 4px; transition: all .2s; }
.admin-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ac-icon { position: absolute; top: 16px; right: 16px; font-size: 20px; opacity: .5; }
.ac-label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.ac-value { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.ac-sub { font-size: 12.5px; color: var(--muted); }
.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 22px; }
.admin-panel h2 { font-size: 17px; margin-bottom: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-head h2 { margin: 0; }
.admin-panel-form { max-width: 760px; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-search { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-search input, .admin-search select { padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px; background: #fff; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 12px; border-bottom: 1px solid #F3F0F3; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr { transition: background .15s; }
.admin-table tbody tr:hover { background: #FBF8FA; }
.admin-table a { font-weight: 600; }
.th-actions { text-align: right; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.row-actions form { margin: 0; }
.cell-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cell-item a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-thumb { border-radius: 7px; object-fit: cover; border: 1px solid var(--line); }
.row-unread { background: #FDF6F9; }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; text-transform: capitalize; }
.status-active { background: #EAF7F0; color: #17634A; }
.status-pending { background: #FFF7E6; color: #946B1E; }
.status-sold { background: var(--steel-100); color: var(--steel-700); }
.status-rejected { background: #FDF0F0; color: #A33B2E; }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 190px; padding: 10px 4px 0; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; min-width: 0; }
.chart-bar { width: 100%; max-width: 44px; background: var(--grad-rose); border-radius: 8px 8px 3px 3px; position: relative; transition: transform .2s, opacity .2s; opacity: .9; min-height: 4px; animation: growBar .8s cubic-bezier(.22,.61,.36,1) backwards; }
.chart-col:nth-child(2) .chart-bar { animation-delay: .05s; }
.chart-col:nth-child(3) .chart-bar { animation-delay: .1s; }
.chart-col:nth-child(4) .chart-bar { animation-delay: .15s; }
.chart-col:nth-child(5) .chart-bar { animation-delay: .2s; }
.chart-col:nth-child(6) .chart-bar { animation-delay: .25s; }
.chart-col:nth-child(7) .chart-bar { animation-delay: .3s; }
.chart-col:nth-child(8) .chart-bar { animation-delay: .35s; }
.chart-col:nth-child(9) .chart-bar { animation-delay: .4s; }
.chart-col:nth-child(10) .chart-bar { animation-delay: .45s; }
.chart-col:nth-child(11) .chart-bar { animation-delay: .5s; }
.chart-col:nth-child(12) .chart-bar { animation-delay: .55s; }
.chart-col:nth-child(13) .chart-bar { animation-delay: .6s; }
.chart-col:nth-child(14) .chart-bar { animation-delay: .65s; }
.chart-bar:hover { opacity: 1; transform: scaleX(1.06); }
.chart-bar span { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 700; color: var(--ink-2); opacity: 0; transition: opacity .15s; white-space: nowrap; }
.chart-bar:hover span { opacity: 1; }
.chart-label { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.msg-list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.msg-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 4px; border-bottom: 1px solid #F3F0F3; }
.msg-list li:last-child { border-bottom: 0; }
.msg-meta { font-size: 13px; color: var(--muted); }
.msg-subj { font-weight: 600; font-size: 14.5px; }
.msg-body { background: #F8F5F8; border-radius: 10px; padding: 12px 16px; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.muted { color: var(--muted); font-size: 14px; }
.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.checklist .todo { color: var(--muted); }
.admin-login-body { display: grid; place-items: center; min-height: 100vh; background: linear-gradient(160deg, #FDF6F9, #F3F6FB); padding: 20px; }
.admin-login { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.admin-login-card { background: #fff; border-radius: 20px; padding: 38px 36px; width: min(420px, 100%); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.admin-login-card h1 { font-size: 26px; }
.admin-login-sub { color: var(--muted); font-size: 14.5px; margin: 6px 0 20px; }
.admin-login-hint { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }
.admin-login-hint code { background: var(--rose-100); color: var(--rose-700); padding: 2px 7px; border-radius: 6px; }
.admin-back { color: var(--muted); font-size: 14px; }
.admin-back:hover { color: var(--rose-600); }

/* ============ Keyframes ============ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes blobFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -24px) scale(1.06); } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes heartPop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 70% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 25% { transform: scale(1.25); } 40% { transform: scale(1); } 60% { transform: scale(1.2); } }
@keyframes suggestIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalUp { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes growBar { from { height: 0; } }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .hero-card-a { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(300px, 82vw);
    background: #fff; z-index: 110; flex-direction: column; gap: 6px; padding: 84px 20px 20px;
    box-shadow: var(--shadow-lg); transform: translateX(-105%); transition: transform .3s cubic-bezier(.22,.61,.36,1);
    margin: 0; overflow-y: auto;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 13px 16px; font-size: 16px; }
  .main-nav .nav-auth { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
  .header-search { display: none; }
  .header-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; padding: 44px 0 56px; gap: 30px; }
  .hero-visual { display: none; }
  .hero-search { max-width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .browse-layout { grid-template-columns: 1fr; }
  .browse-side { position: static; }
  .filter-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .item-layout { grid-template-columns: 1fr; gap: 24px; }
  .sell-layout, .contact-layout { grid-template-columns: 1fr; }
  .sell-side, .contact-side { position: static; }
  .about-story { grid-template-columns: 1fr; gap: 26px; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .seo-cols { columns: 1; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 120; transform: translateX(-105%); transition: transform .3s ease; width: 260px; }
  .admin-side.open { transform: none; box-shadow: var(--shadow-lg); }
  .admin-burger { display: block; }
  .admin-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  .section { padding: 48px 0; }
  .header-actions .btn-ghost { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-stats { gap: 22px; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
  .item-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .item-card-price { font-size: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 34px 26px; }
  .cta-emoji { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .sell-form .form-row { grid-template-columns: 1fr; }
  .sell-form-wrap { padding: 22px 18px; }
  .seo-block { padding: 28px 22px; }
  .post-body { padding: 26px 20px; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .topbar-links { display: none; }
  .admin-content { padding: 18px 14px; }
  .admin-cards { grid-template-columns: 1fr; }
  .admin-table { display: block; overflow-x: auto; }
  .pagination a { min-width: 36px; height: 36px; }
  .item-actions .btn-lg { padding: 13px 20px; }
}

/* ============================================================
   v2 — ACCOUNTS · ORDERS · CHAT · TRUST & SAFETY
   ============================================================ */

/* User menu */
.user-menu { position: relative; }
.user-chip { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 6px; cursor: pointer; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); transition: all .18s; }
.user-chip:hover { border-color: var(--rose-300); box-shadow: var(--shadow-sm); }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--av, #E4587F); color: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.user-dd { position: absolute; top: calc(100% + 10px); right: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); min-width: 220px; padding: 8px; z-index: 130; animation: suggestIn .18s ease; }
.user-dd a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.user-dd a:hover { background: var(--rose-100); color: var(--rose-700); }
.user-dd hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin: 2px 3px 2px 0; vertical-align: middle; }
.b-ok { background: #EAF7F0; color: #17634A; }
.b-trust { background: linear-gradient(120deg, #F7E7C0, #EBD196); color: #7A5B13; }
.b-warn { background: #FFF3F0; color: #B23B2E; }
.b-info { background: var(--steel-100); color: var(--steel-700); }

/* Risk banners (buyer protection) */
.risk-banner { border-radius: 14px; padding: 13px 16px; margin-bottom: 14px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.risk-banner.warn { background: #FFF3F0; border: 1px solid #F6CFC8; color: #A33B2E; }
.risk-banner.info { background: var(--steel-50); border: 1px solid var(--steel-100); color: var(--steel-700); }

/* Owner toolbar */
.owner-toolbar { background: #F3F8F4; border: 1px solid #D3E7DB; border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }

/* Auth pages */
.auth-wrap { display: grid; place-items: center; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px 38px; width: min(460px, 100%); box-shadow: var(--shadow-md); text-align: center; }
.auth-emoji { font-size: 46px; }
.auth-card h1 { font-size: 27px; margin: 10px 0 4px; }
.auth-sub { color: var(--muted); margin-bottom: 22px; font-size: 14.5px; }
.auth-card form { text-align: left; }
.auth-alt { margin-top: 18px; font-size: 14px; color: var(--muted); }
.auth-demo { margin-top: 12px; font-size: 12px; color: var(--muted); background: var(--rose-50); border-radius: 10px; padding: 8px 12px; }
.auth-demo code { background: #fff; padding: 2px 6px; border-radius: 5px; }

/* Account */
.account-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.account-head .user-avatar { width: 62px; height: 62px; font-size: 26px; box-shadow: var(--shadow-md); }
.account-head h1 { font-size: 30px; }
.account-head .btn { margin-left: auto; }
.account-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 22px; border-top: 1px solid rgba(0,0,0,.06); padding-top: 16px; }
.account-tabs a { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-2); border: 1.5px solid transparent; transition: all .18s; }
.account-tabs a:hover { color: var(--rose-600); background: #fff; }
.account-tabs a.active { background: var(--grad-rose); color: #fff; box-shadow: 0 4px 12px rgba(216,75,114,.3); }
.d7 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spark { display: inline-flex; align-items: flex-end; gap: 2px; height: 26px; }
.spark i { width: 4px; background: var(--rose-300); border-radius: 2px; transition: background .15s; }
.spark:hover i { background: var(--rose-500); }
.todo-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.todo-list a { font-weight: 700; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }

/* Offers */
.offer-list { display: flex; flex-direction: column; gap: 12px; }
.offer-card { display: flex; gap: 14px; background: #FBF8FA; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.offer-body { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.offer-amt { color: var(--rose-600); }
.offer-msg { font-size: 13.5px; color: var(--ink-2); font-style: italic; }

/* Conversations */
.conv-list { display: flex; flex-direction: column; }
.conv-row { display: flex; align-items: center; gap: 14px; width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 14px 8px; cursor: pointer; text-align: left; font: inherit; transition: background .15s; }
.conv-row:hover { background: var(--rose-50); }
.conv-row:last-child { border-bottom: 0; }
.conv-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.conv-last { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.unread-pill { background: var(--rose-500); color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }

/* Chat modal */
.modal-chat { display: flex; flex-direction: column; height: min(560px, 88vh); }
.chat-warn { background: #FFF3F0; border: 1px solid #F6CFC8; color: #A33B2E; border-radius: 12px; padding: 10px 14px; font-size: 13px; margin-bottom: 10px; }
.chat-box { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 6px 2px; min-height: 200px; }
.chat-loading { color: var(--muted); text-align: center; padding: 30px 0; font-size: 14px; }
.chat-msg { max-width: 82%; display: flex; flex-direction: column; gap: 3px; }
.chat-msg .cm-body { padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.chat-msg.me { align-self: flex-end; align-items: flex-end; }
.chat-msg.me .cm-body { background: var(--grad-rose); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.them .cm-body { background: #F3F0F3; color: var(--ink); border-bottom-left-radius: 4px; }
.chat-msg.flagged .cm-body { border: 2px solid #E8A87C; }
.cm-time { font-size: 11px; color: var(--muted); }
.chat-send { display: flex; gap: 8px; margin-top: 10px; }
.chat-send input { flex: 1; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; font-size: 14.5px; }
.chat-send input:focus { outline: none; border-color: var(--rose-300); }

/* Order page */
.order-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.order-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.order-card-head h1 { font-size: 24px; }
.timeline { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 0; }
.timeline li { display: flex; gap: 14px; position: relative; padding-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.tl-dot { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--muted); display: grid; place-items: center; font-size: 13px; font-weight: 800; flex-shrink: 0; z-index: 1; }
.timeline li.done .tl-dot { background: #EAF7F0; border-color: #BFE6D5; color: #1F9D6B; }
.timeline li.done.warn .tl-dot { background: #FFF3F0; border-color: #F6CFC8; color: #A33B2E; }
.timeline li div { display: flex; flex-direction: column; padding-top: 4px; }
.order-note { background: var(--rose-50); border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 18px; }
.order-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-danger-ghost { border-color: #F2C9C4; color: #B23B2E; }
.btn-danger-ghost:hover { background: #FDF0F0; color: #B23B2E; border-color: #E8A87C; }
.order-item { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.order-item img { border-radius: 10px; object-fit: cover; }
.order-item strong { display: block; font-size: 14.5px; }
.order-party { display: flex; gap: 12px; align-items: center; margin: 12px 0; }
.order-party .muted { display: block; }
.fee-note { background: #EAF7F0; border: 1px solid #BFE6D5; color: #17634A; border-radius: 12px; padding: 12px 14px; font-size: 13.5px; }
.pay-safety h2 { font-size: 18px; margin-bottom: 8px; }
.pay-safety ul { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--ink-2); }
.review-box { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.review-box h3 { margin-bottom: 4px; }

/* Profile page */
.profile-head { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.profile-head .user-avatar { width: 84px; height: 84px; font-size: 34px; box-shadow: var(--shadow-md); }
.profile-info { flex: 1; min-width: 240px; }
.profile-info h1 { font-size: 30px; }
.badge-row { margin-top: 6px; }
.profile-bio { margin-top: 10px; color: var(--ink-2); font-size: 15px; max-width: 480px; }
.profile-stats { display: flex; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 26px; }
.profile-stats div { display: flex; flex-direction: column; }
.profile-stats strong { font-size: 22px; }
.profile-stats span { font-size: 12.5px; color: var(--muted); }
.profile-reviews { margin-top: 48px; }
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-card { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.review-body { flex: 1; }
.review-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-stars { color: var(--gold); letter-spacing: 1px; }
.review-body p { margin: 6px 0 4px; font-size: 14.5px; color: var(--ink-2); }
.item-reviews { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.item-reviews h2 { font-size: 19px; }
.link-btn { background: none; border: 0; color: var(--rose-600); font-weight: 700; cursor: pointer; font-size: inherit; text-decoration: underline; padding: 0; }

/* Footer grid with 6 columns */
.footer-grid { grid-template-columns: 1.4fr repeat(5, 1fr); }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .two-col { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .order-side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .profile-stats { width: 100%; justify-content: space-between; }
  .order-side { grid-template-columns: 1fr; }
  .auth-card { padding: 30px 22px; }
  .user-name { display: none; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
