body {
  background-color: #fff;
  font-family: "Segoe UI", Roboto, sans-serif;
  color: #222;
  line-height: 1.6;
}

/* Заглавия и описания */
h2, h3, h4, h5 {
  color: #333;
  margin-bottom: 10px;
}
.product-detail {
  font-weight: bold;
  margin-top: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #f4d8a4;
}

/* Златни бутони */
.btn-primary, .btn-default {
  background-color: #d4af37 !important;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn-primary:hover, .btn-default:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  background-color: #c7a22f !important;
}

/* Връзките в бутоните */
.btn a, .btn-primary h4 {
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
}

/* Снимка на продукта */
#product-img img {
  border-radius: 12px;
  border: 3px solid #d4af37;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
#product-img img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* Thumbnail вляво */
.product-img-thumb {
  border: 2px solid #f4d8a4;
  border-radius: 6px;
  padding: 2px;
  transition: all 0.3s ease;
}
.product-img-thumb:hover {
  border-color: #d4af37;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* FAQ секция */
.faq-section {
  background-color: #fffdf5;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.faq-item {
  margin-bottom: 15px;
}
.faq-item h3 {
  color: #b38f2c;
}

#myFooter {
  background-color: #000;
  color: #d4af37;
  padding: 60px 0 20px 0;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

#myFooter h5 {
  color: #ffd700;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 16px;
}

#myFooter h6 {
  color: #c0c0c0;
  font-size: 13px;
  line-height: 1.6;
}

#myFooter ul {
  list-style-type: none;
  padding-left: 0;
}

#myFooter ul li {
  margin-bottom: 8px;
}

#myFooter ul li a {
  color: #f0e68c;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

#myFooter ul li a:hover {
  color: #ffd700;
  text-decoration: underline;
}

/* Социални икони и логото */
#myFooter .social-networks {
  margin: 20px 0;
}

#myFooter .social-networks a img {
  transition: transform 0.3s ease;
}

#myFooter .social-networks a img:hover {
  transform: scale(1.1);
}

/* ====== Бутон "Свържете се с нас" ====== */

#myFooter .btn-default {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  border: none;
  color: #000;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 10px;
  margin-top: 25px;
  font-size: 10px; /* малък текст за всички устройства */
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

#myFooter .btn-default a {
  color: #000;
  text-decoration: none;
  display: block;
  line-height: 1.3;
}

#myFooter .btn-default:hover {
  background: linear-gradient(135deg, #b8860b, #ffd700);
  transform: translateY(-3px);
}

/* ====== Езикови знамена ====== */

#myFooter .footer-copyright .user-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
}

#myFooter .footer-copyright .user-menu li {
  display: inline-block;
}

#myFooter .footer-copyright .user-menu img {
  width: 36px;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 4px;
}

#myFooter .footer-copyright .user-menu img:hover {
  transform: scale(1.15);
}

/* ====== Долен текст ====== */

#myFooter .footer-copyright p {
  color: #aaa;
  font-size: 13px;
  margin-top: 20px;
}

/* ====== Responsive стилове ====== */

@media (max-width: 992px) {
  #myFooter {
    text-align: center;
    padding: 40px 15px;
  }

  #myFooter h5 {
    font-size: 15px;
  }

  #myFooter ul li a {
    font-size: 13px;
  }

  #myFooter .btn-default {
    font-size: 13px;
    padding: 8px 22px;
  }

  #myFooter .footer-copyright .user-menu img {
    width: 32px;
  }
}

@media (max-width: 600px) {
  #myFooter {
    padding: 35px 10px;
  }

  #myFooter h5 {
    font-size: 14px;
  }

  #myFooter ul li a {
    font-size: 12.5px;
  }

  #myFooter .btn-default {
    font-size: 12px; /* още по-малък надпис за мобилни */
    padding: 8px 20px;
  }

  #myFooter .footer-copyright .user-menu img {
    width: 28px;
  }
}
#myFooter .btn-default {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  border: none;
  color: #000;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 10px;
  margin-top: 25px;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

#myFooter .btn-default a {
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

#myFooter .btn-default i {
  font-size: 15px;
  transition: transform 0.3s ease;
}

/* Ховър ефект */
#myFooter .btn-default:hover {
  background: linear-gradient(135deg, #b8860b, #ffd700);
  transform: translateY(-3px);
}

/* Анимация на телефона при hover */
#myFooter .btn-default:hover i {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(10deg); }
  50% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

/* Responsive стилизация */
@media (max-width: 600px) {
  #myFooter .btn-default {
    font-size: 12.5px;
    padding: 8px 20px;
    gap: 6px;
  }

  #myFooter .btn-default i {
    font-size: 13px;
  }
}
/* Звезден рейтинг */
#rating-section i.fas {
  color: #d4af37;
}
#rating-section i.far {
  color: #ccc;
}
.rate-star:hover {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}

/* Подравняване и spacing */
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.col-md-5, .col-md-4, .col-md-1 {
  padding: 10px;
}
.related-products-swiper {
    margin-top: 20px;
}
.related-products-swiper .swiper-slide {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    font-family: "Segoe UI", Roboto, sans-serif;
}
.related-products-swiper .swiper-slide:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}
.related-products-swiper img {
    border-radius: 10px;
    border: 2px solid #d4af37;
    margin-bottom: 10px;
    width: 100%; /* по-големи снимки */
    max-width: 200px; /* ограничение за голям екран */
}
.related-products-swiper p {
    color: #000; /* черен текст */
    font-size: 14px;
    margin: 5px 0;
    font-weight: 500;
}
.swiper-button-next, .swiper-button-prev {
    color: #d4af37;
}
.related-products-swiper .price {
    font-weight: 700; /* удебелена */
    font-size: 16px;  /* малко по-голям шрифт */
    color: #000;      /* черен цвят */
    margin-top: 5px;
}
.related-products {
  margin-top: 60px;
}

.related-products h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #222;
  font-weight: 600;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Карта */
.related-card {
  text-decoration: none;
  color: #000;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

/* Снимка */
.related-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Заглавие */
.related-title {
  padding: 12px 14px 4px;
  font-size: 15px;
  font-weight: 500;
  color: #111;
}

/* Цена */
.related-price {
  padding: 0 14px 16px;
  font-size: 17px;
  font-weight: 700;
  color: #000;
}

.product-page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 30px 15px;
}

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

/* Галерия */
.product-gallery img {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  border: 3px solid #d4af37;
}

/* Информация */
.product-info h3 {
  font-size: 26px;
  line-height: 1.3;
}

/* Цена */
.price-description {
  font-size: 32px;
  font-weight: 700;
}

/* CTA бутон */
.add-to-cart {
  max-width: 420px;
}

/* ===== MOBILE ===== */
@media (max-width: 992px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    text-align: center;
  }
}
/* ====== MOBILE ====== */
@media (max-width: 768px) {

  .related-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .related-card {
    min-width: 48%;
    scroll-snap-align: start;
  }

  .related-card img {
    height: 260px;
  }
}