/* --- UPGRADE: Product Detail Visual Enhancement (Hương Chuối) --- */
.upgraded-gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.2rem;
  margin-top: 0.5rem;
}
.gallery-thumb {
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 2px 12px 0 rgba(37,99,235,0.07);
  border: 1.5px solid #e5e7eb;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s;
  text-align: center;
}
.gallery-thumb:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(37,99,235,0.13);
  border-color: #2563eb33;
}
.gallery-thumb img {
  border-radius: 0.7rem;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  box-shadow: 0 1px 6px 0 rgba(37,99,235,0.06);
}
.gallery-thumb figcaption {
  font-size: 0.97rem;
  color: #2563eb;
  margin-bottom: 0.5rem;
  opacity: 0.92;
}

.upgraded-price {
  background: linear-gradient(90deg,#f0f6ff 60%,#e0f2fe 100%);
  border-radius: 1.1rem;
  box-shadow: 0 2px 12px 0 rgba(37,99,235,0.07);
  padding: 1.1rem 1.5rem 0.7rem 1.5rem;
  margin-bottom: 1.1rem;
  border: 1.5px solid #e0e7ef;
  display: inline-block;
}
.highlight-price {
  color: #2563eb;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px #2563eb22;
}
.promo-badge {
  background: #2563eb;
  color: #fff;
  border-radius: 0.7em;
  padding: 0.13em 0.7em;
  font-size: 0.93em;
  margin-left: 0.5em;
  font-weight: 500;
  box-shadow: 0 1px 4px #2563eb33;
}

.upgraded-nutrition-table {
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1.5px solid #e0e7ef;
  box-shadow: 0 2px 12px 0 rgba(37,99,235,0.07);
  background: linear-gradient(90deg,#f8fafc 60%,#e0f2fe 100%);
  margin-bottom: 1.2rem;
}
.upgraded-nutrition-table th, .upgraded-nutrition-table td {
  padding: 0.7em 1.2em;
  font-size: 1.07em;
}
.upgraded-nutrition-table th {
  background: #e0f2fe;
  color: #2563eb;
  font-weight: 700;
}
.upgraded-nutrition-table tr:not(:first-child) td {
  border-top: 1px solid #e0e7ef;
}
.upgraded-nutrition-table td strong {
  color: #2563eb;
}

/* Hiệu ứng box-shadow cho các khối chính */
.product-detail-section, .product-detail-info, .product-detail-media {
  box-shadow: 0 2px 12px 0 rgba(37,99,235,0.07);
  border-radius: 1.1rem;
  margin-bottom: 2.2rem;
}
.product-detail-section h2, .product-detail-section h3 {
  color: #2563eb;
}
@media (max-width: 600px) {
  .upgraded-gallery-thumbnails {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
  .upgraded-price {
    padding: 0.7rem 0.7rem 0.5rem 0.7rem;
  }
  .upgraded-nutrition-table th, .upgraded-nutrition-table td {
    padding: 0.5em 0.5em;
    font-size: 0.97em;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563eb;
  --secondary-color: #0ea5e9;
  --accent-color: #f59e0b;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --card-shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: #fff;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Navigation */
header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1rem;
}

.btn-primary {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 1.25rem;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Products Section */
.featured-products {
  padding: 4rem 1rem;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-color);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

.product-badge.popular {
  background: var(--success-color);
}

.product-badge.new {
  background: var(--primary-color);
}

.product-image {
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.product-image img {
  max-width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  min-height: 2.5rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.btn-order {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.btn-order:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Contact Section */
.local-nap {
  background: white;
  padding: 3rem 1rem;
  border-top: 1px solid var(--border-color);
}

.local-nap h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.local-nap p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.local-nap a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.local-nap a:hover {
  text-decoration: underline;
}

/* B2B Section */
.b2b-solutions {
  background: var(--bg-light);
  padding: 4rem 1rem;
}

.b2b-solutions h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1rem;
  color: var(--text-dark);
  text-align: center;
}

.b2b-solutions > p {
  text-align: center;
  font-size: 1.125rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.b2b-item {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
}

.b2b-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.b2b-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.b2b-item ul {
  list-style: none;
}

.b2b-item li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
}

.b2b-item li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: 700;
  font-size: 1.125rem;
}

.b2b-cta {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  max-width: 800px;
  margin: 0 auto;
}

.b2b-cta p {
  font-size: 1.125rem;
  margin: 0;
}

.b2b-cta a {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
}

.b2b-cta a:hover {
  text-decoration: underline;
}

/* Reviews Section */
.reviews-section {
  background: white;
  padding: 4rem 1rem;
  border-top: 1px solid var(--border-color);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
  border-left: 4px solid var(--accent-color);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.review-stars {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.review-author strong {
  font-size: 1.125rem;
  color: var(--text-dark);
}

.review-author span {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Why Choose Us Section */
.why-choose-us {
  background: white;
  padding: 4rem 1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-light);
  border-radius: 1rem;
  transition: all 0.3s;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  background: white;
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-light);
  padding: 4rem 1rem;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s;
}

.faq-item:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateX(4px);
}

.faq-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
}

.faq-item h3::before {
  content: "Q: ";
  color: var(--primary-color);
  font-weight: 700;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.faq-item p {
  color: var(--text-dark);
  line-height: 1.7;
  padding-left: 2rem;
}

.faq-item p::before {
  content: "A: ";
  color: var(--success-color);
  font-weight: 700;
  margin-left: -2rem;
  margin-right: 0.5rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--text-dark) 0%, #0f172a 100%);
  color: white;
  padding: 3rem 1rem 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-section h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-section p {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin: 0.5rem 0;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
    font-size: 0.875rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}

/* Gallery Grid (for product pages) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.gallery-grid figure {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
}

.gallery-grid figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.gallery-grid img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.gallery-grid figcaption {
  text-align: center;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

/* Product page refresh */
body.product-page {
  background: var(--bg-light);
}

body.product-page main {
  padding-bottom: 5.5rem;
}

body.modal-open {
  overflow: hidden;
}

.product-hero {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 45%, #38bdf8 100%);
  border-radius: 2rem;
  padding: clamp(2.5rem, 6vw, 4rem);
  color: white;
  margin: 2.5rem 0 3rem;
  box-shadow: var(--card-shadow-hover);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3rem);
  align-items: stretch;
}

.product-eyebrow {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.product-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.product-hero-content p {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  opacity: 0.95;
}

.product-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.chip:hover,
.chip.is-active {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.product-filter-chips .chip {
  color: var(--text-dark);
  border-color: var(--border-color);
  background: white;
}

.product-filter-chips .chip:hover,
.product-filter-chips .chip.is-active {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.product-filter-chips button {
  border: none;
  cursor: pointer;
  font: inherit;
}

.product-hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-hero .note {
  font-size: 0.9rem;
  opacity: 0.85;
}

.product-hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-highlight-card {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 1.5rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-highlight-card h2 {
  font-size: 1.25rem;
}

.product-highlight-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.product-highlight-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.product-highlight-card li::before {
  content: "•";
  font-size: 1.25rem;
  line-height: 1;
  color: #38bdf8;
}

.product-highlight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.product-highlight-footer .label {
  background: rgba(59, 130, 246, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
}

.product-highlight-footer .inline-link {
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.product-highlight-footer .inline-link:hover {
  text-decoration: underline;
}

.product-score-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.score-title {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.35rem;
}

.score-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.product-insights {
  margin: 3.5rem 0;
  display: grid;
  gap: 2rem;
}

.product-insights-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.product-insights-header p {
  color: var(--text-light);
  max-width: 700px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.insights-grid article {
  background: white;
  padding: 1.75rem;
  border-radius: 1.25rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.testimonial-showcase {
  margin: 3.5rem 0;
  display: grid;
  gap: 2rem;
}

.testimonial-header {
  display: grid;
  gap: 0.75rem;
}

.testimonial-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.3rem);
}

.testimonial-header p {
  color: var(--text-light);
  max-width: 720px;
}

.testimonial-carousel {
  position: relative;
  background: white;
  border-radius: 2rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 100%);
  transition: transform 0.5s ease;
}

.testimonial-card {
  display: grid;
  gap: 1rem;
  padding: 0 0.5rem;
}

.testimonial-card[hidden] {
  display: none;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-client {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

.testimonial-quote {
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-dark);
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-quote::before {
  content: "“";
  font-size: 2.5rem;
  color: var(--primary-color);
  position: absolute;
  top: -0.5rem;
  left: 0;
}

.testimonial-rating span {
  color: #facc15;
  font-size: 1.25rem;
  letter-spacing: 0.15rem;
}

.testimonial-controls {
  position: absolute;
  inset: 50% 1.5rem auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.testimonial-nav {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s ease, transform 0.3s ease;
}

.testimonial-nav:hover,
.testimonial-nav:focus-visible {
  background: rgba(37, 99, 235, 0.15);
  transform: translateY(-2px);
  outline: none;
}

.testimonial-dots {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.testimonial-dot {
  border-radius: 999px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border-color);
  background: white;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.testimonial-dot.is-active {
  border-color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
}

.testimonial-dot:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
}

.insights-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.product-catalog {
  background: white;
  border-radius: 2rem;
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 2rem;
}

.catalog-header {
  display: grid;
  gap: 1rem;
}

.catalog-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.3rem);
}

.catalog-header .section-description {
  color: var(--text-light);
  max-width: 680px;
}

.product-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-filter-summary {
  font-size: 0.9rem;
  color: var(--text-light);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.product-grid .product-card.is-hidden {
  display: none;
}

.product-grid-empty {
  margin-top: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 1.25rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px dashed rgba(37, 99, 235, 0.3);
  color: var(--text-dark);
  text-align: center;
  line-height: 1.6;
}

.product-grid-empty strong {
  display: block;
  margin-bottom: 0.25rem;
}

.product-grid-empty a {
  color: var(--primary-color);
  font-weight: 600;
}

body.product-page .product-card {
  background: #f8fafc;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

body.product-page .product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.product-card-media {
  position: relative;
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-media img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.product-card-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--primary-color);
  color: white;
  box-shadow: var(--card-shadow);
}

.product-card-badge.popular {
  background: var(--success-color);
}

.product-card-badge.featured,
.product-card-badge.pro,
.product-card-badge.new {
  background: var(--accent-color);
}

.product-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-card-header h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.product-card-pack {
  font-size: 0.9rem;
  color: var(--text-light);
}

.product-card-desc {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.product-card-pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-content: start;
}

.product-card-pricing div {
  background: white;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.product-card-pricing dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.product-card-pricing dd {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
}

.product-card-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.product-card-meta li {
  display: flex;
  gap: 0.5rem;
}

.product-card-meta li::before {
  content: "•";
  color: var(--primary-color);
  font-weight: 700;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-order {
  background: var(--primary-color);
  color: white;
  padding: 0.65rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-order:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.btn-add-cart {
  background: white;
  color: var(--primary-color);
  border: 1px solid rgba(37, 99, 235, 0.4);
  border-radius: 0.75rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.btn-add-cart:hover,
.btn-add-cart:focus-visible {
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.product-card-sku {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-comparison {
  margin: 3rem 0;
}

.comparison-card {
  background: white;
  border-radius: 1.75rem;
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--card-shadow);
}

.comparison-card h2 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin-bottom: 1.5rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.comparison-grid h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.comparison-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.comparison-grid li strong {
  color: var(--text-dark);
}

.b2b-showcase {
  margin: 4rem 0;
  display: grid;
  gap: 2rem;
}

.b2b-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  margin-bottom: 0.5rem;
}

.b2b-header p {
  color: var(--text-light);
}

.b2b-grid.advanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.b2b-card {
  background: #0f172a;
  color: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.b2b-card h3 {
  font-size: 1.25rem;
  color: #38bdf8;
}

.b2b-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.b2b-card li::before {
  content: "•";
  margin-right: 0.5rem;
  color: rgba(148, 197, 255, 0.9);
}

.b2b-cta.modern {
  text-align: center;
  padding: 1.5rem 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--card-shadow-hover);
}

.b2b-cta.modern a {
  color: white;
  font-size: 1.4rem;
  text-decoration: none;
}

.policy-summary {
  background: white;
  border-radius: 2rem;
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 2rem;
}

.policy-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.policy-header p {
  color: var(--text-light);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.policy-grid article {
  background: var(--bg-light);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.policy-grid h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.policy-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.policy-grid li::before {
  content: "•";
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.faq-accordion {
  margin: 4rem 0;
  display: grid;
  gap: 1.5rem;
}

.faq-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.faq-header p {
  color: var(--text-light);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  background: white;
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::after {
  content: "＋";
  font-weight: 700;
  color: var(--primary-color);
}

.faq-list details[open] summary::after {
  content: "－";
}

.faq-list details div {
  margin-top: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-pane {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #38bdf8 100%);
  border-radius: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: white;
  box-shadow: var(--card-shadow-hover);
}

.contact-content {
  display: grid;
  gap: 1.25rem;
  max-width: 760px;
}

.contact-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.contact-content p {
  font-size: 1rem;
  opacity: 0.9;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta.secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cta.secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.contact-footnote {
  font-size: 0.85rem;
  opacity: 0.8;
}

.sticky-utility-bar {
  --sticky-translate-x: -50%;
  --sticky-translate-y: 0;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate3d(var(--sticky-translate-x), var(--sticky-translate-y), 0);
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: white;
  box-shadow: var(--card-shadow-hover);
  z-index: 250;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
  opacity: 1;
}

.sticky-utility-bar.is-hidden {
  --sticky-translate-y: calc(100% + 2.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sticky-utility-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  border: none;
  color: inherit;
  transition: transform 0.3s ease, background 0.3s ease;
}

.sticky-utility-item:hover,
.sticky-utility-item:focus-visible {
  transform: translateY(-2px);
  background: rgba(148, 163, 184, 0.15);
  outline: none;
}

.sticky-utility-item.primary {
  background: var(--primary-color);
  color: white;
}

.sticky-utility-item.primary:hover,
.sticky-utility-item.primary:focus-visible {
  background: var(--secondary-color);
}

.sticky-utility-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.sticky-utility-item.cart-trigger {
  background: rgba(148, 163, 184, 0.12);
}

.sticky-utility-item.cart-trigger:hover,
.sticky-utility-item.cart-trigger:focus-visible {
  background: rgba(37, 99, 235, 0.15);
}

.quick-order-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 300;
}

.quick-order-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quick-order-card {
  background: white;
  border-radius: 1.5rem;
  width: min(100%, 560px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  box-shadow: var(--card-shadow-hover);
  display: grid;
  gap: 1.25rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(148, 163, 184, 0.2);
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(37, 99, 235, 0.15);
  transform: rotate(90deg);
  outline: none;
}

.quick-order-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--text-dark);
}

.quick-order-header p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.quick-order-form {
  display: grid;
  gap: 1rem;
}

.quick-order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.quick-order-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.quick-order-field label,
.quick-order-form legend {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
}

.quick-order-form input,
.quick-order-form select,
.quick-order-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  font: inherit;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quick-order-form input:focus,
.quick-order-form select:focus,
.quick-order-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.quick-order-options {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}

.quick-order-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.quick-order-submit {
  background: var(--primary-color);
  color: white;
  padding: 0.85rem 1.5rem;
  border-radius: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.quick-order-submit:hover,
.quick-order-submit:focus-visible {
  background: var(--secondary-color);
  transform: translateY(-2px);
  outline: none;
}

.quick-order-footnote {
  font-size: 0.85rem;
  color: var(--text-light);
}

.quick-order-feedback {
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--text-dark);
  font-size: 0.95rem;
}

.quick-order-feedback:focus {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 4px;
}

.cart-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 280;
}

.cart-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-modal-card {
  width: min(680px, 100%);
  background: white;
  border-radius: 1.75rem;
  box-shadow: var(--card-shadow-hover);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  overflow: hidden;
}

.cart-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-modal-header h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
}

.cart-modal-close {
  background: rgba(148, 163, 184, 0.2);
  border: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cart-modal-close:hover,
.cart-modal-close:focus-visible {
  background: rgba(37, 99, 235, 0.18);
  transform: rotate(90deg);
  outline: none;
}

.cart-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.75rem 2rem;
  display: grid;
  gap: 1rem;
}

.cart-modal-footer {
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 2rem 1.75rem;
  display: grid;
  gap: 1rem;
  background: rgba(248, 250, 252, 0.75);
}

.cart-item {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--bg-light);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.cart-item-name {
  font-weight: 600;
  font-size: 1rem;
}

.cart-item-sku {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
}

.cart-qty button {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-dark);
}

.cart-qty input {
  width: 2.5rem;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 600;
  color: var(--text-dark);
}

.cart-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary-color);
}

.cart-remove {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cart-remove:hover,
.cart-remove:focus-visible {
  color: var(--primary-color);
  outline: none;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.cart-checkout {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0.9rem;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cart-checkout[disabled] {
  background: rgba(148, 163, 184, 0.4);
  cursor: not-allowed;
}

.cart-checkout:not([disabled]):hover,
.cart-checkout:not([disabled]):focus-visible {
  background: var(--secondary-color);
  transform: translateY(-2px);
  outline: none;
}

.cart-note {
  font-size: 0.85rem;
  color: var(--text-light);
}

.cart-empty {
  font-size: 0.95rem;
  color: var(--text-light);
  background: rgba(148, 163, 184, 0.1);
  padding: 1rem 1.25rem;
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .sticky-utility-bar {
    left: auto;
    right: 2rem;
    --sticky-translate-x: 0;
  }

  .cart-modal-card {
    max-width: 640px;
  }
}

@media (min-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-sidebar {
    flex-direction: column;
  }

  .product-score-card {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 768px) {
  body.product-page main {
    padding-bottom: 7.5rem;
  }

  .product-hero {
    margin-top: 1.5rem;
    border-radius: 1.5rem;
  }

  .product-card-pricing {
    grid-template-columns: 1fr;
  }

  .product-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-filter-chips {
    gap: 0.5rem;
  }

  .chip {
    font-size: 0.8rem;
  }

  .comparison-card {
    padding: 2rem 1.5rem;
  }

  .policy-grid,
  .b2b-grid.advanced,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .testimonial-controls {
    display: none;
  }

  .testimonial-dot {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }

  .sticky-utility-bar {
    left: 1rem;
    right: 1rem;
    transform: none;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0));
    border-radius: 1.25rem;
    padding: 0.5rem;
  }

  .sticky-utility-item {
    flex: 1;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.55rem 0.75rem;
  }

  .quick-order-card {
    padding: 1.5rem;
  }

  .cart-modal-card {
    width: 100%;
    border-radius: 1.25rem;
    margin: 1.5rem 1rem;
  }

  .cart-modal-header,
  .cart-modal-body,
  .cart-modal-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .btn-add-cart {
    flex: 1;
    text-align: center;
  }
}
/* Trust Badges */
.trust-badges {
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  margin-top: 4rem;
}

.badge-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.badge-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-size: 1.5rem;
  color: #2c3e50;
  font-weight: 700;
}

.badge-text span {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-top: 0.25rem;
}

/* Map Section */
.map-section {
  padding: 4rem 1rem;
  background: white;
}

.map-container {
  max-width: 1200px;
  margin: 2rem auto 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Floating Contact Buttons */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  animation: floatPulse 2s ease-in-out infinite;
}

.float-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(0,0,0,0.3);
  animation: none;
}

.float-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.float-btn span {
  color: white;
  white-space: nowrap;
}

.zalo-btn {
  background: linear-gradient(135deg, #0068FF 0%, #0088FF 100%);
}

.phone-btn {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.messenger-btn {
  background: linear-gradient(135deg, #0078FF 0%, #0084FF 100%);
}

@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Enhanced animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card, .review-card, .benefit-card, .faq-item {
  animation: fadeInUp 0.6s ease-out;
}

/* Mobile optimization for floating buttons */
@media (max-width: 768px) {
  .floating-contact {
    right: 15px;
    bottom: 15px;
    gap: 10px;
  }
  
  .float-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .float-btn span {
    display: none;
  }
  
  .float-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  
  .badge-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Enhanced Navigation */
.nav-phone {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-phone:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

/* Language Switcher Dropdown */
.language-switcher {
  position: relative;
}

.language-switcher .current-lang {
  cursor: pointer;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  transition: all 0.3s ease;
  -webkit-user-select: none;
  user-select: none;
}

.language-switcher .current-lang:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.language-switcher .lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  padding: 0.5rem 0;
  z-index: 1000;
  list-style: none;
  animation: dropdownFadeIn 0.3s ease;
}

/* Create invisible bridge between button and dropdown */
.language-switcher .lang-dropdown::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
  background: transparent;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.language-switcher:hover .lang-dropdown {
  display: block;
}

.language-switcher .lang-dropdown li {
  margin: 0;
  padding: 0;
}

.language-switcher .lang-dropdown a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  white-space: nowrap;
}

.language-switcher .lang-dropdown a:hover {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
  color: var(--primary-color);
  padding-left: 1.5rem;
}

.language-switcher .lang-dropdown a.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
}

.language-switcher .lang-dropdown a.active:hover {
  background: linear-gradient(135deg, #5568d3 0%, #653a8b 100%);
  color: white;
}

/* Breadcrumb */
.breadcrumb {
  background: #f8f9fa;
  padding: 0.75rem 1rem;
  margin-top: 70px;
}

.breadcrumb ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.9rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 0.5rem;
  color: #6c757d;
}

.breadcrumb a {
  color: #4A90E2;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #2E5C8A;
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: #6c757d;
}

/* Stats Counter Section */
.stats-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 4rem 1rem;
  margin-top: 4rem;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  color: white;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.95;
}

/* Strong CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  padding: 4rem 1rem;
  text-align: center;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-text {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-text strong {
  font-size: 1.4rem;
  text-decoration: underline;
  text-decoration-style: wavy;
}

.cta-buttons-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.primary-cta {
  background: white;
  color: #f5576c;
}

.primary-cta:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.secondary-cta {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 2px solid white;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.secondary-cta:hover {
  background: white;
  color: #f5576c;
}

.cta-note {
  color: white;
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 1rem;
}

/* Pulse animation for CTA */
@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  50% {
    box-shadow: 0 8px 30px rgba(245, 87, 108, 0.5);
  }
}

.primary-cta {
  animation: ctaPulse 2s ease-in-out infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .breadcrumb {
    margin-top: 60px;
    font-size: 0.8rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .nav-phone {
    order: -1;
    width: 100%;
    text-align: center;
  }
  
  .language-switcher {
    width: 100%;
    text-align: center;
  }
  
  .language-switcher .current-lang {
    display: block;
    width: 100%;
  }
  
  .language-switcher .lang-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 90%;
    max-width: 300px;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .cta-banner h2 {
    font-size: 1.75rem;
  }
  
  .cta-text {
    font-size: 1rem;
  }
  
  .cta-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   ADVANCED CSS FEATURES (2025+)
   All free, zero-JS, progressive enhancement
   ============================================ */

/* --- 1. View Transitions API --- */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vt-fade-out 0.25s ease-out;
}

::view-transition-new(root) {
  animation: vt-fade-in 0.3s ease-in;
}

@keyframes vt-fade-out {
  from { opacity: 1; filter: blur(0); }
  to   { opacity: 0; filter: blur(4px); }
}

@keyframes vt-fade-in {
  from { opacity: 0; filter: blur(4px); }
  to   { opacity: 1; filter: blur(0); }
}

/* Named view-transition for hero section */
.hero { view-transition-name: hero-section; }
.logo { view-transition-name: site-logo; }

/* --- 2. CSS Scroll-Driven Animations --- */
@supports (animation-timeline: view()) {
  .review-card,
  .benefit-card,
  .b2b-item,
  .faq-item,
  .trust-badge,
  .stat-item {
    animation: scroll-fade-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }

  /* Product cards: fade only, no scale to preserve image sizing */
  .product-card {
    animation: scroll-fade-product linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }

  @keyframes scroll-fade-in {
    from {
      opacity: 0;
      translate: 0 40px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }

  @keyframes scroll-fade-product {
    from {
      opacity: 0;
      translate: 0 30px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }

  /* Staggered entrance for product grid */
  .product-card:nth-child(3n+2) {
    animation-range: entry 5% entry 45%;
  }
  .product-card:nth-child(3n+3) {
    animation-range: entry 10% entry 50%;
  }

  /* Header shrink on scroll */
  header {
    animation: header-shrink linear both;
    animation-timeline: scroll();
    animation-range: 0px 200px;
  }

  @keyframes header-shrink {
    from { padding-block: 1rem; }
    to   { padding-block: 0.5rem; box-shadow: 0 4px 12px rgb(0 0 0 / 0.12); }
  }

  /* Progress indicator at top of page */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform-origin: left;
    z-index: 9999;
    animation: scroll-progress linear both;
    animation-timeline: scroll();
  }

  @keyframes scroll-progress {
    from { scale: 0 1; }
    to   { scale: 1 1; }
  }
}

/* --- 3. CSS Container Queries --- */
/* Note: container-type removed from product-card/.product-info to prevent image display issues */

.b2b-item {
  container-type: inline-size;
  container-name: b2b-card;
}

@container b2b-card (min-width: 350px) {
  .b2b-item h3 {
    font-size: 1.35rem;
  }
  .b2b-item li {
    font-size: 1.05rem;
  }
}

.review-card {
  container-type: inline-size;
  container-name: review-card;
}

@container review-card (min-width: 380px) {
  .review-text {
    font-size: 1.1rem;
  }
  .review-author strong {
    font-size: 1.2rem;
  }
}

/* --- 4. content-visibility for off-screen sections --- */
.b2b-solutions,
.stats-section,
.reviews-section,
.why-choose-us,
.faq-section,
.cta-banner,
.trust-badges,
.map-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* --- 5. text-wrap: balance for headings --- */
h1, h2, h3,
.hero-subtitle,
.section-subtitle,
.cta-text {
  text-wrap: balance;
}

/* Long descriptions should wrap prettier */
.product-desc,
.review-text,
.faq-item p {
  text-wrap: pretty;
}

/* --- 6. scrollbar-gutter to prevent layout shift --- */
html {
  scrollbar-gutter: stable;
}

/* --- 7. Dark Mode --- */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #60a5fa;
    --secondary-color: #38bdf8;
    --accent-color: #fbbf24;
    --text-dark: #f1f5f9;
    --text-light: #94a3b8;
    --bg-light: #0f172a;
    --border-color: #334155;
    --success-color: #34d399;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --card-shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
  }

  body {
    background: #0f172a;
    color: #f1f5f9;
  }

  header {
    background: #1e293b;
    border-bottom-color: #334155;
  }

  .product-card,
  .b2b-item,
  .review-card,
  .faq-item,
  .benefit-card {
    background: #1e293b;
    border-color: #334155;
  }

  .product-image {
    background: linear-gradient(to bottom, #1e293b, #0f172a);
  }

  .local-nap {
    background: #1e293b;
    border-top-color: #334155;
  }

  .reviews-section {
    background: #0f172a;
    border-top-color: #334155;
  }

  .hero {
    background: linear-gradient(135deg, #1e40af 0%, #581c87 100%);
  }

  footer {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
  }

  .b2b-solutions {
    background: #0f172a;
  }

  .featured-products {
    background: #0f172a;
  }

  .why-choose-us {
    background: #1e293b;
  }

  .faq-section {
    background: #0f172a;
  }

  .benefit-card {
    background: #0f172a;
  }

  .benefit-card:hover {
    background: #1e293b;
  }

  .breadcrumb {
    background: #1e293b;
  }

  .breadcrumb li[aria-current="page"] {
    color: #94a3b8;
  }

  .trust-badges {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  }

  .trust-badge {
    background: #1e293b;
  }

  .badge-text strong {
    color: #f1f5f9;
  }

  .badge-text span {
    color: #94a3b8;
  }

  .b2b-cta {
    background: #1e293b;
  }

  .map-section {
    background: #0f172a;
  }

  .language-switcher .lang-dropdown {
    background: #1e293b;
  }

  .language-switcher .lang-dropdown a {
    color: #f1f5f9;
  }

  .language-switcher .lang-dropdown a:hover {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e293b 100%);
    color: #60a5fa;
  }

  /* Product page dark mode */
  body.product-page {
    background: #0f172a;
  }

  body.product-page .product-card {
    background: #1e293b;
    border-color: #334155;
  }

  .product-card-media {
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.15) 0%, rgba(30, 58, 138, 0.05) 100%);
  }

  .product-card-body {
    color: #f1f5f9;
  }

  .product-card-pricing div {
    background: #0f172a;
    border-color: #334155;
  }

  .product-catalog {
    background: #1e293b;
  }

  .product-filter-chips .chip {
    color: #f1f5f9;
    border-color: #475569;
    background: #0f172a;
  }

  .quick-order-card {
    background: #1e293b;
    color: #f1f5f9;
  }

  .quick-order-form input,
  .quick-order-form select,
  .quick-order-form textarea {
    background: #0f172a;
    border-color: #475569;
    color: #f1f5f9;
  }

  .cart-modal-card {
    background: #1e293b;
  }

  .cart-modal-header {
    border-bottom-color: #334155;
  }

  .cart-modal-footer {
    border-top-color: #334155;
    background: rgba(15, 23, 42, 0.75);
  }

  .cart-item {
    background: #0f172a;
    border-color: #334155;
  }

  /* Links in dark mode */
  .local-nap a,
  .b2b-cta a { color: #60a5fa; }

  /* Comparison & Policy sections */
  .comparison-card,
  .policy-summary {
    background: #1e293b;
  }

  .policy-grid article,
  .insights-grid article {
    background: #0f172a;
    border-color: #334155;
  }

  .faq-list details {
    background: #1e293b;
    border-color: rgba(96, 165, 250, 0.15);
  }

  .faq-list summary {
    color: #f1f5f9;
  }

  .contact-pane {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 60%, #0f172a 100%);
  }

  img {
    filter: brightness(0.92);
  }
}

/* --- 8. Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Keep scroll progress visible but static */
  body::before {
    display: none;
  }

  .float-btn {
    animation: none !important;
  }
}

/* --- 9. High Contrast Mode --- */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #1d4ed8;
    --text-dark: #000;
    --text-light: #333;
    --border-color: #000;
  }

  .product-card,
  .review-card,
  .benefit-card {
    border: 2px solid #000;
  }

  .btn,
  .btn-order,
  .cta-btn {
    border: 2px solid currentColor;
  }
}

/* --- 10. Focus-visible improvements (keyboard accessibility) --- */
:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

/* --- 11. Smooth hover with @starting-style (Chromium 117+) --- */
/* Note: @starting-style removed from .product-card to prevent image display issues */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- 12. Light-dark() function for modern color handling --- */
@supports (color: light-dark(white, black)) {
  .footer-bottom p {
    color: light-dark(rgba(0,0,0,0.5), rgba(255,255,255,0.6));
  }
}

/* --- 13. Subgrid for aligned product cards --- */
/* Disabled: subgrid causes product image collapse in current grid layout */
/* @supports (grid-template-rows: subgrid) {
  .products-grid {
    grid-template-rows: subgrid;
  }
  .product-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
  }
} */

/* --- 14. has() selector for interactive enhancements --- */
@supports (selector(:has(*))) {
  /* Highlight entire card when hovering order button */
  .product-card:has(.btn-order:hover) {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color), var(--card-shadow-hover);
  }

  /* Highlight nav when language dropdown is open */
  header:has(.language-switcher:hover) {
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.15);
  }

  /* FAQ item glow when expanded */
  .faq-item:has(h3:hover) {
    border-left-color: var(--accent-color);
  }
}

/* --- 15. Print Styles --- */
@media print {
  .floating-contact,
  .cta-banner,
  .map-section,
  .language-switcher,
  .nav-phone,
  .stats-section,
  header,
  footer {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero {
    background: #f0f0f0 !important;
    color: #000 !important;
    padding: 1rem !important;
  }

  .product-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  a[href^="tel:"]::after,
  a[href^="#"]::after {
    content: none;
  }
}

/* ===== Product Detail Pages ===== */
.product-detail-page .breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
}
.product-detail-page .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-detail-page .breadcrumb li::after {
  content: "›";
  margin-left: 0.5rem;
  color: #94a3b8;
}
.product-detail-page .breadcrumb li:last-child::after {
  content: none;
}
.product-detail-page .breadcrumb a {
  color: var(--primary-color, #2563eb);
  text-decoration: none;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.product-detail-media {
  position: relative;
}
.product-detail-media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.product-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.product-badges .badge {
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.badge--bestseller {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}
.badge--fresh {
  background: linear-gradient(135deg, #10b981, #059669);
}

.product-detail-info h1 {
  font-size: 1.8rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: #1e293b;
}
.product-detail-tagline {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.product-detail-rating .stars {
  color: #f59e0b;
  font-size: 1.2rem;
}

.product-detail-price {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.price-current {
  font-size: 2rem;
  font-weight: 800;
  color: #dc2626;
}
.price-unit {
  font-size: 1rem;
  color: #64748b;
  margin-left: 0.25rem;
}
.price-note {
  font-size: 0.9rem;
  color: #475569;
  margin: 0.25rem 0 0;
}

.product-detail-highlights {
  margin-bottom: 1.5rem;
}
.product-detail-highlights h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #1e293b;
}
.product-detail-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-detail-highlights li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-detail-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.product-detail-cta .cta {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-detail-cta .cta:first-child {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
}
.product-detail-cta .cta.secondary {
  background: #fff;
  color: #2563eb;
  border: 2px solid #2563eb;
}
.product-detail-cta .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.product-detail-quick-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #475569;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.in-stock {
  color: #16a34a;
  font-weight: 600;
}

.product-detail-section {
  padding: 2rem 0;
  border-top: 1px solid #f1f5f9;
}
.product-detail-section h2 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 1rem;
}
.product-detail-content {
  line-height: 1.8;
  color: #334155;
}
.product-detail-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
  color: #1e293b;
}
.product-detail-content ul {
  padding-left: 0;
  list-style: none;
}
.product-detail-content li {
  padding: 0.3rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.product-detail-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color, #2563eb);
  font-weight: 700;
}

/* Nutrition table */
.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

/* Compare table (FAQ, product pages) */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.compare-table th,
.compare-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
}
.compare-table th {
  background: var(--bg-light);
  font-weight: 700;
  color: var(--primary-color);
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table tbody tr:hover {
  background: #f1f5f9;
}
.nutrition-table th,
.nutrition-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.nutrition-table thead th {
  background: #f8fafc;
  font-weight: 700;
  color: #1e293b;
}
.nutrition-table tbody tr:hover {
  background: #f8fafc;
}

/* Storage grid */
.storage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.storage-card {
  background: #f8fafc;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.storage-card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.storage-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
}

/* Reviews */
.review-list {
  display: grid;
  gap: 1rem;
}
.review-card {
  background: #f8fafc;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.review-header strong {
  color: #1e293b;
}
.review-header span {
  font-size: 0.85rem;
  color: #64748b;
}
.review-stars {
  color: #f59e0b !important;
  margin-left: auto;
}
.review-card p {
  margin: 0;
  font-style: italic;
  color: #334155;
  line-height: 1.6;
}

/* FAQ */
.faq-list details {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-list summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  background: #f8fafc;
  color: #1e293b;
  transition: background 0.2s;
}
.faq-list summary:hover {
  background: #eff6ff;
}
.faq-list details[open] summary {
  border-bottom: 1px solid #e2e8f0;
}
.faq-list details > div {
  padding: 1rem 1.25rem;
}

/* Related products grid */
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}
.related-product-card {
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.related-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.related-product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.related-product-card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  color: #1e293b;
}
.related-price {
  font-weight: 700;
  color: #dc2626;
  font-size: 0.95rem;
}

/* Blog links in product description */
.product-blog-links {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #f0f9ff, #eff6ff);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color, #2563eb);
}
.product-blog-links h3 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: #1e40af;
}
.product-blog-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-blog-links li {
  margin-bottom: 0.5rem;
}
.product-blog-links li:last-child {
  margin-bottom: 0;
}
.product-blog-links a {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.product-blog-links a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.related-links,
.related-blog-links {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.related-links h2,
.related-blog-links p {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: #1e293b;
}
.related-links ul {
  margin: 0;
  padding-left: 1.25rem;
}
.related-links a,
.related-blog-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}
.related-links a:hover,
.related-blog-links a:hover {
  text-decoration: underline;
}

.product-card.is-highlighted,.product-card[data-sku].is-highlighted{outline:3px solid #2563eb;outline-offset:4px;box-shadow:0 0 0 6px rgba(37,99,235,.25)}
.btn-details{display:inline-block;margin-right:.5rem;padding:.35rem .75rem;border-radius:8px;border:1px solid #2563eb;color:#2563eb;font-size:.875rem;text-decoration:none;font-weight:600}
.btn-details:hover{background:#eff6ff}

/* === Professional UI (site-ui.js) === */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--primary-color, #2563eb);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus {
  left: 1rem;
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle:focus-visible {
  outline: 3px solid var(--primary-color, #2563eb);
  outline-offset: 2px;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--text-dark, #1e293b);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
body.nav-open .nav-toggle-bars { background: transparent; }
body.nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
body.nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 199;
}
body.nav-open .nav-overlay {
  display: block;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  header nav {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100dvh;
    margin: 0;
    padding: 5rem 1.25rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: #fff;
    box-shadow: -8px 0 32px rgb(0 0 0 / 0.12);
    z-index: 200;
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform 0.25s ease;
    list-style: none;
  }
  body.nav-open .nav-menu {
    transform: translateX(0);
  }
  .nav-menu > li {
    width: 100%;
  }
  .nav-menu a {
    display: block;
    padding: 0.65rem 0.5rem;
    border-radius: 8px;
  }
  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    background: #eff6ff;
  }
  .nav-phone {
    order: unset !important;
    width: auto !important;
    text-align: left !important;
    margin-top: 0.5rem;
    font-weight: 700;
    color: var(--primary-color, #2563eb) !important;
  }
  .language-switcher {
    width: 100% !important;
    text-align: left !important;
  }
  .language-switcher .lang-dropdown {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    box-shadow: none;
    border: 1px solid var(--border-color);
    margin-top: 0.35rem;
  }
}

.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}
.page-404-inner {
  max-width: 32rem;
}
.page-404-code {
  font-size: clamp(4rem, 15vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary-color, #2563eb);
  opacity: 0.2;
  margin: 0 0 0.5rem;
}
.page-404 h1 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}
.page-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.page-404-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.page-404-actions .btn-primary {
  background: var(--primary-color, #2563eb);
  color: #fff;
}
.page-404-actions .btn-secondary {
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.trust-badge .badge-icon[aria-hidden='true'] {
  font-size: 1.75rem;
  line-height: 1;
}

.trust-badge--link{text-decoration:none;color:inherit;display:flex;align-items:center;gap:inherit}
.trust-badge--link:hover{transform:translateY(-2px)}
