:root {
  --primary: #2d6a4f;
  --primary-dark: #1e4f3a;
  --gold: #d4a373;
  --gold-dark: #c4956a;
  --dark: #0b0b0f;
  --light: #f9fbf7;
  --text: #000;
  --white: #fff;
  --container: 1280px;
  --header-height: 80px;
  --header-height-mobile: 60px;
  --breadcrumbs-height: 44px;
  --breadcrumbs-height-mobile: 40px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 20px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: #000;
  margin: 0 0 16px;
}

h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }

p { margin: 0 0 14px; }

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.btn-green {
  background: var(--primary);
  color: var(--white);
}
.btn-green:hover {
  background: var(--primary-dark);
}
.btn-gold {
  background: var(--gold);
  color: #000;
}
.btn-gold:hover {
  background: var(--gold-dark);
}
.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}
.btn-block {
  display: block;
  width: 100%;
  margin-top: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid #6C3B9E;
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
.card h3 {
  font-size: 18px;
  margin: 10px 0;
}
.card p {
  font-size: 14px;
  color: #555;
}

.card-item {
  background: var(--white);
  border: 1px solid #6C3B9E;
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
  text-align: center;
}
.card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
.card-item h3 {
  font-size: 18px;
  margin: 10px 0;
}
.card-item p {
  font-size: 14px;
  color: #555;
}

.custom-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1001;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
  will-change: transform;
}
.custom-header.header-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

.header-container {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo a {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}
.logo-accent {
  color: var(--gold);
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu > ul > li {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-menu a {
  font-weight: 600;
  font-size: 15px;
  color: #000;
  transition: color var(--transition);
  padding: 6px 2px;
  position: relative;
}
.nav-menu a.is-active {
  color: var(--primary);
}
.nav-menu a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-menu a:hover {
  color: var(--primary);
}

.dropdown-toggle {
  background: none;
  border: none;
  color: #666;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 6px;
  margin-left: 2px;
  transition: transform var(--transition);
}
.has-dropdown:hover .dropdown-toggle {
  transform: rotate(180deg);
}
.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  box-shadow: var(--shadow-hover);
  border-radius: 12px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  flex-direction: column;
  gap: 0;
  z-index: 1002;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-dropdown .dropdown li {
  width: 100%;
}
.has-dropdown .dropdown a {
  display: block;
  padding: 8px 20px;
  font-weight: 500;
  font-size: 14px;
}
.has-dropdown .dropdown a:hover,
.has-dropdown .dropdown a.is-active {
  background: #f5f7f5;
  color: var(--primary);
}
.has-dropdown .dropdown a.is-active {
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
  white-space: nowrap;
  transition: color var(--transition);
}
.phone-link:hover {
  color: var(--primary-dark);
}

.cart-icon {
  position: relative;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 6px;
  color: inherit;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cart-icon:not([hidden]) {
  opacity: 1;
  transform: scale(1);
}
.cart-icon[hidden] {
  display: none;
}
.cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--gold);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--primary);
}

.header-spacer {
  height: calc(var(--header-height) + var(--breadcrumbs-height));
}

.breadcrumbs {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-height);
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  height: var(--breadcrumbs-height);
  transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: top;
  display: flex;
  align-items: center;
  padding: 0 24px;
  font-size: 0.9rem;
  gap: 8px;
}
body.header-is-hidden .breadcrumbs {
  top: 0;
}
.breadcrumbs a {
  color: #555;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition);
}
.breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.breadcrumbs .sep {
  color: #bbb;
  flex-shrink: 0;
}
.breadcrumbs .current {
  color: #000;
  font-weight: 600;
  white-space: nowrap;
}

.breadcrumbs-container {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.breadcrumbs-container::-webkit-scrollbar {
  display: none;
}

.hero-main {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark);
  padding: 60px 20px;
  overflow: hidden;
}
.hero-main .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-main .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.hero-main .content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-main h1 {
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.hero-main p {
  color: #ddd;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  margin-bottom: 30px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero-catalog {
  padding: 40px 0 60px;
  background: #f8faf7;
  border-bottom: 1px solid #e5e7eb;
}
.hero-catalog .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.hero-catalog .badge {
  display: inline-block;
  background: #e8f0e0;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.hero-catalog h1 {
  margin-bottom: 16px;
}
.hero-catalog .subtitle {
  font-size: 1.25rem;
  color: #374151;
  margin-bottom: 20px;
}
.hero-catalog .stats {
  display: flex;
  gap: 32px;
  margin: 24px 0;
}
.hero-catalog .stats .num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-product {
  padding: 20px 0 40px;
  background: var(--white);
}
.hero-product .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.hero-product h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
}
.hero-product .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.catalog-item {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s;
  border: 1px solid #6C3B9E;
}
.catalog-item:hover {
  transform: translateY(-6px);
}
.catalog-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.catalog-item .info {
  padding: 24px;
  text-align: center;
}
.catalog-item .tag {
  display: inline-block;
  background: #e8f0e0;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 8px;
}
.catalog-item h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 8px 0;
}
.catalog-item .price {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-right: 8px;
}
.catalog-item .old-price {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 20px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid #6C3B9E;
  max-width: var(--container);
  margin: 0 auto;
}
.product-grid h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
}
.product-grid .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}
.product-grid .old-price {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
  margin-right: 12px;
}
.product-grid .btn {
  padding: 12px 32px;
  font-size: 16px;
}
.product-grid .btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.advantage-item {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
}
.advantage-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.advantage-item p {
  font-size: 14px;
  color: #555;
}

.service-item {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #6C3B9E;
  transition: all var(--transition);
}
.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.service-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.service-item p {
  font-size: 14px;
  color: #555;
}

.review {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
}
.review .stars {
  color: #f5b301;
  font-size: 20px;
  margin-bottom: 10px;
}
.review .author {
  font-size: 14px;
  margin: 0;
}

.sale-block {
  background: #fff8ee;
  border: 2px dashed var(--gold);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  max-width: 1000px;
  margin: 40px auto;
}
.sale-block .title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--primary-dark);
}
.sale-block .grid-sale {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.sale-item {
  background: var(--white);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  text-align: center;
}
.sale-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
.sale-item .price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.sale-item .model {
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 12px;
}
.sale-item .badge {
  display: inline-block;
  background: #fde8e8;
  color: #c53030;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  margin-top: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item .q {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-item .q:hover {
  background: #f9fbf7;
}
.faq-item .q .arrow {
  transition: transform var(--transition);
  color: var(--primary);
}
.faq-item .q .arrow.open {
  transform: rotate(180deg);
}
.faq-item .a {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: #374151;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item .a.open {
  max-height: 500px;
  padding: 0 24px 18px;
}

.seo-block {
  max-width: 900px;
  margin: 40px auto;
  padding: 24px 28px;
  background: #f9fbf7;
  border-radius: 20px;
  border-left: 4px solid var(--primary);
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
}
.seo-block h2 {
  text-align: left;
}
.seo-block p {
  margin-bottom: 14px;
}
.seo-block strong {
  color: #000;
}

.page-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 20px;
}
.page-wrap > h2 {
  text-align: center;
  margin-bottom: 12px;
}

.stats {
  display: flex;
  gap: 32px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.contact-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #6C3B9E;
}

.map-wrap {
  max-width: var(--container);
  margin: 40px auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

.cart-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.cart-modal[aria-hidden="false"] {
  display: flex;
}
.cart-modal-content {
  background: var(--white);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  color: #000;
}
.close-cart-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}
.cart-item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.cart-item strong {
  color: #000;
}
.cart-item .cart-qty-btn {
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 16px;
  cursor: pointer;
}
.cart-item .cart-qty-input {
  text-align: center;
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  width: 60px;
}
.cart-remove-btn {
  background: #e74c3c;
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  margin-top: 4px;
}
.empty-cart {
  color: #666;
  text-align: center;
  padding: 40px 0;
}

.form-group {
  margin-bottom: 12px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: #000;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: #000;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.radio-group label {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000;
}
.agree-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}
.agree-checkbox-wrapper label {
  font-size: 14px;
  color: #000;
}
.agree-checkbox-wrapper a {
  color: var(--primary);
  text-decoration: underline;
}
.submit-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.submit-btn:hover {
  background: var(--primary-dark);
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f6392;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  z-index: 999999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  max-width: 90%;
  text-align: center;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
.modal-overlay[style*="display: flex"],
.modal-overlay[style*="display:flex"] {
  display: flex !important;
}
.modal-window {
  background: #fff;
  padding: 32px;
  border-radius: 24px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
  line-height: 1;
  background: none;
  border: none;
}
.modal-close:hover {
  color: #000;
}
.modal-window h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}
.modal-window p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}
.checkbox-group {
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
}
.checkbox-group label {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}
.checkbox-group a {
  color: var(--primary);
  text-decoration: underline;
}
.modal-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: background var(--transition);
}
.modal-btn:hover {
  background: var(--primary-dark);
}

.custom-footer-global {
  background: var(--dark);
  color: var(--white);
  padding: 48px 0 24px;
  margin-top: 60px;
  border-top: 2px solid var(--primary);
}
.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col p,
.footer-col ul li,
.footer-col div,
.footer-address div {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.8;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 6px;
}
.footer-col ul li a,
.footer-col a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.footer-col a:hover,
.footer-col ul li a:hover {
  color: var(--gold);
}
.footer-cta a {
  color: var(--gold);
  font-weight: 700;
}
.footer-mini {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-mini li a {
  font-size: 13px;
}
.footer-address {
  font-style: normal;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin: 12px 0 0;
}
.footer-social a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-left {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom-right a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}
.footer-bottom-right a:hover {
  color: var(--gold);
}
.footer-bottom-right span {
  color: rgba(255,255,255,0.25);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-menu ul {
    gap: 14px;
  }
  .nav-menu a {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: var(--header-height-mobile);
    --breadcrumbs-height: var(--breadcrumbs-height-mobile);
  }

  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-catalog .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-catalog .stats {
    gap: 16px;
    flex-wrap: wrap;
  }
  .hero-product .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stats {
    gap: 16px;
  }
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-hover);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-menu.open {
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  .nav-menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
  }
  .nav-menu > ul > li {
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
  }
  .nav-menu a {
    display: block;
    padding: 14px 24px;
  }
  .dropdown-toggle {
    position: absolute;
    top: 8px;
    right: 16px;
    padding: 8px;
    font-size: 16px;
  }
  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0;
    background: #f8faf7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .has-dropdown.open .dropdown {
    max-height: 500px;
  }

  .phone-text {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-right {
    justify-content: center;
  }
  .breadcrumbs {
    padding: 0 16px;
    font-size: 0.82rem;
  }
  .page-wrap {
    padding: 30px 16px;
  }
  .sale-block {
    padding: 24px 16px;
  }
  .seo-block {
    padding: 20px 20px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .catalog-item img {
    height: 180px;
  }
  .catalog-item h3 {
    font-size: 1.15rem;
  }
  .catalog-item .price {
    font-size: 18px;
  }
  .hero-catalog h1 {
    font-size: 24px;
  }
  .hero-catalog .stats .num {
    font-size: 1.5rem;
  }
  .stat .num {
    font-size: 1.5rem;
  }
}

.furniture-item button.on,
.furniture-item button.off,
button.on, button.off {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 14px !important;
  min-width: 50px !important;
  height: 34px !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  border: 1px solid #d0d5db !important;
  background: #f5f6f8 !important;
  color: #333 !important;
  gap: 4px !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}
button.on {
  background: #1f6392 !important;
  color: #fff !important;
  border-color: #1f6392 !important;
}
button.off {
  background: #f5f6f8 !important;
  color: #333 !important;
  border-color: #d0d5db !important;
}

.highlight {
  animation: pricePulse 0.4s ease;
}
@keyframes pricePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); color: #1f6392; }
  100% { transform: scale(1); }
}