button,
.btn{
    font-weight:600;
    letter-spacing:-0.01em;
}
.price{
    font-family:var(--fh);
    font-weight:800;
    letter-spacing:-0.03em;
}
.badge,
.tag,
.discount-tag{
    font-weight:700;
    letter-spacing:0.01em;
}
/* ── HERO ── */
.hero-global { height: auto !important; min-height: 240px !important; }
.hero-title {
  font-family: var(--fh) !important;
  font-size: clamp(1.25rem, 3vw, 2rem) !important;
  font-weight: 800 !important;
  max-width: 800px;
  margin: 0 auto !important;
}

/* ── PAGE SHELL ── */
.pdp-page {
  background: var(--c-bg2);
  padding: 32px 20px 80px;
  min-height: 60vh;
}

/* ── BREADCRUMB ── */
.pdp-breadcrumb {
  max-width: 1200px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fb);
  font-size: 13px;
  color: var(--c-text3);
  flex-wrap: wrap;
}
.pdp-breadcrumb a {
  color: var(--c-text3);
  text-decoration: none;
  transition: color .2s;
}
.pdp-breadcrumb a:hover { color: var(--c-primary); }
.pdp-breadcrumb .sep { opacity: .5; }
.pdp-breadcrumb .current { color: var(--c-text2); font-weight: 500; }

/* ── MAIN GRID ── */
.pdp-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ── GALLERY ── */
.pdp-gallery { position: sticky; top: 90px; }

.main-media-wrap {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-border);
  aspect-ratio: 4/3;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}
.main-media-wrap img,
.main-media-wrap video {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .45s ease;
}
.main-media-wrap img:hover { transform: scale(1.05); }
.main-media-wrap video { cursor: default; }

/* Zoom button */
.zoom-btn {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xs);
  color: var(--c-text2);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .2s, color .2s;
  z-index: 2;
}
.zoom-btn:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Video badge */
.media-video-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--c-accent);
  color: #fff;
  font-family: var(--fb);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-xs);
  display: none;
  align-items: center;
  gap: 4px;
}

/* Thumbnail strip */
.thumb-strip {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.thumb-item {
  width: 70px; height: 70px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--c-border);
  cursor: pointer;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.thumb-item:hover { transform: scale(1.06); box-shadow: var(--shadow-sm); }
.thumb-item.active { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(0,182,214,0.18); }
.thumb-item img, .thumb-item video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.thumb-item.is-video::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.22);
  display: flex; align-items: center; justify-content: center;
}
.thumb-play-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

/* Share row */
.share-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.share-label { font-family: var(--fb); font-size: 12px; color: var(--c-text3); }
.share-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text2);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
  box-shadow: var(--shadow-sm);
}
.share-btn:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* ── DETAILS PANEL ── */
.pdp-details { display: flex; flex-direction: column; gap: 18px; }

/* Badges */
.pdp-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pdp-badge {
  font-family: var(--fb);
  font-size: 11px; font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-xs);
}
.badge-new   { background: #e0f7fd; color: #0077a8; border: 1px solid #b3eaf7; }
.badge-sale  { background: #fff1eb; color: #c0441a; border: 1px solid #fdd0bb; }
.badge-used  { background: #fef9eb; color: #92620a; border: 1px solid #fce5a0; }
.badge-brand { background: var(--c-bg3); color: var(--c-text2); border: 1px solid var(--c-border); }

/* Title */
.pdp-title {
  font-family: var(--fh);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.22;
  margin: 0;
}

/* Rating bar */
.pdp-rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.stars-display { display: flex; gap: 1px; font-size: 15px; }
.star-filled { color: var(--c-gold); }
.star-empty  { color: var(--c-border2); }
.rating-num  { font-family: var(--fb); font-size: 14px; font-weight: 600; color: var(--c-text); }
.review-cnt  { font-family: var(--fb); font-size: 13px; color: var(--c-text3); }
.stock-badge {
  margin-left: auto;
  font-family: var(--fb); font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--r-xs);
  display: flex; align-items: center; gap: 5px;
}
.in-stock  { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.out-stock { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

/* Price block */
.pdp-price-block {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-current {
  font-family: var(--fh);
  font-size: 2rem; font-weight: 700;
  color: var(--c-primary);
}
.price-old {
  font-family: var(--fb); font-size: 15px;
  color: var(--c-text3);
  text-decoration: line-through;
}
.price-save {
  background: #fff1eb; color: #c0441a; border: 1px solid #fdd0bb;
  font-family: var(--fb); font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: var(--r-xs);
}
.price-bnpl {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--fb); font-size: 12px; color: var(--c-text3);
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--c-border);
}
.price-bnpl strong { color: var(--c-green); }

/* Urgency */
.pdp-urgency {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--fb); font-size: 13px; color: #c0441a;
  background: #fff1eb;
  border: 1px solid #fdd0bb;
  border-radius: var(--r-sm);
  padding: 10px 14px;
}
.urgency-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent); flex-shrink: 0;
  animation: pulse-u 1.5s ease-in-out infinite;
}
@keyframes pulse-u {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,107,43,.4); }
  50%      { box-shadow: 0 0 0 6px rgba(255,107,43,0); }
}

/* Qty */
.pdp-qty-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.qty-label   { font-family: var(--fb); font-size: 13px; color: var(--c-text2); font-weight: 500; }
.qty-control {
  display: flex; align-items: center;
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-sm); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.qty-btn {
  width: 38px; height: 38px; background: none; border: none;
  color: var(--c-text2); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.qty-btn:hover { background: var(--c-bg3); color: var(--c-primary); }
.qty-num {
  min-width: 36px; text-align: center;
  font-family: var(--fb); font-weight: 600; font-size: 15px; color: var(--c-text);
  border-left: 1px solid var(--c-border); border-right: 1px solid var(--c-border);
  padding: 0 8px; line-height: 38px;
}

/* Action buttons */
.pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-cart {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--c-primary); color: #fff; border: none;
  border-radius: var(--r-sm); font-family: var(--fb); font-weight: 600;
  font-size: 15px; padding: 13px 18px; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(0,182,214,0.28);
}
.btn-cart:hover { background: var(--c-primary-dk); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,182,214,0.36); }
.btn-cart:disabled { opacity: .6; transform: none; cursor: wait; }
.btn-buy-now {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; color: var(--c-text); border: 1px solid var(--c-border2);
  border-radius: var(--r-sm); font-family: var(--fb); font-weight: 600;
  font-size: 15px; padding: 13px 18px; cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
  box-shadow: var(--shadow-sm);
}
.btn-buy-now:hover { background: var(--c-bg3); border-color: var(--c-border2); transform: translateY(-2px); }

/* WhatsApp */
.btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366; color: #fff; border-radius: var(--r-sm);
  padding: 13px 20px; text-decoration: none;
  font-family: var(--fb); font-weight: 600; font-size: 15px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.28); width: 100%; margin: auto; max-width: 300px;
}
.btn-whatsapp:hover { background: #1aad4e; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(37,211,102,0.36); }

/* Delivery */
.pdp-delivery {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm);
}
.delivery-row-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 16px; border-bottom: 1px solid var(--c-border);
  font-family: var(--fb); font-size: 13px;
}
.delivery-row-item:last-child { border-bottom: none; }
.delivery-icon {
  width: 34px; height: 34px; border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--c-primary); background: #e0f7fd;
}
.delivery-text { flex: 1; }
.delivery-text strong { display: block; font-weight: 600; color: var(--c-text); font-size: 13px; }
.delivery-text span { color: var(--c-text3); font-size: 12px; margin-top: 1px; display: block; }
.delivery-val-tag {
  font-family: var(--fb); font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: var(--r-xs); align-self: center; flex-shrink: 0;
}
.tag-free { background: #dcfce7; color: #15803d; }
.tag-fast { background: #e0f7fd; color: #0077a8; }
.tag-3mo  { background: #fef9eb; color: #92620a; }

/* ── TABS ── */
.pdp-tabs-wrap {
  max-width: 1200px; margin: 48px auto 0;
  background: #fff; border-radius: var(--r);
  border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); overflow: hidden;
}
.tab-nav {
  display: flex; border-bottom: 1px solid var(--c-border);
  overflow-x: auto; scrollbar-width: none; background: var(--c-bg2);
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-nav-btn {
  background: none; border: none; border-bottom: 2px solid transparent;
  padding: 15px 24px; font-family: var(--fb); font-size: 14px; font-weight: 500;
  color: var(--c-text3); cursor: pointer; white-space: nowrap;
  transition: color .2s, border-color .2s; position: relative; top: 1px;
}
.tab-nav-btn:hover { color: var(--c-text2); }
.tab-nav-btn.active { color: var(--c-primary); border-bottom-color: var(--c-primary); background: #fff; }
.tab-pane { display: none; padding: 32px; }
.tab-pane.active { display: block; }

/* Description */
.pdp-description {
  font-family: var(--fb); font-size: 15px; color: var(--c-text2);
  line-height: 1.75; max-width: 740px;
}
.pdp-description p { margin: 0 0 14px; }
.pdp-description ul { padding-left: 20px; margin: 0 0 14px; }
.pdp-description li { margin-bottom: 6px; }

/* Specs */
.specs-table { width: 100%; border-collapse: collapse; font-family: var(--fb); font-size: 14px; max-width: 680px; }
.specs-table tr { border-bottom: 1px solid var(--c-border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 11px 14px; vertical-align: top; line-height: 1.5; }
.specs-table td:first-child { color: var(--c-text3); font-weight: 500; width: 36%; background: var(--c-bg2); }
.specs-table td:last-child { color: var(--c-text); }

/* Reviews */
.reviews-summary-bar { display: flex; align-items: center; gap: 28px; margin-bottom: 28px; flex-wrap: wrap; }
.big-rating { text-align: center; }
.big-rating-num { font-family: var(--fh); font-size: 3.25rem; font-weight: 700; color: var(--c-text); line-height: 1; }
.big-rating-stars { color: var(--c-gold); font-size: 18px; margin: 5px 0 4px; letter-spacing: 2px; }
.big-rating-count { font-family: var(--fb); font-size: 12px; color: var(--c-text3); }
.rating-bars { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 5px; }
.rbar-row { display: flex; align-items: center; gap: 9px; font-family: var(--fb); font-size: 12px; color: var(--c-text3); }
.rbar-track { flex: 1; height: 6px; background: var(--c-bg3); border-radius: 4px; overflow: hidden; }
.rbar-fill  { height: 100%; border-radius: 4px; background: var(--c-gold); }

/* Review cards */
.review-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.review-card-item {
  background: var(--c-bg2); border: 1px solid var(--c-border);
  border-radius: var(--r); padding: 18px 20px;
}
.rci-header { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 9px; }
.rci-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: #e0f7fd; border: 1px solid #b3eaf7;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: 13px; font-weight: 700;
  color: var(--c-primary); flex-shrink: 0;
}
.rci-meta { flex: 1; }
.rci-name { font-family: var(--fb); font-size: 14px; font-weight: 600; color: var(--c-text); display: flex; align-items: center; gap: 7px; }
.verified-badge { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; font-family: var(--fb); font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.rci-stars { color: var(--c-gold); font-size: 12px; margin-top: 2px; letter-spacing: 1px; }
.rci-date  { color: var(--c-text3); font-family: var(--fb); font-size: 12px; margin-top: 2px; }
.rci-comment { font-family: var(--fb); font-size: 14px; color: var(--c-text2); line-height: 1.65; margin: 0; }

/* Review form */
.review-form-wrap {
  background: var(--c-bg2); border: 1px solid var(--c-border);
  border-radius: var(--r); padding: 24px;
}
.review-form-wrap h4 { font-family: var(--fh); font-size: 1.05rem; font-weight: 700; color: var(--c-text); margin: 0 0 16px; }
.star-picker { display: flex; gap: 5px; margin-bottom: 14px; }
.star-picker span { font-size: 26px; color: var(--c-border2); cursor: pointer; transition: color .15s, transform .1s; line-height: 1; }
.star-picker span:hover, .star-picker span.lit { color: var(--c-gold); }
.star-picker span:hover { transform: scale(1.15); }
.review-textarea {
  width: 100%; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-sm); padding: 12px 14px;
  font-family: var(--fb); font-size: 14px; color: var(--c-text);
  resize: vertical; min-height: 96px; outline: none;
  transition: border-color .2s; box-sizing: border-box;
}
.review-textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(0,182,214,0.12); }
.review-textarea::placeholder { color: var(--c-text3); }
.btn-submit-review {
  margin-top: 11px; background: var(--c-primary); color: #fff; border: none;
  border-radius: var(--r-sm); padding: 11px 26px;
  font-family: var(--fb); font-weight: 600; font-size: 14px; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-submit-review:hover { background: var(--c-primary-dk); transform: translateY(-2px); }

/* ── RELATED ── */
.related-section { background: var(--c-bg3); border-top: 1px solid var(--c-border); padding: 52px 20px; }
.related-inner { max-width: 1200px; margin: 0 auto; }
.related-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 10px; }
.related-label { font-family: var(--fb); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 3px; }
.related-title { font-family: var(--fh); font-size: 1.4rem; font-weight: 700; color: var(--c-text); margin: 0; }
.section-link { font-family: var(--fb); font-size: 14px; font-weight: 500; color: var(--c-primary); text-decoration: none; display: flex; align-items: center; gap: 4px; transition: gap .2s; }
.section-link:hover { gap: 8px; }

/* ── LIGHTBOX ── */
.media-modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.88); align-items: center; justify-content: center; padding: 20px;
}
.media-modal.open { display: flex; }
.media-modal-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.media-modal-inner img,
.media-modal-inner video { max-width: 90vw; max-height: 85vh; border-radius: var(--r); display: block; }
.modal-close {
  position: fixed; top: 18px; right: 24px;
  color: #fff; font-size: 34px; font-weight: 300;
  cursor: pointer; line-height: 1; opacity: .75;
  transition: opacity .2s; background: none; border: none;
}
.modal-close:hover { opacity: 1; }


/* ── MOBILE STICKY ── */
.mobile-sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--c-border);
  padding: 10px 16px; z-index: 800; gap: 10px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.07);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pdp-grid { gap: 24px; }
}
@media (max-width: 860px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 24px; }
  .pdp-gallery { position: static; }
  .mobile-sticky-cta { display: flex; }
  .whatsapp-float .wa-tooltip-pdp { display: none; }
  .whatsapp-bubble span { display: none; }
  .whatsapp-bubble { padding: 13px; border-radius: 50%; }
  .whatsapp-float { bottom: 78px; }
}
@media (max-width: 540px) {
  .pdp-actions { grid-template-columns: 1fr; }
  .pdp-page { padding: 20px 12px 96px; }
  .tab-pane { padding: 22px 16px; }
  .tab-nav-btn { padding: 13px 14px; font-size: 13px; }
  .reviews-summary-bar { gap: 16px; }
}
@media (max-width: 380px) {
  .pdp-breadcrumb { font-size: 12px; }
  .pdp-price-block { padding: 16px; }
}

/* Mobile sticky button sizes */
.mobile-sticky-cta .btn-cart,
.mobile-sticky-cta .btn-buy-now {
  flex: 1; padding: 12px 10px; font-size: 14px; border-radius: var(--r-sm);
}

/* Focus outlines for a11y */
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}