/*
Theme Name: hurde
Theme URI: https://hurde.ru/
Author: hurde
Description: Custom theme based on provided HTML.
Version: 1.0.0
Text Domain: hurde
*/

body {
    background-color: #fff;
    margin: 0;
    padding: 0;
}
/* Основной контейнер фиксированной ширины */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.btn-group-lg > .btn, .btn-lg {
    padding: .5rem 1rem;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 15px;
}
/* Стили для заголовков */
h1, .h1 {
    font-size: 3rem;
    color: #333;
    font-weight: bold;
}
h2, .h2 {
    font-size: 2.5rem;
    color: #333;
    font-weight: bold;
}
/* Стили для навигационной панели */
.navbar {
    padding: 0.5rem 1rem;
}
.navbar-brand img {
    height: 40px;
}
.nav-link {
    font-size: 13px !important;
    color: #333 !important;
    margin-left: 15px;
}
/* Плитка категорий */
.categories {
    margin-top: 30px;
    margin-bottom: 30px;
}
.category-card {
    position: relative;
    text-align: center;
    padding: 5px 20px;
    margin-bottom: 20px;
    background-color: #f7f7f7;
    transition: box-shadow 0.3s;
    border-radius: 15px;
    height: 150px;
    overflow: hidden;
}

.category-card.d-block {
  color: inherit;
  text-decoration: none;
}

.category-card.d-block:hover {
  text-decoration: none;
}
.category-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.category-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}
.category-card img {
    position: absolute;
    bottom: 0px;
    right: 0px;
    max-width: 110px;
    max-height: 110px;
}
/* Баннер на всю ширину */
.full-width-banner {
    width: 100%;
    background: url('https://via.placeholder.com/1920x400?text=Баннер') no-repeat center center;
    background-size: cover;
    height: 400px;
}

.block-header.with-arrow {
    margin-bottom: 20px;
}

.block-title-link {
    text-decoration: none;
    color: #116d61;
    display: inline-block;
    transition: color 0.3s;
}

.block-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.block-title .arrow {
    font-size: 1.8rem;
    margin-left: 6px;
    transition: transform 0.2s, color 0.2s;
}

.block-subtitle {
    font-size: 1.1rem;
    color: #444;
    margin-top: 4px;
}

.block-title-link:hover {
    color: #9d2236; /* тёмно-красный */
}

.block-title-link:hover .arrow {
    transform: translateX(4px);
    color: #9d2236;
}

footer { background-color: #f8f9fa; padding: 40px 0; }
.footer-title { font-weight: bold; font-size: 1rem; margin-bottom: 10px; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 8px; color: #666; font-size: 0.95rem; }
.footer-column ul li a { color: #666; text-decoration: none; }
.footer-column ul li a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #e4e4e4; padding-top: 20px; text-align: center; font-size: 0.9rem; color: #999; }



a:hover {
    color: #f80;
}

.advantage-tile {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.advantage-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.adv-icon {
    font-size: 30px;
    color: #9d2236;
    margin-bottom: 12px;
}

.adv-title {
    font-weight: 600;
    font-size: 15px;
    color: #222;
    margin-bottom: 6px;
}

.adv-text {
    font-size: 13px;
    color: #333;
}

.feature-tile {
    background-color: #f7f7f7;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    height: 100%;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    font-size: 30px;
    color: #9d2236;
    flex-shrink: 0;
    line-height: 1;
}

.feature-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 0.95rem;
    color: #333;
}

.section{margin: 40px 0px;}

.faq-section {
    padding-top: 40px;
}

.faq-menu {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.faq-menu li {
    margin-bottom: 10px;
    cursor: pointer;
    color: #333;
    font-size: 15px;
    transition: color 0.2s;
}

.faq-menu li:hover,
.faq-menu li.active {
    color: #9d2236;
    font-weight: 600;
}

.faq-item {
    border-top: 1px solid #eee;
    padding: 15px 0;
}

.faq-question {
    background: none;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0;
    display: block;
    width: 100%;
    text-align: left;
    position: relative;
    color: #000;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-question.open::after {
    content: '–';
}

.faq-answer {
    display: none;
    padding-top: 8px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.brand-tile {
    background-color: #fff;
    border-radius: 14px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 75px;
    display: flex;
}

.brand-tile img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-simple .contact-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-simple .contact-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-simple .contact-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.contact-simple .contact-link {
    font-size: 16px;
    color: #337ab7;
    font-weight: 500;
    text-decoration: none;
}

.contact-simple .contact-link:hover {
    text-decoration: underline;
}

.contact-simple .messenger-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
    font-size: 24px;
}

.contact-simple .messenger-icon {
    text-decoration: none;
    transition: transform 0.2s;
}

.contact-simple .messenger-icon:hover {
  transform: scale(1.2);
}

/* WooCommerce breadcrumbs */
.woocommerce-breadcrumb {
  font-size: 13px;
  color: #666;
  margin: 10px 0 20px;
}

.woocommerce-breadcrumb a {
  color: #116d61;
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  text-decoration: underline;
}

/* Product layout */
.product-hero-wrapper .product-hero {
  display: flex !important;
  gap: 24px;
  align-items: flex-start;
  margin: 20px 0 40px;
  flex-wrap: nowrap;
}

.product-hero-wrapper .product-col {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 20px;
  min-width: 0;
}

.product-hero-wrapper .product-media {
  background: #fff;
  flex: 1 1 44%;
}

.product-hero-wrapper .product-specs {
  flex: 1 1 33%;
}

.product-hero-wrapper .product-buy {
  flex: 1 1 23%;
}

.product-hero-wrapper .product-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.product-specs-table table.shop_attributes {
  margin: 0;
  border: none;
}

.product-specs-table table.shop_attributes th,
.product-specs-table table.shop_attributes td {
  border: none;
  padding: 6px 0;
}

.product-buy-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.product-buy-box .price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #9d2236;
}

.product-buy-box .product_meta {
  font-size: 12px;
  color: #666;
}

@media (max-width: 991.98px) {
  .product-hero-wrapper .product-hero {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}

.product-hero-wrapper .woocommerce-product-gallery {
  width: 100%;
}

/* About page */
.about-hero-card {
  background: #f7f7f7;
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 16px;
}

.about-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-hero-stat .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #116d61;
}

.about-hero-stat .stat-label {
  color: #555;
}

.about-card,
.about-panel,
.leader-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.about-panel ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.leader-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.leader-role {
  color: #777;
  margin-bottom: 8px;
}

.about-cta {
  background: #116d61;
  color: #fff;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

.about-cta .btn {
  margin-top: 16px;
}

/* Contacts page */
.contact-hero .contact-meta {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-meta__item {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 16px 18px;
}

.contact-meta__label {
  font-size: 13px;
  color: #777;
  margin-bottom: 6px;
}

.contact-meta__value {
  font-size: 16px;
  font-weight: 600;
}

.contact-panel {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.contact-panel__title {
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-panel__list {
  padding-left: 18px;
  margin-bottom: 20px;
}

.contact-panel__links {
  display: grid;
  gap: 6px;
}

.contact-panel__links a {
  color: #116d61;
  text-decoration: none;
  font-weight: 600;
}

.contact-panel__links a:hover {
  text-decoration: underline;
}

.contact-map__card {
  background: #f7f7f7;
  border-radius: 20px;
  padding: 24px;
}

.contact-map__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-map__frame {
  margin-top: 16px;
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: #e9e9e9;
  border: 0;
}

.contact-map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-map__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.contact-map__actions a {
  color: #116d61;
  font-weight: 600;
  text-decoration: none;
}

.contact-map__actions a:hover {
  text-decoration: underline;
}

.contact-map__actions a:focus {
  outline: none;
}

@media (max-width: 575.98px) {
  .contact-map__frame {
    height: 320px;
  }
}

/* Services page */
.services-hero {
  background: linear-gradient(120deg, #f5f7f6 0%, #eef4f2 100%);
  border-radius: 24px;
  padding: 36px;
}

.services-hero__content {
  max-width: 640px;
}

.services-group {
  margin-top: 30px;
}

.services-group__intro {
  margin-bottom: 16px;
}

.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card__title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.services-subgroup {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 16px;
}

.services-subgroup h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.services-subgroup__link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.services-subgroup__link:hover {
  color: #f80;
}

.services-subgroup .arrow {
  font-size: 1.1rem;
  margin-left: 6px;
  color: #9d2236;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.services-list span,
.services-list__link {
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.95rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.services-list__link {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.services-list__link:hover {
  color: #f80;
}

.services-cta__inner {
  background: #f7f7f7;
  color: #222;
  border-radius: 22px;
  padding: 32px;
  text-align: center;
}

.services-cta__inner .btn {
  margin-top: 16px;
}

/* Laser cutting landing blocks */
.service-landing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.service-landing__grid--color .service-landing__card:nth-child(1) {
  background: #fef7e8;
}

.service-landing__grid--color .service-landing__card:nth-child(2) {
  background: #eef7f6;
}

.service-landing__grid--color .service-landing__card:nth-child(3) {
  background: #f2f1fb;
}

.service-landing__card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-landing__card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.service-landing__card ul {
  padding-left: 18px;
  margin: 0;
}

.service-landing__split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.service-landing__split ol {
  padding-left: 18px;
}

.service-landing__cta {
  background: #f7f7f7;
  color: #222;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: none;
}

.service-landing__cta-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-landing__cta-text {
  margin-bottom: 16px;
}

.service-landing__faq h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-landing__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.service-landing__faq-grid h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-landing__visual {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
}

.service-landing__visual ul {
  padding-left: 18px;
}

@media (max-width: 991.98px) {
  .service-landing__visual {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .service-landing__split {
    grid-template-columns: 1fr;
  }
}

.woocommerce-breadcrumb {
  font-size: 13px;
  color: #666;
  margin: 10px 0 20px;
}

.woocommerce-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  gap: 6px;
}

.woocommerce-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.woocommerce-breadcrumb li::after {
  content: '/';
  color: #aaa;
}

.woocommerce-breadcrumb li:last-child::after {
  content: '';
}

.woocommerce-breadcrumb a {
  color: #333;
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  text-decoration: underline;
  color: #333;
}

.catalog-actions .btn + .btn {
  margin-left: 12px;
}

.product-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  height: 100%;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.product-card__media {
  background: #f5f5f7;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  margin-bottom: 12px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__media img {
  max-width: 100%;
  height: auto;
}

.product-card__placeholder {
  font-weight: 700;
  color: #116d61;
}

.product-card__title {
  font-weight: 700;
  margin-bottom: 6px;
}

.product-card__excerpt {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

.product-card__price {
  font-weight: 700;
  color: #9d2236;
}

/* Cart modal */
.hurde-cart-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.hurde-cart-modal.is-visible {
  display: flex;
}

.hurde-cart-modal__content {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  max-width: 420px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hurde-cart-modal__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hurde-cart-modal__message {
  color: #555;
  margin-bottom: 20px;
}

.hurde-cart-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.hurde-cart-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #777;
}

.single_add_to_cart_button.added {
  background-color: #116d61;
  border-color: #116d61;
}

/* 404 page */
.not-found-page {
  padding-bottom: 52px;
  padding-top: 86px;
}

.not-found-hero {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(330px, 0.82fr) minmax(520px, 1.18fr);
  min-height: 462px;
}

.not-found-hero__copy {
  max-width: 520px;
}

.not-found-hero__code {
  color: #242426;
  font-size: clamp(7rem, 11vw, 9.45rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  margin-bottom: 30px;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.14);
}

.not-found-hero__copy h1 {
  color: #282a2f;
  font-size: clamp(2.3rem, 3.2vw, 3.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.06;
  margin: 0 0 22px;
}

.not-found-hero__copy p {
  color: #2f3338;
  font-size: 1.22rem;
  line-height: 1.58;
  margin: 0 0 28px;
  max-width: 475px;
}

.not-found-hero__button {
  align-items: center;
  background: #0878f8;
  border-color: #0878f8;
  border-radius: 15px;
  display: inline-flex;
  font-size: 1rem;
  height: 52px;
  justify-content: center;
  min-width: 168px;
  padding: 0 28px;
}

.not-found-hero__visual {
  min-height: 408px;
  position: relative;
}

.not-found-hero__watermark {
  color: rgba(18, 26, 38, 0.055);
  font-size: clamp(8rem, 13vw, 10.8rem);
  font-weight: 900;
  left: 24%;
  letter-spacing: 0;
  line-height: 1;
  position: absolute;
  top: 2px;
  z-index: 0;
}

.not-found-hero__barrier {
  filter: drop-shadow(0 24px 30px rgba(17, 24, 39, 0.12));
  left: 24%;
  max-width: 620px;
  position: absolute;
  top: 74px;
  width: 84%;
  z-index: 4;
}

.not-found-hero__ground {
  background: radial-gradient(ellipse at center, rgba(22, 29, 40, 0.09), rgba(22, 29, 40, 0) 70%);
  bottom: 42px;
  height: 66px;
  left: 6%;
  position: absolute;
  width: 86%;
  z-index: 1;
}

.not-found-hero__sign {
  align-items: center;
  background: #fff;
  border: 2px solid #c9cdd3;
  border-radius: 5px;
  bottom: 100px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.03), 0 10px 20px rgba(17, 24, 39, 0.09);
  color: #2f3338;
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  height: 78px;
  justify-items: center;
  line-height: 1.08;
  padding: 8px;
  position: absolute;
  right: 9%;
  text-align: center;
  width: 118px;
  z-index: 5;
}

.not-found-hero__sign::after {
  background: #7a7d82;
  bottom: -55px;
  content: "";
  height: 55px;
  position: absolute;
  width: 9px;
}

.not-found-hero__sign strong {
  color: #25272b;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.not-found-hero__cone {
  border-bottom: 74px solid rgba(190, 195, 202, 0.66);
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  bottom: 94px;
  height: 0;
  left: 18%;
  position: absolute;
  width: 52px;
  z-index: 2;
}

.not-found-hero__cone::before,
.not-found-hero__cone::after {
  background: rgba(255, 255, 255, 0.82);
  content: "";
  height: 8px;
  left: -18px;
  position: absolute;
  width: 36px;
}

.not-found-hero__cone::before {
  top: 25px;
}

.not-found-hero__cone::after {
  top: 48px;
}

.not-found-hero__plant {
  bottom: 92px;
  height: 72px;
  opacity: 0.28;
  position: absolute;
  width: 64px;
  z-index: 2;
}

.not-found-hero__plant::before,
.not-found-hero__plant::after {
  background: #9fa5ad;
  border-radius: 50% 50% 0 50%;
  content: "";
  height: 42px;
  position: absolute;
  width: 16px;
}

.not-found-hero__plant::before {
  left: 18px;
  top: 18px;
  transform: rotate(-38deg);
}

.not-found-hero__plant::after {
  right: 18px;
  top: 8px;
  transform: rotate(38deg);
}

.not-found-hero__plant--left {
  left: 28%;
}

.not-found-hero__plant--right {
  right: 28%;
}

.not-found-hero__cloud {
  background: #d9dde2;
  border-radius: 999px;
  height: 12px;
  opacity: 0.66;
  position: absolute;
  width: 72px;
  z-index: 1;
}

.not-found-hero__cloud::before,
.not-found-hero__cloud::after {
  background: inherit;
  border-radius: 50%;
  content: "";
  position: absolute;
}

.not-found-hero__cloud::before {
  height: 32px;
  left: 19px;
  top: -22px;
  width: 32px;
}

.not-found-hero__cloud::after {
  height: 20px;
  right: 8px;
  top: -11px;
  width: 20px;
}

.not-found-hero__cloud--left {
  left: 8%;
  top: 88px;
}

.not-found-hero__cloud--right {
  right: 4%;
  top: 118px;
}

.not-found-links {
  margin-top: 34px;
}

.not-found-links h2 {
  color: #282a2f;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 22px;
}

.not-found-links__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.not-found-link {
  align-content: space-between;
  background: linear-gradient(145deg, #fbfbfb 0%, #f2f2f2 100%);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #25272b;
  display: grid;
  min-height: 126px;
  padding: 18px 18px 16px;
  position: relative;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.not-found-link:hover {
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
  color: #25272b;
  text-decoration: none;
  transform: translateY(-2px);
}

.not-found-link__icon {
  align-items: center;
  display: flex;
  height: 54px;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
}

.not-found-link__icon img {
  max-height: 54px;
  max-width: 92px;
  object-fit: contain;
}

.not-found-link:first-child .not-found-link__icon img {
  max-height: 72px;
  max-width: 120px;
  transform: translateY(2px) scale(1.55);
  transform-origin: center;
}

.not-found-link:nth-child(3) .not-found-link__icon img {
  max-height: 74px;
  max-width: 112px;
  transform: translateY(4px);
}

.not-found-link__icon--tools::before,
.not-found-link__icon--tools::after {
  background: #33363a;
  border-radius: 999px;
  content: "";
  height: 9px;
  position: absolute;
  top: 24px;
  width: 66px;
}

.not-found-link__icon--tools::before {
  transform: rotate(45deg);
}

.not-found-link__icon--tools::after {
  transform: rotate(-45deg);
}

.not-found-link__icon--building::before {
  background: linear-gradient(#d8dadd, #aeb3b9);
  border-radius: 2px 2px 0 0;
  box-shadow: -17px 10px 0 -4px #c9cdd2, 17px 8px 0 -5px #c9cdd2;
  content: "";
  height: 42px;
  width: 40px;
}

.not-found-link__icon--building::after {
  background: #6f757c;
  bottom: 5px;
  content: "";
  height: 4px;
  position: absolute;
  width: 68px;
}

.not-found-link__icon--pin::before {
  background: #33363a;
  border-radius: 50% 50% 50% 0;
  content: "";
  height: 44px;
  transform: rotate(-45deg);
  width: 44px;
}

.not-found-link__icon--pin::after {
  background: #f7f7f7;
  border-radius: 50%;
  content: "";
  height: 14px;
  position: absolute;
  width: 14px;
}

.not-found-link__icon--support::before {
  border: 5px solid #33363a;
  border-bottom-color: transparent;
  border-radius: 50%;
  content: "";
  height: 44px;
  width: 44px;
}

.not-found-link__icon--support::after {
  border-bottom: 5px solid #33363a;
  border-right: 5px solid #33363a;
  border-radius: 0 0 9px 0;
  bottom: 11px;
  content: "";
  height: 17px;
  position: absolute;
  right: 49px;
  width: 17px;
}

.not-found-link__title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.18;
  padding-right: 24px;
  text-align: center;
}

.not-found-link__arrow {
  bottom: 16px;
  font-size: 1.45rem;
  line-height: 1;
  position: absolute;
  right: 18px;
}

.not-found-help {
  align-items: center;
  background: linear-gradient(145deg, #fbfbfb 0%, #f2f2f2 100%);
  border-radius: 12px;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  margin-top: 40px;
  padding: 24px 28px;
}

.not-found-help__icon {
  align-items: center;
  border: 4px solid #25272b;
  border-radius: 50%;
  display: flex;
  font-size: 2rem;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  line-height: 1;
  width: 52px;
}

.not-found-help h2 {
  color: #282a2f;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 6px;
}

.not-found-help p {
  color: #2f3338;
  font-size: 1rem;
  margin: 0;
}

.not-found-help .btn {
  border-color: #0878f8;
  border-radius: 12px;
  color: #0878f8;
  min-width: 164px;
}

@media (max-width: 1199.98px) {
  .not-found-hero {
    grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.15fr);
  }

  .not-found-links__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .not-found-page {
    padding-top: 42px;
  }

  .not-found-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .not-found-hero__visual {
    min-height: 360px;
  }

  .not-found-hero__barrier {
    left: 20%;
    width: 78%;
  }
}

@media (max-width: 575.98px) {
  .not-found-page {
    padding-top: 28px;
  }

  .not-found-hero__copy p {
    font-size: 1.05rem;
  }

  .not-found-hero__visual {
    min-height: 285px;
  }

  .not-found-hero__watermark {
    font-size: 6rem;
    left: 22%;
  }

  .not-found-hero__barrier {
    left: 4%;
    top: 48px;
    width: 112%;
  }

  .not-found-hero__sign {
    bottom: 70px;
    right: 0;
    transform: scale(0.78);
  }

  .not-found-hero__cone,
  .not-found-hero__plant,
  .not-found-hero__cloud {
    transform: scale(0.8);
  }

  .not-found-links__grid {
    grid-template-columns: 1fr;
  }

  .not-found-link {
    min-height: 120px;
  }

  .not-found-help {
    align-items: flex-start;
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

/* Contact modal */
.hurde-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 25, 30, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
}

.hurde-modal.is-visible {
  display: flex;
}

.hurde-modal__content {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  width: 100%;
  max-width: 520px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.hurde-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.hurde-modal__header {
  margin-bottom: 16px;
}

.hurde-modal__title {
  font-size: 1.4rem;
  font-weight: 700;
}

.hurde-modal__subtitle {
  color: #666;
  font-size: 0.95rem;
}

.hurde-form__row {
  margin-bottom: 12px;
}

.hurde-form__label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

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

.hurde-form__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.hurde-form__status {
  font-size: 13px;
  color: #666;
}

/* Дополнительные стили для страницы каталога */
.product-card { border-radius:20px; overflow:hidden; margin-bottom: 20px; display: flex; flex-direction: row; background:#f5f5f7; padding:20px; }
.product-card img { max-width: 200px; object-fit: cover; }
.product-details { padding: 15px; flex: 1; }
.product-title { font-size: 1.2rem; font-weight: bold; color: #000; }
.product-price { color: #9d2236; font-weight: bold; font-size: 1.1rem; }
.product-old-price { text-decoration: line-through; color: #888; margin-left: 10px; font-size: 0.95rem; }
.btn-buy { margin-top: 10px; }
.modal-body ul { padding-left: 18px; }
.modal-content { border-radius: 20px; overflow: hidden; }
.modal-header { background-color: #9d2236; color: white; }
.modal-body { background: #f9f9f9; }
.modal-body ul li { margin-bottom: 5px; }

@media (max-width: 991.98px) {
    .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
        position: relative;
        width: 100%;
        padding-right: 5px;
        padding-left: 5px;
    }
    .main-container {
        padding: 0px 20px;
    }
    h1, .h1 {
        font-size: 2.3rem;
    }
    .block-title {
        font-size: 1.6rem;
    }
    .block-subtitle {
        font-size: 1rem;
    }
}
