/* =========================
   Base Container
========================= */
.project-detail-container {
  max-width: 1400px;
  margin: 100px auto 0 auto;
  padding: 2vw;
  font-family: var(--font-family);
  line-height: 1.6;
}

/* =========================
   HERO SECTION
========================= */
.project-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 5vw;
}

.hero-left img.hero-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--bg-transp);
  transition: transform 0.3s ease;
}

.hero-left img.hero-image:hover {
  transform: scale(1.03);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.product-title {
  font-size: 2.5rem;
  font-weight: 600;
}

.subtitle {
  font-size: 1.1rem;
}

.stats {
  font-size: 0.95rem;
  color: var(--secondary-light);
}

.availability.in-stock {
  color: var(--success);
  font-weight: bold;
}

.availability.out-of-stock {
  color: var(--danger);
  font-weight: bold;
}

.price-block {
  font-size: 1.8rem;
  padding: 5px;
}

.price-block .old-price {
  text-decoration: line-through;
  color: var(--secondary-dark);
  margin-right: 0.2rem;
  font-size: 1.4rem;
}

.price-block .price {
  font-weight: medium;
}

/* HERO ACTION BUTTONS */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
}

.hero-actions .btn {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-actions .btn-primary {
  background-color: var(--primary);
  border: none;
}

.hero-actions .btn-primary:hover {
  background-color: var(--primary-dark);
}

.hero-actions .btn-outline-primary {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--secondary-light);
}

.hero-actions .btn-outline-primary:hover {
  background-color: var(--primary);
}

.hero-actions .live-demo {
  background-color: var(--secondary);
}

.hero-actions .live-demo:hover {
  background-color: var(--secondary-dark);
}

.hero-actions .btn-info {
  background-color: var(--info);
}

/* =========================
   FEATURES / DETAILS
========================= */
.project-features {
  max-width: 1000px;
  margin: 3rem auto;
}

.project-features h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-item {
  background-color: var(--bg-transp);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.description-block {
  margin-top: 1rem;
}

.description-block h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* =========================
   MEDIA / VIDEO
========================= */
.project-media {
  margin: 3rem 0;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--bg-transp);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   RELATED PROJECTS
========================= */
.related-projects {
  margin: 3rem 0;
}

.related-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.related-item {
  min-width: 180px;
  flex: 0 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-transp);
  text-align: center;
  transition: transform 0.2s;
}

.related-item:hover {
  transform: scale(1.05);
}

.related-item img {
  width: 100%;
  border-bottom: 1px solid var(--secondary-dark);
}

.related-item span {
  display: block;
  padding: 0.5rem;
}

/* =========================
   FAQ
========================= */
.faq-section {
  margin: 3rem 0;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  background-color: var(--bg-transp);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-weight: 600;
  border: none;
  background: transparent;
}

.faq-answer {
  display: none;
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--secondary-dark);
}

.faq-question.active + .faq-answer {
  display: block;
}

/* =========================
   STICKY CTA
========================= */
.sticky-cta {
  position: sticky;
  bottom: 0;
  width: 100%;
  background-color: var(--bg-transp-dark);
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--secondary-dark);
  display: flex;
  justify-content: center;
  z-index: 99;
}

.sticky-content {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.sticky-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-gray);
}

.sticky-cta .btn-primary {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: var(--primary);
  border: none;
}

.sticky-cta .btn-primary:hover {
  background-color: var(--secondary-dark);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .project-hero {
    grid-template-columns: 1fr;
  }
  .hero-left,
  .hero-right {
    text-align: center;
  }

}

@media (max-width: 768px) {
  .related-carousel {
    gap: 0.5rem;
  }
  .hero-actions .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  .feature-item {
    padding: 0.2rem 0.4rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 2rem;
  }
  .price-block {
    font-size: 1.5rem;
  }
  .star-rating label {
    font-size: 1.5rem;
  }
}

/* =========================
   COMMENTS & REVIEWS
========================= */

/* Comment Tree */
#comments-root ul {
  list-style: none;
  margin: 0;
  padding-left: 1.8rem;
  position: relative;
}

#comments-root ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0.8rem;
  bottom: 0;
  width: 2px;
  background: var(--primary-dark);
}

#comments-root li {
  position: relative;
  margin: 0 0 1.7rem 0;
  padding-left: 1.5rem;
}

/* Curved connector */
#comments-root li::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 0;
  width: 1rem;
  height: calc(100% - 1.2rem);
  border-left: 2px solid;
  border-bottom: 2px solid;
  border-radius: 0 0 0 10px;
}

#comments-root li:last-child::before {
  height: 1.2rem;
}

/* Depth number bubble */
#comments-root li:last-child::after {
  content: attr(data-depth);
  position: absolute;
  left: -1.6rem;
  bottom: -0.3rem;
  width: 1.3rem;
  height: 1.3rem;
  background: var(--secondary);
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Comment Box */
#comments-root .comment-content {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--bg-transp);
  padding: 1rem 1.2rem;
  border-radius: 0.9rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#comments-root .comment-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#comments-root .comment-header {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-weight: 500;
}

#comments-root .comment-header strong {
  font-weight: 600;
}

#comments-root .comment-date {
  font-size: 0.8rem;
  opacity: 0.6;
}

#comments-root .comment-rating {
  background: var(--soft-green);
  padding: 0.25rem 0.55rem;
  border-radius: 0.45rem;
  font-size: 0.8rem;
  font-weight: 500;
}

#comments-root .comment-text {
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Ratings / Reviews Section */
.ratings-reviews {
  margin-top: 2rem;
  padding: 2rem;
}

.ratings-reviews h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 600;
  border-bottom: 2px solid var(--bg-transp);
  padding-bottom: 0.6rem;
  letter-spacing: -0.5px;
}

.ratings-reviews p {
  font-size: 0.95rem;
  margin: 0.3rem 0;
  opacity: 0.9;
}

.ratings-reviews .average-rating {
  margin: 1rem 0 1.5rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  background: var(--bg-transp-light);
  display: inline-block;
}

/* Rating / Comment Forms */
.rating-form,
.edit-form {
  margin: 1.5rem 0 2rem 0;
}

.rating-form .form-group,
.edit-form {
  margin-bottom: 1rem;
}

.rating-form textarea,
.edit-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.85rem;
  border: 1px solid var(--bg-transp);
  border-radius: 0.85rem;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rating-form textarea:focus,
.edit-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 125, 99, 0.15);
}

/* Stars */
.rating-form .stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.rating-form input[type="radio"] {
  display: none;
}

.rating-form label {
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  color: var(--bg-transp);
}

.rating-form input[type="radio"]:checked ~ label,
.rating-form label:hover,
.rating-form label:hover ~ label {
  color: gold;
  transform: scale(1.1);
}

/* Buttons */
.rating-form .btn,
.edit-form button {
  padding: 0.55rem 1.3rem;
  border-radius: 0.6rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.25s, transform 0.15s;
}

.rating-form .btn:hover,
.edit-form button:hover {
  transform: translateY(-1px);
}

.rating-form .btn-primary,
.edit-form .btn-primary {
  background: var(--primary);
  color: var(--text-light);
}

.rating-form .btn-primary:hover,
.edit-form .btn-primary:hover {
  background: var(--primary-dark);
}

.rating-form .btn-secondary {
  background: var(--secondary);
  color: var(--text-light);
}

.rating-form .btn-secondary:hover {
  background: var(--secondary-dark);
}

/* =========================
   COMMENT ITEM
========================= */
.comments-list-items {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.a2t-comments-empty {
  margin-top: 1.25rem;
}

.comment-item {
  list-style: none;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  position: relative;
}

.comment-item .replies {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.comment-item[data-depth="1"] {
  margin-left: 0;
}
.comment-item[data-depth="2"] {
  margin-left: 1rem;
}
.comment-item[data-depth="3"] {
  margin-left: 2rem;
}

.comment-item > strong {
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: inline-block;
}
.comment-item .stars {
  display: flex;
  gap: 0.1rem;
  margin-bottom: 0.25rem;
}
.comment-item .stars .star {
  font-size: 1rem;
  color: var(--secondary);
}
.comment-item .stars .star.filled {
  color: var(--primary);
}
.comment-item .cmt-txt {
  font-size: 0.95rem;
  line-height: 1.3rem;
  margin-bottom: 0.25rem;
  white-space: pre-wrap;
}
.comment-item small {
  font-size: 0.75rem;
  color: var(--secondary);
  display: block;
  margin-bottom: 0.25rem;
}
.comment-item .pending {
  font-size: 0.75rem;
  color: var(--dorange);
  font-style: italic;
  margin-bottom: 0.25rem;
}
.comment-item .comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.25rem;
}
.comment-item .btn-link {
  background: none;
  border: none;
  color: var(--primary);
  padding: 0;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}
.comment-item .btn-link.text-danger {
  color: var(--dorange);
}
.comment-item .vote-actions button.vote-btn {
  font-size: 0.85rem;
  background: var(--bg-transp);
  border: 1px solid var(--dark-gray);
  border-radius: 0.375rem;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.comment-item .vote-actions button.vote-btn:hover:not(:disabled) {
  background-color: var(--primary);
  color: #fff;
}
.comment-item .vote-actions button.vote-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.comment-item .reply-form-container,
.comment-item .edit-form-container {
  margin-top: 0.5rem;
}
.comment-item .reply-form textarea {
  width: 100%;
  padding: 0.4rem 0.5rem;
  font-size: 0.9rem;
  border: 1px solid var(--dark-gray);
  border-radius: 0.375rem;
  resize: vertical;
  min-height: 40px;
  margin-bottom: 0.25rem;
}
.comment-item .reply-form button {
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  border: none;
  background-color: var(--primary);
  color: #fff;
}
.comment-item .reply-form button:hover {
  background-color: var(--primary-dark);
}

/* =========================
   COMMENT RESPONSIVE
========================= */
@media (max-width: 480px) {
  .comment-item {
    padding: 0.5rem;
  }
  .comment-item .stars .star {
    font-size: 0.9rem;
  }
  .comment-item .comment-actions {
    gap: 0.25rem;
  }

  .edit-form textarea {
    font-size: 0.9rem;
  }
  .edit-form button {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
}
/* =========================
   Comment Tree Tip / Number Bubble
========================= */
/* Top bubble on the first UL */
#comments-root > ul:first-child::after {
  content: ""; /* can also use a number/label */
  position: absolute;
  top: -0.65rem;       /* above the UL vertical line */
  left: 0.2rem;        /* align with UL connector line */
  width: 1.3rem;
  height: 1.3rem;
  background: var(--secondary);
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  z-index: 2;
}




/* ----------------------------
   Edit Comment Form Styles
---------------------------- */
.edit-form {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.75rem;
  max-width: 600px;
  font-family: Arial, sans-serif;
}

.edit-form .form-group {
  margin-bottom: 0.75rem;
}

.edit-form textarea {
  width: 100%;
  min-height: 80px;
  padding: 0.5rem;
  font-size: 0.95rem;
  border-radius: 4px;
  border: 1px solid #999;
  resize: vertical;
}

.edit-form button {
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.edit-form button.btn-primary {
  background-color: var(--primary, #000);
  color: var(--text-light, #fff);
}

.edit-form button.btn-primary:hover {
  background-color: var(--primary-dark, #333);
}

.edit-form button.btn-secondary {
  background-color: var(--secondary, #666);
  color: var(--text-light, #fff);
}

.edit-form button.btn-secondary:hover {
  background-color: var(--secondary-dark, #444);
}

/* ----------------------------
   Star Rating Styles
---------------------------- */
.edit-form .star-rating {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.edit-form .star-rating label {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.edit-form .stars {
  display: flex;
  flex-direction: row-reverse; /* show 5 stars first */
  gap: 0.25rem;
}

.edit-form .stars input[type="radio"] {
  display: none;
}

.edit-form .stars label {
  font-size: 1.3rem;
  cursor: pointer;
  color: #ccc;
  transition: color 0.2s ease;
}

.edit-form .stars label:hover,
.edit-form .stars label:hover ~ label,
.edit-form .stars input[type="radio"]:checked ~ label {
  color: #f5b301; /* gold for selected stars */
}

/* ----------------------------
   Responsive
---------------------------- */
@media (max-width: 480px) {
  .edit-form {
    padding: 0.5rem;
  }

  .edit-form .stars label {
    font-size: 1.1rem;
  }

  .edit-form button {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
  }
}
@media (max-width: 1024px) {

  .ratings-reviews{
    padding: 0px;
  }
}


/* style for paginator */
/* =========================
   Paginator Styles
========================= */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.pagination button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--text-dark);
  background: var(--background-light);
  color: var(--text-dark);
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination button:hover:not(:disabled) {
  background: var(--primary-light);
  color: var(--text-light);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#page-info {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* =====================================================
   A2T Product Detail — production UX polish (2026-06-20)
   Scoped to product detail page to avoid breaking store/list/cart pages.
===================================================== */
.product-detail-body #a2t-products.pm-detail-page {
  --pd-bg: #f7f9fc;
  --pd-surface: #ffffff;
  --pd-surface-soft: #f8fafc;
  --pd-ink: #050914;
  --pd-text: #19243a;
  --pd-muted: #607089;
  --pd-line: #e4e9f2;
  --pd-line-strong: #d4ddeb;
  --pd-blue: #2563ff;
  --pd-blue-soft: #eef4ff;
  --pd-green: #16a34a;
  --pd-green-soft: #ecfdf3;
  --pd-shadow: 0 22px 70px rgba(15, 23, 42, 0.08);
  --pd-shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.06);
  background:
    radial-gradient(circle at 25% 0%, rgba(37, 99, 255, 0.06), transparent 34rem),
    linear-gradient(180deg, #fff 0%, var(--pd-bg) 100%);
  color: var(--pd-text);
}

.product-detail-body .pm-detail-main {
  min-width: 0;
}

.product-detail-body .a2t-product-detail-page {
  max-width: 1180px;
  margin-inline: auto;
  padding: 0 0 4rem;
}

.product-detail-body .a2t-product-detail-page :is(.a2t-panel, .a2t-selling-card, .a2t-feature-card, .a2t-buyer-state-card) {
  border: 1px solid var(--pd-line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--pd-shadow-soft);
}

.product-detail-body .a2t-product-hero-pro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 1.6rem;
  align-items: stretch;
  margin-top: 1.5rem;
}

.product-detail-body .a2t-product-preview-panel,
.product-detail-body .a2t-product-purchase-panel {
  border-radius: 28px;
  overflow: hidden;
}

.product-detail-body .a2t-product-preview-panel {
  position: relative;
  padding: 1.25rem;
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

.product-detail-body .a2t-preview-topline {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  pointer-events: none;
  z-index: 2;
}

.product-detail-body .a2t-preview-topline span,
.product-detail-body .a2t-product-code-box,
.product-detail-body .a2t-owned-badge {
  border: 1px solid rgba(37, 99, 255, 0.16);
  background: rgba(255, 255, 255, 0.86);
  color: var(--pd-blue);
  box-shadow: 0 10px 28px rgba(37, 99, 255, 0.08);
}

.product-detail-body .a2t-preview-topline span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.product-detail-body .a2t-product-preview-panel .hero-image {
  width: 100%;
  max-height: 315px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: none;
  transform: none !important;
}

.product-detail-body .a2t-product-preview-empty {
  width: 100%;
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed var(--pd-line-strong);
  border-radius: 22px;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
}

.product-detail-body .a2t-product-preview-empty i {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-grid;
  place-items: center;
  color: var(--pd-blue);
  background: var(--pd-blue-soft);
}

.product-detail-body .a2t-product-purchase-panel {
  padding: clamp(1.25rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: stretch;
}

.product-detail-body .a2t-product-kicker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-detail-body .a2t-owned-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 32px;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  color: var(--pd-green);
  background: var(--pd-green-soft);
  font-size: 0.75rem;
  font-weight: 900;
}

.product-detail-body .a2t-product-detail-page .a2t-page-kicker,
.product-detail-body .a2t-section-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: var(--pd-blue-soft);
  color: var(--pd-blue);
  border: 1px solid rgba(37, 99, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-detail-body .a2t-product-detail-page .a2t-page-title {
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 4.35rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
  font-weight: 950;
  color: var(--pd-ink);
}

.product-detail-body .a2t-product-detail-page .a2t-page-lead,
.product-detail-body .a2t-product-detail-page .a2t-section-lead,
.product-detail-body .a2t-product-detail-page .a2t-muted,
.product-detail-body .a2t-product-detail-page p {
  color: var(--pd-muted);
}

.product-detail-body .a2t-product-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 16px;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, rgba(238, 244, 255, 0.95), rgba(255, 255, 255, 0.95));
}

.product-detail-body .a2t-product-code-box span {
  color: var(--pd-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-detail-body .a2t-product-code-box strong {
  color: var(--pd-ink);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.product-detail-body .a2t-product-chip-row,
.product-detail-body .a2t-product-actions,
.product-detail-body .a2t-buyer-strip-pro {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.product-detail-body .a2t-product-chip-row .a2t-pill,
.product-detail-body .a2t-product-chip-row .a2t-status-pill,
.product-detail-body .a2t-buyer-strip-pro span {
  border: 1px solid var(--pd-line);
  background: var(--pd-surface-soft);
  color: var(--pd-text);
  border-radius: 999px;
  padding: 0.5rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 850;
}

.product-detail-body .a2t-product-chip-row .a2t-status-pill {
  color: #0f8b3e;
  background: #f0fdf4;
}

.product-detail-body .a2t-price-pro {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0.1rem 0 0;
}

.product-detail-body .a2t-price-pro .a2t-price-current {
  color: var(--pd-ink);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.065em;
}

.product-detail-body .a2t-price-pro .a2t-price-old {
  color: #8b98ad;
  text-decoration: line-through;
  font-size: 1.15rem;
  font-weight: 700;
}

.product-detail-body .a2t-access-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  border-radius: 18px;
  border: 1px solid var(--pd-line);
  background: #fbfcff;
  padding: 1rem;
}

.product-detail-body .a2t-access-card-owned {
  border-color: rgba(22, 163, 74, 0.22);
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.product-detail-body .a2t-access-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  color: var(--pd-blue);
  background: var(--pd-blue-soft);
}

.product-detail-body .a2t-access-card-owned .a2t-access-icon {
  color: var(--pd-green);
  background: var(--pd-green-soft);
}

.product-detail-body .a2t-access-card strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--pd-ink);
  font-weight: 950;
}

.product-detail-body .a2t-access-card p {
  margin: 0;
  line-height: 1.45;
  font-size: 0.92rem;
}

.product-detail-body .a2t-product-actions form {
  margin: 0;
}

.product-detail-body .a2t-product-detail-page :is(.a2t-btn, .a2t-btn-dark) {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 13px;
  padding: 0.72rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-detail-body .a2t-product-detail-page .a2t-btn-dark {
  border: 1px solid #060914;
  background: #060914;
  color: #fff;
  box-shadow: 0 14px 28px rgba(6, 9, 20, 0.18);
}

.product-detail-body .a2t-product-detail-page .a2t-btn {
  border: 1px solid var(--pd-line-strong);
  background: #fff;
  color: var(--pd-ink);
}

.product-detail-body .a2t-product-detail-page :is(.a2t-btn, .a2t-btn-dark):hover {
  transform: translateY(-1px);
}

.product-detail-body .a2t-disabled-link {
  opacity: 0.62;
  cursor: not-allowed;
}

.product-detail-body .a2t-buyer-strip-pro {
  margin-top: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pd-line);
}

.product-detail-body .a2t-buyer-strip-pro span i {
  color: var(--pd-blue);
  margin-right: 0.32rem;
}

.product-detail-body .a2t-product-identity-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 1.4rem 0 2.5rem;
  border: 1px solid var(--pd-line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--pd-shadow-soft);
}

.product-detail-body .a2t-product-identity-strip div {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid var(--pd-line);
}

.product-detail-body .a2t-product-identity-strip div:last-child {
  border-right: 0;
}

.product-detail-body .a2t-product-identity-strip span {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--pd-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-detail-body .a2t-product-identity-strip strong {
  display: block;
  color: var(--pd-ink);
  font-size: 0.85rem;
  line-height: 1.25;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.product-detail-body .a2t-product-section-head {
  margin-top: 2.25rem;
}

.product-detail-body .a2t-product-section-head > div:first-child:not(.a2t-selling-grid):not(.a2t-feature-grid) {
  max-width: 760px;
  margin-bottom: 1rem;
}

.product-detail-body .a2t-product-detail-page .a2t-section-heading {
  margin: 0.45rem 0 0.35rem;
  color: var(--pd-ink);
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.product-detail-body .a2t-product-detail-page .a2t-section-lead {
  max-width: 720px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.product-detail-body .a2t-selling-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-detail-body .a2t-selling-card,
.product-detail-body .a2t-feature-card,
.product-detail-body .a2t-buyer-state-card {
  border-radius: 20px;
  padding: 1.1rem;
}

.product-detail-body .a2t-selling-card .icon,
.product-detail-body .a2t-feature-card::before,
.product-detail-body .a2t-buyer-state-card i {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: var(--pd-blue-soft);
  color: var(--pd-blue);
}

.product-detail-body .a2t-selling-card h3,
.product-detail-body .a2t-feature-card strong,
.product-detail-body .a2t-buyer-state-card strong {
  color: var(--pd-ink);
  font-weight: 950;
}

.product-detail-body .a2t-selling-card p,
.product-detail-body .a2t-buyer-state-card span {
  color: var(--pd-muted);
  line-height: 1.55;
}

.product-detail-body .a2t-included-panel-pro {
  border-radius: 24px;
  padding: clamp(1.2rem, 2.2vw, 2rem);
  margin-top: 2.25rem;
}

.product-detail-body .a2t-check-list-pro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.product-detail-body .a2t-check-list-pro li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--pd-text);
  font-weight: 700;
}

.product-detail-body .a2t-check-list-pro li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--pd-blue);
  font-size: 0.74rem;
  font-weight: 950;
}

.product-detail-body .a2t-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-detail-body .a2t-feature-card {
  position: relative;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.product-detail-body .a2t-feature-card::before {
  content: "";
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.25rem;
  background-image: linear-gradient(135deg, rgba(37, 99, 255, 0.12), rgba(37, 99, 255, 0.04));
}

.product-detail-body .a2t-description {
  color: var(--pd-text);
  line-height: 1.75;
}

.product-detail-body .a2t-description :is(h1, h2, h3, h4) {
  color: var(--pd-ink);
  letter-spacing: -0.035em;
  font-weight: 950;
}

.product-detail-body .a2t-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-detail-body .a2t-support-grid .a2t-panel,
.product-detail-body #product-description,
.product-detail-body #product-reviews,
.product-detail-body .a2t-post-purchase-section {
  border-radius: 24px;
  padding: clamp(1.2rem, 2.2vw, 2rem);
}

.product-detail-body .a2t-support-list {
  display: grid;
  gap: 0.75rem;
}

.product-detail-body .a2t-support-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.product-detail-body .a2t-support-dot {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--pd-blue);
  font-size: 0.8rem;
  font-weight: 950;
}

.product-detail-body .a2t-changelog {
  display: grid;
  gap: 0.7rem;
}

.product-detail-body .a2t-changelog-item {
  border: 1px solid var(--pd-line);
  border-radius: 16px;
  padding: 0.85rem;
  background: var(--pd-surface-soft);
}

.product-detail-body .a2t-changelog-item strong {
  display: block;
  color: var(--pd-ink);
  font-weight: 950;
}

.product-detail-body .a2t-changelog-item span {
  display: block;
  margin-top: 0.18rem;
  color: var(--pd-muted);
}

.product-detail-body .a2t-post-purchase-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
  align-items: center;
  margin-top: 2.25rem;
}

.product-detail-body .a2t-buyer-state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.product-detail-body .a2t-buyer-state-card {
  display: grid;
  gap: 0.45rem;
  box-shadow: none;
}

.product-detail-body .a2t-buyer-state-card.is-active {
  border-color: rgba(22, 163, 74, 0.25);
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.product-detail-body .a2t-buyer-state-card.is-active i {
  color: var(--pd-green);
  background: var(--pd-green-soft);
}

.product-detail-body .pm-related-products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-detail-body .ratings-reviews .a2t-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-detail-body .rating-form textarea,
.product-detail-body .edit-form textarea {
  border-color: var(--pd-line-strong);
  background: #fff;
  color: var(--pd-text);
}

/* Dark mode parity */
html[data-theme="dark"] .product-detail-body #a2t-products.pm-detail-page,
body.dark-mode.product-detail-body #a2t-products.pm-detail-page,
body.dark.product-detail-body #a2t-products.pm-detail-page {
  --pd-bg: #05070d;
  --pd-surface: #0b101a;
  --pd-surface-soft: #0f1625;
  --pd-ink: #f6f8ff;
  --pd-text: #dbe4f5;
  --pd-muted: #94a3b8;
  --pd-line: #1d2738;
  --pd-line-strong: #2a3650;
  --pd-blue-soft: rgba(37, 99, 255, 0.14);
  --pd-green-soft: rgba(22, 163, 74, 0.14);
  --pd-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  --pd-shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.28);
  background:
    radial-gradient(circle at 22% 0%, rgba(37, 99, 255, 0.13), transparent 34rem),
    linear-gradient(180deg, #05070d 0%, #070b13 100%);
}

html[data-theme="dark"] .product-detail-body .a2t-product-detail-page :is(.a2t-panel, .a2t-selling-card, .a2t-feature-card, .a2t-buyer-state-card),
body.dark-mode.product-detail-body .a2t-product-detail-page :is(.a2t-panel, .a2t-selling-card, .a2t-feature-card, .a2t-buyer-state-card),
body.dark.product-detail-body .a2t-product-detail-page :is(.a2t-panel, .a2t-selling-card, .a2t-feature-card, .a2t-buyer-state-card) {
  background: rgba(11, 16, 26, 0.94);
  border-color: var(--pd-line);
}

html[data-theme="dark"] .product-detail-body .a2t-product-preview-panel,
body.dark-mode.product-detail-body .a2t-product-preview-panel,
body.dark.product-detail-body .a2t-product-preview-panel {
  background: linear-gradient(180deg, rgba(12, 18, 31, 0.98), rgba(8, 12, 21, 0.96));
}

html[data-theme="dark"] .product-detail-body :is(.a2t-preview-topline span, .a2t-product-code-box),
body.dark-mode.product-detail-body :is(.a2t-preview-topline span, .a2t-product-code-box),
body.dark.product-detail-body :is(.a2t-preview-topline span, .a2t-product-code-box) {
  background: rgba(15, 22, 37, 0.88);
  border-color: rgba(92, 139, 255, 0.22);
}

html[data-theme="dark"] .product-detail-body .a2t-access-card,
html[data-theme="dark"] .product-detail-body .a2t-changelog-item,
html[data-theme="dark"] .product-detail-body .a2t-product-chip-row .a2t-pill,
html[data-theme="dark"] .product-detail-body .a2t-buyer-strip-pro span,
body.dark-mode.product-detail-body .a2t-access-card,
body.dark-mode.product-detail-body .a2t-changelog-item,
body.dark-mode.product-detail-body .a2t-product-chip-row .a2t-pill,
body.dark-mode.product-detail-body .a2t-buyer-strip-pro span,
body.dark.product-detail-body .a2t-access-card,
body.dark.product-detail-body .a2t-changelog-item,
body.dark.product-detail-body .a2t-product-chip-row .a2t-pill,
body.dark.product-detail-body .a2t-buyer-strip-pro span {
  background: var(--pd-surface-soft);
  border-color: var(--pd-line);
  color: var(--pd-text);
}

html[data-theme="dark"] .product-detail-body .a2t-access-card-owned,
html[data-theme="dark"] .product-detail-body .a2t-buyer-state-card.is-active,
body.dark-mode.product-detail-body .a2t-access-card-owned,
body.dark-mode.product-detail-body .a2t-buyer-state-card.is-active,
body.dark.product-detail-body .a2t-access-card-owned,
body.dark.product-detail-body .a2t-buyer-state-card.is-active {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.13), rgba(11, 16, 26, 0.96));
}

html[data-theme="dark"] .product-detail-body .a2t-product-detail-page .a2t-btn,
body.dark-mode.product-detail-body .a2t-product-detail-page .a2t-btn,
body.dark.product-detail-body .a2t-product-detail-page .a2t-btn {
  background: #0f1625;
  border-color: #28344d;
  color: #f6f8ff;
}

html[data-theme="dark"] .product-detail-body .a2t-product-detail-page .a2t-btn-dark,
body.dark-mode.product-detail-body .a2t-product-detail-page .a2t-btn-dark,
body.dark.product-detail-body .a2t-product-detail-page .a2t-btn-dark {
  background: #ffffff;
  border-color: #ffffff;
  color: #05070d;
}

html[data-theme="dark"] .product-detail-body .rating-form textarea,
html[data-theme="dark"] .product-detail-body .edit-form textarea,
body.dark-mode.product-detail-body .rating-form textarea,
body.dark-mode.product-detail-body .edit-form textarea,
body.dark.product-detail-body .rating-form textarea,
body.dark.product-detail-body .edit-form textarea {
  background: #0f1625;
  border-color: #28344d;
  color: #f6f8ff;
}

@media (max-width: 1180px) {
  .product-detail-body .a2t-product-hero-pro {
    grid-template-columns: 1fr;
  }

  .product-detail-body .a2t-product-purchase-panel {
    max-width: none;
  }

  .product-detail-body .a2t-product-identity-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail-body .a2t-product-identity-strip div:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .product-detail-body .a2t-selling-grid,
  .product-detail-body .a2t-feature-grid,
  .product-detail-body .a2t-support-grid,
  .product-detail-body .a2t-post-purchase-section,
  .product-detail-body .a2t-buyer-state-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-detail-body .a2t-post-purchase-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .product-detail-body .a2t-product-detail-page {
    padding-inline: 0;
  }

  .product-detail-body .a2t-product-hero-pro {
    gap: 1rem;
    margin-top: 1rem;
  }

  .product-detail-body .a2t-product-preview-panel,
  .product-detail-body .a2t-product-purchase-panel,
  .product-detail-body .a2t-product-identity-strip,
  .product-detail-body .a2t-included-panel-pro,
  .product-detail-body .a2t-support-grid .a2t-panel,
  .product-detail-body #product-description,
  .product-detail-body #product-reviews,
  .product-detail-body .a2t-post-purchase-section {
    border-radius: 20px;
  }

  .product-detail-body .a2t-product-preview-panel {
    min-height: 220px;
    padding: 0.85rem;
  }

  .product-detail-body .a2t-product-preview-panel .hero-image {
    max-height: 220px;
  }

  .product-detail-body .a2t-product-detail-page .a2t-page-title {
    font-size: clamp(2.35rem, 13vw, 3.25rem);
  }

  .product-detail-body .a2t-product-identity-strip,
  .product-detail-body .a2t-selling-grid,
  .product-detail-body .a2t-feature-grid,
  .product-detail-body .a2t-support-grid,
  .product-detail-body .a2t-post-purchase-section,
  .product-detail-body .a2t-buyer-state-grid,
  .product-detail-body .a2t-check-list-pro,
  .product-detail-body .pm-related-products-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-body .a2t-product-identity-strip div,
  .product-detail-body .a2t-product-identity-strip div:nth-child(3n) {
    border-right: 0;
    border-bottom: 1px solid var(--pd-line);
  }

  .product-detail-body .a2t-product-identity-strip div:last-child {
    border-bottom: 0;
  }

  .product-detail-body .a2t-product-actions :is(a, button),
  .product-detail-body .a2t-product-actions form {
    width: 100%;
  }

  .product-detail-body .a2t-product-detail-page :is(.a2t-btn, .a2t-btn-dark) {
    width: 100%;
  }
}

/* =====================================================
   A2T Product Detail — perfection pass + CMS-ready UX (2026-06-20)
   Final overrides only; scoped to product detail.
===================================================== */
.product-detail-body #a2t-products.pm-detail-page {
  --pd-bg: #f6f8fc;
  --pd-surface: #ffffff;
  --pd-surface-soft: #f8fbff;
  --pd-ink: #040814;
  --pd-text: #1c2840;
  --pd-muted: #5d6b82;
  --pd-line: #e3e9f3;
  --pd-line-strong: #cfd9ea;
  --pd-blue: #2563ff;
  --pd-blue-soft: #edf4ff;
  --pd-green: #12a150;
  --pd-green-soft: #ecfdf4;
  background:
    radial-gradient(circle at 18% 0%, rgba(37, 99, 255, 0.07), transparent 32rem),
    linear-gradient(180deg, #fff 0%, #f7f9fd 44%, #f4f7fb 100%);
}

.product-detail-body .a2t-product-detail-page {
  max-width: 1240px;
  padding-bottom: 5rem;
}

.product-detail-body .a2t-product-hero-perfect {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 1.25rem;
}

.product-detail-body .a2t-product-command-panel,
.product-detail-body .a2t-product-preview-perfect,
.product-detail-body .a2t-product-identity-strip,
.product-detail-body .a2t-included-panel-pro,
.product-detail-body .a2t-support-grid .a2t-panel,
.product-detail-body #product-description,
.product-detail-body #product-reviews,
.product-detail-body .a2t-post-purchase-section {
  border: 1px solid var(--pd-line);
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.06);
}

.product-detail-body .a2t-product-command-panel {
  padding: clamp(1.15rem, 1.6vw, 1.65rem);
  gap: 0.82rem;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
}

.product-detail-body .a2t-product-detail-page .a2t-page-title {
  font-size: clamp(2.35rem, 3.45vw, 4.05rem);
  letter-spacing: -0.07em;
  max-width: 10ch;
}

.product-detail-body .a2t-product-detail-page .a2t-page-lead {
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 42rem;
}

.product-detail-body .a2t-product-preview-perfect {
  min-height: 0;
  padding: 1rem;
  align-items: stretch;
  justify-content: stretch;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(248, 251, 255, 0.94));
}

.product-detail-body .a2t-product-preview-perfect::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 14%, rgba(37, 99, 255, 0.10), transparent 16rem),
    radial-gradient(circle at 82% 92%, rgba(37, 99, 255, 0.08), transparent 18rem);
  pointer-events: none;
}

.product-detail-body .a2t-preview-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 10;
  margin-top: 2.25rem;
  border-radius: 24px;
  border: 1px solid var(--pd-line);
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-detail-body .a2t-product-preview-perfect .hero-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  box-shadow: none;
}

.product-detail-body .a2t-preview-topline {
  z-index: 3;
  left: 1.25rem;
  right: 1.25rem;
}

.product-detail-body .a2t-product-kicker-row {
  margin-bottom: 0.1rem;
}

.product-detail-body .a2t-product-detail-page .a2t-page-kicker,
.product-detail-body .a2t-section-eyebrow,
.product-detail-body .a2t-preview-topline span {
  min-height: 28px;
  padding: 0.34rem 0.68rem;
  font-size: 0.7rem;
}

.product-detail-body .a2t-product-code-box {
  padding: 0.76rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(241, 246, 255, 0.98), rgba(255, 255, 255, 0.96));
}

.product-detail-body .a2t-product-chip-row {
  gap: 0.45rem;
}

.product-detail-body .a2t-product-chip-row .a2t-pill,
.product-detail-body .a2t-product-chip-row .a2t-status-pill {
  padding: 0.42rem 0.64rem;
  font-size: 0.75rem;
  background: #fff;
}

.product-detail-body .a2t-product-chip-row .a2t-status-pill i {
  font-size: 0.46rem;
  margin-right: 0.28rem;
}

.product-detail-body .a2t-price-pro {
  margin-top: 0.08rem;
}

.product-detail-body .a2t-price-pro .a2t-price-current {
  font-size: clamp(2.25rem, 3.15vw, 3.65rem);
}

.product-detail-body .a2t-access-card {
  padding: 0.9rem;
  border-radius: 16px;
}

.product-detail-body .a2t-product-actions {
  gap: 0.55rem;
}

.product-detail-body .a2t-product-actions form {
  display: inline-flex;
}

.product-detail-body .a2t-product-detail-page :is(.a2t-btn, .a2t-btn-dark) {
  min-height: 44px;
  border-radius: 12px;
  padding: 0.68rem 1rem;
}

.product-detail-body .a2t-buyer-strip-pro {
  padding-top: 0.85rem;
  gap: 0.45rem;
}

.product-detail-body .a2t-buyer-strip-pro span {
  padding: 0.44rem 0.64rem;
  font-size: 0.74rem;
}

.product-detail-body .a2t-product-identity-strip {
  margin: 1.15rem 0 2rem;
  border-radius: 18px;
}

.product-detail-body .a2t-product-identity-strip div {
  padding: 0.85rem 0.95rem;
}

.product-detail-body .a2t-product-section-head {
  margin-top: 2rem;
}

.product-detail-body .a2t-selling-grid,
.product-detail-body .a2t-feature-grid {
  gap: 0.82rem;
}

.product-detail-body .a2t-selling-card,
.product-detail-body .a2t-feature-card,
.product-detail-body .a2t-buyer-state-card {
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.product-detail-body .a2t-selling-card .icon,
.product-detail-body .a2t-feature-card::before,
.product-detail-body .a2t-buyer-state-card i {
  width: 2.18rem;
  height: 2.18rem;
  border-radius: 0.82rem;
}

.product-detail-body .a2t-selling-card h3,
.product-detail-body .a2t-feature-card strong,
.product-detail-body .a2t-buyer-state-card strong {
  margin-top: 0.6rem;
  font-size: 0.98rem;
}

.product-detail-body .a2t-selling-card p,
.product-detail-body .a2t-buyer-state-card span {
  margin: 0.35rem 0 0;
  font-size: 0.91rem;
}

.product-detail-body .a2t-included-panel-pro,
.product-detail-body .a2t-support-grid .a2t-panel,
.product-detail-body #product-description,
.product-detail-body #product-reviews,
.product-detail-body .a2t-post-purchase-section {
  background: rgba(255, 255, 255, 0.94);
}

.product-detail-body .a2t-check-list-pro {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-detail-body .a2t-check-list-pro li {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  font-size: 0.94rem;
  line-height: 1.45;
}

.product-detail-body .a2t-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-detail-body .a2t-support-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.product-detail-body .a2t-changelog-item {
  background: #fbfdff;
}

.product-detail-body .a2t-post-purchase-section {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.product-detail-body .comments-list {
  margin-top: 1.4rem;
}

html[data-theme="dark"] .product-detail-body .a2t-preview-stage,
body.dark-mode.product-detail-body .a2t-preview-stage,
body.dark.product-detail-body .a2t-preview-stage {
  background: linear-gradient(180deg, rgba(15, 22, 37, 0.94), rgba(8, 12, 21, 0.98));
  border-color: rgba(92, 139, 255, 0.18);
}

html[data-theme="dark"] .product-detail-body .a2t-product-preview-perfect::before,
body.dark-mode.product-detail-body .a2t-product-preview-perfect::before,
body.dark.product-detail-body .a2t-product-preview-perfect::before {
  background:
    radial-gradient(circle at 12% 14%, rgba(37, 99, 255, 0.14), transparent 16rem),
    radial-gradient(circle at 82% 92%, rgba(37, 99, 255, 0.11), transparent 18rem);
}

html[data-theme="dark"] .product-detail-body .a2t-product-command-panel,
html[data-theme="dark"] .product-detail-body .a2t-product-preview-perfect,
html[data-theme="dark"] .product-detail-body .a2t-included-panel-pro,
html[data-theme="dark"] .product-detail-body .a2t-support-grid .a2t-panel,
html[data-theme="dark"] .product-detail-body #product-description,
html[data-theme="dark"] .product-detail-body #product-reviews,
html[data-theme="dark"] .product-detail-body .a2t-post-purchase-section,
body.dark-mode.product-detail-body .a2t-product-command-panel,
body.dark-mode.product-detail-body .a2t-product-preview-perfect,
body.dark-mode.product-detail-body .a2t-included-panel-pro,
body.dark-mode.product-detail-body .a2t-support-grid .a2t-panel,
body.dark-mode.product-detail-body #product-description,
body.dark-mode.product-detail-body #product-reviews,
body.dark-mode.product-detail-body .a2t-post-purchase-section,
body.dark.product-detail-body .a2t-product-command-panel,
body.dark.product-detail-body .a2t-product-preview-perfect,
body.dark.product-detail-body .a2t-included-panel-pro,
body.dark.product-detail-body .a2t-support-grid .a2t-panel,
body.dark.product-detail-body #product-description,
body.dark.product-detail-body #product-reviews,
body.dark.product-detail-body .a2t-post-purchase-section {
  background: rgba(11, 16, 26, 0.95);
}

@media (max-width: 1180px) {
  .product-detail-body .a2t-product-hero-perfect {
    grid-template-columns: 1fr;
  }

  .product-detail-body .a2t-product-detail-page .a2t-page-title {
    max-width: none;
  }

  .product-detail-body .a2t-preview-stage {
    min-height: 260px;
  }
}

@media (max-width: 900px) {
  .product-detail-body .a2t-check-list-pro,
  .product-detail-body .a2t-feature-grid,
  .product-detail-body .a2t-selling-grid,
  .product-detail-body .a2t-support-grid,
  .product-detail-body .a2t-post-purchase-section,
  .product-detail-body .a2t-buyer-state-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .product-detail-body .a2t-product-command-panel {
    padding: 1rem;
  }

  .product-detail-body .a2t-preview-stage {
    aspect-ratio: 4 / 3;
    min-height: 220px;
    margin-top: 2rem;
  }

  .product-detail-body .a2t-check-list-pro,
  .product-detail-body .a2t-feature-grid,
  .product-detail-body .a2t-selling-grid,
  .product-detail-body .a2t-support-grid,
  .product-detail-body .a2t-post-purchase-section,
  .product-detail-body .a2t-buyer-state-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-body .a2t-product-detail-page .a2t-page-title {
    font-size: clamp(2.15rem, 13vw, 3rem);
  }
}

/* =====================================================
   A2T Product Detail V3 — clean marketplace layout
   Approval-based implementation after PNG structure pass.
   Scoped to product detail only.
===================================================== */
.product-detail-body #a2t-products.pd-v3-page {
  --pdv3-bg: #f6f8fc;
  --pdv3-surface: #ffffff;
  --pdv3-surface-soft: #f8fbff;
  --pdv3-ink: #050914;
  --pdv3-text: #1f2a44;
  --pdv3-muted: #627089;
  --pdv3-line: #e2e8f3;
  --pdv3-line-strong: #ced8ea;
  --pdv3-blue: #2563ff;
  --pdv3-blue-2: #0f62fe;
  --pdv3-blue-soft: #edf4ff;
  --pdv3-green: #13a155;
  --pdv3-green-soft: #ecfdf4;
  --pdv3-red: #dc2626;
  --pdv3-radius-lg: 24px;
  --pdv3-radius-md: 18px;
  --pdv3-shadow: 0 18px 56px rgba(15, 23, 42, 0.07);
  --pdv3-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.05);
  color: var(--pdv3-text);
  background:
    radial-gradient(circle at 18% 0%, rgba(37, 99, 255, 0.07), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--pdv3-bg) 100%);
  min-height: 100vh;
}

.product-detail-body .pd-v3-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 2.1rem 0 4.5rem;
}

.product-detail-body .pd-v3-breadcrumb {
  margin: 0 0 1.1rem;
  padding: 0;
  color: var(--pdv3-muted);
}

.product-detail-body .pd-v3-breadcrumb a,
.product-detail-body .pd-v3-breadcrumb span {
  color: var(--pdv3-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.product-detail-body .pd-v3-breadcrumb span {
  color: var(--pdv3-text);
}

.product-detail-body .pd-v3-section-nav {
  display: none;
  margin: 0 0 1rem;
  overflow-x: auto;
  gap: 0.5rem;
  padding: 0.2rem 0 0.65rem;
  scrollbar-width: none;
}

.product-detail-body .pd-v3-section-nav::-webkit-scrollbar {
  display: none;
}

.product-detail-body .pd-v3-section-nav a {
  white-space: nowrap;
  border: 1px solid var(--pdv3-line);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: #fff;
  color: var(--pdv3-text);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.product-detail-body .pd-v3-section-nav a.active {
  background: var(--pdv3-blue);
  border-color: var(--pdv3-blue);
  color: #fff;
}

.product-detail-body .pd-v3-card,
.product-detail-body .pd-v3-mini-card,
.product-detail-body .pd-v3-buyer-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--pdv3-line);
  border-radius: var(--pdv3-radius-lg);
  box-shadow: var(--pdv3-shadow-soft);
}

.product-detail-body .pd-v3-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1rem;
  align-items: stretch;
}

.product-detail-body .pd-v3-summary-card {
  padding: clamp(1.15rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.92rem;
  min-width: 0;
}

.product-detail-body .pd-v3-preview-card {
  min-width: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(37, 99, 255, 0.08), transparent 18rem),
    linear-gradient(135deg, #ffffff, #f7faff);
}

.product-detail-body .pd-v3-topline,
.product-detail-body .pd-v3-preview-top,
.product-detail-body .pd-v3-stat-row,
.product-detail-body .pd-v3-actions,
.product-detail-body .pd-v3-assurance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.product-detail-body .pd-v3-topline,
.product-detail-body .pd-v3-preview-top {
  justify-content: space-between;
}

.product-detail-body .pd-v3-kicker,
.product-detail-body .pd-v3-status,
.product-detail-body .pd-v3-eyebrow,
.product-detail-body .pd-v3-preview-top span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  width: fit-content;
  min-height: 30px;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(37, 99, 255, 0.14);
  background: var(--pdv3-blue-soft);
  color: var(--pdv3-blue);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.product-detail-body .pd-v3-status-success {
  color: var(--pdv3-green);
  border-color: rgba(19, 161, 85, 0.2);
  background: var(--pdv3-green-soft);
}

.product-detail-body .pd-v3-title {
  margin: 0;
  max-width: 12ch;
  color: var(--pdv3-ink);
  font-size: clamp(2.55rem, 4.2vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  font-weight: 950;
}

.product-detail-body .pd-v3-lead {
  margin: -0.25rem 0 0;
  max-width: 43rem;
  color: var(--pdv3-muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.55;
}

.product-detail-body .pd-v3-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.product-detail-body .pd-v3-meta-cell {
  min-width: 0;
  border: 1px solid var(--pdv3-line);
  border-radius: 14px;
  padding: 0.78rem 0.85rem;
  background: #fbfdff;
}

.product-detail-body .pd-v3-meta-cell span,
.product-detail-body .pd-v3-detail-list span,
.product-detail-body .pd-v3-identity-strip div span {
  display: block;
  margin-bottom: 0.24rem;
  color: var(--pdv3-muted);
  font-size: 0.7rem;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.product-detail-body .pd-v3-meta-cell strong,
.product-detail-body .pd-v3-detail-list strong,
.product-detail-body .pd-v3-identity-strip div strong {
  display: block;
  color: var(--pdv3-ink);
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.product-detail-body .pd-v3-stat-row {
  gap: 0.5rem;
}

.product-detail-body .pd-v3-stat-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0.46rem 0.65rem;
  border: 1px solid var(--pdv3-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--pdv3-text);
  font-size: 0.8rem;
  line-height: 1;
  font-weight: 850;
}

.product-detail-body .pd-v3-stat-row i {
  color: var(--pdv3-blue);
}

.product-detail-body .pd-v3-price-actions {
  display: grid;
  gap: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--pdv3-line);
}

.product-detail-body .pd-v3-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem;
}

.product-detail-body .pd-v3-price-current {
  color: var(--pdv3-ink);
  font-size: clamp(2.15rem, 3.35vw, 3.45rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.product-detail-body .pd-v3-price-old {
  color: #8c98ab;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: line-through;
}

.product-detail-body .pd-v3-access-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  border: 1px solid var(--pdv3-line);
  border-radius: 16px;
  padding: 0.95rem;
  background: #fbfdff;
}

.product-detail-body .pd-v3-access-owned {
  border-color: rgba(19, 161, 85, 0.24);
  background: linear-gradient(135deg, var(--pdv3-green-soft), #ffffff);
}

.product-detail-body .pd-v3-access-note > i {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 0.82rem;
  background: var(--pdv3-blue-soft);
  color: var(--pdv3-blue);
}

.product-detail-body .pd-v3-access-owned > i {
  background: var(--pdv3-green-soft);
  color: var(--pdv3-green);
}

.product-detail-body .pd-v3-access-note strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--pdv3-ink);
  font-weight: 950;
}

.product-detail-body .pd-v3-access-note p {
  margin: 0;
  color: var(--pdv3-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.product-detail-body .pd-v3-actions form {
  display: inline-flex;
  margin: 0;
}

.product-detail-body .pd-v3-btn,
.product-detail-body .pd-v3-actions button.pd-v3-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid var(--pdv3-line-strong);
  border-radius: 12px;
  padding: 0.68rem 1rem;
  background: #ffffff;
  color: var(--pdv3-ink);
  font-size: 0.88rem;
  font-weight: 920;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-detail-body .pd-v3-btn:hover,
.product-detail-body .pd-v3-actions button.pd-v3-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 255, 0.45);
  box-shadow: 0 12px 24px rgba(37, 99, 255, 0.10);
}

.product-detail-body .pd-v3-btn-primary,
.product-detail-body .pd-v3-actions button.pd-v3-btn-primary {
  border-color: var(--pdv3-blue);
  background: linear-gradient(135deg, var(--pdv3-blue), var(--pdv3-blue-2));
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(37, 99, 255, 0.22);
}

.product-detail-body .pd-v3-btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.product-detail-body .pd-v3-assurance {
  padding-top: 0.85rem;
  border-top: 1px solid var(--pdv3-line);
}

.product-detail-body .pd-v3-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--pdv3-muted);
  font-size: 0.82rem;
  font-weight: 820;
}

.product-detail-body .pd-v3-assurance i {
  color: var(--pdv3-blue);
}

.product-detail-body .pd-v3-preview-stage {
  flex: 1;
  min-height: 330px;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  border: 1px solid var(--pdv3-line);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f2f6ff);
}

.product-detail-body .pd-v3-preview-stage .hero-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  transform: none !important;
}

.product-detail-body .pd-v3-empty-preview {
  min-height: 280px;
  display: grid;
  place-items: center;
  gap: 0.45rem;
  text-align: center;
  color: var(--pdv3-muted);
}

.product-detail-body .pd-v3-empty-preview i {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: var(--pdv3-blue-soft);
  color: var(--pdv3-blue);
}

.product-detail-body .pd-v3-empty-preview strong {
  color: var(--pdv3-ink);
  font-weight: 950;
}

.product-detail-body .pd-v3-preview-thumbs {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}

.product-detail-body .pd-v3-preview-thumbs img {
  width: 92px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid var(--pdv3-line);
  border-radius: 10px;
  background: #fff;
}

.product-detail-body .pd-v3-identity-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 1rem 0 1.1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--pdv3-line);
  border-radius: 18px;
  box-shadow: var(--pdv3-shadow-soft);
}

.product-detail-body .pd-v3-identity-strip div {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 0.65rem;
  align-items: center;
  padding: 0.9rem 0.95rem;
  border-right: 1px solid var(--pdv3-line);
}

.product-detail-body .pd-v3-identity-strip div:last-child {
  border-right: 0;
}

.product-detail-body .pd-v3-identity-strip i {
  grid-row: 1 / span 2;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--pdv3-blue-soft);
  color: var(--pdv3-blue);
}

.product-detail-body .pd-v3-section {
  margin-top: 1rem;
}

.product-detail-body .pd-v3-section-head {
  margin-bottom: 0.95rem;
}

.product-detail-body .pd-v3-section-head h2,
.product-detail-body .pd-v3-list-card h2,
.product-detail-body .pd-v3-description-card h2,
.product-detail-body .pd-v3-support-card h2,
.product-detail-body .pd-v3-reviews h2,
.product-detail-body .pd-v3-related-section h2 {
  margin: 0.45rem 0 0.35rem;
  color: var(--pdv3-ink);
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: -0.052em;
  font-weight: 950;
}

.product-detail-body .pd-v3-section-head p {
  max-width: 760px;
  margin: 0;
  color: var(--pdv3-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.product-detail-body .pd-v3-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.product-detail-body .pd-v3-mini-card {
  padding: 1rem;
  border-radius: 18px;
  box-shadow: none;
}

.product-detail-body .pd-v3-icon,
.product-detail-body .pd-v3-buyer-card i {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  background: var(--pdv3-blue-soft);
  color: var(--pdv3-blue);
}

.product-detail-body .pd-v3-mini-card h3 {
  margin: 0.75rem 0 0.35rem;
  color: var(--pdv3-ink);
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 950;
}

.product-detail-body .pd-v3-mini-card p {
  margin: 0;
  color: var(--pdv3-muted);
  font-size: 0.9rem;
  line-height: 1.52;
}

.product-detail-body .pd-v3-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.product-detail-body .pd-v3-list-card,
.product-detail-body .pd-v3-description-card,
.product-detail-body .pd-v3-support-card,
.product-detail-body .pd-v3-buyer-section,
.product-detail-body .pd-v3-reviews {
  padding: clamp(1rem, 1.5vw, 1.35rem);
}

.product-detail-body .pd-v3-description-card {
  grid-row: span 2;
}

.product-detail-body .pd-v3-support-card {
  grid-column: span 2;
}

.product-detail-body .pd-v3-check-list {
  display: grid;
  gap: 0.58rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.product-detail-body .pd-v3-check-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--pdv3-text);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 760;
}

.product-detail-body .pd-v3-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.05rem;
  height: 1.05rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pdv3-green-soft);
  color: var(--pdv3-green);
  font-size: 0.72rem;
  font-weight: 950;
}

.product-detail-body .pd-v3-detail-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.product-detail-body .pd-v3-detail-list div {
  border: 1px solid var(--pdv3-line);
  border-radius: 14px;
  padding: 0.75rem;
  background: #fbfdff;
}

.product-detail-body .pd-v3-description {
  margin-top: 0.9rem;
  color: var(--pdv3-text);
  font-size: 0.95rem;
  line-height: 1.72;
}

.product-detail-body .pd-v3-description :is(h1, h2, h3, h4) {
  color: var(--pdv3-ink);
  letter-spacing: -0.035em;
  font-weight: 950;
}

.product-detail-body .pd-v3-support-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: 0.95rem;
}

.product-detail-body .pd-v3-support-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  border: 1px solid var(--pdv3-line);
  border-radius: 15px;
  padding: 0.78rem;
  background: #fbfdff;
}

.product-detail-body .pd-v3-support-item > span {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pdv3-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 950;
}

.product-detail-body .pd-v3-support-item strong {
  display: block;
  color: var(--pdv3-ink);
  font-weight: 950;
  font-size: 0.92rem;
}

.product-detail-body .pd-v3-support-item p {
  margin: 0.18rem 0 0;
  color: var(--pdv3-muted);
  font-size: 0.85rem;
  line-height: 1.42;
}

.product-detail-body .pd-v3-support-actions {
  margin-top: 0.85rem;
}

.product-detail-body .pd-v3-buyer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
  margin-top: 1rem;
}

.product-detail-body .pd-v3-buyer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.product-detail-body .pd-v3-buyer-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem;
  box-shadow: none;
}

.product-detail-body .pd-v3-buyer-card strong {
  color: var(--pdv3-ink);
  font-weight: 950;
}

.product-detail-body .pd-v3-buyer-card span {
  color: var(--pdv3-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.product-detail-body .pd-v3-buyer-card.is-active {
  border-color: rgba(19, 161, 85, 0.25);
  background: linear-gradient(135deg, var(--pdv3-green-soft), #fff);
}

.product-detail-body .pd-v3-buyer-card.is-active i {
  color: var(--pdv3-green);
  background: var(--pdv3-green-soft);
}

.product-detail-body .pd-v3-reviews {
  margin-top: 1rem;
}

.product-detail-body .pd-v3-review-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.85rem;
}

.product-detail-body .pd-v3-review-score {
  min-width: 110px;
  border: 1px solid var(--pdv3-line);
  border-radius: 16px;
  padding: 0.7rem 0.85rem;
  text-align: center;
  background: #fbfdff;
}

.product-detail-body .pd-v3-review-score strong {
  display: block;
  color: var(--pdv3-ink);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 950;
}

.product-detail-body .pd-v3-review-score span {
  display: block;
  margin-top: 0.28rem;
  color: var(--pdv3-muted);
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.product-detail-body .pd-v3-empty-state,
.product-detail-body .pd-v3-form-card {
  border: 1px solid var(--pdv3-line);
  border-radius: 16px;
  background: #fbfdff;
  padding: 1rem;
}

.product-detail-body .pd-v3-empty-state h3 {
  margin: 0 0 0.35rem;
  color: var(--pdv3-ink);
  font-weight: 950;
}

.product-detail-body .pd-v3-empty-state p {
  margin: 0;
  color: var(--pdv3-muted);
}

.product-detail-body .pd-v3-form-card textarea,
.product-detail-body .pd-v3-reviews textarea {
  width: 100%;
  border: 1px solid var(--pdv3-line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--pdv3-text);
}

.product-detail-body .pd-v3-related-section {
  margin-top: 1rem;
}

.product-detail-body .pd-v3-related-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.product-detail-body .pd-v3-related-grid.pm-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.product-detail-body .pd-v3-related-grid .pm-product-card {
  box-shadow: var(--pdv3-shadow-soft);
}

/* Neutralize older product-detail panel styles when V3 template is active. */
.product-detail-body .pd-v3-page .a2t-product-detail-page,
.product-detail-body .pd-v3-page .a2t-page-shell {
  max-width: none;
  padding: 0;
}

.product-detail-body .pd-v3-page .ratings-reviews {
  padding: clamp(1rem, 1.5vw, 1.35rem);
}

.product-detail-body .pd-v3-page .ratings-reviews h2 {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Dark mode */
html[data-theme="dark"] .product-detail-body #a2t-products.pd-v3-page,
body.dark-mode.product-detail-body #a2t-products.pd-v3-page,
body.dark.product-detail-body #a2t-products.pd-v3-page {
  --pdv3-bg: #05070d;
  --pdv3-surface: #0b101a;
  --pdv3-surface-soft: #0f1625;
  --pdv3-ink: #f7f9ff;
  --pdv3-text: #dce5f7;
  --pdv3-muted: #98a8bf;
  --pdv3-line: #1d2739;
  --pdv3-line-strong: #2a3650;
  --pdv3-blue-soft: rgba(37, 99, 255, 0.16);
  --pdv3-green-soft: rgba(19, 161, 85, 0.13);
  background:
    radial-gradient(circle at 18% 0%, rgba(37, 99, 255, 0.14), transparent 32rem),
    linear-gradient(180deg, #05070d 0%, #070b13 100%);
}

html[data-theme="dark"] .product-detail-body .pd-v3-card,
html[data-theme="dark"] .product-detail-body .pd-v3-mini-card,
html[data-theme="dark"] .product-detail-body .pd-v3-buyer-card,
html[data-theme="dark"] .product-detail-body .pd-v3-identity-strip,
body.dark-mode.product-detail-body .pd-v3-card,
body.dark-mode.product-detail-body .pd-v3-mini-card,
body.dark-mode.product-detail-body .pd-v3-buyer-card,
body.dark-mode.product-detail-body .pd-v3-identity-strip,
body.dark.product-detail-body .pd-v3-card,
body.dark.product-detail-body .pd-v3-mini-card,
body.dark.product-detail-body .pd-v3-buyer-card,
body.dark.product-detail-body .pd-v3-identity-strip {
  background: rgba(11, 16, 26, 0.94);
  border-color: var(--pdv3-line);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .product-detail-body .pd-v3-meta-cell,
html[data-theme="dark"] .product-detail-body .pd-v3-stat-row span,
html[data-theme="dark"] .product-detail-body .pd-v3-access-note,
html[data-theme="dark"] .product-detail-body .pd-v3-detail-list div,
html[data-theme="dark"] .product-detail-body .pd-v3-support-item,
html[data-theme="dark"] .product-detail-body .pd-v3-review-score,
html[data-theme="dark"] .product-detail-body .pd-v3-empty-state,
html[data-theme="dark"] .product-detail-body .pd-v3-form-card,
body.dark-mode.product-detail-body .pd-v3-meta-cell,
body.dark-mode.product-detail-body .pd-v3-stat-row span,
body.dark-mode.product-detail-body .pd-v3-access-note,
body.dark-mode.product-detail-body .pd-v3-detail-list div,
body.dark-mode.product-detail-body .pd-v3-support-item,
body.dark-mode.product-detail-body .pd-v3-review-score,
body.dark-mode.product-detail-body .pd-v3-empty-state,
body.dark-mode.product-detail-body .pd-v3-form-card,
body.dark.product-detail-body .pd-v3-meta-cell,
body.dark.product-detail-body .pd-v3-stat-row span,
body.dark.product-detail-body .pd-v3-access-note,
body.dark.product-detail-body .pd-v3-detail-list div,
body.dark.product-detail-body .pd-v3-support-item,
body.dark.product-detail-body .pd-v3-review-score,
body.dark.product-detail-body .pd-v3-empty-state,
body.dark.product-detail-body .pd-v3-form-card {
  background: var(--pdv3-surface-soft);
  border-color: var(--pdv3-line);
}

html[data-theme="dark"] .product-detail-body .pd-v3-preview-card,
body.dark-mode.product-detail-body .pd-v3-preview-card,
body.dark.product-detail-body .pd-v3-preview-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(37, 99, 255, 0.13), transparent 18rem),
    linear-gradient(135deg, #0b101a, #0f1625);
}

html[data-theme="dark"] .product-detail-body .pd-v3-preview-stage,
body.dark-mode.product-detail-body .pd-v3-preview-stage,
body.dark.product-detail-body .pd-v3-preview-stage {
  background: linear-gradient(180deg, #0f1625, #070b13);
  border-color: var(--pdv3-line);
}

html[data-theme="dark"] .product-detail-body .pd-v3-btn,
body.dark-mode.product-detail-body .pd-v3-btn,
body.dark.product-detail-body .pd-v3-btn {
  background: #0f1625;
  border-color: #28344d;
  color: var(--pdv3-ink);
}

html[data-theme="dark"] .product-detail-body .pd-v3-btn-primary,
body.dark-mode.product-detail-body .pd-v3-btn-primary,
body.dark.product-detail-body .pd-v3-btn-primary {
  background: linear-gradient(135deg, #3974ff, #0f62fe);
  border-color: #3974ff;
  color: #fff;
}

html[data-theme="dark"] .product-detail-body .pd-v3-buyer-card.is-active,
html[data-theme="dark"] .product-detail-body .pd-v3-access-owned,
body.dark-mode.product-detail-body .pd-v3-buyer-card.is-active,
body.dark-mode.product-detail-body .pd-v3-access-owned,
body.dark.product-detail-body .pd-v3-buyer-card.is-active,
body.dark.product-detail-body .pd-v3-access-owned {
  background: linear-gradient(135deg, rgba(19, 161, 85, 0.13), rgba(11, 16, 26, 0.94));
}

html[data-theme="dark"] .product-detail-body .pd-v3-form-card textarea,
html[data-theme="dark"] .product-detail-body .pd-v3-reviews textarea,
body.dark-mode.product-detail-body .pd-v3-form-card textarea,
body.dark-mode.product-detail-body .pd-v3-reviews textarea,
body.dark.product-detail-body .pd-v3-form-card textarea,
body.dark.product-detail-body .pd-v3-reviews textarea {
  background: #0b101a;
  border-color: #28344d;
  color: var(--pdv3-ink);
}

@media (max-width: 1180px) {
  .product-detail-body .pd-v3-shell {
    width: min(1040px, calc(100% - 32px));
  }

  .product-detail-body .pd-v3-hero {
    grid-template-columns: 1fr;
  }

  .product-detail-body .pd-v3-title {
    max-width: none;
  }

  .product-detail-body .pd-v3-preview-stage {
    min-height: 280px;
  }

  .product-detail-body .pd-v3-identity-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail-body .pd-v3-identity-strip div:nth-child(3n) {
    border-right: 0;
  }

  .product-detail-body .pd-v3-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-body .pd-v3-description-card,
  .product-detail-body .pd-v3-support-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 900px) {
  .product-detail-body .pd-v3-section-nav {
    display: flex;
  }

  .product-detail-body .pd-v3-benefit-grid,
  .product-detail-body .pd-v3-buyer-grid,
  .product-detail-body .pd-v3-support-list,
  .product-detail-body .pd-v3-related-grid.pm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-body .pd-v3-buyer-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .product-detail-body .pd-v3-shell {
    width: min(100% - 24px, 560px);
    padding-top: 1.25rem;
  }

  .product-detail-body .pd-v3-summary-card,
  .product-detail-body .pd-v3-preview-card,
  .product-detail-body .pd-v3-list-card,
  .product-detail-body .pd-v3-description-card,
  .product-detail-body .pd-v3-support-card,
  .product-detail-body .pd-v3-buyer-section,
  .product-detail-body .pd-v3-reviews {
    border-radius: 20px;
  }

  .product-detail-body .pd-v3-title {
    font-size: clamp(2.2rem, 13vw, 3rem);
  }

  .product-detail-body .pd-v3-meta-grid,
  .product-detail-body .pd-v3-content-grid,
  .product-detail-body .pd-v3-benefit-grid,
  .product-detail-body .pd-v3-buyer-grid,
  .product-detail-body .pd-v3-support-list,
  .product-detail-body .pd-v3-related-grid.pm-grid,
  .product-detail-body .pd-v3-identity-strip {
    grid-template-columns: 1fr;
  }

  .product-detail-body .pd-v3-identity-strip div,
  .product-detail-body .pd-v3-identity-strip div:nth-child(3n) {
    border-right: 0;
    border-bottom: 1px solid var(--pdv3-line);
  }

  .product-detail-body .pd-v3-identity-strip div:last-child {
    border-bottom: 0;
  }

  .product-detail-body .pd-v3-actions,
  .product-detail-body .pd-v3-actions form,
  .product-detail-body .pd-v3-btn,
  .product-detail-body .pd-v3-actions button.pd-v3-btn {
    width: 100%;
  }

  .product-detail-body .pd-v3-preview-stage {
    min-height: 210px;
    aspect-ratio: 4 / 3;
  }

  .product-detail-body .pd-v3-review-head {
    display: grid;
  }

  .product-detail-body .pd-v3-review-score {
    width: 100%;
  }
}

/* ==========================================================
   Product Detail V6 — dense marketplace layout + media gallery
   ========================================================== */
.product-detail-body #a2t-products.pd-v6-page {
  --pd-bg: #f6f9ff;
  --pd-surface: rgba(255, 255, 255, 0.94);
  --pd-surface-2: #ffffff;
  --pd-line: #dfe7f4;
  --pd-line-strong: #cbd7ea;
  --pd-text: #050917;
  --pd-muted: #53637f;
  --pd-soft: #eef4ff;
  --pd-blue: #2563ff;
  --pd-blue-2: #0b5fff;
  --pd-green: #16a34a;
  --pd-green-bg: #eafbf0;
  --pd-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
  --pd-radius: 18px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(37, 99, 255, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--pd-bg) 100%);
  color: var(--pd-text);
  padding: 0 0 34px;
}

.product-detail-body .pd-v6-shell {
  width: min(100% - 44px, 1500px);
  margin: 0 auto;
  padding: 18px 0 0;
}

.product-detail-body .pd-v6-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: #71819d;
  font-size: 13px;
  font-weight: 800;
}
.product-detail-body .pd-v6-breadcrumb a,
.product-detail-body .pd-v6-breadcrumb span {
  color: #71819d;
  text-decoration: none;
  white-space: nowrap;
}
.product-detail-body .pd-v6-breadcrumb a:hover { color: var(--pd-blue); }
.product-detail-body .pd-v6-breadcrumb i { font-size: 10px; opacity: .78; }

.product-detail-body .pd-v6-section-nav {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  margin-bottom: 4px;
}
.product-detail-body .pd-v6-section-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--pd-line);
  border-radius: 999px;
  color: var(--pd-muted);
  background: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}
.product-detail-body .pd-v6-section-nav a.active { color: var(--pd-blue); border-color: rgba(37,99,255,.24); background: #eff5ff; }

.product-detail-body .pd-v6-card {
  background: var(--pd-surface);
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-radius);
  box-shadow: var(--pd-shadow);
}

.product-detail-body .pd-v6-hero {
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(540px, 1.08fr);
  gap: 12px;
  align-items: stretch;
}

.product-detail-body .pd-v6-summary-card,
.product-detail-body .pd-v6-gallery-card {
  min-height: 430px;
}
.product-detail-body .pd-v6-summary-card {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
}
.product-detail-body .pd-v6-gallery-card {
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  overflow: hidden;
}

.product-detail-body .pd-v6-kicker-row,
.product-detail-body .pd-v6-stat-row,
.product-detail-body .pd-v6-actions,
.product-detail-body .pd-v6-mini-links,
.product-detail-body .pd-v6-gallery-controls,
.product-detail-body .pd-v6-related-head,
.product-detail-body .pd-v6-review-top {
  display: flex;
  align-items: center;
}
.product-detail-body .pd-v6-kicker-row { justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.product-detail-body .pd-v6-kicker,
.product-detail-body .pd-v6-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(37,99,255,.18);
  background: #edf4ff;
  color: var(--pd-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.product-detail-body .pd-v6-pill.success,
.product-detail-body .pd-v6-pill.live { background: var(--pd-green-bg); color: var(--pd-green); border-color: rgba(22,163,74,.18); }
.product-detail-body .pd-v6-pill.muted { background: #f4f6fa; color: #64748b; border-color: var(--pd-line); }
.product-detail-body .pd-v6-pill .fa-circle { font-size: 7px; }

.product-detail-body .pd-v6-title {
  max-width: 720px;
  margin: 0;
  color: var(--pd-text);
  font-size: clamp(34px, 4.3vw, 52px);
  line-height: .92;
  letter-spacing: -0.07em;
  font-weight: 950;
}
.product-detail-body .pd-v6-lead {
  max-width: 620px;
  margin: 12px 0 18px;
  color: var(--pd-muted);
  font-size: 16px;
  line-height: 1.55;
}

.product-detail-body .pd-v6-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}
.product-detail-body .pd-v6-meta-grid > div {
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--pd-line);
  border-radius: 13px;
  background: rgba(248, 251, 255, .78);
}
.product-detail-body .pd-v6-meta-grid span,
.product-detail-body .pd-v6-identity-strip span {
  display: block;
  color: #657491;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-detail-body .pd-v6-meta-grid strong,
.product-detail-body .pd-v6-identity-strip strong {
  display: block;
  margin-top: 5px;
  color: var(--pd-text);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.15;
}

.product-detail-body .pd-v6-stat-row {
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--pd-line);
}
.product-detail-body .pd-v6-stat-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--pd-line);
  background: #fff;
  color: #18233a;
  font-size: 13px;
  font-weight: 850;
}
.product-detail-body .pd-v6-stat-row i { color: var(--pd-blue); }

.product-detail-body .pd-v6-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 16px 0 6px;
}
.product-detail-body .pd-v6-price-row strong {
  color: var(--pd-text);
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 950;
}
.product-detail-body .pd-v6-price-row del {
  color: #98a5bc;
  font-size: 18px;
  font-weight: 850;
}
.product-detail-body .pd-v6-assurance-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--pd-muted);
  margin: 0 0 13px;
  font-size: 13px;
  line-height: 1.45;
}
.product-detail-body .pd-v6-assurance-line i { color: var(--pd-blue); margin-top: 3px; }

.product-detail-body .pd-v6-actions {
  flex-wrap: wrap;
  gap: 10px;
}
.product-detail-body .pd-v6-actions form { margin: 0; }
.product-detail-body .pd-v6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--pd-line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--pd-text);
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(15,23,42,.04);
}
.product-detail-body .pd-v6-btn-primary {
  min-width: 170px;
  border-color: var(--pd-blue-2);
  background: linear-gradient(135deg, #2c72ff, #0b5fff);
  color: #fff;
  box-shadow: 0 14px 28px rgba(37,99,255,.22);
}
.product-detail-body .pd-v6-btn-disabled {
  background: #eef2f8;
  color: #74829a;
  cursor: not-allowed;
  box-shadow: none;
}
.product-detail-body .pd-v6-btn:hover { transform: translateY(-1px); }
.product-detail-body .pd-v6-btn-disabled:hover { transform: none; }

.product-detail-body .pd-v6-mini-links {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  color: #50617c;
  font-size: 13px;
  font-weight: 900;
}
.product-detail-body .pd-v6-mini-links span { display: inline-flex; align-items: center; gap: 8px; }
.product-detail-body .pd-v6-mini-links i { color: var(--pd-blue); }

.product-detail-body .pd-v6-gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid var(--pd-line);
  background: #f2f6fc;
  aspect-ratio: 16 / 9;
}
.product-detail-body .pd-v6-media-panel {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: #f4f8ff;
}
.product-detail-body .pd-v6-media-panel.is-active { display: grid; }
.product-detail-body .pd-v6-media-panel img,
.product-detail-body .pd-v6-media-panel video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #edf3fb;
}
.product-detail-body .pd-v6-gallery-video { object-fit: contain; }
.product-detail-body .pd-v6-gallery-count,
.product-detail-body .pd-v6-video-chip {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  background: rgba(5, 9, 23, .82);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}
.product-detail-body .pd-v6-gallery-count { right: 14px; bottom: 14px; padding: 9px 12px; }
.product-detail-body .pd-v6-video-chip { left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; }
.product-detail-body .pd-v6-empty-preview {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 100%;
  color: var(--pd-muted);
  text-align: center;
}
.product-detail-body .pd-v6-empty-preview i { font-size: 40px; color: var(--pd-blue); }
.product-detail-body .pd-v6-empty-preview strong { color: var(--pd-text); font-size: 18px; }

.product-detail-body .pd-v6-gallery-controls {
  gap: 12px;
  margin-top: 14px;
}
.product-detail-body .pd-v6-gallery-arrow {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--pd-line);
  background: #fff;
  color: #64748b;
  cursor: pointer;
}
.product-detail-body .pd-v6-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 8px;
  flex: 1 1 auto;
}
.product-detail-body .pd-v6-thumbs::-webkit-scrollbar { height: 6px; }
.product-detail-body .pd-v6-thumbs::-webkit-scrollbar-thumb { background: #cad7ea; border-radius: 999px; }
.product-detail-body .pd-v6-thumb {
  position: relative;
  flex: 0 0 104px;
  aspect-ratio: 16 / 10;
  border-radius: 11px;
  border: 2px solid var(--pd-line);
  background: #fff;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  scroll-snap-align: start;
}
.product-detail-body .pd-v6-thumb.is-active { border-color: var(--pd-blue); box-shadow: 0 0 0 4px rgba(37,99,255,.1); }
.product-detail-body .pd-v6-thumb img,
.product-detail-body .pd-v6-thumb span {
  width: 100%; height: 100%; display: grid; place-items: center; object-fit: cover; color: var(--pd-blue);
}
.product-detail-body .pd-v6-thumb-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(5,9,23,.72);
  color: #fff;
  font-size: 11px;
}

.product-detail-body .pd-v6-identity-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 12px 0;
  border: 1px solid var(--pd-line);
  border-radius: 15px;
  background: var(--pd-surface);
  box-shadow: 0 12px 32px rgba(15,23,42,.045);
  overflow: hidden;
}
.product-detail-body .pd-v6-identity-strip > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 10px 16px;
  border-right: 1px solid var(--pd-line);
}
.product-detail-body .pd-v6-identity-strip > div:last-child { border-right: 0; }
.product-detail-body .pd-v6-identity-strip i {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #edf4ff;
  color: var(--pd-blue);
}

.product-detail-body .pd-v6-info-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr 1fr 1fr 1fr 1.05fr;
  gap: 12px;
  align-items: stretch;
}
.product-detail-body .pd-v6-info-card {
  padding: 17px;
  min-height: 202px;
  box-shadow: 0 10px 30px rgba(15,23,42,.04);
}
.product-detail-body .pd-v6-info-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--pd-text);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 950;
}
.product-detail-body .pd-v6-info-card h2 i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #edf4ff;
  color: var(--pd-blue);
  flex: 0 0 auto;
}
.product-detail-body .pd-v6-info-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.product-detail-body .pd-v6-info-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: var(--pd-muted);
  font-size: 13px;
  line-height: 1.38;
  font-weight: 650;
}
.product-detail-body .pd-v6-info-card li > i { color: var(--pd-blue); margin-top: 2px; font-size: 13px; }
.product-detail-body .pd-v6-info-card li strong { display: block; color: var(--pd-text); font-size: 13px; margin-bottom: 2px; }
.product-detail-body .pd-v6-details-card { grid-column: span 1; }
.product-detail-body .pd-v6-description {
  color: var(--pd-muted);
  font-size: 13px;
  line-height: 1.55;
  max-height: 136px;
  overflow: auto;
}
.product-detail-body .pd-v6-description p:first-child { margin-top: 0; }
.product-detail-body .pd-v6-description p:last-child { margin-bottom: 0; }
.product-detail-body .pd-v6-description::-webkit-scrollbar { width: 4px; }
.product-detail-body .pd-v6-description::-webkit-scrollbar-thumb { background: #d0d9e8; border-radius: 999px; }

.product-detail-body .pd-v6-review-top { justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.product-detail-body .pd-v6-review-top h2 { margin: 0; }
.product-detail-body .pd-v6-review-top a { color: var(--pd-blue); font-size: 12px; font-weight: 950; text-decoration: none; }
.product-detail-body .pd-v6-score { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.product-detail-body .pd-v6-score strong { font-size: 38px; letter-spacing: -.05em; line-height: 1; }
.product-detail-body .pd-v6-score span { color: var(--pd-muted); font-size: 13px; font-weight: 800; }
.product-detail-body .pd-v6-review-form p { margin: 8px 0 0; color: var(--pd-muted); font-size: 13px; }
.product-detail-body .pd-v6-review-form textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  border: 1px solid var(--pd-line);
  border-radius: 10px;
  padding: 10px;
  margin: 8px 0;
}
.product-detail-body .pd-v6-review-form .pd-v6-btn { min-height: 38px; padding: 0 14px; }

.product-detail-body .pd-v6-comments-card {
  margin-top: 12px;
  padding: 18px;
}

.product-detail-body .pd-v6-related-section {
  margin-top: 12px;
  padding: 14px;
}
.product-detail-body .pd-v6-related-head { justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.product-detail-body .pd-v6-related-head h2 { margin: 0; font-size: 18px; font-weight: 950; letter-spacing: -.03em; }
.product-detail-body .pd-v6-related-head a { color: var(--pd-blue); font-size: 13px; font-weight: 950; text-decoration: none; }
.product-detail-body .pd-v6-related-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.product-detail-body .pd-v6-related-card {
  display: grid;
  grid-template-columns: 92px 1fr 36px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--pd-line);
  border-radius: 13px;
  background: #fff;
}
.product-detail-body .pd-v6-related-media {
  aspect-ratio: 1.45/1;
  border-radius: 10px;
  background: #eef4ff;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--pd-blue);
  text-decoration: none;
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}
.product-detail-body .pd-v6-related-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-detail-body .pd-v6-related-type { color: var(--pd-blue); font-size: 10px; font-weight: 950; text-transform: uppercase; }
.product-detail-body .pd-v6-related-card h3 { margin: 2px 0 2px; font-size: 14px; line-height: 1.2; font-weight: 950; }
.product-detail-body .pd-v6-related-card h3 a { color: var(--pd-text); text-decoration: none; }
.product-detail-body .pd-v6-related-card p { margin: 0 0 5px; color: var(--pd-muted); font-size: 12px; line-height: 1.3; }
.product-detail-body .pd-v6-related-card strong { color: var(--pd-text); font-size: 13px; }
.product-detail-body .pd-v6-related-action {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--pd-line);
  color: var(--pd-text);
  text-decoration: none;
}

@media (max-width: 1280px) {
  .product-detail-body .pd-v6-shell { width: min(100% - 28px, 1180px); }
  .product-detail-body .pd-v6-hero { grid-template-columns: 1fr; }
  .product-detail-body .pd-v6-summary-card,
  .product-detail-body .pd-v6-gallery-card { min-height: 0; }
  .product-detail-body .pd-v6-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-detail-body .pd-v6-identity-strip { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .product-detail-body .pd-v6-identity-strip > div:nth-child(3n) { border-right: 0; }
  .product-detail-body .pd-v6-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .product-detail-body #a2t-products.pd-v6-page { padding-bottom: 22px; }
  .product-detail-body .pd-v6-shell { width: min(100% - 22px, 680px); padding-top: 12px; }
  .product-detail-body .pd-v6-breadcrumb { overflow-x: auto; padding-bottom: 4px; }
  .product-detail-body .pd-v6-section-nav { display: flex; }
  .product-detail-body .pd-v6-summary-card { padding: 18px; }
  .product-detail-body .pd-v6-title { font-size: clamp(34px, 12vw, 48px); letter-spacing: -.06em; }
  .product-detail-body .pd-v6-meta-grid,
  .product-detail-body .pd-v6-info-grid,
  .product-detail-body .pd-v6-identity-strip,
  .product-detail-body .pd-v6-related-grid { grid-template-columns: 1fr; }
  .product-detail-body .pd-v6-identity-strip > div { border-right: 0; border-bottom: 1px solid var(--pd-line); }
  .product-detail-body .pd-v6-identity-strip > div:last-child { border-bottom: 0; }
  .product-detail-body .pd-v6-actions { align-items: stretch; }
  .product-detail-body .pd-v6-actions form,
  .product-detail-body .pd-v6-actions .pd-v6-btn { width: 100%; }
  .product-detail-body .pd-v6-thumb { flex-basis: 86px; }
  .product-detail-body .pd-v6-related-card { grid-template-columns: 92px 1fr; }
  .product-detail-body .pd-v6-related-action { display: none; }
}
@media (max-width: 520px) {
  .product-detail-body .pd-v6-gallery-card { padding: 12px; }
  .product-detail-body .pd-v6-gallery-arrow { display: none; }
  .product-detail-body .pd-v6-stat-row span { width: 100%; justify-content: center; }
}

html[data-theme="dark"] .product-detail-body #a2t-products.pd-v6-page,
body.dark-mode.product-detail-body #a2t-products.pd-v6-page,
body.dark.product-detail-body #a2t-products.pd-v6-page {
  --pd-bg: #070b14;
  --pd-surface: rgba(12, 18, 31, 0.94);
  --pd-surface-2: #0c1220;
  --pd-line: rgba(139, 154, 184, .19);
  --pd-line-strong: rgba(139, 154, 184, .28);
  --pd-text: #f8fbff;
  --pd-muted: #a8b4c9;
  --pd-soft: rgba(37,99,255,.12);
  background:
    radial-gradient(circle at 18% 8%, rgba(37, 99, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #070b14 0%, #09111f 100%);
}
html[data-theme="dark"] .product-detail-body .pd-v6-card,
body.dark-mode.product-detail-body .pd-v6-card,
body.dark.product-detail-body .pd-v6-card,
html[data-theme="dark"] .product-detail-body .pd-v6-identity-strip,
body.dark-mode.product-detail-body .pd-v6-identity-strip,
body.dark.product-detail-body .pd-v6-identity-strip {
  background: rgba(12, 18, 31, .92);
  box-shadow: 0 18px 46px rgba(0,0,0,.28);
}
html[data-theme="dark"] .product-detail-body .pd-v6-gallery-card,
body.dark-mode.product-detail-body .pd-v6-gallery-card,
body.dark.product-detail-body .pd-v6-gallery-card,
html[data-theme="dark"] .product-detail-body .pd-v6-meta-grid > div,
body.dark-mode.product-detail-body .pd-v6-meta-grid > div,
body.dark.product-detail-body .pd-v6-meta-grid > div,
html[data-theme="dark"] .product-detail-body .pd-v6-stat-row span,
body.dark-mode.product-detail-body .pd-v6-stat-row span,
body.dark.product-detail-body .pd-v6-stat-row span,
html[data-theme="dark"] .product-detail-body .pd-v6-btn,
body.dark-mode.product-detail-body .pd-v6-btn,
body.dark.product-detail-body .pd-v6-btn,
html[data-theme="dark"] .product-detail-body .pd-v6-related-card,
body.dark-mode.product-detail-body .pd-v6-related-card,
body.dark.product-detail-body .pd-v6-related-card,
html[data-theme="dark"] .product-detail-body .pd-v6-gallery-arrow,
body.dark-mode.product-detail-body .pd-v6-gallery-arrow,
body.dark.product-detail-body .pd-v6-gallery-arrow {
  background: rgba(18, 27, 45, .9);
  color: var(--pd-text);
}
html[data-theme="dark"] .product-detail-body .pd-v6-media-panel,
body.dark-mode.product-detail-body .pd-v6-media-panel,
body.dark.product-detail-body .pd-v6-media-panel,
html[data-theme="dark"] .product-detail-body .pd-v6-media-panel img,
body.dark-mode.product-detail-body .pd-v6-media-panel img,
body.dark.product-detail-body .pd-v6-media-panel img,
html[data-theme="dark"] .product-detail-body .pd-v6-media-panel video,
body.dark-mode.product-detail-body .pd-v6-media-panel video,
body.dark.product-detail-body .pd-v6-media-panel video {
  background: #080d17;
}
html[data-theme="dark"] .product-detail-body .pd-v6-btn-primary,
body.dark-mode.product-detail-body .pd-v6-btn-primary,
body.dark.product-detail-body .pd-v6-btn-primary { color: #fff; }


/* ==========================================================
   Product Detail V7 — density fit polish
   Goal: closer to approved dense PNG, less zoomed, better desktop fit
   ========================================================== */
.product-detail-body #a2t-products.pd-v6-page {
  --pd-radius: 16px;
  --pd-shadow: 0 12px 32px rgba(15, 23, 42, 0.045);
}

.product-detail-body .pd-v6-shell {
  width: min(100% - 40px, 1360px);
  padding-top: 14px;
}

.product-detail-body .pd-v6-breadcrumb {
  margin-bottom: 8px;
  gap: 10px;
  font-size: 12px;
}

.product-detail-body .pd-v6-hero {
  grid-template-columns: minmax(390px, 0.42fr) minmax(560px, 0.58fr);
  gap: 12px;
}

.product-detail-body .pd-v6-summary-card,
.product-detail-body .pd-v6-gallery-card {
  min-height: 0;
}

.product-detail-body .pd-v6-summary-card {
  padding: 18px;
}

.product-detail-body .pd-v6-gallery-card {
  padding: 14px;
}

.product-detail-body .pd-v6-kicker-row {
  margin-bottom: 12px;
}

.product-detail-body .pd-v6-kicker,
.product-detail-body .pd-v6-pill {
  height: 28px;
  padding: 0 11px;
  font-size: 11px;
  letter-spacing: .015em;
}

.product-detail-body .pd-v6-title {
  font-size: clamp(30px, 2.7vw, 42px);
  line-height: .95;
  letter-spacing: -.055em;
  max-width: 100%;
}

.product-detail-body .pd-v6-lead {
  margin: 10px 0 14px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 94%;
}

.product-detail-body .pd-v6-meta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.product-detail-body .pd-v6-meta-grid > div {
  min-height: 52px;
  padding: 10px 11px;
  border-radius: 11px;
}

.product-detail-body .pd-v6-meta-grid span,
.product-detail-body .pd-v6-identity-strip span {
  font-size: 10px;
  letter-spacing: .035em;
}

.product-detail-body .pd-v6-meta-grid strong,
.product-detail-body .pd-v6-identity-strip strong {
  margin-top: 4px;
  font-size: 13px;
}

.product-detail-body .pd-v6-stat-row {
  gap: 8px;
  padding-bottom: 11px;
}

.product-detail-body .pd-v6-stat-row span {
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
}

.product-detail-body .pd-v6-price-row {
  margin: 13px 0 5px;
  gap: 12px;
}

.product-detail-body .pd-v6-price-row strong {
  font-size: clamp(30px, 2.45vw, 40px);
}

.product-detail-body .pd-v6-price-row del {
  font-size: 16px;
}

.product-detail-body .pd-v6-assurance-line {
  margin-bottom: 11px;
  font-size: 12.5px;
}

.product-detail-body .pd-v6-actions {
  gap: 9px;
}

.product-detail-body .pd-v6-actions form:first-of-type,
.product-detail-body .pd-v6-actions .pd-v6-btn-primary {
  flex: 1 1 220px;
}

.product-detail-body .pd-v6-actions form:first-of-type .pd-v6-btn-primary {
  width: 100%;
}

.product-detail-body .pd-v6-btn {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 12.5px;
}

.product-detail-body .pd-v6-btn-primary {
  min-width: 150px;
}

.product-detail-body .pd-v6-mini-links {
  margin-top: 11px;
  padding-top: 11px;
  gap: 14px;
  font-size: 12px;
}

.product-detail-body .pd-v6-gallery-stage {
  border-radius: 14px;
  aspect-ratio: 16 / 8.9;
}

.product-detail-body .pd-v6-media-panel img,
.product-detail-body .pd-v6-media-panel video {
  object-fit: contain;
}

.product-detail-body .pd-v6-gallery-count,
.product-detail-body .pd-v6-video-chip {
  font-size: 11px;
}

.product-detail-body .pd-v6-gallery-count {
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
}

.product-detail-body .pd-v6-video-chip {
  left: 12px;
  bottom: 12px;
  padding: 9px 11px;
}

.product-detail-body .pd-v6-gallery-controls {
  gap: 10px;
  margin-top: 12px;
}

.product-detail-body .pd-v6-gallery-arrow {
  flex-basis: 36px;
  width: 36px;
  height: 36px;
}

.product-detail-body .pd-v6-thumbs {
  gap: 9px;
  padding-bottom: 5px;
}

.product-detail-body .pd-v6-thumb {
  flex-basis: 92px;
  border-radius: 10px;
}

.product-detail-body .pd-v6-identity-strip {
  margin: 10px 0;
  border-radius: 14px;
}

.product-detail-body .pd-v6-identity-strip > div {
  grid-template-columns: 32px 1fr;
  column-gap: 9px;
  min-height: 55px;
  padding: 9px 13px;
}

.product-detail-body .pd-v6-identity-strip i {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 12px;
}

.product-detail-body .pd-v6-info-grid {
  grid-template-columns: 1.05fr .95fr 1fr 1fr 1fr 1.05fr;
  gap: 10px;
}

.product-detail-body .pd-v6-info-card {
  min-height: 170px;
  padding: 14px;
  border-radius: 14px;
}

.product-detail-body .pd-v6-info-card h2 {
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13.5px;
}

.product-detail-body .pd-v6-info-card h2 i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 12px;
}

.product-detail-body .pd-v6-info-card ul {
  gap: 7px;
}

.product-detail-body .pd-v6-info-card li {
  grid-template-columns: 16px 1fr;
  gap: 7px;
  font-size: 12px;
  line-height: 1.34;
}

.product-detail-body .pd-v6-info-card li strong {
  font-size: 12px;
  margin-bottom: 1px;
}

.product-detail-body .pd-v6-description {
  max-height: 118px;
  font-size: 12px;
  line-height: 1.5;
}

.product-detail-body .pd-v6-score strong {
  font-size: 30px;
}

.product-detail-body .pd-v6-score span {
  font-size: 12px;
}

.product-detail-body .pd-v6-review-form textarea {
  min-height: 58px;
}

.product-detail-body .pd-v6-related-section {
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
}

.product-detail-body .pd-v6-related-head {
  margin-bottom: 10px;
}

.product-detail-body .pd-v6-related-head h2 {
  font-size: 16px;
}

.product-detail-body .pd-v6-related-grid {
  gap: 10px;
}

.product-detail-body .pd-v6-related-card {
  grid-template-columns: 78px 1fr 32px;
  gap: 10px;
  padding: 9px;
  border-radius: 12px;
}

.product-detail-body .pd-v6-related-card h3 {
  font-size: 12.5px;
}

.product-detail-body .pd-v6-related-card p {
  font-size: 11px;
  margin-bottom: 4px;
}

.product-detail-body .pd-v6-related-card strong {
  font-size: 12px;
}

.product-detail-body .pd-v6-related-action {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

@media (max-width: 1180px) {
  .product-detail-body .pd-v6-shell {
    width: min(100% - 28px, 1040px);
  }
  .product-detail-body .pd-v6-hero {
    grid-template-columns: 1fr;
  }
  .product-detail-body .pd-v6-summary-card {
    order: 1;
  }
  .product-detail-body .pd-v6-gallery-card {
    order: 2;
  }
  .product-detail-body .pd-v6-meta-grid,
  .product-detail-body .pd-v6-info-grid,
  .product-detail-body .pd-v6-identity-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-detail-body .pd-v6-identity-strip > div:nth-child(3n) {
    border-right: 0;
  }
  .product-detail-body .pd-v6-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .product-detail-body .pd-v6-shell {
    width: min(100% - 20px, 640px);
    padding-top: 10px;
  }
  .product-detail-body .pd-v6-section-nav {
    display: flex;
  }
  .product-detail-body .pd-v6-summary-card,
  .product-detail-body .pd-v6-gallery-card {
    padding: 14px;
  }
  .product-detail-body .pd-v6-title {
    font-size: clamp(31px, 10.5vw, 42px);
  }
  .product-detail-body .pd-v6-meta-grid,
  .product-detail-body .pd-v6-info-grid,
  .product-detail-body .pd-v6-identity-strip,
  .product-detail-body .pd-v6-related-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-body .pd-v6-identity-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--pd-line);
  }
  .product-detail-body .pd-v6-identity-strip > div:last-child {
    border-bottom: 0;
  }
  .product-detail-body .pd-v6-actions form,
  .product-detail-body .pd-v6-actions .pd-v6-btn {
    width: 100%;
  }
  .product-detail-body .pd-v6-gallery-stage {
    aspect-ratio: 16 / 10;
  }
  .product-detail-body .pd-v6-thumb {
    flex-basis: 82px;
  }
  .product-detail-body .pd-v6-related-card {
    grid-template-columns: 84px 1fr;
  }
  .product-detail-body .pd-v6-related-action {
    display: none;
  }
}

html[data-theme="dark"] .product-detail-body .pd-v6-meta-grid > div,
body.dark-mode.product-detail-body .pd-v6-meta-grid > div,
body.dark.product-detail-body .pd-v6-meta-grid > div,
html[data-theme="dark"] .product-detail-body .pd-v6-stat-row span,
body.dark-mode.product-detail-body .pd-v6-stat-row span,
body.dark.product-detail-body .pd-v6-stat-row span,
html[data-theme="dark"] .product-detail-body .pd-v6-related-card,
body.dark-mode.product-detail-body .pd-v6-related-card,
body.dark.product-detail-body .pd-v6-related-card,
html[data-theme="dark"] .product-detail-body .pd-v6-btn,
body.dark-mode.product-detail-body .pd-v6-btn,
body.dark.product-detail-body .pd-v6-btn {
  background: rgba(16, 25, 42, .92);
  border-color: rgba(139,154,184,.23);
}

html[data-theme="dark"] .product-detail-body .pd-v6-gallery-card,
body.dark-mode.product-detail-body .pd-v6-gallery-card,
body.dark.product-detail-body .pd-v6-gallery-card {
  background: linear-gradient(180deg, rgba(12,18,31,.96), rgba(9,15,28,.96));
}

/* ==========================================================
   Product Detail V8 — exact dense marketplace visual match
   Goal: compact professional page, unified hero card, tighter gallery,
   stronger production rhythm without model or view changes.
   ========================================================== */
.product-detail-body #a2t-products.pd-v6-page {
  --pd-radius: 14px;
  --pd-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  --pd-shadow-soft: 0 4px 14px rgba(15, 23, 42, 0.035);
  --pd-panel-bg: rgba(255, 255, 255, 0.97);
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 99, 255, 0.045), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.product-detail-body .pd-v6-shell {
  width: min(100% - 36px, 1430px);
  padding-top: 12px;
}

.product-detail-body .pd-v6-breadcrumb {
  height: 28px;
  margin-bottom: 8px;
  color: #72819a;
}

.product-detail-body .pd-v6-hero {
  grid-template-columns: minmax(380px, 0.405fr) minmax(560px, 0.595fr);
  gap: 0;
  padding: 14px;
  border: 1px solid var(--pd-line);
  border-radius: 18px;
  background: var(--pd-panel-bg);
  box-shadow: var(--pd-shadow);
  overflow: hidden;
}

.product-detail-body .pd-v6-summary-card,
.product-detail-body .pd-v6-gallery-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.product-detail-body .pd-v6-summary-card {
  padding: 10px 20px 8px 6px;
  justify-content: flex-start;
}

.product-detail-body .pd-v6-gallery-card {
  padding: 0 0 0 18px;
  border-left: 1px solid var(--pd-line);
}

.product-detail-body .pd-v6-kicker-row {
  margin-bottom: 10px;
}

.product-detail-body .pd-v6-kicker,
.product-detail-body .pd-v6-pill {
  height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 950;
  white-space: nowrap;
}

.product-detail-body .pd-v6-title {
  font-size: clamp(32px, 3.1vw, 48px);
  line-height: .95;
  letter-spacing: -.065em;
  margin-bottom: 0;
}

.product-detail-body .pd-v6-lead {
  max-width: 520px;
  margin: 9px 0 12px;
  font-size: 14px;
  line-height: 1.42;
}

.product-detail-body .pd-v6-meta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 9px;
}

.product-detail-body .pd-v6-meta-grid > div {
  min-height: 52px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #fbfdff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.product-detail-body .pd-v6-meta-grid span,
.product-detail-body .pd-v6-identity-strip span {
  color: #63728a;
  font-size: 9.7px;
  letter-spacing: .045em;
}

.product-detail-body .pd-v6-meta-grid strong,
.product-detail-body .pd-v6-identity-strip strong {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: -.01em;
}

.product-detail-body .pd-v6-stat-row {
  gap: 7px;
  padding-bottom: 10px;
}

.product-detail-body .pd-v6-stat-row span {
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
  background: #fff;
  box-shadow: var(--pd-shadow-soft);
}

.product-detail-body .pd-v6-price-row {
  gap: 12px;
  margin: 13px 0 7px;
  flex-wrap: wrap;
}

.product-detail-body .pd-v6-price-row strong {
  font-size: clamp(32px, 2.75vw, 44px);
  letter-spacing: -.06em;
}

.product-detail-body .pd-v6-price-row del {
  font-size: 16px;
  color: #8794aa;
}

.product-detail-body .pd-v8-save-chip {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eafbf0;
  color: #16a34a;
  font-size: 11px;
  font-weight: 950;
}

.product-detail-body .pd-v6-assurance-line {
  margin-bottom: 11px;
  font-size: 12.5px;
  line-height: 1.42;
}

.product-detail-body .pd-v6-actions {
  gap: 8px;
  margin-top: 2px;
}

.product-detail-body .pd-v6-actions form:first-of-type,
.product-detail-body .pd-v6-actions .pd-v6-btn-primary {
  flex: 1 1 210px;
}

.product-detail-body .pd-v6-btn {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 9px;
  font-size: 12px;
  box-shadow: var(--pd-shadow-soft);
}

.product-detail-body .pd-v6-btn-primary {
  min-width: 160px;
  box-shadow: 0 10px 22px rgba(37,99,255,.18);
}

.product-detail-body .pd-v6-mini-links {
  gap: 13px;
  margin-top: 10px;
  padding-top: 10px;
  font-size: 11.5px;
  border-top: 1px solid var(--pd-line);
}

.product-detail-body .pd-v8-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.product-detail-body .pd-v8-gallery-head span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(37,99,255,.18);
  border-radius: 999px;
  background: #edf4ff;
  color: var(--pd-blue);
  font-size: 10.5px;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.product-detail-body .pd-v6-gallery-stage {
  aspect-ratio: 16 / 7.4;
  border-radius: 13px;
  background: #f6f9ff;
}

.product-detail-body .pd-v6-media-panel {
  background: #f6f9ff;
}

.product-detail-body .pd-v6-media-panel img,
.product-detail-body .pd-v6-media-panel video {
  object-fit: contain;
  padding: 0;
  background: #f6f9ff;
}

.product-detail-body .pd-v6-gallery-count,
.product-detail-body .pd-v6-video-chip {
  font-size: 10.5px;
  box-shadow: 0 8px 18px rgba(15,23,42,.15);
}

.product-detail-body .pd-v6-gallery-count {
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
}

.product-detail-body .pd-v6-video-chip {
  left: 10px;
  bottom: 10px;
  padding: 8px 10px;
}

.product-detail-body .pd-v6-gallery-controls {
  gap: 9px;
  margin-top: 10px;
}

.product-detail-body .pd-v6-gallery-arrow {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--pd-shadow-soft);
}

.product-detail-body .pd-v6-thumbs {
  gap: 9px;
  padding: 2px 1px 5px;
}

.product-detail-body .pd-v6-thumb {
  flex-basis: 94px;
  border-width: 1px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--pd-shadow-soft);
}

.product-detail-body .pd-v6-thumb.is-active {
  border-width: 2px;
  box-shadow: 0 0 0 3px rgba(37,99,255,.1), var(--pd-shadow-soft);
}

.product-detail-body .pd-v6-identity-strip {
  margin: 10px 0;
  border-radius: 14px;
  box-shadow: var(--pd-shadow);
}

.product-detail-body .pd-v6-identity-strip > div {
  min-height: 56px;
  padding: 9px 14px;
  grid-template-columns: 30px 1fr;
  column-gap: 10px;
}

.product-detail-body .pd-v6-identity-strip i {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 12px;
}

.product-detail-body .pd-v6-info-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.product-detail-body .pd-v6-info-card {
  min-height: 166px;
  padding: 14px;
  border-radius: 13px;
  box-shadow: var(--pd-shadow-soft);
}

.product-detail-body .pd-v6-info-card h2 {
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
}

.product-detail-body .pd-v6-info-card h2 i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 11px;
}

.product-detail-body .pd-v6-info-card ul {
  gap: 7px;
}

.product-detail-body .pd-v6-info-card li {
  grid-template-columns: 15px 1fr;
  gap: 7px;
  font-size: 11.7px;
  line-height: 1.35;
}

.product-detail-body .pd-v6-info-card li strong {
  font-size: 11.8px;
}

.product-detail-body .pd-v6-description {
  max-height: 114px;
  font-size: 11.8px;
  line-height: 1.5;
}

.product-detail-body .pd-v6-score strong {
  font-size: 28px;
}

.product-detail-body .pd-v6-score span,
.product-detail-body .pd-v6-review-form p {
  font-size: 11.8px;
}

.product-detail-body .pd-v6-related-section {
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
}

.product-detail-body .pd-v6-related-head {
  margin-bottom: 10px;
}

.product-detail-body .pd-v6-related-head h2 {
  font-size: 16px;
}

.product-detail-body .pd-v6-related-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.product-detail-body .pd-v6-related-card {
  grid-template-columns: 76px 1fr 30px;
  gap: 9px;
  padding: 8px;
  border-radius: 12px;
  box-shadow: var(--pd-shadow-soft);
}

.product-detail-body .pd-v6-related-card h3 {
  font-size: 12px;
}

.product-detail-body .pd-v6-related-card p {
  font-size: 10.6px;
  line-height: 1.25;
}

.product-detail-body .pd-v6-related-media {
  border-radius: 9px;
}

.product-detail-body .pd-v6-related-action {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.product-detail-body .pd-v6-comments-card {
  padding: 14px;
  margin-top: 10px;
}

@media (max-width: 1320px) {
  .product-detail-body .pd-v6-shell { width: min(100% - 28px, 1180px); }
  .product-detail-body .pd-v6-hero { grid-template-columns: 1fr; gap: 0; }
  .product-detail-body .pd-v6-summary-card { padding: 8px 8px 14px; }
  .product-detail-body .pd-v6-gallery-card { padding: 14px 4px 0; border-left: 0; border-top: 1px solid var(--pd-line); }
  .product-detail-body .pd-v6-gallery-stage { aspect-ratio: 16 / 8.5; }
  .product-detail-body .pd-v6-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .product-detail-body .pd-v6-meta-grid,
  .product-detail-body .pd-v6-identity-strip,
  .product-detail-body .pd-v6-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-body .pd-v6-identity-strip > div:nth-child(2n) { border-right: 0; }
  .product-detail-body .pd-v6-identity-strip > div:nth-child(3n) { border-right: 1px solid var(--pd-line); }
}

@media (max-width: 680px) {
  .product-detail-body .pd-v6-shell { width: min(100% - 18px, 620px); }
  .product-detail-body .pd-v6-hero { padding: 10px; border-radius: 15px; }
  .product-detail-body .pd-v6-summary-card { padding: 6px 4px 12px; }
  .product-detail-body .pd-v6-gallery-card { padding: 12px 0 0; }
  .product-detail-body .pd-v6-title { font-size: clamp(30px, 10vw, 40px); }
  .product-detail-body .pd-v6-lead { max-width: 100%; }
  .product-detail-body .pd-v6-meta-grid,
  .product-detail-body .pd-v6-identity-strip,
  .product-detail-body .pd-v6-info-grid,
  .product-detail-body .pd-v6-related-grid { grid-template-columns: 1fr; }
  .product-detail-body .pd-v6-identity-strip > div,
  .product-detail-body .pd-v6-identity-strip > div:nth-child(2n),
  .product-detail-body .pd-v6-identity-strip > div:nth-child(3n) { border-right: 0; border-bottom: 1px solid var(--pd-line); }
  .product-detail-body .pd-v6-identity-strip > div:last-child { border-bottom: 0; }
  .product-detail-body .pd-v6-actions form,
  .product-detail-body .pd-v6-actions .pd-v6-btn { width: 100%; }
  .product-detail-body .pd-v6-gallery-stage { aspect-ratio: 16 / 10; }
  .product-detail-body .pd-v6-gallery-arrow { display: none; }
  .product-detail-body .pd-v6-thumb { flex-basis: 82px; }
  .product-detail-body .pd-v8-gallery-head { margin-bottom: 7px; }
  .product-detail-body .pd-v6-related-card { grid-template-columns: 82px 1fr; }
  .product-detail-body .pd-v6-related-action { display: none; }
}

html[data-theme="dark"] .product-detail-body .pd-v8-gallery-head span,
body.dark-mode.product-detail-body .pd-v8-gallery-head span,
body.dark.product-detail-body .pd-v8-gallery-head span {
  background: rgba(37, 99, 255, .12);
  border-color: rgba(37, 99, 255, .24);
}

html[data-theme="dark"] .product-detail-body .pd-v6-hero,
body.dark-mode.product-detail-body .pd-v6-hero,
body.dark.product-detail-body .pd-v6-hero,
html[data-theme="dark"] .product-detail-body .pd-v6-summary-card,
body.dark-mode.product-detail-body .pd-v6-summary-card,
body.dark.product-detail-body .pd-v6-summary-card,
html[data-theme="dark"] .product-detail-body .pd-v6-gallery-card,
body.dark-mode.product-detail-body .pd-v6-gallery-card,
body.dark.product-detail-body .pd-v6-gallery-card {
  background: rgba(12, 18, 31, .94);
}

/* ==========================================================
   Product Detail V9 — responsive exact-fit finish
   Goal: keep the approved dense marketplace feel without the zoomed-in
   layout on normal laptop/desktop widths. This layer only overrides the
   product detail page and keeps all CMS/product/buyer logic intact.
   ========================================================== */
.product-detail-body #a2t-products.pd-v6-page {
  --pd-radius: 13px;
  --pd-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
  --pd-shadow-soft: 0 4px 12px rgba(15, 23, 42, 0.032);
  padding-bottom: 28px;
}

.product-detail-body .pd-v6-shell {
  width: min(100% - 30px, 1260px);
  padding-top: 10px;
}

.product-detail-body .pd-v6-breadcrumb {
  height: 24px;
  margin-bottom: 6px;
  font-size: 11.5px;
}

.product-detail-body .pd-v6-hero {
  grid-template-columns: minmax(360px, .41fr) minmax(0, .59fr);
  gap: 0;
  padding: 12px;
  border-radius: 16px;
}

.product-detail-body .pd-v6-summary-card {
  padding: 8px 16px 6px 4px;
}

.product-detail-body .pd-v6-gallery-card {
  padding: 0 0 0 14px;
}

.product-detail-body .pd-v6-kicker-row {
  gap: 8px;
  margin-bottom: 8px;
}

.product-detail-body .pd-v6-kicker,
.product-detail-body .pd-v6-pill,
.product-detail-body .pd-v8-gallery-head span {
  min-width: 0;
  height: 25px;
  padding: 0 9px;
  font-size: 10px;
}

.product-detail-body .pd-v6-title {
  max-width: 510px;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: .96;
  letter-spacing: -.058em;
}

.product-detail-body .pd-v6-lead {
  max-width: 500px;
  margin: 8px 0 10px;
  font-size: 13px;
  line-height: 1.42;
}

.product-detail-body .pd-v6-meta-grid {
  gap: 7px;
  margin-bottom: 8px;
}

.product-detail-body .pd-v6-meta-grid > div {
  min-height: 48px;
  padding: 8px 9px;
  border-radius: 9px;
}

.product-detail-body .pd-v6-meta-grid span,
.product-detail-body .pd-v6-identity-strip span {
  font-size: 9.3px;
}

.product-detail-body .pd-v6-meta-grid strong,
.product-detail-body .pd-v6-identity-strip strong {
  font-size: 12px;
  line-height: 1.18;
}

.product-detail-body .pd-v6-stat-row {
  gap: 6px;
  padding-bottom: 8px;
}

.product-detail-body .pd-v6-stat-row span {
  min-height: 26px;
  padding: 0 9px;
  font-size: 11.2px;
}

.product-detail-body .pd-v6-price-row {
  margin: 10px 0 6px;
  gap: 10px;
}

.product-detail-body .pd-v6-price-row strong {
  font-size: clamp(28px, 2.35vw, 38px);
}

.product-detail-body .pd-v6-price-row del {
  font-size: 14px;
}

.product-detail-body .pd-v8-save-chip {
  min-height: 23px;
  padding: 0 9px;
  font-size: 10px;
}

.product-detail-body .pd-v6-assurance-line {
  margin-bottom: 9px;
  font-size: 11.8px;
  line-height: 1.38;
}

.product-detail-body .pd-v6-actions {
  gap: 7px;
}

.product-detail-body .pd-v6-actions form:first-of-type,
.product-detail-body .pd-v6-actions .pd-v6-btn-primary {
  flex: 1 1 190px;
}

.product-detail-body .pd-v6-btn {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: 11.5px;
}

.product-detail-body .pd-v6-mini-links {
  gap: 11px;
  margin-top: 8px;
  padding-top: 9px;
  font-size: 10.8px;
}

.product-detail-body .pd-v8-gallery-head {
  margin-bottom: 7px;
}

.product-detail-body .pd-v6-gallery-stage {
  aspect-ratio: 16 / 7.9;
  border-radius: 12px;
}

.product-detail-body .pd-v6-gallery-controls {
  gap: 8px;
  margin-top: 8px;
}

.product-detail-body .pd-v6-gallery-arrow {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.product-detail-body .pd-v6-thumbs {
  gap: 7px;
  padding-bottom: 4px;
}

.product-detail-body .pd-v6-thumb {
  flex-basis: 82px;
  border-radius: 9px;
}

.product-detail-body .pd-v6-identity-strip {
  margin: 8px 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-radius: 13px;
}

.product-detail-body .pd-v6-identity-strip > div {
  min-height: 50px;
  padding: 8px 10px;
  grid-template-columns: 26px 1fr;
  column-gap: 8px;
}

.product-detail-body .pd-v6-identity-strip i {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  font-size: 11px;
}

.product-detail-body .pd-v6-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.product-detail-body .pd-v6-info-card {
  min-height: 144px;
  padding: 12px;
  border-radius: 12px;
}

.product-detail-body .pd-v6-info-card h2 {
  margin-bottom: 8px;
  font-size: 12.5px;
}

.product-detail-body .pd-v6-info-card h2 i {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 10.5px;
}

.product-detail-body .pd-v6-info-card ul {
  gap: 6px;
}

.product-detail-body .pd-v6-info-card li {
  grid-template-columns: 14px 1fr;
  gap: 6px;
  font-size: 11.2px;
  line-height: 1.32;
}

.product-detail-body .pd-v6-info-card li strong {
  display: inline;
  font-size: 11.4px;
  margin: 0 3px 0 0;
}

.product-detail-body .pd-v6-description {
  max-height: 96px;
  font-size: 11.3px;
}

.product-detail-body .pd-v6-review-form textarea {
  min-height: 52px;
}

.product-detail-body .pd-v6-related-section,
.product-detail-body .pd-v6-comments-card {
  margin-top: 8px;
  padding: 11px;
  border-radius: 13px;
}

.product-detail-body .pd-v6-related-head {
  margin-bottom: 8px;
}

.product-detail-body .pd-v6-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.product-detail-body .pd-v6-related-card {
  grid-template-columns: 68px 1fr 28px;
  gap: 8px;
  padding: 7px;
  border-radius: 11px;
}

.product-detail-body .pd-v6-related-card h3 {
  font-size: 11.5px;
}

.product-detail-body .pd-v6-related-card p {
  font-size: 10.2px;
}

.product-detail-body .pd-v6-related-type {
  font-size: 9px;
}

.product-detail-body .pd-v6-related-action {
  width: 27px;
  height: 27px;
}

@media (min-width: 1420px) {
  .product-detail-body .pd-v6-shell { width: min(100% - 34px, 1320px); }
  .product-detail-body .pd-v6-info-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .product-detail-body .pd-v6-related-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1320px) and (min-width: 1081px) {
  .product-detail-body .pd-v6-shell { width: min(100% - 26px, 1200px); }
  .product-detail-body .pd-v6-hero {
    grid-template-columns: minmax(335px, .42fr) minmax(0, .58fr);
  }
  .product-detail-body .pd-v6-summary-card { padding: 7px 13px 6px 3px; }
  .product-detail-body .pd-v6-gallery-card { padding-left: 12px; border-left: 1px solid var(--pd-line); border-top: 0; }
  .product-detail-body .pd-v6-gallery-stage { aspect-ratio: 16 / 8.4; }
  .product-detail-body .pd-v6-title { font-size: clamp(27px, 2.4vw, 36px); }
  .product-detail-body .pd-v6-lead { font-size: 12.5px; }
  .product-detail-body .pd-v6-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-body .pd-v6-identity-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-detail-body .pd-v6-identity-strip > div:nth-child(3n) { border-right: 0; }
  .product-detail-body .pd-v6-info-grid,
  .product-detail-body .pd-v6-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .product-detail-body .pd-v6-hero { grid-template-columns: 1fr; }
  .product-detail-body .pd-v6-summary-card { padding: 6px 4px 12px; }
  .product-detail-body .pd-v6-gallery-card { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--pd-line); }
  .product-detail-body .pd-v6-gallery-stage { aspect-ratio: 16 / 9; }
  .product-detail-body .pd-v6-meta-grid,
  .product-detail-body .pd-v6-identity-strip,
  .product-detail-body .pd-v6-info-grid,
  .product-detail-body .pd-v6-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-body .pd-v6-identity-strip > div:nth-child(2n) { border-right: 0; }
  .product-detail-body .pd-v6-identity-strip > div:nth-child(3n) { border-right: 1px solid var(--pd-line); }
}

@media (max-width: 640px) {
  .product-detail-body .pd-v6-shell { width: min(100% - 16px, 600px); }
  .product-detail-body .pd-v6-hero { padding: 9px; }
  .product-detail-body .pd-v6-title { font-size: clamp(28px, 9.5vw, 38px); }
  .product-detail-body .pd-v6-meta-grid,
  .product-detail-body .pd-v6-identity-strip,
  .product-detail-body .pd-v6-info-grid,
  .product-detail-body .pd-v6-related-grid { grid-template-columns: 1fr; }
  .product-detail-body .pd-v6-identity-strip > div,
  .product-detail-body .pd-v6-identity-strip > div:nth-child(2n),
  .product-detail-body .pd-v6-identity-strip > div:nth-child(3n) { border-right: 0; border-bottom: 1px solid var(--pd-line); }
  .product-detail-body .pd-v6-identity-strip > div:last-child { border-bottom: 0; }
  .product-detail-body .pd-v6-stat-row span { width: auto; justify-content: flex-start; }
  .product-detail-body .pd-v6-actions form,
  .product-detail-body .pd-v6-actions .pd-v6-btn { width: 100%; }
  .product-detail-body .pd-v6-gallery-stage { aspect-ratio: 16 / 10; }
  .product-detail-body .pd-v6-thumb { flex-basis: 78px; }
  .product-detail-body .pd-v6-related-card { grid-template-columns: 78px 1fr; }
  .product-detail-body .pd-v6-related-action { display: none; }
}

html[data-theme="dark"] .product-detail-body #a2t-products.pd-v6-page,
body.dark-mode.product-detail-body #a2t-products.pd-v6-page,
body.dark.product-detail-body #a2t-products.pd-v6-page {
  --pd-shadow: 0 8px 24px rgba(0,0,0,.28);
  --pd-shadow-soft: 0 5px 15px rgba(0,0,0,.22);
}

/* === V10 overview + review rail section === */
.product-detail-body .pd-v10-detail-section {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.85fr);
  gap: 1.25rem;
  align-items: start;
  margin-top: 1.25rem;
}

.product-detail-body .pd-v10-overview-card,
.product-detail-body .pd-v10-review-rail {
  border-radius: 26px;
  border: 1px solid rgba(24, 37, 69, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.product-detail-body .pd-v10-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-detail-body .pd-v10-card-head h2 {
  margin: 0 0 0.2rem;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.product-detail-body .pd-v10-card-head p {
  margin: 0;
  color: #60708f;
  font-size: 0.98rem;
  line-height: 1.6;
}

.product-detail-body .pd-v10-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f1f5ff 0%, #e8eefc 100%);
  color: #315efb;
  flex: 0 0 auto;
  font-size: 1.55rem;
}

.product-detail-body .pd-v10-overview-content {
  color: #24324f;
  font-size: 1rem;
  line-height: 1.75;
  display: grid;
  gap: 1.15rem;
}

.product-detail-body .pd-v10-overview-content > *:first-child { margin-top: 0; }
.product-detail-body .pd-v10-overview-content > *:last-child { margin-bottom: 0; }
.product-detail-body .pd-v10-overview-content h2,
.product-detail-body .pd-v10-overview-content h3,
.product-detail-body .pd-v10-overview-content h4 {
  color: #0b1736;
  margin: 1.2rem 0 0.4rem;
  line-height: 1.25;
}
.product-detail-body .pd-v10-overview-content ul,
.product-detail-body .pd-v10-overview-content ol {
  padding-left: 1.25rem;
  margin: 0.25rem 0;
}
.product-detail-body .pd-v10-overview-content li + li { margin-top: 0.35rem; }
.product-detail-body .pd-v10-overview-content blockquote {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: #f6f9ff;
  border: 1px solid rgba(49, 94, 251, 0.12);
}
.product-detail-body .pd-v10-overview-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.product-detail-body .pd-v10-overview-content th,
.product-detail-body .pd-v10-overview-content td {
  padding: 0.75rem;
  border: 1px solid rgba(24,37,69,0.09);
}

.product-detail-body .pd-v10-review-rail-sticky {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 1rem;
}

.product-detail-body .pd-v10-review-summary {
  display: grid;
  gap: 0.95rem;
  padding: 1.15rem;
  border-radius: 22px;
  background: #fbfcff;
  border: 1px solid rgba(24, 37, 69, 0.08);
}

.product-detail-body .pd-v10-review-score-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-detail-body .pd-v10-review-score {
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #0a1638;
}

.product-detail-body .pd-v10-review-stars {
  display: flex;
  gap: 0.25rem;
  color: #ffb400;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.product-detail-body .pd-v10-review-count {
  margin: 0;
  color: #5f6f8d;
  font-size: 0.95rem;
}

.product-detail-body .pd-v10-rating-breakdown {
  display: grid;
  gap: 0.55rem;
}

.product-detail-body .pd-v10-breakdown-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 0.55rem;
  color: #5b6b89;
  font-size: 0.92rem;
}

.product-detail-body .pd-v10-breakdown-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.product-detail-body .pd-v10-breakdown-row i { color: #ffb400; }
.product-detail-body .pd-v10-breakdown-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #ebf0f8;
  overflow: hidden;
}
.product-detail-body .pd-v10-breakdown-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, #3a6dff 0%, #1f5cff 100%);
  border-radius: inherit;
}

.product-detail-body .pd-v10-review-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.product-detail-body .pd-v10-review-actions .pd-v6-btn,
.product-detail-body .pd-v10-panel-link,
.product-detail-body .pd-v10-review-pagination .pd-v10-review-page-link {
  transition: all 0.2s ease;
}
.product-detail-body .pd-v10-review-actions .pd-v6-btn.is-active {
  background: #0c1636;
  color: #fff;
  border-color: #0c1636;
}
.product-detail-body .pd-v10-review-actions .pd-v6-btn.is-compact { min-height: 48px; }

.product-detail-body .pd-v10-review-feedback {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  font-size: 0.94rem;
  border: 1px solid rgba(49,94,251,0.12);
  background: #f5f8ff;
  color: #284478;
}
.product-detail-body .pd-v10-review-feedback.is-visible { display: block; }
.product-detail-body .pd-v10-review-feedback.is-success {
  background: #f4fcf5;
  border-color: rgba(51, 179, 108, 0.22);
  color: #16643d;
}
.product-detail-body .pd-v10-review-feedback.is-error {
  background: #fff6f6;
  border-color: rgba(221, 76, 76, 0.18);
  color: #9f2828;
}

.product-detail-body .pd-v10-review-panel {
  display: none;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(24, 37, 69, 0.08);
  background: #fff;
}
.product-detail-body .pd-v10-review-panel.is-active { display: grid; }
.product-detail-body .pd-v10-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.product-detail-body .pd-v10-panel-head h3 {
  margin: 0;
  font-size: 1.02rem;
  color: #0b1736;
}
.product-detail-body .pd-v10-panel-link {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  color: #315efb;
  font-weight: 700;
  cursor: pointer;
}
.product-detail-body .pd-v10-panel-link:hover { color: #0c1636; }

.product-detail-body .pd-v10-review-list.is-loading {
  opacity: 0.55;
  pointer-events: none;
}
.product-detail-body .pd-v10-review-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.product-detail-body .pd-v10-reviews-empty {
  text-align: left;
  padding: 1.15rem;
  border-radius: 18px;
  background: #fbfcff;
  border: 1px dashed rgba(24,37,69,0.12);
}
.product-detail-body .pd-v10-reviews-empty h3 { margin: 0 0 0.3rem; }
.product-detail-body .pd-v10-reviews-empty p { margin: 0; }

.product-detail-body .pd-v10-review-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(24,37,69,0.08);
}
.product-detail-body .pd-v10-review-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(24,37,69,0.12);
  color: #0c1636;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}
.product-detail-body .pd-v10-review-page-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.product-detail-body .pd-v10-review-page-status { color: #687a98; font-size: 0.92rem; }

.product-detail-body .pd-v10-rail-form {
  display: grid;
  gap: 0.95rem;
}
.product-detail-body .pd-v10-form-block {
  display: grid;
  gap: 0.45rem;
}
.product-detail-body .pd-v10-form-block label {
  color: #0c1636;
  font-size: 0.92rem;
  font-weight: 700;
}
.product-detail-body .pd-v10-rail-form textarea,
.product-detail-body .pd-v10-rail-form input[type="text"] {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(24,37,69,0.12);
  background: #fbfcff;
  color: #20304e;
  font: inherit;
}
.product-detail-body .pd-v10-rail-form textarea:focus,
.product-detail-body .pd-v10-rail-form input[type="text"]:focus {
  outline: none;
  border-color: rgba(49,94,251,0.35);
  box-shadow: 0 0 0 4px rgba(49,94,251,0.08);
}
.product-detail-body .pd-v10-inline-note {
  padding: 1rem;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid rgba(24,37,69,0.08);
  color: #415272;
}
.product-detail-body .pd-v10-inline-note.success {
  background: #f5fbf6;
  border-color: rgba(51,179,108,0.18);
}
.product-detail-body .pd-v10-inline-note strong { display: block; margin-bottom: 0.25rem; color: #0b1736; }
.product-detail-body .pd-v10-inline-note p { margin: 0 0 0.7rem; }

.product-detail-body .pd-v10-review-rail .comment-item {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(24,37,69,0.08);
  background: #fbfcff;
}
.product-detail-body .pd-v10-review-rail .comment-item .a2t-profile-link {
  color: #0c1636;
  text-decoration: none;
}
.product-detail-body .pd-v10-review-rail .comment-item .stars {
  margin: 0.35rem 0 0.4rem;
  color: #ffb400;
}
.product-detail-body .pd-v10-review-rail .comment-item .cmt-txt {
  margin: 0 0 0.55rem;
  color: #42506d;
  line-height: 1.7;
}
.product-detail-body .pd-v10-review-rail .comment-item small {
  display: inline-block;
  color: #73819a;
  margin-bottom: 0.7rem;
}
.product-detail-body .pd-v10-review-rail .comment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
}
.product-detail-body .pd-v10-review-rail .btn-link,
.product-detail-body .pd-v10-review-rail .vote-btn,
.product-detail-body .pd-v10-review-rail .btn-sm {
  appearance: none;
  border: 0;
  background: transparent;
  color: #315efb;
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-weight: 700;
}
.product-detail-body .pd-v10-review-rail .vote-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.product-detail-body .pd-v10-review-rail .vote-btn {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(24,37,69,0.1);
  background: #fff;
  color: #445474;
}
.product-detail-body .pd-v10-review-rail .reply-form-container,
.product-detail-body .pd-v10-review-rail .edit-form-container {
  margin-top: 0.75rem;
}
.product-detail-body .pd-v10-review-rail .reply-form,
.product-detail-body .pd-v10-review-rail .edit-form {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.1rem;
}
.product-detail-body .pd-v10-review-rail .reply-form textarea,
.product-detail-body .pd-v10-review-rail .edit-form textarea {
  width: 100%;
  min-height: 90px;
  resize: vertical;
  border-radius: 14px;
  border: 1px solid rgba(24,37,69,0.12);
  background: #fff;
  padding: 0.8rem 0.9rem;
  font: inherit;
}
.product-detail-body .pd-v10-review-rail .d-flex.gap-2 {
  display: flex;
  gap: 0.55rem;
}
.product-detail-body .pd-v10-review-rail .btn-primary,
.product-detail-body .pd-v10-review-rail .btn-secondary,
.product-detail-body .pd-v10-review-rail .btn-sm {
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(24,37,69,0.12);
  background: #fff;
  color: #0c1636;
  text-decoration: none;
}
.product-detail-body .pd-v10-review-rail .btn-primary {
  background: #315efb;
  border-color: #315efb;
  color: #fff;
}
.product-detail-body .pd-v10-review-rail .replies {
  list-style: none;
  padding-left: 1rem;
  margin: 0.75rem 0 0;
  border-left: 2px solid rgba(49,94,251,0.12);
}
.product-detail-body .pd-v10-review-rail .replies .comment-item {
  margin-top: 0.75rem;
  background: #fff;
}
.product-detail-body .pd-v10-review-rail .d-none { display: none !important; }

@media (max-width: 1180px) {
  .product-detail-body .pd-v10-detail-section {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-detail-body .pd-v10-review-rail-sticky {
    position: static;
  }
}

@media (max-width: 767px) {
  .product-detail-body .pd-v10-card-head {
    gap: 0.85rem;
    align-items: center;
  }
  .product-detail-body .pd-v10-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.2rem;
  }
  .product-detail-body .pd-v10-card-head h2 { font-size: 1.55rem; }
  .product-detail-body .pd-v10-review-score-wrap { align-items: flex-start; }
  .product-detail-body .pd-v10-review-actions { grid-template-columns: 1fr; }
  .product-detail-body .pd-v10-review-pagination {
    flex-direction: column;
    align-items: stretch;
  }
}


/* === V10.1 review form polish === */
.product-detail-body .pd-v10-review-panel[data-rail-panel="form"] {
  gap: 1.1rem;
}

.product-detail-body .pd-v10-review-panel[data-rail-panel="form"] .pd-v10-panel-head {
  align-items: flex-start;
  padding-bottom: 0.15rem;
}

.product-detail-body .pd-v10-review-panel[data-rail-panel="form"] .pd-v10-panel-head h3 {
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.product-detail-body .pd-v10-review-panel[data-rail-panel="form"] .pd-v10-panel-link {
  font-size: 0.98rem;
  font-weight: 700;
  color: #2563ff;
}

.product-detail-body .pd-v10-review-form-wrap {
  display: grid;
  gap: 1rem;
}

.product-detail-body .pd-v10-review-designer-form {
  display: grid;
  gap: 1.25rem;
}

.product-detail-body .pd-v10-field-title {
  display: block;
  margin: 0;
  color: #0e1f4d;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.product-detail-body .pd-v10-field-help {
  margin: 0;
  color: #7a89a6;
  font-size: 0.92rem;
}

.product-detail-body .pd-v10-star-block {
  gap: 0.85rem;
}

.product-detail-body .pd-v10-star-picker {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.5rem;
}

.product-detail-body .pd-v10-star-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-detail-body .pd-v10-star-picker label {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(158, 172, 204, 0.45);
  background: #ffffff;
  color: #b3bfd8;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.product-detail-body .pd-v10-star-picker label i {
  font-size: 1.35rem;
}

.product-detail-body .pd-v10-star-picker label:hover,
.product-detail-body .pd-v10-star-picker label:hover ~ label {
  color: #2563ff;
  border-color: rgba(37, 99, 255, 0.28);
  background: #f7faff;
  transform: translateY(-1px);
}

.product-detail-body .pd-v10-star-picker input:checked ~ label {
  color: #2563ff;
  border-color: rgba(37, 99, 255, 0.24);
  background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
}

.product-detail-body .pd-v10-star-picker input:focus-visible + label {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(37, 99, 255, 0.12);
}

.product-detail-body .pd-v10-textarea-block {
  gap: 0.7rem;
}

.product-detail-body .pd-v10-review-designer-form textarea {
  min-height: 180px;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(186, 198, 225, 0.85);
  background: #fff;
  box-shadow: inset 0 0 0 4px rgba(56, 107, 255, 0.08);
  color: #223150;
  font-size: 1rem;
  line-height: 1.65;
}

.product-detail-body .pd-v10-review-designer-form textarea::placeholder {
  color: #7181a1;
}

.product-detail-body .pd-v10-review-designer-form textarea:focus {
  border-color: rgba(56, 107, 255, 0.55);
  box-shadow: inset 0 0 0 4px rgba(56, 107, 255, 0.12), 0 0 0 4px rgba(56, 107, 255, 0.08);
}

.product-detail-body .pd-v10-submit-review {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  justify-content: center;
  box-shadow: 0 16px 26px rgba(37, 99, 255, 0.18);
}

.product-detail-body .pd-v10-submit-review:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(37, 99, 255, 0.22);
}

@media (max-width: 767px) {
  .product-detail-body .pd-v10-review-panel[data-rail-panel="form"] .pd-v10-panel-head h3 {
    font-size: 1.35rem;
  }
  .product-detail-body .pd-v10-star-picker {
    gap: 0.35rem;
  }
  .product-detail-body .pd-v10-star-picker label {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
  .product-detail-body .pd-v10-star-picker label i {
    font-size: 1.15rem;
  }
  .product-detail-body .pd-v10-review-designer-form textarea {
    min-height: 156px;
    border-radius: 18px;
  }
  .product-detail-body .pd-v10-submit-review {
    min-height: 52px;
  }
}


/* === V10.2 related products footer breathing room === */
.product-detail-body .pd-v6-related-section {
  margin-bottom: 34px;
}

@media (max-width: 767px) {
  .product-detail-body .pd-v6-related-section {
    margin-bottom: 24px;
  }
}
