/* ===========================================
   PRODUCT DETAIL PAGE (PDP) STYLES
   =========================================== */

/* ---- Breadcrumb ---- */
.pdp-breadcrumb {
  background: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  padding: 10px 0;
}
.pdp-breadcrumb-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #888;
  flex-wrap: wrap;
}
.pdp-breadcrumb-inner a {
  color: #888;
  text-decoration: none;
  transition: color .2s;
}
.pdp-breadcrumb-inner a:hover { color: var(--black); }
.pdp-breadcrumb-inner i { font-size: 10px; color: #bbb; }
.pdp-breadcrumb-inner span { color: var(--black); font-weight: 600; }

/* ---- Main layout ---- */
.pdp-wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* ==========================
   GALLERY (LEFT)
   ========================== */
.pdp-gallery {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
  width: 54%;
  max-width: 700px;
  position: sticky;
  top: calc(var(--navbar-h, 64px) + 16px);
  align-self: flex-start;
}

/* Thumbnail strip */
.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 72px;
  flex-shrink: 0;
}

.pdp-thumb {
  width: 72px;
  height: 88px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #e8e8e8;
  cursor: pointer;
  transition: border-color .2s;
  flex-shrink: 0;
}
.pdp-thumb.active { border-color: var(--black); }
.pdp-thumb:hover { border-color: #999; }

.pdp-thumb-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

/* Main image area */
.pdp-main-img-wrap {
  flex: 1;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
}

.pdp-main-imgs {
  position: relative;
  aspect-ratio: 3/4;
  width: 100%;
}

.pdp-main-img {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s ease;
  border-radius: 10px;
}
.pdp-main-img.active { opacity: 1; z-index: 1; }

/* ---- Image Zoom ---- */
.pdp-main-img-wrap {
  cursor: zoom-in;
}
.pdp-main-img-wrap.zoomed {
  cursor: zoom-out;
  overflow: visible;
  z-index: 10;
}
.pdp-main-img-wrap.zoomed .pdp-main-img img {
  transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
  transform: scale(2.2);
  transition: transform-origin 0s;
}
.pdp-main-img-wrap:not(.zoomed) .pdp-main-img img {
  transform: scale(1);
  transition: transform .25s ease;
}
/* Zoom hint icon */
.pdp-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,.5);
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 2;
  pointer-events: none;
  opacity: .8;
  transition: opacity .2s;
}
.pdp-main-img-wrap:hover .pdp-zoom-hint { opacity: 1; }
.pdp-main-img-wrap.zoomed .pdp-zoom-hint { display: none; }

.pdp-main-emoji {
  font-size: 130px;
  line-height: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.3));
  pointer-events: none;
  user-select: none;
}

.pdp-img-label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Nav arrows */
.pdp-img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.88);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  transition: background .2s, transform .15s;
  color: var(--black);
}
.pdp-img-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.pdp-img-nav.prev { left: 10px; }
.pdp-img-nav.next { right: 10px; }

/* Dots — hidden on desktop */
.pdp-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 6px;
  z-index: 10;
}
.pdp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s, transform .2s;
  display: inline-block;
}
.pdp-dot.active { background: #fff; transform: scale(1.3); }

/* Badge on image */
.pdp-img-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .5px;
  text-transform: uppercase;
  z-index: 10;
}
.pdp-img-badge.sale { background: var(--red); }
.pdp-img-badge.exclusive { background: #7b2d8b; }
.pdp-img-badge.new { background: #2a9d4f; }

/* Wishlist on image */
.pdp-img-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  font-size: 17px;
  color: #999;
  z-index: 10;
  transition: color .2s, transform .2s;
}
.pdp-img-wishlist:hover,
.pdp-img-wishlist.active { color: var(--red); }

/* ==========================
   INFO PANEL (RIGHT)
   ========================== */
.pdp-info {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.pdp-brand {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.pdp-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.25;
  margin: 0 0 12px;
  font-family: var(--font-heading);
}

/* Rating row */
.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.pdp-stars {
  color: #f4a261;
  font-size: 13px;
  display: flex;
  gap: 2px;
}
.pdp-rating-count {
  font-size: 13px;
  color: #555;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.pdp-rating-val {
  font-size: 12px;
  background: #2a9d4f;
  color: #fff;
  padding: 3px 9px;
  border-radius: 12px;
  font-weight: 700;
}

/* Price row */
.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.pdp-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
  font-family: var(--font-heading);
}
.pdp-mrp {
  font-size: 14px;
  color: #aaa;
}
.pdp-off {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}
.pdp-tax-note {
  font-size: 11px;
  color: #888;
  margin-bottom: 20px;
}

/* Section spacing */
.pdp-section { margin-bottom: 20px; }

.pdp-option-label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pdp-option-label strong { color: var(--black); }

/* Color buttons */
.pdp-colors { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp-color-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #ddd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s, border-color .15s;
  outline: none;
  flex-shrink: 0;
}
.pdp-color-btn.active { border-color: var(--black); transform: scale(1.12); }
.pdp-color-btn:hover { transform: scale(1.08); }

/* Size buttons */
.pdp-sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.pdp-size-btn {
  min-width: 50px;
  height: 42px;
  border-radius: 6px;
  border: 1.5px solid #ddd;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  padding: 0 10px;
  font-family: var(--font-heading);
}
.pdp-size-btn:hover { border-color: var(--black); }
.pdp-size-btn.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.pdp-size-btn.out-of-stock {
  color: #ccc;
  border-color: #eee;
  text-decoration: line-through;
  cursor: not-allowed;
}
.pdp-size-error {
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pdp-size-guide-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  background: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  white-space: nowrap;
  transition: border-color .2s;
}
.pdp-size-guide-btn:hover { border-color: var(--black); }

/* CTA Row */
.pdp-cta-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.pdp-add-bag {
  flex: 1;
  height: 50px;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, transform .1s;
  font-family: var(--font-heading);
}
.pdp-add-bag:hover { background: #2a2a2a; }
.pdp-add-bag:active { transform: scale(.98); }

.pdp-wishlist-btn {
  width: 50px;
  height: 50px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-size: 20px;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .2s, color .2s;
}
.pdp-wishlist-btn:hover,
.pdp-wishlist-btn.active { border-color: var(--red); color: var(--red); }

.pdp-buy-now {
  width: 100%;
  height: 50px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .8px;
  cursor: pointer;
  transition: background .2s, transform .1s;
  margin-bottom: 18px;
  font-family: var(--font-heading);
}
.pdp-buy-now:hover { background: #c9281d; }
.pdp-buy-now:active { transform: scale(.98); }

/* Offers */
.pdp-offers {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: #fafafa;
}
.pdp-offers-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
}
.pdp-offer-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #555;
  margin-bottom: 6px;
  line-height: 1.4;
}
.pdp-offer-item i { color: #2a9d4f; margin-top: 2px; flex-shrink: 0; }
.pdp-offer-item:last-child { margin-bottom: 0; }

/* Delivery */
.pdp-delivery {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.pdp-delivery-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
}
.pdp-pincode-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.pdp-pincode-input {
  flex: 1;
  height: 40px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: border-color .2s;
  letter-spacing: 1px;
  font-family: var(--font-main);
}
.pdp-pincode-input:focus { border-color: var(--black); }
.pdp-pincode-check {
  height: 40px;
  padding: 0 16px;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .5px;
  transition: background .2s;
  font-family: var(--font-heading);
}
.pdp-pincode-check:hover { background: #333; }
.pdp-pincode-result {
  font-size: 12px;
  font-weight: 600;
  min-height: 16px;
  margin-bottom: 10px;
  color: #2a9d4f;
}
.pdp-pincode-result.error { color: var(--red); }

.pdp-delivery-badges {
  display: flex;
  border-top: 1px solid #ebebeb;
  padding-top: 12px;
}
.pdp-del-badge {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #555;
  text-align: center;
  line-height: 1.3;
  border-right: 1px solid #ebebeb;
  padding: 0 4px;
  font-family: var(--font-heading);
}
.pdp-del-badge:last-child { border-right: none; }
.pdp-del-badge i { font-size: 18px; color: var(--black); }

/* Accordion */
.pdp-accordion { margin-bottom: 14px; }

.pdp-acc-item {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.pdp-acc-header {
  width: 100%;
  background: #fff;
  border: none;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  text-align: left;
  transition: background .15s;
  font-family: var(--font-heading);
}
.pdp-acc-header:hover { background: #f9f9f9; }
.pdp-acc-icon { transition: transform .25s; font-size: 14px; color: #777; }

.pdp-acc-body {
  padding: 0 16px 16px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}
.pdp-acc-body p { margin: 0 0 10px; }

.pdp-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pdp-highlights li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}
.pdp-highlights li i { color: var(--black); font-size: 11px; flex-shrink: 0; }

.pdp-care-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pdp-care-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}
.pdp-care-list li i { color: #3498db; font-size: 13px; flex-shrink: 0; }

.pdp-sku {
  font-size: 11px;
  color: #aaa;
  margin-top: 10px;
}
.pdp-sku span { font-weight: 600; }

/* Share */
.pdp-share {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #777;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.pdp-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #555;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.pdp-share-btn:hover { background: var(--black); color: #fff; }

/* ==========================
   RATINGS & REVIEWS
   ========================== */
.pdp-reviews-section {
  background: #f9f9f9;
  border-top: 1px solid #ebebeb;
  padding: 48px 0;
}
.pdp-reviews-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
}
.pdp-section-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  margin: 0 0 28px;
  font-family: var(--font-heading);
}

.pdp-rating-summary {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.pdp-rating-big {
  text-align: center;
  flex-shrink: 0;
  min-width: 110px;
}
.pdp-rating-num {
  font-size: 52px;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}
.pdp-stars-lg { font-size: 18px; justify-content: center; margin-bottom: 6px; }
.pdp-rating-total { font-size: 12px; color: #888; }

.pdp-rating-bars { flex: 1; min-width: 200px; }
.pdp-rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.pdp-bar-label { font-size: 12px; color: #555; width: 32px; flex-shrink: 0; }
.pdp-bar-track {
  flex: 1;
  height: 8px;
  background: #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
}
.pdp-bar-fill { height: 100%; border-radius: 4px; transition: width .4s; }
.pdp-bar-pct { font-size: 11px; color: #888; width: 28px; text-align: right; }

/* Review cards */
.pdp-reviews-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }

.pdp-review-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  padding: 16px 18px;
}
.pdp-review-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.pdp-reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-heading);
}
.pdp-reviewer-meta { flex: 1; min-width: 0; }
.pdp-reviewer-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pdp-verified {
  font-size: 11px;
  color: #2a9d4f;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
}
.pdp-review-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
  color: #f4a261;
  font-size: 12px;
}
.pdp-review-date { color: #aaa; font-size: 11px; margin-left: 8px; }
.pdp-review-title { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 5px; font-family: var(--font-heading); }
.pdp-review-body { font-size: 13px; color: #555; line-height: 1.5; margin-bottom: 10px; }
.pdp-review-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.pdp-review-tags span {
  font-size: 11px;
  background: #f1f2f2;
  color: #666;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}
.pdp-review-helpful {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #888;
}
.pdp-review-helpful button {
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 12px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: border-color .2s, color .2s;
}
.pdp-review-helpful button:hover { border-color: var(--black); color: var(--black); }

.pdp-load-more-reviews {
  display: block;
  margin: 0 auto;
  padding: 12px 32px;
  border: 2px solid var(--black);
  background: #fff;
  color: var(--black);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s;
  letter-spacing: .3px;
  font-family: var(--font-heading);
}
.pdp-load-more-reviews:hover { background: var(--black); color: #fff; }

/* ==========================
   SIMILAR PRODUCTS
   ========================== */
.pdp-similar {
  padding: 40px 0;
  border-top: 1px solid #ebebeb;
}
.pdp-similar-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
}
.pdp-similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ==========================
   SIZE GUIDE MODAL
   ========================== */
.pdp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pdp-modal-overlay.open { display: flex; }

.pdp-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.pdp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #ebebeb;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.pdp-modal-header h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
  margin: 0;
  font-family: var(--font-heading);
}
.pdp-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #777;
  line-height: 1;
  padding: 0;
  transition: color .2s;
}
.pdp-modal-close:hover { color: var(--black); }
.pdp-modal-body { padding: 18px 20px; }

.pdp-size-note {
  font-size: 12px;
  color: #888;
  margin-bottom: 14px;
  line-height: 1.5;
}

.pdp-size-table-wrap { overflow-x: auto; margin-bottom: 18px; }
.pdp-size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 280px;
}
.pdp-size-table th,
.pdp-size-table td {
  border: 1px solid #e8e8e8;
  padding: 9px 14px;
  text-align: center;
}
.pdp-size-table thead th {
  background: var(--black);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .4px;
  font-family: var(--font-heading);
}
.pdp-size-table tbody tr:nth-child(even) { background: #f9f9f9; }
.pdp-size-table tbody td:first-child { font-weight: 700; color: var(--black); }

.pdp-how-to-measure h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 8px;
  font-family: var(--font-heading);
}
.pdp-how-to-measure ul { padding-left: 16px; margin: 0; }
.pdp-how-to-measure li {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 4px;
}

/* ==========================
   STICKY BAR (mobile)
   ========================== */
.pdp-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #ebebeb;
  padding: 10px 16px;
  z-index: 500;
  box-shadow: 0 -4px 16px rgba(0,0,0,.1);
  align-items: center;
  gap: 12px;
}
.pdp-sticky-info { flex: 1; min-width: 0; }
.pdp-sticky-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdp-sticky-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--black);
  font-family: var(--font-heading);
}
.pdp-sticky-add {
  flex-shrink: 0;
  height: 44px;
  padding: 0 20px;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .2s;
  font-family: var(--font-heading);
  white-space: nowrap;
}
.pdp-sticky-add:hover { background: #333; }

/* ==========================
   RESPONSIVE — 1100px
   ========================== */
@media (max-width: 1100px) {
  .pdp-wrap { gap: 32px; }
  .pdp-gallery { width: 50%; }
  .pdp-similar-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .pdp-name { font-size: 20px; }
}

/* ==========================
   RESPONSIVE — TABLET 768px
   ========================== */
@media (max-width: 768px) {
  .pdp-wrap {
    flex-direction: column;
    padding: 16px 14px 84px;
    gap: 0;
  }

  /* Gallery goes full width, thumbs go below as horizontal strip */
  .pdp-gallery {
    width: 100%;
    max-width: 100%;
    position: static;
    flex-direction: column-reverse;
    gap: 10px;
    margin-bottom: 20px;
  }

  .pdp-thumbs {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .pdp-thumbs::-webkit-scrollbar { display: none; }

  .pdp-thumb {
    width: 60px;
    height: 74px;
    flex-shrink: 0;
  }

  .pdp-main-imgs { aspect-ratio: 4/3; }
  .pdp-main-emoji { font-size: 90px; }
  .pdp-dots { display: flex; }

  .pdp-sticky-bar { display: flex; }
  .pdp-buy-now { display: none; }

  .pdp-name { font-size: 18px; }
  .pdp-price { font-size: 24px; }

  .pdp-similar-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pdp-reviews-section { padding: 32px 0; }
  .pdp-section-heading { font-size: 18px; }
  .pdp-rating-summary { gap: 24px; }

  .pdp-breadcrumb-inner { padding: 0 14px; }
  .pdp-reviews-inner,
  .pdp-similar-inner { padding: 0 14px; }
}

/* ==========================
   RESPONSIVE — MOBILE 480px
   ========================== */
@media (max-width: 480px) {
  .pdp-wrap { padding: 12px 12px 80px; }

  .pdp-name { font-size: 16px; }
  .pdp-price { font-size: 22px; }
  .pdp-off { font-size: 13px; }
  .pdp-mrp { font-size: 13px; }

  .pdp-thumb { width: 54px; height: 66px; }
  .pdp-main-emoji { font-size: 72px; }

  .pdp-img-nav { width: 32px; height: 32px; font-size: 14px; }
  .pdp-img-nav.prev { left: 6px; }
  .pdp-img-nav.next { right: 6px; }

  .pdp-size-btn { min-width: 44px; height: 40px; font-size: 12px; }

  .pdp-add-bag { height: 46px; font-size: 12px; }
  .pdp-wishlist-btn { width: 46px; height: 46px; font-size: 18px; }

  .pdp-del-badge i { font-size: 16px; }
  .pdp-del-badge { font-size: 9px; }

  .pdp-acc-header { padding: 12px 14px; font-size: 12px; }
  .pdp-acc-body { padding: 0 14px 14px; font-size: 12px; }

  .pdp-similar-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pdp-similar { padding: 28px 0; }

  .pdp-rating-summary { flex-direction: column; gap: 16px; }
  .pdp-rating-num { font-size: 42px; }

  .pdp-reviews-inner,
  .pdp-similar-inner { padding: 0 12px; }
  .pdp-breadcrumb-inner { padding: 0 12px; font-size: 11px; }

  .pdp-review-card { padding: 13px 14px; }
  .pdp-section-heading { font-size: 16px; margin-bottom: 18px; }

  .pdp-pincode-input { font-size: 13px; }
  .pdp-pincode-check { padding: 0 12px; font-size: 11px; }

  .pdp-modal { border-radius: 8px; }
  .pdp-modal-body { padding: 14px 14px; }
}

/* ==========================
   RESPONSIVE — SMALL 360px
   ========================== */
@media (max-width: 360px) {
  .pdp-name { font-size: 14px; }
  .pdp-price { font-size: 20px; }
  .pdp-size-btn { min-width: 38px; height: 38px; font-size: 11px; padding: 0 6px; }
  .pdp-colors { gap: 6px; }
  .pdp-color-btn { width: 26px; height: 26px; }
  .pdp-similar-grid { gap: 6px; }
  .pdp-sticky-add { padding: 0 14px; font-size: 11px; }
}

/* ==========================
   REVIEWS SYSTEM — NEW
   ========================== */
.pdp-write-review-bar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 20px;
}
.pdp-write-review-btn {
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .15s;
}
.pdp-write-review-btn:hover { background: #333; transform: translateY(-1px); }

/* Review Form */
.pdp-review-form-wrap {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
}
.pdp-review-form-inner { padding: 24px; }
.pdp-review-form-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: #1a1a1a;
}
.pdp-review-form-success,
.pdp-review-form-error {
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .875rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pdp-review-form-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.pdp-review-form-error   { background: #fff5f5; color: #c53030; border: 1px solid #fed7d7; }
.pdp-rf-group { margin-bottom: 16px; }
.pdp-rf-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.pdp-rf-input {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border .2s;
  background: #fff;
}
.pdp-rf-input:focus { border-color: #1a1a1a; }
.pdp-rf-textarea { resize: vertical; min-height: 90px; }
.pdp-rf-charcount { text-align: right; font-size: .73rem; color: #9ca3af; margin-top: 4px; }
.pdp-rf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pdp-rf-actions { display: flex; gap: 10px; margin-top: 20px; }
.pdp-rf-submit {
  flex: 1;
  padding: 12px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .4px;
  transition: background .2s;
}
.pdp-rf-submit:hover { background: #333; }
.pdp-rf-submit:disabled { opacity: .6; cursor: not-allowed; }
.pdp-rf-cancel {
  padding: 12px 20px;
  background: #fff;
  color: #6b7280;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: .875rem;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s;
}
.pdp-rf-cancel:hover { border-color: #9ca3af; }

/* Star picker */
.pdp-star-picker {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pdp-star-pick {
  font-size: 1.6rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: color .15s, transform .1s;
  line-height: 1;
  user-select: none;
}
.pdp-star-pick:hover,
.pdp-star-pick.active { color: #F5A623; }
.pdp-star-pick:active  { transform: scale(.9); }
.pdp-star-pick-label {
  font-size: .8rem;
  color: #9ca3af;
  margin-left: 8px;
}

/* Sort bar */
.pdp-reviews-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.pdp-reviews-count-lbl { font-size: .875rem; color: #6b7280; font-weight: 600; }
.pdp-sort-group { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: #6b7280; }
.pdp-sort-select {
  padding: 6px 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  font-size: .82rem;
  font-family: inherit;
  outline: none;
  background: #fff;
  cursor: pointer;
}
.pdp-sort-select:focus { border-color: #1a1a1a; }

/* No reviews */
.pdp-no-reviews {
  text-align: center;
  padding: 40px 20px;
  color: #9ca3af;
}
.pdp-no-reviews i { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.pdp-reviews-loading { text-align: center; padding: 32px; color: #9ca3af; font-size: .9rem; }
.pdp-already-reviewed {
  font-size: .82rem;
  color: #16a34a;
  padding: 8px 14px;
  background: #f0fdf4;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Helpful buttons */
.rev-helpful-btn {
  background: none;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 11px;
  font-size: .8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6b7280;
  transition: border-color .2s, color .2s;
  font-family: inherit;
}
.rev-helpful-btn:hover { border-color: #1a1a1a; color: #1a1a1a; }
.rev-disabled { opacity: .6; cursor: default; }

/* Load more */
.pdp-load-more-reviews {
  display: inline-block;
  padding: 11px 28px;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, color .2s;
}
.pdp-load-more-reviews:hover { background: #1a1a1a; color: #fff; }

/* Responsive reviews */
@media (max-width: 600px) {
  .pdp-rf-row { grid-template-columns: 1fr; gap: 10px; }
  .pdp-review-form-inner { padding: 16px; }
  .pdp-write-review-btn { width: 100%; justify-content: center; }
  .pdp-write-review-bar { justify-content: stretch; }
  .pdp-star-pick { font-size: 1.4rem; }
  .pdp-reviews-sort-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 360px) {
  .pdp-star-pick { font-size: 1.2rem; }
  .pdp-rf-submit, .pdp-rf-cancel { font-size: .82rem; padding: 10px; }
  .pdp-review-form-inner { padding: 12px; }
}
@media (max-width: 320px) {
  .pdp-star-pick { font-size: 1.05rem; gap: 2px; }
  .pdp-rf-actions { flex-direction: column; }
  .pdp-rf-cancel { width: 100%; text-align: center; }
}
