/* =============================
   PRODUCT TABS SECTION
============================= */
.product-tabs-section {
  width: 100%;
  padding: 35px 0;
}

.product-tabs-container {
  width: min(1200px, 95%);
  margin: auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-tabs-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding-bottom: 15px;
}

.product-tabs-header .tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #f7f7f7;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: 0.35s ease;
  color: #111;
  position: relative;
  overflow: hidden;
}

.product-tabs-header .tab-btn i {
  font-size: 16px;
  color: #c49a3a;
  transition: 0.35s ease;
}

.product-tabs-header .tab-btn:hover {
  transform: translateY(-2px);
  background: #111;
  color: #fff;
}

.product-tabs-header .tab-btn:hover i {
  color: #fff;
  transform: scale(1.1) rotate(-6deg);
}

.product-tabs-header .tab-btn.active {
  background: linear-gradient(135deg, #c49a3a, #f1c35a);
  color: #111;
}

.product-tabs-header .tab-btn.active i {
  color: #111;
}

.product-tabs-content {
  padding-top: 20px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.35s ease;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #111;
  font-weight: 800;
}

.tab-content p {
  color: #444;
  line-height: 1.7;
  font-size: 15px;
}

.tab-content ul {
  margin-top: 12px;
  padding-left: 18px;
}

.tab-content ul li {
  margin-bottom: 8px;
  color: #333;
}

/* Info Cards */
.info-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}

.info-card {
  background: #f8f8f8;
  border-radius: 14px;
  padding: 15px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: 0.35s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.info-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #111;
}

/* Specifications */
.specs-table {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  background: #f7f7f7;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.05);
}

.spec-row span:first-child {
  font-weight: 800;
  color: #111;
}

.spec-row span:last-child {
  color: #444;
  font-weight: 700;
}

/* Parts */
.parts-grid {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 15px;
}

.part-box {
  background: #F7F7F7;
  color: #000000;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  transition: 0.35s ease;
}

.part-box i {
  font-size: 40px;
  margin-bottom: 10px;
  color: #c49a3a;
}

.part-box:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #F7F7F7, #F7F7F7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* Manual download */
.download-manual-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
  background: #c49a3a;
  color: #111;
  transition: 0.35s ease;
}

.download-manual-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

/* Video */
.video-wrapper {
  margin-top: 18px;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}

.video-wrapper iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* Shipping */
.shipping-box {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ship-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #f8f8f8;
  transition: 0.35s ease;
}

.ship-item i {
  font-size: 26px;
  color: #c49a3a;
  min-width: 40px;
  margin-top: 2px;
}

.ship-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  background: #fff;
}

.ship-item h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}

.ship-item p {
  margin: 4px 0 0;
  color: #444;
  font-size: 14px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .product-tabs-header {
    gap: 8px;
  }

  .product-tabs-header .tab-btn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    font-size: 13px;
  }

  .video-wrapper iframe {
    height: 220px;
  }
}



/* =========================================================
   Product Description: Highlights + Video Cards (FINAL)
   - Mobile-first, responsive
   - Supports local MP4 <video> and YouTube <iframe>
   - LEFT aligned wide video (no center)
   - Desktop: 60% width + 500px height
   - Removes black top/bottom bars by using object-fit: cover
   - Hides video UI best-effort (RECOMMENDED: remove controls attribute)
========================================================= */

:root{
  --pd-gap-1: 10px;
  --pd-gap-2: 14px;
  --pd-gap-3: 16px;
  --pd-gap-4: 18px;

  --pd-radius: 14px;
  --pd-radius-wide: 16px;

  --pd-bg-soft: rgba(0,0,0,.03);
  --pd-bg-video: #f3f4f6;          /* light bg so no dark bands */
  --pd-focus: rgba(255, 215, 0, .85);

  --pd-text-sm: 14px;
  --pd-text-xs: 13px;

  --pd-shadow: 0 8px 22px rgba(0,0,0,.12);
  --pd-shadow-hover: 0 14px 30px rgba(0,0,0,.18);
}

/* =========================
   Highlights
========================= */
.pd-highlights{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pd-gap-1);
  margin: 14px 0 18px;
  padding: 12px;
  border-radius: var(--pd-radius);
  background: var(--pd-bg-soft);
}

.pd-highlight{
  font-size: var(--pd-text-sm);
  line-height: 1.45;
}

/* =========================
   Video Card + Caption
========================= */
.pd-video-block{ margin: 14px 0 18px; }

.pd-video-card{ margin: 0; }

.pd-video-caption{
  font-size: var(--pd-text-xs);
  line-height: 1.35;
  margin-top: 8px;
  opacity: .9;
}

/* =========================
   Video Grid (if used)
========================= */
.pd-video-gallery{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pd-gap-2);
  margin: 14px 0 18px;
}

@media (min-width: 640px){
  .pd-video-gallery{
    grid-template-columns: repeat(2, 1fr);
    gap: var(--pd-gap-3);
  }
}
@media (min-width: 1024px){
  .pd-video-gallery{
    grid-template-columns: repeat(3, 1fr);
    gap: var(--pd-gap-4);
  }
}

/* =========================
   Video Container
========================= */
.pd-video-embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--pd-bg-video);
  border-radius: var(--pd-radius);
  overflow: hidden;
  box-shadow: var(--pd-shadow);
}

/* Fallback if aspect-ratio unsupported */
@supports not (aspect-ratio: 16 / 9){
  .pd-video-embed::before{
    content:"";
    display:block;
    padding-top:56.25%;
  }
}

/* Fill media */
.pd-video-embed video,
.pd-video-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 90%;
  border: 0;
  display: block;
}

/* ✅ KEY FIX: remove black bars */
.pd-video-embed video{
  object-fit: cover;               /* fills card (no top/bottom bars) */
  background: transparent;         /* avoid black */
}

/* Optional poster/thumb */
.pd-video-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   Wide Video (LEFT aligned)
   Desktop: 60% width + 500px height
========================= */
.pd-video-card--wide .pd-video-embed{
  aspect-ratio: auto;
  width: 100%;
  height: 260px;                   /* mobile */
  border-radius: var(--pd-radius-wide);
}

@media (min-width: 1024px){
  .pd-video-card--wide .pd-video-embed{
    width: 80%;
    height: 600px;
    margin: 10px;
                         /* LEFT aligned */
  }
}

/* =========================
   Hover lift (hover devices only)
========================= */
@media (hover: hover) and (pointer: fine){
  .pd-video-embed{
    transition: transform .22s ease, box-shadow .22s ease;
  }
  .pd-video-card:hover .pd-video-embed{
    transform: translateY(-3px);
    box-shadow: var(--pd-shadow-hover);
  }
}
@media (prefers-reduced-motion: reduce){
  .pd-video-embed{ transition: none !important; }
}

/* =========================
   Badge label
========================= */
.pd-video-badge{
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  background: rgba(0,0,0,.62);
  color: #fff;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* =========================
   Hide video controls (best effort)
   ✅ REAL FIX: remove `controls` from <video>
========================= */

/* remove click highlight */
.pd-video-embed video{ -webkit-tap-highlight-color: transparent; }

/* WebKit/Chromium */
.pd-video-embed video::-webkit-media-controls{ display:none !important; }
.pd-video-embed video::-webkit-media-controls-enclosure{ display:none !important; }
.pd-video-embed video::-webkit-media-controls-panel{ display:none !important; }
.pd-video-embed video::-webkit-media-controls-overlay-play-button{ display:none !important; }
.pd-video-embed video::-webkit-media-controls-play-button{ display:none !important; }
.pd-video-embed video::-webkit-media-controls-timeline{ display:none !important; }
.pd-video-embed video::-webkit-media-controls-current-time-display{ display:none !important; }
.pd-video-embed video::-webkit-media-controls-time-remaining-display{ display:none !important; }
.pd-video-embed video::-webkit-media-controls-mute-button{ display:none !important; }
.pd-video-embed video::-webkit-media-controls-volume-slider{ display:none !important; }
.pd-video-embed video::-webkit-media-controls-fullscreen-button{ display:none !important; }
.pd-video-embed video::-webkit-media-controls-picture-in-picture-button{ display:none !important; }

/* Firefox: can't fully hide native controls with CSS if controls are enabled */


/* =========================
   Video Card Spacing (FINAL)
   - Prevents overlap
   - Consistent vertical rhythm
   - Mobile-friendly
========================= */

/* Base spacing for all video cards */
.pd-video-card,
.pd-video-card--wide{
  padding: 28px 0;     /* top & bottom space */
  box-sizing: border-box;
}

/* Slightly more breathing room for wide videos */
.pd-video-card--wide{
  padding: 32px 0;
}

/* Mobile fine-tuning */
@media (max-width: 640px){
  .pd-video-card,
  .pd-video-card--wide{
    padding: 20px 0;
  }
}
