body {
  background: #f8f8f8;
}

.pd-page {
  max-width: 1200px;   /* 🔥 control width */
  margin: 0 auto;      /* 🔥 center page */
  display: flex;
  gap: 40px;
  padding: 20px;
}

/* LEFT */
.pd-left {
  width: 50%;
}

.pd-thumb-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-thumb-list img {
  width: 60px;
  cursor: pointer;
  border-radius: 6px;
}

.pd-main-img img {
  width: 100%;
  max-width: 450px;   /* 🔥 prevents over stretch */
  border-radius: 10px;
}

/* RIGHT */
.pd-right {
  width: 50%;
  max-width: 500px;
}

.pd-breadcrumb {
  font-size: 13px;
  color: #777;
}

.pd-title {
  font-size: 24px;
  margin: 10px 0;
}

.pd-price {
  font-size: 22px;
  font-weight: 600;
}

.mrp {
  text-decoration: line-through;
  color: #999;
  margin-left: 10px;
}

.off {
  color: green;
  margin-left: 10px;
}

.pd-rating {
  margin: 10px 0;
}

/* COLOR */
.pd-color-list {
  display: flex;
  gap: 10px;
}

.pd-color-item {
  padding: 8px 12px;
  border: 1px solid #ddd;
  cursor: pointer;
}

.pd-color-item.active {
  border: 2px solid #000;
}

/* SIZE */
.pd-size-list {
  display: flex;
  gap: 10px;
}

.pd-size-item {
  padding: 8px 12px;
  border: 1px solid #ddd;
  cursor: pointer;
}

.pd-size-item.active {
  border: 2px solid #000;
}

/* BUTTON */
.pd-cart-btn {
  width: 100%;
  background: #ffc107;
  border: none;
  padding: 14px;
  font-size: 18px;
  margin-top: 20px;
  cursor: pointer;
}

.pd-cart-btn-tr {
  width: 100%;
  background: #41c0e7;
  border: none;
  padding: 14px;
  font-size: 18px;
  margin-top: 20px;
  cursor: pointer;
}

/* TABS */
.pd-tabs {
  padding: 20px 30px;
}

.pd-tab-head span {
  margin-right: 20px;
  cursor: pointer;
}

.pd-tab-head .active {
  border-bottom: 2px solid #000;
}

.pd-tab-content {
  display: none;
  margin-top: 10px;
}

.pd-tab-content.active {
  display: block;
}



/* ACTION ROW */
.pd-action-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pd-wishlist {
  width: 50px;
  height: 50px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  cursor: pointer;
  font-size: 20px;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pd-wishlist:hover,
.pd-wishlist.active {
  color: #e53935;
  border-color: #ffd4dc;
}

/* PINCODE */
.pd-pincode {
  display: flex;
  margin-top: 10px;
}

.pd-pincode input {
  flex: 1;
  padding: 10px;
}

.pd-pincode button {
  padding: 10px;
  background: black;
  color: white;
  border: none;
}

/* MOBILE */
@media (max-width: 768px) {

  .pd-page {
    flex-direction: column;
  }

  .pd-left,
  .pd-right {
    width: 100%;
  }

  .pd-thumb-list {
    flex-direction: row;
    overflow-x: auto;
  }

  .pd-thumb-list img {
    width: 50px;
  }

}


/* SECTION */
.pd-related {
  padding: 30px;
}

.pd-related h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* GRID */
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* CARD */
.pd-related-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid #eee;
}

.pd-related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* IMAGE */
.pd-related-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.pd-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* INFO */
.pd-related-info {
  padding: 10px;
}

/* NAME */
.pd-related-name {
  font-size: 14px;
  color: #222;
  height: 38px;
  overflow: hidden;
  line-height: 1.4;
}

/* PRICE */
.pd-related-price {
  font-weight: 600;
  margin-top: 5px;
}

/* MOBILE */
@media (max-width: 768px) {
  .pd-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* DESCRIPTION CONTENT */
.pd-long-desc {
  margin-top: 10px;
  line-height: 1.6;
}

/* TABLE STYLE */
.pd-long-desc table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.pd-long-desc th,
.pd-long-desc td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.pd-long-desc th {
  background: #f5f5f5;
}

/* HEADINGS */
.pd-long-desc h1,
.pd-long-desc h2 {
  margin-top: 15px;
}

/* REMOVE weird spacing */
.pd-long-desc p {
  margin: 10px 0;
}

/* SECTION SPACING */
.pd-section {
  margin-top: 20px;
}

/* LABEL */
.pd-label {
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

/* COLOR LIST */
.pd-color-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* COLOR BUTTON */
.pd-color-item {
  padding: 10px 16px;
  border-radius: 20px; /* 🔥 pill shape */
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 13px;
  transition: 0.3s;
  background: #f5f5f5;
}

/* HOVER */
.pd-color-item:hover {
  transform: translateY(-2px);
}

/* ACTIVE */
.pd-color-item.active {
  border: 2px solid #000;
  font-weight: 600;
}

/* SIZE LIST */
.pd-size-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* SIZE BUTTON */
.pd-size-item {
  width: 45px;
  height: 45px;
  border-radius: 50%; /* 🔥 round */
  border: 1px solid #C2B8B8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

/* HOVER */
.pd-size-item:hover {
  transform: scale(1.05);
}

/* ACTIVE */
.pd-size-item.active {
  border: 2px solid #000;
  font-weight: 600;
  background: #000;
  color: #fff;
}


/* SLIDER */
.pd-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.pd-slide {
  min-width: 100%;
  scroll-snap-align: start;
}

.pd-slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* DOTS */
.pd-dots {
  text-align: center;
  margin-top: 8px;
}

.dot {
  height: 8px;
  width: 8px;
  margin: 0 4px;
  background: #ccc;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #000;
}

/* DESKTOP FIX */
@media (min-width: 768px) {
  .pd-slider {
    overflow: hidden;
  }
}


.zoom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background: rgba(0,0,0,0.9);

  display: none;
  justify-content: center;
  align-items: center;

  z-index: 99999;   /* 🔥 very important */
}

.zoom-modal.active {
  display: flex;
}

.zoom-modal img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}

/* MOBILE FIX */
@media (max-width: 768px) {

  .pd-left {
    display: block !important;   /* 🔥 override desktop flex */
    width: 100%;
  }

  .pd-slider {
    width: 100%;
  }

  .pd-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

}

/* DEFAULT = DESKTOP */
.pd-mobile-gallery {
  display: none;
}

.pd-desktop-gallery {
  display: flex;          /* 🔥 MAIN FIX */
  gap: 15px;
  align-items: flex-start;
}

/* THUMBNAILS */
.pd-thumb-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-thumb-list img {
  width: 60px;
  cursor: pointer;
  border-radius: 6px;
}

/* MAIN IMAGE */
.pd-main-img img {
  width: 400px;   /* 🔥 FIX SIZE */
  max-width: 100%;
  border-radius: 10px;
}

/* MOBILE ONLY */
@media (max-width: 768px) {

  .pd-desktop-gallery {
    display: none;
  }

  .pd-mobile-gallery {
    display: block;
  }

  .pd-left {
    width: 100%;
  }

  .pd-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .pd-slide {
    min-width: 100%;
  }

  .pd-slide img {
    width: 100%;
  }

  .pd-dots {
    text-align: center;
    margin-top: 8px;
  }
}

.pd-thumb-list img.active {
  border: 2px solid #000;
}

.pd-size-item.disabled {
  pointer-events: none; 
  opacity: 0.5;
  position: relative;
  color: #BFB8B8;
  border: 1px solid #C2B8B8;
  cursor: not-allowed;
}
 
.pd-size-item.disabled:hover {
  transform: none;
}

.pd-size-item.disabled::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #D9D4D4;
  top: 50%;
  left: 0;
  transform: rotate(-40deg);
}
.pd-main-img img {
  transition: opacity 0.3s ease;
}

/* MAIN LAYOUT */
.bl-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* LEFT IMAGE (REDUCED SIZE) */
.bl-left {
  width: 40%;   /* 🔥 reduced from 50% */
}

.bl-left img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}

/* RIGHT SIDE */
.bl-right {
  width: 60%;
}

/* THUMBNAILS (BIGGER NOW) */
.bl-thumbs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.bl-thumb {
  width: 90px;   /* 🔥 increased */
  height: 110px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
}

.bl-thumb.active {
  border-color: #000;
}

/* PRODUCT BLOCK */
.bl-product {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.bl-product img {
  width: 200px;
  border-radius: 10px;
}




/* =========================
   BUY THE LOOK SECTION
========================= */
.pd-buylook {
  margin: 50px 0;
  padding: 30px;
  background: #f8f8f8;   /* 🔥 light background */
  border-radius: 12px;
}

/* HEADER */
.bl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 0 10px;   /* 🔥 spacing */
}

.bl-header h3 {
  font-size: 20px;
  font-weight: 600;
}

/* =========================
   LAYOUT
========================= */
.bl-container {
  display: flex;
  gap: 40px;
  align-items: stretch;   /* 🔥 equal height */
}

/* LEFT IMAGE */
.bl-left {
  width: 40%;
  display: flex;
}

.bl-left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

/* RIGHT SIDE */
.bl-right {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 10px;  /* 🔥 push right slightly */
}

/* =========================
   THUMBNAILS
========================= */
.bl-thumbs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.bl-thumb {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.3s;
}

.bl-thumb.active {
  border-color: #000;
  transform: scale(1.05);
}

/* =========================
   PRODUCT PANEL
========================= */
.bl-product {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  height: 100%;
}

/* 🔥 BIGGER SELECTED IMAGE */
.bl-product img {
  width: 240px;   /* 🔥 increased */
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

/* INFO */
.bl-info {
  flex: 1;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

  .pd-buylook {
    padding: 15px;
  }

  .bl-container {
    flex-direction: column;
    gap: 20px;
  }

  .bl-left {
    width: 100%;
  }

  .bl-right {
    width: 100%;
    padding-left: 0;
  }

  .bl-product {
    flex-direction: column;
  }

  .bl-product img {
    width: 100%;
    max-height: 300px;
  }

  .bl-thumbs {
    overflow-x: auto;
  }

  .bl-thumb {
    flex: 0 0 auto;
  }
}

.bl-product {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
}

.bl-thumb:hover {
  transform: scale(1.08);
}


.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.3s;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* RENT BUTTON STYLE */
.rent-btn {
  background: #8ce551;   /* pista green */
  color: #000;
}

.rent-btn:hover {
  background: #7fb85f;
}

/* RENT PRICE STYLE */
.rent-price {
  font-size: 18px;
  font-weight: 600;
  color: #2e7d32;
  margin-bottom: 5px;
}

.rent-security {
  font-size: 14px;
  color: #444;
}

.rent-note {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}

.pd-related-price .mrp {
  text-decoration: line-through;
  color: #888;
  margin-left: 6px;
}

.pd-related-price .off {
  color: green;
  font-size: 12px;
  margin-left: 6px;
}

/* REVIEW SUMMARY */
.pd-review-summary {
  margin-bottom: 25px;
}

.pd-review-rating {
  font-size: 28px;
  font-weight: bold;
}

.pd-review-count {
  color: #666;
}

/* REVIEW LIST */
.pd-review-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* CARD */
.pd-review-card {
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.pd-review-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.pd-review-stars {
  color: #f5a623;
  font-weight: 600;
  margin-bottom: 10px;
}

.pd-review-media img {
  width: 120px;
  border-radius: 10px;
  margin-bottom: 12px;
  cursor: pointer;
}

.pd-review-date {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.pd-review-text {
  line-height: 1.7;
  margin-bottom: 10px;
}

.pd-review-user {
  font-size: 13px;
  color: #666;
}

/* EMPTY */
.pd-no-review {
  color: #777;
}

.hidden-buylook{
  display:none;
}
