.breadcrumb,
.header-content {
  max-width: 1200px;
  padding: 0 2rem;
}
.breadcrumb a,
.navigation a {
  transition: color 0.2s;
  text-decoration: none;
}
.details-menu,
.details-menu.sticky,
.page-header {
  border-bottom: 1px solid #e8ecef;
}
.product-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-header {
  background: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}
.header-content {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.company-name {
  font-size: 1.5rem;
  font-weight: 500;
  color: #1a6d8d;
  letter-spacing: -0.5px;
}
.navigation {
  display: flex;
  gap: 2rem;
}
.navigation a {
  color: #4a5568;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}
.breadcrumb a:hover,
.navigation a:hover {
  color: #1a6d8d;
}
.navigation a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a6d8d;
  transition: width 0.3s;
}
.navigation a:hover::after {
  width: 100%;
}
.breadcrumb {
  margin: 0 auto 2rem;
  font-size: 0.85rem;
  color: #718096;
}
.breadcrumb a {
  color: #718096;
}
.separator {
  margin: 0 0.5rem;
  color: #cbd5e0;
}
.current {
  color: #2c3e50;
  font-weight: 500;
}
.product-container {
  flex: 1;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.cart-section-anchor {
  height: 1px;
  margin: 2rem 0;
}
.product-details-vertical {
  background: #fff;
  border-radius: 0;
  box-shadow: 0 2px 16px rgba(26, 109, 141, 0.08);
  margin-bottom: 3rem;
  overflow: hidden;
  position: relative;
  border: 1px solid #e8ecef;
}
.pricing-section,
.product-main {
  box-shadow: none;
}
.details-menu {
  background: #fff;
  transition: 0.3s;
  z-index: 999;
  position: relative;
}
.details-menu.sticky {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(26, 109, 141, 0.1);
  z-index: 998;
  animation: 0.3s slideDown;
}
@keyframes slideDown {
  from {
    transform: translateY(-8px);
    opacity: 0.9;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.menu-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
}
.doctor-trust {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0;
}
.doctor-image-container {
  position: relative;
  width: 44px;
  height: 44px;
}
.doctor-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1a6d8d;
  background: #f8fafc;
}
.verified-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #1a6d8d;
  color: #fff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border: 2px solid #fff;
}
.doctor-info,
.price-details {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.proof-read-by {
  font-size: 0.75rem;
  color: #718096;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: lowercase;
}
.doctor-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3e50;
  letter-spacing: -0.3px;
}
.menu-items-container {
  display: flex;
  align-items: center;
}
.menu-item {
  background: 0 0;
  border: none;
  padding: 1.2rem 2rem;
  color: #4a5568;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  border-bottom: 2px solid transparent;
}
.menu-item:hover {
  color: #1a6d8d;
  background: rgba(26, 109, 141, 0.04);
}
.menu-item.active {
  color: #1a6d8d;
  border-bottom-color: #1a6d8d;
  font-weight: 600;
}
.menu-item.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #1a6d8d;
}
.related-products {
  margin-bottom: 4rem;
}
.related-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.related-placeholder {
  background: #fff;
  border: 2px dashed #e8ecef;
  border-radius: 0;
  padding: 4rem 2rem;
  text-align: center;
  color: #a0aec0;
  font-size: 1.1rem;
}
.page-footer {
  background: #1a2935;
  color: #fff;
  margin-top: auto;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}
.footer-section h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.3rem;
}
.footer-section h4 {
  color: #e2e8f0;
  margin-bottom: 1.2rem;
  font-weight: 600;
  font-size: 1.1rem;
}
.footer-section p {
  color: #cbd5e0;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.footer-section a {
  color: #cbd5e0;
  text-decoration: none;
  display: block;
  margin-bottom: 0.7rem;
  transition: color 0.3s;
  font-size: 0.95rem;
}
.footer-section a:hover {
  color: #63b3ed;
}
.footer-bottom {
  border-top: 1px solid #2d3748;
  padding: 1.5rem 2rem;
  text-align: center;
  color: #a0aec0;
  font-size: 0.9rem;
}
.section-title {
  letter-spacing: -0.5px;
  font-weight: 600;
}
a:focus,
button:focus {
  outline: 0;
  outline-offset: 2px;
  border-radius: 2px;
}
html {
  scroll-behavior: smooth;
}
.product-description-placeholder,
.review-section-placeholder {
  margin: 2rem 0;
}
.product-description-placeholder > div,
.product-main-placeholder > div,
.review-section-placeholder > div {
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
}
.product-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: #fff;
  padding: 1.2rem;
  border-radius: 6px;
  min-height: 520px;
  align-items: start;
}
.icon-img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: transform 0.2s;
}
.category-tags-icon,
.consult-icon,
.delivery-icon,
.safety-icon,
.shipping-icon,
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.trust-icon {
  background: #f1f8e9;
}
.delivery-icon,
.shipping-icon {
  background: #e3f2fd;
}
.safety-icon {
  background: #fff3e0;
}
.consult-icon {
  background: 0 0;
}
.category-tags-icon {
  background: #fff8e1;
}
.trust-icon .icon-img {
  filter: invert(56%) sepia(12%) saturate(1752%) hue-rotate(71deg)
    brightness(95%) contrast(87%);
}
.delivery-icon .icon-img,
.shipping-icon .icon-img {
  filter: invert(39%) sepia(98%) saturate(846%) hue-rotate(169deg)
    brightness(96%) contrast(98%);
}
.safety-icon .icon-img {
  filter: invert(53%) sepia(49%) saturate(3530%) hue-rotate(1deg)
    brightness(102%) contrast(103%);
}
.consult-icon .icon-img {
  filter: invert(23%) sepia(31%) saturate(1926%) hue-rotate(195deg)
    brightness(94%) contrast(87%);
}
.category-tags-icon .icon-img {
  filter: invert(56%) sepia(96%) saturate(383%) hue-rotate(360deg)
    brightness(97%) contrast(94%);
}
.benefit-icon img,
.consult-doctor-btn .icon-img,
.safety-badge .icon-img {
  width: 28px;
  height: 28px;
}
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.main-image {
  width: 100%;
  border: 1px solid #f5f5f5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}
.product-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
  cursor: pointer;
}
.add-to-cart-row-btn,
.category-tag,
.pricing-row,
.thumbnail {
  cursor: pointer;
  transition: 0.2s;
}
.product-image:hover {
  transform: scale(1.01);
}
.image-thumbnails {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  flex-wrap: wrap;
}
.thumbnail {
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  padding: 1px;
  background: 0 0;
}
.thumbnail.active,
.thumbnail:hover {
  border-color: #4a90a4;
  transform: translateY(-1px);
}
.thumbnail img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 3px;
}
.product-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}
.product-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.2px;
  flex: 1;
}
.manufacturer-badge {
  background: #4a90a4;
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
}
.star,
.star.half::before {
  background: linear-gradient(135deg, gold, #ffa000);
}
.shipping-info,
.stock-info {
  font-size: 0.8rem;
}
.per-tablet-price {
  font-weight: 700;
  font-size: 10px;
}
.product-meta-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f8f9fa;
}
.in-stock,
.out-of-stock {
  padding: 0.25rem 0.6rem;
  font-weight: 500;
}
.rating-section,
.recommendation-text {
  flex: 1;
}
.rating-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.star-rating {
  display: flex;
  gap: 1px;
}
.star {
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
}
.star.empty {
  background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
  -webkit-background-clip: text;
  background-clip: text;
}
.star.half::before {
  content: "★";
  position: absolute;
  width: 50%;
  overflow: hidden;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.per-box-price,
.rating-text,
.stat-label {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}
.in-stock {
  color: #2e7d32;
  background: #f1f8e9;
  border-radius: 0;
}
.out-of-stock {
  color: #d32f2f;
  background: #ffebee;
  border-radius: 8px;
}
.shipping-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem;
  background: #fafafa;
  border-radius: 0;
  border: 1px solid #f0f0f0;
}
.shipping-text {
  color: #666;
  font-weight: 500;
  margin-left: 0.3rem;
}
.product-description {
  color: #404040;
  line-height: 1.5;
  font-size: 0.85rem;
  margin: 0;
  padding: 10px;
}
.category-tags-section {
  padding: 0.8rem;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 0;
}
.category-tags-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}
.category-tags-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.category-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.6rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  color: #666;
  font-size: 0.75rem;
  font-weight: 500;
}
.category-tag:hover {
  border-color: #4a90a4;
  color: #4a90a4;
  transform: translateY(-1px);
}
.product-stats-section {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 0;
  padding: 0.8rem;
}
.stats-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #f0f0f0;
}
.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f8f9fa;
}
.comparison-table tr:last-child td,
.detail-section:last-child,
.pricing-row:last-child,
.stat-item:last-child {
  border-bottom: none;
}
.stat-value {
  font-size: 0.8rem;
  color: #2c3e50;
  font-weight: 600;
}
.safety-info {
  background: #fff8e1;
  border: 1px solid #ffd54f;
  border-radius: 0;
  padding: 0.8rem;
}
.safety-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #e65100;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
}
.safety-notice {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
}
.pricing-column {
  /*position: sticky;
  top: 1rem;
  height: fit-content;*/
}
.pricing-section {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
}
.pricing-header,
.pricing-row:hover {
  background: #fafafa;
}
.pricing-header,
.pricing-row {
  border-bottom: 1px solid #f8f9fa;
}
.pricing-header {
  padding: 0.6rem 0.8rem;
}
.pricing-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #000;
  margin: 0 0 0.05rem;
}
.pricing-subtitle {
  color: #666;
  font-size: 0.7rem;
  margin: 0;
}
.pricing-table {
  display: flex;
  flex-direction: column;
}
.pricing-row {
  padding: 0.3rem 0;
}
.pricing-row.selected-row {
  background: #f8f9fa;
  border-left: 2px solid #4a90a4;
}
.pricing-row.popular-row {
  background: #fff8e1;
  border-left: 2px solid #ff6f00;
}
.row-content {
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem;
  align-items: start;
  justify-content: space-between;
}
.quantity-section {
  /*display: flex;*/
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  /*width: 150px;*/
}
.tier-quantity {
  font-weight: 600;
  color: #000;
  line-height: 1.2;
}
.popular-tag,
.total-price {
  font-weight: 600;
  color: #ff6f00;
}
.discount-badge-p,
.total-price {
  line-height: 1;
  white-space: nowrap;
}
.popular-tag {
  font-size: 0.65rem;
  background: #fff8e1;
  padding: 0.15rem 0.4rem;
  border-radius: 8px;
  border: 1px solid #ffe082;
}
.price-section {
  display: flex;
  flex-direction: row;
  justify-content: end;
  width: 100%;
}
.main-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.tax {
  font-size: 0.7rem;
  color: #888;
  font-weight: 500;
}
.right-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}
.discount-section {
  text-align: right;
}
.discount-badge-p {
  background: linear-gradient(135deg, #ff6f00, #ff8f00);
  color: #fff;
  padding: 0.15rem 0.4rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 1px 2px rgba(255, 111, 0, 0.2);
  align-self: flex-start;
}
.action-section {
  width: 100%;
  text-align: center;
}
.add-to-cart-row-btn {
  background: #b40101;
  color: #fff;
  border: none;
  padding: 0.6rem 0.8rem;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  max-width: 100%;
  min-width: 50px;
  box-shadow: 0 2px 4px rgba(74, 144, 164, 0.2);
}
.delivery-text,
.trust-text {
  color: #666;
  font-weight: 500;
}
.add-to-cart-row-btn:hover:not(:disabled) {
  background: #b40101;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(74, 144, 164, 0.3);
}
.add-to-cart-row-btn:disabled {
  background: #e0e0e0;
  color: #9e9e9e;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.pricing-row.popular-row .add-to-cart-row-btn {
  background: #ff6f00;
  box-shadow: 0 2px 4px rgba(255, 111, 0, 0.3);
}
.pricing-row.popular-row .add-to-cart-row-btn:hover:not(:disabled) {
  background: #e65a00;
  box-shadow: 0 4px 8px rgba(255, 111, 0, 0.4);
}
.compact-delivery-info {
  display: flex;
  justify-content: space-around;
  padding: 0.4rem 0.8rem;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  gap: 0.5rem;
}
.delivery-meta {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.delivery-icon {
  font-size: 0.7rem;
}
.delivery-text {
  font-size: 0.65rem;
}
.product-trust-panel {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 0;
  padding: 0.6rem;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  margin: 0.2rem 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.5rem;
  background: #fafafa;
  border-radius: 4px;
  border: 1px solid #f0f0f0;
  flex: 1;
  min-height: 32px;
}
.trust-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.trust-text {
  font-size: 0.7rem;
  line-height: 1.2;
  letter-spacing: -0.05px;
}
.consult-doctor-cta {
  margin-top: 0.8rem;
  padding: 0;
  width: 100%;
}
.consult-doctor-btn,
.line-consult-btn {
  color: #fff;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  width: 100%;
}
.consult-doctor-btn {
  background: linear-gradient(135deg, #2a7f7f, #3a9f9f);
  border: none;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(42, 127, 127, 0.2);
  justify-content: center;
  margin-bottom: 0.5rem;
}
.consult-doctor-btn:hover {
  background: linear-gradient(135deg, #236a6a, #2a7f7f);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 127, 127, 0.3);
}
.line-consult-btn {
  background: #06c755;
  border: 2px solid #06c755;
  border-radius: 0;
  justify-content: center;
}
.line-consult-btn:hover {
  background: #1ad267;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}
.consult-text {
  font-size: 1.2rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.consult-subtext {
  font-size: 0.75rem;
  color: #666;
  text-align: center;
  margin: 0.5rem 0 0;
  line-height: 1.4;
  font-weight: 500;
}
.consult-doctor-btn .icon-img,
.line-consult-btn .icon-img {
  filter: brightness(0) invert(1);
  width: 32px;
  height: 32px;
}
.image-viewer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: 0.3s fadeIn;
}
.image-viewer-arrow,
.image-viewer-close {
  color: #fff;
  backdrop-filter: blur(4px);
  display: flex;
  transition: 0.2s;
  cursor: pointer;
}
.image-viewer-modal {
  position: relative;
  width: 90vw;
  height: 90vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: 0.3s scaleIn;
  min-width: 300px;
  min-height: 400px;
}
.image-viewer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.image-viewer-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}
.image-viewer-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 20px;
  position: relative;
  flex: 1;
  box-sizing: border-box;
  overflow: hidden;
}
.image-viewer-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
.image-viewer-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}
.image-viewer-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.image-viewer-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}
.image-viewer-arrow-prev {
  left: 20px;
}
.image-viewer-arrow-next {
  right: 20px;
}
.image-viewer-thumbnails {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  overflow-x: auto;
  justify-content: center;
}
.image-viewer-thumbnail {
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 2px;
  background: 0 0;
  cursor: pointer;
  transition: 0.2s;
  flex-shrink: 0;
}
.image-viewer-thumbnail:hover {
  border-color: #4a90a4;
  transform: translateY(-2px);
}
.image-viewer-thumbnail.active {
  border-color: #ff6f00;
}
.image-viewer-thumbnail img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 2px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.section-content {
  max-width: 1800px;
  padding: 0;
}
.section-title-r {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-family: PTSans-Regular;
}
.reviews-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
  align-items: center;
}
.recommendation-metric {
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 0;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.recommendation-display {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.circular-progress {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.progress-ring circle {
  transition: stroke-dashoffset 0.8s;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.progress-ring-background {
  stroke: #f1f5f9;
}
.progress-ring-circle {
  stroke: #f6ad55;
}
.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.progress-percentage {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f6ad55;
  display: block;
}
.recommendation-title,
.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}
.recommendation-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}
.overall-rating {
  background: #f8fafc;
  border: none;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.rating-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 120px;
}
.rating-score {
  font-size: 2.5rem;
  font-weight: 700;
  color: #dd6b20;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.rating-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}
.total-reviews {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}
.rating-breakdown {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}
.rating-stars {
  display: flex;
  gap: 1px;
  width: 60px;
  flex-shrink: 0;
}
.rating-label {
  color: #64748b;
  width: 20px;
  text-align: center;
  font-size: 0.75rem;
}
.rating-bar {
  flex: 1;
  height: 6px;
  background: #f1f5f9;
  border-radius: 0;
  overflow: hidden;
  min-width: 100px;
}
.rating-fill {
  height: 100%;
  background: #f6ad55;
  border-radius: 0;
  transition: width 0.3s;
}
.rating-percentage {
  color: #64748b;
  width: 30px;
  text-align: right;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.review-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 0;
  padding: 1.5rem;
  transition: 0.3s;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.review-card.high-rating {
  border-left: 4px solid #1a6d8d;
  background: linear-gradient(90deg, rgba(26, 109, 141, 0.02) 0, #fff 20%);
}
.review-card:hover {
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(26, 109, 141, 0.08);
  transform: translateY(-2px);
}
.recommendation-badge {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: #1a6d8d;
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
}
.review-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-header {
  margin-bottom: 0;
}
.reviewer-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.reviewer-avatar {
  flex-shrink: 0;
}
.avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a6d8d, #34b3b0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}
.reviewer-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.reviewer-name {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
}
.review-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.review-date {
  font-size: 0.8rem;
  color: #94a3b8;
  white-space: nowrap;
}
.review-comment {
  color: #475569;
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
}
.review-image-container {
  flex-shrink: 0;
  width: 150px;
}
.review-image {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #f1f5f9;
  display: block;
}
.reviews-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.show-more-reviews-btn {
  background: #fff;
  color: #1a6d8d;
  border: 1.5px solid #1a6d8d;
  padding: 1rem 2.5rem;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  font-family: inherit;
}
.show-more-reviews-btn:hover {
  background: #1a6d8d;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 109, 141, 0.15);
}
.star-rating {
  display: flex;
  gap: 2px;
  width: auto;
}
.star {
  color: #e2e8f0;
  transition: color 0.2s;
}
.star.full {
  color: #f6ad55;
}
.star.half {
  position: relative;
  background: linear-gradient(90deg, #f6ad55 50%, #e2e8f0 50%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#toggleBtnReview.hidden,
.hidden-review,
.review-card.hidden,
.star-rating input {
  display: none;
}
@media (max-width: 1200px) {
  .breadcrumb,
  .footer-content,
  .header-content,
  .menu-nav,
  .product-container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  .menu-item {
    padding: 1.2rem 1.5rem;
  }
  .product-main {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .pricing-column {
    grid-column: 1/-1;
    position: static;
  }
  .row-content {
    grid-template-columns: 0.8fr 1.2fr 0.6fr;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
  }
  .product-trust-panel {
    padding: 0.5rem;
    gap: 0.4rem;
  }
  .trust-item {
    padding: 0.25rem 0.4rem;
    gap: 0.3rem;
  }
  .trust-text {
    font-size: 0.68rem;
  }
  .consult-doctor-btn,
  .line-consult-btn {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }
  .consult-text {
    font-size: 0.95rem;
  }
  .section-content {
    padding: 0 1rem;
  }
  .reviews-summary {
    gap: 1.2rem;
  }
  .overall-rating,
  .recommendation-metric {
    padding: 1.5rem;
  }
  .circular-progress,
  .progress-ring {
    width: 100px;
    height: 100px;
  }
  .progress-ring circle {
    r: 46;
    cx: 50;
    cy: 50;
  }
  .progress-percentage {
    font-size: 1.2rem;
  }
}
@media (max-width: 992px) {
  .breadcrumb,
  .header-content,
  .product-container {
    padding: 0 1rem;
  }
  .company-name {
    font-size: 1.3rem;
  }
  .navigation {
    gap: 1.5rem;
  }
  .navigation a {
    font-size: 0.85rem;
  }
  .breadcrumb {
    margin-bottom: 1.5rem;
  }
  .menu-nav {
    padding: 1.5rem;
  }
  .menu-item {
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
  }
  .related-items {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  .footer-content {
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
  .product-main {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    min-height: auto;
  }
  .product-gallery {
    gap: 0.6rem;
    overflow: hidden;
  }
  .product-info {
    gap: 0.8rem;
  }
  .product-title {
    font-size: 1.2rem;
  }
  .row-content {
    grid-template-columns: 0.7fr 1.3fr 0.8fr;
    padding: 0.5rem 0.8rem;
  }
  .total-price {
    font-size: 1.1rem;
  }
  .add-to-cart-row-btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
  }
  .section-title-r {
    font-size: 1.6rem;
  }
  .reviews-summary {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .recommendation-display {
    gap: 1.2rem;
  }
  .rating-score {
    font-size: 2.2rem;
  }
  .review-card {
    padding: 1.25rem;
    gap: 1.2rem;
  }
  .review-image-container {
    width: 130px;
  }
  .review-image {
    height: 110px;
  }
}
@media (max-width: 768px) {
  .page-header {
    padding: 0.8rem 0;
  }
  .header-content {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
  .breadcrumb,
  .product-container {
    padding: 0 0.5rem;
  }
  .navigation {
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .navigation a {
    font-size: 0.8rem;
    padding: 0.3rem 0;
  }
  .breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  .menu-nav {
    flex-direction: column;
    padding: 1rem;
    height: auto;
    gap: 1rem;
  }
  .doctor-trust {
    justify-content: center;
    text-align: center;
  }
  .menu-items-container {
    flex-direction: column;
    width: 100%;
  }
  .menu-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e8ecef;
    border-right: none;
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }
  .menu-item.active::after {
    left: 1.5rem;
    transform: none;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 1.5rem 1rem;
  }
  .details-menu.sticky {
    top: 70px;
  }
  .related-items {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .related-placeholder {
    padding: 3rem 1rem;
    font-size: 1rem;
  }
  .product-main {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1rem;
    display: block !important;
  }
  .product-header,
  .product-meta-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .pricing-column {
    grid-column: auto;
  }
  .row-content {
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 0.6rem;
    text-align: center;
  }
  .quantity-section {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.4rem;
    align-items: center;
    width: 100%;
  }
  .price-details {
    flex-direction: row;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
  }
  .compact-delivery-info {
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
  }
  .product-trust-panel {
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.5rem 0;
  }
  .trust-item {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 120px;
    justify-content: center;
    gap: 0.4rem;
  }
  .trust-text {
    font-size: 0.7rem;
  }
  .consult-doctor-cta {
    margin-top: 1rem;
  }
  .consult-doctor-btn,
  .line-consult-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  .consult-text {
    font-size: 1rem;
  }
  .consult-subtext {
    font-size: 0.8rem;
  }
  .image-viewer-modal {
    width: 95vw;
    height: 95vh;
  }
  .image-viewer-main {
    padding: 50px 10px 15px;
  }
  .image-viewer-arrow {
    width: 40px;
    height: 40px;
  }
  .image-viewer-arrow-prev {
    left: 10px;
  }
  .image-viewer-arrow-next {
    right: 10px;
  }
  .image-viewer-thumbnails {
    padding: 12px;
    gap: 6px;
  }
  .image-viewer-thumbnail img {
    width: 50px;
    height: 50px;
  }
  .category-tags {
    justify-content: center;
  }
  .category-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .section-title-r {
    font-size: 1.4rem;
  }
  .reviews-grid,
  .reviews-summary {
    gap: 1rem;
  }
  .recommendation-display {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .overall-rating {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    text-align: center;
  }
  .rating-left {
    align-items: center;
    width: 100%;
  }
  .rating-details {
    align-items: center;
  }
  .rating-score {
    font-size: 2.5rem;
  }
  .rating-breakdown {
    width: 100%;
  }
  .review-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
  }
  .review-image-container {
    width: 100%;
    order: 3;
  }
  .review-image {
    height: 140px;
    width: 100%;
  }
  .reviewer-info {
    gap: 0.8rem;
  }
  .avatar-placeholder {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .review-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  .recommendation-badge {
    position: static;
    align-self: flex-start;
    margin-bottom: 0.5rem;
  }
  .show-more-reviews-btn {
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
  }
}
.indication-list li,
.pricing-row,
.section-title-p,
.wishlist-btn {
  position: relative;
}
@media (max-width: 576px) {
  .page-header {
    padding: 0.6rem 0;
  }
  .header-content,
  .section-content {
    padding: 0 0.5rem;
  }
  .breadcrumb,
  .product-container {
    padding: 0 1rem;
  }
  .company-name {
    font-size: 1.2rem;
  }
  .breadcrumb,
  .consult-subtext,
  .navigation a,
  .stat-label,
  .stat-value {
    font-size: 0.75rem;
  }
  .navigation {
    gap: 1rem;
  }
  .separator {
    margin: 0 0.3rem;
  }
  .doctor-trust {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .doctor-image-container,
  .image-viewer-thumbnail img,
  .thumbnail img {
    width: 40px;
    height: 40px;
  }
  .consult-text,
  .doctor-name {
    font-size: 0.9rem;
  }
  .proof-read-by,
  .safety-notice {
    font-size: 0.7rem;
  }
  .menu-item {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }
  .related-products {
    margin-bottom: 2rem;
  }
  .related-placeholder {
    padding: 2rem 1rem;
    font-size: 0.9rem;
  }
  .footer-content {
    padding: 1rem 0.5rem;
    gap: 1.5rem;
  }
  .footer-section h3,
  .product-title {
    font-size: 1.1rem;
  }
  .footer-section h4,
  .progress-percentage,
  .recommendation-title,
  .total-price {
    font-size: 1rem;
  }
  .footer-section a,
  .footer-section p,
  .pricing-title,
  .recommendation-subtitle {
    font-size: 0.85rem;
  }
  .footer-bottom {
    padding: 1rem 0.5rem;
    font-size: 0.8rem;
  }
  .product-main {
    padding: 0.8rem;
    gap: 1rem;
  }
  .category-tags {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .pricing-header,
  .row-content {
    padding: 0.5rem;
  }
  .add-to-cart-row-btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
  }
  .icon-img {
    width: 18px;
    height: 18px;
  }
  .category-tags-icon,
  .consult-doctor-btn .icon-img,
  .consult-icon,
  .delivery-icon,
  .safety-badge .icon-img,
  .safety-icon,
  .shipping-icon,
  .trust-icon {
    width: 24px;
    height: 24px;
  }
  .product-trust-panel {
    padding: 0.4rem;
    gap: 0.3rem;
  }
  .trust-item {
    padding: 0.2rem 0.3rem;
    gap: 0.25rem;
    flex: 1 1 100%;
    min-height: 28px;
  }
  .trust-text {
    font-size: 0.65rem;
  }
  .consult-doctor-btn,
  .line-consult-btn {
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
    gap: 0.5rem;
  }
  .image-viewer-modal {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .image-viewer-arrow,
  .image-viewer-close {
    width: 36px;
    height: 36px;
  }
  .image-viewer-main {
    padding: 40px 5px 10px;
  }
  .image-viewer-close {
    top: 8px;
    right: 8px;
  }
  .image-viewer-thumbnails {
    padding: 8px;
    gap: 4px;
  }
  .product-description {
    font-size: 0.8rem;
    overflow: hidden;
  }
  .safety-badge {
    font-size: 0.8rem;
  }
  .section-title-r {
    font-size: 1.3rem;
  }
  .section-header {
    margin-bottom: 1.5rem;
  }
  .reviews-summary {
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .overall-rating,
  .recommendation-metric {
    padding: 1.25rem 1rem;
  }
  .circular-progress,
  .progress-ring {
    width: 80px;
    height: 80px;
  }
  .progress-ring circle {
    r: 36;
    cx: 40;
    cy: 40;
    stroke-width: 6;
  }
  .rating-score {
    font-size: 2rem;
  }
  .rating-row {
    gap: 0.3rem;
  }
  .rating-bar {
    min-width: 80px;
  }
  .review-card {
    padding: 1rem;
    gap: 0.8rem;
  }
  .reviewer-info {
    gap: 0.6rem;
  }
  .avatar-placeholder {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  .reviewer-name {
    font-size: 0.95rem;
  }
  .review-comment {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .review-image {
    height: 120px;
  }
  .show-more-reviews-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 280px;
  }
}
.details-content {
  padding: 0;
}
.detail-section {
  border-bottom: 1px solid #f1f5f9;
  scroll-margin-top: 100px;
  max-width: 1800px;
  animation: 0.6s ease-out fadeInUp;
}
.section-header {
  margin-bottom: 0;
  text-align: center;
}
.section-title-p {
  font-size: 2rem;
  font-weight: 600;
  color: #1a2935;
  margin-bottom: 1rem;
  display: inline-block;
  letter-spacing: -0.5px;
}
.section-accent {
  height: 3px;
  width: 60px;
  background: linear-gradient(135deg, #1a6d8d, #2b9bb6);
  margin: 0 auto;
  border-radius: 2px;
}
.section-content {
  margin: 0 auto;
}
.feature-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 3rem;
  text-align: left;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.benefit-card {
  background: #f8fafc;
  border: 1px solid #e8ecef;
  border-radius: 0;
  padding: 2rem;
  text-align: center;
  transition: 0.3s;
}
.mechanism-section,
.timeline-item {
  background: #f8fafc;
  border-radius: 0;
}
.benefit-card:hover {
  border-color: #c6e6f3;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 109, 141, 0.1);
}
.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.benefit-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}
.benefit-desc {
  color: #4a5568;
  line-height: 1.6;
  font-size: 0.95rem;
}
.mechanism-section {
  padding: 2.5rem;
  border: 1px solid #e8ecef;
}
.mechanism-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}
.mechanism-content p {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.indication-list {
  margin-top: 1.5rem;
}
.guidance-card h4,
.indication-list h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}
.indication-list li,
.timeline-content p {
  color: #4a5568;
  line-height: 1.6;
}
.indication-list ul {
  list-style: none;
  padding: 0;
}
.indication-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
}
.indication-list li::before {
  content: "•";
  color: #1a6d8d;
  font-weight: 700;
  position: absolute;
  left: 0.5rem;
}
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.5rem;
  border: 1px solid #e8ecef;
}
.timeline-marker {
  background: linear-gradient(135deg, #1a6d8d, #2b9bb6);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 80px;
  text-align: center;
  flex-shrink: 0;
}
.dosage-guidance {
  background: #fff;
  border-radius: 0;
  padding: 2.5rem;
  border: 1px solid #e8ecef;
}
.guidance-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: center;
}
.guidance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.guidance-card {
  background: #f8fafc;
  border-radius: 0;
  padding: 2rem;
  text-align: center;
  border: 1px solid #e8ecef;
}
.dosage-main {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a6d8d;
  margin-bottom: 0.5rem;
}
.dosage-note {
  color: #718096;
  font-size: 0.9rem;
  line-height: 1.5;
}
.recommended-products,
.variants-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.product-card,
.variant-card {
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 0;
  overflow: hidden;
  transition: 0.3s;
}
.product-card:hover {
  border-color: #c6e6f3;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26, 109, 141, 0.15);
}
.comparison-table th,
.product-description-image {
  border-bottom: 1px solid #e8ecef;
  background: #f8fafc;
}
.product-description-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}
.product-info,
.variant-details {
  padding: 1.5rem;
}
.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.8rem;
}
.product-desc {
  color: #4a5568;
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  min-height: 3rem;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.product-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a6d8d;
}
.product-reviews {
  font-size: 0.85rem;
  color: #718096;
}
.product-cta {
  width: 100%;
  background: #1a6d8d;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 0;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}
.product-cta:hover {
  background: #155d79;
}
.comparison-table-container {
  overflow-x: auto;
  margin-bottom: 2rem;
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 0;
  padding: 1rem;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
.comparison-table th {
  padding: 1.2rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.95rem;
}
.comparison-table td {
  padding: 1.2rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #4a5568;
  font-size: 0.9rem;
}
.comparison-table tr:hover {
  background: #f8fafc;
}
.old-price {
  text-decoration: line-through;
  color: #a0aec0 !important;
}
.current-price {
  color: #1a6d8d;
  font-weight: 600;
}
.comparison-notes {
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  border-radius: 0;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #276749;
  line-height: 1.6;
}
.variant-card.featured {
  border-color: #1a6d8d;
  box-shadow: 0 8px 25px rgba(26, 109, 141, 0.15);
  transform: scale(1.02);
}
.variant-card:hover {
  border-color: #c6e6f3;
  transform: translateY(-4px);
}
.variant-image {
  height: 180px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e8ecef;
}
.variant-image img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}
.variant-strength {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
}
.variant-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.spec-item {
  font-size: 0.9rem;
  color: #718096;
}
.variant-desc {
  color: #4a5568;
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.variant-price {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a6d8d;
  text-align: center;
}
@media (max-width: 1200px) {
  .detail-section {
    padding: 2rem 1.5rem;
  }
  .section-title-p {
    font-size: 1.8rem;
  }
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  .dosage-guidance,
  .mechanism-section {
    padding: 2rem;
  }
  .recommended-products,
  .variants-comparison {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}
@media (max-width: 992px) {
  .section-title-p {
    font-size: 1.7rem;
  }
  .feature-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
  }
  .benefit-card,
  .guidance-card {
    padding: 1.5rem;
  }
  .benefit-title {
    font-size: 1.1rem;
  }
  .timeline-item {
    gap: 1.5rem;
    padding: 1.25rem;
  }
  .timeline-marker {
    min-width: 70px;
    padding: 0.7rem 1rem;
  }
  .guidance-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  .comparison-table {
    min-width: 700px;
  }
}
@media (max-width: 768px) {
  .benefits-grid,
  .guidance-grid,
  .recommended-products,
  .variants-comparison {
    grid-template-columns: 1fr;
  }
  .detail-section {
    padding: 2.5rem 1.5rem;
  }
  .section-title-p {
    font-size: 1.6rem;
  }
  .guidance-title,
  .mechanism-title {
    font-size: 1.2rem;
  }
  .benefits-grid {
    gap: 1.5rem;
  }
  .timeline-item {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .timeline-marker {
    align-self: center;
  }
  .variant-card.featured {
    transform: none;
  }
  .dosage-guidance,
  .mechanism-section {
    padding: 1.5rem;
  }
  .guidance-title {
    margin-bottom: 1.5rem;
  }
  .product-description-image {
    height: 180px;
  }
  .variant-image {
    height: 160px;
  }
  .comparison-table-container {
    padding: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
}
@media (max-width: 576px) {
  .detail-section {
    padding: 2rem 1rem;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .section-title-p {
    font-size: 1.4rem;
  }
  .feature-intro {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
  }
  .benefit-card,
  .dosage-guidance,
  .guidance-card,
  .mechanism-section,
  .product-info,
  .variant-details {
    padding: 1.25rem;
  }
  .benefit-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  .benefit-desc,
  .timeline-content p {
    font-size: 0.9rem;
  }
  .mechanism-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  .mechanism-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .dosage-main,
  .indication-list h4,
  .product-name,
  .timeline-content h4 {
    font-size: 1rem;
  }
  .indication-list li {
    font-size: 0.9rem;
    padding-left: 1.25rem;
  }
  .timeline-container {
    gap: 1.5rem;
  }
  .timeline-item {
    padding: 1rem;
  }
  .timeline-marker {
    min-width: 60px;
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }
  .guidance-title,
  .product-price,
  .variant-strength {
    font-size: 1.1rem;
  }
  .dosage-note,
  .product-desc,
  .variant-desc {
    font-size: 0.85rem;
  }
  .product-desc {
    min-height: auto;
    margin-bottom: 1rem;
  }
  .product-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  .product-cta {
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
  }
  .variant-price {
    font-size: 1.2rem;
  }
  .comparison-notes {
    padding: 1rem;
    font-size: 0.85rem;
  }
}
@media (max-width: 480px) {
  .navigation {
    gap: 0.8rem;
  }
  .breadcrumb,
  .navigation a {
    font-size: 0.7rem;
  }
  .company-name {
    font-size: 1.1rem;
  }
  .menu-nav,
  .timeline-item {
    padding: 0.8rem;
  }
  .doctor-image-container {
    width: 36px;
    height: 36px;
  }
  .verified-icon {
    width: 14px;
    height: 14px;
    font-size: 0.6rem;
  }
  .menu-item {
    padding: 0.7rem 0.8rem;
    font-size: 0.8rem;
  }
  .related-placeholder {
    padding: 1.5rem 0.8rem;
    font-size: 0.85rem;
  }
  .section-content {
    padding: 0 0.5rem;
  }
  .reviews-summary {
    gap: 1rem;
  }
  .overall-rating,
  .recommendation-metric {
    padding: 1.5rem 1rem;
  }
  .review-image {
    height: 120px;
  }
  .benefit-card,
  .dosage-guidance,
  .guidance-card,
  .mechanism-section,
  .product-info,
  .review-card,
  .variant-details {
    padding: 0;
  }
  .rating-left {
    min-width: 100px;
  }
  .rating-score {
    font-size: 1.8rem;
  }
  .rating-stars {
    width: 50px;
  }
  .rating-bar {
    min-width: 60px;
  }
  .rating-percentage {
    width: 25px;
    font-size: 0.7rem;
  }
  .detail-section {
    padding: 1.5rem 0.8rem;
  }
  .section-title-p {
    font-size: 1.3rem;
  }
  .section-accent {
    width: 50px;
    height: 2px;
  }
  .benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  .benefit-icon img {
    width: 24px;
    height: 24px;
  }
  .timeline-marker {
    min-width: 55px;
    padding: 0.5rem 0.7rem;
    font-size: 0.75rem;
  }
  .product-description-image {
    height: 150px;
  }
  .variant-image {
    height: 140px;
  }
  .comparison-table td,
  .comparison-table th {
    padding: 0.8rem 0.5rem;
    font-size: 0.8rem;
  }
  .comparison-table {
    min-width: 600px;
  }
}
@media (max-width: 400px) {
  .product-main {
    padding: 0;
    gap: 0.8rem;
  }
  .product-title {
    font-size: 1rem;
  }
  .manufacturer-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
  .in-stock,
  .rating-row,
  .rating-text {
    font-size: 0.75rem;
  }
  .row-content {
    padding: 0.4rem;
  }
  .progress-percentage,
  .tier-quantity,
  .total-price {
    font-size: 0.9rem;
  }
  .consult-subtext,
  .per-box-price {
    font-size: 0.7rem;
  }
  .add-to-cart-row-btn {
    padding: 0.4rem 0.5rem;
    font-size: 0.7rem;
  }
  .discount-badge-p {
    font-size: 0.6rem;
    padding: 0.1rem 0.3rem;
  }
  .consult-doctor-btn,
  .line-consult-btn {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }
  .benefit-desc,
  .consult-text,
  .product-cta {
    font-size: 0.85rem;
  }
  .trust-item {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
  .category-tags,
  .rating-breakdown {
    gap: 0.3rem;
  }
  .category-tag {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
  }
  .section-title-p,
  .section-title-r {
    font-size: 1.2rem;
  }
  .overall-rating,
  .recommendation-metric {
    padding: 1rem 0.8rem;
  }
  .circular-progress,
  .progress-ring {
    width: 70px;
    height: 70px;
  }
  .progress-ring circle {
    r: 31;
    cx: 35;
    cy: 35;
  }
  .rating-label {
    width: 15px;
    font-size: 0.7rem;
  }
  .rating-percentage {
    width: 20px;
    font-size: 0.65rem;
  }
  .benefit-card,
  .review-card {
    padding: 0.8rem;
  }
  .reviewer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .review-meta {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
  }
  .show-more-reviews-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }
  .detail-section {
    padding: 1.25rem 0.5rem;
  }
  .benefits-grid,
  .recommended-products,
  .timeline-container,
  .variants-comparison {
    gap: 1rem;
  }
  .benefit-title {
    font-size: 0.95rem;
  }
  .product-cta {
    padding: 0.6rem 1rem;
  }
  .comparison-table {
    min-width: 550px;
  }
  .comparison-table td,
  .comparison-table th {
    padding: 0.6rem 0.4rem;
    font-size: 0.75rem;
  }
}
@media (max-width: 320px) {
  .header-content,
  .section-content {
    padding: 0 0.3rem;
  }
  .navigation {
    gap: 0.5rem;
  }
  .navigation a {
    font-size: 0.65rem;
  }
  .breadcrumb,
  .product-container {
    padding: 0 0.2rem;
  }
  .menu-nav,
  .product-main {
    padding: 0.5rem;
  }
  .menu-item {
    padding: 0.6rem 0.5rem;
  }
  .product-title {
    font-size: 0.95rem;
  }
  .consult-doctor-btn,
  .line-consult-btn {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.7rem 0.8rem;
  }
  .consult-text {
    font-size: 0.8rem;
  }
  .row-content {
    padding: 0.3rem;
  }
  .image-viewer-thumbnail img,
  .thumbnail img {
    width: 35px;
    height: 35px;
  }
  .overall-rating,
  .recommendation-metric {
    padding: 0.8rem 0.6rem;
  }
  .review-card {
    padding: 0.6rem;
  }
  .review-image {
    height: 100px;
  }
  .rating-bar {
    min-width: 50px;
  }
  .rating-stars {
    width: 40px;
  }
  .section-title-p {
    font-size: 1.1rem;
  }
  .feature-intro {
    font-size: 0.9rem;
  }
  .benefit-card {
    padding: 0.7rem;
  }
  .timeline-marker {
    min-width: 50px;
    padding: 0.4rem 0.6rem;
  }
  .product-description-image {
    height: 130px;
  }
  .variant-image {
    height: 120px;
  }
}
@media (hover: none) and (pointer: coarse) {
  .navigation a:hover::after {
    width: 0;
  }
  .menu-item:hover {
    background: 0 0;
    color: inherit;
  }
  .add-to-cart-row-btn:hover,
  .category-tag:hover,
  .consult-doctor-btn:hover,
  .line-consult-btn:hover,
  .pricing-row:hover,
  .product-image:hover,
  .thumbnail:hover {
    transform: none;
  }
  .review-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  }
  .benefit-card:hover,
  .product-card:hover,
  .show-more-reviews-btn:hover,
  .variant-card:hover {
    transform: none;
    box-shadow: none;
  }
  .product-cta:hover {
    background: #1a6d8d;
  }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .doctor-image,
  .image-viewer-image,
  .product-image,
  .product-image img,
  .review-image,
  .variant-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}
@media print {
  .add-to-cart-row-btn,
  .breadcrumb,
  .consult-doctor-cta,
  .details-menu,
  .page-footer,
  .page-header,
  .product-cta,
  .related-products,
  .section-accent,
  .show-more-reviews-btn {
    display: none;
  }
  .product-container {
    max-width: none;
    padding: 0;
  }
  .product-main {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  .review-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  .hidden-review {
    display: flex !important;
  }
  .detail-section {
    break-inside: avoid;
    border-bottom: 1px solid #ddd;
    box-shadow: none;
  }
  .comparison-table-container {
    overflow: visible;
  }
  .comparison-table {
    min-width: auto;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.star-rating {
  display: inline-flex;
  font-size: 2em;
}

.star-rating-desk{
  flex-direction: row-reverse;
}

.star-rating label {
  color: #ccc;
  cursor: pointer;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: gold;
}
.wishlist-btn {
  top: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50% !important;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 50;
  /*display: flex;*/
  align-items: center;
  justify-content: center;
}
.heart-icon {
  width: 25px;
  height: 25px;
  fill: #999;
}
.wishlist-btn.added .heart-icon {
  fill: #e63946;
}
.subscription-wrapper {
  position: relative;
  display: inline-block;
}
.subscription-tooltip,
.subscription-tooltip::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.consult-text {
  cursor: help;
}
.subscription-tooltip {
  visibility: hidden;
  opacity: 0;
  bottom: 130%;
  background: #f6f4f4;
  color: #333333ff;
  padding: 10px 12px;
  width: 500px;
  font-size: 13px;
  line-height: 1.4;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: opacity 0.2s;
  z-index: 1000;
  pointer-events: none;
}
.subscription-tooltip::after {
  content: "";
  top: 100%;
  border-width: 6px;
  border-style: solid;
  border-color: #fff transparent transparent;
}
.subscription-wrapper:hover .subscription-tooltip {
  visibility: visible;
  opacity: 1;
}
.pdetail-rule ul {
  list-style: disc !important;
}
#sub_categories-slider .product-card-x {
  /*height: 55px;*/
  width: 100%;
  padding: 0.5rem;
}
#sub_categories-slider .product-title-x {
  padding: 0;
  margin: 0;
  font-size: 13px;
  text-transform: capitalize;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: initial;
}
.price-section div {
  width: 85px;
}
.base-price-div {
  /*width: 85px;
  margin: 0 10px;*/
}
#toggleBtnReview:focus {
  border-radius: var(--bs-border-radius);
}
.related-sub-cat {
  background: linear-gradient(135deg, #2a7f7f, #3a9f9f);
  color: #fff;
  border-radius: 12px;
}
.related-sub-cat:focus,
.related-sub-cat:hover {
  background: #dd6b20;
}

.product-description table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
.related-sub-cat.current-subcat {
  background: #dd6b20;
}

/*Sticky List*/
.table-list-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ddd;
  width: 100%;
}

.table-list-grid li {
  display: grid;
  grid-template-columns: 1fr;
  /*padding: 12px;*/
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
}

.table-list-grid li a {
  padding: 12px;
}

.table-list-grid li:last-child {
  border-bottom: none;
}

.table-header {
  background: #ec661b;
  font-weight: bold;
  color: #ffffff;
}

.table-list-grid li span {
  padding: 0 8px;
}

.table-list:hover {
  background-color: #f5f5f5;
}

.table-list::after {
  content: "→";
  position: absolute;
  right: 15px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.table-list:hover::after {
  opacity: 1;
  transform: translateX(0);
}
@media (min-width: 767px) {
  .sidebar-left-wrap {
    position: sticky;
    top: 20px;
    align-self: flex-start;
  }
}
.toc-arrow {
  transition: transform 0.3s ease;
  float: inline-end;
}

a:not(.collapsed) .toc-arrow {
  transform: rotate(180deg);
}

#toc a:hover {
  background: #ec661b;
  color: #ffffff;
}

.small_product_price{
  font-size: 20px;
}

 @media (max-width: 767px) {
    .hide-mobile-only {
      display: none !important;
    }
  }

  @media (min-width: 768px) {
    .show-mobile-only {
      display: none !important;
    }
  }
  
.product-description img{height: auto !important;}

.product-gallery .main-image, .product-gallery .thumbnail, .image-viewer-image-container, .image-viewer-thumbnail{position: relative;}
.watermark-product-larg{font-size: 90px;}
.watermark-product-small{font-size: 7px;}
.watermark-product-popup{font-size: 70px;}

@media (max-width: 767px) {
  .product-watermark{font-size: 16px;}
  .watermark-product-small{font-size: 7px;}
  .watermark-product-larg{font-size: 50px;}
}


/* Full page loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-content {
  text-align: center;
  font-size: 0.95rem;
  color: #374151;
}

/* Spinner */
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e5e7eb;
  border-top-color: #e14337;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto 12px;
}