/* Product detail — hero gallery (dual carousels) */

main.pd-page {
  min-height: 100vh;
  background: #fff;
}

.pd-hero {
  padding: 8rem 0 2rem 0;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: #292929;
  margin-bottom: 1.25rem;
  transition: color 0.2s;
}

.pd-back:hover {
  color: #58669f;
}

.pd-back .fa {
  font-size: 0.85em;
}

.pd-hero-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.pd-hero-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  max-width: calc(100% - 140px);
}

.pd-hero-title-wrap h1 {
  font-family: "Oswald", sans-serif !important;
  font-size: clamp(1.5rem, 4vw, 2.25rem) !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.pd-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #58669f;
  color: #fff;
  font-family: "Roboto", sans-serif;
  white-space: nowrap;
}

.pd-share {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1px solid #d2d7df;
  background: #fff;
  color: #292929 !important;
  font-size: 0.95rem;
  font-family: "Roboto", sans-serif;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.pd-share:hover {
  border-color: #58669f;
  background: #f8f9fb;
}

.pd-share .fa {
  color: #58669f;
}

/* Gallery */
.pd-gallery {
  width: 90%;
  max-width: 1200px;
  max-height: 600px;
  margin: 0 auto;
  padding-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
}

@media only screen and (max-width: 900px) {
  .pd-gallery {
    flex-direction: column;
  }
}

.pd-gallery__main-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f2f7;
  width: calc(100% - 130px);
}

.pd-gallery__thumbs-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 130px;
  height: auto;
}

@media only screen and (max-width: 900px) {
  .pd-gallery {
    padding-bottom: 1rem;
    width: 95%;
  }
  .pd-gallery__main-wrap {
    width: 100%;
  }
  .pd-gallery__thumbs-wrap {
    flex-direction: row;
    min-height: auto;
    align-items: stretch;
    width: 100%;
    display: none !important;
  }
}

.pd-main-swiper,
.pd-thumbs-swiper {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.pd-gallery__main-wrap .pd-main-swiper {
  aspect-ratio: 5/4;
}

@media only screen and (max-width: 900px) {
  .pd-gallery__main-wrap .pd-main-swiper {
    aspect-ratio: 4 / 3;
  }
}

.pd-gallery__thumbs-wrap .pd-thumbs-swiper {
  flex: 1;
  min-height: 0;
  height: 100%;
}

@media (min-width: 901px) {
  .pd-gallery__thumbs-wrap .pd-thumbs-swiper {
    width: 100%;
    height: 100%;
    flex: none;
  }
}

@media only screen and (max-width: 900px) {
  .pd-gallery__thumbs-wrap .pd-thumbs-swiper {
    height: 96px;
    flex: 1;
  }

  .pd-hero {
    padding: 2.5rem 0 2rem 0;
  }
}

.pd-slide-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-main-swiper .swiper-slide {
  height: auto;
  width: 100% !important;
  height: 100% !important;
}

.pd-thumb-slide {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  height: 100% !important;
  width: 100% !important;
  background: #e7e9ee;
}

.pd-thumb-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-thumb-slide--more .pd-thumb-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Roboto", sans-serif;

  display: none !important;
}

/* Carousel arrows */
.pd-nav {
  position: absolute;
  z-index: 5;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #292929;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.pd-nav:hover {
  background: #fff;
  transform: scale(1.05);
}

.pd-nav.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.pd-gallery__main-wrap .pd-nav--prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.pd-gallery__main-wrap .pd-nav--prev i {
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  margin-right: 3px;
}

.pd-gallery__main-wrap .pd-nav--next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.pd-gallery__main-wrap .pd-nav--next i {
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  margin-left: 3px;
}

.pd-gallery__main-wrap .pd-nav--prev:hover,
.pd-gallery__main-wrap .pd-nav--next:hover {
  transform: translateY(-50%) scale(1.05);
}

.pd-gallery__thumbs-wrap .pd-nav--prev {
  left: 50%;
  top: 0.5rem;
  transform: translateX(-50%);
}

.pd-gallery__thumbs-wrap .pd-nav--next {
  left: 50%;
  bottom: 0.5rem;
  top: auto;
  transform: translateX(-50%);
}

@media only screen and (max-width: 900px) {
  .pd-gallery__thumbs-wrap .pd-nav--prev {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .pd-gallery__thumbs-wrap .pd-nav--next {
    right: 0;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
}

.pd-nav .fa {
  font-size: 1.1rem;
  color: #292929;
}

/* Swiper internal */
.pd-thumbs-swiper .swiper-slide {
  width: 100% !important;

  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-thumbs-swiper .swiper-slide-thumb-active .pd-thumb-slide {
  outline: 2px solid #58669f;
  outline-offset: 2px;
  width: calc(100% - 8px) !important;
  height: calc(100% - 12px) !important;
  margin: 0 auto;
}

/* ——— Overview + highlights + contact ——— */
.pd-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 4rem;
}

.pd-content-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: 2.5rem;
  align-items: start;
}

@media only screen and (max-width: 900px) {
  .pd-content-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pd-content {
    width: 95%;
    padding: 0 0 2rem 0;
  }
}

.pd-main-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}

.pd-section-title {
  font-family: "Oswald", sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin: 0 0 1rem !important;
}

.pd-overview .pd-description {
  font-size: 1rem;
  line-height: 1.65 !important;
  color: #5c5c5c;
  margin: 0 !important;
}

.pd-description--clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

main.pd-page .pd-read-more {
  margin-top: 0.65rem;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  border-radius: 0 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #111 !important;
  cursor: pointer;
  font-family: "Roboto", sans-serif !important;
  text-align: left;
}

main.pd-page .pd-read-more:hover {
  color: #58669f !important;
  background: none !important;
}

.pd-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pd-highlights {
  border: 1px solid #e7e9ee;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.35rem;
  background: #fafbfc;
}

.pd-highlights .pd-section-title {
  margin-bottom: 1rem !important;
}

.pd-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 0.75rem;
}

@media only screen and (max-width: 520px) {
  .pd-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pd-highlight-item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  min-width: 0;
}

.pd-highlight-icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  padding: 0.1rem 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #58669f;
}

.pd-highlight-icon-wrap .fa {
  color: #ffffff;
  font-size: 1.2rem;
}

.pd-highlight-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.pd-highlight-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a8088;
}

.pd-highlight-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  font-family: "Roboto", sans-serif !important;
}

.pd-contact-card {
  border: 1px solid #e7e9ee;
  border-radius: 12px;
  padding: 1.35rem 1.25rem 1.5rem;
  background: #fff;
  box-shadow: 0 8px 28px rgba(41, 41, 41, 0.06);
}

.pd-contact-card__title {
  font-family: "Oswald", sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin: 0 0 0.35rem !important;
  color: #111 !important;
}

.pd-contact-card__sub {
  font-size: 0.88rem;
  color: #7a8088;
  line-height: 1.45;
  margin: 0 0 1rem !important;
}

.pd-contact-card__link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: #292929 !important;
  margin-bottom: 0.65rem;
  transition: color 0.2s;
}

.pd-contact-card__link:hover {
  color: #58669f !important;
}

.pd-contact-card__link .fa {
  width: 1.1rem;
  color: #58669f;
}

.pd-contact-card__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eef0f4;
}

.pd-contact-card__socials a {
  font-size: 1.35rem;
  color: #58669f !important;
  transition: opacity 0.2s, transform 0.2s;
}

.pd-contact-card__socials a:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

main.pd-page .pd-buy-now {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 0.85rem 1.25rem !important;
  border-radius: 10px !important;
  border: none !important;
  background: #58669f !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  font-family: "Roboto", sans-serif !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}

main.pd-page .pd-buy-now:hover {
  background: #3d4a73 !important;
  color: #fff !important;
}

/* ——— Recommended products carousel (uses .catalog-card from products.css) ——— */
.pd-recommended {
  padding: 3rem 0;
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 28%);
  border-top: 1px solid #eef0f4;
}

.pd-recommended-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.pd-recommended .pd-section-title {
  font-size: 2.5rem !important;
  text-align: center;
}

.pd-rec-swiper-wrap {
  position: relative;
}

@media only screen and (max-width: 600px) {
  .pd-recommended {
    padding: 2rem 0;
  }
  .pd-rec-swiper-wrap {
    padding: 0 ;
  }

  .pd-recommended .pd-section-title {
    font-size: 2rem !important;
  }
}

.pd-rec-swiper {
  overflow: hidden;
  margin: 0;
  padding: 0.25rem;
}

/* #pd-recommended-slides {
  margin-top: 1rem;
  margin-bottom: 1rem;
} */

.pd-rec-swiper .swiper-wrapper {
  padding: 0.5rem 0 !important;
}

.pd-rec-swiper .swiper-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
}

.pd-rec-swiper .swiper-slide .catalog-card {
  width: 100%;
  min-height: 100%;
}

main.pd-page .pd-rec-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  border: none !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #292929 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  font-size: 1rem !important;
}

main.pd-page .pd-rec-nav:hover {
  background: #fff !important;
  color: #292929 !important;
  transform: translateY(-50%) scale(1.05);
}

main.pd-page .pd-rec-prev {
  left: 0;
}

main.pd-page .pd-rec-next {
  right: 0;
}

main.pd-page .pd-rec-nav.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}
