/* === ÐšÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ° Ñ‚Ð¾Ð²Ð°Ñ€Ð° === */
.product-page {
  padding: 20px 0 80px;
}

.product-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

/* --- Ð›ÐµÐ²Ð¾Ðµ Ð¼ÐµÐ½ÑŽ --- */
.sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

/* --- ÐšÐ¾Ð½Ñ‚ÐµÐ½Ñ‚ --- */
.product-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #333;
  line-height: 1.7;
  max-width: 100%;
  overflow-x: hidden;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  border: 1px solid var(--text);
  padding: 10px;
  border-radius: 2px;
}

.text-col {
  line-height: 1.65;
  color: #303030;
}

.product-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* --- ÐžÐ¿Ð¸ÑÐ°Ð½Ð¸Ðµ --- */
.product-description h2 {
  font-size: 22px;
  color: #000;
  margin: 25px 0 10px;
  font-weight: 600;
}

.product-description h3 {
  font-size: 18px;
  margin: 20px 0 10px;
  font-weight: 600;
  color: #222;
}

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

/* --- Ð¡Ñ…ÐµÐ¼Ð° --- */
.product-scheme {
  margin: 35px 0;
  text-align: center;
}

.product-scheme img {
  max-width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.scheme-caption {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
}
/* === Ð•Ð´Ð¸Ð½Ñ‹Ðµ ÑÑ‚Ð¸Ð»Ð¸ Ñ‚Ð°Ð±Ð»Ð¸Ñ† Ð½Ð° ÑÐ°Ð¹Ñ‚Ðµ === */

.tab {
  overflow-x: auto;
  margin: 15px 0 25px;
}

/* Ð‘Ð°Ð·Ð¾Ð²Ð°Ñ ÑÑ‚Ñ€ÑƒÐºÑ‚ÑƒÑ€Ð° */
.tab table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  table-layout: auto;
  font-size: 14px;
}

/* Ð¯Ñ‡ÐµÐ¹ÐºÐ¸ */
.tab th,
.tab td {
  border: 1px solid #ccc;
  padding: 10px 14px;
  /* vertical-align: middle; */
  color: #333;
}

/* Ð—Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¸ */
.tab th {
  font-weight: 600;
  color: #222;
  white-space: nowrap;
}

/* ÐŸÐµÑ€Ð²Ð°Ñ ÐºÐ¾Ð»Ð¾Ð½ÐºÐ° â€” Ð¾Ð±Ñ‹Ñ‡Ð½Ð¾ Ð½Ð°Ð¸Ð¼ÐµÐ½Ð¾Ð²Ð°Ð½Ð¸Ñ */
.tab td:first-child {
  text-align: left;
  font-weight: 500;
}

/* ÐÐºÑ†ÐµÐ½Ñ‚ Ð½Ð° Ñ†ÐµÐ½Ðµ */
.tab td.price,
.tab td:nth-child(2) {
  color: #a43b16;
  font-weight: 600;
}

/* Ð¡Ñ‚Ñ€Ð¾ÐºÐ¸ "Ð² Ð½Ð°Ð»Ð¸Ñ‡Ð¸Ð¸" */
.tab td.avail {
  color: #1a8a3a;
  font-weight: 600;
}

/* ÐŸÐ¾Ð´Ð¿Ð¸ÑÑŒ/Ð¿Ñ€Ð¸Ð¼ÐµÑ‡Ð°Ð½Ð¸Ñ */
.tab .note {
  margin-top: 10px;
  font-size: 13px;
  color: #777;
  text-align: left;
}

/* ===== ÐÐ´Ð°Ð¿Ñ‚Ð¸Ð² ===== */
@media (max-width: 768px) {
  .tab table {
    font-size: 2vw;
  }

  .tab th,
  .tab td {
    padding: 6px 5px;
  }
}

/* --- Ð”Ñ€ÑƒÐ³Ð¸Ðµ ÑÐµÑ€Ð¸Ð¸ --- */

.related-products h2 {
  font-size: 22px;
  font-weight: 500;
}

.related-card {
  border: 1px solid #afafaf;
  border-radius: 8px;
  padding: 7px;
}

.related-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.related-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.related-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.related-card p {
  font-size: 11px;
  color: #555;
}

/* --- ÐÐ´Ð°Ð¿Ñ‚Ð¸Ð² --- */
@media (max-width: 1024px) {
  .product-layout {
    grid-template-columns: 220px 1fr;
    gap: 25px;
  }

  .product-title {
    font-size: 26px;
  }
}

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

  .sidebar {
    position: relative;
    top: 0;
    display: none;
  }

  .product-title {
    font-size: 18px;
  }

  .btn {
    font-size: 12px;
  }
}
.product-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: #222;
  font-family: "Inter", sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

.content-block {
  display: flex;
  flex-direction: column;
  /* gap: 20px; */
}

.content-title {
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 600;
  color: #a43b16;
  margin-bottom: 12px;
}

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

.content-text {
  flex: 1 1 50%;
  line-height: 1.7;
  font-size: 16px;
}

.content-image {
  flex: 1 1 45%;
  position: relative;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.image-wrapper img {
  width: 100%;
  max-width: 500px;
  height: auto;

  border-radius: 4px;
  display: block;
}

/* ÐšÑ€Ð°ÑÐ½Ñ‹Ð¹ ÐºÐ²Ð°Ð´Ñ€Ð°Ñ‚ Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑŒÑŽ Ð² ÑƒÐ³Ð»Ñƒ */
.image-label {
  position: absolute;
  top: 0;
  left: 0;
  background: #a43b16;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ðŸ”¸ ÐÐ´Ð°Ð¿Ñ‚Ð¸Ð² */
@media (max-width: 768px) {
  .content-flex {
    flex-direction: column;
    gap: 20px;
  }
  .content-text,
  .content-image {
    flex: 1 1 100%;
  }
}

.video-inner {
  max-width: 100%;
  position: relative;
}

.plyr--video {
  border-radius: 3px;
  overflow: hidden;
}

.container-related-products {
  max-width: 900px;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.section-title {
  font-size: 28px;
  font-weight: 600;
  /* color: #a43b16; */
}
.section-title .term-link {
  color: #a43b16;
  text-decoration: none;
  transition: all 0.3s;
}

.related-swiper {
  position: relative;
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.related-item {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: auto;
}
.related-card {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgb(0 0 0 / 4%);
  width: 100%;
  box-sizing: border-box;
}
.related-thumb img {
  width: 100%;
  /* height: 240px; */
  object-fit: cover;
}
.related-info {
  padding: 5px;
}
.related-title {
  font-size: 18px;
  color: #a43b16;
  font-weight: 600;
  margin-bottom: 10px;
}
.related-title a {
  color: inherit;
  text-decoration: none;
}
.related-title a:hover {
  text-decoration: underline;
}
.related-text {
  color: #444;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .related-thumb img {
    height: initial;
  }

  .related-title {
    font-size: 14px;
  }

  .related-text {
    font-size: 11px;
  }

  .related-nav .swiper-button-prev,
  .related-nav .swiper-button-next {
    width: 17px !important;
    height: 17px !important;
  }

  .related-nav .swiper-button-prev::after,
  .related-nav .swiper-button-next::after {
    font-size: 8px !important;
  }
}
.related-nav {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.related-nav .swiper-button-prev,
.related-nav .swiper-button-next {
  position: static;
  width: 28px;
  height: 28px;
  background: #d94a3b;
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  cursor: pointer;
  margin: 0;
}

.related-nav .swiper-button-prev::after,
.related-nav .swiper-button-next::after {
  font-size: 13px;
  font-weight: 600;
}

.related-nav .swiper-button-prev:hover,
.related-nav .swiper-button-next:hover {
  background: #b53d2f;
}

.related-products {
  position: relative;
  overflow: hidden;
}

/* Ð¡Ð¿ÐµÑ†Ð¸Ñ„Ð¸Ñ‡Ð½Ñ‹Ðµ ÑÑ‚Ð¸Ð»Ð¸ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ð´Ð»Ñ ÑÐ»Ð°Ð¹Ð´ÐµÑ€Ð° ÑÐ²ÑÐ·Ð°Ð½Ð½Ñ‹Ñ… Ñ‚Ð¾Ð²Ð°Ñ€Ð¾Ð² */
.related-products .related-swiper {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  margin: 20px 0 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.related-products .related-swiper .swiper-wrapper {
  box-sizing: border-box !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.related-products .related-swiper .swiper-slide {
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}
/* ===== ÐšÐ°Ñ‚Ð°Ð»Ð¾Ð³ Ñ‚Ð¾Ð²Ð°Ñ€Ð¾Ð² ÐºÐ°Ñ‚ÐµÐ³Ð¾Ñ€Ð¸Ð¸ ===== */

.catalog-item {
  border: 1px solid #747474a6;
  border-radius: 2px;
  padding: 15px;
  box-shadow: 0 2px 20px rgb(0 0 0 / 21%);
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.catalog-title {
  font-size: 18px;
  font-weight: 600;
  color: #a43b16;
}

.catalog-desc {
  margin-bottom: 20px;
}

/* Ð“Ð°Ð»ÐµÑ€ÐµÑ */
.catalog-gallery {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-direction: row;
}
.catalog-gallery img {
  width: calc(50% - 8px);
  border-radius: 2px;
  border: 1px solid #ddd;
  object-fit: cover;
}

/* ===== ÐÐ´Ð°Ð¿Ñ‚Ð¸Ð² ===== */
@media (max-width: 768px) {
  .catalog-btn {
    width: 100%;
    text-align: center;
  }
  .catalog-header {
    /* display: flex; */
    flex-direction: column;
    align-items: flex-start;
  }
}
#toc-box {
  margin: 25px 0 35px;
}
#toc-box .toc-title {
  font-size: 17px;
  font-weight: 700;
  color: #a43b16;
  margin-bottom: 10px;
}
#toc-box .toc-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#toc-box .toc-list a {
  color: #a43b16;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
#toc-box .toc-list a:hover {
  text-decoration: underline;
  color: #8c3212;
}
