/* Variables & Reset */
:root {
  --primary: #1b5b6e;
  /* Dark teal - màu chủ đạo CRB */
  --primary-dark: #0d3a47;
  /* Teal tối hơn */
  --accent: #e8711a;
  /* Cam CRB */
  --accent-hover: #cf5e0e;
  --logo-red: #c8102e;
  /* Đỏ logo CRB */
  --bg-light: #f5f7fa;
  --bg-section: #f9fafb;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #6b7280;
  --border: #e5e7eb;
  --price-red: #dc2626;
  --price-old: #9ca3af;
  --success: #16a34a;
  --star-color: #f59e0b;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --font-main: 'Be Vietnam Pro', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mobile-only {
  display: none;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}


.btn-try-fit {
  background-color: var(--accent);
  color: var(--white);
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-try-fit:hover {
  background: var(--accent-hover);
}

.container-main {
  padding-top: 24px;
  padding-bottom: 24px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb i {
  font-size: 10px;
}

/* PRODUCT HERO */
.product-hero {
  display: flex;
  gap: 32px;
  padding: 12px 0 20px 0;
  align-items: flex-start;
}

.gallery-col {
  flex: 0 0 50%;
}

.main-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f8f9fa;
}

.main-image-wrap img {
  width: 100%;
  display: block;
}

.badge-sold {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e53e3e;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.btn-wishlist-detail {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-gray);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: color 0.2s;
}

.btn-wishlist-detail.active i {
  color: #e53e3e;
  font-weight: 900;
}

.watermark-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  /* Đưa chữ về bên trái */
  right: auto;
  font-family: 'Be Vietnam Pro', sans-serif;
  /* Đổi font hỗ trợ Tiếng Việt tốt hơn */
  color: var(--primary-dark);
  font-size: 26px;
  /* Chỉnh nhỏ lại */
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-8deg);
}

.watermark-curve {
  position: absolute;
  bottom: -15px;
  left: 10%;
  width: 80%;
  height: 12px;
  transform: rotate(5deg);
}

.main-image-wrap:hover .main-nav-arrow {
  opacity: 1;
}

.main-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 18px;
}

.main-nav-arrow:hover {
  background: white;
}

.main-prev {
  left: 10px;
}

.main-next {
  right: 10px;
}

/* Magnifier Zoom Effect */
.main-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center center;
  transition: transform 0.2s ease;
}

.main-image-wrap:hover img {
  transform: scale(1.15);
  cursor: zoom-in;
}

/* Thumbnail Slider */
.thumbnail-slider-wrap {
  position: relative;
  margin-top: 16px;
  display: flex;
  align-items: center;
}

.thumb-nav-arrow {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  padding: 0 8px;
}

.thumb-nav-arrow:hover {
  color: var(--accent);
}

.thumbnail-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.thumbnail-row::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.thumb-item {
  flex: 0 0 calc(25% - 9px);
  /* show 4 items exactly in desktop */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.thumb-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  background: #f8f9fa;
}

.thumb-item.active img {
  border-color: var(--accent);
}

.thumb-item span {
  text-align: center;
  font-size: 12px;
  color: var(--text-gray);
  line-height: 1.3;
}

.info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand-tag {
  color: #cc1616;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.product-desc {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
}

.rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.rating-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-wishlist-text {
  background: none;
  border: none;
  color: var(--text-gray);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.btn-wishlist-text:hover {
  color: #e53e3e;
}

.stars {
  color: var(--star-color);
}

.rating-score {
  font-weight: 700;
}

.review-count {
  color: var(--text-gray);
  font-weight: 400;
}

.link-reviews {
  color: #1d4ed8;
  text-decoration: underline;
  font-size: 13px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: -4px;
}

.price-main {
  font-size: 32px;
  font-weight: 800;
  color: var(--price-red);
}

.price-main .currency {
  font-size: 20px;
  vertical-align: top;
  margin-left: 2px;
}

.price-original {
  font-size: 16px;
  text-decoration: line-through;
  color: var(--price-old);
}

.price-save-badge {
  background: #fef2f2;
  color: var(--price-red);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.specs-icons-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0;
}

.spec-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.spec-icon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dark);
  line-height: 1.3;
}

.spec-icon-item .icon-circle {
  font-size: 18px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-icon-item span {
  font-weight: 500;
}

.action-row {
  display: flex;
  gap: 12px;
  margin: 4px 0;
  height: 48px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: 110px;
  flex-shrink: 0;
}

.qty-btn {
  background: white;
  border: none;
  width: 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  transition: background 0.2s;
}

.qty-btn:hover {
  background: #f3f4f6;
}

.qty-input {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.btn-cart {
  flex: 1;
  background: #ff6b00;
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-cart:hover {
  background: #e66000;
}

.btn-consult {
  flex: 0 0 160px;
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-consult:hover {
  background: #f0f8ff;
}

.btn-ai-try-full {
  width: 100%;
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
  transition: background 0.2s;
}

.btn-ai-try-full .arrow {
  margin-left: auto;
}

.btn-ai-try-full:hover {
  background: #f0f8ff;
}

/* CRB FitMatch Box */
.fitmatch-box {
  border-radius: var(--radius);
  padding: 16px 20px;
  background: #f0fdfa;
  /* light teal */
  position: relative;
  border: 1px solid #e5e7eb;
}

.fitmatch-layout {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.fitmatch-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fitmatch-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.crb-logo-text {
  font-weight: 800;
  font-size: 16px;
  color: #1e3a8a;
  /* dark blue */
  letter-spacing: -0.5px;
}

.fitmatch-header .ai-badge {
  background: #1e3a8a;
  color: white;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.fitmatch-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 2px;
}

.fitmatch-sub {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.fitmatch-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.fitmatch-form-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

.fitmatch-form-group label {
  font-size: 11px;
  color: #1e3a8a;
  font-weight: 600;
  line-height: 1.3;
}

.fitmatch-form-group select {
  width: 100%;
  padding: 8px 24px 8px 8px;
  border: 1px solid white;
  border-radius: 6px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 12px;
  background: white;
  color: var(--text-dark);
  outline: none;
  appearance: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236b7280%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 8px top 50%;
  background-size: 10px auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.fitmatch-results-area {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  margin-top: auto;
}

.fitmatch-match-score {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #22c55e;
  font-weight: 800;
  font-size: 22px;
  background: white;
  padding: 8px 16px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.fitmatch-match-score i {
  font-size: 24px;
  color: #22c55e;
}

.fitmatch-results-mid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 500;
}

.check-item i {
  color: #22c55e;
  font-size: 14px;
}

.fitmatch-right {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.fitmatch-hint-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
}

.fitmatch-hint-text {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: #0d9488;
  font-size: 12px;
  text-align: center;
  transform: rotate(-5deg);
  position: relative;
  line-height: 1.3;
}

.orange-underline-fm {
  position: absolute;
  bottom: -6px;
  left: 10%;
  width: 80%;
  height: 4px;
  border-bottom: 2px solid #f97316;
  border-radius: 50%;
  transform: rotate(3deg);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 12px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 13px;
  color: var(--text-dark);
}

.trust-item .trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item .trust-icon i {
  font-size: 18px;
  color: white;
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin: 20px 0 0;
}

.tab-btn {
  flex: 1;
  text-align: center;
  padding: 12px 24px;
  cursor: pointer;
  border: none;
  background: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-gray);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-family: 'Be Vietnam Pro', sans-serif;
  transition: color 0.2s;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
  font-weight: 700;
}

.tab-content {
  display: none;
  padding: 16px 0;
}

.tab-content.active {
  display: flex;
  gap: 32px;
}

/* Overview Top Section */
.overview-top-section {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}

.overview-text {
  flex: 5.5;
}

.overview-text h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.overview-text p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

.features-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.feature-item {
  text-align: center;
  flex: 1;
}

.feat-icon {
  width: 48px;
  height: 48px;
  background: #e0f2fe;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.feat-icon i {
  font-size: 24px;
  color: var(--primary);
}

.feature-item h3 {
  font-size: 13px;
  margin: 0 0 4px;
  color: var(--text-dark);
}

.feature-item p {
  font-size: 12px;
  color: var(--text-gray);
  margin: 0;
}

.overview-crb-suggest {
  flex: 4.5;
  align-self: flex-start;
  height: fit-content;
  background: #f0fdf4;
  border-radius: var(--radius);
  padding: 20px 20px 28px 20px;
  position: relative;
  border: 1px solid #d1fae5;
}

.crb-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crb-sub {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.suggestion-list-new {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.suggestion-list-new li {
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-dark);
  line-height: 1.4;
}

.suggestion-list-new i {
  color: var(--success);
  margin-top: 2px;
}

.watermark-handwritten {
  position: absolute;
  bottom: 10px;
  right: -20px;
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--accent);
  font-size: 14px;
  transform: rotate(-10deg);
  line-height: 1.2;
  text-align: center;
  background: white;
  padding: 4px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Overview Bottom Section */
.overview-bottom-section {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

.overview-specs-part {
  flex: 1;
}

.overview-drawing-part {
  flex: 1;
}

.section-title {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.drawing-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.drawing-header-flex .section-title {
  margin-bottom: 0;
}

.unit-text {
  font-size: 13px;
  color: var(--text-gray);
}

.drawing-img-box {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fdfdfd;
  display: flex;
  justify-content: center;
  align-items: center;
}

.drawing-img-box img {
  width: 90%;
  max-width: 400px;
  height: auto;
  border: none;
  border-radius: 0;
}

/* Specs Tab specific */
.tab-specs-left {
  flex: 1;
}

.tab-specs-right {
  flex: 1;
}

.spec-table {
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  flex: 0 0 120px;
  color: var(--text-gray);
  font-size: 13px;
}

.spec-value {
  flex: 1;
  font-weight: 500;
  font-size: 13px;
  color: var(--text-dark);
}

.drawing-box {
  text-align: center;
}

.drawing-box img {
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.drawing-text {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-gray);
}

/* Reviews Tab */
.reviews-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius);
}

.summary-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.score-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}

.score-count {
  font-size: 14px;
  color: var(--text-gray);
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-gray);
}

.rating-bar {
  flex: 1;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 3px;
}

.review-list {
  display: flex;
  flex-direction: column;
}

.review-card {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.review-card:last-child {
  border-bottom: none;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.review-content-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reviewer-name {
  font-weight: 600;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.review-date {
  color: var(--text-gray);
}

.review-content-body p {
  font-size: 14px;
  color: var(--text-dark);
  margin-top: 4px;
}

/* Warranty Cards */
.warranty-section {
  padding: 12px 0;
}

.warranty-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.warranty-card {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 0.2s;
}

.warranty-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.warranty-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.warranty-card p {
  font-size: 14px;
  color: var(--text-gray);
}

/* AI Banner */
.ai-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4fbff;
  border-radius: var(--radius);
  padding: 24px 32px;
  margin: 20px 0;
  gap: 32px;
}

.ai-banner-left {
  flex: 0 0 350px;
}

.ai-banner-left h2 {
  font-size: 24px;
  color: #1e3a8a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.ai-badge {
  background: #0d9488;
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 18px;
  vertical-align: middle;
}

.ai-banner-left p {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.btn-ai-try {
  background: #f97316;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-ai-try:hover {
  background: #ea580c;
}

.ai-banner-mid {
  display: flex;
  align-items: center;
  position: relative;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.ai-img-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  width: 200px;
  height: 130px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ai-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-img-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.ai-img-badge.before {
  background: #1e3a8a;
}

.ai-img-badge.after {
  background: #0d9488;
}

.ai-arrow-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 3;
  color: #0d9488;
  font-size: 18px;
}

.ai-banner-right {
  flex: 0 0 200px;
  display: flex;
  justify-content: flex-end;
}

.ai-watermark {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: #0d9488;
  font-size: 18px;
  transform: rotate(-5deg);
  position: relative;
  line-height: 1.3;
  text-align: right;
  margin-right: 20px;
}

.orange-underline {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 110%;
  height: 8px;
  border-bottom: 3px solid #f97316;
  border-radius: 50%;
  transform: rotate(-3deg);
}

/* Similar Products */
.similar-section {
  padding: 12px 0;
}

.similar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.similar-title {
  font-size: 20px;
  color: #1e3a8a;
  /* Dark Blue */
  font-weight: 700;
}

.similar-view-all {
  font-size: 14px;
  color: #0d9488;
  text-decoration: none;
  font-weight: 600;
}

.similar-products {
  display: flex;
  gap: 20px;
}

.similar-card-hz {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  background: white;
  transition: box-shadow 0.2s;
}

.similar-card-hz:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.similar-img-hz {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.similar-info-hz {
  flex: 1;
}

.similar-brand-logo,
.fallback-logo {
  display: block;
  height: 18px;
  margin-bottom: 4px;
  font-weight: 800;
  color: #ef4444;
  /* Red logo text */
  font-size: 15px;
  font-family: 'Be Vietnam Pro', sans-serif;
  letter-spacing: 0.5px;
}

.similar-info-hz h4 {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 4px;
  font-weight: 500;
  line-height: 1.4;
}

.price-row-hz {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-main-hz {
  color: #f97316;
  font-weight: 700;
  font-size: 16px;
}

.price-old-hz {
  color: #9ca3af;
  text-decoration: line-through;
  font-size: 13px;
}

/* Footer New */

/* Footer Contact / Hotline */


.hotline-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hotline-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0f766e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.hotline-info {
  display: flex;
  flex-direction: column;
}

.hl-label {
  font-size: 12px;
  color: #6b7280;
}

.hl-number {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

.hl-time {
  font-size: 12px;
  color: #6b7280;
}

/* Back to Top */
.btn-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  z-index: 99;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Toast */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
}

.toast {
  background: #333;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {

  /* Đẩy nút hamburger sang phải, logo bên trái */


  .mobile-menu-btn {
    display: block;
    position: relative;
    z-index: 9999;
    order: 3;
    margin-left: 16px;
    z-index: 103;
  }

  /* Overlay and sidebar menu old rules removed due to standard mobile rules appended at end of file */

  .mobile-nav-header {
    display: flex;
    position: relative;
    z-index: 10000;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
  }

  .mobile-nav-logo {
    height: 40px;
  }

  /* Phóng to logo mobile menu */
  .mobile-nav-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #111;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 24px;
    flex: 1;
    /* Đẩy footer xuống đáy */
    overflow-y: auto;
  }

  .nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
  }

  .mobile-nav-footer {
    padding: 24px;
    margin-top: auto;
  }

  .btn-mobile-consult {
    display: block;
    width: 100%;
    background: #f97316;
    color: white;
    text-align: center;
    padding: 14px 0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
  }

  .product-hero {
    flex-direction: column;
  }

  .gallery-col {
    flex: 0 0 100%;
    width: 100%;
  }

  .tab-content.active {
    flex-direction: column;
  }

  .ai-banner {
    flex-direction: column;
    text-align: center;
  }

  .ai-banner-left,
  .ai-banner-right {
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
  }

  .ai-watermark {
    text-align: center;
    margin-right: 0;
  }

  .similar-products {
    flex-wrap: wrap;
  }

  .similar-card {
    flex: 0 0 calc(50% - 8px);
  }

  /* Khối Overview & FitMatch */
  .overview-top-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .overview-crb-suggest {
    width: 100%;
    align-self: stretch;
  }

  .overview-bottom-section {
    flex-direction: column;
    gap: 24px;
  }

  .fitmatch-layout {
    flex-direction: column;
    gap: 16px;
  }

  .fitmatch-right {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 16px;
  }

  .fitmatch-hint-img {
    height: auto;
    max-width: 250px;
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {

  .header-actions .search-box,
  .header-actions .hotline,
  .main-nav-arrow,
  .thumb-nav-arrow {
    display: none !important;
  }

  .thumb-item {
    flex: 0 0 calc(40% - 12px);
    /* Hiện 2.5 ảnh để báo hiệu có thể cuộn ngang */
  }

  .product-title {
    font-size: 20px;
  }

  .price-main {
    font-size: 22px;
  }

  .trust-badges {
    gap: 12px;
  }

  .trust-item {
    flex: 0 0 calc(50% - 6px);
  }

  .reviews-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .action-row {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .qty-control,
  .btn-cart,
  .btn-consult {
    height: 48px;
    width: 100%;
    flex: none;
  }

  .specs-icons-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    padding: 16px;
  }

  .spec-icon-item {
    width: auto;
    gap: 10px;
    font-size: 13px;
  }

  .spec-icon-item .icon-circle {
    font-size: 18px;
    width: 22px;
    flex-shrink: 0;
  }

  .spec-divider {
    display: none;
  }

  .warranty-cards {
    flex-direction: column;
  }

  /* Sản phẩm tương tự */
  .similar-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .similar-products {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .similar-card {
    flex: 0 0 240px;
  }

  .similar-card-hz {
    flex-direction: column;
    flex: 0 0 240px;
    scroll-snap-align: start;
    text-align: center;
    padding: 12px;
  }

  .similar-img-hz {
    width: 100%;
    height: 160px;
  }

  .similar-info-hz {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .price-row-hz {
    justify-content: center;
  }

  .tabs {
    overflow-x: auto;
  }

  .tab-btn {
    white-space: nowrap;
  }





  .reviews-summary {
    flex-direction: column;
    align-items: stretch;
  }

  /* Thumbnails */
  .thumbnail-row {
    gap: 8px;
  }

  /* AI Banner */
  .ai-img-wrapper {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  /* Thông số kỹ thuật */
  .spec-label {
    flex: 0 0 120px;
    font-size: 12px;
  }

  .spec-value {
    font-size: 12px;
  }

  /* FitMatch AI */
  .fitmatch-results-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Watermark text on mobile */
  .watermark-text {
    font-size: 18px;
    bottom: 16px;
    left: 16px;
  }

  .watermark-curve {
    bottom: -10px;
    height: 10px;
  }
}

/* --- CSS ĐỂ LÀM TOÀN BỘ BOX CLICK ĐƯỢC (THẺ A FULL BOX) --- */
.product-card,
.article-card,
.featured-post {
  position: relative;
}

.product-card a::after,
.article-card a::after,
.featured-post a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}

/* Contact links hover state */
.contact-link:hover {
  text-decoration: underline !important;
  opacity: 0.8;
}


/* WooCommerce custom add to cart styles for single product */
.woo-custom-add-to-cart form.cart {
  display: flex;
  gap: 12px;
  margin: 4px 0;
  height: 48px;
  width: 100%;
}

.woo-custom-add-to-cart form.cart .quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: 110px;
  flex-shrink: 0;
}

.woo-custom-add-to-cart form.cart .quantity input.qty {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  font-family: "Be Vietnam Pro", sans-serif;
  -moz-appearance: textfield;
  appearance: textfield;
}

.woo-custom-add-to-cart form.cart .quantity input.qty::-webkit-outer-spin-button,
.woo-custom-add-to-cart form.cart .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.woo-custom-add-to-cart form.cart button.single_add_to_cart_button {
  flex: 1;
  background: #ff6b00;
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  height: 100%;
}

.woo-custom-add-to-cart form.cart button.single_add_to_cart_button:hover {
  background: #e66000;
}

.woo-custom-price .price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: -4px;
}

.woo-custom-price .price ins,
.woo-custom-price .price>span.amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--price-red);
  text-decoration: none;
}

.woo-custom-price .price del {
  font-size: 16px;
  text-decoration: line-through;
  color: var(--price-old);
}

/* ============================================================
   COLLAPSIBLE SECTIONS (Tổng quan & Thông số kỹ thuật)
   ============================================================ */

/* 1. Tổng quan sản phẩm */
.product-content-wrap {
  position: relative;
  margin-bottom: 24px;
}

.product-content-wrap.is-collapsed .product-content {
  max-height: 380px;
  overflow: hidden;
  position: relative;
}

.product-content-wrap.is-collapsed .product-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 60%, #ffffff 100%);
  pointer-events: none;
  z-index: 2;
}

.product-content-wrap.is-expanded .product-content {
  max-height: none;
}

/* 2. Thông số kỹ thuật */
.specs-table-wrap {
  position: relative;
}

.specs-table-wrap.is-collapsed .spec-table {
  max-height: 310px;
  overflow: hidden;
  position: relative;
}

.specs-table-wrap.is-collapsed .spec-table::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 60%, #ffffff 100%);
  pointer-events: none;
  z-index: 2;
}

.specs-table-wrap.is-expanded .spec-table {
  max-height: none;
}

/* 3. Nút Xem thêm / Thu gọn chung */
.expand-btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  position: relative;
  z-index: 3;
}

.btn-expand-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  background: #ffffff;
  color: var(--primary, #1b5b6e);
  border: 1.5px solid var(--primary, #1b5b6e);
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(27, 91, 110, 0.08);
}

.btn-expand-more:hover {
  background: var(--primary, #1b5b6e);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(27, 91, 110, 0.22);
  transform: translateY(-1px);
}

.btn-expand-more:active {
  transform: translateY(0);
}

.btn-expand-more i {
  font-size: 11px;
  transition: transform 0.25s ease;
}

/* Product gallery: contain full-size uploads without stretching the page. */
.container-main .product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  margin-inline: 0;
  align-items: start;
}
.container-main .product-hero > .gallery-col,
.container-main .product-hero > .info-col {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-inline: 0;
  flex: none;
}
.product-hero .main-image-wrap {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}
.product-hero .main-image-wrap > img#main-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  object-fit: contain;
  object-position: center;
}
.product-hero .thumbnail-slider-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.product-hero .thumbnail-row {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  overflow-x: auto;
}
.product-hero .thumb-nav-arrow {
  flex: 0 0 28px;
  width: 28px;
}
.product-hero .thumb-item {
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: 0;
}
.product-hero .thumb-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}
.product-hero .thumb-item span {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
  box-sizing: border-box;
  padding-inline: 2px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.container-main .product-content img,
.container-main .product-desc img {
  max-width: 100% !important;
  height: auto !important;
}
@media (max-width: 767px) {
  .container-main .product-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .product-hero .main-image-wrap {
    max-height: 420px;
  }
}

/* Native WooCommerce reviews: scoped to the product review tab. */
#tab-reviews {
  --review-ink: #183e49;
  --review-muted: #596d75;
  --review-border: #dce7ea;
  --review-surface: #f4f8f9;
  flex-direction: column;
  gap: 24px;
}
#tab-reviews #reviews {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
  color: var(--review-ink);
}
#tab-reviews #comments,
#tab-reviews #review_form_wrapper {
  min-width: 0;
  margin: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--review-border);
  border-radius: 18px;
  background: #fff;
}
#tab-reviews #review_form_wrapper {
  background: linear-gradient(145deg, #f1f8f8, #fff 65%);
  border-top: 3px solid var(--primary, #1b5b6e);
  box-shadow: 0 12px 32px rgba(24, 62, 73, 0.06);
}
#tab-reviews .woocommerce-Reviews-title,
#tab-reviews #reply-title {
  display: block;
  margin: 0 0 22px;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.3px;
  color: var(--review-ink);
  overflow-wrap: anywhere;
}
#tab-reviews .woocommerce-noreviews {
  margin: 0;
  padding: 28px 20px;
  background: var(--review-surface);
  border: 1px dashed #bdced3;
  border-radius: 12px;
  color: var(--review-muted);
  text-align: center;
  line-height: 1.8;
}
#tab-reviews #review_form #respond { margin: 0; padding: 0; }
#tab-reviews #review_form #respond p { margin: 0 0 20px; line-height: 1.65; }
#tab-reviews .comment-notes,
#tab-reviews .logged-in-as,
#tab-reviews .must-log-in,
#tab-reviews .woocommerce-verification-required {
  color: var(--review-muted);
  font-size: 13px;
  line-height: 1.7;
}
#tab-reviews a { color: var(--primary, #1b5b6e); text-underline-offset: 3px; }
#tab-reviews .comment-form label,
#tab-reviews .comment-form-rating > label {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--review-ink);
}
#tab-reviews .required { color: #b74a14; }
#tab-reviews #review_form input[type="text"],
#tab-reviews #review_form input[type="email"],
#tab-reviews #review_form input[type="url"],
#tab-reviews #review_form textarea,
#tab-reviews #review_form select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #bdcfd5;
  border-radius: 10px;
  background: #fff;
  color: var(--review-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
#tab-reviews #review_form textarea { min-height: 156px; resize: vertical; }
#tab-reviews #review_form input:focus,
#tab-reviews #review_form textarea:focus,
#tab-reviews #review_form select:focus {
  border-color: var(--primary, #1b5b6e);
  box-shadow: 0 0 0 3px rgba(27, 91, 110, 0.12);
  outline: 2px solid transparent;
}
#tab-reviews a:focus-visible,
#tab-reviews #submit:focus-visible {
  outline: 3px solid var(--primary, #1b5b6e);
  outline-offset: 4px;
}
#tab-reviews .comment-form-rating {
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid var(--review-border);
  border-radius: 12px;
  background: #fff;
}
#tab-reviews #review_form .stars { margin-bottom: 0; font-size: 24px; }
#tab-reviews .stars a { color: #d97706; }
#tab-reviews .comment-form-cookies-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
#tab-reviews .comment-form-cookies-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--primary, #1b5b6e);
}
#tab-reviews .comment-form-cookies-consent label {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--review-muted);
}
#tab-reviews #review_form #respond .form-submit { margin: 24px 0 0; }
#tab-reviews #review_form #respond .form-submit input#submit {
  width: 100%;
  min-height: 48px;
  padding: 13px 24px;
  border: 0;
  border-radius: 10px;
  background: var(--primary, #1b5b6e);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(27, 91, 110, 0.16);
  transition: background 160ms ease, box-shadow 160ms ease;
}
#tab-reviews #review_form #respond .form-submit input#submit:hover {
  background: #123e4c;
  box-shadow: 0 7px 16px rgba(27, 91, 110, 0.22);
}
#tab-reviews #comments ol.commentlist { margin: 0; padding: 0; list-style: none; }
#tab-reviews #comments ol.commentlist li { margin: 0 0 20px; padding: 0; }
#tab-reviews #comments ol.commentlist li .comment_container {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
}
#tab-reviews #comments ol.commentlist li img.avatar {
  position: static;
  float: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
}
#tab-reviews #comments ol.commentlist li .comment-text {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--review-border);
  border-radius: 12px;
  background: #fafcfc;
  overflow-wrap: anywhere;
}
#tab-reviews .comment-text .star-rating { color: #d97706; margin-bottom: 10px; }
#tab-reviews .comment-text .meta { font-size: 13px; line-height: 1.8; color: var(--review-muted); }
#tab-reviews .woocommerce-review__author { color: var(--review-ink); }
#tab-reviews .woocommerce-review__verified { color: #26704a; }
#tab-reviews .comment-text .description { clear: both; font-size: 14px; line-height: 1.8; }
#tab-reviews .comment-text .description p:last-child { margin-bottom: 0; }
#tab-reviews #reviews > .clear { display: none; }
#tab-reviews #reviews > .woocommerce-verification-required { grid-column: 1 / -1; }
@media (max-width: 767px) {
  #tab-reviews #reviews { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  #tab-reviews #comments,
  #tab-reviews #review_form_wrapper { padding: 20px 16px; border-radius: 14px; }
  #tab-reviews #comments ol.commentlist li .comment_container { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; }
  #tab-reviews #comments ol.commentlist li img.avatar { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  #tab-reviews #review_form input,
  #tab-reviews #review_form textarea,
  #tab-reviews #review_form select { transition: none !important; }
}
