/* ============================================================
   PAWNEST — STYLES
   Colors live in the :root block below. Change --accent and
   --accent2 to re-theme the whole store.
   ============================================================ */

:root {
  --accent: #e0633c;
  --accent2: #f09c3f;
  --grad: linear-gradient(135deg, var(--accent), var(--accent2));
  --ink: #2b2019;
  --ink-soft: #6b5b4e;
  --ink-faint: #a3907f;
  --bg: #ffffff;
  --bg-soft: #faf6f0;
  --bg-lav: #fdeee2;
  --line: #efe4d7;
  --card: #ffffff;
  --good: #16a34a;
  --star: #f5a623;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(90, 55, 25, 0.10);
  --shadow-lg: 0 24px 60px rgba(90, 55, 25, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- announcement bar ---------- */
.announce {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 16px;
}
.announce b { color: #ffd9a8; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 66px;
}
.logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff; font-size: 1rem;
  box-shadow: 0 4px 12px rgba(224, 99, 60, 0.35);
}
.nav-links { display: flex; gap: 24px; margin-left: 8px; }
.nav-links a {
  font-size: 0.92rem; font-weight: 600; color: var(--ink-soft);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-spacer { flex: 1; }

.icon-btn {
  position: relative;
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.15rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: transform 0.15s, background 0.15s;
}
.icon-btn:hover { transform: translateY(-1px); background: var(--bg-lav); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px;
  background: var(--grad); color: #fff;
  font-size: 0.7rem; font-weight: 800;
  display: grid; place-items: center;
  border: 2px solid #fff;
  transition: transform 0.2s;
}
.cart-count.pop { transform: scale(1.35); }
.menu-btn { display: none; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 10px 20px 16px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 11px 4px;
  font-weight: 700; font-size: 1rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(240, 156, 63, 0.16), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(224, 99, 60, 0.10), transparent 60%),
    linear-gradient(180deg, #fbf5ec 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center;
  padding: 64px 0 72px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px;
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--good);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  line-height: 1.12; letter-spacing: -0.03em; font-weight: 800;
  margin-bottom: 18px;
}
.hero h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p.sub {
  font-size: 1.08rem; color: var(--ink-soft);
  max-width: 480px; margin-bottom: 28px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 14px;
  font-size: 0.98rem; font-weight: 700;
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 22px rgba(224, 99, 60, 0.32);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(224, 99, 60, 0.42); }
.btn-ghost {
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover { box-shadow: var(--shadow); }
.btn-dark { background: var(--ink); box-shadow: 0 8px 22px rgba(43, 32, 25, 0.3); }
.btn.small { padding: 10px 18px; font-size: 0.88rem; border-radius: 11px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 1.15rem; letter-spacing: -0.01em; }
.hero-stat span { font-size: 0.82rem; color: var(--ink-faint); font-weight: 600; }

/* radar card (hero right) */
.radar-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 22px; max-width: 400px; margin-left: auto;
  transform: rotate(1.5deg);
}
.radar-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.radar-head .rt { font-weight: 800; font-size: 0.95rem; display: flex; gap: 8px; align-items: center; }
.radar-live {
  font-size: 0.7rem; font-weight: 800; color: var(--good);
  background: rgba(22, 163, 74, 0.1); border-radius: 999px; padding: 4px 10px;
}
.radar-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: 14px;
  transition: background 0.15s;
}
.radar-row:hover { background: var(--bg-soft); }
.radar-emoji {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.3rem;
  flex-shrink: 0;
}
.radar-info { flex: 1; min-width: 0; }
.radar-info b { display: block; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radar-info span { font-size: 0.76rem; color: var(--ink-faint); font-weight: 600; }
.radar-score {
  font-size: 0.78rem; font-weight: 800; color: var(--accent);
  background: var(--bg-lav); border-radius: 999px; padding: 5px 10px;
  white-space: nowrap;
}
.radar-foot {
  margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 0.78rem; color: var(--ink-faint); text-align: center; font-weight: 600;
}

/* ---------- sections ---------- */
section { padding: 72px 0; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.sec-kicker {
  display: inline-block;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.sec-head p { color: var(--ink-soft); }

/* category chips */
.chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 38px; }
.chip {
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  font-size: 0.87rem; font-weight: 700; color: var(--ink-soft);
  transition: all 0.15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-tile {
  position: relative; aspect-ratio: 1 / 0.82;
  display: grid; place-items: center;
  font-size: 4rem;
}
.card-tile img { width: 100%; height: 100%; object-fit: cover; }
.ai-pill {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 999px; padding: 5px 11px;
  font-size: 0.72rem; font-weight: 800; color: var(--accent);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}
.sale-pill {
  position: absolute; top: 12px; right: 12px;
  background: var(--ink); color: #fff;
  border-radius: 999px; padding: 5px 11px;
  font-size: 0.72rem; font-weight: 800;
}
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 5px; }
.card-body h3 { font-size: 1.02rem; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 6px; }
.rating { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 12px; }
.rating .stars { color: var(--star); letter-spacing: 1px; font-size: 0.82rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.price s { color: var(--ink-faint); font-weight: 600; font-size: 0.85rem; margin-left: 7px; }
.add-btn {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 1.15rem;
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.add-btn:hover { background: var(--accent); transform: scale(1.07); }

/* ---------- why / features ---------- */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.why-icon {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--bg-lav);
  display: grid; place-items: center; font-size: 1.5rem;
  margin-bottom: 16px;
}
.why-card h3 { font-size: 1.08rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.why-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; border: 1px dashed var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -17px; left: 22px;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 6px 14px rgba(224, 99, 60, 0.35);
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; color: var(--ink-soft); }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow);
}
.quote .stars { color: var(--star); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: 0.95rem; margin-bottom: 14px; }
.quote b { font-size: 0.85rem; color: var(--ink-faint); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 15px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left;
  padding: 18px 22px;
  font-size: 0.98rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q .chev { transition: transform 0.2s; color: var(--ink-faint); flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 18px; color: var(--ink-soft); font-size: 0.93rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- newsletter ---------- */
.news {
  background: var(--ink);
  border-radius: 26px;
  padding: 52px 40px;
  text-align: center;
  color: #fff;
  position: relative; overflow: hidden;
}
.news::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 200px at 80% 0%, rgba(240, 156, 63, 0.35), transparent 65%);
}
.news > * { position: relative; }
.news h2 { font-size: 1.7rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.news p { color: #d9c9b8; margin-bottom: 24px; max-width: 440px; margin-inline: auto; }
.news-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.news-form input {
  flex: 1; padding: 14px 18px; border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff; font-size: 0.95rem; outline: none;
}
.news-form input::placeholder { color: #a3907f; }
.news-form input:focus { border-color: var(--accent2); }

/* ---------- footer ---------- */
footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 72px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 34px; }
.foot-brand { max-width: 300px; }
.foot-brand .logo { margin-bottom: 12px; }
.foot-brand p { font-size: 0.88rem; color: var(--ink-soft); }
.foot-col h4 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.foot-col a, .foot-col button { display: block; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; text-align: left; padding: 0; }
.foot-col a:hover, .foot-col button:hover { color: var(--accent); }
.foot-base {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--ink-faint); font-weight: 600;
}

/* ---------- overlays: drawer + modals ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; display: none; }
.overlay.open { display: block; }
.scrim {
  position: absolute; inset: 0;
  background: rgba(23, 20, 43, 0.5);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(430px, 100%);
  background: #fff;
  display: flex; flex-direction: column;
  animation: slideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.18);
}
@keyframes slideIn { from { transform: translateX(60px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 1.1rem; }
.close-x {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; font-size: 1rem;
  background: var(--bg-soft);
}
.close-x:hover { background: var(--bg-lav); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; }

.cart-line { display: flex; gap: 14px; margin-bottom: 18px; }
.cart-thumb {
  width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.7rem; overflow: hidden;
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { flex: 1; min-width: 0; }
.cart-info b { display: block; font-size: 0.92rem; line-height: 1.3; }
.cart-info .cp { font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; margin-top: 2px; }
.qty-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 8px;
  border: 1.5px solid var(--line);
  display: grid; place-items: center; font-size: 0.9rem; font-weight: 700;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-n { font-size: 0.9rem; font-weight: 700; min-width: 18px; text-align: center; }
.rm-btn { margin-left: auto; font-size: 0.78rem; color: var(--ink-faint); font-weight: 600; }
.rm-btn:hover { color: #e11d48; }

.totals { font-size: 0.92rem; }
.totals .row { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--ink-soft); font-weight: 600; }
.totals .row.grand { color: var(--ink); font-weight: 800; font-size: 1.08rem; border-top: 1px dashed var(--line); padding-top: 12px; margin: 12px 0 16px; }
.free-ship-note {
  font-size: 0.78rem; font-weight: 700; color: var(--good);
  background: rgba(22, 163, 74, 0.08);
  border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; text-align: center;
}
.empty-cart { text-align: center; padding: 48px 10px; color: var(--ink-faint); }
.empty-cart .big { font-size: 2.6rem; margin-bottom: 12px; }

/* modal */
.modal {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(880px, calc(100% - 32px));
  max-height: min(680px, calc(100% - 48px));
  background: #fff; border-radius: 24px;
  overflow: hidden auto;
  animation: popIn 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--shadow-lg);
}
@keyframes popIn { from { transform: translate(-50%, -46%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
.modal.narrow { width: min(520px, calc(100% - 32px)); }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 38px; height: 38px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow);
  display: grid; place-items: center;
}

.pm-grid { display: grid; grid-template-columns: 1fr 1fr; }
.pm-tile { min-height: 320px; display: grid; place-items: center; font-size: 6.5rem; position: relative; }
.pm-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm-body { padding: 34px 32px; }
.pm-body .card-cat { margin-bottom: 8px; }
.pm-body h2 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px; }
.pm-body .rating { margin-bottom: 14px; }
.pm-ai {
  font-size: 0.82rem; font-weight: 700; color: var(--accent);
  background: var(--bg-lav); border-radius: 11px; padding: 9px 13px;
  margin-bottom: 16px;
}
.pm-body .desc { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 16px; }
.pm-feats { list-style: none; margin-bottom: 20px; }
.pm-feats li { font-size: 0.9rem; padding: 4px 0 4px 26px; position: relative; color: var(--ink-soft); font-weight: 600; }
.pm-feats li::before { content: "✓"; position: absolute; left: 2px; color: var(--good); font-weight: 800; }
.pm-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.pm-price .now { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.pm-price s { color: var(--ink-faint); }
.pm-price .save { font-size: 0.78rem; font-weight: 800; color: var(--good); background: rgba(22, 163, 74, 0.1); padding: 4px 10px; border-radius: 999px; }
.pm-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pm-btns .btn { flex: 1; min-width: 150px; }
.pm-ship { margin-top: 16px; font-size: 0.8rem; color: var(--ink-faint); font-weight: 600; }

/* checkout + policy modal bodies */
.co-body { padding: 30px 28px; }
.co-body h2 { font-size: 1.35rem; margin-bottom: 18px; letter-spacing: -0.02em; }
.co-lines { margin-bottom: 16px; }
.co-line { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.co-line span:first-child { color: var(--ink-soft); font-weight: 600; }
.co-line b { white-space: nowrap; }
.demo-note {
  background: #fff7ed; border: 1px solid #fed7aa;
  border-radius: 14px; padding: 16px; margin-top: 16px;
  font-size: 0.88rem; color: #7c2d12;
}
.demo-note b { display: block; margin-bottom: 5px; }
.policy-body { padding: 32px 30px; }
.policy-body h2 { font-size: 1.35rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.policy-body p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 12px; }
.policy-body strong { color: var(--ink); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink); color: #fff;
  border-radius: 13px; padding: 13px 22px;
  font-size: 0.9rem; font-weight: 700;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: all 0.25s;
  z-index: 300;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- chat widget ---------- */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-weight: 800; font-size: 0.93rem;
  box-shadow: 0 12px 30px rgba(224, 99, 60, 0.45);
  transition: transform 0.15s;
}
.chat-fab:hover { transform: translateY(-2px) scale(1.02); }

.chat-panel {
  position: fixed; right: 16px; bottom: 16px; z-index: 200;
  width: min(390px, calc(100vw - 32px));
  height: min(580px, calc(100vh - 90px));
  background: #fff; border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: none; flex-direction: column;
  overflow: hidden;
  animation: popUp 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.chat-panel.open { display: flex; }
@keyframes popUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.chat-head {
  background: var(--grad); color: #fff;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.chat-ava {
  width: 40px; height: 40px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.2);
  display: grid; place-items: center; font-size: 1.2rem;
}
.chat-head b { display: block; font-size: 0.98rem; }
.chat-head span { font-size: 0.75rem; opacity: 0.85; font-weight: 600; }
.chat-head .close-x { margin-left: auto; background: rgba(255, 255, 255, 0.16); color: #fff; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 18px 16px; background: var(--bg-soft); }
.msg { max-width: 86%; margin-bottom: 12px; animation: msgIn 0.2s; }
@keyframes msgIn { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
.msg .bubble {
  padding: 11px 15px; border-radius: 16px;
  font-size: 0.9rem; line-height: 1.5;
}
.msg.bot .bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.user { margin-left: auto; }
.msg.user .bubble { background: var(--grad); color: #fff; border-bottom-right-radius: 6px; }
.chat-card {
  display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 10px;
  margin-top: 8px; max-width: 300px;
  cursor: pointer;
  transition: box-shadow 0.15s;
}
.chat-card:hover { box-shadow: var(--shadow); }
.chat-card .cc-tile {
  width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.35rem; overflow: hidden;
}
.chat-card .cc-tile img { width: 100%; height: 100%; object-fit: cover; }
.chat-card .cc-info { flex: 1; min-width: 0; }
.chat-card .cc-info b { display: block; font-size: 0.82rem; line-height: 1.25; }
.chat-card .cc-info span { font-size: 0.8rem; color: var(--accent); font-weight: 800; }
.chat-card .add-btn { width: 32px; height: 32px; border-radius: 9px; font-size: 0.95rem; }
.chat-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chat-chip {
  font-size: 0.78rem; font-weight: 700;
  border: 1.5px solid var(--accent); color: var(--accent);
  border-radius: 999px; padding: 6px 13px;
  background: #fff;
  transition: all 0.15s;
}
.chat-chip:hover { background: var(--accent); color: #fff; }
.typing .bubble { display: inline-flex; gap: 5px; padding: 14px 16px; }
.typing .d { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); animation: bounce 1.2s infinite; }
.typing .d:nth-child(2) { animation-delay: 0.15s; }
.typing .d:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }
.chat-input-row {
  display: flex; gap: 10px; padding: 13px 14px;
  border-top: 1px solid var(--line); background: #fff;
}
.chat-input-row input {
  flex: 1; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 11px 15px; font-size: 0.9rem; outline: none;
}
.chat-input-row input:focus { border-color: var(--accent); }
.chat-send {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); color: #fff; font-size: 1.05rem;
  display: grid; place-items: center; flex-shrink: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 56px; }
  .radar-card { margin: 0 auto; transform: none; }
  .why-grid, .steps, .quotes { grid-template-columns: 1fr 1fr; }
  .steps { row-gap: 34px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  section { padding: 52px 0; }
  .why-grid, .steps, .quotes { grid-template-columns: 1fr; }
  .pm-grid { grid-template-columns: 1fr; }
  .pm-tile { min-height: 200px; font-size: 4.5rem; }
  .pm-body { padding: 26px 22px; }
  .news { padding: 40px 22px; border-radius: 20px; }
  .news-form { flex-direction: column; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .card-tile { font-size: 3rem; }
  .card-body { padding: 12px 14px 14px; }
  .card-body h3 { font-size: 0.9rem; }
  .price { font-size: 1rem; }
  .price s { font-size: 0.76rem; margin-left: 4px; }
  .add-btn { width: 34px; height: 34px; border-radius: 10px; font-size: 1rem; }
  .hero-stats { gap: 20px; }
  .chat-fab span.fab-label { display: none; }
  .chat-fab { padding: 16px; }
}
