/* ============================================================
   PRODUCT DETAIL PAGE — FULL CSS (Hover Zoom + Lightbox Swipe)
   Compatible with product-detail.js V11
   Version: 3.0 - Fully Consolidated & Deduplicated
   ============================================================ */

/* ================================
   CSS VARIABLES (DEFINED ONCE)
================================== */
:root {
  /* Sheaker Brand Colors */
  --sheaker-blue: #4169E1;
  --sheaker-blue-dark: #2851c7;
  --sheaker-purple: #8a2be2;
  --sheaker-orange: #FF8C00;
  --sheaker-black: #1F1F1F;

  /* UI Colors */
  --muted: #6b7280;
  --border: #e5e7eb;
  --card: #ffffff;

  /* Border Radius */
  --radius-xl: 18px;
  --radius-lg: 14px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow-md: 0 10px 28px rgba(0,0,0,.08);

  /* PDP Specific */
  --pdp-bg: #f6f7fb;
  --pdp-card: #fff;
  --pdp-border: #e5e7eb;
  --pdp-muted: #6b7280;
  --pdp-shadow: 0 10px 28px rgba(0,0,0,.08);
  --pdp-shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --r-xl: 18px;
  --r-lg: 14px;
}

/* ----------------------------------------
   GLOBAL BODY LOCK
---------------------------------------- */
body.zoom-locked {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100vh !important;
  top: 0;
  left: 0;
}

/* ============================================================
   BREADCRUMB
============================================================ */
.breadcrumb {
  max-width: 1400px;
  margin: 14px auto 0;
  padding: 10px 20px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

.breadcrumb a {
  color: var(--sheaker-blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--sheaker-black);
}

/* ============================================================
   MAIN LAYOUT (CONSOLIDATED)
============================================================ */
.product-detail-container {
  display: flex;
  justify-content: center;
  padding: 18px 20px 34px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-detail-wrapper {
  display: grid;
  grid-template-columns: 550px 1fr;
  gap: 50px;
  width: 100%;
}

@media (max-width: 992px) {
  .product-detail-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.no-variant-message {
  margin-top: 10px;
  padding: 12px 15px;
  background: #f5f7fa;
  border-left: 4px solid var(--sheaker-blue);
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.no-variant-message i {
  color: var(--sheaker-blue);
  font-size: 16px;
}

/* ============================================================
   CARD COLUMNS (CONSOLIDATED)
============================================================ */
.product-images-section,
.product-info-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.product-images-section {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .product-info-section {
    position: sticky;
    top: 18px;
    align-self: start;
  }
}

@media (max-width: 768px) {
  .product-images-section,
  .product-info-section {
    padding: 14px;
  }
}

/* ============================================================
   THUMBNAIL GALLERY
============================================================ */
.thumbnail-gallery {
  flex-shrink: 0;
  width: 85px;
  order: 1;
}

.thumbnail-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumbnail-item {
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
  width: 85px;
  height: 85px;
  background: #f9f9f9;
}

.thumbnail-item:hover {
  border-color: rgba(138, 43, 226, 0.5);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail-item.active {
  border-color: var(--sheaker-purple);
  box-shadow: 0 2px 8px rgba(138, 43, 226, 0.2);
}

/* ============================================================
   MAIN IMAGE CONTAINER
============================================================ */
.main-image-container {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 14px;
  order: 2;
  background: #f9f9f9;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-product-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
  transform-origin: center center;
  cursor: zoom-in;
}

@media (min-width: 768px) {
  .main-product-image.hover-zoom {
    transform: scale(1.6);
  }
}

/* ============================================================
   MOBILE THUMBNAIL LAYOUT
============================================================ */
@media (max-width: 768px) {
  .product-images-section {
    flex-direction: column-reverse;
  }

  .thumbnail-gallery {
    width: 100%;
    order: 2;
    margin-top: 15px;
  }

  .thumbnail-grid {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .thumbnail-grid::-webkit-scrollbar {
    height: 6px;
  }

  .thumbnail-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
  }

  .thumbnail-item {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
  }

  .main-image-container {
    order: 1;
    min-height: 300px;
  }
}

/* ============================================================
   PRODUCT BADGES
============================================================ */
.product-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.product-badge {
  background: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  color: #222;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-badge.new {
  background: var(--sheaker-blue);
  color: #fff;
}

.product-badge.featured {
  background: var(--sheaker-orange);
  color: #1f1f1f;
}

.product-badge.sale {
  background: var(--sheaker-orange);
  color: var(--sheaker-black);
}

/* ============================================================
   PRODUCT INFO — BRAND & TITLE
============================================================ */
.product-brand {
  color: var(--sheaker-purple);
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 12px;
}

.product-title {
  margin: 8px 0 6px;
  font-weight: 900;
  color: var(--sheaker-black);
  line-height: 1.15;
  font-size: 28px;
}

@media (max-width: 768px) {
  .product-title {
    font-size: 22px;
  }
}

/* ============================================================
   PRICE SECTION
============================================================ */
.product-price-section {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fafafa;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.current-price {
  font-size: 28px;
  font-weight: 950;
  color: var(--sheaker-black);
}

.product-price-section s {
  color: #9ca3af;
  font-weight: 700;
}

.compare-at {
  margin-left: 10px;
  color: #888;
  text-decoration: line-through;
  font-weight: 600;
}

.save-badge {
  margin-left: 10px;
  background: #eafff3;
  color: #0a8c4a;
  border: 1px solid #b8f5d3;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}

@media (max-width: 768px) {
  .current-price {
    font-size: 24px;
  }
}

/* ============================================================
   PAYMENT ICONS
============================================================ */
.pdp2-pill .pay-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-left: 8px;
  align-items: center;
}

#pay-icons-images {
  border: 0;
}

.pdp2-pill .pay-icons img {
  height: 25px;
  width: 100%;
  max-width: 44px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

@media (max-width: 420px) {
  .pdp2-pill .pay-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   RATING ROW
============================================================ */
.rating-row {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stars i {
  color: #f5a623;
  margin-right: 2px;
}

.rating-text {
  font-weight: 600;
  color: var(--sheaker-black);
}

.muted {
  color: var(--muted);
  font-weight: 500;
}

.link-btn {
  border: none;
  background: none;
  color: var(--sheaker-blue);
  cursor: pointer;
  font-weight: 600;
  padding: 0;
}

/* ============================================================
   TRUST STRIP (CONSOLIDATED)
============================================================ */
.trust-strip {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trust-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #333;
}

.trust-item i {
  color: var(--sheaker-blue);
}

@media (max-width: 900px) {
  .trust-strip {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   META GRID (CONSOLIDATED)
============================================================ */
.meta-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.meta-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}

.meta-label {
  display: block;
  font-size: 12px;
  color: var(--pdp-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

.meta-value {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  color: var(--sheaker-black);
  word-break: break-word;
}

@media (max-width: 900px) {
  .meta-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   COLOR OPTIONS (CONSOLIDATED)
============================================================ */
.color-selection {
  margin-bottom: 20px;
}

.variant-title {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: #333;
}

.selected-variant {
  font-size: 15px;
  color: #666;
  margin-bottom: 12px;
}

.color-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.color-option {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid transparent;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  outline: none;
  transition: all 0.2s ease;
  position: relative;
}

.color-option:hover {
  transform: scale(1.1);
}

.color-option.active {
  border-color: var(--sheaker-purple);
  box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.2);
}

.color-option .swatch {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  display: block;
  border: solid var(--sheaker-purple);
  box-shadow: 0 2px 8px rgba(138, 43, 226, 0.2);
}

/* ============================================================
   SIZE OPTIONS (CONSOLIDATED)
============================================================ */
.size-selection {
  margin-bottom: 20px;
}

.size-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 12px;
}

.size-option {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 14px;
  min-width: 50px;
  text-align: center;
  background: #fff;
}

.size-option:hover:not(.disabled) {
  border-color: var(--sheaker-blue);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.size-option.active {
  background: var(--sheaker-blue);
  color: #fff;
  border-color: var(--sheaker-blue);
}

.size-option.disabled {
  opacity: 0.35;
  pointer-events: none;
  background: #f5f5f5;
  text-decoration: line-through;
}

.size-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--sheaker-blue);
  text-decoration: none;
  margin-top: 8px;
  transition: opacity 0.2s;
}

.size-guide-btn:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ============================================================
   STOCK STATUS
============================================================ */
.stock-status {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  display: inline-block;
}

.stock-status.in-stock {
  background: #eafff3;
  color: #0a8c4a;
  border: 1px solid #b8f5d3;
}

.stock-status.out-of-stock {
  background: #ffeaea;
  color: #d80032;
  border: 1px solid #ffc2c2;
}

/* ============================================================
   QUANTITY & ACTION SECTION (CONSOLIDATED)
============================================================ */
.product-action-section {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.quantity-control-group {
  flex: 0 0 auto;
}

.quantity-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: #333;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  padding: 12px;
  width: 45px;
  height: 45px;
  cursor: pointer;
  border: none;
  background: #f5f5f5;
  font-size: 20px;
  font-weight: 600;
  transition: background 0.2s;
  color: #333;
}

.qty-btn:hover {
  background: #e8e8e8;
}

.qty-btn:active {
  background: #ddd;
}

.qty-input {
  width: 65px;
  height: 45px;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  color: #333;
  outline: none;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input[type=number] {
  -moz-appearance: textfield;
}

/* ============================================================
   ACTION ROW
============================================================ */
.action-row {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS (CONSOLIDATED)
============================================================ */
.btn.btn-primary {
  background: var(--sheaker-blue);
  padding: 14px 28px;
  border-radius: 12px;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 45px;
  box-shadow: 0 10px 22px rgba(8, 54, 193, 0.22);
}

.btn.btn-primary:hover:not(:disabled) {
  background: var(--sheaker-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(65, 105, 225, 0.3);
}

.btn.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn.btn-primary:disabled {
  background: #cccccc;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.6;
}

.btn.btn-secondary {
  background: #fff;
  border: 2px solid var(--border);
  color: #222;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn.btn-secondary:hover {
  border-color: var(--sheaker-blue);
}

.btn.btn-light {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--sheaker-black);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn.btn-light:hover {
  border-color: var(--sheaker-blue);
}

/* ============================================================
   COPY LINK BUTTON ANIMATION
============================================================ */
.copy-link-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.copy-link-btn .button-text {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.copy-link-btn.copied {
  background: #eafff3 !important;
  border-color: #0a8c4a !important;
  color: #0a8c4a !important;
}

.copy-link-btn.copied i {
  color: #0a8c4a !important;
  animation: iconSpin 0.4s ease;
}

.copy-link-btn.copied .button-text {
  animation: copyPulse 0.4s ease;
}

@keyframes copyPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes iconSpin {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(15deg); }
  100% { transform: rotate(0deg); }
}

/* ============================================================
   ASSURANCE BOX
============================================================ */
.assurance-box {
  margin-top: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  gap: 10px;
}

.assurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #333;
}

.assurance-item i {
  color: var(--sheaker-purple);
}

/* ============================================================
   TABS GRID & SPECS
============================================================ */
.tabs-header {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
  color: #222;
}

.tabs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .tabs-grid {
    grid-template-columns: 1fr;
  }
}

.tab-block {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 14px;
}

.tab-title {
  font-weight: 900;
  color: #222;
  margin-bottom: 8px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th {
  text-align: left;
  width: 38%;
  padding: 10px 8px;
  color: #444;
  font-weight: 800;
  border-bottom: 1px solid #f0f0f0;
}

.spec-table td {
  padding: 10px 8px;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

.muted-note {
  margin-top: 10px;
  color: #777;
  font-size: 13px;
}

.bullets {
  margin: 0;
  padding-left: 18px;
  color: #555;
  line-height: 1.7;
}

.faq {
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fafafa;
  margin-bottom: 10px;
}

.faq summary {
  font-weight: 800;
  cursor: pointer;
}

.faq div {
  margin-top: 8px;
  color: #555;
  line-height: 1.7;
}

/* ============================================================
   REGEX INFO BOX
============================================================ */
.regex-info-box {
  background: #f8f9fa;
  border-left: 4px solid #6c757d;
  padding: 16px;
  border-radius: 8px;
}

.regex-info-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.regex-info-badge {
  background: #6c757d;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.regex-info-text {
  color: #6c757d;
  font-size: 13px;
}

/* ============================================================
   FULLSCREEN LIGHTBOX
============================================================ */
.image-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1005 !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.image-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1000000;
}

.close-lightbox {
  position: fixed;
  top: 25px;
  right: 35px;
  font-size: 45px;
  color: #fff;
  cursor: pointer;
  z-index: 1000001 !important;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  line-height: 1;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.close-lightbox:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 52px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 16px 20px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 1000001 !important;
  transition: all 0.2s ease;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev:active,
.lightbox-next:active {
  transform: translateY(-50%) scale(0.95);
}

.lightbox-prev {
  left: 25px;
}

.lightbox-next {
  right: 25px;
}

@media (max-width: 768px) {
  .close-lightbox {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 35px;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 40px;
    padding: 12px 16px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .image-lightbox img {
    max-width: 95vw;
    max-height: 85vh;
  }
}

@media (max-width: 480px) {
  .lightbox-prev,
  .lightbox-next {
    font-size: 32px;
    padding: 10px 14px;
  }
}

@media print {
  .image-lightbox,
  .lightbox-prev,
  .lightbox-next,
  .close-lightbox {
    display: none !important;
  }
}

/* ============================================================
   TOP THUMBNAILS - GRID LAYOUT
============================================================ */
.pdp2-top-thumbs {
  margin-bottom: 16px;
}

.pdp2-top-thumbs .thumbnail-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 6px;
}

.pdp2-top-thumbs .thumbnail-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.pdp2-topthumbs-track {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 8px;
  padding: 4px 0;
  width: 100%;
  overflow: visible;
}

.pdp2-topthumbs-track .thumbnail-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.pdp2-topthumbs-track .thumbnail-item:hover {
  transform: translateY(-2px);
}

.pdp2-topthumbs-track .thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .pdp2-topthumbs-track {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .pdp2-topthumbs-track {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .pdp2-topthumbs-track {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 360px) {
  .pdp2-topthumbs-track {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 10px;
  }

  .pdp2-topthumbs-track .thumbnail-item {
    flex: 0 0 70px;
    width: 70px;
  }
}

/* ============================================================
   RELATED PRODUCTS SLIDER
============================================================ */
.pdp2-related {
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.pdp2-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pdp2-related-title {
  margin: 0;
  font-size: 16px;
  font-weight: 950;
  color: var(--sheaker-black);
}

.pdp2-related-nav {
  display: flex;
  gap: 8px;
}

.pdp2-rbtn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 20px;
  font-weight: 950;
  cursor: pointer;
}

.pdp2-related-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
}

.pdp2-related-card {
  flex: 0 0 auto;
  width: 240px;
}

@media (max-width: 600px) {
  .pdp2-related-card {
    width: 200px;
  }
}

/* ============================================================
   PDP V2 TEMPLATE STYLES
============================================================ */
.pdp2 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 18px 44px;
  background: transparent;
}

.pdp2 * {
  box-sizing: border-box;
}

.pdp2 .crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--pdp-muted);
  margin: 4px 0 14px;
}

.pdp2 .crumbs a {
  color: var(--sheaker-blue);
  text-decoration: none;
}

.pdp2 .crumbs a:hover {
  text-decoration: underline;
}

.pdp2 .crumbs .sep {
  color: #cbd5e1;
}

.pdp2 .crumbs .current {
  color: var(--sheaker-black);
}

.pdp2-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 980px) {
  .pdp2-grid {
    grid-template-columns: 1fr;
  }
}

.pdp2-card {
  background: var(--pdp-card);
  border-radius: var(--r-xl);
  box-shadow: var(--pdp-shadow-sm);
}

.pdp2-card.pad {
  padding: 16px;
}

.pdp2-buy {
  padding: 16px;
}

@media (min-width: 981px) {
  .pdp2-buy {
    position: sticky;
    top: 14px;
  }
}

.pdp2-gallery {
  padding: 16px;
}

.pdp2-gallery-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.pdp2-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pdp2-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 950;
  border: 1px solid var(--pdp-border);
  background: #fff;
}

.pdp2-badge.new {
  background: #eef2ff;
  color: var(--sheaker-blue);
}

.pdp2-badge.featured {
  background: #f5f3ff;
  color: var(--sheaker-purple);
}

.pdp2-badge.sale {
  background: var(--sheaker-orange);
  border-color: var(--sheaker-orange);
  color: var(--sheaker-black);
}

.pdp2-mainimg {
  border: 1px solid #eef2f7;
  background: #f8fafc;
  border-radius: 16px;
  overflow: hidden;
}

.pdp2-mainimg img {
  width: 100%;
  display: block;
  object-fit: contain;
  max-height: 560px;
}

.pdp2-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 700px) {
  .pdp2-trust {
    grid-template-columns: 1fr;
  }
}

.pdp2-trust .t {
  border: 1px solid var(--pdp-border);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
  display: flex;
  gap: 10px;
  align-items: center;
}

.pdp2-trust .t b {
  font-size: 13px;
}

.pdp2-trust .t span {
  color: var(--pdp-muted);
  font-weight: 700;
  font-size: 12px;
}

.pdp2-brand {
  font-weight: 950;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--sheaker-purple);
  font-size: 12px;
}

.pdp2-title {
  margin: 8px 0 6px;
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 950;
  color: var(--sheaker-black);
}

@media (max-width: 600px) {
  .pdp2-title {
    font-size: 1rem;
  }
}

.pdp2-pricewrap {
  margin-top: 12px;
  border: 1px solid var(--pdp-border);
  border-radius: 16px;
  background: #fafafa;
  padding: 14px;
}

#currentPrice.current-price {
  font-size: 30px;
  font-weight: 950;
  color: var(--sheaker-black);
}

.pdp2-subrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
  color: var(--pdp-muted);
  font-weight: 800;
  font-size: 13px;
}

.pdp2-pill {
  padding: 6px 10px;
  font-weight: 950;
  font-size: 12px;
  color: var(--sheaker-blue);
}

.variant-section {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.color-selection,
.size-selection {
  border: 1px solid var(--pdp-border);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
}

#stockStatus.stock-status {
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid var(--pdp-border);
  background: #fff;
  padding: 12px;
  font-weight: 950;
}

#stockStatus.stock-status.out-of-stock {
  color: #dc2626;
}

#stockStatus.stock-status.in-stock {
  color: #16a34a;
}

/* ============================================================
   PDP V2 — QUANTITY & ACTION SECTION OVERRIDES
============================================================ */
.pdp2 .product-action-section {
  margin-top: 14px;
  border-top: 1px solid var(--pdp-border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

.pdp2 .quantity-control-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex: unset;
}

.pdp2 .quantity-label {
  font-weight: 950;
  color: var(--sheaker-black);
  font-size: inherit;
  margin-bottom: 0;
}

.pdp2 .quantity-control {
  display: grid;
  grid-template-columns: 44px 90px 44px;
  border: 1px solid var(--pdp-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.pdp2 .qty-btn {
  border: 0;
  background: #fff;
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
  padding: 0;
  width: auto;
  height: auto;
  color: inherit;
  transition: none;
}

.pdp2 .qty-input {
  border: 0;
  text-align: center;
  font-weight: 950;
  outline: none;
  width: auto;
  height: auto;
  font-size: inherit;
  background: #fff;
  color: inherit;
}

/* ============================================================
   ADD TO CART BUTTON (PDP V2 OVERRIDES)
============================================================ */
#addToCartBtn.btn.btn-primary {
  width: 100%;
  border-radius: 14px;
  padding: 14px;
  font-weight: 950;
  background: var(--sheaker-blue);
  border-color: var(--sheaker-blue);
  box-shadow: 0 10px 22px rgba(8, 54, 193, 0.22);
}

#addToCartBtn.btn.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

/* ============================================================
   PDP V2 ACTIONS ROW
============================================================ */
.pdp2-actions-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.pdp2-actions-row .btn {
  flex: 1;
  border-radius: 14px;
  font-weight: 950;
}

.pdp2-actions-row .btn.btn-outline {
  background: #fff;
  border: 1px solid var(--pdp-border);
}

.pdp2-actions-row .btn.btn-outline:hover {
  border-color: var(--sheaker-purple);
}

/* ============================================================
   PRODUCT TABS (CONSOLIDATED — PDP V2 VERSION)
============================================================ */
.product-tabs {
  margin-top: 16px;
  border-top: 1px solid var(--pdp-border);
  padding-top: 14px;
}

.tab-navigation {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.tab-navigation strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--pdp-border);
  background: #fff;
  padding: 10px 14px;
  font-weight: 950;
  color: var(--sheaker-blue);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.tab-content {
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--pdp-border);
  border-radius: 18px;
  box-shadow: var(--pdp-shadow-sm);
  padding: 16px;
  line-height: 1.75;
  color: #555;
  font-size: 15px;
}

.tab-content + .tab-navigation {
  margin-top: 25px;
  padding-top: 10px;
  border-top: 1px dashed var(--pdp-border);
}

.tab-navigation-spaced {
  margin-top: 30px;
}

/* ============================================================
   REVIEWS SECTION
============================================================ */
.reviews-section {
  margin-top: 40px;
  border-top: 1px solid var(--pdp-border);
  padding-top: 30px;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.reviews-header h2 {
  font-size: 24px;
  font-weight: 900;
  margin: 0;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 20px;
}

.reviews-summary .average {
  font-size: 36px;
  font-weight: 950;
  color: var(--sheaker-black);
}

.reviews-grid {
  display: grid;
  gap: 20px;
  max-width: 100%;
}

.review-card {
  background: #fff;
  border: 1px solid var(--pdp-border);
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
}

.reviewer-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sheaker-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  overflow: hidden;
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer-info {
  flex: 1;
}

.reviewer-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.reviewer-name {
  font-weight: 900;
  font-size: 16px;
}

.reviewer-country-badge {
  font-size: 12px;
  color: var(--pdp-muted);
  background: #f5f5f5;
  padding: 2px 8px;
  border-radius: 20px;
}

.review-date {
  font-size: 12px;
  color: var(--pdp-muted);
}

.review-stars {
  margin-bottom: 10px;
}

.review-stars i {
  color: #f5a623;
  font-size: 14px;
  margin-right: 2px;
}

.review-content {
  line-height: 1.6;
  color: #333;
}

.review-images {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.review-images img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--pdp-border);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.review-images img:hover {
  transform: scale(1.05);
}

.load-more-reviews {
  text-align: center;
  margin-top: 30px;
}

.load-more-reviews button {
  padding: 12px 30px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eafff3;
  color: #0a8c4a;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 20px;
  margin-left: 10px;
}

.verified-badge i {
  font-size: 12px;
}

/* ============================================================
   MOBILE SLIDER & VISIBILITY TOGGLES
============================================================ */
.pdp2-mobile-slider,
.meta-grid-mobile {
  display: none;
}

.meta-grid-desktop {
  display: grid;
}

.pdp2-mobile-slider {
  width: 100%;
  margin-bottom: 12px;
}

.pdp2-mobile-slider-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
  width: 100%;
}

.pdp2-mobile-slider-track::-webkit-scrollbar {
  display: none;
}

.pdp2-mobile-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
}

.pdp2-mobile-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 520px;
}

@media (min-width: 769px) {
  .pdp2-mainimg  { display: block; }
  .pdp2-top-thumbs { display: block; }
  .pdp2-trust    { display: grid; }
}

/* ============================================================
   MOBILE OVERRIDES (ALL IN ONE BLOCK)
============================================================ */
@media (max-width: 768px) {
  /* Reviews */
  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .reviews-summary {
    width: 100%;
    justify-content: space-between;
  }

  .review-header {
    flex-direction: column;
  }

  .reviewer-avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .pdp2, .pdp2-pricewrap{
    padding: 14px 0;
  }

  /* Image visibility */
  .pdp2-mobile-slider  { display: block !important; }
  .pdp2-mainimg        { display: none !important; }

  /* Hide thumbnails */
  .pdp2-top-thumbs,
  .pdp2-topthumbs-track,
  .thumbnail-gallery,
  .thumbnail-grid {
    display: none !important;
  }

  /* Hide trust strips */
  .pdp2-trust,
  .trust-strip {
    display: none !important;
  }

  /* Meta grid swap */
  .meta-grid-desktop { display: none !important; }
  .meta-grid-mobile {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
    margin-top: 14px;
  }

  /* Buy section */
  .pdp2-buy     { padding: 14px; }
  .pdp2-gallery { padding: 14px 0; }

  .pdp2-title {
    font-size: 1rem;
    line-height: 1.2;
  }

  #currentPrice.current-price,
  .current-price {
    font-size: 1.2rem;
  }

  .rating-row { gap: 8px; }

  /* Action section */
  .product-action-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .quantity-control-group { width: 100%; }

  .quantity-control {
    width: 100%;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
  }

  .qty-btn   { width: 100%; }
  .qty-input { width: 100%; }

  #addToCartBtn.btn.btn-primary {
    width: 100%;
    justify-content: center;
  }

  .pdp2-actions-row {
    display: flex;
    gap: 10px;
  }

  .pdp2-actions-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   UTILITY CLASSES
============================================================ */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }