.product-detail-page { background: #ffffff; padding: 30px 0 40px; }
.product-detail-container { width: calc(100% - 32px); margin: 0 auto; }
.product-detail-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 13px; font-weight: 600; color: #555; flex-wrap: wrap; }
.product-detail-breadcrumb a { color: #555; }
.product-detail-breadcrumb a:hover { color: var(--red); }
.product-detail-breadcrumb i { font-size: 12px; color: #999; }
.product-detail-breadcrumb .active { color: var(--red); font-weight: 700; }
.product-detail-main { display: grid; grid-template-columns: 1fr 1.2fr 0.5fr; gap: 0; margin-bottom: 0; background:#fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); border-radius: 8px 8px 0 0; overflow: hidden; }
.product-gallery { border-right: 1px solid rgba(0,0,0,0.15); padding-right: 30px; background: #fff; }
.product-info { border-right: 1px solid rgba(0,0,0,0.15); padding: 25px 30px; background: #fff; }
.product-trust { padding: 25px 0 25px 30px; background:#fff; text-align:center; }
.product-gallery-main { position: relative; aspect-ratio: 4/3; background: #f0f0f0; display: flex; align-items: center; justify-content: center; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.product-gallery-thumbs { display: flex; gap: 0; padding: 0; overflow-x: auto; border-top: 1px solid rgba(0,0,0,0.12); }
.product-gallery-thumb { flex: 0 0 25%; height: 70px; overflow: hidden; cursor: pointer; border: 2px solid transparent; border-right: 1px solid rgba(0,0,0,0.12); transition: border-color .2s; }
.product-gallery-thumb:last-child { border-right: none; }
.product-gallery-thumb.active { border-color: var(--red); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; background: #f7f7f7; }
.product-specs-bar-full-wrap { background: #fff; padding: 0 0 40px; }
.product-specs-bar-full { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); margin: 0 auto; width: calc(100% - 32px); border-top: 1px solid rgba(0,0,0,0.08); }
.product-specs-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; padding: 20px 15px; background: #fff; }
.product-spec { display: flex; align-items: center; gap: 12px; padding: 0 10px; border-right: 1px solid rgba(0,0,0,0.08); }
.product-spec:last-child { border-right: none; }
.product-spec i { font-size: 32px; color: var(--red); flex: 0 0 40px; text-align: center; }
.product-spec h4 { margin: 0 0 6px; color: var(--red); font-size: 14px; font-weight: 900; text-transform: uppercase; }
.product-spec p { margin: 0; color: #000; font-size: 14px; font-weight: 900; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-info-category { color: var(--red); font-size: 18px; font-weight: 900; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.3px; }
.product-info-title { font-size: 28px; font-weight: 900; color: #111; margin-bottom: 12px; line-height: 1.2; }
.product-info-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.product-info-rating .stars { color: #ffc107; font-size: 14px; }
.product-info-desc { font-size: 14px; line-height: 1.6; color: #444; margin-bottom: 20px; }
.product-info-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 20px; }
.product-info-feature { text-align: center; padding: 10px; }
.product-info-feature i { font-size: 24px; color: var(--red); margin-bottom: 8px; display: block; }
.product-info-feature span { font-size: 11px; color: #555; font-weight: 600; display: block; line-height: 1.3; }
.product-info-buttons { display: flex; gap: 12px; margin-bottom: 15px; flex-wrap: wrap; }
.product-info-btn { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; font-size: 14px; font-weight: 800; text-transform: uppercase; transition: filter .2s; cursor: pointer; }
.product-info-btn:hover { filter: brightness(.9); }
.product-info-btn.red { background: var(--red); color: #fff; }
.product-info-btn.green { background: #008000; color: #fff; }
.product-info-btn.outline { background: #fff; color: #333; border: 2px solid #ddd; }
.product-info-btn.outline:hover { border-color: var(--red); color: var(--red); }
.product-info-dropdown { position: relative; flex: 1; }
.product-info-dropdown summary { list-style: none; }
.product-info-dropdown summary::-webkit-details-marker { display: none; }
.product-info-dropdown[open] .product-info-btn.outline { border-color: var(--red); color: var(--red); }
.product-info-dropdown-menu { position: absolute; bottom: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 2px solid #ddd; border-radius: 6px; box-shadow: 0 -4px 18px rgba(0,0,0,.12); overflow: hidden; z-index: 9999; }
.product-info-dropdown-menu a { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: 13px; font-weight: 800; color: #333; border-bottom: 1px solid #eee; }
.product-info-dropdown-menu a:last-child { border-bottom: 0; }
.product-info-dropdown-menu a:hover { background: #fafafa; color: var(--red); }
.product-trust img { width: 120px; margin-bottom: 20px; }
.trust-stats { display: flex; flex-direction: column; gap: 15px; }
.trust-stat { display: flex; align-items: center; gap: 12px; text-align: left; }
.trust-stat i { font-size: 20px; color: var(--red); }
.trust-stat span { font-size: 14px; font-weight: 700; color: #333; }
.product-detail-extra { width: calc(100% - 32px); margin: 20px auto 0; background: #fff; border-top: 1px solid rgba(0,0,0,0.08); box-shadow: 0 2px 10px rgba(0,0,0,0.08); border-radius: 8px; overflow: hidden; }
.detail-tabs { display: flex; border-bottom: 1px solid rgba(0,0,0,0.08); }
.detail-tab { padding: 18px 28px 15px; color: var(--red); font-size: 15px; font-weight: 900; position: relative; }
.detail-tab::after { content: ''; position: absolute; left: 28px; right: 28px; bottom: 0; height: 4px; background: var(--red); }
.detail-content-grid { display: grid; grid-template-columns: 1.1fr .95fr .95fr; gap: 0; }
.detail-panel { padding: 28px; border-right: 1px solid rgba(0,0,0,0.08); }
.detail-panel:last-child { border-right: 0; }
.detail-panel h3 { margin: 0 0 18px; color: #111; font-size: 24px; font-weight: 900; }
.detail-panel p { margin: 0 0 16px; color: #222; font-size: 14px; font-weight: 600; line-height: 1.7; }
.detail-check-list { list-style: none; margin: 18px 0 0; padding: 0; }
.detail-check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; color: #222; font-size: 14px; font-weight: 700; }
.detail-check-list i { color: var(--red); margin-top: 2px; }
.technical-list { display: grid; grid-template-columns: 1fr 1.3fr; border-top: 1px solid rgba(0,0,0,0.08); }
.technical-list div { padding: 10px 12px; border-bottom: 1px solid rgba(0,0,0,0.08); color: #222; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.technical-list div:nth-child(odd) { color: #444; display: flex; align-items: center; gap: 8px; }
.technical-list i { color: var(--red); font-size: 13px; }
.detail-video-title { margin: 0 0 16px; color: #111; font-size: 18px; font-weight: 900; }
.detail-video-box { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 4px; }
.detail-video-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fullscreen-video-btn { margin-top: 14px; width: 100%; min-height: 45px; border: 1px solid rgba(0,0,0,0.18); background: #fff; color: #111; font-family: inherit; font-size: 13px; font-weight: 900; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 4px; }
.fullscreen-video-btn:hover { color: var(--red); border-color: var(--red); }
.features-bar-v2 { background: #080808; padding: 25px 0; border-radius: 0 0 8px 8px; width: 100%; margin: 0; }
.features-container-v2 { width: 100%; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 20px; }
.feature-item-v2 { display: flex; align-items: center; gap: 15px; color: #ffcc00; }
.feature-item-v2 i { font-size: 28px; }
.feature-item-v2 h4 { margin: 0 0 2px; color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.feature-item-v2 p { margin: 0; color: #ccc; font-size: 11px; }
.similar-products-section { width: calc(100% - 32px); margin: 30px auto 0; padding-bottom: 40px; }
.similar-products-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.similar-products-header h2 { margin: 0; color: #111; font-size: 22px; font-weight: 900; }
.similar-products-arrows { display: flex; gap: 8px; }
.similar-products-arrows button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); background: #fff; color: #555; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all .2s; }
.similar-products-arrows button:hover { background: var(--red); color: #fff; border-color: var(--red); }
.similar-products-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; scroll-behavior: smooth; }
.similar-product-card { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 6px; overflow: hidden; padding: 0; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.similar-product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(0,0,0,0.12); }
.similar-product-image { aspect-ratio: 4/3; overflow: hidden; background: #fff; }
.similar-product-image img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .3s; }
.similar-product-card:hover .similar-product-image img { transform: scale(1.05); }
.similar-product-name { padding: 18px 12px 14px; color: #111; font-size: 14px; font-weight: 900; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.similar-product-btn { width: calc(100% - 24px); margin: 0 12px 14px; min-height: 44px; border: 1px solid rgba(0,0,0,0.15); background: #fff; color: #111; font-family: inherit; font-size: 13px; font-weight: 900; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 4px; transition: all .2s; }
.similar-product-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
@media (max-width: 1200px) { 
  .product-detail-main { grid-template-columns: 1fr 1fr; } 
  .product-gallery { border-right: 0; padding-right: 0; } 
  .product-info { border-right: 0; padding: 25px 16px; } 
  .product-trust { display: none; } 
}

@media (max-width: 960px) { 
  .product-detail-main { grid-template-columns: 1fr; } 
  .product-info-features { grid-template-columns: repeat(2, 1fr); } 
  .product-specs-bar { grid-template-columns: repeat(3, 1fr); } 
  .product-spec { border-bottom: 1px solid rgba(0,0,0,0.08); padding: 15px 10px; border-right: none; } 
  .product-spec:last-child { border-bottom: none; } 
  .detail-content-grid { grid-template-columns: 1fr; } 
  .detail-panel { border-right: 0; border-bottom: 1px solid rgba(0,0,0,0.08); } 
  .detail-panel:last-child { border-bottom: 0; } 
}

@media (max-width: 768px) {
  /* Elegant horizontal swiping similar products slider on tablet/mobile */
  .similar-products-track { 
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 10px 0;
  } 
  .similar-products-track::-webkit-scrollbar {
    display: none;
  }
  .similar-product-card {
    flex: 0 0 calc(50% - 8px);
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) { 
  .product-specs-bar { grid-template-columns: repeat(2, 1fr); } 
  .detail-panel { padding: 20px 16px; }
  .technical-list div { white-space: normal; word-break: break-word; }
}

@media (max-width: 480px) { 
  .product-specs-bar { grid-template-columns: 1fr; } 
  .similar-product-card {
    flex: 0 0 calc(100% - 20px);
  }
  .product-info-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .product-info-btn {
    width: 100%;
  }
}
