@font-face {
  font-family: 'Roundo';
  src: url('./assets/fonts/Roundo-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.font-roundo {
  font-family: 'Roundo', sans-serif !important;
}

@font-face {
  font-family: 'Poppins';
  src: url('./assets/fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

.font-poppins {
  font-family: 'Poppins', sans-serif !important;
}

@font-face {
  font-family: 'Nexa-Heavy';
  src: url('./assets/fonts/Nexa-Heavy.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

.font-nexa {
  font-family: 'Nexa-Heavy', sans-serif !important;
}

@font-face {
  font-family: 'Nexa-ExtraLight';
  src: url('./assets/fonts/Nexa-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

.font-nexa-light {
  font-family: 'Nexa-ExtraLight', sans-serif !important;
}

@font-face {
  font-family: 'Baloo2';
  src: url('./assets/fonts/Baloo2-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.font-baloo {
  font-family: 'Baloo2', cursive !important;
}

@font-face {
  font-family: 'Coolvetica';
  src: url('./assets/fonts/Coolvetica Rg.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

.font-coolvetica {
  font-family: 'Coolvetica', sans-serif !important;
}

:root {
  /* Colors - Modern Supplements Online Theme */
  --primary-green: #62a600;
  /* Lighter Green as requested */
  --primary-green-hover: #548f00;
  --secondary-bg: #f5f5f5;
  --text-main: #333333;
  --text-secondary: #666666;
  --accent-red: #e32b2b;
  --accent-gold: #c5a021;
  /* Premium Gold */
  --cta-orange: #f38a00;
  --cta-orange-hover: #e07b00;
  --white: #ffffff;
  --border-color: #e5e5e5;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--white);
  overflow-x: clip;
  /* Changed from hidden to prevent breaking sticky */
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.top-bar {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 8px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.main-header {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-flex {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  transition: var(--transition-medium);
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo:hover {
  transform: scale(1.05);
}

.search-bar-container {
  flex-grow: 1;
  position: relative;
}

/* Search Dropdown - The "Golden Suggestions" */
.search-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  display: none;
  /* Controlled by JS */
  z-index: 1000;
  animation: slideDownFade 0.3s ease-out;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.suggest-label {
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 800;
  color: #999;
  letter-spacing: 1px;
}

.suggest-list {
  list-style: none;
}

.suggest-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.suggest-item a:hover {
  background: #f8f9fa;
  color: var(--primary-green);
}

.suggest-item i {
  color: #ccc;
  width: 16px;
  text-align: center;
}

.suggest-item:hover i {
  color: var(--primary-green);
}

.search-bar {
  width: 100%;
  height: 48px;
  padding: 0 20px;
  padding-right: 50px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #f8fafc;
  color: #475569;
  font-family: 'Inter', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.search-bar::placeholder {
  color: #94a3b8;
  opacity: 0.7;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
}

.search-bar:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(98, 166, 0, 0.1);
  color: #1e293b;
}

.search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  background: none;
  border: none;
  font-size: 16px;
  pointer-events: none;
  opacity: 0.8;
}

.featured-label-stack {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 800;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-text-column {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: var(--text-main);
  position: relative;
  text-decoration: none;
  margin-left: 20px;
}

/* Wishlist Badge */
#wishlist-count {
  position: absolute;
  top: -5px;
  right: 5px;
  background-color: var(--primary-green);
  color: white;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  /* Hidden if 0 */
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  z-index: 5;
}

.action-item i {
  font-size: 22px;
  margin-bottom: 3px;
  transition: var(--transition-fast);
}

.action-item:hover i {
  color: var(--primary-green);
  transform: translateY(-2px);
}

.header-cert-stickers {
  height: 38px;
  width: auto;
  object-fit: contain;
  align-self: center;
}

/* Navigation */
.nav-bar {
  padding: 12px 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 73px;
  /* Precise height of the new PC header */
  z-index: 1090;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

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

.nav-links {
  display: flex;
  gap: 25px;
  font-weight: 600;
  font-size: 15px;
}

.nav-links a[href*="blog"] {
  font-style: italic;
  color: var(--primary-green);
  font-weight: 700;
}

.nav-links a[href*="blog"]:hover {
  opacity: 0.8;
}

.nav-links.right {
  gap: 30px;
}

.nav-link {
  position: relative;
}

.nav-link:hover {
  color: var(--primary-green);
}

.nav-link.specials {
  color: var(--accent-red);
}

.nav-link.specials:hover {
  color: var(--accent-red);
  opacity: 0.8;
}

.nav-link.best-sellers {
  color: var(--accent-gold);
}

.nav-link.best-sellers:hover {
  color: var(--accent-gold);
  opacity: 0.8;
}

/* Hero Section */
.hero {
  padding: 0;
  width: 100%;
  margin-bottom: 40px;
  transition: background-color 0.8s ease;
  /* Smooth bg transition */
}

/* Dynamic Slide Colors */
.hero.slide-0 {
  background-color: #62a600;
}

.hero.slide-1 {
  background-color: #0099cc;
}

/* Light Blue */
.hero.slide-2 {
  background-color: #f1c40f;
}

/* Yellow */

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  /* Exact 400px height as requested */
  background: var(--white);
  overflow: hidden;
}

.hero-slider {
  display: flex !important;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 200%;
  /* 2 slides */
}

.hero-slide {
  flex: 0 0 50%;
  display: flex !important;
  background-color: white;
  /* Clean solid white background */
  height: 100%;
}

.hero-content {
  flex: 1;
  min-width: 0;
  /* Prevents overflow bugs */
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  position: relative;
  background: white;
  /* Mandatory white zone */
}

.hero-image {
  flex: 1.4;
  height: 100%;
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  /* Fixes potential gap bugs */
  object-fit: cover;
  object-position: center;
  transition: transform 1.5s ease;
}

.gradient-text {
  background: linear-gradient(90deg, #4b8900 0%, #7dbd1b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-orange {
  background: linear-gradient(90deg, #d35400 0%, #e67e22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
  background: linear-gradient(90deg, #2980b9 0%, #3498db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 1024px) {
  .hero-content {
    padding: 40px;
  }

  .hero-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    flex-direction: column;
  }

  .hero-content {
    flex: none;
    padding: 30px;
    text-align: center;
    align-items: center;
  }

  .hero-image {
    flex: 1;
    min-height: 250px;
  }

  .hero-title {
    font-size: 32px;
  }
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: flex-start;
  /* Default */
}

/* Centered Hero Slide Variant */
.hero-slide-center {
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1579154767013-4bea432650ee?auto=format&fit=crop&q=80&w=2000');
  /* Lab/Science context */
  background-size: cover;
  background-position: center;
}

.hero-slide-center .hero-content {
  flex: 1;
  text-align: center !important;
  align-items: center !important;
  max-width: 900px;
  margin: 0 auto;
  background: transparent !important;
}

.hero-slide-center .hero-actions-row {
  justify-content: center !important;
  width: 100%;
}

.hero-btn.white {
  background: white;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.hero-btn.white:hover {
  background: var(--primary-green);
  color: white;
}

.affiliate-badge {
  font-size: 13px;
  font-weight: 700;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
}

.affiliate-badge i {
  color: var(--primary-green);
}

.hero-tag {
  background: var(--primary-green);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  width: fit-content;
  margin-bottom: 25px;
}

.hero-title {
  font-size: 54px;
  line-height: 1.05;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -2px;
  color: #1a1a1a;
}

.hero-desc {
  font-size: 17px;
  color: #444;
  margin-bottom: 25px;
  max-width: 500px;
  line-height: 1.5;
}

.hero-btn {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 18px 45px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 18px;
  width: fit-content;
  box-shadow: 0 10px 25px rgba(98, 166, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-btn.orange {
  background: #f38a00;
  box-shadow: 0 10px 25px rgba(243, 138, 0, 0.2);
}

.hero-btn.blue {
  background: #0071bc;
  box-shadow: 0 10px 25px rgba(0, 113, 188, 0.2);
}

.hero-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Global sharp-edge override for banners and buttons */
.hero-btn,
.promo-card,
.promo-btn-white,
.promo-btn-blue,
.promo-badge,
.promo-tag-red,
.ghost-banner-inner,
.ghost-cta-btn,
.hero-tag {
  border-radius: 0 !important;
}

.hero-image {
  flex: 1.4;
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.hero-slider:hover .hero-image img {
  transform: scale(1.05);
}

/* Hero Controls Style (Dots & Arrows) */
.hero-pagination {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 100;
}

.hero-dot {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 2px solid #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50% !important;
  /* Force Circular shape as requested */
}

.hero-dot.active {
  background: var(--primary-green);
  border-color: var(--primary-green);
  width: 10px;
  /* Same width as inactive dots */
  border-radius: 50% !important;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 60px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 101;
  cursor: pointer;
  font-size: 1.5rem;
  color: #333;
  transition: all 0.3s ease;
  border-radius: 0 !important;
  /* Force Sharp EDGES */
}

.hero-nav:hover {
  background: white;
  color: var(--primary-green);
}

.hero-nav.prev {
  left: 0;
}

.hero-nav.next {
  right: 0;
}

/* Sections */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 60px 0 30px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.section-header-icon {
  height: 1.1em;
  width: auto;
  margin-left: 12px;
  object-fit: contain;
}

.view-all {
  color: var(--primary-green);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.view-all:hover {
  gap: 10px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  padding: 15px;
  /* Reverted to compact padding */
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-info {
  padding: 0 4px;
  /* Internal margin to ensure letters never touch the box edges */
}

.product-card:hover {
  /* Box remains static as requested */
}

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

.product-img-wrapper {
  margin-bottom: 5px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--white);
  height: 220px;
  /* Force consistent height for grid pot-size */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 15px;
  /* Respiro */
}

.product-img {
  max-width: 88%;
  max-height: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s var(--transition-bounce);
}

/* Wish Heart on Product Card */
.wish-heart {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 100;
  color: #ccc;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wish-heart:hover {
  transform: scale(1.1);
  color: #e74c3c;
}

.wish-heart.active i {
  color: #e74c3c !important;
  font-weight: 900 !important;
}

.wish-heart.active {
  border-color: #e74c3c;
  color: #e74c3c;
}

.product-img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}

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

.brand-name {
  font-weight: 700;
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.product-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  height: 1.4em;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.stars-outer {
  position: relative;
  display: inline-block;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #e0e0e0;
  /* Gray stars background */
  font-size: 20px;
  letter-spacing: 2px;
}

.stars-outer::before {
  content: "\f005 \f005 \f005 \f005 \f005";
}

.stars-inner {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  /* JS will control this */
  color: #ff9d00;
  /* Gold stars foreground */
  transition: width 0.5s ease;
}

.stars-inner::before {
  content: "\f005 \f005 \f005 \f005 \f005";
}

.rating-value {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a1a;
  margin-left: 3px;
}

/* Article Editorial Images */
.article-img-wide {
  display: block !important;
  margin: 40px auto !important;
  width: 100% !important;
  max-width: 800px !important;
  height: auto !important;
  border-radius: 16px !important;
}

.rating .rating-value {
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 800;
  margin-left: 3px;
}

.rating span {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.price-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-green);
}

.old-price {
  font-size: 15px;
  text-decoration: line-through;
  color: var(--text-secondary);
  opacity: 0.6;
}

.add-to-cart {
  margin-top: 20px;
  background: var(--secondary-bg);
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.product-card:hover .add-to-cart {
  background: var(--primary-green);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(98, 166, 0, 0.2);
}

/* Product Detail Page (PDP) */
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-top: 10px;
}

.product-gallery,
.pdp-grid .product-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-gallery {
  gap: 20px;
}


.main-img-container {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  /* Reduced padding to let the img max-size control the 'respiro' more accurately */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  flex-grow: 1;
  /* Dynamically fills space to align bottom footers */
  min-height: 480px;
  /* Maintains authority even on short descriptions */
}


.main-img-container img {
  max-width: 88%;
  /* Consistent size across all products */
  max-height: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.main-img-container:hover img {
  transform: scale(1.03);
  /* Subtle premium interaction */
}

.pdp-gallery-trust-banner,
.pdp-grid .product-info>div[style*="text-align: center"]:last-child {
  width: 100%;
  margin-top: auto !important;
  /* Pushes both blocks to the bottom of the column */
  height: 110px;
  /* Increased to accommodate larger quality icons */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Centers both blocks vertically for perfect alignment */
}

/* Reduces the gap between the hero and the article content */
.pdp-article-section {
  margin-top: 10px;
}





@media (max-width: 768px) {
  .pdp-gallery-trust-banner {
    margin-top: 20px;
  }
}

.thumb-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
  transition: all 0.2s ease;
}

.thumb-item img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.thumb-item:hover {
  border-color: var(--primary-green);
}

.thumb-item.active {
  border-color: var(--primary-green);
  border-width: 2px;
  box-shadow: 0 0 0 1px var(--primary-green);
}

.product-info-header {
  margin-bottom: 15px;
}

.pdp-title {
  font-size: 38px;
  font-weight: 950;
  margin-bottom: 12px;
  /* Increased space before brand */
  color: var(--text-main);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.pdp-authority-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdf5e6;
  border: 1px solid #ffd700;
  color: #b8860b;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.pdp-best-for {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  /* Adjusted to 20px for better balance */
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.pdp-rating .stars {
  color: #ff9d00;
  font-size: 18px;
}

.pdp-stock {
  margin: 0 0 15px 0;
  color: #438f29;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-features {
  margin: 8px 0 25px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdp-price-box {
  display: none !important;
}

.pdp-price {
  display: none !important;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text-secondary);
}

.feature-item i {
  color: var(--primary-green);
}

.cta-btn-orange {
  display: block;
  width: 100%;
  background: var(--cta-orange);
  color: var(--white);
  padding: 20px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 4px 15px rgba(243, 138, 0, 0.3);
  margin-bottom: 20px;
}

.cta-btn-orange:hover {
  background: var(--cta-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 138, 0, 0.4);
}

.cta-nudge {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-top: -10px;
  margin-bottom: 30px;
  font-weight: 600;
}

/* Comparison Table */
.comparison-section {
  margin-top: 60px;
  background: white;
  border: 1px solid #eee;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.comp-header {
  padding: 25px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.comp-header h3 {
  font-size: 24px;
  font-weight: 800;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
}

.comp-table th {
  padding: 20px;
  text-align: center;
  background: #fff;
  font-weight: 700;
  border-bottom: 2px solid #f0f0f0;
}

.comp-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.comp-feature {
  text-align: left !important;
  font-weight: 600;
  color: #444;
  padding-left: 30px !important;
  width: 40%;
}

.comp-our-choice {
  background: #f4fff4 !important;
  color: #2e7d32;
  font-weight: 700;
  width: 30%;
}

.comp-generic {
  color: #999;
  width: 30%;
}

.comp-our-choice i {
  color: #28a745;
  margin-right: 5px;
}

.comp-generic i {
  color: #dc3545;
  margin-right: 5px;
}

/* Tabs & Info Sections */
.pdp-section {
  margin-top: 100px;
  padding-top: 60px;
  border-top: 1px solid var(--border-color);
}

.tabs-container {
  margin-bottom: 40px;
}

.tabs-nav {
  display: flex;
  gap: 40px;
  border-bottom: 2px solid var(--border-color);
}

.tab-btn {
  padding-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  cursor: pointer;
}

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

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-green);
}

.info-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Ingredient Grid from image */
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.ingredient-card {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition-medium);
}

.ingredient-card:hover {
  transform: translateY(-10px);
}

.ingredient-icon {
  font-size: 40px;
  color: var(--primary-green);
  margin-bottom: 20px;
}

/* FAQ Accordion */
.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.faq-question {
  padding: 20px 20px 5px;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--text-main);
}

.faq-answer {
  padding: 0 20px 20px;
  background: var(--white);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

@media (max-width: 900px) {
  .pdp-grid {
    grid-template-columns: 1fr;
  }

  .ingredient-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.seo-article-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
  margin: 0 auto;
  max-width: 1000px;
  letter-spacing: -1.5px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 40px;
  }

  .header-actions {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 600px;
    flex-direction: column;
  }

  .hero-content {
    padding: 40px;
    text-align: center;
    align-items: center;
  }

  .hero-title {
    font-size: 32px;
  }

  .header-flex {
    flex-wrap: wrap;
  }

  .search-bar-container {
    order: 3;
    width: 100%;
    margin-top: 15px;
  }

  .nav-bar {
    display: none;
  }
}

/* Category Page Layout */
.category-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  padding: 30px 0;
}

.filter-sidebar {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  height: fit-content;
}

.filter-section {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.filter-section:last-child {
  border-bottom: none;
}

.filter-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

.filter-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-green);
}

.category-header {
  margin-bottom: 30px;
}

.category-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.category-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.sort-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.sort-select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-weight: 600;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn.active {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

.page-btn:hover:not(.active) {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

/* Responsive Category */
@media (max-width: 992px) {
  .category-container {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    display: none;
  }
}

/* Category Page Elements */
.category-banner {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  color: var(--text-main);
  min-height: 280px;
  margin-bottom: 40px;
  position: relative;
  animation: fadeIn 1s ease-out;
  /* Surgical precision fix for dark lines */
  clip-path: inset(0 round 16px);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #ffffff;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  isolation: isolate;
}

.banner-content {
  flex: 1;
  /* Back to 1 since image is behind */
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  /* Premium glassmorphism/gradient overlay */
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.9) 30%,
      rgba(255, 255, 255, 0.4) 70%,
      transparent 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.banner-tag {
  color: #c5a021;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.banner-title {
  font-family: 'Nexa-Heavy', sans-serif;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.1;
  color: #1a1a1a;
}

.banner-desc {
  font-size: 16px;
  color: #475569;
  max-width: 450px;
  line-height: 1.5;
}



.banner-image-box {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Clean transition layer */
.banner-image-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
}

.sub-category-nav {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  scrollbar-width: none;
}

.sub-category-nav::-webkit-scrollbar {
  display: none;
}

.sub-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 100px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.sub-category-item:hover {
  transform: translateY(-5px);
}

.sub-category-icon {
  width: 70px;
  height: 70px;
  background: #f8f8f8;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-green);
  transition: all 0.3s ease;
}

.sub-category-item:hover .sub-category-icon {
  border-color: var(--primary-green);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sub-category-label {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .category-banner {
    flex-direction: column;
    min-height: auto;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 24px !important;
    clip-path: none !important;
    overflow: hidden !important;
  }

  .banner-image-box {
    position: relative !important;
    order: 1;
    height: 180px;
    width: 100%;
    border-radius: 0 !important; /* The parent handles the border-radius now */
  }

  .banner-content {
    position: relative;
    order: 2;
    z-index: 5;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 24px 20px 28px 20px;
    margin: 0; 
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    align-items: center;
  }

  .banner-image-box::after {
    display: none !important;
  }

  .banner-title {
    font-size: 26px !important;
    margin-bottom: 8px !important;
    color: #111 !important;
    letter-spacing: -0.5px !important;
  }
  
  .banner-desc {
    font-size: 15px !important;
    margin-bottom: 0 !important;
    color: #475569 !important;
  }
}

/* Blog Page Layout */
.blog-header {
  padding: 60px 0 40px;
}

.blog-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 40px;
}

.featured-post {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.featured-image {
  flex: 1.5;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  flex: 1;
}

.blog-card {
  margin-bottom: 40px;
}

.blog-card-image {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 16/10;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-post-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
  line-height: 1.4;
}

.blog-date {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.blog-excerpt {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: underline;
  cursor: pointer;
}

.blog-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.blog-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 900px) {
  .featured-post {
    flex-direction: column;
  }

  .blog-grid-2 {
    grid-template-columns: 1fr;
  }

  .blog-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Shop by Category Circles */
.category-circles-section {
  padding: 35px 0;
  background: white;
}

.category-circles-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.category-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: transform 0.3s ease;
  width: 140px;
}

.category-circle-item:hover {
  transform: translateY(-5px);
}

.circle-icon-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.circle-icon-wrapper img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.category-circle-item:hover .circle-icon-wrapper {
  border-color: #62a600;
  box-shadow: 0 8px 20px rgba(98, 166, 0, 0.15);
  transform: translateY(-5px);
}

.category-circle-item:hover .circle-icon-wrapper img {
  transform: scale(1.1);
}

.circle-label {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main);
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .category-circles-grid {
    gap: 15px;
  }

  .circle-icon-wrapper {
    width: 80px;
    height: 80px;
    font-size: 26px;
  }

  .category-circle-item {
    width: 90px;
  }
}

.trending,
.category-circles-section,
.best-sellers,
.new-arrivals {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 40px;
  padding-top: 40px;
}

.trending .section-header,
.category-circles-section .section-header,
.best-sellers .section-header,
.new-arrivals .section-header {
  margin: 0 0 20px 0 !important;
  /* Remove the global 60px margin */
}

.category-circles-section {
  padding: 40px 0 !important;
  /* Balanced padding */
}

/* Homepage Sliders & Compact Cards */
.slider-outer-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.slider-inner-container {
  overflow: hidden;
  width: 100%;
  padding-bottom: 5px;
}

.slider-grid {
  display: flex !important;
  gap: 12px !important;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  align-items: stretch;
}

.slider-grid::-webkit-scrollbar {
  display: none;
}

.slider-grid .product-card {
  min-width: calc((100% - 36px) / 4);
  /* 4 items row */
  max-width: calc((100% - 36px) / 4);
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: white;
  padding: 0;
  border: none;
  transition: opacity 0.2s ease;
  height: 100%;
  text-decoration: none;
}

.slider-grid .product-card:hover {
  opacity: 0.8;
}

.slider-grid .product-card .product-img-wrapper {
  background: #ffffff;
  border-radius: 4px;
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 10px;
  box-sizing: border-box;
}

.slider-grid .product-card .product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.slider-grid .product-card .brand-name {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.slider-grid .product-card .product-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  height: 1.4em;
}

.slider-grid .product-card .price-container {
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}

.slider-grid .product-card .price {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #dd0202 !important;
}

.slider-grid .product-card .old-price {
  font-size: 12px !important;
  color: #909090 !important;
  text-decoration: line-through !important;
}

.slider-arrow {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.slider-arrow.prev {
  left: -18px;
}

.slider-arrow.next {
  right: -18px;
}

@media (max-width: 1024px) {
  .slider-grid .product-card {
    min-width: calc((100% - 24px) / 3);
    max-width: calc((100% - 24px) / 3);
  }
}

@media (max-width: 768px) {
  .slider-grid .product-card {
    min-width: 200px;
    max-width: 200px;
  }

  .slider-arrow {
    display: none;
  }
}

/* Homepage Blog Preview Grid */
.home-blog {
  padding: 40px 0 80px;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-preview-card {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.blog-preview-card:hover {
  transform: translateY(-5px);
}

.blog-preview-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.blog-preview-content {
  padding-top: 15px;
}

.blog-preview-date {
  font-size: 11px;
  color: #888;
  font-weight: 700;
  letter-spacing: 1px;
}

.blog-preview-content h3 {
  font-size: 17px;
  margin-top: 8px;
  line-height: 1.4;
  color: #333;
}

.view-articles-btn {
  display: inline-block;
  background: #438f29;
  color: white;
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.view-articles-btn:hover {
  background: #367320;
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .blog-preview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* Promo Ads Layout */
.promo-ads {
  margin: 40px auto 40px;
}

.promo-grid {
  display: flex;
  gap: 24px;
  height: 600px;
}

.promo-card {
  position: relative;
  border-radius: 0 !important;
  overflow: hidden;
  display: flex;
  padding: 40px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
  border: none !important;
}

.promo-card:hover {
  transform: scale(1.005);
}

/* Left Large Card */
.promo-card.bodytech {
  flex: 1.8;
  color: white;
  display: block;
  position: relative;
  background: #222 !important;
  padding: 0;
}

.promo-card.bodytech .promo-content {
  position: relative;
  z-index: 2;
  padding: 60px;
  max-width: 60%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.promo-card.bodytech h2 {
  font-size: 44px;
  margin-bottom: 25px;
  line-height: 1.1;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.promo-card.bodytech p {
  color: #eee;
  font-size: 17px;
  margin-bottom: 35px;
  line-height: 1.5;
  font-weight: 500;
}

.promo-btn-white {
  display: inline-block;
  background: white;
  color: #003666;
  padding: 16px 45px;
  border-radius: 0;
  font-weight: 800;
  font-size: 16px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Right Column Stacked */
.promo-side-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.promo-side-stack .promo-card {
  flex: 1;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
}

.promo-side-stack .promo-content {
  max-width: 55%;
}

.promo-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #222;
  font-weight: 900;
  line-height: 1.2;
}

.promo-card p {
  font-size: 14px;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.4;
}

.promo-btn-blue {
  display: inline-block;
  background: #0071bc;
  color: white;
  padding: 12px 30px;
  border-radius: 0;
  font-weight: 800;
  font-size: 14px;
}

.promo-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-width: 160px;
}

.promo-card.bodytech .promo-image-wrapper,
.promo-card.bloom .promo-image-wrapper,
.promo-card.vthrive .promo-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  flex: none;
  min-width: 0;
}

.promo-card.bodytech .promo-image-wrapper picture,
.promo-card.bloom .promo-image-wrapper picture,
.promo-card.vthrive .promo-image-wrapper picture {
  display: block;
  width: 100%;
  height: 100%;
}

.promo-card.bodytech .promo-image-wrapper img,
.promo-card.bloom .promo-image-wrapper img,
.promo-card.vthrive .promo-image-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.promo-card.bloom,
.promo-card.vthrive {
  position: relative;
  padding: 0 !important;
}

.promo-card.bloom .promo-content,
.promo-card.vthrive .promo-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.8) 70%, transparent 100%);
}

.promo-card.bloom p {
  font-size: 11px !important;
  margin-bottom: 8px;
  line-height: 1.5;
  color: #333;
  font-weight: 500;
}

.promo-image-wrapper img {
  max-height: 95%;
  max-width: 100%;
  object-fit: contain;
}

.promo-badge {
  background: #f38a00;
  color: white;
  padding: 6px 15px;
  font-size: 13px;
  font-weight: 900;
  border-radius: 0;
  margin-bottom: 20px;
  display: inline-block;
}

.promo-tag-blue {
  color: #0071bc;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
  text-transform: uppercase;
  line-height: 1.1;
}

.promo-tag-blue .big-discount {
  font-size: 32px;
  display: block;
  margin-top: 0;
}

.promo-tag-red {
  background: #dd0202;
  color: white;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 900;
  border-radius: 0;
  margin-bottom: 10px;
  display: inline-block;
}

@media (max-width: 1024px) {
  .promo-grid {
    flex-direction: column;
    height: auto;
  }

  .promo-card {
    height: 320px;
  }

  .promo-card.bodytech h2 {
    font-size: 28px;
  }
}

/* GHOST Brand Banner Styles */
.brand-banner-ghost {
  margin: 40px auto;
}

.ghost-banner-inner {
  display: flex !important;
  align-items: center;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 380px;
  border: 1px solid #eee;
  background: white;
}

.ghost-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  padding: 0;
  display: block;
}

.ghost-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ghost-banner-content {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  /* Push content further to the right to avoid overlapping the product image */
  margin-left: 55%;
}

.ghost-promo-tag {
  background: #f38a00;
  /* Back to vibrant orange as requested */
  color: white;
  padding: 6px 15px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 0;
  display: inline-block;
  margin-bottom: 12px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ghost-brand-logo {
  max-width: 160px;
  height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.ghost-title {
  font-size: 54px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  color: #4a2377 !important;
  /* Deep blue from ref */
  margin-bottom: 18px !important;
  text-transform: none !important;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.3);
  /* Subtle readability without "color filters" */
}

.ghost-cta-btn {
  background: #4a2377;
  color: white;
  padding: 18px 45px;
  border-radius: 0;
  font-weight: 800;
  width: fit-content;
  font-size: 18px;
  transition: all 0.3s ease;
  display: inline-block;
}

.ghost-cta-btn:hover {
  background: #3b1c5f;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(74, 35, 119, 0.3);
}

/* Circle Promos (Vitamin Shoppe Style) */
.circle-promos-section {
  margin: 40px auto 40px;
}

.circle-promos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.circle-promo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.circle-promo-item:hover {
  transform: translateY(-8px);
}

.circle-img-box {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 25px;
  background: #f8f8f8;
  border: 1px solid #eee;
}

.circle-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-text {
  color: #0071bc;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  max-width: 280px;
}

@media (max-width: 1024px) {
  .ghost-banner-inner {
    height: auto;
    flex-direction: column;
  }

  .ghost-banner-image {
    height: 300px;
    padding: 20px;
  }

  .ghost-banner-content {
    padding: 40px;
    text-align: center;
    align-items: center;
    margin-left: 0;
  }

  .ghost-title {
    font-size: 40px !important;
  }
}

.product-card-footer {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.view-official-link {
  color: var(--primary-green);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.product-card:hover .view-official-link {
  text-decoration: underline;
  color: #367320;
}

/* Blog Post Specific Styles */
.blog-post-container {
  max-width: 1200px;
  padding: 40px 20px;
  color: var(--text-main);
  margin: 0 auto;
}

.blog-post-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  margin-top: 20px;
}

.blog-main {
  width: 100%;
}

.blog-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  display: block;
  font-weight: 700;
  font-size: 15px;
}

.pub-date {
  font-size: 13px;
  color: var(--text-secondary);
}

.social-share {
  display: flex;
  gap: 15px;
}

.social-share i {
  color: #888;
  font-size: 18px;
  transition: color 0.3s;
  cursor: pointer;
}

.social-share i:hover {
  color: var(--primary-green);
}

.blog-hero-img-box {
  width: 100%;
  margin-bottom: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-hero-img {
  width: 100%;
  display: block;
}

@media (min-width: 768px) {
  .blog-hero-img-box,
  .blog-content-text img {
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    border-radius: 16px !important;
    width: 100% !important;
    aspect-ratio: 1500 / 792 !important;
    overflow: hidden !important;
    display: block !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  }
  .blog-hero-img,
  .blog-content-text img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 16px !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  /* Prevent h1 from gluing to the metadata box on tablet */
  body.blog-page .reading-container h1 {
    margin-bottom: 24px !important;
    position: relative !important;
    top: 0 !important;
  }

  body.blog-page .reading-container .blog-meta {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    border-bottom: none !important;
    width: 100% !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
  }
  
  body.blog-page .reading-container .blog-meta .author {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    width: auto !important;
  }

  body.blog-page .reading-container .blog-meta .social-share {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  body.blog-page .reading-container .blog-meta .social-share button,
  body.blog-page .reading-container .blog-meta .social-share a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background-color: white !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
  }

  body.blog-page .reading-container .blog-meta .social-share button:hover,
  body.blog-page .reading-container .blog-meta .social-share a:hover {
    background-color: var(--primary-green) !important;
    color: white !important;
    border-color: var(--primary-green) !important;
    transform: translateY(-2px) !important;
  }

  .blog-hero-img-box {
    margin-top: 12px !important;
  }
}

/* Global Spacing breathing room for the Journal main body container to prevent gluing to header */
body.blog-page .journal-main-body {
  padding-top: 32px !important;
}

@media (min-width: 768px) {
  body.blog-page .journal-main-body {
    padding-top: 40px !important;
  }
}

@media (min-width: 1025px) {
  body.blog-page .journal-main-body {
    padding-top: 56px !important;
  }
}

.blog-content-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 60px;
}

.blog-content-text .lead {
  font-size: 22px;
  font-weight: 600;
  color: #444;
  margin-bottom: 40px;
}

.blog-content-text h2 {
  font-size: 28px;
  margin: 40px 0 20px;
  color: #1a1a1a;
}

.blog-content-text p {
  margin-bottom: 25px;
}

blockquote {
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  color: var(--primary-green);
  border-left: 5px solid var(--primary-green);
  padding-left: 30px;
  margin: 50px 0;
  line-height: 1.4;
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.sidebar-box {
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-green);
}

.sidebar-cat-list {
  list-style: none;
  padding: 0;
}

.sidebar-cat-list li {
  margin-bottom: 12px;
}

.sidebar-cat-list a {
  text-decoration: none;
  color: #555;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  display: block;
  padding: 5px 0;
}

.sidebar-cat-list a:hover {
  color: var(--primary-green);
  padding-left: 5px;
}

/* Bottom Sections */
.blog-bottom-products,
.related-readings {
  margin-bottom: 20px;
  padding-top: 50px;
  border-top: 1px solid #eee;
}

.bottom-section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 30px;
}

.blog-product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.product-mini-card {
  display: flex !important;
  align-items: center;
  gap: 20px;
  background: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 15px;
  text-decoration: none !important;
  color: var(--text-main);
  transition: all 0.3s;
}

.product-mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.product-mini-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: white;
  border-radius: 5px;
}

.mini-card-info h4,
.mini-card-info .mini-title {
  font-size: 16px;
  margin-bottom: 2px;
  margin-top: 0;
  line-height: 1.2;
  font-weight: bold;
}

.rating-stars {
  color: #f9bf29;
  font-size: 12px;
  margin-bottom: 1px;
}

.view-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.related-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.related-small-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  background: white;
}

.related-small-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-info {
  padding: 20px;
}

.related-info h3,
.related-info .related-title {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
  margin-top: 0;
  font-weight: bold;
}

.read-more {
  text-decoration: none;
  font-weight: 700;
  color: var(--primary-green);
  font-size: 14px;
}

/* Modern Sidebar & Search */
.modern-search-box {
  padding: 0 !important;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #eee;
  background: #f8f9fa;
  transition: all 0.3s;
}

.modern-search-box:focus-within {
  border-color: var(--primary-green);
  box-shadow: 0 0 10px rgba(71, 137, 43, 0.1);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  padding: 12px 20px;
}

.search-input-wrapper i {
  color: #888;
  margin-right: 12px;
}

.search-input-wrapper input {
  border: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  color: #333;
}

.modern-sidebar-box {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sidebar-cat-list li i {
  width: 25px;
  color: var(--primary-green);
  font-size: 14px;
}

.cat-link {
  display: flex !important;
  align-items: center;
}

.sidebar-view-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.back-btn {
  background: none;
  border: none;
  color: var(--primary-green);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  padding: 0;
}

.sidebar-article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.sidebar-article-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s;
}

.sidebar-article-item:hover {
  background: #f0f7ed;
}

.sidebar-article-item img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
}

.side-art-info h6 {
  font-size: 14px;
  margin: 0;
  color: #333;
  line-height: 1.4;
  font-weight: 600;
}

.glass-card {
  background: linear-gradient(135deg, var(--primary-green) 0%, #367320 100%) !important;
  border: none !important;
  color: white !important;
}

.cta-btn-white {
  background: white;
  color: var(--primary-green);
  border: none;
  padding: 12px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

  .blog-sidebar {
    order: 2;
    position: static;
  }

  .blog-product-row,
  .related-grid-two {
    grid-template-columns: 1fr;
  }
}

/* Footer Disclosure Style - Premium & Trust-Centric */
.main-footer {
  background: #fdfdfd;
  border-top: 1px solid #e5e7eb;
  padding: 60px 0 40px;
}

.footer-disclosure {
  max-width: 850px;
  margin: 0 auto 40px;
  text-align: center;
  padding: 0 30px;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 2px solid #f0f0f0;
}

.footer-logo img {
  height: 60px;
  /* Larger, authoritative logo */
  width: auto;
  object-fit: contain;
  filter: brightness(0.9);
}

.footer-brand-mission {
  text-align: right;
  max-width: 400px;
}

.footer-h3 {
  font-size: 14px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-brand-mission p {
  font-size: 11px;
  color: #666;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-h4 {
  font-size: 12px;
  font-weight: 800;
  color: #000;
  margin-bottom: 25px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.footer-h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 20px;
  height: 2px;
  background: var(--primary-green, #1ea672);
}

.footer-nav {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-nav a:hover {
  color: #000;
  transform: translateX(4px);
}

.footer-cert-section {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 20px;
}

.footer-social-row {
  display: flex;
  gap: 15px;
  font-size: 20px;
  margin-top: -5px;
}

.footer-social-row a {
  color: #334155;
  transition: all 0.3s ease;
}

.footer-social-row a:hover {
  color: #000;
  transform: translateY(-3px);
}

.footer-disclosure {
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  padding: 35px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.footer-disclosure::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-green, #1ea672);
  opacity: 0.6;
}

.footer-disclosure p {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-disclosure strong {
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 11px;
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.footer-copyright {
  border-top: 1px solid #f1f5f9;
  padding-top: 30px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.footer-cert-image {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: saturate(0.8);
  transition: all 0.3s ease;
}

.footer-cert-image:hover {
  opacity: 1;
  filter: saturate(1);
}

/* Legal & Support Pages - Premium Design System */
.legal-hero {
  background: linear-gradient(135deg, #f7faf5 0%, #e2f0d9 100%);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid #eef3eb;
  margin-bottom: 40px;
}

.legal-hero h1 {
  font-size: 38px;
  font-weight: 800;
  color: #2c5e1a;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.legal-hero p {
  color: #5a7d4d;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.legal-sidebar {
  position: sticky;
  top: 40px;
  height: fit-content;
}

.legal-nav-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.legal-nav-title {
  font-size: 14px;
  font-weight: 800;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: block;
}

.legal-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.legal-nav-link i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  color: #999;
}

.legal-nav-link:hover {
  background: #f7faf5;
  color: var(--primary-green);
}

.legal-nav-link.active {
  background: #62a600;
  color: white;
}

.legal-nav-link.active i {
  color: white;
}

.legal-card {
  background: white;
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  padding: 48px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.legal-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-card h2::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: #62a600;
  border-radius: 3px;
}

.legal-card p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 24px;
}

.legal-card ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.legal-card li {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #555;
  padding-left: 10px;
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef7e6;
  color: #2c5e1a;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.policy-step-box {
  background: #fbfdfa;
  border: 1px solid #edf3ea;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  transition: transform 0.3s;
}

.policy-step-box:hover {
  transform: translateY(-5px);
  border-color: #62a600;
}

.policy-step-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.policy-step-num {
  width: 32px;
  height: 32px;
  background: #62a600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
}

.policy-step-title {
  font-weight: 800;
  font-size: 18px;
  color: #222;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr !important;
  }

  .legal-sidebar {
    order: 2;
    position: static !important;
  }

  .legal-card {
    padding: 30px !important;
  }

  .legal-hero h1 {
    font-size: 28px !important;
  }
}

/* Contact Page Enhancements */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-card {
  background: #f7faf5;
  padding: 24px;
  border-radius: 16px;
  border: 1px dotted #62a600;
  text-align: center;
}

.contact-info-card i {
  font-size: 24px;
  color: #62a600;
  margin-bottom: 16px;
}

/* FAQ Enhancements */
.faq-accordion-item {
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  background: white;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #222;
}

.faq-question:hover {
  background: #fbfdfa;
}

.faq-answer {
  padding: 0 24px 20px;
  color: #666;
  line-height: 1.6;
  background: white;
  display: none;
  /* FAQ Logic needed */
}

.faq-accordion-item.active .faq-answer {
  display: block;
}

.faq-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #ddd;
  color: #999;
  font-size: 10px;
  transition: transform 0.3s;
}

.faq-accordion-item.active {
  border-color: #62a600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-accordion-item.active .faq-icon {
  transform: rotate(180deg);
  background: #62a600;
  color: white;
  border-color: #62a600;
}


/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: #1e293b;
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #62a600;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(98, 166, 0, 0.3);
}

.back-to-top i {
  font-size: 18px;
}

@media (max-width: 768px) {
  .back-to-top {
    width: 40px !important;
    height: 40px !important;
    right: 16px !important;
    bottom: 20px !important;
  }
  .back-to-top i {
    font-size: 15px !important;
  }
}


/* ==========================================================================
   Shop Enhancements (Sidebar & Search)
   ========================================================================== */

.shop-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  margin-bottom: 40px;
  padding: 0 0 30px;
  border-bottom: 2px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 24px;
}

.shop-page-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -1px;
  color: #0f172a;
  /* Slate-900 */
}

.shop-search-wrapper {
  position: relative;
  flex: 1;
  max-width: 480px;
}

.search-icon-inner {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  /* Slate-400 */
  font-size: 14px;
}

.shop-search-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  /* Slate-200 */
  font-size: 15px;
  font-weight: 500;
  background: var(--white);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: #1e293b;
}

.shop-search-input::placeholder {
  color: #94a3b8;
}

.shop-search-input:focus {
  border-color: var(--primary-green);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(98, 166, 0, 0.1);
}

.results-info {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--secondary-bg);
  padding: 6px 14px;
  border-radius: 8px;
}

#results-count {
  color: var(--primary-green);
  font-weight: 800;
}

.shop-main-area {
  display: flex;
  flex-direction: column;
}

.filter-sidebar {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: fit-content;
  box-shadow:
    0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
  transition: box-shadow 0.3s ease;
}

.filter-sidebar:hover {
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.filter-section {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  /* Modern slate border */
}

.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #475569;
  /* Slate-600 */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-title::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--primary-green);
  border-radius: 4px;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  /* Slate-700 */
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  padding: 6px 8px;
  margin-left: -8px;
  border-radius: 8px;
}

.filter-item:hover {
  background: #f8fafc;
  color: var(--primary-green);
}

/* Custom Modern Checkbox */
.filter-item input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  /* Slate-300 */
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.filter-item input:hover {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(98, 166, 0, 0.1);
}

.filter-item input:checked {
  background: var(--primary-green);
  border-color: var(--primary-green);
  box-shadow: 0 4px 10px rgba(98, 166, 0, 0.2);
}

.filter-item input:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  animation: checkIn 0.2s ease-out;
}

@keyframes checkIn {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(0.5);
  }

  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

.filter-item span {
  line-height: 1.4;
}

/* Scrollable Brands with modern styling */
#brand-filter-list {
  max-height: 250px;
  overflow-y: auto;
  padding-right: 8px;
  scroll-behavior: smooth;
}

#brand-filter-list::-webkit-scrollbar {
  width: 5px;
}

#brand-filter-list::-webkit-scrollbar-track {
  background: transparent;
}

#brand-filter-list::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 20px;
}

#brand-filter-list::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}

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

  .filter-sidebar {
    position: static;
    margin-bottom: 30px;
  }
}

/* ==========================================================================
   Shop & Category Specific Grids (4 per row)
   ========================================================================== */

.shop-main-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px;
  width: 100%;
}

@media (max-width: 1200px) {
  .shop-main-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .shop-main-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 500px) {
  .shop-main-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Sticky PDP CTA Bar - Razor-Thin Premium Edition */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.05);
  padding: 7px 0;
  /* Final Ultra-Slim adjustment */
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sticky-cta-bar.show {
  transform: translateY(0);
}

.container-pdp-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.sticky-product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-product-info img {
  width: 38px;
  /* Slightly smaller for razor-thin look */
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
  background: white;
  padding: 3px;
  border: 1px solid #eee;
}

#sticky-cta-link {
  padding: 8px 25px !important;
  /* Compact button */
  font-size: 13px !important;
  letter-spacing: 0.3px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .sticky-product-info {
    display: none;
  }

  .sticky-cta-bar .cta-btn-orange {
    width: 100%;
    text-align: center;
  }

  .container-pdp-flex {
    justify-content: center;
  }
}

/* ==========================================================================
    ARTICLE IMAGE STANDARDS (ELITE CONVERSION)
    ========================================================================== */

.article-img-square {
  max-width: 350px;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 30px auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  object-fit: cover;
  transition: none;
}

.article-img-square:hover {
  transform: none;
}

/* Floated adjustment for Zig-Zag layout */
.article-img-square[style*="float"] {
  max-width: 350px;
  margin: 10px 0 25px 0;
}

.article-img-square[style*="float: left"] {
  margin-right: 35px;
}

.article-img-square[style*="float: right"] {
  margin-left: 35px;
}

.article-img-wide {
  max-width: 900px;
  width: 100%;
  height: auto;
  margin: 45px auto;
}

.filter-item input:hover {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(98, 166, 0, 0.1);
}

.filter-item input:checked {
  background: var(--primary-green);
  border-color: var(--primary-green);
  box-shadow: 0 4px 10px rgba(98, 166, 0, 0.2);
}

.filter-item input:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  animation: checkIn 0.2s ease-out;
}

@keyframes checkIn {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(0.5);
  }

  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

.filter-item span {
  line-height: 1.4;
}

/* Scrollable Brands with modern styling */
#brand-filter-list {
  max-height: 250px;
  overflow-y: auto;
  padding-right: 8px;
  scroll-behavior: smooth;
}

#brand-filter-list::-webkit-scrollbar {
  width: 5px;
}

#brand-filter-list::-webkit-scrollbar-track {
  background: transparent;
}

#brand-filter-list::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 20px;
}

#brand-filter-list::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}

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

  .filter-sidebar {
    position: static;
    margin-bottom: 30px;
  }
}

/* ==========================================================================
   Shop & Category Specific Grids (4 per row)
   ========================================================================== */

.shop-main-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px;
  width: 100%;
}

@media (max-width: 1200px) {
  .shop-main-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .shop-main-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .shop-main-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 5px !important;
  }

  .shop-main-grid .product-card {
    padding: 10px !important;
  }

  .shop-main-grid .product-img-wrapper {
    height: 150px !important;
    /* Altura reduzida para 2 colunas */
    padding: 10px !important;
  }

  .shop-main-grid .product-name {
    font-size: 14px !important;
    line-height: 1.3 !important;
    margin-bottom: 5px !important;
  }

  .shop-main-grid .price-container {
    font-size: 15px !important;
  }

  /* Ajustes para Mobile S (iPhone SE) */
  @media (max-width: 340px) {
    .shop-main-grid .product-name {
      font-size: 12px !important;
    }

    .shop-main-grid .product-img-wrapper {
      height: 120px !important;
    }

    .shop-main-grid .price-container {
      font-size: 13px !important;
    }
  }
}



/* Sticky PDP CTA Bar - Razor-Thin Premium Edition */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.05);
  padding: 7px 0;
  /* Final Ultra-Slim adjustment */
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sticky-cta-bar.show {
  transform: translateY(0);
}

.container-pdp-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.sticky-product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-product-info img {
  width: 38px;
  /* Slightly smaller for razor-thin look */
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
  background: white;
  padding: 3px;
  border: 1px solid #eee;
}

#sticky-cta-link {
  padding: 8px 25px !important;
  /* Compact button */
  font-size: 13px !important;
  letter-spacing: 0.3px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .sticky-product-info {
    display: none;
  }

  .sticky-cta-bar .cta-btn-orange {
    width: 100%;
    text-align: center;
  }

  .container-pdp-flex {
    justify-content: center;
  }
}

/* ==========================================================================
    ARTICLE IMAGE STANDARDS (ELITE CONVERSION)
    ========================================================================== */

.article-img-square {
  max-width: 350px;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 30px auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  object-fit: cover;
  transition: none;
}

.article-img-square:hover {
  transform: none;
}

/* Floated adjustment for Zig-Zag layout */
.article-img-square[style*="float"] {
  max-width: 350px;
  margin: 10px 0 25px 0;
}

.article-img-square[style*="float: left"] {
  margin-right: 35px;
}

.article-img-square[style*="float: right"] {
  margin-left: 35px;
}

.article-img-wide {
  max-width: 900px;
  width: 100%;
  height: auto;
  margin: 45px auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {

  .article-img-square,
  .article-img-square[style*="float"],
  .article-img-wide,
  .article-img-square-left,
  .article-img-square-right {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    float: none !important;
    margin: 25px auto !important;
  }
}

.article-img-square-left {
  float: left;
  display: block !important;
  width: 350px !important;
  height: 350px !important;
  margin: 10px 35px 25px 0 !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07) !important;
  overflow: hidden !important;
}

.article-img-square-right {
  float: right;
  display: block !important;
  width: 350px !important;
  height: 350px !important;
  margin: 10px 0 25px 35px !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07) !important;
  overflow: hidden !important;
}

.article-img-square-left img,
.article-img-square-right img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* --- JOURNAL & BLOG SYSTEM --- */
/* Master navigation width to match homepage perfectly */
.standard-site-width {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: block;
}

.nav-bar .standard-site-width {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Editorial content centering and professional padding */
.journal-main-body {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

@media (min-width: 1024px) {
  .journal-main-body {
    padding-left: 80px;
    padding-right: 80px;
  }
}

/* Static Social Share Button Dimensions */
.social-share-btn-fixed {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.social-share-btn-copy {
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

/* ------------------------------ */

/* --- BLOG ARTICLE TYPOGRAPHY --- */
.blog-content-text {
  font-size: 17px;
  line-height: 1.8;
  color: #334155;
  /* Slate 700 */
}

.blog-content-text h2 {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  /* Slate 900 */
  margin-top: 50px;
  margin-bottom: 25px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.blog-content-text h3 {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  /* Slate 800 */
  margin-top: 40px;
  margin-bottom: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.blog-content-text h4 {
  font-size: 20px;
  font-weight: 700;
  color: #334155;
  /* Slate 700 */
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-content-text p {
  margin-bottom: 24px;
}

.blog-content-text strong {
  font-weight: 700;
  color: #0f172a;
}

.blog-content-text ul,
.blog-content-text ol {
  margin-bottom: 24px;
  padding-left: 20px;
}

.blog-content-text ul {
  list-style-type: disc;
}

.blog-content-text ol {
  list-style-type: decimal;
}

.blog-content-text li {
  margin-bottom: 8px;
}

.blog-content-text blockquote {
  font-size: 20px;
  font-style: italic;
  color: var(--primary-green);
  border-left: 4px solid var(--primary-green);
  padding: 20px 30px;
  margin: 40px 0;
  background: #f8fafc;
  font-weight: 500;
}

/* Product article list bullets */
.article-body-content ul {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.article-body-content ol {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.article-body-content li {
  margin-bottom: 10px;
}

/* COOKIE CONSENT BANNER - PREMIUM DESIGN (IMAGE MATCH) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20, 20, 20, 0.85);
  /* Dark grey with the requested opacity */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  padding: 8px 0;
  z-index: 10000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-container-standard {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.cookie-flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.cookie-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex-shrink: 0;
}

.cookie-text {
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 1000px;
}

/* Full text: visible on desktop and tablet. Hidden on mobile. */
.cookie-text-full {
  display: block;
}

/* Mobile compact text: hidden by default, shown only on mobile */
.cookie-text-mobile {
  display: none;
}

.cookie-text a {
  color: white;
  text-decoration: underline;
  opacity: 0.9;
}

.cookie-text a:hover {
  opacity: 1;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-shrink: 0;
  margin-left: auto;
}

.cookie-btn {
  background: #0056b3;
  /* Vitamin Shoppe / Blue from image */
  color: white;
  border: none;
  padding: 8px 50px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-transform: uppercase;
}

.cookie-btn:hover {
  background: #004494;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
}

@media (max-width: 850px) {
  .cookie-flex {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 6px 15px !important;
    text-align: left !important;
  }

  .cookie-text {
    font-size: 10px !important;
    line-height: 1.3 !important;
    max-width: 82% !important;
  }

  .cookie-actions {
    width: auto !important;
    margin-left: auto !important;
    gap: 0 !important;
  }

  .cookie-btn {
    padding: 8px 30px !important;
    font-size: 12.5px !important;
    min-width: 85px !important;
  }
}

/* Para smartphones (ecrãs muito pequenos): logo visível, menor e delicado antes do texto */
@media (max-width: 480px) {
  .cookie-icon {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
  }

  /* Switch text versions on mobile */
  .cookie-text-full {
    display: none !important;
  }

  .cookie-text-mobile {
    display: block !important;
  }
}

/* Otimização específica para Tablets (ecrãs médios): botão maior e com recuo da margem direita */
@media (min-width: 481px) and (max-width: 850px) {
  .cookie-text {
    max-width: 85% !important; /* Permite que o texto se estenda até bem perto do botão antes de quebrar */
  }

  .cookie-actions {
    margin-right: 28px !important; /* Afasta o botão da borda direita da tela */
  }

  .cookie-btn {
    padding: 10px 40px !important;  /* Botão maior e mais robusto no tablet */
    font-size: 13.5px !important;   /* Letra ligeiramente maior e legível */
    min-width: 110px !important;
  }
}

/* PDP GOLD STANDARD STYLES */
.product-info-header {
  margin-bottom: 0px !important;
}

.pdp-title {
  font-size: 32px;
  font-weight: 900;
  color: #111;
  line-height: 1.1;
  margin-bottom: 6px !important;
  letter-spacing: -1px;
}

.brand-name {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 4px !important;
  font-weight: 600;
}

.pdp-meta-line {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 14px !important;
  font-weight: 500;
  letter-spacing: 0.2px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.pdp-rating {
  margin-bottom: 6px !important;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 0 !important;
}

.pdp-stock {
  margin-bottom: 8px !important;
  font-size: 14px;
  color: #1a5d1a;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* EDITORIAL VERDICT GOLD STANDARD */
.final-cta-box {
  background: #ffffff !important;
  border: 2px solid #1a1a1a !important;
  border-radius: 0 !important;
  padding: 20px 30px !important;
  margin: 10px auto 60px !important;
  max-width: 900px !important;
  display: flex !important;
  align-items: center !important;
  gap: 30px !important;
  position: relative !important;
  box-shadow: none !important;
}

.final-cta-box::before {
  content: "EDITORIAL VERDICT" !important;
  position: absolute !important;
  top: -12px !important;
  left: 20px !important;
  background: #1a1a1a !important;
  color: #ffffff !important;
  padding: 2px 12px !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  border-radius: 2px !important;
}

.final-cta-img {
  flex: 0 0 80px !important;
}

.final-cta-img img {
  width: 80px !important;
  height: auto !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.final-cta-info {
  flex: 1 !important;
  min-width: unset !important;
}

.final-cta-info div.final-verdict-title {
  font-size: 19px;
  color: #1a1a1a;
  margin: 0 0 5px 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.final-cta-info div.final-verdict-text {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

.final-cta-action {
  flex: 0 0 auto !important;
  text-align: center !important;
}

.closing-btn {
  display: block !important;
  padding: 15px 35px !important;
  font-size: 14px !important;
  background: #f38a00 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all 0.2s ease !important;
  border: 2px solid #f38a00 !important;
  box-shadow: 0 4px 12px rgba(243, 138, 0, 0.2) !important;
  border-radius: 0 !important;
}

.closing-btn:hover {
  background: #e07b00 !important;
  border-color: #e07b00 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(243, 138, 0, 0.3) !important;
}

.final-nudge {
  font-size: 10px !important;
  color: #64748b !important;
  font-weight: 800 !important;
  margin-top: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

@media (max-width: 850px) {
  .final-cta-box {
    flex-direction: column !important;
    text-align: center !important;
    padding: 35px 20px !important;
  }

  .final-cta-action {
    margin-top: 15px !important;
  }

  .final-cta-box::before {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS OVERRIDES (EXCLUSIVE FOR MOBILE CONVERSATION)
   ========================================================================== */

/* Hide mobile menu button on PC, Laptop, and Tablet */
.mobile-menu-btn {
  display: none;
}

/* Visibility Control for different device layouts */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: block !important;
}

@media (min-width: 1025px) {
  .promo-card.desktop-only:not(.bodytech) {
    display: flex !important;
  }
}


@media (max-width: 767px) {
  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }

  /* Prevent horizontal screen scrolling - optimized for sticky support */
  html,
  body {
    overflow-x: visible !important;
    overflow-y: visible !important;
    height: auto !important;
  }

  /* Exactly like iHerb mobile header layout - Enforced Sticky */
  .main-header {
    padding: 8px 12px !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background-color: var(--white) !important;
    border-bottom: 1px solid #e5e5e5 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    will-change: transform;
  }

  .main-header .container {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .header-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    color: var(--primary-green) !important;
    background: none !important;
    border: none !important;
    padding: 4px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }

  .logo {
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  .logo img {
    height: 26px !important;
    /* Adapted perfect size for mobile header */
    width: auto !important;
    object-fit: contain !important;
  }

  .search-bar-container {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .search-bar {
    height: 38px !important;
    padding: 0 12px !important;
    padding-right: 35px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    border: 1px solid var(--primary-green) !important;
    background-color: #fff !important;
    font-style: normal !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .search-bar::placeholder {
    font-size: 13px !important;
    font-style: normal !important;
    color: #888 !important;
  }

  .search-icon {
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 15px !important;
    color: var(--primary-green) !important;
    opacity: 1 !important;
  }

  .header-actions {
    gap: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Hide non-mobile elements to get the exact iHerb look */
  .featured-label-stack,
  .header-cert-stickers {
    display: none !important;
  }

  .action-item {
    margin-left: 2px !important;
    padding: 4px 6px !important;
    position: relative !important;
  }

  .action-item span:not(#wishlist-count) {
    display: none !important;
    /* Hide 'Wish List' text but KEEP the counter */
  }

  .action-item i {
    font-size: 22px !important;
    color: #1e293b !important;
    /* Premium black heart icon */
    margin: 0 !important;
  }

  #wishlist-count {
    top: -4px !important;
    right: -4px !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 9px !important;
    border-width: 1px !important;
  }

  /* Mobile Navigation Drawer Toggle */
  .nav-bar {
    display: none !important;
    /* Totalmente escondido no mobile, substituído pela Gaveta */
  }

  .nav-bar.mobile-open {
    display: block !important;
  }

  .nav-bar .container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
    box-sizing: border-box !important;
  }

  .nav-links,
  .nav-links.right {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
    box-sizing: border-box !important;
  }

  .nav-links li {
    width: 100% !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding-bottom: 8px !important;
    box-sizing: border-box !important;
  }

  /* Adapted Size for the 3 Banners on Mobile - Product First Layout */
  .hero {
    margin-bottom: 0 !important;
    /* Totalmente encostado */
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .trending {
    margin-bottom: 0 !important;
  }

  .hero-slider-wrapper {
    height: auto !important;
    aspect-ratio: 3 / 1 !important;
    /* Proporção 3:1 para mostrar a imagem toda como no desktop */
    border-radius: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* CRITICAL FIX: Ensure slider stays horizontal on mobile to support JS translateX animation */
  .hero-slider {
    flex-direction: row !important;
    width: 200% !important;
    height: 100% !important;
    display: flex !important;
    box-sizing: border-box !important;
  }

  .hero-slide {
    height: 100% !important;
    width: 50% !important;
    flex: 0 0 50% !important;
    background-position: right center !important;
    background-size: cover !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 20px 20px !important; /* Padding simétrico igual em cima e em baixo para centrar verticalmente */
    position: relative !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .hero-content {
    position: relative !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-right: auto !important;
    height: auto !important;
    /* Garante que não estique até ao topo */
    max-width: 50% !important;
    text-align: center !important; /* Alinhamento centralizado interno */
    align-items: center !important; /* Alinhado centralmente por cima do botao */
    justify-content: center !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 10 !important;
    transform: none !important;
  }

  /* Overriding inline slide font-sizes forcefully for the ultra-compact iHerb look */
  .hero-title {
    line-height: 1.1 !important;
    letter-spacing: -0.2px !important;
    margin-bottom: 4px !important;
    -webkit-text-stroke: 0px transparent !important;
    color: #1a1a1a !important;
    text-shadow: none !important;
    font-weight: 800 !important;
    text-align: center !important; /* Alinhamento centralizado interno */
  }

  .hero-slide .hero-title span {
    line-height: 1.1 !important;
    -webkit-text-stroke: 0px transparent !important;
    font-weight: 800 !important;
  }

  /* Restore specific Branding Colors for each slide & buttons */
  .hero-slide:nth-child(1) .hero-title span {
    color: #0071bc !important;
  }

  .hero-slide:nth-child(1) .hero-btn {
    background-color: #f38a00 !important;
    box-shadow: 0 10px 25px rgba(243, 138, 0, 0.3) !important;
  }

  .hero-slide:nth-child(2) .hero-title span:first-of-type {
    color: #ffffff !important;
    background-color: #e44e93 !important;
    -webkit-text-stroke: 0px transparent !important;
    display: inline-block !important;
    padding: 2px 6px !important;
    border-radius: 0 !important;
    margin: 2px 0 !important;
  }

  .hero-slide:nth-child(2) .hero-title span:last-of-type {
    color: #e44e93 !important;
    background-color: transparent !important;
    -webkit-text-stroke: 0px transparent !important;
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .hero-slide:nth-child(2) .hero-btn {
    background-color: #e44e93 !important;
  }

  .hero-slide:nth-child(3) .hero-title span {
    color: #0071bc !important;
  }

  .hero-slide:nth-child(3) .hero-btn {
    background-color: #f38a00 !important;
    box-shadow: 0 10px 25px rgba(243, 138, 0, 0.3) !important;
  }

  .hero-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    /* Limite rigoroso de 2 linhas */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
    color: #444 !important;
    text-align: center !important; /* Alinhamento centralizado interno */
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-weight: 500 !important;
  }

  /* Progressive Scaling for Mobile - Safe and stable */
  /* 1. Base for Mobile S (under 321px) */
  .hero-title,
  .hero-slide .hero-title span {
    font-size: 16px !important; /* Aumentado de 11px para 16px no Mobile S */
    line-height: 1.1 !important;
  }

  .hero-desc {
    font-size: 9px !important;
    line-height: 1.2 !important;
    margin-bottom: 5px !important;
  }

  @media (max-width: 320px) {
    .hero-desc {
      display: none !important;
    }

    .hero-title,
    .hero-slide .hero-title span {
      font-size: 19px !important;
      line-height: 1.1 !important;
    }

    .hero-content {
      margin-top: 4px !important;
    }

    .hero-slide:nth-child(1) .hero-content,
    .hero-slide:nth-child(3) .hero-content {
      margin-top: -6px !important;
    }
  }

  .hero-btn {
    padding: 4px 10px !important;
    font-size: 10px !important;
  }

  .hero-content {
    margin-top: -8px !important;
    max-width: 50% !important;
    overflow: hidden !important;
  }

  /* 2. Upgrade for Mobile M (321px to 375px) */
  @media (min-width: 321px) {

    .hero-title,
    .hero-slide .hero-title span {
      font-size: 19px !important;
    }

    .hero-desc {
      font-size: 10px !important;
    }

    .hero-btn {
      padding: 5px 12px !important;
      font-size: 11px !important;
    }

    .hero-content {
      margin-top: -8px !important;
    }

    @media (max-width: 375.98px) {
      .hero-slide:nth-child(2) .hero-content {
        margin-top: -12px !important;
      }
    }
  }

  /* 3. Upgrade for Mobile L (376px and above) */
  @media (min-width: 376px) {

    .hero-title,
    .hero-slide .hero-title span {
      font-size: 22px !important;
    }

    .hero-desc {
      font-size: 11px !important;
    }

    .hero-btn {
      padding: 5px 15px !important;
      font-size: 12px !important;
    }

    .hero-content {
      margin-top: -8px !important;
    }
  }

  .hero-actions-row {
    justify-content: center !important; /* Centralizado centralmente sob o texto */
    width: 100% !important;
    margin-top: 0 !important;
  }

  .hero-btn {
    background-color: #438f29 !important;
    color: white !important;
    border-radius: 3px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
  }

  .hero-pagination {
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    gap: 6px !important;
    /* Juntar mais os pontos */
  }

  .hero-dot {
    width: 6px !important;
    height: 6px !important;
    background: rgba(0, 0, 0, 0.15) !important;
    margin: 0 !important;
    /* Remover margens para usar apenas o gap do pai */
  }

  .hero-dot.active {
    width: 6px !important;
    height: 6px !important;
    background: var(--primary-green) !important;
    /* Agora 100% verde, sem preto */
    border-radius: 50% !important;
  }

  .hero-nav {
    display: none !important;
    /* Clean look without side arrows on mobile */
  }

  /* Prevent promotional ads section from overflowing horizontally */
  /* ===== STANDARDIZED 24px MOBILE SECTION RHYTHM ===== */
  .trending,
  .category-circles-section,
  .best-sellers,
  .new-arrivals {
    padding-top: 24px !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
  }

  .promo-ads {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
    margin: 24px auto 0 !important;
  }

  .promo-grid {
    gap: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .promo-card {
    padding: 20px !important;
    height: auto !important;
    min-height: 240px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .promo-card.bodytech .promo-content,
  .promo-card.bloom .promo-content,
  .promo-card.vthrive .promo-content {
    padding: 20px !important;
    max-width: 75% !important;
    box-sizing: border-box !important;
  }

  .promo-card.bodytech h2 {
    font-size: 22px !important;
    margin-bottom: 10px !important;
  }

  .promo-card.bodytech p {
    font-size: 13px !important;
    margin-bottom: 15px !important;
  }

  .promo-card h3 {
    font-size: 18px !important;
    margin-bottom: 6px !important;
  }

  .promo-card p {
    font-size: 12px !important;
    margin-bottom: 12px !important;
  }

  .promo-btn-white,
  .promo-btn-blue {
    padding: 8px 18px !important;
    font-size: 12px !important;
  }

  /* Compact Top Bar Text for Mobile */
  .top-bar {
    font-size: 0 !important;
    padding: 6px 10px !important;
    line-height: 1.2 !important;
  }

  .top-bar::after {
    content: "\2b50  2026 Top Health Formulations: Partner Rates" !important;
    font-size: 11px !important;
    display: block !important;
    white-space: nowrap !important;
  }

  @media (max-width: 320px) {

    .hero-dot,
    .hero-dot.active {
      width: 4.5px !important;
      height: 4.5px !important;
    }
  }

  /* ==========================================================================
     FREE HORIZONTAL SCROLL OPTIMIZATION (MOBILE S, M, L)
     ========================================================================== */

  .product-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding: 0 10px 0 !important;
    margin-top: -12px !important;
    scrollbar-width: none !important;
    grid-template-columns: none !important;
  }

  .product-grid::-webkit-scrollbar {
    display: none !important;
  }

  .slider-inner-container {
    overflow: visible !important;
    width: 100% !important;
  }

  .slider-outer-wrapper {
    overflow-x: auto !important;
    scrollbar-width: none !important;
    margin-bottom: 0 !important;
  }

  .slider-outer-wrapper::-webkit-scrollbar {
    display: none !important;
  }

  .slider-arrow {
    display: none !important;
  }

  /* 2.5 Product Peek Logic */
  .product-card {
    flex: 0 0 42% !important;
    min-width: 42% !important;
    padding: 8px !important;
    border-radius: 8px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border: none !important;
    /* Bordas removidas */
  }

  .product-img-wrapper {
    height: 120px !important;
    padding: 8px !important;
    margin-bottom: 4px !important;
  }

  .brand-name {
    font-size: 8.5px !important;
    margin-bottom: 2px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
    /* NÃO QUEBRAR LINHA */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  .product-name {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    display: block !important;
    height: 1.4em !important;
    margin-bottom: 3px !important;
    font-weight: 700 !important;
  }

  .rating {
    margin-bottom: 2px !important;
    /* Aproximação extra */
    gap: 3px !important;
    display: flex !important;
    align-items: center !important;
  }

  .product-card-footer {
    margin-top: 6px !important;
    /* Reduzido de 15px */
    padding-top: 6px !important;
    /* Reduzido de 10px */
    border-top: 1px solid #f5f5f5 !important;
  }

  .view-official-link {
    font-size: 11px !important;
    /* Ajuste fino para mobile */
  }

  .stars-outer {
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
  }

  .rating-value {
    font-size: 10px !important;
    font-weight: 800 !important;
  }

  .rating span {
    font-size: 9px !important;
  }

  .price {
    font-size: 16px !important;
    font-weight: 800 !important;
  }

  .old-price {
    font-size: 11px !important;
  }

  .view-official-link {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: var(--primary-green) !important;
    display: block !important;
    margin-top: 0 !important;
  }

  .wish-heart {
    top: 6px !important;
    right: 6px !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
  }

  .section-header {
    margin-bottom: 0 !important;
    padding: 0 5px !important;
    margin-top: 0 !important;
    /* Espaçamento já vem do padding-top da secção (24px) */
  }

  .section-title {
    font-size: 17px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .section-header-icon {
    height: 16px !important;
    width: auto !important;
    margin-left: 0 !important;
  }

  .view-all {
    font-size: 11px !important;
  }

  /* Shop by Category - iHerb Style Pills (Horizontal) - MOBILE ONLY */
  .category-circles-section.mobile-only {
    margin-top: 0 !important;
    padding: 24px 12px 0 !important;
    /* 24px topo, 0 fundo — igual às outras secções */
  }

  .category-circles-section.mobile-only .section-title {
    font-size: 19px !important;
    font-weight: 800 !important;
    margin-bottom: 0px !important;
  }

  .category-circles-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 0 !important;
  }

  .category-circle-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: #ffffff !important;
    border: 0.5px solid #e0e0e0 !important;
    border-radius: 50px !important;
    padding: 2px 6px !important;
    /* Mínimo espaço interno */
    text-decoration: none !important;
    gap: 2px !important;
    /* Texto colado ao ícone */
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s !important;
    min-height: 34px !important;
  }

  .circle-icon-wrapper {
    width: 28px !important;
    height: 28px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
  }

  .circle-icon-wrapper img {
    width: 75% !important;
    height: 75% !important;
    object-fit: contain !important;
  }

  .circle-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    text-align: left !important;
    max-width: none !important;
    line-height: 1.1 !important;
  }

  @media (max-width: 320px) {

        /* Mobile S adjustments */

    .product-img-wrapper {
      height: 100px !important;
    }

    .category-circle-item {
      padding: 2px 4px !important;
      gap: 3px !important;
      min-height: 30px !important;
    }

    .circle-icon-wrapper {
      width: 22px !important;
      height: 22px !important;
    }

    .circle-label {
      font-size: 9px !important;
      line-height: 1 !important;
    }
  }

  @media (min-width: 376px) {

        /* Mobile L adjustments */

    .category-circle-item {
      padding: 3px 8px !important;
      gap: 6px !important;
      min-height: 38px !important;
    }

    .circle-icon-wrapper {
      width: 32px !important;
      height: 32px !important;
    }

    .circle-label {
      font-size: 11.5px !important;
    }

    .desktop-only-text {
      display: none !important;
    }
  }

  /* Hide Balmorex Banner on Mobile */
  .brand-banner-ghost {
    display: none !important;
  }

  .home-blog {
    padding: 24px 0 40px !important;
    /* Padronizado com ritmo de 24px */
    border-top: none !important;
    margin-top: 24px !important;
  }

  .home-blog .section-header {
    margin-bottom: 15px !important;
  }

  .blog-preview-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 0 15px !important;
    margin-top: 0 !important;
  }

  .blog-preview-card {
    background: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .blog-preview-card img {
    height: 160px !important;
    /* Compacto como Vitamin Shoppe */
    border-radius: 8px 8px 0 0 !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  .blog-preview-content {
    padding: 12px 4px 8px !important;
    text-align: left !important;
    /* Alinhamento à esquerda como VS */
  }

  .blog-preview-date {
    font-size: 11px !important;
    color: #999 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
  }

  .blog-preview-content h3 {
    font-size: 16px !important;
    color: #1a1a1a !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    margin-top: 4px !important;
  }

  .blog-preview-desc {
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.5 !important;
    margin-top: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .blog-preview-link {
    display: inline-block !important;
    margin-top: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--primary-green) !important;
  }

  .view-articles-btn {
    width: auto !important;
    padding: 12px 30px !important;
    font-size: 14px !important;
  }

  /* Promo Ads Mobile - Full Image Banner Mode */
  .promo-grid {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .promo-side-stack {
    gap: 10px !important;
  }

  .promo-card {
    height: auto !important;
    min-height: 0 !important;
    /* Remove altura mínima para não sobrar espaço */
    border-radius: 0 !important;
    margin-bottom: 10px !important;
    background: transparent !important;
    border: none !important;
    overflow: hidden !important;
  }

  .promo-card .promo-content {
    display: none !important;
  }

  .mobile-only-link {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10 !important;
    display: block !important;
  }

  .promo-card .promo-image-wrapper {
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    line-height: 0 !important;
    /* Remove pequeno gap inferior da imagem */
  }

  .promo-card .promo-image-wrapper img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    /* Garante que preenche tudo sem bordas */
    transform: none !important;
  }

  /* (Regra consolidada acima em L5267) */

  /* Specials uses .best-sellers class, override inline style */
  .specials-mobile-spacing {
    margin-top: 24px !important;
    padding-top: 24px !important;
  }

  @media (max-width: 320px) {
    .promo-card {
      height: 240px !important;
    }

    .promo-card h2,
    .promo-card h3 {
      font-size: 19px !important;
    }

    .promo-card p {
      font-size: 12px !important;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .promo-btn-white,
    .promo-btn-blue {
      padding: 8px 20px !important;
      font-size: 12px !important;
    }
  }

  /* Specific sizing for Mobile L (425px+) */
  @media (min-width: 425px) {
    .promo-card {
      height: 320px !important;
    }

    .promo-card h2,
    .promo-card h3 {
      font-size: 26px !important;
    }

    .desktop-only-text {
      display: none !important;
    }

    .l-only-br {
      display: block !important;
    }

    /* Ativa as 4 linhas apenas no L */
  }

  .l-only-br {
    display: none;
  }

  /* Escondido por defeito */

  /* Circle Promos 2x2 Grid (Vitamin Shoppe Style) */
  .circle-promos-section {
    margin: 24px auto 0 !important;
    padding: 0 15px !important;
  }

  .circle-promos-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }

  .circle-img-box {
    margin-bottom: 12px !important;
  }

  .circle-text {
    font-size: 15px !important;
    line-height: 1.1 !important;
    max-width: 90% !important;
  }

  /* Specific sizing for Mobile S */
  @media (max-width: 320px) {
    .circle-promos-grid {
      gap: 15px !important;
    }

    .circle-text {
      font-size: 14px !important;
    }
  }

  /* Specific sizing for Mobile L */
  @media (min-width: 425px) {
    .circle-promos-grid {
      gap: 25px !important;
    }

    .circle-text {
      font-size: 17px !important;
    }
  }

  /* Footer Mobile Responsiveness */
  /* Footer Mobile Refinement */
  .footer-top-row {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
    /* Slightly tighter gap */
    padding-bottom: 35px !important;
    margin-bottom: 0 !important; /* Removido espaçamento extra para o primeiro botão ficar idêntico aos outros */
    border-bottom: 1px solid #f0f0f0 !important;
  }

  .footer-logo img {
    height: 48px !important;
    /* Slightly smaller for mobile balance */
    width: auto !important;
  }

  .footer-brand-mission {
    text-align: center !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
  }

  .footer-h3 {
    font-size: 15px !important;
    /* Standardized size */
    margin-bottom: 10px !important;
    letter-spacing: 0.5px !important;
  }

  .footer-brand-mission p {
    font-size: 13px !important;
    /* Improved readability */
    line-height: 1.6 !important;
    color: #555 !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 0 !important;
    margin-bottom: 25px !important;
    margin-top: 0 !important; /* Garante que não há margens adicionais */
  }

  .footer-column {
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 12px 0 !important;
    /* Consistent vertical rhythm */
  }

  .footer-h4 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 0 !important;
    padding: 10px 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    position: relative !important;
    white-space: nowrap !important; /* Garante que nunca quebre linha, mantendo a altura perfeitamente idêntica */
    line-height: 1.2 !important;
  }

  .footer-h4::after {
    display: none !important;
    /* Remove green separator lines on mobile */
  }

  .footer-h4 i {
    font-size: 10px !important;
    transition: transform 0.3s ease !important;
    color: #999 !important;
  }

  .footer-column.active .footer-h4 i {
    transform: rotate(180deg) !important;
  }

  .footer-nav {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: 0 !important;
    opacity: 0 !important;
  }

  .footer-nav li {
    margin-bottom: 15px !important;
  }

  .footer-nav a {
    font-size: 13px !important;
    color: #666 !important;
  }

  .footer-column.active .footer-nav {
    max-height: 500px !important;
    padding-top: 5px !important;
    padding-bottom: 15px !important;
    opacity: 1 !important;
  }

  .footer-social-row {
    justify-content: center !important;
    gap: 25px !important;
    /* More space between social icons */
    margin-top: 25px !important;
    margin-bottom: 30px !important;
  }

  .footer-social-row a {
    font-size: 22px !important;
  }

  .footer-cert-section {
    padding: 25px 0 !important;
    border-top: 1px solid #f0f0f0 !important;
    margin-top: 0 !important;
  }

  .footer-cert-image {
    height: 50px !important;
    display: block !important;
    margin: 0 auto !important;
    opacity: 0.9 !important;
  }


  .footer-copyright {
    font-size: 11px !important;
    line-height: 1.5 !important;
    padding: 0 20px !important;
    margin-top: 40px !important;
  }
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER (iHerb Style)
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  /* Initially hidden */
  width: 300px;
  height: 100%;
  background: #ffffff;
  z-index: 10000;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.active {
  transform: translateX(300px);
}

.drawer-header {
  padding: 12px 25px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  flex-shrink: 0;
}

.drawer-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 22px;
  color: #64748b;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.drawer-close:active {
  background: #f1f5f9;
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 !important;
  scrollbar-width: none;
}

.drawer-content::-webkit-scrollbar {
  display: none;
}

.drawer-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.drawer-divider {
  padding: 22px 25px 10px;
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: #f8fafc;
  margin-top: 5px;
}

.drawer-item {
  height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.drawer-item a {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  height: 52px !important;
  padding: 0 25px !important;
  color: #334155 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  line-height: 1 !important;
  transition: all 0.2s !important;
  border-bottom: 1px solid #f1f5f9 !important; /* More visible separator on white background */
  box-sizing: border-box !important;
}

.drawer-item a i {
  width: 28px !important;
  font-size: 21px !important;
  color: var(--primary-green) !important;
  text-align: center !important;
  opacity: 0.85 !important;
}

.drawer-icon {
  width: 28px !important;
  height: 28px !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
  opacity: 0.9 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.drawer-item a:active {
  background: #f8fafc;
  padding-left: 30px;
  color: var(--primary-green);
}

/* Lock body scroll when menu is open */
body.drawer-open {
  overflow: hidden !important;
  /* Removed position: fixed to prevent page jump to top */
  width: 100%;
}

/* ==========================================================================
   MOBILE-ONLY OVERRIDES (MAX-WIDTH: 768px)
   ========================================================================== */
@media (max-width: 768px) {

  /* Global Breadcrumb Suppression */
  #pdp-breadcrumb,
  .breadcrumb-area,
  #category-breadcrumb-parent {
    display: none !important;
  }

  /* Compact Search Suggestions (iHerb/Premium Style) */
  .search-dropdown {
    padding: 8px 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
  }

  .suggest-label {
    padding: 8px 15px !important;
    font-size: 10px !important;
    opacity: 0.7;
    letter-spacing: 0.8px !important;
  }

  .suggest-item a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-weight: 500 !important;
    /* Refined weight */
    color: #334155 !important;
    transition: all 0.2s !important;
  }

  /* Mobile S Scaling (Default) */
  .suggest-item a {
    font-size: 13px !important;
    padding: 9px 15px !important;
  }

  .search-bar {
    height: 44px !important;
  }

  .search-icon {
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  .search-icon i.fa-xmark {
    font-size: 18px !important;
    color: #94a3b8 !important;
    /* Soft Slate */
  }

  /* Mobile M Scaling (321px to 375px) */
  @media (min-width: 321px) {
    .suggest-item a {
      font-size: 13.5px !important;
      padding: 10px 15px !important;
    }
  }

  /* Mobile L Scaling (376px+) */
  @media (min-width: 376px) {
    .suggest-item a {
      font-size: 14px !important;
      padding: 11px 18px !important;
    }
  }


  /* Standardized Category Banners (Minimalist Style) */
  .category-banner,
  .best-sellers-banner,
  .specials-banner {
    background-image: url('./assets/background-bannet-footer-paginas - best supplements.webp') !important;
    background-size: 100% 100% !important; /* Stretches the image to fit the container perfectly on S, M and L without cropping the corners */
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
    flex-direction: column !important;
    margin: 15px -20px 0px !important; /* Expanded edge-to-edge horizontally to eliminate white space */
    width: calc(100% + 40px) !important; /* Stretches the background perfectly to the screen edges */
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .banner-content {
    padding: 25px 35px 5px !important; /* Kept text safe from edges while background image is full bleed */
    text-align: center !important;
    align-items: center !important;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .banner-image-box {
    display: none !important;
  }

  /* Category Specific Theme Colors (Titles) */
  .cat-weight .banner-title {
    color: #2e7d32 !important;
  }

  /* Metabolic Green */
  .cat-beauty .banner-title {
    color: #E46C6E !important;
  }

  /* Bronze/Warm */
  .cat-performance .banner-title {
    color: #e67e22 !important;
  }

  /* Energy Orange */
  .cat-senior .banner-title {
    color: #34495e !important;
  }

  /* Professional Slate */
  .cat-general .banner-title {
    color: #16a085 !important;
  }

  /* Vitality Teal */

  /* Global Protocol Tag (Premium Gold) */
  .banner-tag {
    color: #c5a021 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 10px !important;
    margin-bottom: 4px !important;
  }

  /* Shared Typography Scaling (S, M, L) */
  .banner-title,
  .best-sellers-banner h1,
  .specials-banner h1 {
    font-size: 24px !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
  }

  .banner-desc,
  .best-sellers-banner p,
  .specials-banner p {
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #64748b !important;
    max-width: 100% !important;
    margin-top: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* Default mobile S padding for banners without inner wrapper */
  .best-sellers-banner,
  .specials-banner {
    padding: 25px 35px 5px !important;
  }

  /* Mobile M Scaling (321px to 375px) */
  @media (min-width: 321px) {
    .banner-content,
    .best-sellers-banner,
    .specials-banner {
      padding: 30px 40px 5px !important;
    }

    .banner-title,
    .best-sellers-banner h1,
    .specials-banner h1 {
      font-size: 26px !important;
    }
  }

  /* Mobile L Scaling (376px+) */
  @media (min-width: 376px) {
    .banner-content,
    .best-sellers-banner,
    .specials-banner {
      padding: 35px 45px 8px !important;
    }

    .banner-title,
    .best-sellers-banner h1,
    .specials-banner h1 {
      font-size: 28px !important;
    }
  }
}

/* ============================================================
   MOBILE FILTER SYSTEM (iHerb/Vitamin Shoppe Standard)
   Targeting Mobile S, M, L - DUAL BUTTON EDITION
   ============================================================ */

/* Ocultar por padrao no Desktop */
.mobile-filter-bar,
.filter-drawer,
.filter-drawer-overlay,
.sort-drawer,
.sort-drawer-overlay {
  display: none;
}

@media (max-width: 900px) {

  /* Ocultar Sidebar antiga e controlos de Desktop */
  .filter-sidebar,
  .category-controls {
    display: none !important;
  }

  /* Barra de Gatilho Mobile */
  .mobile-filter-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 60px;
    z-index: 1001 !important; /* AUMENTADO PARA FICAR ACIMA DE TUDO */
    margin: 0 -15px 0px !important; /* Zeroed bottom spacing */
  }


  .filter-btns-group {
    display: flex;
    gap: 10px;
    flex: 1;
  }

  .filter-trigger-btn,
  .sort-trigger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    flex: 1;
    white-space: nowrap;
  }

  .filter-trigger-btn i,
  .sort-trigger-btn i {
    color: var(--primary-green);
    font-size: 14px;
  }

  .active-filters-count {
    margin-left: 15px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
  }

  /* Drawer de Filtros (Lateral) */
  .filter-drawer-overlay,
  .sort-drawer-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* BLOQUEIA INTERFERÊNCIA QUANDO FECHADO */
    transition: all 0.3s ease;
  }

  .filter-drawer-overlay.active,
  .sort-drawer-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important; /* ATIVA PARA PERMITIR FECHAR NO CLIQUE */
  }


  .filter-drawer {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background: white;
    z-index: 9999;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .filter-drawer.active {
    right: 0 !important;
  }

  /* Sort Drawer (Bottom Sheet) */
  .sort-drawer {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: white;
    z-index: 9999;
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px 20px 0 0;
    max-height: 80vh;
  }

  .sort-drawer.active {
    bottom: 0 !important;
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
  }

  .drawer-header h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
  }

  .close-drawer {
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
  }

  .drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 15px;
    background: white; /* Restored white for main menu */
  }

  /* Only the filter drawer gets the subtle contrast background */
  .filter-drawer .drawer-content {
    background: #f8fafc;
    padding: 15px;
  }

  /* Filter items inside drawer optimization */
  .filter-drawer .filter-section {
    background: #fff;
    margin-bottom: 12px;
    padding: 15px;
    border-radius: 0; /* Squared corners as requested */
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  }

  .filter-drawer .filter-list {
    gap: 0; /* Remove gap to use borders/padding */
  }

  .filter-drawer .filter-item {
    margin-left: 0 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .filter-drawer .filter-item:last-child {
    border-bottom: none;
  }

  .filter-drawer .filter-item input {
    width: 18px !important;
    height: 18px !important;
    margin-right: 12px;
    border-radius: 0 !important; /* Squared checkboxes */
  }

  /* Fixed and beautified checkmark for mobile checkboxes */
  .filter-drawer .filter-item input:checked::after {
    display: block;
    left: 6px !important; /* Re-centered for smaller icon */
    top: 3px !important;  /* Re-centered for smaller icon */
    width: 4px !important;
    height: 8px !important;
    border-width: 0 2px 2px 0 !important; /* Thinner for small icon */
  }

  .filter-drawer .filter-title {
    font-size: 12px !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
    color: #64748b !important;
    letter-spacing: 0.5px;
  }

  .filter-drawer .filter-title::before {
    display: none;
  }

  /* Sort Options List */
  .sort-options-list {
    padding: 5px 0 20px;
  }

  .sort-opt-btn {
    width: 100%;
    padding: 16px 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .sort-opt-btn.active {
    color: var(--primary-green);
    background: #f0fdf4;
  }

  .sort-opt-btn.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
  }

  .drawer-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
  }

  .apply-filters-btn {
    width: 100%;
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
  }

  /* Escalabilidade S, M, L */
  @media (max-width: 360px) {
    .filter-btns-group {
      gap: 6px;
    }

    .filter-trigger-btn,
    .sort-trigger-btn {
      padding: 8px 8px;
      font-size: 12px;
    }

    .active-filters-count {
      display: none;
    }

    /* Ocultar contagem no S para dar espaco aos botoes */
  }
}

/* ==========================================================================
   TABLET RESPONSIVENESS OVERRIDES (ADAPTED FROM MOBILE)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {

  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }

  /* Prevent horizontal screen scrolling - optimized for sticky support */
  html,
  body {
    overflow-x: visible !important;
    overflow-y: visible !important;
    height: auto !important;
  }

  /* Exactly like iHerb mobile header layout - Enforced Sticky */
  .main-header {
    padding: 10px 15px !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background-color: var(--white) !important;
    border-bottom: 1px solid #e5e5e5 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    will-change: transform;
  }

  .main-header .container {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .header-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 13px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    color: var(--primary-green) !important;
    background: none !important;
    border: none !important;
    padding: 4px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }

  .logo {
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  .logo img {
    height: 33px !important;
    /* Adapted perfect size for mobile header */
    width: auto !important;
    object-fit: contain !important;
  }

  .search-bar-container {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .search-bar {
    height: 48px !important;
    padding: 0 15px !important;
    padding-right: 44px !important;
    font-size: 16px !important;
    border-radius: 10px !important;
    border: 1px solid var(--primary-green) !important;
    background-color: #fff !important;
    font-style: normal !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .search-bar::placeholder {
    font-size: 16px !important;
    font-style: normal !important;
    color: #888 !important;
  }

  .search-icon {
    right: 13px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 19px !important;
    color: var(--primary-green) !important;
    opacity: 1 !important;
  }

  .header-actions {
    gap: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Hide non-mobile elements to get the exact iHerb look */
  .featured-label-stack,
  .header-cert-stickers {
    display: none !important;
  }

  .action-item {
    margin-left: 2px !important;
    padding: 4px 8px !important;
    position: relative !important;
  }

  .action-item span:not(#wishlist-count) {
    display: none !important;
    /* Hide 'Wish List' text but KEEP the counter */
  }

  .action-item i {
    font-size: 28px !important;
    color: #1e293b !important;
    /* Premium black heart icon */
    margin: 0 !important;
  }

  #wishlist-count {
    top: -4px !important;
    right: -4px !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
    border-width: 1px !important;
  }

  /* Mobile Navigation Drawer Toggle */
  .nav-bar {
    display: none !important;
    /* Totalmente escondido no mobile, substituÃ­do pela Gaveta */
  }

  .nav-bar.mobile-open {
    display: block !important;
  }

  .nav-bar .container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 19px !important;
    box-sizing: border-box !important;
  }

  .nav-links,
  .nav-links.right {
    flex-direction: column !important;
    width: 100% !important;
    gap: 15px !important;
    box-sizing: border-box !important;
  }

  .nav-links li {
    width: 100% !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding-bottom: 10px !important;
    box-sizing: border-box !important;
  }

  /* Tablet: 3-column product grid */
  .shop-main-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Adapted Size for the 3 Banners on Mobile - Product First Layout */
  .hero {
    margin-bottom: 0 !important;
    /* Totalmente encostado */
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .trending {
    margin-bottom: 0 !important;
  }

  .hero-slider-wrapper {
    height: auto !important;
    aspect-ratio: 3 / 1 !important;
    /* ProporÃ§Ã£o 3:1 para mostrar a imagem toda como no desktop */
    border-radius: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* CRITICAL FIX: Ensure slider stays horizontal on mobile to support JS translateX animation */
  .hero-slider {
    flex-direction: row !important;
    width: 200% !important;
    height: 100% !important;
    display: flex !important;
    box-sizing: border-box !important;
  }

  .hero-slide {
    height: 100% !important;
    width: 50% !important;
    flex: 0 0 50% !important;
    background-position: right center !important;
    background-size: cover !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 38px 20px 0 45px !important; /* Deslocado significativamente mais para a direita (45px) */
    /* Adicionado 38px de padding no topo para baixar o texto */
    position: relative !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .hero-content {
    position: relative !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-left: 0px !important; /* Alinhado à esquerda do limite interno */
    margin-right: auto !important;
    height: auto !important;
    /* Garante que nÃ£o estique atÃ© ao topo */
    max-width: 48% !important; /* Aumentado para 48% de largura máxima para tornar todo o bloco visivelmente maior e amplo */
    text-align: center !important; /* Alinhamento de texto centralizado */
    align-items: center !important; /* Alinhado centralmente por cima do botao */
    justify-content: center !important; /* Centralizado verticalmente no alinhamento */
    display: flex !important;
    flex-direction: column !important;
    z-index: 10 !important;
    transform: none !important;
  }

  /* Overriding inline slide font-sizes forcefully for the ultra-compact iHerb look */
  .hero-title {
    line-height: 1.1 !important;
    letter-spacing: -0.2px !important;
    margin-bottom: 4px !important;
    -webkit-text-stroke: 0px transparent !important;
    color: #1a1a1a !important;
    text-shadow: none !important;
    font-weight: 800 !important;
    text-align: center !important; /* Texto centralizado */
  }

  .hero-slide .hero-title span {
    line-height: 1.1 !important;
    -webkit-text-stroke: 0px transparent !important;
    font-weight: 800 !important;
  }

  /* Restore specific Branding Colors for each slide & buttons */
  .hero-slide:nth-child(1) .hero-title span {
    color: #0071bc !important;
  }

  .hero-slide:nth-child(1) .hero-btn {
    background-color: #f38a00 !important;
    box-shadow: 0 10px 25px rgba(243, 138, 0, 0.3) !important;
  }

  .hero-slide:nth-child(2) .hero-title span:first-of-type {
    color: #ffffff !important;
    background-color: #e44e93 !important;
    -webkit-text-stroke: 0px transparent !important;
    display: inline-block !important;
    padding: 2px 6px !important;
    border-radius: 0 !important;
    margin: 2px 0 !important;
  }

  .hero-slide:nth-child(2) .hero-title span:last-of-type {
    color: #e44e93 !important;
    background-color: transparent !important;
    -webkit-text-stroke: 0px transparent !important;
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .hero-slide:nth-child(2) .hero-btn {
    background-color: #e44e93 !important;
  }

  .hero-slide:nth-child(3) .hero-title span {
    color: #0071bc !important;
  }

  .hero-slide:nth-child(3) .hero-btn {
    background-color: #f38a00 !important;
    box-shadow: 0 10px 25px rgba(243, 138, 0, 0.3) !important;
  }

  .hero-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    /* Limite rigoroso de 2 linhas */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
    color: #444 !important;
    text-align: center !important; /* Texto centralizado */
    max-width: 95% !important; /* Aumentado para 95% de largura horizontal para expandir o texto de descrição */
    margin-left: auto !important;
    margin-right: auto !important;
    font-weight: 500 !important;
  }

        /* Progressive Scaling for Tablet - Safe and stable */
  .hero-title,
  .hero-slide .hero-title span {
    font-size: 36px !important; /* Aumentado o tamanho do título para 36px (antes 32px) */
    line-height: 1.15 !important;
  }

  .hero-desc {
    font-size: 16px !important; /* Aumentado o tamanho da descrição para 16px (antes 15px) */
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }

  .hero-btn {
    padding: 12px 28px !important; /* Botão ligeiramente maior e mais espaçoso */
    font-size: 17px !important; /* Fonte do botão aumentada para 17px */
    border-radius: 6px !important;
  }

  .hero-content {
    margin-top: -5px !important;
    max-width: 48% !important; /* Alinhado em 48% para dar muito mais espaço visual e largura para todos os elementos ficarem maiores */
    overflow: hidden !important;
  }

  /* Upgrade for larger Tablet (850px and above) */
  @media (min-width: 850px) {

    .hero-title,
    .hero-slide .hero-title span {
      font-size: 42px !important; /* Aumentado o título principal para 42px (antes 38px) */
    }

    .hero-desc {
      font-size: 18px !important; /* Aumentada a descrição para 18px (antes 16.5px) */
      margin-bottom: 15px !important;
    }

    .hero-btn {
      padding: 14px 32px !important; /* Botão ainda mais imponente */
      font-size: 19px !important; /* Fonte do botão aumentada para 19px */
    }

    .hero-content {
      margin-top: 0px !important;
    }
  }

  .hero-actions-row {
    justify-content: center !important; /* BotÃ£o centralizado internamente por baixo do texto */
    width: 100% !important;
    margin-top: 0 !important;
  }

  .hero-btn {
    background-color: #438f29 !important;
    color: white !important;
    border-radius: 3px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
  }

  .hero-pagination {
    bottom: 13px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    gap: 8px !important;
    /* Juntar mais os pontos */
  }

  .hero-dot {
    width: 8px !important;
    height: 8px !important;
    background: rgba(0, 0, 0, 0.15) !important;
    margin: 0 !important;
    /* Remover margens para usar apenas o gap do pai */
  }

  .hero-dot.active {
    width: 8px !important;
    height: 8px !important;
    background: var(--primary-green) !important;
    /* Agora 100% verde, sem preto */
    border-radius: 50% !important;
  }

  .hero-nav {
    display: none !important;
    /* Clean look without side arrows on mobile */
  }

  /* Prevent promotional ads section from overflowing horizontally */
  /* ===== STANDARDIZED 30px MOBILE SECTION RHYTHM ===== */
  /* Standardized equal section spacing for professional tablet rhythm */
  .trending,
  .category-circles-section,
  .promo-ads,
  .best-sellers,
  .new-arrivals,
  .circle-promos-section {
    margin-top: 50px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
  }

  .promo-ads {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 19px !important;
  }

  .promo-grid {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .promo-card {
    padding: 25px !important;
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .promo-card.bodytech .promo-content,
  .promo-card.bloom .promo-content,
  .promo-card.vthrive .promo-content {
    padding: 25px !important;
    max-width: 75% !important;
    box-sizing: border-box !important;
  }

  .promo-card.bodytech h2 {
    font-size: 28px !important;
    margin-bottom: 13px !important;
  }

  .promo-card.bodytech p {
    font-size: 16px !important;
    margin-bottom: 19px !important;
  }

  .promo-card h3 {
    font-size: 23px !important;
    margin-bottom: 8px !important;
  }

  .promo-card p {
    font-size: 15px !important;
    margin-bottom: 15px !important;
  }

  .promo-btn-white,
  .promo-btn-blue {
    padding: 10px 23px !important;
    font-size: 15px !important;
  }

  /* Compact Top Bar Text for Mobile */
  .top-bar {
    font-size: 0 !important;
    padding: 8px 13px !important;
    line-height: 1.2 !important;
  }

  .top-bar::after {
    content: "\2b50  2026 Top Health Formulations: Partner Rates" !important;
    font-size: 14px !important;
    display: block !important;
    white-space: nowrap !important;
  }

  @media (max-width: 400px) {

    .hero-dot,
    .hero-dot.active {
      width: 4.6px !important;
      height: 4.6px !important;
    }
  }

  /* ==========================================================================
     FREE HORIZONTAL SCROLL OPTIMIZATION (MOBILE S, M, L)
     ========================================================================== */

  .product-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 15px !important;
    padding: 0 13px 0 !important;
    margin-top: -15px !important;
    scrollbar-width: none !important;
    grid-template-columns: none !important;
  }

  .product-grid::-webkit-scrollbar {
    display: none !important;
  }

  .slider-inner-container {
    overflow: visible !important;
    width: 100% !important;
  }

  .slider-outer-wrapper {
    overflow-x: auto !important;
    scrollbar-width: none !important;
    margin-bottom: 0 !important;
  }

  .slider-outer-wrapper::-webkit-scrollbar {
    display: none !important;
  }

  .slider-arrow {
    display: none !important;
  }  /* 3.5 Product Peek Logic for Tablet */
  .product-card {
    flex: 0 0 28% !important;
    min-width: 28% !important;
    padding: 10px !important;
    border-radius: 10px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border: none !important;
    /* Bordas removidas */
  }

  .product-img-wrapper {
    height: 150px !important;
    padding: 10px !important;
    margin-bottom: 4px !important;
  }

  .brand-name {
    font-size: 8.6px !important;
    margin-bottom: 2px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
    /* NÃƒO QUEBRAR LINHA */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  .product-name {
    font-size: 11.6px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    display: block !important;
    height: 1.4em !important;
    margin-bottom: 3px !important;
    font-weight: 700 !important;
  }

  .rating {
    margin-bottom: 2px !important;
    /* AproximaÃ§Ã£o extra */
    gap: 3px !important;
    display: flex !important;
    align-items: center !important;
  }

  .product-card-footer {
    margin-top: 8px !important;
    /* Reduzido de 19px */
    padding-top: 8px !important;
    /* Reduzido de 13px */
    border-top: 1px solid #f5f5f5 !important;
  }

  .view-official-link {
    font-size: 14px !important;
    /* Ajuste fino para mobile */
  }

  .stars-outer {
    font-size: 14px !important;
    letter-spacing: 0.6px !important;
  }

  .rating-value {
    font-size: 13px !important;
    font-weight: 800 !important;
  }

  .rating span {
    font-size: 11px !important;
  }

  .price {
    font-size: 20px !important;
    font-weight: 800 !important;
  }

  .old-price {
    font-size: 14px !important;
  }

  .view-official-link {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--primary-green) !important;
    display: block !important;
    margin-top: 0 !important;
  }

  .wish-heart {
    top: 8px !important;
    right: 8px !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 14px !important;
  }

  .section-header {
    margin-bottom: 0 !important;
    padding: 0 6px !important;
    margin-top: 0 !important;
    /* EspaÃ§amento jÃ¡ vem do padding-top da secÃ§Ã£o (30px) */
  }

  .section-title {
    font-size: 21px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .section-header-icon {
    height: 20px !important;
    width: auto !important;
    margin-left: 0 !important;
  }

  .view-all {
    font-size: 14px !important;
  }

  /* Shop by Category - Desktop-Style Circles scaled down for Tablet */
  .category-circles-section.mobile-only {
    margin-top: 0 !important;
    padding: 30px 15px 10px !important;
  }

  .category-circles-section.mobile-only .section-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .category-circles-grid {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
  }

  .category-circle-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    width: 95px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: transform 0.3s ease !important;
    box-sizing: border-box !important;
  }

  .category-circle-item:hover {
    transform: translateY(-3px) !important;
  }

  .circle-icon-wrapper {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #e0e0e0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
  }

  .category-circle-item:hover .circle-icon-wrapper {
    border-color: #62a600 !important;
    box-shadow: 0 6px 15px rgba(98, 166, 0, 0.15) !important;
  }

  .circle-icon-wrapper img {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
  }

  .category-circle-item:hover .circle-icon-wrapper img {
    transform: scale(1.08) !important;
  }

  .circle-label {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    text-align: center !important;
    line-height: 1.25 !important;
    max-width: 100% !important;
    display: block !important;
  }

  /* Hide Balmorex Banner on Mobile - Actually show it on tablet as requested */
  .brand-banner-ghost {
    display: block !important;
    margin: 50px auto 0 !important;
  }

  .ghost-banner-inner {
    height: auto !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 1440 / 380 !important; /* Force exact 1440x380 aspect ratio to guarantee NO cropping */
    border: 1px solid #eee !important;
  }

  .ghost-banner-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    z-index: 1 !important;
    padding: 0 !important; /* CRITICAL: Remove the 20px padding inherited from max-width: 1024px query! */
    margin: 0 !important;
  }

  .ghost-banner-image img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: fill !important; /* Estica a imagem para preencher toda a caixa sem sobrar espaço */
  }

  .ghost-banner-content {
    position: absolute !important;
    top: 50% !important;
    right: 4% !important;
    transform: translateY(-50%) !important;
    width: 44% !important;
    height: auto !important;
    margin-left: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    z-index: 2 !important;
  }

  .ghost-brand-logo {
    max-width: clamp(80px, 11vw, 130px) !important;
    height: auto !important;
    margin-bottom: clamp(2px, 0.5vw, 6px) !important;
  }

  .ghost-title {
    font-size: clamp(20px, 3.4vw, 36px) !important;
    line-height: 1.1 !important;
    margin-bottom: clamp(6px, 1.2vw, 14px) !important;
  }

  .ghost-title span {
    font-size: clamp(24px, 4.2vw, 44px) !important; /* Overrides inline 72px style perfectly for tablet scale */
  }

  .ghost-cta-btn {
    font-size: clamp(10px, 1.2vw, 15px) !important;
    padding: clamp(6px, 1vw, 12px) clamp(16px, 2.5vw, 32px) !important;
  }


  .home-blog {
    padding: 0 0 50px !important;
    border-top: none !important;
    margin-top: 50px !important;
  }

  .home-blog .section-header {
    margin-bottom: 19px !important;
  }

    .blog-preview-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 25px !important;
    padding: 0 19px !important;
    margin-top: 0 !important;
  }

  .blog-preview-card.desktop-only {
    display: none !important;
  }

  .blog-preview-card.desktop-only:nth-child(2) {
    display: flex !important;
    flex-direction: column !important;
  }

  .blog-preview-card {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .blog-preview-card img {
    height: 170px !important;
    /* Compacto como Vitamin Shoppe */
    border-radius: 10px 10px 0 0 !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  .blog-preview-content {
    padding: 15px 4px 10px !important;
    text-align: left !important;
    /* Alinhamento à esquerda como VS */
  }

  .blog-preview-date {
    font-size: 12px !important;
    color: #999 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
  }

  .blog-preview-content h3 {
    font-size: 16px !important;
    color: #1a1a1a !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin-top: 4px !important;
  }

    .blog-preview-desc {
    display: none !important;
  }

  .blog-preview-link {
    display: none !important;
  }

  .view-articles-btn {
    width: auto !important;
    padding: 11px 25px !important;
    font-size: 14px !important;
  }

  /* Promo Ads Tablet — Precision on top, two side by side below */
  .promo-grid {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    gap: 10px !important; /* Reduzido espaçamento vertical para 10px para aproximar do banner de cima */
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  /* Reduce spacing specifically between Banners and Best Sellers on tablet */
  .promo-ads + .best-sellers {
    margin-top: 25px !important;
  }

  .promo-side-stack {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important; /* Mantido espaçamento horizontal de 20px entre os banners inferiores */
    height: 280px !important;
    flex: none !important;
    width: 100% !important;
    margin-top: 0px !important; /* Alinhado perfeitamente no fluxo */
    padding: 0 !important;
  }

  /* Show desktop cards, hide mobile cards inside grid */
  .promo-card.desktop-only {
    display: flex !important;
  }

  .promo-ads .mobile-only,
  .promo-card.mobile-only {
    display: none !important;
  }

  /* Hide standalone mobile-only Trimology banner container outside grid */
  .container.mobile-only {
    display: none !important;
  }

  /* Position images inside cards exactly like desktop but scaled */
  .promo-card .promo-image-wrapper {
    display: flex !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
  }

  /* Bodytech (SharpVision) — top full-width banner */
  .promo-card.bodytech {
    width: 100% !important;
    height: 320px !important;
    min-height: 0 !important;
    color: white !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    flex: none !important;
    position: relative !important;
    z-index: 3 !important;
    border-radius: 0 !important; /* Mantido como quadrado perfeito sem cantos arredondados */
    overflow: hidden !important;
    background: #222 !important;
  }

  .promo-card.bodytech .promo-image-wrapper {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
  }

  .promo-card.bodytech .promo-image-wrapper picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .promo-card.bodytech .promo-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 90% center !important;
    display: block !important;
    transform: none !important;
  }

  .promo-card.bodytech .promo-content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 55% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.98) 0%, rgba(17, 24, 39, 0.9) 50%, rgba(17, 24, 39, 0.4) 75%, transparent 100%) !important;
    padding: 35px !important;
  }

  .promo-card.bodytech h2 {
    font-size: clamp(26px, 3.6vw, 34px) !important;
    margin-bottom: 12px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    color: white !important;
  }

  .promo-card.bodytech p {
    font-size: clamp(13px, 1.6vw, 15px) !important;
    margin-bottom: 18px !important;
    line-height: 1.45 !important;
    color: #e5e7eb !important;
    font-weight: 500 !important;
  }

  .promo-btn-white {
    padding: 11px 30px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    background: white !important;
    color: #111827 !important;
  }

  /* Vthrive & Bloom — side by side below */
  .promo-card.vthrive,
  .promo-card.bloom {
    flex: 1 !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    position: relative !important;
    border-radius: 0 !important; /* Mantido como quadrado perfeito sem cantos arredondados */
    overflow: hidden !important;
  }

  .promo-card.vthrive .promo-image-wrapper,
  .promo-card.bloom .promo-image-wrapper {
    pointer-events: none !important;
    flex: none !important;
    min-width: 0 !important;
  }

  .promo-card.vthrive .promo-image-wrapper img,
  .promo-card.bloom .promo-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 95% center !important; /* Puxa o frasco/produto para a direita para evitar cortes */
    display: block !important;
    transform: none !important;
  }

  /* Content overlay on all cards */
  .promo-card .promo-content {
    display: flex !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }

  .promo-card.vthrive .promo-content,
  .promo-card.bloom .promo-content {
    max-width: 50% !important; /* Estreitado para 50% para dar 50% de espaço livre para as imagens */
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 55%, rgba(255, 255, 255, 0.7) 75%, transparent 100%) !important;
    padding: 22px !important;
  }

  .promo-card h3 {
    font-size: clamp(14px, 1.8vw, 17px) !important; /* Reduzido ligeiramente para evitar embrulhamento de texto */
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    color: #222 !important;
  }

  .promo-card p {
    font-size: clamp(10.5px, 1.3vw, 12.5px) !important; /* Reduzido ligeiramente para maior respiro visual */
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
    color: #444 !important;
    font-weight: 500 !important;
  }

  .promo-btn-blue {
    padding: 9px 22px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    background: #0071bc !important;
    color: white !important;
  }

  .promo-badge {
    background: #f38a00 !important;
    color: white !important;
    font-size: 12px !important;
    padding: 5px 12px !important;
    font-weight: 900 !important;
    margin-bottom: 12px !important;
    display: inline-block !important;
  }

  .promo-card.vthrive .promo-tag-blue {
    font-size: 14px !important;
    margin-bottom: 4px !important;
    font-weight: 900 !important;
  }

  .promo-card.vthrive .promo-tag-blue .big-discount {
    font-size: clamp(28px, 3.6vw, 34px) !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
  }

  .promo-card.bloom .promo-tag-red {
    background: #dd0202 !important;
    color: white !important;
    padding: 2px 8px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    margin-bottom: 7px !important;
    display: inline-block !important;
  }

  .promo-card.bloom h3 {
    margin-bottom: 7px !important;
  }

  .promo-card.bloom p {
    margin-bottom: 10px !important;
  }

  .promo-card.bloom .promo-btn-blue {
    padding: 8px 20px !important;
    font-size: 13px !important;
  }

  .promo-card.bloom .promo-content {
    padding: 18px !important;
    max-width: 50% !important; /* Estreitado para 50% para acompanhar o Bloom/Vthrive */
  }

  .promo-tag-blue {
    font-size: 12px !important;
    margin-bottom: 4px !important;
    font-weight: 900 !important;
  }

  .promo-tag-blue .big-discount {
    font-size: clamp(23px, 2.8vw, 28px) !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
  }

  .promo-tag-red {
    background: #dd0202 !important;
    color: white !important;
    padding: 3px 10px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    margin-bottom: 8px !important;
    display: inline-block !important;
  }

  .desktop-only-text {
    display: inline !important;
  }

  /* Specials uses .best-sellers class, override inline style */
  .specials-mobile-spacing {
    margin-top: 50px !important;
    padding-top: 0 !important;
  }

  .l-only-br {
    display: block !important;
  }

  /* Escondido por defeito */

    /* Circle Promos 4x1 Grid (Vitamin Shoppe Style) - Tablet Optimization */
  .circle-promos-section {
    margin: 50px auto 0 !important;
    padding: 0 15px !important;
  }

  .circle-promos-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
  }

  .circle-img-box {
    margin-bottom: 10px !important;
  }

  .circle-text {
    font-size: 14px !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
  }

  /* Footer Mobile Responsiveness */
  /* Footer Mobile Refinement */
  .footer-top-row {
    flex-direction: column !important;
    text-align: center !important;
    gap: 25px !important;
    /* Slightly tighter gap */
    padding-bottom: 44px !important;
    margin-bottom: 0 !important; /* Removido espaÃ§amento extra para o primeiro botÃ£o ficar idÃªntico aos outros */
    border-bottom: 1px solid #f0f0f0 !important;
  }

  .footer-logo img {
    height: 60px !important;
    /* Slightly smaller for mobile balance */
    width: auto !important;
  }

  .footer-brand-mission {
    text-align: center !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 13px !important;
  }

  .footer-h3 {
    font-size: 19px !important;
    /* Standardized size */
    margin-bottom: 13px !important;
    letter-spacing: 0.6px !important;
  }

  .footer-brand-mission p {
    font-size: 16px !important;
    /* Improved readability */
    line-height: 1.6 !important;
    color: #555 !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 0 !important;
    margin-bottom: 31px !important;
    margin-top: 0 !important; /* Garante que nÃ£o hÃ¡ margens adicionais */
  }

  .footer-column {
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 15px 0 !important;
    /* Consistent vertical rhythm */
  }

  .footer-h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 0 !important;
    padding: 13px 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    position: relative !important;
    white-space: nowrap !important; /* Garante que nunca quebre linha, mantendo a altura perfeitamente idêntica */
    line-height: 1.2 !important;
  }

  .footer-h4::after {
    display: none !important;
    /* Remove green separator lines on mobile */
  }

  .footer-h4 i {
    font-size: 13px !important;
    transition: transform 0.3s ease !important;
    color: #999 !important;
  }

  .footer-column.active .footer-h4 i {
    transform: rotate(180deg) !important;
  }

  .footer-nav {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: 0 !important;
    opacity: 0 !important;
  }

  .footer-nav li {
    margin-bottom: 19px !important;
  }

  .footer-nav a {
    font-size: 14px !important;
    color: #666 !important;
  }

  .footer-column.active .footer-nav {
    max-height: 500px !important;
    padding-top: 6px !important;
    padding-bottom: 19px !important;
    opacity: 1 !important;
  }

  .footer-social-row {
    justify-content: center !important;
    gap: 31px !important;
    /* More space between social icons */
    margin-top: 31px !important;
    margin-bottom: 38px !important;
  }

  .footer-social-row a {
    font-size: 28px !important;
  }

  .footer-cert-section {
    padding: 31px 0 !important;
    border-top: 1px solid #f0f0f0 !important;
    margin-top: 0 !important;
  }

  .footer-cert-image {
    height: 63px !important;
    display: block !important;
    margin: 0 auto !important;
    opacity: 0.9 !important;
  }


  .footer-copyright {
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 0 25px !important;
    margin-top: 50px !important;
  }
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER (iHerb Style)
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -375px;
  /* Initially hidden */
  width: 375px;
  height: 100%;
  background: #ffffff;
  z-index: 10000;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 13px 0 38px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.active {
  transform: translateX(375px);
}

.drawer-header {
  padding: 15px 31px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  flex-shrink: 0;
}

.drawer-logo img {
  height: 53px;
  width: auto;
  object-fit: contain;
  display: block;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #64748b;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.drawer-close:active {
  background: #f1f5f9;
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 !important;
  scrollbar-width: none;
}

.drawer-content::-webkit-scrollbar {
  display: none;
}

.drawer-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.drawer-divider {
  padding: 28px 31px 13px;
  font-size: 13px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: #f8fafc;
  margin-top: 6px;
}

.drawer-item {
  height: 65px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.drawer-item a {
  display: flex !important;
  align-items: center !important;
  gap: 23px !important;
  height: 65px !important;
  padding: 0 31px !important;
  color: #334155 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 14.6px !important;
  line-height: 1 !important;
  transition: all 0.2s !important;
  border-bottom: 1px solid #f1f5f9 !important; /* More visible separator on white background */
  box-sizing: border-box !important;
}

.drawer-item a i {
  width: 35px !important;
  font-size: 26px !important;
  color: var(--primary-green) !important;
  text-align: center !important;
  opacity: 0.85 !important;
}

.drawer-icon {
  width: 35px !important;
  height: 35px !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
  opacity: 0.9 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.drawer-item a:active {
  background: #f8fafc;
  padding-left: 38px;
  color: var(--primary-green);
}

/* Lock body scroll when menu is open */
body.drawer-open {
  overflow: hidden !important;
  /* Removed position: fixed to prevent page jump to top */
  width: 100%;
}

/* ==========================================================================
   MOBILE-ONLY OVERRIDES (MAX-WIDTH: 768px)
   ========================================================================== */
@media (max-width: 768px) {

  /* Global Breadcrumb Suppression */
  #pdp-breadcrumb,
  .breadcrumb-area,
  #category-breadcrumb-parent {
    display: none !important;
  }

  /* Compact Search Suggestions (iHerb/Premium Style) */
  .search-dropdown {
    padding: 8px 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
  }

  .suggest-label {
    padding: 6px 12px !important;
    font-size: 9px !important;
    opacity: 0.7;
    letter-spacing: 0.10px !important;
  }

  .suggest-item a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 500 !important;
    /* Refined weight */
    color: #334155 !important;
    transition: all 0.2s !important;
  }

  /* Mobile S Scaling (Default, screens up to 360px) */
  .suggest-item a {
    font-size: 12px !important;
    padding: 8px 12px !important;
  }

  .search-bar {
    height: 40px !important;
  }

  .search-icon {
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  .search-icon i.fa-xmark {
    font-size: 16px !important;
    color: #94a3b8 !important;
    /* Soft Slate */
  }

  /* Mobile M Scaling (361px to 469px) */
  @media (min-width: 361px) {
    .suggest-item a {
      font-size: 13px !important;
      padding: 9px 15px !important;
      gap: 10px !important;
    }
    .search-bar {
      height: 44px !important;
    }
    .suggest-label {
      font-size: 10px !important;
      padding: 8px 15px !important;
    }
    .search-icon i.fa-xmark {
      font-size: 18px !important;
    }
  }

  /* Mobile L Scaling (470px+) */
  @media (min-width: 470px) {
    .suggest-item a {
      font-size: 14px !important;
      padding: 10px 18px !important;
      gap: 10px !important;
    }
    .search-bar {
      height: 46px !important;
    }
    .suggest-label {
      font-size: 11px !important;
      padding: 8px 18px !important;
    }
    .search-icon i.fa-xmark {
      font-size: 20px !important;
    }
  }


  /* Standardized Category Banners (Minimalist Style) */
  .category-banner,
  .best-sellers-banner,
  .specials-banner {
    background-image: url('./assets/background-bannet-footer-paginas - best supplements.webp') !important;
    background-size: 100% 100% !important; /* Stretches the image to fit the container perfectly on S, M and L without cropping the corners */
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
    flex-direction: column !important;
    margin: 19px -25px 0px !important; /* Expanded edge-to-edge horizontally to eliminate white space */
    width: calc(100% + 50px) !important; /* Stretches the background perfectly to the screen edges */
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .banner-content {
    padding: 31px 44px 6px !important; /* Kept text safe from edges while background image is full bleed */
    text-align: center !important;
    align-items: center !important;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .banner-image-box {
    display: none !important;
  }

  /* Category Specific Theme Colors (Titles) */
  .cat-weight .banner-title {
    color: #2e7d32 !important;
  }

  /* Metabolic Green */
  .cat-beauty .banner-title {
    color: #E46C6E !important;
  }

  /* Bronze/Warm */
  .cat-performance .banner-title {
    color: #e67e22 !important;
  }

  /* Energy Orange */
  .cat-senior .banner-title {
    color: #34495e !important;
  }

  /* Professional Slate */
  .cat-general .banner-title {
    color: #16a085 !important;
  }

  /* Vitality Teal */

  /* Global Protocol Tag (Premium Gold) */
  .banner-tag {
    color: #c5a021 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    font-size: 13px !important;
    margin-bottom: 4px !important;
  }

  /* Shared Typography Scaling (S, M, L) */
  .banner-title,
  .best-sellers-banner h1,
  .specials-banner h1 {
    font-size: 30px !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
  }

  .banner-desc,
  .best-sellers-banner p,
  .specials-banner p {
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: #64748b !important;
    max-width: 100% !important;
    margin-top: 8px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* Default mobile S padding for banners without inner wrapper */
  .best-sellers-banner,
  .specials-banner {
    padding: 31px 44px 6px !important;
  }

  /* Mobile M Scaling (401px to 469px) */
  @media (min-width: 401px) {
    .banner-content,
    .best-sellers-banner,
    .specials-banner {
      padding: 38px 50px 6px !important;
    }

    .banner-title,
    .best-sellers-banner h1,
    .specials-banner h1 {
      font-size: 33px !important;
    }
  }

  /* Mobile L Scaling (470px+) */
  @media (min-width: 470px) {
    .banner-content,
    .best-sellers-banner,
    .specials-banner {
      padding: 44px 56px 10px !important;
    }

    .banner-title,
    .best-sellers-banner h1,
    .specials-banner h1 {
      font-size: 35px !important;
    }
  }
}

/* ============================================================
   MOBILE FILTER SYSTEM (iHerb/Vitamin Shoppe Standard)
   Targeting Mobile S, M, L - DUAL BUTTON EDITION
   ============================================================ */

/* Ocultar por padrao no Desktop */
.mobile-filter-bar,
.filter-drawer,
.filter-drawer-overlay,
.sort-drawer,
.sort-drawer-overlay {
  display: none;
}

@media (max-width: 900px) {

  /* Ocultar Sidebar antiga e controlos de Desktop */
  .filter-sidebar,
  .category-controls {
    display: none !important;
  }

  /* Barra de Gatilho Mobile */
  .mobile-filter-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 13px 19px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(13px);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 75px;
    z-index: 1001 !important; /* AUMENTADO PARA FICAR ACIMA DE TUDO */
    margin: 0 -19px 0px !important; /* Zeroed bottom spacing */
  }


  .filter-btns-group {
    display: flex;
    gap: 13px;
    flex: 1;
  }

  .filter-trigger-btn,
  .sort-trigger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 15px;
    border-radius: 13px;
    font-size: 16px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    flex: 1;
    white-space: nowrap;
  }

  .filter-trigger-btn i,
  .sort-trigger-btn i {
    color: var(--primary-green);
    font-size: 18px;
  }

  .active-filters-count {
    margin-left: 19px;
    font-size: 15px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
  }

  /* Drawer de Filtros (Lateral) */
  .filter-drawer-overlay,
  .sort-drawer-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* BLOQUEIA INTERFERÃŠNCIA QUANDO FECHADO */
    transition: all 0.3s ease;
  }

  .filter-drawer-overlay.active,
  .sort-drawer-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important; /* ATIVA PARA PERMITIR FECHAR NO CLIQUE */
  }


  .filter-drawer {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 438px;
    height: 100%;
    background: white;
    z-index: 9999;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .filter-drawer.active {
    right: 0 !important;
  }

  /* Sort Drawer (Bottom Sheet) */
  .sort-drawer {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: white;
    z-index: 9999;
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 25px 25px 0 0;
    max-height: 80vh;
  }

  .sort-drawer.active {
    bottom: 0 !important;
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 19px 25px;
    border-bottom: 1px solid #eee;
  }

  .drawer-header h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
  }

  .close-drawer {
    background: none;
    border: none;
    font-size: 30px;
    color: #64748b;
    cursor: pointer;
  }

  .drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 13px 19px;
    background: white; /* Restored white for main menu */
  }

  /* Only the filter drawer gets the subtle contrast background */
  .filter-drawer .drawer-content {
    background: #f8fafc;
    padding: 19px;
  }

  /* Filter items inside drawer optimization */
  .filter-drawer .filter-section {
    background: #fff;
    margin-bottom: 15px;
    padding: 19px;
    border-radius: 0; /* Squared corners as requested */
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  }

  .filter-drawer .filter-list {
    gap: 0; /* Remove gap to use borders/padding */
  }

  .filter-drawer .filter-item {
    margin-left: 0 !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .filter-drawer .filter-item:last-child {
    border-bottom: none;
  }

  .filter-drawer .filter-item input {
    width: 23px !important;
    height: 23px !important;
    margin-right: 15px;
    border-radius: 0 !important; /* Squared checkboxes */
  }

  /* Fixed and beautified checkmark for mobile checkboxes */
  .filter-drawer .filter-item input:checked::after {
    display: block;
    left: 8px !important; /* Re-centered for smaller icon */
    top: 3px !important;  /* Re-centered for smaller icon */
    width: 4px !important;
    height: 10px !important;
    border-width: 0 2px 2px 0 !important; /* Thinner for small icon */
  }

  .filter-drawer .filter-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    color: #64748b !important;
    letter-spacing: 0.6px;
  }

  .filter-drawer .filter-title::before {
    display: none;
  }

  /* Sort Options List */
  .sort-options-list {
    padding: 6px 0 25px;
  }

  .sort-opt-btn {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .sort-opt-btn.active {
    color: var(--primary-green);
    background: #f0fdf4;
  }

  .sort-opt-btn.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
  }

  .drawer-footer {
    padding: 19px 25px;
    border-top: 1px solid #eee;
  }

  .apply-filters-btn {
    width: 100%;
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 13px;
    font-size: 19px;
    font-weight: 700;
  }

  /* Escalabilidade S, M, L */
  @media (max-width: 450px) {
    .filter-btns-group {
      gap: 8px;
    }

    .filter-trigger-btn,
    .sort-trigger-btn {
      padding: 10px 10px;
      font-size: 15px;
    }

    .active-filters-count {
      display: none;
    }

    /* Ocultar contagem no S para dar espaco aos botoes */
  }


}

/* ==========================================================================
   TABLET RESPONSIVENESS OVERRIDES FOR PRODUCT DETAIL PAGES (768px - 1024px)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Ensure main container has comfortable breathing margins on both sides and prevents horizontal scroll */
  html body main.container {
    padding: 0 24px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Restore the 2-column grid layout with a robust grid columns wrapper */
  html body main.container .pdp-grid {
    display: grid !important;
    grid-template-columns: 1fr 1.15fr !important;
    gap: 24px !important;
    margin-top: 15px !important;
    margin-bottom: 30px !important;
    flex-direction: row !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Restore block layout for columns and completely reset the mobile flex order hacks */
  html body main.container .product-gallery,
  html body main.container .product-info {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important; /* Critical: prevents columns from expanding past their grid fractions */
  }

  /* Align gallery to top to prevent vertical stretching to match product-info tall column */
  html body main.container .product-gallery {
    align-self: start !important;
    gap: 16px !important;
  }

  /* Assign explicit sequence orders to all children of product-info to perfectly mirror PC desktop order */
  html body main.container .product-info > .product-info-header {
    order: 1 !important;
  }

  html body main.container .product-info > .pdp-rating {
    order: 2 !important;
  }

  html body main.container .product-info > .pdp-stock {
    order: 3 !important;
  }

  html body main.container .product-info > .pdp-features {
    order: 4 !important;
  }

  html body main.container .product-info > #pdp-main-cta {
    order: 5 !important;
  }

  html body main.container .product-info > .cta-nudge {
    order: 6 !important;
  }

  html body main.container .product-info > div[style*="text-align: center"] {
    order: 7 !important;
  }

  html body main.container .product-info > .manufacturer-trust-box {
    order: 8 !important;
  }

  /* Main image card: transformed into a beautiful, square card that never stretches vertically */
  html body main.container .main-img-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    padding: 20px !important;
    position: relative !important;
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: auto !important;
    max-height: 380px !important;
    min-height: unset !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Scale image inside the square container with elegant spacing */
  html body main.container .main-img-container img#main-pdp-image {
    max-height: 80% !important;
    max-width: 80% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* Wishlist heart button positioning inside the container */
  html body main.container .wish-heart.pdp-heart {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
    font-size: 16px !important;
    z-index: 5 !important;
    margin: 0 !important;
  }

  /* Trust guarantee banner: scaled down and refined to fit left column without any overflow */
  html body main.container .pdp-gallery-trust-banner {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    margin-top: 4px !important;
    padding: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Align guarantee items to center, keeping both left and right-side seals at premium scale */
  html body main.container .pdp-gallery-trust-banner > div {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  html body main.container .pdp-gallery-trust-banner img:first-child,
  html body main.container .pdp-gallery-trust-banner img:last-child {
    display: block !important;
    height: 32px !important;
    width: auto !important;
    flex-shrink: 0 !important;
  }

  html body main.container .pdp-gallery-trust-banner > div > div {
    text-align: center !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  html body main.container .pdp-gallery-trust-banner > div > div > div:first-child {
    font-size: 8.5px !important;
    margin-bottom: 0px !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  html body main.container .pdp-gallery-trust-banner > div > div > div:last-child {
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* Right Column: product info styling and layout */
  html body main.container .product-info {
    gap: 8px !important; /* Tighten the spacing to keep elements compact */
    padding: 0 !important;
  }

  /* Reset vertical margins on direct children of .product-info to prevent compound/uneven spacing */
  html body main.container .product-info > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Restructure header as flexbox to keep badges on a single row while wrapping block children */
  html body main.container .product-info-header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Authority tag: tight, un-shrinkable on tablet */
  html body main.container .pdp-authority-tag {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    padding: 4px 8px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  /* Best-for tag: shrink with ellipsis to stay on same row, but only take up content width */
  html body main.container .pdp-best-for {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    padding: 4px 8px !important;
    margin: 0 !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  html body main.container .pdp-best-for i {
    flex-shrink: 0 !important;
    margin-right: 4px !important;
  }

  /* Block elements forced to take 100% width and wrap to new lines */
  html body main.container .pdp-title,
  html body main.container .brand-name,
  html body main.container .pdp-meta-line {
    width: 100% !important;
    flex-shrink: 0 !important;
  }

  /* Title sizing for tablet screens */
  html body main.container .pdp-title {
    font-size: 26px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.8px !important;
    margin-top: 8px !important;
    margin-bottom: 6px !important;
  }

  /* Brand name and references */
  html body main.container .brand-name {
    display: block !important;
    font-size: 13px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
  }

  html body main.container .pdp-meta-line {
    display: flex !important;
    font-size: 12px !important;
    color: #64748b !important;
    margin-bottom: 0px !important;
    gap: 10px !important;
    align-items: center !important;
  }

  html body main.container .pdp-meta-line .meta-ref,
  html body main.container .pdp-meta-line .meta-divider {
    display: inline !important;
  }

  /* Ratings stars container positioning */
  html body main.container .pdp-rating {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
  }

  /* Stock badge layout */
  html body main.container .pdp-stock {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    color: #1a5d1a !important;
    font-weight: 700 !important;
    padding: 0 !important;
  }

  /* Features checklist */
  html body main.container .pdp-features {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 !important;
  }

  html body main.container .pdp-features .feature-item {
    font-size: 13.5px !important;
    padding: 2px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* Check on Official Website CTA Button styling for tablet - prevents right-edge bleeding */
  html body main.container #pdp-main-cta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin-top: 4px !important; /* Slight breathing room from checklist */
    padding: 14px 24px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 15px rgba(243, 138, 0, 0.25) !important;
  }

  /* Nudge note under CTA button */
  html body main.container .cta-nudge {
    display: block !important;
    font-size: 11px !important;
    color: #64748b !important;
    text-align: center !important;
    margin-top: -2px !important; /* Draw it closer to the CTA button above it */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Certifications and quality standards icons: placed elegantly under the cta nudge */
  html body main.container .product-info > div[style*="text-align: center"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: auto !important;
    transform: none !important;
  }

  html body main.container .product-info > div[style*="text-align: center"] img {
    height: 48px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }

  /* Trust features row (Institutional Safety, direct fulfillment etc) */
  html body main.container .manufacturer-trust-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 12px !important;
    margin-top: 8px !important; /* Elegant cushion from certification logos */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html body main.container .manufacturer-trust-box > div {
    display: flex !important;
    gap: 15px !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Article body content side-padding for comfortable reading on narrow tablets */
  html body main.container .article-body-content {
    padding: 20px 24px 40px 24px !important;
    font-size: 16.5px !important;
    line-height: 1.75 !important;
  }

  /* Hide sticky bottom cta bar on tablets to prevent overlapping and keep UI clean */
  html body .sticky-cta-bar {
    display: none !important;
  }
}

/* ==========================================================================
   PREMIUM UX ADDITIONS: TRANSITIONS & TOASTS
   ========================================================================== */

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-card-fade {
  animation: cardFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.shop-main-grid {
  transition: opacity 0.15s ease-in-out;
}

.shop-main-grid.grid-filtering {
  opacity: 0.35;
  pointer-events: none;
}

.product-card.removing {
  opacity: 0 !important;
  transform: scale(0.8) translateY(-20px) !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  pointer-events: none !important;
}

/* Custom Premium Toast System */
#toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: 90%;
  max-width: 400px;
}

.toast-notification {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 600;
  pointer-events: auto;
  animation: toastSlideUp 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transition: all 0.3s ease;
}

.toast-notification.hiding {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(98, 166, 0, 0.2);
  color: #7dbd1b;
  font-size: 12px;
  flex-shrink: 0;
}

@keyframes toastSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Premium Footer Contact Button */
.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white !important;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: -12px !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.footer-contact-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(98, 166, 0, 0.25);
  background: linear-gradient(135deg, #0f172a 0%, #000000 100%);
  border-color: rgba(98, 166, 0, 0.4);
}

.footer-contact-btn:hover i {
  transform: translateX(2px) scale(1.1);
}

/* ==========================================================================
   Mobile Responsive Alignment Fix: Center all floated square article images (Mobile Only, <= 767px)
   ========================================================================== */
@media (max-width: 767px) {
  /* 1. Target the <a> links that wrap the square article images to make them block elements and remove excess space */
  .article-body-content a:has(> img.article-img-square),
  .article-body-content a:has(> img[class*="article-img-square"]),
  .article-body-content a:has(> img[style*="float"]),
  .article-body-content a[class*="article-img-square"],
  .article-body-content a[style*="float"] {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    /* Gentle negative margin to pull closer to the heading above (offsetting default margins) */
    margin-top: -12px !important; 
    /* Minimal elegant breathing room to the text/heading directly below */
    margin-bottom: 12px !important; 
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center !important;
    height: auto !important;
    clear: both !important;
  }

  /* 2. Target the square images themselves, whether direct children or wrapped in links */
  .article-body-content img.article-img-square,
  .article-body-content .image-link-wrapper img,
  .article-body-content a[class*="article-img-square"] img,
  .article-body-content a[style*="float"] img,
  .article-body-content a:has(> img.article-img-square) img,
  .article-body-content a:has(> img[style*="float"]) img,
  .article-body-content img[style*="float"] {
    float: none !important;
    display: block !important;
    width: auto !important; /* Keep original/natural size! */
    max-width: 100% !important;
    height: auto !important;
    /* Gentle negative margin to pull closer to the heading above */
    margin-top: -12px !important; 
    /* Minimal elegant breathing room to the paragraph below */
    margin-bottom: 12px !important; 
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important; /* Zero padding! */
    background: transparent !important; /* Remove background colors! */
    border: none !important; /* Remove any border! */
    box-shadow: none !important; /* Remove shadows! */
    object-fit: contain !important;
    border-radius: 12px !important;
  }
  
  /* 3. If an image is wrapped in a link that also has style overrides, ensure the image margin takes precedence */
  .article-body-content a img.article-img-square,
  .article-body-content a:has(> img.article-img-square) img {
    margin-top: 0px !important; /* Reset to let the parent link handle the top pulling */
    margin-bottom: 12px !important;
  }

  /* 4. Elegant super thin separator line below article headings on mobile */
  .article-body-content h2,
  .article-body-content h3 {
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 8px !important;
    margin-bottom: 16px !important;
    margin-top: 32px !important;
  }
}
