@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

:root {
  --primary-color: #2c3e50;
  --secondary-color: #e67e22;
  --text-color: #333;
  --light-bg: #f5f5f5;
}

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

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.header {
  padding: 15px 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

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

.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.logo img {
  max-height: 40px;
  width: auto;
}

.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 10px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.menu li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
  transition: color 0.3s ease;
  padding: 5px 0;
}

.menu li a:hover {
  color: var(--secondary-color);
}

.menu li a.active {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
}

.phone {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  margin-left: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.phone i {
  color: var(--secondary-color);
  margin-right: 8px;
}

.phone:hover::after {
  transform: scaleX(0) !important;
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 15px;
  position: relative;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--primary-color);
  transition: 0.3s;
}

/* Медиа-запросы для header */
@media (max-width: 992px) {
  .menu {
    display: none;
  }

  .burger-menu {
    display: block;
  }

  .menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
}

@media (max-width: 480px) {
  .logo-text {
    display: none;
  }

  .phone span {
    display: none;
  }
}

@media (max-width: 1200px) {
  .menu {
    gap: 20px;
  }

  .menu li a {
    font-size: 16px;
  }

  .phone {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .nav {
    flex-direction: column;
  }

  .logo {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .menu {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .phone-container {
    margin: 20px 0;
  }
}

/* Добавим отступ для контента под фиксированным header */
main {
  margin-top: 80px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  margin-top: -80px;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/frontend/index/mountains.jpg") center/cover no-repeat;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
  opacity: 0.9;
}

.hero .btn-group {
  margin-top: 2rem;
}

.hero .btn {
  padding: 15px 35px;
  font-size: 1.1rem;
  margin: 0 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1,
.hero-content p,
.hero-content .btn-group {
  animation: fadeIn 1s ease-out forwards;
}

.hero-content p {
  animation-delay: 0.2s;
}

.hero-content .btn-group {
  animation-delay: 0.4s;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero .btn-group {
    flex-direction: column;
    gap: 1rem;
  }

  .hero .btn {
    margin: 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: linear-gradient(45deg, #e67e22, #f39c12);
  color: white;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.6);
}

.btn.primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(230, 126, 34, 0.4);
}

.btn.secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn.secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.btn.secondary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(44, 62, 80, 0.2);
}

.btn.order {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  color: white;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.btn.order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
}

.btn.order:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(46, 204, 113, 0.4);
}

.btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 1s;
}

.btn:active::after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

.btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
}

.catalog-header {
  padding: 120px 0 40px;
  background: var(--light-bg);
  text-align: center;
}

.catalog-search {
  max-width: 600px;
  margin: 2rem auto;
}

.catalog-search input {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.catalog-search input:focus {
  box-shadow: 0 0 5px rgba(44, 62, 80, 0.3);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 10px;
}

.menu .active {
  color: var(--secondary-color);
  font-weight: bold;
}

.categories-grid {
  padding: 60px 0;
}

.categories-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.category-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-image {
  height: 200px;
  overflow: hidden;
}

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

.category-info {
  padding: 1.5rem;
}

.category-info h3 {
  margin: 0 0 0.5rem;
  color: var(--primary-color);
}

.products-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.back-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0;
}

.product-properties {
  padding: 0 1rem;
  margin: 1rem 0;
}

.property {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.property-name {
  color: #666;
}

.property-value {
  font-weight: 500;
}

@media (max-width: 768px) {
  .categories-container {
    grid-template-columns: 1fr;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.purposes {
  padding: 80px 0;
  background: var(--light-bg);
}

.purposes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.purpose-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.purpose-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.purpose-card h3 {
  padding: 1rem;
  margin: 0;
}

.purpose-card p {
  padding: 0 1rem 1rem;
  color: #666;
}

.order-form {
  padding: 80px 0;
  background: var(--primary-color);
  color: white;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
}

.form-group.checkbox input {
  width: auto;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .purposes-grid {
    grid-template-columns: 1fr;
  }
}

.menu li a.active {
  color: var(--primary-color);
}

.menu li a.active::after {
  transform: scaleX(1);
}

.order-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.order-box {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.order-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.order-header {
  margin-bottom: 30px;
}

.order-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
}

.order-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #ec6a2c, #f3c649);
  margin: 0 auto;
}

.order-info {
  text-align: center;
}

.order-text {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.order-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #ec6a2c, #f3c649);
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.phone-icon {
  margin-right: 10px;
  color: #fff;
}

.delivery-phone:hover {
  transform: translateY(-2px);
  background: linear-gradient(45deg, #f3c649, #ec6a2c);
  box-shadow: 0 5px 15px rgba(236, 106, 44, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
  .order-box {
    padding: 30px 20px;
  }

  .order-title {
    font-size: 24px;
  }

  .order-text {
    font-size: 16px;
  }

  .order-phone {
    font-size: 18px;
    padding: 12px 20px;
  }
}

/* Стили для footer */
.footer {
  background-color: var(--light-bg);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-menu h3,
.footer-contacts h3 {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu ul li {
  margin-bottom: 10px;
}

.footer-menu ul li a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.footer-menu ul li a:hover {
  color: var(--primary-color);
}

.footer-contacts address {
  font-style: normal;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contacts p {
  margin-bottom: 10px;
}

.work-hours {
  color: #888;
  font-size: 13px;
  margin: 15px 0;
}

.footer-phone {
  display: inline-block;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.footer-phone:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #888;
}

.developer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.developer a:hover {
  color: var(--secondary-color);
}

/* Медиа-запросы */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

main {
  flex: 1;
}

.search-container {
  max-width: 600px;
  margin: 2rem auto;
}

.search-input {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  outline: none;
  transition: all 0.3s ease;
}

.search-input:focus {
  box-shadow: 0 0 10px rgba(44, 62, 80, 0.2);
}

.no-results {
  text-align: center;
  padding: 3rem;
  color: #666;
  grid-column: 1 / -1;
}

.category-header {
  padding: 40px 0;
  background: var(--light-bg);
}

.breadcrumbs {
  margin-bottom: 20px;
  color: #666;
}

.breadcrumbs a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--secondary-color);
}

.products-section {
  padding: 60px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.product-info h3 {
  margin: 0 0 15px;
  color: var(--primary-color);
  font-size: 18px;
  line-height: 1.3;
}

.product-info .btn {
  margin-top: auto;
  width: 100%;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .category-header {
    padding: 20px 0;
  }
}

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

.product-header {
  padding: 30px 0;
  background: var(--light-bg);
}

.product-content {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 40px;
  align-items: start;
  padding: 20px;
}

.product-image-wrapper {
  width: 100%;
  height: 600px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-details {
  padding: 20px 0;
}

.product-info h1 {
  margin: 0 0 20px;
  color: var(--primary-color);
  font-size: 32px;
}

.product-specs {
  margin: 20px 0;
}

.spec-item {
  margin: 10px 0;
  padding: 10px;
  background: var(--light-bg);
  border-radius: 5px;
}

.spec-label {
  font-weight: bold;
  margin-right: 10px;
}

.product-price {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 20px 0;
}

.price-note {
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.order-btn {
  width: 100%;
  margin: 20px 0;
  padding: 15px;
  font-size: 18px;
}

.product-description {
  margin-top: 40px;
}

.product-description h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .product-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.product-short-description {
  font-size: 16px;
  color: #666;
  margin: 20px 0;
  line-height: 1.6;
}

.product-card .product-price {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 10px 0;
}

.product-info .product-price {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 20px 0;
  padding: 10px;
  background: var(--light-bg);
  border-radius: 5px;
  display: inline-block;
}

/* Стили для страницы О компании */

.about-header {
  padding: 40px 0;
  background: var(--light-bg);
}

.about-intro {
  padding: 60px 0;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
}

.about-text h2 {
  color: var(--primary-color);
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.about-text h3 {
  margin: 30px 0 20px;
  color: var(--secondary-color);
}

.about-products {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.about-products li {
  padding: 15px;
  background: var(--light-bg);
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.about-products li:hover {
  transform: translateY(-5px);
}

.about-advantages {
  padding: 60px 0;
  background: var(--light-bg);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.advantage-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.advantage-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.advantage-card h3 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay h3 {
  color: white;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .about-products {
    grid-template-columns: 1fr 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Стили для страницы условий оплаты */

.payment-section {
  padding: 60px 0;
}

.payment-section h1 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.payment-card {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.payment-card:hover {
  transform: translateY(-5px);
}

.payment-icon {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.payment-info h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 20px;
}

.payment-info p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .payment-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .payment-icon {
    width: 64px;
    height: 64px;
  }

  .payment-section {
    padding: 30px 0;
  }
}

/* Стили для страницы доставки */

.delivery-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.delivery-box {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Градиентная рамка */
.delivery-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #ec6a2c, #f3c649);
  border-radius: 12px;
  z-index: -1;
}

.delivery-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.delivery-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #ec6a2c, #f3c649);
}

.delivery-content {
  max-width: 800px;
  margin: 0 auto;
}

.delivery-info {
  margin-bottom: 30px;
}

.delivery-text {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.delivery-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.delivery-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #666;
  font-size: 16px;
}

.delivery-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: linear-gradient(45deg, #ec6a2c, #f3c649);
  border-radius: 50%;
}

.delivery-notice {
  background: rgba(236, 106, 44, 0.05);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
}

.delivery-notice p {
  font-size: 18px;
  color: #666;
  margin-bottom: 15px;
}

.delivery-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #ec6a2c, #f3c649);
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.phone-icon {
  margin-right: 10px;
  color: #fff;
}

.delivery-phone:hover {
  transform: translateY(-2px);
  background: linear-gradient(45deg, #f3c649, #ec6a2c);
  box-shadow: 0 5px 15px rgba(236, 106, 44, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
  .delivery-box {
    padding: 30px 20px;
  }

  .delivery-title {
    font-size: 24px;
  }

  .delivery-text {
    font-size: 16px;
  }

  .delivery-list li {
    font-size: 15px;
  }

  .delivery-notice p {
    font-size: 16px;
  }

  .delivery-phone {
    font-size: 18px;
    padding: 12px 20px;
  }
}

/* Стили для страницы контактов */

.contacts-section {
  padding: 60px 0;
}

.contacts-section h1 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.contacts-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

.contacts-table {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contacts-table table {
  width: 100%;
  border-collapse: collapse;
}

.contacts-table th,
.contacts-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.contacts-table th {
  width: 200px;
  background: var(--light-bg);
  color: var(--primary-color);
  font-weight: 500;
}

.contacts-table td {
  color: #333;
}

.contacts-table tr:last-child th,
.contacts-table tr:last-child td {
  border-bottom: none;
}

.phone-numbers a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-numbers a:hover {
  color: var(--secondary-color);
}

.contacts-map {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.map-container {
  width: 100%;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.address-info {
  padding: 20px;
  background: var(--light-bg);
}

.address-info p {
  margin: 10px 0;
  color: #666;
  display: flex;
  align-items: center;
  gap: 10px;
}

.address-info i {
  color: var(--primary-color);
  font-size: 18px;
}

@media (max-width: 768px) {
  .contacts-section {
    padding: 30px 0;
  }

  .contacts-table th {
    width: 140px;
  }

  .contacts-table th,
  .contacts-table td {
    padding: 10px 15px;
    font-size: 14px;
  }

  .map-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .contacts-table th {
    width: 120px;
  }

  .contacts-table th,
  .contacts-table td {
    padding: 8px 10px;
    font-size: 13px;
  }
}

/* Стили для страницы "Каменный ковёр" */

/* Секция Hero */
.hero-section {
  padding: 80px 0;
  background: var(--light-bg);
  text-align: center;
}

.hero-section h1 {
  color: var(--primary-color);
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 20px;
  color: #444;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.feature-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 220px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature-item span {
  font-weight: 500;
  color: #333;
}

/* Секция О каменном ковре */
.about-carpet {
  padding: 80px 0;
}

.about-carpet h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-text h3 {
  color: var(--secondary-color);
  margin: 30px 0 15px;
}

.about-text ul {
  padding-left: 20px;
}

.about-text li {
  margin-bottom: 10px;
  color: #444;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Стили для блока "Ассортимент" на странице каменного ковра */
.stone-carpet-assortment {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.assortment-content {
  margin-top: 30px;
}

.assortment-content > p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.materials-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.materials-category {
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.materials-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.materials-category h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

.materials-category ul {
  list-style-type: none;
  padding-left: 5px;
  margin: 0;
}

.materials-category li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.materials-category li:before {
  content: "•";
  color: var(--accent-color);
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
}

.assortment-note {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  border-left: 4px solid var(--accent-color);
}

.assortment-note p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.assortment-note .btn {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .materials-list {
    grid-template-columns: 1fr;
  }

  .assortment-note {
    padding: 20px;
  }
}

/* Стили для страницы продукта */

.product-section {
  padding: 40px 0 60px;
}

/* Хлебные крошки */
.breadcrumbs {
  margin-bottom: 30px;
  font-size: 14px;
  color: #666;
}

.breadcrumbs a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--secondary-color);
}

/* Основной блок продукта */
.product-main h1 {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 30px;
}

.product-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.product-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-details {
  display: flex;
  flex-direction: column;
}

.product-fractions {
  font-size: 16px;
  margin-bottom: 20px;
  color: #444;
}

.product-price {
  margin-bottom: 20px;
}

.price-value {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
}

.price-note {
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.product-short-description {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.6;
}

.product-short-description p {
  font-weight: bold;
}

.order-btn {
  padding: 12px 24px;
  font-size: 16px;
  width: 100%;
  max-width: 300px;
}

/* Блок описания */
.product-description {
  margin-bottom: 60px;
}

.product-description h4 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.description-content {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.description-content p {
  margin-bottom: 15px;
}

/* Блок заказа */
.order-section {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 10px;
}

.order-section h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.order-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.order-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.order-text p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
}

.order-text p:first-child {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
}

.order-form {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 5px;
}

.form-group.checkbox label {
  font-size: 12px;
  color: #666;
}

/* Сообщение об ошибке */
.error-message {
  text-align: center;
  padding: 40px;
  background: var(--light-bg);
  border-radius: 10px;
}

.error-message h2 {
  color: #dc3545;
  margin-bottom: 15px;
}

.error-message p {
  margin-bottom: 20px;
  color: #444;
}

/* Адаптивность */
@media (max-width: 768px) {
  .product-info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .order-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-section {
    padding: 20px 0 40px;
  }

  .product-main h1 {
    font-size: 24px;
  }

  .order-btn {
    max-width: 100%;
  }
}

/* Стили для блока "Сколько стоит каменный ковёр" в стиле kamenniykover.ru */
.stone-carpet-pricing {
  padding: 60px 0;
  background-color: #fff;
}

.pricing-description {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-description p {
  font-size: 18px;
  font-weight: 500;
  color: #666;
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
  justify-content: center;
}

.price-card {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.price-card-header {
  background-color: var(--primary-color);
  padding: 20px;
  text-align: center;
  color: #fff;
}

.price-card-header h4 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
}

.price-card-header p {
  margin: 0;
  font-size: 16px;
  opacity: 0.8;
}

.price-card-list {
  padding: 25px;
  flex-grow: 1;
}

.price-card-list ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.price-card-list li {
  margin-bottom: 12px;
  line-height: 1.5;
  position: relative;
  padding-left: 10px;
  font-size: 15px;
}

.price-card-list li strong {
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--primary-color);
  padding-left: 0;
}

.price-card-price {
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.05);
  text-align: center;
}

.price-card-price p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.price-card-price span {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
}

.price-card-action {
  padding: 20px;
  text-align: center;
  background-color: #fff;
}

.price-card-action .btn {
  width: 100%;
  padding: 12px;
  font-weight: 600;
}

/* Стиль для отдельного блока "Выполненные работы" */
.stone-carpet-works {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.stone-carpet-works h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

.work-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.work-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex: 0 0 auto;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.work-card:hover .work-image img {
  transform: scale(1.1);
}

.work-title {
  padding: 15px;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-title h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.works-button {
  text-align: center;
  margin-top: 30px;
}

/* Адаптивность для блока работ */
@media (max-width: 1200px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-image {
    height: 200px;
  }
}

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

  .work-image {
    height: 220px;
  }
}

/* Усовершенствованные стили для блока FAQ */
.stone-carpet-faq {
  padding: 70px 0;
  background-color: #fff;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto 60px;
}

/* Элемент FAQ */
.faq-item {
  margin-bottom: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* Кнопка вопроса */
.faq-btn {
  width: 100%;
  text-align: left;
  padding: 22px 60px 22px 25px;
  background-color: #fff;
  border: none;
  border-left: 4px solid var(--primary-color);
  outline: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  position: relative;
  transition: all 0.3s;
}

.faq-btn:hover,
.faq-btn.active {
  color: var(--primary-color);
  background-color: #f9f9f9;
}

.faq-btn.active {
  border-bottom: 1px solid #eee;
}

/* Иконка для кнопки (плюс/минус) */
.faq-btn::before,
.faq-btn::after {
  content: "";
  position: absolute;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
}

/* Горизонтальная линия */
.faq-btn::before {
  top: 50%;
  right: 25px;
  width: 16px;
  height: 2px;
  transform: translateY(-50%);
}

/* Вертикальная линия (исчезает при активации) */
.faq-btn::after {
  top: 50%;
  right: 32px;
  width: 2px;
  height: 16px;
  transform: translateY(-50%);
}

.faq-btn.active::after {
  opacity: 0;
  transform: translateY(-50%) rotate(90deg);
}

/* Контейнер для ответа */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  background-color: #fff;
}

/* Стили для текста ответа */
.faq-content p {
  padding: 25px;
  margin: 0;
  line-height: 1.7;
  color: #555;
  font-size: 16px;
}

/* Стили для блока с контактами */
.faq-contact {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(to right, #f9f9f9, #f3f3f3);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
}

.faq-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
}

.contact-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.faq-contact p {
  margin-bottom: 25px;
  font-size: 17px;
  color: #666;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.faq-contact .btn {
  min-width: 220px;
  padding: 14px 25px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(var(--primary-color-rgb), 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.faq-contact .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(var(--primary-color-rgb), 0.3);
}

/* Состояние при фокусе для доступности */
.faq-btn:focus {
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.3);
  outline: none;
}

/* Адаптивные стили */
@media (max-width: 768px) {
  .faq-btn {
    font-size: 16px;
    padding: 18px 50px 18px 20px;
  }

  .faq-content p {
    padding: 20px;
    font-size: 15px;
  }

  .contact-title {
    font-size: 22px;
  }

  .faq-contact p {
    font-size: 16px;
    max-width: 95%;
  }
}

/* Стили для всех заголовков h2 на странице */
h2 {
  text-align: center;
  color: var(--primary-color); /* Используем основной цвет темы сайта */
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

/* Добавляем декоративную линию под заголовками h2 (как на оригинальном сайте) */
h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  h2 {
    font-size: 24px;
    padding-bottom: 12px;
  }

  h2::after {
    width: 60px;
    height: 2px;
  }
}

/* Стили для отображения статуса формы */
.form-status {
  margin-top: 20px;
  padding: 15px;
  border-radius: 5px;
  display: none;
}

.form-status .loading {
  color: #666;
  background-color: #f9f9f9;
  padding: 10px;
  text-align: center;
  border-radius: 4px;
}

.form-status .success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 10px;
}

.form-status .error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 10px;
}

/* Стили для мобильного меню */
.mobile-menu {
  position: absolute;
  top: 100%; /* Располагаем прямо под header */
  left: 0;
  right: 0;
  background: #fff;
  padding: 0;
  margin: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
}

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

/* Стили для элементов мобильного меню */
.mobile-menu-item {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.mobile-menu-item:last-child {
  border-bottom: none;
}

.mobile-menu-link {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  display: block;
}

/* Обновляем стили для header */
.header {
  position: relative; /* Добавляем для контекста позиционирования */
}

@media (max-width: 768px) {
  .header {
    position: sticky; /* Делаем header прикрепленным сверху */
    top: 0;
    background: #fff;
    z-index: 1000;
  }

  .mobile-menu {
    position: absolute;
    top: 100%;
    width: 100%;
    background: #fff;
  }
}

/* Стили для контейнера с текстом и изображением */
.stone-carpet-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin: 20px 0;
}

.stone-carpet-text {
  flex: 1;
}

.stone-carpet-image {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
  .stone-carpet-content {
    flex-direction: column-reverse; /* Меняем направление флекса на вертикальное и переворачиваем порядок */
    align-items: center;
    gap: 20px;
  }

  .stone-carpet-image {
    width: 100%; /* Картинка занимает всю ширину экрана с небольшими отступами */
    max-width: 500px; /* Максимальная ширина для средних экранов */
    height: 250px; /* Фиксированная высота для поддержания пропорций */
    margin-bottom: 15px;
  }

  .stone-carpet-text {
    width: 100%;
    text-align: left;
  }
}
