/* =========================
   Product Detail Page (Full)
   - Big slider with arrows
   - Thumbnails (NOT grey dots)
   - Bottom info panel like your screenshot
   ========================= */

.pd-page{
  width: 95%;
  margin: 100px auto 20px;
  padding: 0 18px;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ✅ BIG SLIDER */
.pd-hero{
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #bfbfbf;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

/* Title inside slider */
.pd-hero__title{
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  position: absolute;
  top: 26px;
  left: 28px;
  z-index: 7;
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  color: rgba(2, 2, 2, 0.445);
  letter-spacing: -0.5px;
}

/* Slides container */
.pd-slides{
  position: absolute;
  inset: 0;
}

/* Each slide */
.pd-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
}

.pd-slide.active{
  opacity: 1;
}

.pd-slide img{
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* Arrows */
.pd-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;

  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;

  background: rgba(240, 240, 240, 0.25);
  color: #111;
  font-size: 22px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.pd-nav:hover{
  background: rgba(0,0,0,.35);
  transform: translateY(-50%) scale(1.03);
}

.pd-prev{ left: 18px; }
.pd-next{ right: 18px; }

/* ✅ THUMBNAILS (small squares with images) */
.pd-thumbs{
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 9;
}

/* Each thumbnail button */
.pd-thumb{
  width: 54px;
  height: 54px;
  padding: 0;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;

  background: transparent; /* ✅ IMPORTANT: no grey background */
  box-shadow: 0 6px 14px rgba(0,0,0,.22);
  transition: transform .2s ease, box-shadow .2s ease, outline-color .2s ease;
}

.pd-thumb img{
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;      /* ✅ shows thumbnail image properly */
  display: block;
}

/* Active thumbnail */
.pd-thumb.active{
  outline: 3px solid rgba(255, 255, 255, 0.55);
  transform: scale(1.08);
}

/* Hover effect */
.pd-thumb:hover{
  transform: scale(1.06);
  box-shadow: 0 10px 20px rgba(0,0,0,.26);
}

/* ✅ Bottom panel (grey card) */
.pd-panel{
  width: 80%;
  margin: 50px auto 0;   /* ⬅ centers horizontally */
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  background: #ebebeb;
  border-radius: 18px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}


/* left side */
.pd-panel__left{
  flex: 1;
  min-width: 0;
}

.pd-panel__head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pd-panel__name{
  margin: 0;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: 2px;
  color: rgba(0,0,0,.55);
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* stock pill */
.pd-stock{
  background: #cde7c8;
  color: #2f6d2a;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* description */
.pd-desc{
  margin: 0;
  font-size: 16px;
  color: rgba(0,0,0,.65);
  max-width: 620px;
  line-height: 1.35;
}

/* right side */
.pd-panel__right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  min-width: 180px;
}

/* price */
.pd-price{
  font-size: 22px;
  font-weight: 900;
  color: rgb(172, 105, 30);
}

/* button */
.pd-inquiry{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  background: #254563;
  color: #e0e0e0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.555);
  transition: transform .2s ease, background .2s ease;
}

.pd-inquiry:hover{
  transform: translateY(-1px);
  background: #1a334b;
}

/* Responsive */
@media (max-width: 860px){
  .pd-hero{ height: 420px; }
  .pd-panel{
    flex-direction: column;
    align-items: flex-start;
  }
  .pd-panel__right{
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 520px){
  .pd-hero__title{
    font-size: 26px;
    top: 18px;
    left: 18px;
  }

  .pd-thumb{
    width: 46px;
    height: 46px;
  }
}


/* ===== Overview + Highlights section ===== */
.pd-sections{
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  width: 70%;
  min-height: 300px;
  margin: 50px auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 26px;
}

/* Common card style */
.pd-box{
  background: #ebebeb;
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow: 0 10px 26px rgba(0,0,0,.16);
}

/* Titles */
.pd-box__title{
  margin: 0 0 14px;
  letter-spacing: 1px;
  font-size: 20px;
  font-weight: 750;
  color: rgba(0,0,0,.55);
}

/* Overview text */
.pd-box__text{
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(0,0,0,.65);
  max-width: 620px;
}

/* Highlights list */
.pd-highlights{
  margin: 0;
  padding-left: 18px;
  line-height: 30px;
  font-size: 15px;
  color: rgba(0,0,0,.65);
}

.pd-highlights li{
  margin-bottom: 8px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px){
  .pd-sections{
    grid-template-columns: 1fr;
  }
}


/* ===== In the Box ===== */
.pd-boxset{
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  width: 50%;
  margin: 95px auto 95px;
  text-align: center;
}

.pd-boxset__title{
  margin: 0 0 25px;
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: 750;
  color: rgba(0,0,0,.65);
}

.pd-boxset__grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  justify-items: center;
}

/* each small card */
.pd-boxset__item{
  width: 122px;
  height: 122px;
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
  border-radius: 10px;
  padding: 10px;
}

.pd-boxset__img{
  width: 92px;
  height: 92px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-boxset__img img{
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.pd-boxset__meta{
  margin: 5px auto;
  font-size: 10px;
  color: rgba(0,0,0,.55);
  line-height: 1.1;
  justify-content: center;
}

.pd-boxset__name{
  font-weight: 600;
  font-size: 13px;
}

.pd-boxset__qty{
  font-weight: 600;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px){
  .pd-boxset__grid{
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 520px){
  .pd-boxset__grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ✅ Specifications & Features section */
.pd-specs{
  width: 80%;
  margin: 50px auto;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pd-specs__title{
  margin: 0;
  font-size: 26px;
  letter-spacing: 2px;
  font-weight: 750;
  color: #111;
}

.pd-specs__line{
  margin-top: 10px;
  height: 4px;
  width: 100%;
  background: rgba(0,0,0,.45);
  border-radius: 999px;
}

.pd-specs__intro{
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(0,0,0,.65);
}

.pd-specs__grid{
  margin: 40px auto;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 40px;
  align-items: center;
}


/* left list */
.pd-specs__list{
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.pd-specs__item{
  padding: 18px 0;
  font-size: 20px;
  font-weight: 650;
  color: rgba(0,0,0,.6);
  cursor: pointer;
  border-bottom: 1px solid #ddd;
  transition: color .2s ease;
   cursor: pointer;
}

.pd-specs__item:hover,
.pd-specs__item.active{
  color: #000;
  font-weight: 700;
}



/* right image block */
.pd-specs__media{
  position: relative;
  height: 320px;
}

.pd-specs__image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0;
  transition: opacity .3s ease;
}

.pd-specs__image.active{
  opacity: 1;
}

/* responsive */
@media (max-width: 980px){
  .pd-specs{ width: 92%; }
  .pd-specs__grid{
    grid-template-columns: 1fr;
  }
  .pd-specs__list{
    margin-left: 0;
    max-width: 100%;
  }
  .pd-specs__media{
    height: 300px;
  }
}


