/* ============================================================
   PRODUCT DETAIL PAGE (product.css)
   Conigx — Surgical Instruments
============================================================ */

/* ============================================================
   PRODUCT HERO LAYOUT
============================================================ */
.pdp-hero {
  padding-top: 48px;
  padding-bottom: 48px;
}
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

/* Gallery */
.pdp-gallery { position: sticky; top: calc(var(--site-top) + 20px); }

.pdp-main-img {
  position: relative;
  background: linear-gradient(135deg, #e0eeff 0%, #c8dcf8 100%);
  border-radius: var(--r-xl);
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.pdp-img-icon {
  font-size: 96px;
  color: rgba(11,37,69,.12);
}
.pdp-img-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pdp-sale-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: #dc2626;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--r-full);
  letter-spacing: 0.3px;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}
.pdp-img-share-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--ease);
}
.pdp-img-share-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.pdp-trust-strip {
  display: flex;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pdp-trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 13px 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  border-right: 1px solid var(--border);
  transition: var(--ease);
}
.pdp-trust-item:last-child { border-right: none; }
.pdp-trust-item i { font-size: 16px; color: var(--accent); }
.pdp-trust-item:hover { background: var(--light-bg); }

/* Product Info */
.pdp-info { padding-top: 4px; }

.pdp-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.pdp-meta-row .pdp-rating-link {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.pdp-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(21,101,192,.1);
  padding: 4px 14px;
  border-radius: var(--r-full);
}

.pdp-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 10px;
}
.pdp-subtitle {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 12px;
  line-height: 1.6;
}
.pdp-subtitle p {
  margin: 0 0 0.35em;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}
.pdp-subtitle p:last-child {
  margin-bottom: 0;
}
.pdp-subtitle strong,
.pdp-subtitle b {
  font-weight: 600;
  color: var(--text-mid);
}

.pdp-sku-row {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pdp-sku {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pdp-rating-link {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--ease);
}
.pdp-rating-link:hover .pdp-rating-count {
  color: var(--accent);
}
.pdp-stars { display: flex; gap: 3px; }
.pdp-stars i { color: #f59e0b; font-size: 14px; }
.pdp-rating-count { font-size: 13px; color: var(--text-soft); transition: var(--ease); }

/* Stats bar */
.pdp-stats-bar {
  display: flex;
  align-items: stretch;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 28px;
}
.pdp-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px;
  text-align: center;
}
.pdp-stat strong {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  display: block;
}
.pdp-stat-accent { color: var(--accent) !important; }
.pdp-stat span {
  font-size: 10px;
  color: var(--text-soft);
  font-weight: 500;
  margin-top: 3px;
}
.pdp-stat-sep {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* Price block */
.pdp-price-block {
  margin-bottom: 24px;
}
.pdp-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pdp-price-main {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.pdp-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pdp-price-from {
  font-size: 12px;
  color: var(--text-muted);
}
.pdp-price-amount {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.pdp-price-amount.is-on-sale .price {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
}
.pdp-price-amount.is-on-sale del {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.9;
}
.pdp-price-amount.is-on-sale del .woocommerce-Price-amount {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.pdp-price-amount.is-on-sale ins {
  text-decoration: none;
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
}
.pdp-price-amount.is-on-sale ins .woocommerce-Price-amount {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.pdp-price-save {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: #fef2f2;
  color: #dc2626;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.pdp-price-note {
  font-size: 12px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}
.pdp-price-note i { color: var(--accent); }

/* Purchase row */
.pdp-purchase-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 18px;
}
.pdp-purchase-row .conigx-pdp-cart-form {
  display: flex;
  flex: 1;
  align-items: stretch;
  gap: 10px;
  margin: 0;
}
.pdp-purchase-row .conigx-pdp-cart-form .quantity {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  align-items: center;
}
.pdp-purchase-row .conigx-pdp-cart-form .quantity label {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}
.pdp-price-amount .price {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  margin: 0;
}
.pdp-price-amount .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.pdp-info > p.price,
.entry-summary > p.price {
  display: none !important;
}
.pdp-main-img .woocommerce-product-gallery {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0;
  z-index: 1;
}
.pdp-main-img .woocommerce-product-gallery__wrapper {
  max-width: none;
  height: auto !important;
  margin: 0;
}
.pdp-main-img .flex-viewport {
  height: auto !important;
}
.pdp-main-img .woocommerce-product-gallery__image {
  display: block;
  height: auto !important;
  float: none !important;
}
.pdp-main-img .woocommerce-product-gallery__image > a {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
}
.pdp-main-img .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  margin: 0;
  vertical-align: top;
}
.pdp-main-img .woocommerce-product-gallery__trigger {
  position: absolute;
  bottom: 16px;
  left: 50%;
  top: auto;
  right: auto;
  transform: translateX(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--primary);
  text-indent: 0;
  overflow: hidden;
  transition: var(--ease);
}
.pdp-main-img .woocommerce-product-gallery__trigger:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.pdp-main-img .woocommerce-product-gallery__trigger img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  position: static;
  margin: 0;
}
.pdp-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--white);
}
.pdp-qty-btn {
  width: 38px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-mid);
  transition: var(--ease);
}
.pdp-qty-btn:hover { background: var(--light-bg); color: var(--primary); }
.pdp-qty input {
  width: 52px;
  height: 48px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  -moz-appearance: textfield;
}
.pdp-qty input::-webkit-outer-spin-button,
.pdp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.btn-pdp-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r);
  padding: 0 24px;
  height: 48px;
  transition: var(--ease);
}
.btn-pdp-cart:hover { background: var(--accent); box-shadow: var(--shadow-accent); transform: translateY(-1px); }

.btn-pdp-wish {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-soft);
  transition: var(--ease);
}
.btn-pdp-wish:hover { border-color: #ef4444; color: #ef4444; background: #fff0f0; }
.btn-pdp-wish.active i { font-weight: 900; color: #ef4444; }

/* B2B Banner */
.pdp-b2b-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, #060e1a, #0b2545);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  margin-bottom: 22px;
  transition: var(--ease);
  cursor: pointer;
}
.pdp-b2b-banner:hover { box-shadow: 0 8px 32px rgba(11,37,69,.3); transform: translateY(-1px); }
.pdp-b2b-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pdp-b2b-left > i {
  font-size: 22px;
  color: var(--accent-light);
  flex-shrink: 0;
}
.pdp-b2b-left strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.pdp-b2b-left span {
  font-size: 11px;
  color: rgba(255,255,255,.55);
}
.pdp-b2b-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--r);
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--ease);
}
.pdp-b2b-banner:hover .pdp-b2b-cta { background: var(--accent-light); }

/* Meta bottom */
.pdp-meta-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.pdp-trust-bottom {
  display: block;
  width: 100%;
}
.pdp-trust-bottom .pdp-trust-strip {
  width: 100%;
}
.pdp-share {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-soft);
}
.pdp-share a {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-mid);
  transition: var(--ease);
}
.pdp-share a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* Share modal (gallery) */
.pdp-share-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pdp-share-modal[hidden] { display: none; }
.pdp-share-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 26, .55);
  backdrop-filter: blur(4px);
}
.pdp-share-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-lg);
}
.pdp-share-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: var(--ease);
  border: none;
  background: transparent;
  cursor: pointer;
}
.pdp-share-modal-close:hover {
  background: var(--light-bg);
  color: var(--primary);
}
.pdp-share-modal-dialog h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 6px;
  padding-right: 36px;
}
.pdp-share-modal-sub {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0 0 20px;
  line-height: 1.5;
}
.pdp-share-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pdp-share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  text-align: center;
  transition: var(--ease);
  text-decoration: none;
  background: var(--white);
  cursor: pointer;
  font-family: inherit;
}
.pdp-share-option i {
  font-size: 20px;
  color: var(--accent);
}
.pdp-share-option:hover {
  border-color: var(--accent);
  background: var(--light-bg);
  color: var(--primary);
}
.pdp-share-copy.is-copied {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #16a34a;
}
.pdp-share-copy.is-copied i { color: #16a34a; }

/* ============================================================
   PRODUCT TABS
============================================================ */
.pdp-tabs-section {
  border-top: 1px solid var(--border);
  padding-bottom: 72px;
}
.pdp-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pdp-tab-nav::-webkit-scrollbar { display: none; }
.pdp-tab-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: var(--ease);
}
.pdp-tab-btn:hover { color: var(--primary); }
.pdp-tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.pdp-tab-btn i { font-size: 12px; }
.tab-count {
  background: var(--light-bg);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
}
.pdp-tab-btn.active .tab-count { background: rgba(21,101,192,.1); color: var(--accent); }

.pdp-tab-panel { display: block; }
.pdp-tab-panel[hidden] { display: none; }

/* WooCommerce long description in Description tab */
.pdp-product-description :first-child {
  margin-top: 0;
}
.pdp-product-description :last-child {
  margin-bottom: 0;
}
.pdp-product-description p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.pdp-product-description h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin: 28px 0 16px;
}
.pdp-product-description h2:first-child {
  margin-top: 0;
}
.pdp-product-description h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin: 24px 0 12px;
}
.pdp-product-description h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0 10px;
}
.pdp-product-description strong,
.pdp-product-description b {
  font-weight: 700;
  color: var(--primary);
}
.pdp-product-description ul,
.pdp-product-description ol {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  margin: 0 0 16px 1.25em;
  padding: 0;
}
.pdp-product-description li {
  margin-bottom: 6px;
}
.pdp-product-description a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pdp-product-description a:hover {
  color: var(--primary);
}
.pdp-product-description blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--accent);
  background: rgba(21, 101, 192, 0.05);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 14px;
  color: var(--text-mid);
}
.pdp-product-description img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r);
  margin: 12px 0;
}
.pdp-empty-tab {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}

.pdp-tab-panel h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}
.pdp-tab-panel h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 28px 0 12px;
}
.pdp-tab-panel > p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 720px;
}

.pdp-desc-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: flex-start;
}
.pdp-desc-main p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.pdp-differentiator {
  display: flex;
  gap: 16px;
  background: rgba(21,101,192,.05);
  border: 1px solid rgba(21,101,192,.18);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 20px;
  margin: 6px 0 12px;
}
.pdp-diff-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
}
.pdp-differentiator strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}
.pdp-differentiator p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0 !important;
}
.pdp-desc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdp-desc-list li {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  padding-left: 14px;
  position: relative;
}
.pdp-desc-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.pdp-desc-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pdp-aside-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
}
.pdp-aside-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pdp-aside-card h4 i { color: var(--accent); font-size: 14px; }
.pdp-aside-card ul { display: flex; flex-direction: column; gap: 8px; }
.pdp-aside-card ul li {
  font-size: 13px;
  color: var(--text-soft);
  padding-left: 14px;
  position: relative;
}
.pdp-aside-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16a34a;
  font-size: 11px;
  top: 1px;
}

.pdp-aside-cta { display: flex; flex-direction: column; gap: 10px; }
.btn-aside-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text-mid);
  background: var(--light-bg);
  transition: var(--ease);
}
.btn-aside-dl:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-aside-dl-outline { background: transparent; }
.btn-aside-dl-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-aside-dl-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* Specifications tab */
.pdp-specs-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pdp-specs-table-wrap .pdp-specs-table {
  margin: 0;
}

.pdp-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.pdp-specs-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pdp-specs-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
  padding: 13px 20px;
  margin: 0;
}
.pdp-specs-heading i { color: rgba(255,255,255,.65); font-size: 13px; }
.pdp-specs-table {
  width: 100%;
  border-collapse: collapse;
}
.pdp-specs-table tr:not(:last-child) { border-bottom: 1px solid var(--border-light); }
.pdp-specs-table th {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 11px 20px;
  text-align: left;
  width: 42%;
  background: var(--light-bg);
  border-right: 1px solid var(--border-light);
}
.pdp-specs-table td {
  font-size: 13px;
  color: var(--text-mid);
  padding: 11px 20px;
  font-weight: 600;
}

/* Instruments tab */
.pdp-instr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.pdp-instr-count {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}
.pdp-instr-count i { color: var(--accent); }

.pdp-phases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 28px;
}
.pdp-phase-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pdp-phase-header {
  padding: 13px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pdp-phase-1 { background: linear-gradient(135deg, #1565c0, #0b2545); }
.pdp-phase-2 { background: linear-gradient(135deg, #0097a7, #006064); }
.pdp-phase-3 { background: linear-gradient(135deg, #2e7d32, #1b5e20); }
.pdp-phase-4 { background: linear-gradient(135deg, #c62828, #7f0000); }
.pdp-phase-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.pdp-phase-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.pdp-instr-list {
  padding: 8px 0;
}
.pdp-instr-list li {
  padding: 10px 20px;
  border-bottom: 1px solid var(--border-light);
}
.pdp-instr-list li:last-child { border-bottom: none; }
.instr-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.instr-spec {
  font-size: 11px;
  color: var(--text-soft);
  line-height: 1.5;
}
.instr-badge-key {
  display: inline-flex;
  align-items: center;
  background: rgba(21,101,192,.1);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
}
.pdp-phase-footer {
  padding: 10px 20px;
  background: var(--light-bg);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
}

.pdp-instr-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(21,101,192,.05);
  border: 1px solid rgba(21,101,192,.2);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 20px 24px;
}
.pdp-instr-note > i {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.pdp-instr-note strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.pdp-instr-note p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0;
}

.pdp-set-products-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pdp-set-products-table {
  width: 100%;
  border-collapse: collapse;
}
.pdp-set-products-table tr:not(:last-child) {
  border-bottom: 1px solid var(--border-light);
}
.pdp-set-products-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  padding: 14px 20px;
  text-align: left;
  width: 70%;
  background: var(--light-bg);
  border-right: 1px solid var(--border-light);
}
.pdp-set-products-table th a {
  color: inherit;
  text-decoration: none;
  transition: var(--ease);
}
.pdp-set-products-table th a:hover {
  color: var(--accent);
}
.pdp-set-products-table td {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  padding: 14px 20px;
  text-align: right;
  width: 30%;
}

/* Reviews tab */
.pdp-reviews-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: flex-start;
}
.pdp-reviews-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  position: sticky;
  top: calc(var(--site-top) + 20px);
}
.pdp-rev-score {
  font-size: 56px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.pdp-rev-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 6px;
}
.pdp-rev-stars i { color: #f59e0b; font-size: 16px; }
.pdp-reviews-summary p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pdp-rev-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pdp-rev-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-soft);
}
.pdp-rev-bar-row span:first-child { width: 22px; text-align: right; flex-shrink: 0; }
.pdp-rev-bar-row span:last-child { width: 18px; flex-shrink: 0; }
.pdp-rev-bar {
  flex: 1;
  height: 7px;
  background: var(--light-bg);
  border-radius: var(--r-full);
  overflow: hidden;
}
.pdp-rev-bar > div {
  height: 100%;
  background: #f59e0b;
  border-radius: var(--r-full);
}

.pdp-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pdp-review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.pdp-rev-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pdp-rev-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.pdp-rev-header > div strong { display: block; font-size: 14px; font-weight: 700; color: var(--primary); }
.pdp-rev-header > div span { font-size: 12px; color: var(--text-soft); }
.pdp-rev-stars-sm { display: flex; gap: 2px; margin-left: auto; }
.pdp-rev-stars-sm i { color: #f59e0b; font-size: 12px; }
.pdp-review-card p { font-size: 13px; color: var(--text-mid); line-height: 1.7; margin-bottom: 10px; }
.pdp-rev-date { font-size: 11px; color: var(--text-muted); }

.btn-pdp-write-review {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
  padding: 12px 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--r);
  transition: var(--ease);
}
.btn-pdp-write-review:hover {
  background: var(--accent);
  box-shadow: var(--shadow-accent);
}

.pdp-reviews-empty {
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
  padding: 48px 24px;
  text-align: center;
}
.pdp-reviews-empty i {
  font-size: 36px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.pdp-reviews-empty p {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 8px;
}
.pdp-reviews-empty-sub {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--text-soft) !important;
  margin: 0 !important;
}

/* Review modal */
.pdp-review-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pdp-review-modal[hidden] { display: none; }
.pdp-review-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 26, .55);
  backdrop-filter: blur(4px);
}
.pdp-review-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-lg);
}
.pdp-review-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: var(--ease);
}
.pdp-review-modal-close:hover {
  background: var(--light-bg);
  color: var(--primary);
}
.pdp-review-modal-dialog h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 6px;
}
.pdp-review-modal-sub {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0 0 22px;
}
.pdp-review-form .pdp-review-field,
.pdp-review-form .pdp-review-rating,
.pdp-review-form .pdp-review-comment {
  margin-bottom: 16px;
}
.pdp-review-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.pdp-review-form .required { color: #ef4444; }
.pdp-review-form input[type="text"],
.pdp-review-form input[type="email"],
.pdp-review-form select,
.pdp-review-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--ease);
}
.pdp-review-form input:focus,
.pdp-review-form select:focus,
.pdp-review-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}
.pdp-review-form textarea {
  min-height: 120px;
  resize: vertical;
}
.pdp-review-form .form-submit {
  margin: 0;
}
.btn-pdp-review-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: var(--ease);
}
.btn-pdp-review-submit:hover {
  background: var(--accent);
  box-shadow: var(--shadow-accent);
}
.pdp-review-form .must-log-in {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.pdp-review-form .must-log-in a {
  color: var(--accent);
  font-weight: 600;
}

/* Review star picker */
.pdp-review-stars-input .pdp-review-rating-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.pdp-star-picker {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pdp-star-pick {
  background: none;
  border: none;
  padding: 2px 4px;
  cursor: pointer;
  font-size: 28px;
  color: #d1d5db;
  line-height: 1;
  transition: transform 0.15s ease, color 0.15s ease;
}
.pdp-star-pick:hover,
.pdp-star-pick.is-hover,
.pdp-star-pick.is-selected {
  color: #facc15;
}
.pdp-star-pick:hover { transform: scale(1.08); }
.pdp-star-pick:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.pdp-review-form .comment-form-rating:not(.pdp-review-stars-input),
.pdp-review-form p.stars {
  display: none !important;
}

/* Hide default WooCommerce review wrappers on PDP */
#tab-reviews #reviews,
#tab-reviews .woocommerce-Reviews,
#tab-reviews .woocommerce-Reviews-title {
  display: none;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .pdp-layout { grid-template-columns: 1fr; gap: 36px; }
  .pdp-gallery { position: static; }
  .pdp-main-img { max-width: 480px; margin: 0 auto 12px; }
  .pdp-desc-grid { grid-template-columns: 1fr; }
  .pdp-desc-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .pdp-aside-cta { grid-column: 1 / -1; }
  .pdp-reviews-layout { grid-template-columns: 1fr; }
  .pdp-reviews-summary { position: static; display: grid; grid-template-columns: auto 1fr; gap: 24px; text-align: left; align-items: center; }
  .pdp-rev-bars { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .pdp-stats-bar { flex-wrap: wrap; }
  .pdp-stat { min-width: 30%; }
  .pdp-purchase-row { flex-wrap: wrap; }
  .pdp-purchase-row .conigx-pdp-cart-form { flex: 1 1 100%; }
  .btn-pdp-cart { flex: unset; width: auto; }
  .pdp-phases-grid { grid-template-columns: 1fr; }
  .pdp-specs-grid { grid-template-columns: 1fr; }
  .pdp-tab-btn { padding: 14px 16px; font-size: 12px; }
  .pdp-desc-aside { grid-template-columns: 1fr; }
  .pdp-aside-cta { grid-column: auto; }
  .pdp-reviews-summary { display: block; text-align: center; }
  .pdp-trust-item { font-size: 9px; padding: 11px 6px; }
  .pdp-trust-item i { font-size: 14px; }
}

@media (max-width: 480px) {
  .pdp-layout { gap: 24px; }
  .pdp-title { font-size: 22px; }
  .pdp-stats-bar { flex-direction: column; }
  .pdp-stat-sep { width: 100%; height: 1px; }
  .pdp-instr-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   RELATED PRODUCTS CAROUSEL
============================================================ */
#related-products.related-products {
  margin-top: 0;
}
#related-products .carousel-wrap {
  margin-top: 0;
}
#related-products .prod-card {
  width: 100%;
}
#related-products .prod-name a {
  color: inherit;
  text-decoration: none;
}
#related-products .prod-name a:hover {
  color: var(--accent);
}
