/* =========================================
   ANYCAKE — Main Stylesheet
   ========================================= */

/* --- Variables --- */
:root {
  --cream: #fff8f3;
  --peach: #f9ede5;
  --peach-mid: #f0d6c8;
  --rose: #c97068;
  --rose-dark: #a8514a;
  --rose-light: #e8a49f;
  --brown: #3e2723;
  --brown-mid: #5d4037;
  --text: #3e2723;
  --text-mid: #6d4c41;
  --text-light: #8d6e63;
  --border: #e8d0c6;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(62, 39, 35, 0.08);
  --shadow-lg: 0 12px 48px rgba(62, 39, 35, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Lato", system-ui, sans-serif;
  --transition: 0.25s ease;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--rose);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--rose-dark);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 243, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 70px;
}
.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.08em;
}
.logo-tagline {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.main-nav a {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--brown);
  background: var(--peach);
}
.btn-nav {
  background: var(--rose) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 50px !important;
  margin-left: 0.5rem;
}
.btn-nav:hover {
  background: var(--rose-dark) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: content-box;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 12px 8px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}
.btn-primary:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 112, 104, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--rose);
  border-color: var(--rose);
}
.btn-outline:hover {
  background: var(--rose);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--light {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}
.btn--light:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: var(--white) !important;
}
.btn--full {
  width: 100%;
  justify-content: center;
}

.btn-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rose);
  border: 1.5px solid var(--rose);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  min-height: 44px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-order:hover {
  background: var(--rose);
  color: var(--white);
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
  padding: 5rem 0;
}
.section--about {
  background: var(--white);
}
.section--featured {
  background: var(--cream);
}
.section--categories {
  background: var(--peach);
}
.section--cta {
  background: var(--rose);
  color: var(--white);
}
.section--order {
  background: var(--white);
}
.section--cta-mini {
  background: var(--peach);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rose);
  margin-bottom: 0.75rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--brown);
  line-height: 1.25;
}
.section-cta {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.section-cta p {
  color: var(--text-light);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff8f3 0%, #f9ede5 60%, #f5e0d5 100%);
}
/* Фоновое изображение — через ::before, чтобы применить blur отдельно от контента */
.hero--bg::before {
  content: "";
  position: absolute;
  inset: -8px; /* компенсация краёв от blur */
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
/* Градиентный оверлей: плотный слева (текст), прозрачный справа (фото) */
.hero--bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 248, 243, 0.95) 0%,
    rgba(255, 248, 243, 0.85) 35%,
    rgba(249, 237, 229, 0.35) 60%,
    rgba(245, 224, 213, 0.05) 100%
  );
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  padding: 4rem 0;
}
.hero-sub {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rose);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--rose);
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero decorations */
.hero-decor {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
}
.hero-circle--1 {
  width: 500px;
  height: 500px;
  background: var(--rose-light);
  top: -100px;
  right: -150px;
}
.hero-circle--2 {
  width: 300px;
  height: 300px;
  background: var(--peach-mid);
  bottom: 50px;
  right: 100px;
}
.hero-circle--3 {
  width: 180px;
  height: 180px;
  background: var(--rose);
  top: 200px;
  right: 300px;
  opacity: 0.15;
}
.hero-pattern {
  position: absolute;
  top: 60px;
  right: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hero-dot {
  width: 5px;
  height: 5px;
  background: var(--rose);
  border-radius: 50%;
  opacity: 0.3;
}

/* =========================================
   ABOUT
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-grid--photo {
  align-items: center;
  margin-bottom: 2.5rem;
}
.about-photo-col {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 96 / 110;
  box-shadow: var(--shadow-lg);
}
.about-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}
.about-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--brown);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.about-text p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.about-features--row {
  grid-template-columns: repeat(4, 1fr);
}
.feature-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--rose-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* =========================================
   PRODUCTS GRID
   ========================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.products-grid--catalog {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--peach);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.05);
}
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--peach), var(--peach-mid));
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 248, 243, 0.92);
  backdrop-filter: blur(4px);
  color: var(--text-mid);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
}
.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.product-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}
.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rose);
}

/* =========================================
   CATEGORIES
   ========================================= */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all var(--transition);
}
.category-card:hover {
  border-color: var(--rose);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.category-icon {
  font-size: 2rem;
}
.category-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brown);
  text-align: center;
}

/* =========================================
   CATALOG FILTER
   ========================================= */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.cat-filter-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.cat-filter-btn:hover,
.cat-filter-btn.active {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.cta-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 480px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-decor {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}
.tg-bubble {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  backdrop-filter: blur(4px);
  animation: float 3s ease-in-out infinite;
}
.tg-bubble {
  top: 10px;
  right: 10px;
}
.tg-bubble--2 {
  bottom: 20px;
  left: 0;
  width: 56px;
  height: 56px;
  font-size: 1.4rem;
  animation-delay: 1s;
}
.tg-bubble--3 {
  top: 60px;
  left: 60px;
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  animation-delay: 2s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.cta-mini {
  text-align: center;
  padding: 2rem;
}
.cta-mini h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--brown);
  margin-bottom: 0.75rem;
}
.cta-mini p {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

/* =========================================
   ORDER FORM
   ========================================= */
.order-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.order-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--brown);
  margin-bottom: 1rem;
}
.order-text p {
  color: var(--text-mid);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.order-form-wrap {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(201, 112, 104, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
/* Order product chips (multi-select) */
.opp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.opp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--peach);
  border: 1.5px solid var(--peach-mid);
  border-radius: 50px;
  padding: 0.28rem 0.4rem 0.28rem 0.75rem;
  font-size: 0.82rem;
  line-height: 1.3;
}
.opp-chip-name {
  font-weight: 700;
  color: var(--brown);
}
.opp-chip-price {
  color: var(--rose);
  font-weight: 600;
}
.opp-chip-price::before {
  content: "·";
  margin-right: 0.25rem;
  color: var(--peach-mid);
}
.opp-chip-rm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--peach-mid);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--text-mid);
  flex-shrink: 0;
  transition:
    background var(--transition),
    color var(--transition);
}
.opp-chip-rm:hover {
  background: var(--rose);
  color: white;
}

/* Honeypot — visually hidden, accessible to screen readers via aria-hidden */
.form-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Captcha */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.captcha-row input[type="number"] {
  width: 96px;
  flex-shrink: 0;
  text-align: center;
}
.captcha-note {
  font-size: 0.78rem;
  color: var(--text-light);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}
.form-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}
.form-success {
  text-align: center;
  padding: 2rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
}
.form-success-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  background: #16a34a;
  color: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.form-success h3 {
  color: #166534;
  margin-bottom: 0.5rem;
}
.form-success p {
  color: #166534;
  margin-bottom: 1.25rem;
}
.form-success > span {
  display: inline-flex;
  width: 56px;
  height: 56px;
  background: #16a34a;
  color: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* =========================================
   CONTACTS
   ========================================= */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contacts-info h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--brown);
  margin-bottom: 1rem;
}
.contacts-info > p {
  color: var(--text-mid);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
  color: var(--text);
}
.contact-card:hover {
  border-color: var(--rose);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.contact-card--static {
  cursor: default;
}
.contact-card--static:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose);
  flex-shrink: 0;
}
.contact-card strong {
  display: block;
  font-size: 0.875rem;
  color: var(--brown);
}
.contact-card span {
  font-size: 0.85rem;
  color: var(--text-light);
}
.work-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 1rem;
}
.steps {
  list-style: none;
  counter-reset: steps;
}
.steps li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.steps li:last-child {
  border-bottom: none;
}
.steps li::before {
  content: counter(steps);
  min-width: 28px;
  height: 28px;
  background: var(--peach);
  color: var(--rose);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.steps li strong {
  color: var(--brown);
}
.order-form-section {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
}
.order-form-section h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.order-form-section > p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* =========================================
   FEED
   ========================================= */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.feed-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.feed-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.feed-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--peach);
}
.feed-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.feed-card:hover .feed-img img {
  transform: scale(1.04);
}
.feed-body {
  padding: 1.25rem;
  flex: 1;
}
.feed-body p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.feed-date {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.75rem;
}
.feed-link {
  display: block;
  text-align: center;
  padding: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rose);
  border-top: 1px solid var(--border);
  transition: all var(--transition);
}
.feed-link:hover {
  background: var(--peach);
  color: var(--rose-dark);
}

/* =========================================
   PAGE HERO
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--peach), var(--cream));
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.page-hero--small {
  padding: 2.5rem 0 2rem;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.page-hero p {
  color: var(--text-mid);
  font-size: 1.05rem;
}

/* =========================================
   EMPTY STATE
   ========================================= */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}
.empty-state span {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}
.empty-state p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--brown);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}
.footer-logo .logo-name {
  color: var(--white);
  font-size: 1.3rem;
}
.footer-brand p {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}
.footer-nav h4,
.footer-contacts h4 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}
.footer-nav a:hover {
  color: var(--white);
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-tg-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}
.footer-tg-link:hover {
  color: var(--white);
}
.footer-district {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
}
.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* =========================================
   CONSENT CHECKBOX
   ========================================= */
.form-consent {
  margin-bottom: 1.25rem;
}
.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-consent a {
  color: var(--accent);
  text-decoration: underline;
}

/* =========================================
   CATEGORY IMAGE
   ========================================= */
.category-img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: block;
  margin: 0 auto 0.25rem;
}

/* =========================================
   REVIEWS
   ========================================= */
.section--reviews {
  background: var(--peach);
}
.reviews-grid {
  columns: 3;
  column-gap: 1.5rem;
}
.review-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.review-card--embed {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  display: block;
  border-radius: 0;
  position: relative;
}
.review-card--embed iframe {
  border-radius: 15px;
  position: relative;
  z-index: 2;
}
/* Заглушка показывается всегда; iframe TG перекрывает её сверху,
   когда виджет успешно загрузился. Если виджет заблокирован — пользователь
   видит карточку со ссылкой «Открыть в Telegram». */
.review-tg-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
  padding: 1.75rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: var(--shadow);
  min-height: 220px;
}
.review-tg-fallback-icon {
  color: #229ED9;
  line-height: 0;
}
.review-tg-fallback-text {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
.btn-tg-fallback {
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
}
.review-card--embed.tg-loaded .review-tg-fallback {
  display: none;
}
.review-rating {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.review-text {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.review-author {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}
.review-name {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
}

/* =========================================
   PRIVACY PAGE
   ========================================= */
.privacy-content {
  max-width: 760px;
  margin: 0 auto;
}
.privacy-content h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.5rem;
  color: var(--text-dark);
}
.privacy-content p,
.privacy-content li {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.privacy-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.privacy-content a {
  color: var(--accent);
}
.privacy-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.privacy-back {
  margin-top: 3rem;
}

/* =========================================
   404 PAGE
   ========================================= */
.error-404 {
  padding: 3rem 0;
}
.error-404-icon {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}
.error-404-code {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.error-404 h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.error-404 p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* =========================================
   FILLINGS GRID
   ========================================= */
.fillings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.filling-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.filling-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.filling-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--peach);
}
.filling-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.filling-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--peach), var(--peach-mid));
}
.filling-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.filling-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.filling-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .fillings-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-features {
    grid-template-columns: 1fr 1fr;
  }
  .about-features--row {
    grid-template-columns: 1fr 1fr;
  }
  .order-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cta-block {
    grid-template-columns: 1fr;
  }
  .cta-decor {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .reviews-grid {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .products-grid--catalog {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .page-hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }
}

@media (max-width: 560px) {
  .fillings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }
  .btn-nav {
    margin-left: 0;
    text-align: center;
  }
  .hero {
    min-height: auto;
    padding: 3rem 0;
  }
  .hero--bg::after {
    background:
      linear-gradient(
        to right,
        rgba(255, 248, 243, 0.95) 0%,
        rgba(255, 248, 243, 0.85) 35%,
        rgba(249, 237, 229, 0.35) 60%,
        rgba(245, 224, 213, 0.05) 100%
      ),
      linear-gradient(
        to top,
        rgba(255, 248, 243, 0.95) 0%,
        rgba(255, 248, 243, 0.85) 35%,
        rgba(249, 237, 229, 0.35) 60%,
        rgba(245, 224, 213, 0.05) 100%
      );
  }
  .hero-decor {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .about-features--row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .section {
    padding: 3rem 0;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .products-grid--catalog {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    columns: 1;
  }
  form input,
  form textarea,
  form select {
    padding: 0.9rem 1rem;
    font-size: 16px;
  }
  .btn,
  button:not(.nav-toggle) {
    min-height: 44px;
  }
}

/* =========================================
   FAQ
   ========================================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: box-shadow var(--transition);
}
.faq-item[open] {
  box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--rose);
  border-bottom: 2px solid var(--rose);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}
.faq-item[open] .faq-arrow {
  transform: rotate(225deg) translateY(-2px);
}
.faq-answer {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-mid);
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .faq-item summary {
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }
  .faq-answer {
    padding: 0 1rem 1rem;
  }
}
