/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  font-feature-settings: "liga" 1, "kern" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 120px; /* Отступ для фиксированного header */
}

/* Скрываем мобильные элементы на десктопе */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

.mobile-menu-overlay {
  display: none;
}

/* Убираем стандартные эффекты браузера при клике */
button,
.faq-question,
.category-filter,
a {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

button:active,
.faq-question:active,
.category-filter:active {
  background-color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(0);
}

/* Улучшенная тень при скролле */
.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-top {
  background-color: #000000;
  padding: 15px 0;
}

.header-top-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffd700;
  font-family: "Golos Text", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.logo i {
  color: #ffd700;
  font-size: 28px;
}

.contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 500;
  font-size: 16px;
}

.header-bottom {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-family: "Golos Text", sans-serif;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
}

.nav-link:hover {
  color: #e53935;
}

.nav-link i {
  font-size: 12px;
}

.search {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search input {
  background-color: #f5f5f5;
  border: none;
  padding: 12px 40px 12px 15px;
  border-radius: 25px;
  width: 100%;
  font-size: 14px;
  color: #666;
}

.search i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.icons {
  display: flex;
  gap: 20px;
  color: #333;
  font-size: 18px;
}

.cart-link {
  position: relative;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cart-link:hover {
  color: #dc3545;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
}

.icons i {
  cursor: pointer;
  display: flex;
  transition: color 0.3s ease;
}

.icons i:hover {
  color: #e53935;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/backgrounds/back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: white;
}

.hero-content {
  max-width: 600px;
  margin: 88px 0;
}

.hero-title {
  font-weight: 600;
  font-style: SemiBold;
  font-size: 62px;
  line-height: 80px;
  letter-spacing: -3px;
  margin-bottom: 30px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.stat {
  text-align: left;
}

.stat-number {
  font-weight: 400;
  font-style: Regular;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
}

.stat-label {
  font-size: 16px;
  opacity: 0.9;
}

.stat-divider {
  width: 1px;
  opacity: 0.2;
  height: 60px;
  background-color: white;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 27px;
  border: none;
  border-radius: 8px;
  height: 52px;
  text-align: center;
  max-width: 285px;
  font-family: "Golos Text", sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.btn-primary {
  background-color: #de0707;
  color: white;
}

.btn-primary:hover {
  background-color: #d32f2f;
}

.btn-success {
  width: 100%;
  padding: 12px 16px;
  font-family: "Golos Text", sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-success:hover {
  background-color: #45a049;
  color: white;
  transform: translateY(-2px);
}

/* Category Filters */
.categories {
  background-color: white;
  padding: 20px 0;
}

.category-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  margin: 0 auto;
  max-width: 1200px;
}

.category-filter {
  background-color: rgba(222, 7, 7, 0.1);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: "Golos Text", sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-align: left;
  height: 56px;
  justify-content: flex-start;
}

.category-icon {
  font-size: 16px;
  display: inline-block;
  margin-right: 8px;
  flex-shrink: 0;
}

.category-filter span:not(.category-icon) {
  color: #333;
  font-weight: 400;
  line-height: 1.2;
  flex: 1;
}

/* Products Section */
.products-section {
  background-color: white;
  padding: 20px 0;
}

.section-title {
  text-align: center;
  font-family: "Golos Text", sans-serif;
  font-size: 48px;
  font-style: bold;
  font-weight: 700;
  margin-bottom: 24px;
  color: rgba(0, 0, 0, 1);
  letter-spacing: -0.02em;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.product-card {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  height: 100%;
  min-height: 500px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-badge {
  position: absolute;
  top: 15px;
  z-index: 500;
  left: 15px;
  background-color: #4caf50;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  grid-row: 1;
}

.product-image {
  margin: 0 0 16px 0;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 290px;
  grid-row: 2;
}

.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Fallback для изображений товаров */
.product-image img:not([src]),
.product-image img[src=""],
.product-image img[src*="error"] {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.product-image img:not([src])::after,
.product-image img[src=""]::after,
.product-image img[src*="error"]::after {
  content: "Изображение недоступно";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.product-name {
  font-family: "Golos Text", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #333;
  margin-bottom: 12px;
  text-align: left;
  grid-row: 3;
  align-self: start;
}

.product-price {
  margin-bottom: 16px;
  text-align: left;
  grid-row: 4;
  display: flex;
  align-items: center;
  gap: 5px;
}

.current-price {
  font-weight: 500;
  font-style: Medium;
  font-size: 24px;
  line-height: 100%;
  vertical-align: middle;
}

.old-price {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.discount {
  font-size: 12px;
  color: #e53935;
  background-color: #ffebee;
  padding: 4px 8px;
  border-radius: 62px;
}

.product-buttons {
  grid-row: 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: end;
}

.btn-buy {
  background-color: #e53935;
  color: white;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: "Golos Text", sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-buy:hover {
  background-color: #d32f2f;
}

.btn-whatsapp {
  background-color: transparent;
  color: #333;
  border: 1px solid #4caf50;
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: "Golos Text", sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background-color: #f8f9fa;
}

.btn-whatsapp i {
  color: #4caf50;
}

.btn-whatsapp i::before {
  font-size: 20px;
}

.btn-whatsapp .fa-brands,
.fab {
  font-size: 20px;
}

.btn-show-all {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #e0e0e0;
  margin: 0 auto;
  display: block;
}

.btn-show-all:hover {
  background-color: #e0e0e0;
}

/* FAQ Section */
.faq-section {
  background-color: white;
  padding: 60px 0;
}

.faq-list {
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: white;
}

.faq-item.active {
  border: 1px solid #ff3333;
}

.faq-question {
  padding: 32px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-question:active {
  background-color: transparent;
}

.faq-question:focus {
  outline: none;
}

.faq-question h3 {
  font-family: "Golos Text", sans-serif;
  font-size: 30px;
  font-style: semibold;
  font-weight: 600;
  color: #000000;
  line-height: 100%;
  letter-spacing: 0%;
  margin: 0;
}

.faq-question .icon-container {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #ffe0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-question i {
  color: #ff3333;
  font-size: 20px;
  font-weight: bold;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 32px 32px 32px;
  height: 100%;
  max-height: 500px;
}

.faq-answer p {
  font-family: "Golos Text", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0%;
  color: rgba(89, 90, 92, 1);
  margin-bottom: 15px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Footer */
.footer {
  margin-top: 100px;
  background-color: #000000;
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-left .logo {
  font-size: 28px;
}

.footer-center {
  flex: 1;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #ffd700;
}

.company-info p {
  color: #ccc;
  font-size: 14px;
}

.logo-icon-footer {
  width: 150px;
  height: 150px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.floating-whatsapp i {
  color: white;
  font-size: 24px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  border-radius: 12px;
  width: 90%;
  max-width: 655px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 0 24px;
}

.modal-header-title {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.modal-header-title h3 {
  text-align: center;
  font-family: "Golos Text", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.close {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.close:hover {
  color: #e53935;
}

.modal-body {
  padding: 24px;
}

.cart-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.cart-item-image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f5f5f5;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-details h3 {
  font-family: "Golos Text", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.3;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.info-row {
  display: grid;
  grid-template-columns: 0.5fr 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.label {
  font-family: "Golos Text", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.price {
  font-family: "Golos Text", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: none;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  transition: background-color 0.3s ease;
}

.quantity-btn.minus {
  border-radius: 8px 0 0 8px;
}

.quantity-btn.plus {
  border-radius: 0 8px 8px 0;
}

.quantity-btn:hover {
  background-color: #e0e0e0;
}

.quantity-btn:active {
  background-color: #d0d0d0;
}

#cartItemQuantity {
  width: 60px;
  height: 40px;
  border: none;
  border-left: 1px solid #d3d3d3;
  border-right: 1px solid #d3d3d3;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  background-color: white;
  appearance: textfield;
  -moz-appearance: textfield;
}

#cartItemQuantity::-webkit-outer-spin-button,
#cartItemQuantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#cartItemQuantity:focus {
  outline: none;
}

.total {
  font-family: "Golos Text", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #e53935;
}

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

.btn-checkout {
  width: 100%;
  max-width: 100%;
  background-color: #de0707;
  color: white;
  padding: 16px 24px;
  border-radius: 16px;
  font-family: "Golos Text", sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-checkout:hover {
  background-color: #d32f2f;
}

.continue-shopping {
  color: #333;
  text-decoration: underline;
  font-family: "Golos Text", sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.continue-shopping:hover {
  color: #e53935;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
    line-height: 120%;
    letter-spacing: -0.02em;
  }

  .hero-stats {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
    opacity: 0.2;
  }

  .btn {
    max-width: 100%;
  }

  .header-top-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .header-bottom {
    padding: 15px 0;
  }

  .header-bottom-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }

  .nav {
    display: none; /* Скрываем навигацию на мобильных */
  }

  .search {
    flex: 1;
    max-width: none;
    order: 0;
  }

  .icons {
    order: 1;
    display: flex;
    gap: 15px;
  }

  /* Гамбургер-меню */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu-overlay {
    display: block;
  }

  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: 1px;
  }

  .mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:last-child {
    transform: rotate(-45deg);
  }

  /* Мобильное меню */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 80px 20px 20px;
    overflow-y: auto;
  }

  .mobile-menu.active {
    left: 0;
  }

  .mobile-menu .nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-menu .nav-link {
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .hero {
    background-attachment: scroll; /* Отключаем фиксированное позиционирование на мобильных */
    min-height: 500px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
    opacity: 0.2;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .category-filters {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    max-width: 600px;
  }

  .category-filter {
    padding: 12px 16px;
    height: 50px;
    font-size: 13px;
  }

  .category-icon {
    font-size: 14px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card {
    padding: 10px;
  }

  .product-image img {
    height: 140px;
  }

  .product-name {
    font-size: 13px;
  }

  .current-price {
    color: #000000;
    font-size: 15px;
  }

  .old-price {
    font-size: 11px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    gap: 20px;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp i {
    font-size: 20px;
  }

  /* Modal responsive */
  .modal-content {
    width: 95%;
    margin: 10px;
    max-height: 95vh;
  }

  .modal-header {
    padding: 15px 20px 0 20px;
  }

  .modal-header-title h3 {
    font-size: 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .cart-item {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
  }

  .cart-item-image {
    width: 100%;
    height: 200px;
    align-self: center;
  }

  .cart-item-details {
    width: 100%;
  }

  .cart-item-details h3 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 16px;
  }

  .info-row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    text-align: center;
  }

  .label {
    font-size: 12px;
  }

  .price {
    font-size: 14px;
  }

  .total {
    font-size: 16px;
  }

  .quantity-controls {
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
  }

  .quantity-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  #cartItemQuantity {
    width: 50px;
    height: 32px;
    font-size: 14px;
  }

  .modal-footer {
    padding: 0 20px 20px 20px;
  }

  .btn-checkout {
    height: 48px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
    line-height: 120%;
    letter-spacing: -0.02em;
  }

  .hero-stats {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
    opacity: 0.2;
  }
  .btn {
    max-width: 100%;
  }

  .container {
    padding: 0 15px;
  }

  /* Modal для очень маленьких экранов */
  .modal-content {
    width: 98%;
    margin: 5px;
    max-height: 98vh;
  }

  .modal-header {
    padding: 12px 15px 0 15px;
  }

  .modal-header-title h3 {
    font-size: 18px;
  }

  .modal-body {
    padding: 15px;
  }

  .cart-item-image {
    height: 180px;
  }

  .cart-item-details {
    width: 100%;
  }

  .cart-item-details h3 {
    font-size: 16px;
  }

  .info-row {
    gap: 8px;
  }

  .label {
    font-size: 11px;
  }

  .price {
    font-size: 13px;
  }

  .total {
    font-size: 15px;
  }

  .quantity-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  #cartItemQuantity {
    width: 45px;
    height: 28px;
    font-size: 13px;
  }

  .modal-footer {
    padding: 0 15px 15px 15px;
  }

  .btn-checkout {
    height: 44px;
    font-size: 15px;
  }

  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .category-filters {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    gap: 8px;
    max-width: 100%;
  }

  .category-filter {
    padding: 10px 12px;
    height: 45px;
    font-size: 12px;
  }

  .category-icon {
    font-size: 12px;
  }

  .product-card {
    padding: 15px;
  }

  .faq-question {
    padding: 15px;
  }

  .faq-question h3 {
    font-size: 20px;
    line-height: 120%;
  }

  .faq-item.active .faq-answer {
    padding: 0 15px 15px 15px;
  }

  .faq-answer p {
    font-size: 16px;
    line-height: 24px;
  }

  .faq-question .icon-container {
    width: 20px;
    height: 20px;
  }

  .faq-question i {
    font-size: 10px;
  }
}
