/* ============================================================
   PRODUCT DETAIL PAGE — FULL CSS (Hover Zoom + Lightbox Swipe)
   Compatible with product-detail.js V11
   Version: 2.0 - Fixed Layout & Enhanced Lightbox
   ============================================================ */
/* ================================
   SHEAKER PDP — MEGA STORE POLISH
   Paste at TOP of product-detail.css
================================== */

:root{
  --sheaker-blue: #0836C1;
  --sheaker-orange: #FB7E11;
  --sheaker-purple: #4D0A51;
  --sheaker-black: #1F1F1F;

  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;

  --radius-xl: 18px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.10);
}

body{
  background: var(--bg);
  color: var(--text);
  font-family: "Gilroy", "Gilroy-Regular", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* 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 wrapper feel */
.product-detail-container{
  padding: 18px 20px 34px;
}

/* “Card” columns */
.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;
}

/* Keep your image flex layout, but align nicely inside the card */
.product-images-section{
  gap: 16px;
}

/* Sticky buy box (desktop) */
@media (min-width: 992px){
  .product-info-section{
    position: sticky;
    top: 18px;
    align-self: start;
  }
}

/* Titles/brand */
.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;
}

/* Price row */
.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;
}

/* Payment icons grid: 3 per row, responsive */
.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: 0px;
}
.pdp2-pill .pay-icons img{
  height: 25px;
  width: 100%;
  max-width: 44px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}


/* Small screens: 2 per row */
@media (max-width: 420px){
  .pdp2-pill .pay-icons{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Buttons: align to brand */
.btn.btn-primary{
  background: var(--sheaker-blue);
  box-shadow: 0 10px 22px rgba(8,54,193,0.22);
}
.btn.btn-primary:hover:not(:disabled){
  background: #062ea6;
}

.btn.btn-secondary:hover{
  border-color: var(--sheaker-blue);
}

/* Light button (Copy link) */
.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);
}

/* Rating row: make it look premium */
.rating-row{
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.rating-text{ color: var(--sheaker-black); }
.muted{ color: var(--muted); }

/* Trust strip inside the image card */
.trust-strip{
  margin-top: 14px;
}
.trust-item{
  border: 1px solid var(--border);
  background: #fff;
}
.trust-item i{ color: var(--sheaker-blue); }

/* Product badges: add SALE styling (you already render it in HTML) */
.product-badge.sale{
  background: var(--sheaker-orange);
  color: var(--sheaker-black);
}

/* Tabs section spacing inside the buy card */
.product-tabs{
  border-top: 1px solid var(--border);
}

/* Variant UI: sharpen active states to Sheaker Purple */
.thumbnail-item.active{
  border-color: var(--sheaker-purple);
  box-shadow: 0 6px 18px rgba(77,10,81,0.18);
}
.color-option.active{
  border-color: var(--sheaker-purple);
  box-shadow: 0 0 0 3px rgba(77,10,81,0.12);
}
.size-option.active{
  background: var(--sheaker-blue);
  border-color: var(--sheaker-blue);
}

/* Mobile: reduce padding so it doesn’t feel cramped */
@media (max-width: 768px){
  .product-images-section,
  .product-info-section{
    padding: 14px;
  }
  .product-title{ font-size: 22px; }
  .current-price{ font-size: 24px; }
}

/* ----------------------------------------
   GLOBAL BODY LOCK
---------------------------------------- */
body.zoom-locked {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100vh !important;
    top: 0;
    left: 0;
}

/* ----------------------------------------
   LAYOUT WRAPPERS
---------------------------------------- */

.product-detail-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 550px 1fr;
    gap: 50px;
    width: 100%;
}

.no-variant-message {
    margin-top: 10px;
    padding: 12px 15px;
    background: #f5f7fa;
    border-left: 4px solid #0836C1; /* Sheaker Blue */
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}
.no-variant-message i {
    color: #0836C1;
    font-size: 16px;
}

@media (max-width: 992px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ----------------------------------------
   PRODUCT IMAGES SECTION (Flex Layout)
---------------------------------------- */

.product-images-section {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* ----------------------------------------
   THUMBNAIL GALLERY (LEFT SIDE)
---------------------------------------- */

.thumbnail-gallery {
    flex-shrink: 0;
    width: 85px;
    order: 1; /* Position on LEFT */
}

.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, #8a2be2);
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.2);
}

/* ----------------------------------------
   MAIN IMAGE CONTAINER (RIGHT SIDE)
---------------------------------------- */

.main-image-container {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 14px;
    order: 2; /* Position on RIGHT */
    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;
}

/* Hover zoom (desktop only) */
@media (min-width: 768px) {
    .main-product-image.hover-zoom {
        transform: scale(1.6);
    }
}

/* ----------------------------------------
   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, #4169E1);
    color: #fff;
}

.product-badge.featured {
    background: var(--sheaker-orange, #FF8C00);
    color: #1f1f1f;
}

/* ----------------------------------------
   MOBILE RESPONSIVE - 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;
    }
}

/* ----------------------------------------
   COLOR OPTIONS
---------------------------------------- */

.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, #8a2be2);
    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, #8a2be2);
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.2);
}

/* ----------------------------------------
   SIZE OPTIONS
---------------------------------------- */

.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, #ddd);
    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, #4169E1);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.size-option.active {
    background: var(--sheaker-blue, #4169E1);
    color: #fff;
    border-color: var(--sheaker-blue, #4169E1);
}

.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, #4169E1);
    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 SECTION
---------------------------------------- */

.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, #ddd);
    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;
}

/* Remove spinner arrows */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input[type=number] {
    -moz-appearance: textfield;
}

/* ----------------------------------------
   ADD TO CART BUTTON
---------------------------------------- */

.btn.btn-primary {
    background: var(--sheaker-blue, #4169E1);
    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 2px 8px rgba(65, 105, 225, 0.2);
}

.btn.btn-primary:hover:not(:disabled) {
    background: var(--sheaker-blue-dark, #2851c7);
    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;
}

/* ----------------------------------------
   PRODUCT TABS / DESCRIPTION
---------------------------------------- */

.product-tabs {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.tab-navigation {
    margin-bottom: 15px;
}

.tab-navigation strong {
    font-size: 16px;
    color: #333;
}

.tab-content {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* ============================================================
   FULLSCREEN LIGHTBOX - ENHANCED VERSION
============================================================ */

.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;
}

.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 button */
.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);
}

/* Navigation arrows */
.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; 
}

/* Mobile adjustments */
@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;
    }
}

/* ----------------------------------------
   UTILITY CLASSES
---------------------------------------- */

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

/* ----------------------------------------
   PRINT STYLES
---------------------------------------- */

@media print {
    .image-lightbox,
    .lightbox-prev,
    .lightbox-next,
    .close-lightbox {
        display: none !important;
    }
}

/* ============================================================
   MEGA-STORE PDP ADDITIONS
============================================================ */

.trust-strip{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.trust-item{
  background: #fff;
  border: 1px solid #eee;
  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, #4169E1); }

.rating-row{
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.stars i{
  color: #f5a623;
  margin-right: 2px;
}
.rating-text{ font-weight: 600; color: #333; }
.muted{ color: #777; font-weight: 500; }
.link-btn{
  border: none;
  background: none;
  color: var(--sheaker-blue, #4169E1);
  cursor: pointer;
  font-weight: 600;
  padding: 0;
}

.meta-grid{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.meta-item{
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 10px 12px;
}
.meta-label{
  display: block;
  font-size: 12px;
  color: #777;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.meta-value{
  display: block;
  margin-top: 4px;
  font-weight: 700;
  color: #222;
  word-break: break-word;
}

.action-row{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn.btn-secondary{
  background: #fff;
  border: 2px solid var(--border, #ddd);
  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, #4169E1);
}

.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;
}

.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, #8a2be2); }

.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;
}
.tab-block{
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 14px 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;
}

@media (max-width: 900px){
  .trust-strip{ grid-template-columns: 1fr; }
  .meta-grid{ grid-template-columns: 1fr; }
  .tabs-grid{ grid-template-columns: 1fr; }
}


/* =========================
   TOP THUMBNAILS (ABOVE MAIN)
========================= */
.pdp2-top-thumbs{
  margin-bottom: 12px;
}
.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;
}

/* =========================
   RELATED PRODUCTS SLIDER
========================= */
.pdp2-related{
  margin-top: 14px;
  border-top: 1px solid var(--border, #e5e7eb);
  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, #1F1F1F);
}

.pdp2-related-nav{
  display: flex;
  gap: 8px;
}

.pdp2-rbtn{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border, #e5e7eb);
  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; }
}

/* Force TOP thumbs to be horizontal (override any existing .thumbnail-grid rules) */
.pdp2-topthumbs-track{
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  width: 100%;
}

.pdp2-topthumbs-track .thumbnail-item{
  flex: 0 0 auto;
}

.pdp2-topthumbs-track .thumbnail-item img{
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}
