/* ══════════════════════════════
     BREADCRUMB
  ══════════════════════════════ */
.breadcrumb {
  max-width: 1500px;
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  background: var(--bg-white);
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  font-size: 11px;
  color: var(--border);
}

.breadcrumb .current {
  color: var(--primary);
  font-weight: 500;
}

/* ══════════════════════════════
     PRODUCT DETAIL
  ══════════════════════════════ */
.product-detail {
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 48px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

/* ── LEFT: Gallery ── */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-gallery__main {
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 4/3;
  position: relative;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.product-gallery__main:hover img {
  transform: scale(1.03);
}
.product-gallery__thumbs-container{
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  max-width: fit-content;
  /* margin: 0 auto; */
}
.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  max-width: 660px;
}

.product-gallery__thumbs::-webkit-scrollbar {
  display: none;
}
@media (max-width: 1200px) {
  .product-gallery__thumbs {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .product-gallery__thumbs {
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .product-gallery__thumbs {
    max-width: 350px;
  }
}
@media (max-width: 350px) {
  .product-gallery__thumbs {
    max-width: 300px;
  }
}



.thumb {
  width: 80px;
  min-width: 80px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb:hover,
.thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.2);
}

.thumb-video {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  transition: var(--transition);
  background: var(--bg-light);
}

.thumb-video:hover {
  border-color: var(--primary);
  background: rgba(21, 101, 192, 0.05);
}

/* ── RIGHT: Info ── */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Rx badge */
.rx-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(21, 101, 192, 0.08);
  border: 1px solid rgba(21, 101, 192, 0.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  width: fit-content;
}

/* Title row */
.product-info__title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.product-info__name {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text-main);
  line-height: 1;
}

.product-info__type {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 400;
}

.product-info__generic {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.4;
}

.product-info__desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Specs table */
.product-specs {
  width: 100%;
  border-top: 1px solid var(--border);
  margin-bottom: 22px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}

.spec-row__key {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.spec-row__val {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-main);
}

/* Feature badges */
.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 26px;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(21, 101, 192, 0.06);
  border: 1px solid rgba(21, 101, 192, 0.15);
  border-radius: 9px;
  padding: 11px 14px;
}

.feature-badge__icon {
  width: 32px;
  height: 32px;
  background: rgba(21, 101, 192, 0.1);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-badge__text strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.feature-badge__text span {
  font-size: 11px;
  color: var(--text-muted);
}

/* CTA buttons */
.product-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
  padding: 14px 20px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 14px 20px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(21, 101, 192, 0.06);
}

/* Responsive */
@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .product-detail {
    grid-template-columns: 1fr;
    padding: 28px 20px 48px;
    gap: 32px;
  }
  .breadcrumb {
    padding: 14px 20px;
  }
  .product-cta {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════
     TAB NAV
  ══════════════════════════════ */
.tab-nav {
  max-width: 1500px;
  margin: 0 auto;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 80px;
  z-index: 100;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  user-select: none;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-nav__inner {
  justify-content: flex-start;
  display: flex;

  padding: 0 24px;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 14px 18px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

/* ══════════════════════════════
     CONTENT WRAPPER
  ══════════════════════════════ */
.tab-content {
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Generic card */
.info-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 30px;
}

.info-card h2 {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 14px;
}

.info-card h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.info-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

.info-card ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-card ul li {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.info-card ul li b {
  color: var(--text-main);
}

/* ── Composition table ── */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
  border: 1px solid var(--border);
}

.comp-table thead tr {
  background: rgba(21, 101, 192, 0.08);
}

.comp-table thead th {
  text-align: left;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.comp-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.comp-table tbody tr:last-child {
  border-bottom: none;
}

.comp-table tbody td {
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.comp-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-main);
}
.comp-table tbody td:nth-child(2) {
  font-weight: 700;
  color: var(--primary);
}

/* ── How it works two-col ── */
.mechanism-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.mechanism-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.4;
}

.mechanism-col ul {
  list-style: disc;
  padding-left: 18px;
}

.mechanism-combined {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(21, 101, 192, 0.05);
  border: 1px solid rgba(21, 101, 192, 0.15);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  line-height: 1.6;
}

/* ── Side effects three-col ── */
.se-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.se-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.se-col.serious h4 {
  color: #c0392b;
}

.se-col ul {
  padding-left: 16px;
}

.se-note {
  margin-top: 16px;
  padding: 12px 16px;
  /* background: #fffbeb; */
  /* border: 1px solid #fde68a; */
  border-radius: 8px;
  font-size: 12.5px;
  /* color: #78350f; */
  line-height: 1.6;
  text-align: center;
}

/* ── Precautions two-col ── */
.precaution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}

.precaution-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

/* ── Important notice blocks ── */
.notice {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.notice.blue {
  background: rgba(21, 101, 192, 0.06);
  border: 1px solid rgba(21, 101, 192, 0.18);
  color: var(--primary-dark);
}

.notice.yellow {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
}

/* ── Why choose bullets ── */
.why-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.why-list li {
  list-style: none;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.why-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--text-muted);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* ── FAQ accordion ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
}

.faq-item.open {
  border-color: rgba(21, 101, 192, 0.3);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-q:hover {
  background: var(--bg-light);
}

.faq-chevron {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-chevron {
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(180deg);
}

.faq-item.open .faq-chevron svg {
  stroke: white;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.3s ease;
  padding: 0 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 18px 16px;
}

/* ── Disclaimer ── */
.disclaimer-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
}

.disclaimer-card h2 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.disclaimer-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Responsive */
@media (max-width: 640px) {
  .tab-content {
    padding: 20px 16px 48px;
  }
  .info-card {
    padding: 20px 18px;
    font-size: 12px;
  }
  .disclaimer-card{
    font-size: 12px;
  }
  .mechanism-grid,
  .precaution-grid,
  .se-grid {
    grid-template-columns: 1fr;
  }
}
