/* Product detail page — Sky Paw theme */

.pdp-page .site-footer { display: none; } /* use pdp footer */

/* Match homepage / site container width */
.pdp-page main.container {
  width: min(100% - 2rem, var(--max));
}

/* Primary (gallery + info + reviews) | sidebar — reviews follow gallery/info, not sidebar height */
.pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 265px);
  gap: 1rem;
  align-items: start;
  margin: 1.25rem 0 1.5rem;
}
.pdp-primary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  min-width: 0;
}
.pdp-below {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  margin: 0;
}

.pdp-col-left {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  min-height: 0;
}

/* Vertical share rail (left of image) */
.pdp-share-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.4rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  align-self: start;
  position: sticky;
  top: calc(var(--nav-h) + 0.75rem);
}
.pdp-share-rail .pdp-share-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a97a3;
  margin-bottom: 0.15rem;
}
.pdp-share-rail .pdp-share-icons {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.pdp-share-rail .share-ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #f4f7f9;
  border: 1px solid rgba(42, 54, 66, 0.06);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.pdp-share-rail .share-ico img { width: 18px; height: 18px; display: block; }
.pdp-share-rail .share-ico:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(42, 54, 66, 0.08);
}
.pdp-share-rail .share-fb:hover { background: rgba(24, 119, 242, 0.1); border-color: rgba(24, 119, 242, 0.22); }
.pdp-share-rail .share-wa:hover { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.22); }
.pdp-share-rail .share-ig:hover { background: rgba(228, 64, 95, 0.1); border-color: rgba(228, 64, 95, 0.22); }
.pdp-share-rail .share-x:hover { background: rgba(15, 20, 25, 0.08); border-color: rgba(15, 20, 25, 0.18); }
.pdp-share-rail .share-li:hover { background: rgba(10, 102, 194, 0.1); border-color: rgba(10, 102, 194, 0.22); }
.pdp-share-rail .share-yt:hover { background: rgba(255, 0, 0, 0.08); border-color: rgba(255, 0, 0, 0.2); }

.pdp-main-media {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  height: auto;
  align-self: start;
  width: 100%;
}
.pdp-main-media .stage {
  aspect-ratio: 1;
  width: 100%;
  flex: none;
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #f5f9ff, #e7f0fe);
  cursor: zoom-in;
  position: relative;
  display: block;
}
.pdp-main-media .stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.pdp-main-media .stage img.is-fading {
  opacity: 0;
}
.pdp-stage-btn {
  border: 0;
  font: inherit;
  color: inherit;
  width: 100%;
  text-align: left;
}
.pdp-zoom-hint {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.pdp-stage-btn:hover .pdp-zoom-hint,
.pdp-stage-btn:focus-visible .pdp-zoom-hint {
  opacity: 1;
}

/* Lightbox modal */
.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  animation: pdpLbFade 0.18s ease;
}
@keyframes pdpLbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.pdp-lightbox-panel {
  width: min(960px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.85rem 1rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(42, 54, 66, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  animation: pdpLbUp 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes pdpLbUp {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.pdp-lightbox-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}
.pdp-lightbox-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdp-lightbox-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: #8a97a3;
  white-space: nowrap;
}
.pdp-lightbox-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(42, 54, 66, 0.12);
  background: #f4f7f9;
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.pdp-lightbox-close:hover {
  background: #e8eef5;
}
.pdp-lightbox-stage {
  position: relative;
  flex: 0 1 auto;
  width: min(100%, min(68vh, 640px));
  max-width: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(160deg, #f5f9ff, #e7f0fe);
  overflow: hidden;
  aspect-ratio: 1;
  max-height: min(68vh, 640px);
}
.pdp-lightbox-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
}
.pdp-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(42, 54, 66, 0.12);
  background: #fff;
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(42, 54, 66, 0.12);
  display: grid;
  place-items: center;
  padding: 0;
}
.pdp-lightbox-nav:hover {
  border-color: rgba(24, 119, 242, 0.35);
  color: var(--teal-deep);
}
.pdp-lightbox-prev { left: 0.75rem; }
.pdp-lightbox-next { right: 0.75rem; }
.pdp-lightbox-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.25rem;
  scrollbar-width: thin;
  justify-content: center;
  width: 100%;
}
.pdp-lightbox-thumbs button {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #eef3f8;
  cursor: pointer;
}
.pdp-lightbox-thumbs button.active,
.pdp-lightbox-thumbs button:hover {
  border-color: var(--teal);
}
.pdp-lightbox-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 640px) {
  .pdp-lightbox-panel {
    padding: 0.65rem;
    border-radius: 16px;
    max-height: 96vh;
  }
  .pdp-lightbox-stage {
    max-height: 55vh;
  }
  .pdp-lightbox-nav {
    width: 36px;
    height: 36px;
  }
  .pdp-zoom-hint { font-size: 0.68rem; padding: 0.3rem 0.6rem; }
}

.pdp-main-media .stage.is-video::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #fff;
  background: rgba(42, 54, 66, 0.28);
  pointer-events: none;
}

/* Horizontal thumbs under main image */
.pdp-thumbs-wrap {
  position: relative;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.pdp-thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.55rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.15rem 0.1rem 0.2rem;
  flex: 1 1 auto;
  min-width: 0;
}
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumbs-nav {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(42, 54, 66, 0.12);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, color 0.15s ease;
  padding: 0;
}
.pdp-thumbs-nav:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: rgba(24, 119, 242, 0.08);
}
.pdp-thumbs button {
  width: 88px;
  height: 88px;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 14px;
  border: 2px solid transparent;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pdp-thumbs button.active,
.pdp-thumbs button:hover { border-color: var(--teal); }
.pdp-thumbs button.active {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(24, 119, 242, 0.18);
}
.pdp-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumbs .thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(42, 54, 66, 0.35);
  color: #fff;
  font-size: 0.95rem;
}

/* Legacy lightbox helpers removed — React gallery uses rules above (.pdp-lightbox-panel). */

/* Middle column */
.pdp-info {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 0.95rem 1.05rem 1rem;
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
}
.pdp-info-top { flex-shrink: 0; }
.pdp-info-bottom { flex-shrink: 0; margin-top: 0.35rem; }

.pdp-crumbs {
  font-size: 0.76rem; color: var(--muted); margin-bottom: 0.55rem;
}
.pdp-crumbs a:hover { color: var(--teal-deep); }
.pdp-info h1 {
  font-family: var(--font);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  color: #1e3344;
  line-height: 1.28;
}
.pdp-rating {
  display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.55rem;
  font-size: 0.84rem;
}
.pdp-rating .stars { color: #f0a202; letter-spacing: 0.05em; font-size: 0.9rem; }
.pdp-rating strong { font-weight: 750; }
.pdp-rating a { color: var(--teal-deep); font-weight: 600; }

.pdp-price-row {
  display: flex; align-items: baseline; gap: 0.55rem; flex-wrap: wrap;
  margin-bottom: 0.65rem;
}
.pdp-price-row .now {
  font-size: 1.55rem; font-weight: 800; color: var(--teal-deep);
  letter-spacing: -0.02em;
}
.pdp-price-row s { color: var(--muted); font-size: 0.92rem; font-weight: 550; }
.pdp-off {
  background: linear-gradient(135deg, #f97316, #e11d48); color: #fff;
  font-size: 0.74rem; font-weight: 800; padding: 0.28rem 0.6rem; border-radius: 999px;
  letter-spacing: 0.03em;
}
.pdp-promo {
  margin: -0.25rem 0 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  background: #fff1f1;
  border: 1px dashed #fca5a5;
  font-size: 0.86rem;
}

/* Campaign deal panel: offer line + live countdown tiles (styled in deal-countdown.css) */
.pdp-deal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin: -0.25rem 0 0.75rem;
  padding: 0.55rem 0.6rem 0.55rem 0.75rem;
  border-radius: 12px;
  background: linear-gradient(100deg, #fff4ec 0%, #fff1f3 100%);
  border: 1px solid #fecdd3;
}
.pdp-deal-text {
  flex: 1 1 200px;
  font-size: 0.86rem;
}
.pdp-deal-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.pdp-deal-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9f1239;
}
.pdp-deal .cd-otp-ico { display: none; }
.pdp-deal .cd-otp { gap: 0.24rem; }
.pdp-deal .cd-otp .cd-otp-cell {
  min-width: 32px;
  height: 30px;
  padding: 0 5px;
  border-radius: 7px;
  font-size: 1rem;
}
.pdp-deal .cd-otp .cd-otp-days .cd-otp-cell { line-height: 30px; }
.pdp-deal .cd-otp .cd-otp-unit { font-size: 0.74rem; }
.pdp-deal .cd-otp .cd-otp-sep { font-size: 1rem; }

/* Description — collapsed by default with Read more */
.pdp-desc {
  position: relative;
  flex: 0 0 auto;
  margin: 0.75rem 0; /* space above description / features */
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 1.65rem;
  box-sizing: border-box;
}
.pdp-desc.is-clamped .pdp-desc-inner {
  overflow: hidden;
  max-height: 9.5rem;
}
.pdp-desc.is-expanded {
  padding-bottom: 1.65rem;
}
.pdp-desc.is-expanded .pdp-desc-inner {
  overflow: visible;
  max-height: none;
}
.pdp-desc-inner {
  min-height: 0;
}
.pdp-desc-html :is(p, .pdp-desc-extra) {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 500;
}
.pdp-desc-html :is(p, .pdp-desc-extra):last-child {
  margin-bottom: 0;
}
.pdp-desc-html ul:not(.pdp-features) {
  list-style: none;
  padding: 0;
  margin: 0 0 0.65rem;
}
.pdp-desc-html ul:not(.pdp-features) li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--text);
  line-height: 1.45;
  font-weight: 500;
}
.pdp-desc-html ul:not(.pdp-features) li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(24, 119, 242, 0.15);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 0.1rem;
}
.pdp-features {
  list-style: none; padding: 0; margin: 0 0 0.65rem;
}
.pdp-features li {
  display: flex; gap: 0.55rem; align-items: flex-start;
  font-size: 0.88rem; margin-bottom: 0.4rem; color: var(--text);
  line-height: 1.45; font-weight: 500;
}
.pdp-features li::before {
  content: "✓";
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(24, 119, 242,0.15); color: var(--teal-deep);
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; margin-top: 0.1rem;
}
.pdp-desc-extra {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.pdp-read-more {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--teal-deep);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 750;
  cursor: pointer;
  padding: 0.15rem 0 0;
  text-align: left;
}
.pdp-read-more[hidden] {
  display: none !important;
}
.pdp-read-more:hover { text-decoration: underline; }
.pdp-desc.is-clamped .pdp-read-more {
  width: 100%;
  padding: 1.45rem 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 55%);
}
.pdp-desc.is-expanded .pdp-read-more {
  width: auto;
  padding: 0.15rem 0 0;
  background: none;
}

.pdp-options {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}
.pdp-option-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pdp-option-label {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pdp-option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pdp-option-pills button {
  min-width: 3.1rem;
  padding: 0.42rem 0.75rem;
  border-radius: 10px;
  border: 1.5px solid rgba(42, 54, 66, 0.14);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.pdp-option-pills button:hover {
  border-color: rgba(24, 119, 242, 0.55);
}
.pdp-option-pills button.is-active {
  border-color: var(--teal);
  background: rgba(24, 119, 242, 0.12);
  color: var(--teal-deep);
}
.pdp-option-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.pdp-option-swatches button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--swatch, #ccc);
  box-shadow: 0 0 0 1.5px rgba(42, 54, 66, 0.18);
  cursor: pointer;
  padding: 0;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.pdp-option-swatches button:hover {
  transform: scale(1.06);
}
.pdp-option-swatches button.is-active {
  box-shadow: 0 0 0 2px var(--teal);
}

.pdp-stock-row {
  display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.pdp-stock {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.85rem; font-weight: 700; color: #2e8b57;
}
.pdp-stock::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2e8b57;
}

.pdp-policy-lead {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  line-height: 1.45;
}
.pdp-policy-actions {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(24, 119, 242, 0.1);
}
.pdp-policy-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 38px;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pdp-policy-btn-ico {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.pdp-policy-btn-copy {
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdp-policy-btn--return {
  color: #0c63d4;
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.08), rgba(24, 119, 242, 0.03));
  border-color: rgba(24, 119, 242, 0.14);
}
.pdp-policy-btn--return .pdp-policy-btn-ico {
  color: #0c63d4;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(24, 119, 242, 0.16);
}
.pdp-policy-btn--terms {
  color: #2f6b55;
  background: linear-gradient(135deg, rgba(61, 143, 114, 0.1), rgba(61, 143, 114, 0.03));
  border-color: rgba(61, 143, 114, 0.16);
}
.pdp-policy-btn--terms .pdp-policy-btn-ico {
  color: #2f6b55;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(61, 143, 114, 0.18);
}
.pdp-policy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -14px rgba(42, 54, 66, 0.28);
}
.pdp-policy-btn--return:hover {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.12), rgba(24, 119, 242, 0.05));
  border-color: rgba(24, 119, 242, 0.24);
}
.pdp-policy-btn--terms:hover {
  background: linear-gradient(135deg, rgba(61, 143, 114, 0.14), rgba(61, 143, 114, 0.05));
  border-color: rgba(61, 143, 114, 0.26);
}
.pdp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.pdp-cta .btn {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 0;
  width: auto;
  padding: 0.8rem 0.65rem;
  font-size: 0.88rem;
  border-radius: 12px;
  text-align: center;
  white-space: nowrap;
}
.pdp-cta .btn-primary {
  background: linear-gradient(180deg, var(--action) 0%, var(--action-deep) 100%);
  color: var(--action-text);
  border: 1px solid var(--action-border);
  box-shadow: 0 8px 18px rgba(245, 200, 74, 0.28);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.pdp-cta .btn-primary:hover {
  filter: brightness(0.97);
  cursor: pointer;
}
.pdp-cta .btn-cart {
  background: #fffef8;
  color: var(--action-text);
  border: 1.5px solid var(--action-border);
  box-shadow: none;
  cursor: pointer;
}
.pdp-cta .btn-cart:hover {
  background: rgba(255, 226, 138, 0.35);
  border-color: var(--action-border);
  filter: none;
  cursor: pointer;
}
@media (max-width: 420px) {
  .pdp-cta .btn {
    flex: 1 1 100%;
    white-space: normal;
  }
}

.pdp-share-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.6rem 0.45rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(42, 54, 66, 0.08);
  box-shadow: 0 2px 10px rgba(42, 54, 66, 0.04);
}
.pdp-share-label {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a97a3;
  flex-shrink: 0;
}
.pdp-share-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
}
.share-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f4f7f9;
  border: 1px solid rgba(42, 54, 66, 0.06);
  box-shadow: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.share-ico img { width: 15px; height: 15px; display: block; }
.share-ico:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42, 54, 66, 0.08);
}
/* Soft brand-tint hover — keep glyphs in brand colors */
.share-fb:hover { background: rgba(24, 119, 242, 0.1); border-color: rgba(24, 119, 242, 0.22); }
.share-wa:hover { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.22); }
.share-ig:hover { background: rgba(228, 64, 95, 0.1); border-color: rgba(228, 64, 95, 0.22); }
.share-x:hover { background: rgba(15, 20, 25, 0.08); border-color: rgba(15, 20, 25, 0.18); }
.share-li:hover { background: rgba(10, 102, 194, 0.1); border-color: rgba(10, 102, 194, 0.22); }
.share-yt:hover { background: rgba(255, 0, 0, 0.08); border-color: rgba(255, 0, 0, 0.2); }

/* Right column — natural height, no forced sync */
.pdp-side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
  overflow: visible;
  width: 100%;
  height: auto !important;
}

/* Shared side-card chrome */
.pdp-side-card,
.pdp-faq-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pdp-side-card {
  padding: 1rem 1.05rem 0.95rem;
  flex-shrink: 0;
}
.pdp-side-card-head,
.pdp-faq-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.pdp-side-card-head {
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(24, 119, 242, 0.1);
}
.pdp-side-card-titles {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.pdp-side-card-head h3,
.pdp-faq-head h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.pdp-side-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(24, 119, 242, 0.1);
  border: 1px solid rgba(24, 119, 242, 0.18);
}
.pdp-side-ico img {
  width: 16px;
  height: 16px;
  display: block;
}
/* Grey track icon → brand blue; check/faq SVGs are already teal */
.pdp-ship-card .pdp-side-ico img {
  filter: invert(36%) sepia(98%) saturate(1650%) hue-rotate(196deg) brightness(95%) contrast(96%);
}
.pdp-side-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(24, 119, 242, 0.08);
  border: 1px solid rgba(24, 119, 242, 0.14);
  color: var(--teal-deep);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdp-ship-card {
  background: linear-gradient(165deg, #ffffff 0%, #f7fafc 100%);
}
.pdp-ship-intro {
  margin-bottom: 0.55rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(42, 54, 66, 0.07);
}
.pdp-ship-intro h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--text);
  letter-spacing: -0.015em;
}
.pdp-ship-policy {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}

.pdp-ship-zones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.pdp-ship-zones li {
  display: block;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(42, 54, 66, 0.07);
  background: transparent;
  border-radius: 0;
}
.pdp-ship-zones li:last-child {
  border-bottom: 0;
  padding-bottom: 0.15rem;
}
.pdp-ship-zones li:first-child {
  padding-top: 0.2rem;
}
.pdp-ship-zone-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.pdp-ship-zone-name {
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.pdp-ship-zone-rate {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.pdp-ship-zone-eta {
  margin: 0.22rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
  max-width: 92%;
}
.pdp-ship-zone-eta .pdp-eta-num {
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.pdp-policy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.pdp-policy-list > li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.45rem 0.15rem;
}
.pdp-policy-bullet {
  width: 8px;
  height: 8px;
  margin-top: 0.35rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.15);
}
.pdp-policy-text {
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--text);
  line-height: 1.45;
}
.pdp-policy-html {
  display: block;
  padding: 0.15rem 0;
}
.pdp-policy-html :is(h1, h2, h3, h4) {
  margin: 0 0 0.3rem;
  font-size: 0.86rem;
  font-weight: 750;
}
.pdp-policy-html p,
.pdp-policy-html li {
  margin: 0 0 0.3rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.pdp-policy-html ul {
  margin: 0;
  padding-left: 1rem;
}

.pdp-trust-card {
  background: #fff; border-radius: 18px; border: 1px solid var(--line);
  padding: 1rem 0.95rem; box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.pdp-trust-card h3 {
  font-family: var(--font); font-size: 0.92rem; font-weight: 800; margin: 0 0 0.75rem;
}
.pdp-trust-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 0.45rem;
  text-align: center;
}
.pdp-trust-grid .ring {
  width: 44px; height: 44px; margin: 0 auto 0.3rem; border-radius: 50%;
  border: 1.5px solid rgba(24, 119, 242,0.35);
  display: grid; place-items: center; color: var(--teal-deep); font-size: 1.1rem;
}
.pdp-trust-grid span { font-size: 0.7rem; font-weight: 700; color: var(--muted); line-height: 1.25; display: block; }

.pdp-faq-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  min-height: 0;
  height: auto;
  max-height: 320px;
  position: relative;
  padding-bottom: 1rem;
  box-sizing: border-box;
}
.pdp-faq-head {
  padding: 0.85rem 1rem 0.55rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(24, 119, 242, 0.1);
}
.pdp-faq-head .section-ico {
  width: 18px;
  height: 18px;
}
.pdp-faq-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0.35rem 1rem 0.45rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(24, 119, 242,0.45) transparent;
  scroll-padding-bottom: 0.5rem;
}
.pdp-faq-scroll::-webkit-scrollbar { width: 5px; }
.pdp-faq-scroll::-webkit-scrollbar-thumb {
  background: rgba(24, 119, 242,0.4);
  border-radius: 99px;
}
.pdp-faq-item {
  border-bottom: 1px solid var(--line);
}
.pdp-faq-item:last-child {
  border-bottom: 0;
  padding-bottom: 0.35rem;
}
.pdp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.7rem 0;
  font-size: 0.84rem;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--text);
}
.pdp-faq-item summary::-webkit-details-marker { display: none; }
.pdp-faq-item summary::after {
  content: "▾";
  color: var(--teal);
  font-size: 0.75rem;
  transition: transform 0.15s ease;
}
.pdp-faq-item[open] summary::after { transform: rotate(180deg); }
.pdp-faq-item p {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Chat fallback when product has no FAQ */
.pdp-chat-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none;
}
.pdp-chat-card .head {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.pdp-chat-card .head img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(24, 119, 242,0.12);
  padding: 6px;
  box-sizing: border-box;
}
.pdp-chat-card .head strong {
  display: block;
  font-size: 0.88rem;
}
.pdp-chat-card .head small {
  color: var(--muted);
  font-size: 0.72rem;
}
.pdp-chat-card .body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.pdp-chat-bubble {
  background: var(--surface);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font-size: 0.88rem;
  margin: 0;
}
.pdp-quick {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.pdp-quick a,
.pdp-quick button {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  border: 1px solid rgba(42, 54, 66, 0.1);
  background: #fff;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
  color: var(--text);
  text-align: left;
  line-height: 1.25;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.pdp-quick a::after,
.pdp-quick button::after {
  content: "›";
  margin-left: auto;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
}
.pdp-quick img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  padding: 7px;
  box-sizing: content-box;
  border-radius: 10px;
  background: rgba(24, 119, 242, 0.12);
  opacity: 1;
}
.pdp-quick a:hover,
.pdp-quick button:hover {
  border-color: rgba(24, 119, 242, 0.45);
  color: var(--teal-deep);
  background: rgba(24, 119, 242, 0.06);
}
.pdp-quick a:hover::after,
.pdp-quick button:hover::after {
  color: var(--teal-deep);
}
.pdp-chat-social {
  display: flex;
  gap: 0.45rem;
  margin-top: auto;
}
.pdp-chat-social .btn {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  padding: 0.65rem 0.5rem;
  font-size: 0.78rem;
  border-radius: 999px;
}
.pdp-chat-social .btn-social {
  width: auto;
  justify-content: center;
  gap: 0.4rem;
}
.pdp-chat-social .btn-ico-end {
  margin-left: 0;
  width: 16px;
  height: 16px;
}

.pdp-value-bar {
  display: none; /* hidden for now */
  grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
  background: rgba(187, 212, 252, 0.35);
  border: 1px solid rgba(24, 119, 242,0.2);
  border-radius: 18px;
  padding: 1.1rem 1rem;
  margin: 0.5rem 0 1.75rem;
}
.pdp-value-bar div {
  text-align: center; font-size: 0.82rem;
}
.pdp-value-bar strong { display: block; font-size: 0.88rem; margin: 0.25rem 0 0.1rem; }
.pdp-value-bar span { color: var(--muted); font-size: 0.75rem; }
.pdp-value-bar .ico {
  width: 40px; height: 40px; margin: 0 auto;
  border-radius: 50%; background: #fff; color: var(--teal-deep);
  display: grid; place-items: center; font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

/* Tabs: Reviews / Specs */
.pdp-tabs-section {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 0 0 1.25rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.pdp-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.65rem 1rem 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(245,250,253,0.9), #fff);
}
.pdp-tab {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--muted);
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.pdp-tab:hover { color: var(--text); }
.pdp-tab.is-active {
  color: var(--teal-deep);
  border-bottom-color: var(--teal);
}
.pdp-tab-panel {
  padding: 1.15rem 1.25rem 0.25rem;
}
.pdp-tab-panel[hidden] { display: none !important; }

.pdp-reviews-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding-bottom: 1.15rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.pdp-reviews-score {
  text-align: center;
  padding: 0.5rem 0.75rem;
}
.pdp-reviews-score strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.pdp-reviews-score .stars {
  color: #f0a202;
  letter-spacing: 0.06em;
  font-size: 1rem;
}
.pdp-reviews-score .muted {
  display: block;
  font-size: 0.78rem;
  margin-top: 0.25rem;
}
.pdp-reviews-bars { display: grid; gap: 0.35rem; }
.pdp-bar-row {
  display: grid;
  grid-template-columns: 1rem 1fr 2rem;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
}
.pdp-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(42,54,66,0.08);
  overflow: hidden;
}
.pdp-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-deep));
  border-radius: 99px;
}
.pdp-write-review {
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(187, 212, 252,0.3), rgba(24, 119, 242,0.1));
  border: 1px solid rgba(24, 119, 242,0.2);
  max-width: 220px;
}
.pdp-write-review p { margin: 0 0 0.55rem; font-size: 0.82rem; }
.pdp-review-lock {
  margin: 0.55rem 0 0 !important;
  font-size: 0.72rem !important;
  color: var(--muted);
  font-weight: 600;
}

.pdp-review-list { display: grid; gap: 0.85rem; }
.pdp-review {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.pdp-review:last-child { border-bottom: 0; }
.pdp-review-top {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.5rem;
}
.pdp-review-top .avatar {
  width: 40px; height: 40px; font-size: 0.8rem;
}
.pdp-review-meta {
  font-size: 0.78rem;
  color: var(--muted);
}
.pdp-review-meta .stars { color: #f0a202; letter-spacing: 0.04em; }
.pdp-review p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}

.pdp-review-compose {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.pdp-review-compose h4 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}
.pdp-star-pick {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.65rem;
}
.pdp-star-pick button {
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  color: #c5ced6;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.pdp-star-pick button.on { color: #f0a202; }
.pdp-review-compose textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  font: inherit;
  resize: vertical;
  background: #fff;
  box-sizing: border-box;
}
.pdp-review-compose-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.pdp-specs {
  display: grid;
  gap: 0;
  margin: 0;
}
.pdp-specs > div {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.pdp-specs > div:last-child { border-bottom: 0; }
.pdp-specs dt {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
}
.pdp-specs dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

/* Media gallery */
.pdp-gallery-section {
  margin-bottom: 2rem;
}
.pdp-gallery-head {
  margin-bottom: 0.9rem;
}
.pdp-gallery-head h2 {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
}
.pdp-gallery-head .muted {
  margin: 0;
  font-size: 0.9rem;
}
.pdp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.pdp-gallery-item {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pdp-gallery-item > img,
.pdp-gallery-item .pdp-gif-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp-media-badge {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  background: rgba(42, 54, 66, 0.78);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.pdp-gallery-item.is-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 54, 66, 0.18);
  pointer-events: none;
}
.pdp-gif-frames {
  position: absolute;
  inset: 0;
}
.pdp-gif-frames img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: pdpGifSwap 2.4s ease-in-out infinite;
}
.pdp-gif-frames img:last-child {
  animation-delay: 1.2s;
  opacity: 0;
}
.pdp-gallery-item.is-gif .pdp-gif-fallback { opacity: 0; position: absolute; }
@keyframes pdpGifSwap {
  0%, 40% { opacity: 1; }
  50%, 90% { opacity: 0; }
  100% { opacity: 1; }
}

/* Review Facebook gate */
.pdp-review-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(42, 54, 66, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.pdp-review-gate.is-open { display: flex; }
.pdp-review-gate-card {
  position: relative;
  width: min(100%, 380px);
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem 1.35rem 1.25rem;
  text-align: center;
  box-shadow: 0 24px 48px rgba(42, 54, 66, 0.2);
}
.pdp-review-gate-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}
.pdp-review-gate-card h3 {
  margin: 0.75rem 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 800;
}
.pdp-review-gate-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.pdp-review-gate-card .btn-fb {
  margin-bottom: 0.55rem;
}
.pdp-review-gate-cancel { width: 100%; }

.pdp-related { margin-bottom: 1.5rem; }
.pdp-related h2,
.pdp-video-head h2,
.pdp-community-head h2 {
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}
.pdp-related-head,
.pdp-video-head,
.pdp-community-head {
  margin-bottom: 0.75rem;
}
.pdp-related-head .muted,
.pdp-video-head .muted,
.pdp-community-head .muted {
  margin: 0;
  font-size: 0.85rem;
}

/* Product video after reviews/specs */
.pdp-video-section {
  margin: 0 0 1.5rem;
}
.pdp-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pdp-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Related products auto-slider */
.pdp-related-slider {
  position: relative;
  padding: 0 2.1rem;
}
.pdp-related-viewport {
  overflow: hidden;
  border-radius: 12px;
}
.pdp-related-track {
  display: flex;
  gap: 0.85rem;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.pdp-related-track .pcard {
  flex: 0 0 calc((100% - 1.7rem) / 3);
  min-width: 0;
}
.pdp-related-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(42, 54, 66, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(42, 54, 66, 0.1);
  display: grid;
  place-items: center;
}
.pdp-related-nav:hover {
  color: var(--teal-deep);
  background: #fff;
}
.pdp-related-nav.prev { left: 0; }
.pdp-related-nav.next { right: 0; }

/* Social-style community cards */
.pdp-community-section {
  margin-bottom: 1.5rem;
  padding: 0.9rem 0.95rem 1rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 248, 252, 0.95)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(42, 54, 66, 0.015) 10px,
      rgba(42, 54, 66, 0.015) 11px
    );
  border: 1px solid rgba(42, 54, 66, 0.06);
}
.pdp-community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.pdp-social-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 0.8rem 0.65rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(42, 54, 66, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 6px 18px rgba(42, 54, 66, 0.05);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.pdp-social-card:hover {
  border-color: rgba(24, 119, 242, 0.3);
  box-shadow: 0 10px 26px rgba(42, 54, 66, 0.08);
  transform: translateY(-1px);
}
.pdp-social-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pdp-social-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(59, 130, 246, 0.25);
}
.pdp-social-who {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.pdp-social-who strong {
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.2;
}
.pdp-social-meta {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
}
.pdp-social-more {
  color: #9aa6b2;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  line-height: 1;
  align-self: flex-start;
  padding-top: 0.1rem;
}
.pdp-social-body {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text);
  font-weight: 500;
}
.pdp-social-media {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface);
}
.pdp-social-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp-social-stats {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.4rem;
  margin-top: 0.1rem;
  border-top: 1px solid rgba(42, 54, 66, 0.07);
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--muted);
}
.pdp-social-react {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}
.pdp-social-react-ico {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff6b8a, #e11d48);
  color: #fff;
  font-size: 0.55rem;
  line-height: 1;
}
.pdp-social-open {
  margin-left: auto;
  color: #1877f2;
  font-weight: 750;
}

.pdp-stage-video {
  position: absolute;
  inset: 0;
  background: #0f172a;
}
.pdp-stage-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.pdp-stage-video.is-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage.is-video {
  position: relative;
}

@media (max-width: 900px) {
  .pdp-related-track .pcard {
    flex: 0 0 calc((100% - 0.85rem) / 2);
  }
  .pdp-community-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .pdp-related-slider { padding: 0 1.7rem; }
  .pdp-related-track .pcard {
    flex: 0 0 100%;
  }
}

.pdp-footer {
  background: linear-gradient(180deg, var(--teal-deep), #2f6f6f);
  color: rgba(255,255,255,0.92);
  padding: 2.5rem 0 1.5rem;
  margin-top: 1rem;
}
.pdp-footer a { color: rgba(255,255,255,0.85); }
.pdp-footer a:hover { color: #fff; }
.pdp-footer .footer-grid h4 { color: #fff; }
.pdp-footer .footer-bottom {
  border-top-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7);
}
.pdp-footer .logo { color: #fff; }
.pdp-newsletter {
  display: flex; gap: 0.35rem; margin-top: 0.5rem;
}
.pdp-newsletter input {
  flex: 1; border: 0; border-radius: 10px; padding: 0.55rem 0.75rem;
}
.pdp-newsletter button {
  border: 0; border-radius: 10px; background: #fff; color: var(--teal-deep);
  padding: 0.55rem 0.75rem; font-weight: 700; cursor: pointer;
}

@media (max-width: 1200px) {
  .pdp-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 250px);
  }
}
@media (max-width: 1100px) {
  .pdp-layout {
    grid-template-columns: 1fr;
  }
  .pdp-primary {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
  .pdp-info {
    height: auto !important;
    min-height: 0;
    overflow: visible;
  }
  .pdp-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto !important;
    min-height: 0;
    overflow: visible;
  }
  .pdp-desc {
    max-height: none;
    min-height: 6.5rem;
  }
  .pdp-desc.is-expanded {
    max-height: none;
    min-height: 0;
  }
  .pdp-faq-card,
  .pdp-chat-card {
    min-height: 0;
    max-height: 380px;
  }
  .pdp-reviews-summary {
    grid-template-columns: 1fr 1fr;
  }
  .pdp-write-review {
    grid-column: 1 / -1;
    max-width: none;
  }
  .pdp-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .pdp-layout { grid-template-columns: 1fr; }
  .pdp-primary { grid-template-columns: 1fr; }
  .pdp-col-left {
    grid-template-columns: auto 1fr;
  }
  .pdp-info {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible;
  }
  .pdp-side {
    grid-template-columns: 1fr;
    height: auto !important;
    min-height: 0;
    overflow: visible;
  }
  .pdp-desc {
    flex: 1 1 auto;
    max-height: none;
    min-height: 6rem;
  }
  .pdp-desc.is-expanded {
    max-height: none;
    min-height: 0;
  }
  .pdp-col-left {
    grid-template-columns: auto 1fr;
  }
  .pdp-share-rail {
    position: static;
  }
  .pdp-faq-card,
  .pdp-chat-card { max-height: 360px; }
  .pdp-value-bar { grid-template-columns: repeat(2, 1fr); }
  .pdp-reviews-summary { grid-template-columns: 1fr; }
  .pdp-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp-specs > div { grid-template-columns: 1fr; gap: 0.2rem; }
}
@media (max-width: 520px) {
  .pdp-col-left { grid-template-columns: 1fr; }
  .pdp-share-rail {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    padding: 0.5rem 0.65rem;
  }
  .pdp-share-rail .pdp-share-label {
    writing-mode: horizontal-tb;
    transform: none;
    margin: 0 0.35rem 0 0;
  }
  .pdp-share-rail .pdp-share-icons {
    flex-direction: row;
  }
  .pdp-gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .pdp-lightbox-nav.prev { left: 0.25rem; }
  .pdp-lightbox-nav.next { right: 0.25rem; }
}
