/* ═══════════════════════════════════════════
   O!Dari — Flower Shop Styles
   Design source: odari.pen (frame sxBvk)
   ═══════════════════════════════════════════ */

/* --- Design Tokens (from .pen variables) --- */
:root {
  --accent-rose: #C94070;
  --accent-rose-dark: #A52E58;
  --accent-rose-light: #F2D4DC;
  --bg-primary: #FFFAF7;
  --bg-soft: #FDF3EE;
  --bg-white: #FFFFFF;
  --border: #EDE5DF;
  --font-sans: "Outfit", sans-serif;
  --font-serif: "Cormorant Garamond", serif;
  --font-price: "Unbounded", sans-serif;
  --text-muted: #A09890;
  --text-primary: #1A1A1A;
  --text-secondary: #6B6560;

  /* Supplementary tokens */
  --footer-bg: #1A0A10;
  --star-color: #F59E0B;
  --success-green: #16A34A;
  --success-bg: #ECFDF5;
  --warning-amber: #D97706;
  --warning-bg: #FEF3C7;
  --twogis-green: #00B956;
  --yandex-red: #FC3F1D;
  --whatsapp-green: #25D366;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* --- Shared Section Patterns --- */
.section-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-rose);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.2;
}

.section-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  text-align: center;
  max-width: 520px;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border-radius: 28px;
  padding: 16px 32px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  gap: 8px;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--accent-rose);
  color: #FFFFFF;
}
.btn--primary:hover {
  background-color: var(--accent-rose-dark);
}

.btn--outline-light {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--white {
  background-color: #FFFFFF;
  color: var(--accent-rose);
}
.btn--white:hover {
  background-color: #F5F5F5;
}

.btn--lg {
  font-size: 15px;
  padding: 16px 32px;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */

/* --- TopBar --- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 60px;
  background-color: var(--bg-soft);
  font-size: 12px;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__phone {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar__phone i {
  font-size: 14px;
  color: var(--text-muted);
}
.topbar__phone span {
  font-weight: 500;
  color: var(--text-primary);
}

.topbar__callback {
  color: var(--accent-rose);
  font-weight: 400;
}
.topbar__callback:hover {
  color: var(--accent-rose-dark);
}

.topbar__city {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}
.topbar__city i {
  font-size: 14px;
  color: var(--text-muted);
}
.topbar__city-chevron {
  font-size: 12px !important;
}

.topbar__auth {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}
.topbar__auth i {
  font-size: 14px;
  color: var(--text-muted);
}

/* --- NavBar --- */
.navbar {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border);
  height: 72px;
  position: relative;
  z-index: 100;
}
.navbar.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 16px rgba(26, 10, 16, 0.06);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 60px;
  max-width: 1440px;
  margin: 0 auto;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar__logo-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-rose);
}
.navbar__logo-sub {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Nav Links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar__link {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.navbar__link:hover {
  color: var(--accent-rose);
}
.navbar__link--active {
  color: var(--text-primary);
  font-weight: 500;
}
.navbar__link--accent {
  color: var(--accent-rose);
  font-weight: 600;
}

/* Nav Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.navbar__search:hover {
  border-color: var(--accent-rose-light);
}
.navbar__search i {
  font-size: 16px;
}

.navbar__cart {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-rose);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.navbar__cart:hover {
  background-color: var(--accent-rose-dark);
}
.navbar__cart i {
  font-size: 18px;
}

.navbar__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 24px;
  color: var(--text-primary);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.is-open {
  pointer-events: all;
  visibility: visible;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 10, 16, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.is-open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--bg-white);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-menu__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-secondary);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu__links li a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}
.mobile-menu__links li a:hover {
  color: var(--accent-rose);
}

.mobile-menu__cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent-rose);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 24px;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 520px;
  background-color: #1A0A10;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 10, 16, 0.8) 100%);
}

.hero__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 640px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 80px;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.133);
  border-radius: 20px;
  width: fit-content;
}
.hero__badge i,
.hero__badge span {
  color: #F9D4C4;
  font-size: 12px;
}
.hero__badge i {
  font-size: 14px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.1;
  max-width: 480px;
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 440px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__nav {
  position: absolute;
  top: 50%;
  left: 688px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.hero__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.hero__nav-btn--next {
  background: rgba(255, 255, 255, 0.333);
}
.hero__nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════ */
.features {
  background-color: var(--bg-white);
  padding: 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.features__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background-color: var(--bg-primary);
  border-radius: 16px;
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background-color: var(--accent-rose-light);
}
.feature-card__icon i {
  font-size: 22px;
  color: var(--accent-rose);
}

.feature-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-card__text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   CATALOG
   ═══════════════════════════════════════════ */
.catalog {
  background-color: var(--bg-primary);
}

.catalog__wrap {
  display: flex;
  width: 100%;
}

/* Sidebar */
.catalog__sidebar {
  width: 240px;
  min-width: 240px;
  background-color: var(--bg-white);
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}

.sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 16px;
}
.sidebar__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
}
.sidebar__reset {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
}
.sidebar__reset i {
  font-size: 12px;
}

.sidebar__divider {
  height: 1px;
  background-color: var(--border);
  width: 100%;
}

.sidebar__section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
}

.sidebar__label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Filter rows */
.sidebar__filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  cursor: pointer;
}
.sidebar__filter:hover .sidebar__filter-name {
  color: var(--accent-rose);
}

.sidebar__filter-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar__dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.sidebar__filter-name {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}
.sidebar__filter-name--active {
  font-weight: 500;
  color: var(--text-primary);
}

.sidebar__filter-count {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}

.sidebar__filter-icon {
  font-size: 13px;
  color: var(--text-muted);
}
.sidebar__filter-icon--active {
  color: var(--accent-rose);
}

/* Color swatches */
.sidebar__colors {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.sidebar__color {
  width: 24px;
  height: 24px;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease;
}
.sidebar__color:hover {
  transform: scale(1.15);
}
.sidebar__color--active {
  border-color: var(--accent-rose);
}
.sidebar__color--white {
  border-color: var(--border);
}

/* Price slider */
.sidebar__price-track {
  position: relative;
  height: 4px;
  background-color: var(--border);
  border-radius: 2px;
  margin-top: 8px;
}
.sidebar__price-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 100%;
  background-color: var(--accent-rose);
  border-radius: 2px;
}
.sidebar__price-thumb {
  position: absolute;
  top: -6px;
  left: calc(75% - 8px);
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background-color: var(--bg-white);
  border: 2px solid var(--accent-rose);
  cursor: grab;
}

.sidebar__price-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.sidebar__price-labels span {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}

/* Catalog Content Area */
.catalog__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.catalog__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.catalog__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.catalog__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
}
.catalog__count {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.catalog__sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.catalog__sort-label {
  font-size: 13px;
  color: var(--text-muted);
}
.catalog__sort-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.catalog__sort-btn:hover {
  border-color: var(--accent-rose-light);
}
.catalog__sort-btn i {
  font-size: 14px;
  color: var(--text-muted);
}

.catalog__filter-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
}
.catalog__filter-toggle i {
  font-size: 16px;
}

/* Product Grid */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px;
  background-color: var(--bg-primary);
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.product-card:hover,
.product-card.is-hovered {
  box-shadow: 0 8px 32px rgba(201, 64, 112, 0.1);
  transform: translateY(-4px);
}

.product-card__img {
  position: relative;
  height: 260px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}
.product-card__badge--green {
  background-color: var(--success-bg);
  color: var(--success-green);
}
.product-card__badge--yellow {
  background-color: var(--warning-bg);
  color: var(--warning-amber);
}

.product-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.product-card__name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.product-card__desc {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.product-card__price {
  font-family: var(--font-price);
  font-size: 18px;
  font-weight: 900;
  color: var(--accent-rose);
}

.product-card__add {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: var(--accent-rose);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.product-card__add:hover {
  background-color: var(--accent-rose-dark);
}
.product-card__add i {
  font-size: 14px;
}

/* ═══════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════ */
.cta-banner {
  position: relative;
  height: 360px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(201, 64, 112, 0.933) 0%, rgba(107, 18, 48, 0.933) 100%);
}

.cta-banner__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 80px;
  z-index: 1;
}

.cta-banner__title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.2;
}

.cta-banner__text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 500px;
  line-height: 1.6;
}

.cta-banner__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ═══════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════ */
.reviews {
  background-color: var(--bg-primary);
  padding: 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.reviews__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.reviews__badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--accent-rose-light);
  border-radius: 20px;
}
.reviews__badge-pill i {
  font-size: 14px;
  color: var(--accent-rose);
}
.reviews__badge-pill span {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-rose);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 36px;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.review-card__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #FFFFFF;
}
.review-card__logo-icon i {
  font-size: 22px;
}
.review-card__logo-icon--2gis {
  background-color: var(--twogis-green);
}
.review-card__logo-icon--yandex {
  background-color: var(--yandex-red);
}

.review-card__logo-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--text-primary);
}

.review-card__stars {
  display: flex;
  gap: 4px;
}
.review-card__stars i {
  font-size: 18px;
  color: var(--star-color);
  -webkit-text-stroke: 1px var(--star-color);
  paint-order: stroke fill;
}

.review-card__rating {
  display: flex;
  align-items: center;
  gap: 16px;
}
.review-card__rating-number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--text-primary);
}
.review-card__rating-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-card__rating-of {
  font-size: 14px;
  color: var(--text-muted);
}
.review-card__rating-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.review-card__link {
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.review-card__link:hover {
  opacity: 0.8;
}
.review-card__link--2gis {
  color: var(--twogis-green);
}
.review-card__link--yandex {
  color: var(--yandex-red);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background-color: var(--footer-bg);
  padding: 48px 80px 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer__top {
  display: flex;
  gap: 60px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 280px;
  flex-shrink: 0;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
}

.footer__about {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.533);
  line-height: 1.6;
  max-width: 240px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}
.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 18px;
  transition: background 0.2s ease;
}
.footer__social:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.footer__col-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.533);
  text-transform: uppercase;
}

.footer__col-link {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.733);
  transition: color 0.2s ease;
}
.footer__col-link:hover {
  color: #FFFFFF;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.733);
  font-size: 14px;
}
.footer__contact i {
  font-size: 14px;
  color: var(--accent-rose);
}
.footer__contact:hover {
  color: #FFFFFF;
}

.footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__bottom span {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.333);
}

/* ═══════════════════════════════════════════
   FABs
   ═══════════════════════════════════════════ */
.fab-catalog {
  position: fixed;
  bottom: 100px;
  right: 40px;
  z-index: 90;
}
.fab-catalog__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px 0 16px;
  background-color: var(--accent-rose);
  color: #FFFFFF;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(201, 64, 112, 0.267);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.fab-catalog__btn:hover {
  background-color: var(--accent-rose-dark);
  transform: translateY(-2px);
}
.fab-catalog__btn i {
  font-size: 18px;
}

/* Чат-виджет */
.chat-widget { position: fixed; bottom: 40px; left: 40px; z-index: 10000; }
.chat-widget__fab {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  background-color: var(--accent-rose); color: #fff; border: none; cursor: pointer;
  border-radius: 28px; font-size: 14px; font-weight: 600; font-family: var(--font-sans);
  box-shadow: 0 4px 16px rgba(201,64,112,0.3); transition: all 0.2s ease;
}
.chat-widget__fab:hover { background-color: var(--accent-rose-dark); transform: translateY(-2px); }
.chat-widget__fab i { font-size: 20px; }
.chat-widget.is-open .chat-widget__fab { display: none; }

.chat-widget__popup {
  position: absolute; bottom: 0; left: 0; width: 380px; height: 520px;
  background: var(--bg-white); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  display: flex; flex-direction: column; overflow: hidden;
  animation: chatSlideUp 0.3s ease;
}
@keyframes chatSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.chat-widget__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: var(--accent-rose); color: #fff;
}
.chat-widget__header-info { display: flex; flex-direction: column; }
.chat-widget__title { font-family: var(--font-serif); font-size: 16px; font-weight: 600; }
.chat-widget__subtitle { font-size: 12px; opacity: 0.8; }
.chat-widget__close { background: none; border: none; color: #fff; cursor: pointer; padding: 4px; font-size: 20px; opacity: 0.8; }
.chat-widget__close:hover { opacity: 1; }

.chat-widget__body {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px;
  background: var(--bg-primary);
}
.chat-widget__welcome { text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 14px; }
.chat-widget__welcome i { display: block; margin-bottom: 12px; }

.chat-widget__guest-form {
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--border); background: var(--bg-white);
}
.chat-widget__guest-form input, .chat-widget__guest-form textarea {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-family: var(--font-sans); font-size: 14px; outline: none;
  transition: border-color 0.2s;
}
.chat-widget__guest-form input:focus, .chat-widget__guest-form textarea:focus { border-color: var(--accent-rose); }
.chat-widget__guest-form textarea { resize: none; }

.chat-widget__input {
  display: flex; gap: 8px; padding: 12px 16px;
  border-top: 1px solid var(--border); background: var(--bg-white);
}
.chat-widget__input input {
  flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px;
  font-family: var(--font-sans); font-size: 14px; outline: none;
}
.chat-widget__input input:focus { border-color: var(--accent-rose); }
.chat-widget__send {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent-rose); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.chat-widget__send:hover { background: var(--accent-rose-dark); }

/* Пузырьки сообщений чата */
.chat-msg { display: flex; }
.chat-msg--user { justify-content: flex-end; }
.chat-msg--staff { justify-content: flex-start; }
.chat-msg__bubble {
  max-width: 75%; padding: 10px 14px; border-radius: 14px;
  font-size: 14px; line-height: 1.5;
}
.chat-msg--user .chat-msg__bubble {
  background: var(--accent-rose); color: #fff; border-bottom-right-radius: 4px;
}
.chat-msg--staff .chat-msg__bubble {
  background: var(--bg-white); border: 1px solid var(--border); color: var(--text-primary);
  border-bottom-left-radius: 4px;
}
.chat-msg__time { font-size: 11px; margin-top: 4px; text-align: right; }
.chat-msg--user .chat-msg__time { color: rgba(255,255,255,0.7); }
.chat-msg--staff .chat-msg__time { color: var(--text-muted); }

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (768–1024px)
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .topbar {
    padding: 0 32px;
  }
  .navbar__inner {
    padding: 0 32px;
  }
  .features {
    padding: 60px 32px;
  }
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Catalog: hide sidebar */
  .catalog__sidebar {
    display: none;
  }
  .catalog__sidebar.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    z-index: 200;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
  }
  .catalog__filter-toggle {
    display: flex;
  }
  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }
  .catalog__topbar {
    padding: 16px 20px;
  }

  /* Hero */
  .hero__content {
    width: 100%;
    padding: 60px 32px;
  }
  .hero__nav {
    display: none;
  }

  /* CTA */
  .cta-banner__content {
    padding: 40px 32px;
  }
  .cta-banner__title {
    font-size: 36px;
  }

  /* Reviews */
  .reviews {
    padding: 60px 32px;
  }

  /* Footer */
  .footer {
    padding: 40px 32px 24px;
  }
  .footer__top {
    gap: 40px;
    flex-wrap: wrap;
  }
  .footer__brand {
    width: 100%;
  }

  /* FABs */
  .fab-catalog {
    right: 20px;
    bottom: 80px;
  }
  .chat-widget {
    bottom: 24px;
    left: 24px;
  }
  .chat-widget__popup {
    width: 340px;
    height: 480px;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile (<768px)
   ═══════════════════════════════════════════ */
@media (max-width: 767px) {
  /* TopBar: hide on mobile */
  .topbar {
    display: none;
  }

  /* NavBar */
  .navbar__links {
    display: none;
  }
  .navbar__search {
    display: none;
  }
  .navbar__burger {
    display: flex;
  }
  .navbar__inner {
    padding: 0 16px;
  }
  .navbar {
    height: 60px;
  }
  .navbar__logo-sub {
    display: none;
  }

  /* Hero */
  .hero {
    height: 480px;
  }
  .hero__content {
    padding: 40px 20px;
    gap: 20px;
  }
  .hero__title {
    font-size: 36px;
  }
  .hero__subtitle {
    font-size: 14px;
    max-width: 100%;
  }
  .hero__ctas {
    flex-direction: column;
  }
  .hero__ctas .btn {
    width: 100%;
    text-align: center;
  }
  .hero__nav {
    display: none;
  }

  /* Features */
  .features {
    padding: 48px 16px;
    gap: 32px;
  }
  .features__grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 28px;
  }
  .section-desc {
    font-size: 14px;
  }

  /* Catalog */
  .catalog__grid {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }
  .catalog__topbar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }
  .catalog__sort {
    display: none;
  }
  .catalog__title {
    font-size: 20px;
  }

  /* CTA Banner */
  .cta-banner {
    height: auto;
    min-height: 320px;
  }
  .cta-banner__content {
    position: relative;
    padding: 48px 20px;
  }
  .cta-banner__title {
    font-size: 28px;
  }
  .cta-banner__text {
    font-size: 14px;
  }
  .cta-banner__btns {
    flex-direction: column;
    width: 100%;
  }
  .cta-banner__btns .btn {
    width: 100%;
  }

  /* Reviews */
  .reviews {
    padding: 48px 16px;
    gap: 32px;
  }
  .reviews__grid {
    grid-template-columns: 1fr;
  }
  .review-card {
    padding: 24px;
  }
  .review-card__rating-number {
    font-size: 36px;
  }

  /* Footer */
  .footer {
    padding: 32px 16px 20px;
    gap: 32px;
  }
  .footer__top {
    flex-direction: column;
    gap: 32px;
  }
  .footer__brand {
    width: 100%;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* FABs */
  .fab-catalog {
    right: 16px;
    bottom: 72px;
  }
  .fab-catalog__btn span {
    display: none;
  }
  .fab-catalog__btn {
    width: 48px;
    padding: 0;
  }
  .chat-widget {
    bottom: 16px;
    left: 16px;
    right: 16px;
  }
  .chat-widget__fab span {
    display: none;
  }
  .chat-widget__fab {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 26px;
  }
  .chat-widget__popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Small (<375px)
   ═══════════════════════════════════════════ */
@media (max-width: 374px) {
  .hero__title {
    font-size: 28px;
  }
  .hero__content {
    padding: 32px 12px;
  }
  .btn--lg {
    padding: 12px 24px;
    font-size: 14px;
  }
  .features {
    padding: 32px 12px;
  }
  .feature-card {
    padding: 20px;
  }
  .catalog__grid {
    padding: 12px;
  }
  .reviews {
    padding: 32px 12px;
  }
  .footer {
    padding: 24px 12px 16px;
  }
  .section-title {
    font-size: 24px;
  }
}

/* --- HTMX Loading Indicator --- */
.htmx-indicator {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.htmx-request .htmx-indicator {
  display: inline-block;
  opacity: 1;
}

.htmx-request.htmx-indicator {
  display: inline-block;
  opacity: 1;
}

/* Спиннер для HTMX-индикаторов */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--accent-rose);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
