/* ============================================================
   BULLZ EYE BILLIARDS — Product Details Page Styles
   ============================================================ */

.product-detail-page {
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 100px;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 2.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.breadcrumbs a {
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: var(--gold);
}
.breadcrumbs span {
  margin: 0 10px;
  color: var(--border);
}

/* Grid Layout */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

/* Left Column: Media Gallery */
.detail-gallery {
  display: flex;
  flex-direction: column;
}

.main-slider-container {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #0d0d0d;
  border: 1px solid var(--border);
}

.product-slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.detail-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.detail-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider Navigation */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 50%;
  z-index: 10;
  backdrop-filter: blur(4px);
}
.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  box-shadow: 0 0 12px rgba(212, 168, 67, 0.4);
}
.slider-btn.prev-btn { left: 20px; }
.slider-btn.next-btn { right: 20px; }

/* Thumbnails */
.thumbnail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.thumbnail-item {
  width: 90px;
  height: 68px;
  border: 1px solid var(--border);
  background: #0d0d0d;
  cursor: pointer;
  transition: all 0.25s;
  opacity: 0.5;
  overflow: hidden;
}
.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.thumbnail-item:hover {
  opacity: 0.85;
  border-color: rgba(212, 168, 67, 0.5);
}
.thumbnail-item.active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(212, 168, 67, 0.25);
}
.thumbnail-item.active img {
  transform: scale(1.05);
}

/* Right Column: Info & Specs */
.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-badge {
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212, 168, 67, 0.3);
  padding: 4px 12px;
  margin-bottom: 1.25rem;
}

.detail-title {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.15;
}

.detail-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* === SPECS TABLE === */
.specs-section {
  margin-bottom: 2.5rem;
}

.specs-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

/* Replace flex-based specs with a proper <table> */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.specs-table tr:nth-child(even) {
  background-color: rgba(212, 168, 67, 0.05);
}

.specs-table tr:hover {
  background-color: rgba(212, 168, 67, 0.1);
}

.specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: top;
  line-height: 1.5;
}

.specs-table td:first-child {
  color: var(--muted);
  font-weight: 600;
  width: 42%;
  white-space: nowrap;
}

.specs-table td:last-child {
  color: var(--text);
  font-weight: 500;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

/* Legacy spec-row (kept for backwards compat) */
.spec-row {
  display: none;
}

.detail-action {
  margin-top: 1rem;
}

.btn-detail-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 32px;
  background: var(--gold);
  color: #000;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-detail-wa:hover {
  background: transparent;
  color: var(--gold);
  box-shadow: 0 0 24px rgba(212, 168, 67, 0.35);
}
.btn-detail-wa svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.detail-action-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* Responsive details layout */
@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .main-slider-container {
    height: 420px;
  }
}

@media (max-width: 600px) {
  .main-slider-container {
    height: 300px;
  }
  .thumbnail-item {
    width: 76px;
    height: 57px;
  }
  .spec-row {
    display: none;
  }
  .specs-table td {
    padding: 8px 10px;
    font-size: 0.82rem;
  }
  .specs-table td:first-child {
    width: 45%;
    white-space: normal;
  }
}


/* Model Selector Options */
.model-selector-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding: 1.2rem;
  background: var(--surface2);
  border: 1px solid var(--border);
}
.selector-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.model-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.model-opt-btn {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.model-opt-btn:hover {
  border-color: rgba(212, 168, 67, 0.45);
  color: var(--gold);
}
.model-opt-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  font-weight: 600;
}

/* Model divider style when stacked one below the other */
.product-detail-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.4), transparent);
  margin: 5rem 0;
}
.product-detail-grid {
  margin-bottom: 3rem;
}
.product-detail-grid:last-child {
  margin-bottom: 0;
}

/* Dynamic features list styling */
.features-section {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}
.features-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 1rem;
}
.features-list li {
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--surface2);
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.features-list li .feature-bullet {
  color: var(--gold);
  font-weight: bold;
}
@media (max-width: 576px) {
  .features-list {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   SIDE-BY-SIDE MODEL CARDS STRIP
   ============================================================ */
.model-cards-strip {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.model-strip-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-align: center;
}

.model-cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.model-thumb-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  background: var(--surface2);
}

.model-thumb-card:hover {
  border-color: rgba(212, 168, 67, 0.5);
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.15);
  transform: translateY(-3px);
}

.model-thumb-card.active {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
}

.model-thumb-img {
  width: 100%;
  height: 110px;
  overflow: hidden;
  background: #0a0a0a;
}

.model-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.model-thumb-card:hover .model-thumb-img img {
  transform: scale(1.08);
}

.model-thumb-name {
  padding: 8px 10px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.model-thumb-card.active .model-thumb-name {
  color: var(--gold);
}

@media (max-width: 600px) {
  .model-thumb-card {
    width: 130px;
  }
  .model-thumb-img {
    height: 85px;
  }
}
