/* ==========================================================
   style.css — نظام تصميم قابل للتخصيص عبر CSS Variables
   الألوان الافتراضية هون بتتبدل تلقائياً حسب config.json لكل متجر
   ========================================================== */

:root {
  --color-primary: #C9A227;      /* اللون الذهبي - يتغيّر حسب المتجر */
  --color-bg: #0E0E0E;           /* أسود عميق */
  --color-surface: #191919;      /* بطاقات وعناصر */
  --color-surface-2: #232323;
  --color-text: #F5F1E6;
  --color-muted: #9A968C;
  --color-border: #2E2B24;
  --color-danger: #C0392B;
  --color-success: #3F8F5F;
  --radius: 14px;
  --font-display: 'Almarai', sans-serif;
  --font-body: 'Tajawal', sans-serif;
}

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

html, body {
  height: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  direction: rtl;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

body { padding-bottom: 72px; } /* مساحة للـ bottom nav */

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

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  /* الخلفية بتاخد لونها من باليتة القالب (كانت ثابتة سوداء فبيختفي النص) */
  background: var(--color-surface);
  color: var(--color-text);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.topbar__logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.topbar__name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--color-text); }
.topbar__cart {
  margin-right: auto;
  position: relative;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--color-surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.topbar__cart-badge {
  position: absolute; top: -4px; left: -4px;
  background: var(--color-primary); color: #1a1a1a;
  font-size: 11px; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Cover / Hero ---------- */
.hero {
  margin: 14px 16px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/7;
  background: linear-gradient(135deg, var(--color-surface), var(--color-surface-2));
  display: flex; align-items: flex-end;
  position: relative;
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero__text { position: relative; padding: 16px; font-family: var(--font-display); font-size: 20px; font-weight: 700; }

/* ---------- Categories ---------- */
.section-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  margin: 20px 16px 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.categories { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; }
.categories::-webkit-scrollbar { display: none; }
.category-chip {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: 13px; color: var(--color-muted);
  white-space: nowrap;
}
.category-chip.active { background: var(--color-primary); color: #1a1a1a; font-weight: 700; border-color: var(--color-primary); }

/* ---------- Product Grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 4px 16px 16px;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card__img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--color-surface-2); }
.card__body { padding: 10px 12px 12px; }
.card__name { font-size: 13.5px; font-weight: 600; margin-bottom: 4px; line-height: 1.4; }
.card__price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.card__price { color: var(--color-primary); font-weight: 800; font-size: 14px; }
.card__price-old { color: var(--color-muted); font-size: 11px; text-decoration: line-through; margin-inline-end: 6px; }
.card__add {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--color-primary); color: #1a1a1a;
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Bottom Nav ---------- */
.bottom-nav {
  position: fixed; bottom: 0; right: 0; left: 0; z-index: 40;
  background: rgba(14,14,14,0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  display: flex;
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 11px; color: var(--color-muted);
}
.nav-item.active { color: var(--color-primary); }
.nav-item__icon { font-size: 19px; }

/* ---------- Sheet (Product / Cart / Checkout) ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 50; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed; right: 0; left: 0; bottom: 0; z-index: 51;
  background: var(--color-bg);
  border-radius: 20px 20px 0 0;
  max-height: 88vh;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.32,.72,0,1);
  display: flex; flex-direction: column;
  border-top: 1px solid var(--color-border);
}
.sheet.open { transform: translateY(0); }
.sheet__handle { width: 40px; height: 4px; background: var(--color-border); border-radius: 4px; margin: 10px auto 6px; }
.sheet__content { overflow-y: auto; padding: 8px 18px 24px; }
.sheet__close {
  position: absolute; top: 12px; left: 14px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-surface); color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px -2px rgba(0,0,0,.15); font-size: 15px;
}

/* ---------- Product detail ---------- */
.pd__img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); background: var(--color-surface); }
.pd__name { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-top: 14px; }
.pd__price { color: var(--color-primary); font-size: 18px; font-weight: 800; margin-top: 4px; }
.pd__desc { color: var(--color-muted); font-size: 13.5px; line-height: 1.7; margin-top: 10px; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.qty-btn { width: 34px; height: 34px; border-radius: 10px; background: var(--color-surface); color: var(--color-text); font-size: 18px; }
.qty-val { font-weight: 700; font-size: 15px; min-width: 20px; text-align: center; }

.btn {
  width: 100%; padding: 14px; border-radius: 12px;
  background: var(--color-primary); color: #1a1a1a;
  font-weight: 800; font-size: 15px; margin-top: 18px;
}
.btn--ghost { background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border); }
.btn--danger { background: var(--color-danger); color: #fff; }

/* ---------- Cart ---------- */
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.cart-item__img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; background: var(--color-surface); }
.cart-item__info { flex: 1; }
.cart-item__name { font-size: 13.5px; font-weight: 600; }
.cart-item__price { color: var(--color-primary); font-weight: 700; font-size: 13px; margin-top: 4px; }
.cart-item__qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-item__qty button { width: 24px; height: 24px; border-radius: 7px; background: var(--color-surface-2); color: var(--color-text); }
.cart-item__remove { color: var(--color-danger); font-size: 12px; }

.summary-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 6px 0; color: var(--color-muted); }
.summary-row.total { color: var(--color-text); font-weight: 800; font-size: 16px; border-top: 1px solid var(--color-border); margin-top: 8px; padding-top: 12px; }

/* ---------- Form ---------- */
.field { margin-top: 14px; }
.field label { font-size: 13px; color: var(--color-muted); display: block; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-text); font-family: inherit; font-size: 14px;
}
.pay-options { display: flex; gap: 10px; margin-top: 8px; }
.pay-option {
  flex: 1; padding: 12px; border-radius: 10px; text-align: center;
  background: var(--color-surface); border: 1px solid var(--color-border); font-size: 13px;
}
.pay-option.active { border-color: var(--color-primary); color: var(--color-primary); font-weight: 700; }


.toast {
  position: fixed; top: 16px; right: 50%; transform: translateX(50%);
  background: var(--color-surface); border: 1px solid var(--color-primary);
  padding: 10px 18px; border-radius: 10px; font-size: 13px; z-index: 99;
  opacity: 0; transition: opacity .25s;
}
.toast.show { opacity: 1; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--color-muted); }
.hidden { display: none !important; }

/* ---------- Hero Carousel (متحرك - ميزة مدفوعة) ---------- */
.hero-carousel { margin: 14px 16px; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16/7; }
.hero-carousel__track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.hero-carousel__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.hero-carousel__dots { position: absolute; bottom: 10px; right: 50%; transform: translateX(50%); display: flex; gap: 6px; }
.hero-carousel__dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.hero-carousel__dots span.active { background: #fff; width: 18px; border-radius: 4px; }

/* ---------- Search ---------- */
.search-row { padding: 0 16px; margin-top: 4px; }
.search-row input {
  width: 100%; padding: 12px 16px; border-radius: 12px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-text); font-size: 14px; font-family: inherit;
}

/* ---------- Carousels (Deals / Featured) ---------- */
.carousel { display: flex; gap: 12px; overflow-x: auto; padding: 4px 16px 16px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel-card {
  flex: 0 0 auto; width: 150px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); overflow: hidden;
}
.carousel-card__img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--color-surface-2); }
.carousel-card__body { padding: 9px 11px 11px; }
.carousel-card__name { font-size: 12.5px; font-weight: 600; line-height: 1.4; margin-bottom: 5px; }
.carousel-card__price { color: var(--color-primary); font-weight: 800; font-size: 13px; }
.carousel-card__discount {
  position: absolute; margin: 8px; background: var(--color-danger); color: #fff;
  font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px;
}
.carousel-card { position: relative; }

/* ---------- Variant chips (product detail) ---------- */
.variant-group { margin-top: 16px; }
.variant-group__label { font-size: 12.5px; color: var(--color-muted); margin-bottom: 8px; }
.variant-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-chip {
  padding: 8px 16px; border-radius: 999px; font-size: 13px;
  background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text);
}
.variant-chip.selected { background: var(--color-primary); color: #1a1a1a; font-weight: 700; border-color: var(--color-primary); }

/* ---------- Product video (product detail sheet) ---------- */
.pd__video { width: 100%; border-radius: var(--radius); margin-top: 10px; background: #000; }

/* ==========================================================
   نظام القوالب الجديد — 5 قوالب احترافية
   قاعدة ذهبية: القالب يتحكم بالـ "التخطيط والبنية" فقط.
   الألوان دائماً تجي من متغيرات --color-* يلي بتتعبّى من باليتة
   المتجر بقاعدة البيانات. هيك كل متجر بألوانه، والقالب بشكله.
   المتغيرات الإضافية: --t-accent (لون مكمّل), --t-ink (لون النص الداكن)
   ========================================================== */

/* شبكة أساسية متجاوبة تُستخدم كنقطة انطلاق */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px 20px; }

/* عناصر جذب مشتركة عبر كل القوالب */
.card__badges { position: absolute; top: 8px; inset-inline-start: 8px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.badge-chip { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px; color: #fff; box-shadow: 0 2px 6px -1px rgba(0,0,0,.25); }
.badge-chip--sale { background: var(--color-danger); }
.badge-chip--hot { background: var(--t-accent, var(--color-primary)); color: var(--t-ink, #fff); }
.badge-chip--low { background: #E8622C; }
.card__wish { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 2px 6px -1px rgba(0,0,0,.2); }
.card__wish.active { color: var(--color-danger); }
.card__rating { display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--color-muted); margin-top: 3px; }
.card__sold { font-size: 10.5px; color: var(--color-muted); margin-top: 2px; }
.card { position: relative; overflow: hidden; }

/* ============================================================
   1) PULSE — حيوي بأسلوب Shein: شبكة كثيفة، بطاقات مدوّرة بظل ملوّن
   ============================================================ */
body.t-pulse { --radius: 16px; }
body.t-pulse .hero { background: linear-gradient(120deg, var(--color-primary), var(--t-accent, var(--color-primary))); box-shadow: 0 10px 24px -10px var(--color-primary); }
body.t-pulse .hero__text { font-family: var(--font-display); font-size: 22px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.18); }
body.t-pulse .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
body.t-pulse .card { border: none; border-radius: var(--radius); box-shadow: 0 6px 18px -9px rgba(0,0,0,.22); transition: transform .15s; }
body.t-pulse .card:active { transform: scale(.97); }
body.t-pulse .card__img { aspect-ratio: 3/4; border-radius: var(--radius) var(--radius) 0 0; }
body.t-pulse .card__name { font-weight: 700; font-size: 12.5px; }
body.t-pulse .card__price { color: var(--color-primary); font-family: var(--font-display); font-size: 15px; }
body.t-pulse .card__add { border-radius: 999px; background: var(--color-primary); box-shadow: 0 4px 10px -3px var(--color-primary); }
body.t-pulse .category-chip { font-weight: 700; border-radius: 999px; }
body.t-pulse .category-chip.active { background: var(--color-primary); color: #fff; }

/* ============================================================
   2) AURORA — ناعم راقٍ: بطاقات عائمة كبيرة، تدرجات هادئة، مساحات واسعة
   ============================================================ */
body.t-aurora { --radius: 22px; }
body.t-aurora .hero { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--color-primary), var(--t-accent, var(--color-primary))); box-shadow: 0 16px 36px -14px var(--color-primary); }
body.t-aurora .hero__text { font-family: var(--font-display); font-size: 23px; color: #fff; }
body.t-aurora .grid { grid-template-columns: 1fr; gap: 18px; }
body.t-aurora .card { border: none; border-radius: var(--radius); box-shadow: 0 12px 30px -14px rgba(0,0,0,.25); display: grid; grid-template-columns: 130px 1fr; align-items: stretch; }
body.t-aurora .card__img { aspect-ratio: 1; height: 100%; border-radius: var(--radius) 0 0 var(--radius); }
body.t-aurora .card__body { display: flex; flex-direction: column; justify-content: center; padding: 16px; }
body.t-aurora .card__name { font-size: 15px; font-weight: 700; }
body.t-aurora .card__price { color: var(--color-primary); font-size: 17px; font-weight: 800; margin-top: auto; }
body.t-aurora .card__add { border-radius: 999px; background: var(--color-primary); width: fit-content; padding: 8px 18px; margin-top: 8px; }
body.t-aurora .card__badges { flex-direction: row; }
body.t-aurora .category-chip { border-radius: 999px; padding: 9px 18px; }
body.t-aurora .category-chip.active { background: var(--color-primary); color: #fff; }

/* ============================================================
   3) NOIR — فخم جريء: تباين حاد، صور كبيرة مربّعة، بلا زخرفة، حروف واسعة
   ============================================================ */
body.t-noir { --radius: 0px; }
body.t-noir .topbar { border-bottom: 1px solid var(--color-border); }
body.t-noir .topbar__name { font-family: var(--font-display); letter-spacing: 3px; text-transform: uppercase; font-size: 18px; }
body.t-noir .hero { aspect-ratio: 1; margin: 0 0 4px; border-radius: 0; }
body.t-noir .hero__text { font-family: var(--font-display); font-size: 26px; letter-spacing: 2px; text-transform: uppercase; color: #fff; }
body.t-noir .section-title { justify-content: center; letter-spacing: 4px; text-transform: uppercase; font-size: 13px; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 16px 0; margin: 24px 16px 14px; }
body.t-noir .grid { grid-template-columns: repeat(2, 1fr); gap: 1px; padding: 0 16px 20px; }
body.t-noir .card { border: none; border-radius: 0; background: transparent; }
body.t-noir .card__img { aspect-ratio: 3/4; border-radius: 0; filter: contrast(1.03); }
body.t-noir .card__body { padding: 12px 4px; text-align: center; }
body.t-noir .card__name { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--color-muted); }
body.t-noir .card__price { font-family: var(--font-display); letter-spacing: 1px; margin-top: 4px; }
body.t-noir .card__add { display: none; }
body.t-noir .card__wish { background: rgba(0,0,0,.06); }
body.t-noir .category-chip { border-radius: 0; background: transparent; border-bottom: 2px solid transparent; letter-spacing: 1.5px; text-transform: uppercase; font-size: 11px; }
body.t-noir .category-chip.active { background: transparent; color: var(--color-primary); border-bottom-color: var(--color-primary); }
body.t-noir .accent-line { height: 1px; background: var(--t-accent, var(--color-primary)); }

/* ============================================================
   4) GALLERY — أسلوب المجلة: منتج بملء العرض، عناوين جريئة، سرد بصري
   ============================================================ */
body.t-gallery { --radius: 10px; }
body.t-gallery .hero { aspect-ratio: 21/9; }
body.t-gallery .hero__text { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff; }
body.t-gallery .section-title { font-family: var(--font-display); font-size: 21px; font-weight: 800; padding: 0 16px; }
body.t-gallery .grid { grid-template-columns: 1fr; gap: 26px; }
body.t-gallery .card { border: none; border-radius: var(--radius); background: transparent; }
body.t-gallery .card__img { aspect-ratio: 16/10; border-radius: var(--radius); }
body.t-gallery .card__body { padding: 12px 4px 0; }
body.t-gallery .card__name { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
body.t-gallery .card__price { color: var(--color-primary); font-size: 17px; font-weight: 800; }
body.t-gallery .card__add { border-radius: var(--radius); background: var(--color-primary); padding: 10px 20px; width: fit-content; margin-top: 8px; }
body.t-gallery .card__badges { flex-direction: row; }
body.t-gallery .category-chip { border-radius: 6px; font-weight: 700; }
body.t-gallery .category-chip.active { background: var(--color-primary); color: #fff; }

/* ============================================================
   5) BAZAAR — مدمج سريع: شبكة مصغّرة كثيفة، للمتاجر الكبيرة
   ============================================================ */
body.t-bazaar { --radius: 10px; }
body.t-bazaar .hero { aspect-ratio: 20/7; }
body.t-bazaar .hero__text { font-family: var(--font-display); font-size: 19px; color: #fff; }
body.t-bazaar .search-row input { border: 2px solid var(--color-primary); }
body.t-bazaar .grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
body.t-bazaar .card { border: 1px solid var(--color-border); border-radius: var(--radius); }
body.t-bazaar .card__img { aspect-ratio: 1; border-radius: var(--radius) var(--radius) 0 0; }
body.t-bazaar .card__body { padding: 7px 8px; }
body.t-bazaar .card__name { font-size: 11px; font-weight: 600; line-height: 1.35; }
body.t-bazaar .card__price { color: var(--color-primary); font-size: 12.5px; font-weight: 800; }
body.t-bazaar .card__rating, body.t-bazaar .card__sold { font-size: 9.5px; }
body.t-bazaar .card__add { width: 26px; height: 26px; border-radius: 8px; background: var(--color-primary); }
body.t-bazaar .card__badges { top: 5px; inset-inline-start: 5px; }
body.t-bazaar .badge-chip { font-size: 8.5px; padding: 2px 6px; }
body.t-bazaar .card__wish { width: 24px; height: 24px; font-size: 12px; top: 5px; inset-inline-end: 5px; }
body.t-bazaar .category-chip { font-size: 12px; padding: 7px 13px; border-radius: 8px; }
body.t-bazaar .category-chip.active { background: var(--color-primary); color: #fff; }

/* ==========================================================
   Live Chat — تصميم احترافي (فقاعات، أوقات، حالة)
   ========================================================== */
.chat { display: flex; flex-direction: column; height: 70vh; max-height: 600px; }
.chat__header { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 14px; border-bottom: 1px solid var(--color-border); }
.chat__title { font-family: var(--font-display); font-size: 16px; }
.chat__wa { background: #25D366; color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 700; }
.chat__messages { flex: 1; overflow-y: auto; padding: 16px 4px; display: flex; flex-direction: column; gap: 10px; }
.chat__messages::-webkit-scrollbar { width: 0; }
.msg { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; position: relative; word-wrap: break-word; }
.msg__time { font-size: 9.5px; opacity: .6; margin-top: 4px; display: block; }
.msg--mine { align-self: flex-start; background: var(--color-primary); color: #fff; border-bottom-right-radius: 4px; }
.msg--theirs { align-self: flex-end; background: var(--color-surface-2); color: var(--color-text); border-bottom-left-radius: 4px; }
.chat__empty { text-align: center; color: var(--color-muted); font-size: 13px; margin: auto; padding: 30px; }
.chat__input-row { display: flex; gap: 8px; padding: 12px 4px 4px; border-top: 1px solid var(--color-border); }
.chat__input-row input { flex: 1; padding: 12px 16px; border-radius: 999px; background: var(--color-surface-2); border: 1px solid var(--color-border); color: var(--color-text); font-size: 14px; font-family: inherit; }
.chat__input-row button { width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: 18px; flex-shrink: 0; }
.chat__day-sep { text-align: center; font-size: 11px; color: var(--color-muted); margin: 6px 0; }
