/** Shopify CDN: Minification failed

Line 2049:0 All "@import" rules must come first
Line 2050:0 All "@import" rules must come first
Line 2051:0 All "@import" rules must come first
Line 2052:0 All "@import" rules must come first
Line 2053:0 All "@import" rules must come first
Line 2054:0 All "@import" rules must come first
Line 2055:0 All "@import" rules must come first
Line 2056:0 All "@import" rules must come first
Line 2057:0 All "@import" rules must come first
Line 2058:0 All "@import" rules must come first
... and 2 more hidden warnings

**/
/* assets/theme.css */

/* Font Definitions */
@font-face {
  font-family: 'Aileron-Regular';
  src: url('/cdn/shop/files/Aileron-Regular.otf?v=1745934447') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aileron-Bold';
  src: url('/cdn/shop/files/Aileron-Bold.otf?v=1745934447') format('opentype');
  font-weight: bold; /* Explicitly set weight */
  font-style: normal;
  font-display: swap;
}

/* Basic Reset & Body */
body {
  margin: 0;
  font-family: 'Aileron-Regular', sans-serif; /* Apply new body font */
  color: var(--color-text-primary);
  background-color: var(--color-background-white);
  font-size: var(--font-size-base); /* Use base font size variable */
  line-height: 1.6;
}

@media (max-width: 749px) {
  body {
    font-size: calc(var(--font-size-base) * 0.9); /* Further reduce base font size on mobile */
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Aileron-Bold', sans-serif; /* Apply bold heading font */
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-bold);
  margin-top: 0;
  margin-bottom: 0.5em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Main Content Area Styling */
#MainContent {
  min-height: 80vh;
  /* Fallback for older browsers */
  min-height: 80svh;
  /* Use Small Viewport Height for better mobile handling */
}

/* Header */
.announcement-bar {
  /* Styles for the section wrapper */
  text-align: center;
  padding: 9px 15px; /* Slightly increased padding */
  font-size: 0.9em;
}

.announcement-bar p {
  margin: 0;
  /* Remove default paragraph margin */
}

/* .site-header-wrapper might be needed if extra spacing/borders are required */

.site-header {
  padding: 15px 0; /* Reduced padding for mobile */
  background-color: var(--color-background-white);
}

@media (min-width: 750px) {
  .site-header {
    padding: 20px 0; /* Restore original padding for desktop */
  }
}

/* Contains logo, social, actions */
.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-social {
  display: flex;
  gap: 10px;
  /* Space between icons */
  align-items: center;
  justify-content: flex-start;
  min-width: 120px; /* Match approximate width of header-actions */
  justify-self: start;
}

/* Hide social links on mobile */
@media (max-width: 749px) {
  .site-header .container {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
  }

  .header-social {
    display: none;
  }
  
  .header-logo {
    grid-column: 1;
  }
  
  /* On mobile, reduce header-actions width to balance with hidden social */
  .header-actions {
    min-width: 84px;
    grid-column: 2;
    justify-content: flex-end;
  }

  .header-cart-container {
    display: none;
  }
}

/* Styling for the UL inside the social-links snippet in the header */
.header-social .social-links__list {
  list-style: none;
  /* Remove bullet points */
  padding: 0;
  /* Remove default padding */
  margin: 0;
  /* Remove default margin */
  display: flex;
  /* Align items horizontally */
  gap: 10px;
  /* Add space between icons */
}

.social-link {
  display: inline-block;
  /* Ensure the anchor respects width/height of content */
  vertical-align: middle;
  /* Align nicely with other inline/inline-block elements */
}

.social-icon {
  width: 24px;
  /* Control icon size */
  height: 24px;
}

/* Fallback text style for social icons */
.social-text-fallback {
  font-size: 0.8em;
  /* Even smaller */
  text-transform: uppercase;
  font-weight: 600;
  /* Make it slightly bolder */
  letter-spacing: 0.05em;
}

/* Visual placeholder for social links with no icon/URL */
.social-link.is-placeholder .social-placeholder-visual {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: #eee;
  /* Placeholder color */
  border-radius: 50%;
  /* Make it a circle */
}

/* Hide the placeholder span if an icon or text fallback IS present */
.social-link:not(.is-placeholder) .social-placeholder-visual {
  display: none;
}

.header-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  justify-self: center;
  grid-column: 1;
}

@media (min-width: 750px) {
  .header-logo {
    grid-column: 2;
  }
}

.header-logo a {
  color: var(--color-text-secondary);
  /* Assuming logo is text for now */
  font-size: var(--font-size-4xl); /* Use standardized font size */
  font-weight: var(--font-weight-bold);
  text-decoration: none;
}

.logo-image {
  max-height: 50px;
  /* Control logo height */
  width: auto;
  display: block;
  /* Prevents extra space below */
}

.header-logo span {
  /* Subtext */
  display: block; /* Increased subtext size */
  font-size: 0.5em;
  font-weight: var(--font-weight-normal);
  color: var(--color-primary);
}

/* Contains the main menu links */
.site-header-nav {
  padding: 5px 0;
  /* Further reduced padding top/bottom */
  border-top: 1px solid var(--color-border);
  /* Optional: Add a separator line */
  position: relative; /* Ensure dropdowns can overflow outside */
  z-index: 100; /* Higher z-index to ensure dropdowns appear above other content */
}

.site-header-nav .container {
  overflow: visible;
  /* Allow scrollable content to extend beyond container */
  padding-left: 10px;
  padding-right: 10px;
  /* Reduced horizontal padding */
}

.site-header-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  /* Center items on mobile */
  flex-wrap: wrap;
  /* Allow wrapping in mobile */
  gap: 15px;
  position: relative;
  /* Needed for absolute positioning of sub-menus */
}

/* -----------------------------------------------------------------
   Sub-navigation
   -----------------------------------------------------------------
   1. Hidden by default (JS will add .is-open)
   2. Placed directly under its parent <li> with a small offset
   3. Higher z-index so it never slips behind hero/banner images
------------------------------------------------------------------*/
.site-header-nav .nav-sub {
  /* ↑ higher-specificity beats generic ul rule */
  display: none;
  /* 1 */
  position: absolute;
  top: 100%;
  /* 2 */
  left: 0;
  background-color: var(--color-background-white);
  border: 1px solid var(--color-border);
  padding: 10px;
  min-width: 180px;
  width: 250px;
  z-index: 200; /* Higher z-index to appear above everything */
  /* 3 */
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for better visibility */
  border-radius: 5px;
}

.site-header-nav a {
  color: var(--color-text-secondary);
  color: var(--color-primary);
  padding: 2px 0;
  /* Further reduced vertical padding */
  white-space: nowrap;
  /* Prevent text wrapping */
  font-size: 0.85em; /* Even smaller font size for mobile */
}

/* Style the wrapper inside the link for flex alignment */
.nav-link__content {
  display: inline-flex; /* Use inline-flex */
  align-items: center; /* Vertically center title and icon */
  gap: 3px; /* Reduced space between title and icon */
}

@media (min-width: 750px) {
  .nav-link__content {
    gap: 4px; /* Restore spacing on desktop */
  }
}

/* Style the arrow icon */
.nav-arrow-icon {
  width: 8px; /* Smaller for mobile */
  height: 8px;
  /* transition: transform 0.2s ease-in-out; /* No longer needed */
  stroke: currentColor; /* Ensure SVG stroke uses link color */
}

@media (min-width: 750px) {
  .nav-arrow-icon {
    width: 10px; /* Restore size on desktop */
    height: 10px;
  }
}

/* Hide down arrow by default */
.nav-arrow-icon--down {
  display: none;
}

/* When dropdown is open: hide up arrow, show down arrow */
.nav-link[aria-expanded="true"] .nav-arrow-icon--up {
  display: none;
}
.nav-link[aria-expanded="true"] .nav-arrow-icon--down {
  display: inline-block; /* Or 'block' if needed, but inline-flex parent should handle alignment */
}
/* Basic Dropdown Styles (Hidden by default) */
.nav-sub {
  display: none;
  /* Hide submenus by default */
  position: absolute;
  top: 100%;
  /* Position below the parent */
  left: 0;
  background-color: var(--color-background-white);
  border: 1px solid var(--color-border);
  padding: 10px;
  min-width: 180px;
  /* Adjust as needed */
  z-index: 10;
  /* Ensure dropdown appears above other content */
  flex-direction: column;
  /* Stack items vertically */
  gap: 5px;
  /* Space between dropdown items */
}

.site-header-nav li {
  position: relative;
  /* Each top-level item is a positioning context */
}

.site-header-nav a.is-active {
  text-decoration: underline;
  /* Example style for active link */
}

.header-actions {
  display: flex;
  gap: 15px;
  /* Space between icons */
  align-items: center;
  justify-content: flex-end;
  min-width: 120px; /* Match approximate width of header-social */
  justify-self: end;
}

.action-icon {
  width: 24px;
  /* Control icon size */
  height: 24px;
}

/* Header Links and Reviews Styling */
.header-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-link {
  text-decoration: none;
  color: var(--color-text-primary);
  font-weight: 500;
}

.header-link:hover {
  text-decoration: underline;
}

.header-reviews-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-reviews-link {
  text-decoration: none;
  color: var(--color-text-primary);
}

.header-reviews-link:hover {
  text-decoration: underline;
}

.header-reviews-stars {
  margin-bottom: 2px;
}

.header-reviews-stars .icon-star {
  width: 16px; /* Make stars smaller */
  height: 16px;
  color: #f5b300; /* Gold color for stars, adjust as needed */
}

.reviews-text {
  /* Optional: adjust text style as needed */
}

/* Header Cart Button */
.header-cart-container {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.header-cart-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text-primary);
  position: relative;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.header-cart-link:hover {
  color: var(--color-primary);
  background-color: rgba(var(--color-primary-rgb), 0.1);
}

.header-cart-link .icon-cart {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--color-primary);
  color: white;
  font-size: 10px;
  font-weight: bold;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 4px;
}

.cart-count--empty {
  display: none;
}

/* Hide cart on very small screens if needed */
@media (max-width: 480px) {
  .header-cart-container {
    margin-left: 10px;
  }
  
  .header-cart-link .icon-cart {
    width: 20px;
    height: 20px;
  }
  
  .cart-count {
    min-width: 14px;
    height: 14px;
    font-size: 9px;
    top: -1px;
    right: -1px;
  }
  
  /* Further balance on very small screens */
  .header-actions {
    min-width: 70px;
    gap: 10px;
  }
  
  .header-reviews-container {
    display: none; /* Hide reviews on very small screens to save space */
  }
}

/* Fallback text style for action icons */
.action-text {
  font-size: 0.95em; /* Increased action text size */
  /* Slightly smaller than base */
  text-transform: uppercase;
  /* Optional: make it look more like an icon label */
}

/* Show dropdown when .is-open class is added by JS */
.nav-sub.is-open {
  display: flex;
  max-height: 400px; /* Reasonable height limit */
  overflow-y: auto; /* Add scrolling for very long dropdowns */
}

/* ✨ graceful-degradation: show submenu on hover when JS is disabled */
@media (hover:hover) {
  .no-js .has-dropdown:hover>.nav-sub {
    display: flex;
  }
}

/* Mobile dropdown positioning adjustments */
@media (max-width: 749px) {
  /* Center the nav items in a grid for mobile */
  .site-header-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px; /* Further reduced gap between items */
    padding: 0 3px; /* Reduced horizontal padding */
    margin: 0;
  }
  
  /* Style dropdown parent */
  .site-header-nav .has-dropdown {
    position: static; /* Allow dropdown to position relative to nav container */
    margin-bottom: 1px; /* Reduced space between items */
  }
  
  /* Force dropdown to be full width on mobile */
  .site-header-nav .nav-sub {
    position: relative;
    top: 1px; /* Less space above dropdown */
    left: auto;
    right: auto;
    width: 100%;
    margin: 0 auto 3px; /* Reduced bottom margin */
    max-width: 100%;
    background-color: #f8f8f8; /* Lighter background to differentiate */
    border-radius: 4px; /* Slightly smaller radius */
    padding: 3px; /* Reduced padding */
  }
  
  /* Style dropdown links */
  .site-header-nav .nav-sub a {
    padding: 4px 8px; /* Reduced padding */
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .site-header-nav .nav-sub li:last-child a {
    border-bottom: none;
  }
  
  /* Make parent item stand out when dropdown is open */
  .site-header-nav .has-dropdown .nav-link[aria-expanded="true"] {
    background-color: rgba(242, 120, 75, 0.1); /* Light primary color background */
    border-radius: 4px; /* Match dropdown radius */
    color: var(--color-primary);
    font-weight: bold;
  }
  
  /* Ensure navigation items have proper padding for tap targets */
  .site-header-nav .nav-link {
    padding: 4px 8px; /* Reduced padding for tap targets */
    display: block;
    text-align: center;
    min-height: 24px; /* Ensure minimum clickable area */
  }
}

/* Custom navigation styling */

/* Desktop layout */
@media (min-width: 750px) {
  .site-header-nav {
    padding: 12px 0; /* Slightly increased padding for desktop */
  }
  
  .site-header-nav .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .site-header-nav ul {
    justify-content: center;
    gap: 22px; /* Slightly more spacing between items on desktop */
  }
  
  /* Restore font size and padding for desktop */
  .site-header-nav a {
    font-size: 1em;
    padding: 6px 0; /* Slightly more padding on desktop */
  }
  
  /* Restore absolute positioning for dropdowns on desktop */
  .site-header-nav .has-dropdown {
    position: relative;
  }
  
  .site-header-nav .nav-sub {
    position: absolute;
    top: 100%;
    left: 0;
    width: auto;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px;
  }
  
  /* Desktop dropdown link styling */
  .site-header-nav .nav-sub a {
    padding: 8px 12px;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  /* Needed for potential absolute positioning of content if required */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: var(--hero-background-image-mobile, url('/cdn/shop/files/Banner_Mobile-Radiant.png?v=1745810728'));
  /* --- Height Control --- */
  padding: 36px 0; /* Default padding, can be overridden by settings */
  min-height: 350px; /* Minimum height for mobile */
  height: auto; /* Allow section to grow with content on mobile */
  display: flex;
  /* Default vertical alignment (top) */
  /* align-items: flex-start; /* Controlled by block-valign class */
  /* Default vertical alignment */
  justify-content: center;
  /* Horizontally center content wrapper */
  overflow: visible; /* Allow content to be fully visible on mobile */
}

.hero-content-wrapper {
  display: flex;
  /* Default horizontal alignment (left) */
  /* justify-content: flex-start; /* Controlled by block-halign class */
  /* Default horizontal alignment */
  align-items: center; /* Align items within the wrapper (useful if multiple items) */
  width: 100%; /* Use full width */
  max-width: 1200px; /* Match container */
  padding: 20px 15px; /* Add padding all around to ensure content doesn't touch screen edges */
  box-sizing: border-box; /* Include padding in width */
}

.hero-text {
  flex: 1;
  /* Allow text block to take available space */
  padding: 20px;
  /* Add padding around text for spacing */
  background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white overlay */
  border-radius: 8px; /* Optional: Rounded corners for the overlay box */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: Subtle shadow */
  position: relative; /* Ensure it's above the main background */
  /* max-width: 600px; /* Removed to allow container width */
  text-align: left; /* Default alignment */
  /* Ensure text is above background */
}

/* Text alignment inside the box */
.hero-text.text-align--left {
  text-align: left;
}
.hero-text.text-align--center {
  text-align: center;
}
.hero-text.text-align--right {
  text-align: right;
  /* Or center if design requires */
  /* Ensure text is above background */
}

/* Additional tuning for mobile headings */
@media (max-width: 749px) {
  h1 {
    font-size: calc(var(--font-size-5xl) * var(--font-scaling-mobile)); /* Further reduced for mobile */
    margin-bottom: 0.3em; /* Tighter spacing */
  }
  
  h2 {
    font-size: calc(var(--font-size-4xl) * var(--font-scaling-mobile)); /* Further reduced for mobile */
    margin-bottom: 0.4em; /* Tighter spacing */
  }
  
  h3 {
    font-size: calc(var(--font-size-3xl) * var(--font-scaling-mobile)); /* Further reduced for mobile */
    margin-bottom: 0.4em; /* Tighter spacing */
  }
  
  p {
    margin-bottom: 1em; /* Reduced paragraph spacing for mobile */
  }
  
  /* Adjust section padding for mobile */
  section, 
  .hero-section,
  .video-section,
  .reviews-section,
  .benefits-section,
  .main-page-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  
  /* Adjust spacing in content areas */
  .hero-text {
    padding: 15px; /* Reduced padding */
  }
}

.hero-stars {
  text-align: inherit; /* Inherit alignment from .hero-text */
  margin-bottom: 10px; /* Space between stars and heading */
  color: var(--color-primary); /* Star color */
}

.hero-stars .icon-star {
  width: 24px; /* Adjust size as needed */
  height: 24px;
  margin: 0 2px; /* Space between stars */
  vertical-align: middle;
}

.hero-section h1 {
  font-size: calc(var(--font-size-5xl) * var(--font-scaling-mobile)); /* Reduced size for mobile */
  /* Adjust size for background */
  color: #33677C;
  /* Specific heading color */
  margin-bottom: 0.2em;
  line-height: 1.2;
  /* max-width: 600px; /* Removed */
}

.hero-subtitle {
  font-size: calc(var(--font-size-lg) * var(--font-scaling-mobile)); /* Match regular text size */
  font-weight: var(--font-weight-normal);
  /* Adjust weight if needed */
  margin-bottom: 0.5em;
  color: var(--color-text-primary);
  /* Black text */
  /* max-width: 600px; /* Removed */
}

.hero-text p {
  font-size: calc(var(--font-size-lg) * var(--font-scaling-mobile)); /* Use standardized font size with mobile scaling */
  margin-bottom: 1.5em;
  color: var(--color-text-primary);
  /* Black text */
  /* max-width: 600px; /* Removed */
}

.placeholder-image {
  /* Basic styling for placeholder images */
  max-width: 100%;
  height: auto;
  background-color: #eee;
  /* Indicate placeholder area */
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border: none;
  border-radius: 25px; /* Increased border-radius to match back-to-top button */
  font-weight: var(--font-weight-bold);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow like back-to-top */
  appearance: none;
  -webkit-appearance: none;
}

.button--primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.button--buy-now {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.button--primary:hover {
  background-color: #d96843;
  /* Slightly darker orange */
  color: var(--color-text-light);
  text-decoration: none;
  opacity: 0.95; /* Similar to back-to-top hover effect */
  transform: translateY(-1px); /* Subtle lift effect */
}

.button--buy-now:hover {
  background-color: #d96843;
  color: var(--color-text-light);
  text-decoration: none;
  opacity: 0.95;
  transform: translateY(-1px);
}

.button--secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.button--secondary:hover {
  background-color: var(--color-primary-light-accent); /* A lighter shade for hover */
  color: var(--color-primary);
  text-decoration: none;
  opacity: 0.95; /* Similar to back-to-top hover effect */
  transform: translateY(-1px); /* Subtle lift effect */
}

/* Flex wrapper for dual CTAs */
.hero-buttons {
  display: flex;
  gap: 15px; /* Standardized gap */
  flex-wrap: wrap;
  margin-top: 1.5rem; /* Add space above buttons */
  /* Allow buttons to wrap on smaller screens */
}

/* Optional brand colors */
.button--lazada {
  background-color: #1a58ad;
}

.button--shopee {
  background-color: #ee4d2d;
}

.button--lazada:hover,
.button--shopee:hover {
  opacity: 0.95;
  text-decoration: none;
  transform: translateY(-1px); /* Subtle lift effect */
}

.buy-now-form {
  display: inline-flex;
  margin: 0;
}

/* Specific styles from example JSON */
.hero-section .hero-content-wrapper {
  /* padding-left: 10%; /* Applied via text-alignment setting now */
}

/* Block Alignment Controls */
.hero-section.block-valign--top    { align-items: flex-start; }
.hero-section.block-valign--middle { align-items: center; }
.hero-section.block-valign--bottom { align-items: flex-end; }

.hero-content-wrapper.block-halign--left   { justify-content: flex-start; }
.hero-content-wrapper.block-halign--center { justify-content: center; }
.hero-content-wrapper.block-halign--right  { justify-content: flex-end; }

/* Reset text alignment within centered/right-aligned blocks if needed */
.hero-content-wrapper.block-halign--center .hero-text,
.hero-content-wrapper.block-halign--right .hero-text {
  /* Default internal text alignment remains left unless overridden by text-align--* */
}

.hero-section .button {
  /* background-color: #f15e2f; /* Example override - handled by button types */
  /* color: #fff; /* Example override - handled by button types */
}

/* Desktop Hero Styles */
@media (min-width: 750px) {
  .hero-section {
    background-image: var(--hero-background-image-desktop, url('/cdn/shop/files/Banner_Desktop-Radiant.png?v=1745810729'));
    /* Desktop: Use aspect ratio to maintain image proportions */
    min-height: 0; /* Reset min-height */
    height: auto; /* Use natural image height with aspect ratio */
    aspect-ratio: 12 / 5; /* 1440×600 image dimensions (2.4:1) */
    overflow: hidden; /* Maintain clean edges */
  }
  
  /* Custom aspect ratios can be applied with utility classes */
  .hero-section.aspect-ratio--21-9 { aspect-ratio: 21 / 9; }
  .hero-section.aspect-ratio--16-9 { aspect-ratio: 16 / 9; }
  .hero-section.aspect-ratio--3-2 { aspect-ratio: 3 / 2; }
  .hero-section.aspect-ratio--4-3 { aspect-ratio: 4 / 3; }
  .hero-section.aspect-ratio--1-1 { aspect-ratio: 1 / 1; }
  
  /* If content height exceeds image height, override aspect ratio */
  .hero-section.content-exceeds-height {
    aspect-ratio: none;
    min-height: 400px;
    height: auto;
    overflow: visible;
  }
  
  .hero-content-wrapper {
    /* align-items: center; /* Re-center text block vertically - Handled by section align-items */
    align-items: center; /* Re-center vertically on desktop */
  }
  /* Restore font sizes for desktop */
  /* Font sizes remain scaled down from mobile */
  .hero-text {
    max-width: 300px; /* Constrain text width on tablet */
  }

  /* Specific styles from example JSON for mobile */
  .hero-section .hero-content-wrapper {
    /* padding: 0; /* Applied via text-alignment setting now */
  }
}
@media (min-width: 1024px) {
  /* Enhanced font sizes for larger desktops */
  .hero-section h1 { font-size: calc(var(--font-size-6xl) * var(--font-scaling-desktop)); }
  .hero-subtitle { font-size: calc(var(--font-size-lg) * var(--font-scaling-desktop)); }
  .hero-text p { font-size: calc(var(--font-size-lg) * var(--font-scaling-desktop)); }

  .hero-text {
    max-width: 600px; /* Wider constraint for larger desktops */
  }
}

/* FDA Section */
.fda-section {
  padding: 40px 0;
  background-color: var(--color-background-white);
}

.fda-content-wrapper {
  text-align: center;
}

.fda-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 15px;
}

.placeholder--small {
  /* Specific size for FDA logos */
  max-width: 150px;
  max-height: 50px;
}

.fda-text {
  color: var(--color-text-muted);
  font-size: 0.95em; /* Increased FDA text size */
  margin-bottom: 15px;
}

.fda-verify-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.fda-verify-button {
  background-color: #16A34A; /* Green button */
  color: white;
  padding: 10px 20px;
  border-radius: 25px; /* Increased to match other buttons */
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow like other buttons */
}

.fda-verify-button:hover {
  background-color: #15803D; /* Darker green on hover */
  text-decoration: none;
  opacity: 0.95; /* Similar to other buttons */
  transform: translateY(-1px); /* Subtle lift effect */
}

/* Video Section */
.video-section-wrapper {
  /* Wrapper class added by schema */
  /* Add top/bottom margin if needed, or rely on section padding */
}

.video-section {
  padding: 40px 0;
  text-align: center;
}

.video-section.color-background-light {
  background-color: var(--color-background-light);
}

.video-section.color-background-dark {
  background-color: #33677C;
  color: var(--color-text-light);
}

.video-section.color-background-dark h2 {
  color: var(--color-text-light);
  /* Ensure heading is light on the new dark background */
}

.video-section__heading {
  font-size: calc(var(--font-size-3xl) * var(--font-scaling-mobile)); /* Reduced for better mobile appearance */
  margin-bottom: 30px;
  color: var(--color-text-secondary);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  /* Optional: black background while loading */
  margin-bottom: 30px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* Remove default border */
}

.video-section__buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  /* Allow buttons to wrap */
}

/* Re-use existing button styles, including marketplace colors */
.video-section__buttons .button {
  /* Inherits base .button styles */
}


/* Footer */
.site-footer {
  background-color: var(--color-background-white);
  padding: 40px 0 20px;
  border-top: 1px solid var(--color-border);
  margin-top: 40px;
  /* Add space above footer */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /* Responsive columns */
  gap: 30px;
  margin-bottom: 30px;
}

.footer-grid__item {
  /* Base styles for grid items */
}

.footer-heading {
  font-size: var(--font-size-md); /* Reduced from lg to md to prevent text overlap */
  margin-bottom: 12px;
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-bold);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo__image {
  max-width: 100%;
  /* Ensure logo scales down */
  height: auto;
  max-height: var(--footer-logo-height, 50px);
  /* Controlled by setting */
}

.footer-shop-name a {
  font-size: 1.6em; /* Increased shop name size */
  font-weight: var(--font-weight-bold);
  color: var(--color-text-secondary);
  text-decoration: none;
}

.footer-office {
  margin-top: 20px;
  /* Space below logo/shop name */
}

.footer-office__address.rte p {
  margin: 0;
  line-height: 1.5;
  font-size: 1em; /* Increased address text size */
}

.footer-grid__item--contact p {
  margin: 0 0 12px 0;
  font-size: var(--font-size-sm);
  line-height: 1.4;
  word-break: break-word;
}

.footer-grid__item--contact a {
  color: var(--color-text-primary);
  display: inline-block;
  max-width: 100%;
  word-break: break-all;
}

.footer-grid__item--contact a:hover {
  color: var(--color-primary);
}

.footer-links,
.footer-policy-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-policy-links li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-policy-links a {
  color: var(--color-text-primary);
}

.footer-links a:hover,
.footer-policy-links a:hover {
  color: var(--color-primary);
}

/* Styling for the UL inside the social-links snippet in the footer */
.footer-grid__item--social .social-links__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  /* Keep the original footer gap */
  flex-wrap: wrap;
  /* Allow wrapping if needed */
}

.social-link .social-icon {
  width: 32px;
  /* Larger icons for footer */
  height: 32px;
  color: var(--color-text-secondary);
  /* Match heading color */
  fill: var(--color-text-secondary);
  /* For filled icons like TikTok */
}

.social-link:hover .social-icon {
  color: var(--color-primary);
  fill: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  /* Wrap on small screens */
  gap: 10px;
  font-size: 0.95em; /* Increased footer bottom text size */
  color: var(--color-text-muted);
}

.footer-bottom__copyright {
  /* Takes remaining space */
}

.footer-bottom__policies {
  /* Aligns to the right */
}

.footer-policy-links {
  display: flex;
  gap: 15px;
}

/* --- Reviews Section --- */
.reviews-section-wrapper {
  /* Wrapper class added by schema */
  /* Add top/bottom margin if needed, or rely on section padding */
}

.reviews-section {
  padding: 60px 0;
}

.reviews-section.color-background-light {
  background-color: var(--color-background-light);
}

.reviews-section.color-background-dark {
  background-color: var(--color-background-dark);
  color: var(--color-text-light);
}

.reviews-section.color-background-dark h2 {
  color: var(--color-text-light);
}

/* Keep heading light on dark */
.reviews-section.color-background-dark .review-card {
  background: var(--color-text-secondary);
  color: var(--color-text-light);
}

/* Adjust card for dark bg */
.reviews-section.color-background-dark .carousel-arrow {
  background: var(--color-text-light);
  color: var(--color-text-secondary);
}

.reviews-section__heading {
  text-align: center;
  font-size: calc(var(--font-size-3xl) * var(--font-scaling-mobile)); /* Reduced for better mobile appearance */
  margin-bottom: 40px;
  color: var(--color-text-secondary);
}

/* Wrapper only provides positioning context */
.reviews-carousel {
  position: relative; /* Needed for absolute positioning of arrows */
  margin-bottom: 30px;
  /* Remove flex properties */
  /* display: flex; */
  /* align-items: center; */
  /* gap: 10px; */
}

/* NEW dedicated scrolling viewport */
.reviews-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling on iOS */
  /* flex-grow: 1; /* No longer needed without flex */
  padding-bottom: 15px;
  /* Remove horizontal padding; control width via grid-auto-columns */
  /* padding-left: 50px; */
  /* padding-right: 50px; */
  /* Space for scrollbar if visible */
}

.reviews-carousel__track {
  display: grid;
  grid-auto-flow: column;
  /* Lay out items horizontally */
  grid-auto-columns: 85vw; /* Make cards narrower than viewport to leave space for arrows */
  /* Mobile: Card is narrower, snapping handles view. */
  gap: 25px;
  width: max-content;
  /* Allow track to expand beyond its container */
}

.review-card {
  background-color: #33677C;
  color: var(--color-text-light);
  padding: 30px 25px;
  border-radius: 12px;
  scroll-snap-align: start;
  /* Snap alignment */
  display: flex;
  flex-direction: column;
  /* Ensure consistent height if needed */
}

.review-card__stars {
  font-size: 1.5em; /* Increased star size */
  line-height: 1;
  margin-bottom: 18px;
  color: var(--color-primary);
}

/* Use primary color for stars */
.review-card__text {
  margin: 0 0 22px; /* Slightly more margin */
  font-size: 0.95em;
  flex-grow: 1;
}

/* Allow text to grow */
.review-card__author {
  margin: 0; /* Increased author text size */
  font-size: 0.85em;
  opacity: .9;
  line-height: 1.3;
}

.review-card__author strong {
  display: block;
  margin-bottom: 2px;
}

.carousel-arrow {
  /* Revert to absolute positioning */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* Vertical center - Make button smaller */
  width: 32px;
  height: 32px;
  /* Slightly smaller for mobile */
  border: none;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  /* font-size: 1.6em; /* Removed as we use SVG now */
  cursor: pointer;
  z-index: 5;
  /* Ensure arrows are above cards */
  /* Add flex to center the SVG inside */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* Remove default button padding */
  line-height: 0; /* Prevent extra space */

  /* flex-shrink: 0; /* No longer needed */
}

/* Mobile positioning (inside viewport) */
.carousel-arrow--prev {
  /* Position near the edges */
  left: 5px; /* Closer to edge */
}

.carousel-arrow--next {
  right: 5px; /* Closer to edge */
}

/* Style the SVG icon within the button */
.carousel-arrow .icon {
  width: 30%; /* Adjust size relative to button */
  height: 30%;
  fill: currentColor; /* Inherit color from button */
}

/* Show arrows only on screens wide enough for them to be useful (outside the container) */
@media (min-width: 750px) {

  /* Adjust breakpoint as needed */
  .carousel-arrow {
    width: 36px; /* Smaller desktop size */
    height: 36px;
    /* Restore desktop size */
  }

  .carousel-arrow--prev {
    /* Position outside the viewport area */
    left: -20px; /* Adjust as needed */
  }

  /* Desktop positioning (outside viewport) */
  .carousel-arrow--next {
    /* Position outside the viewport area */
    right: -15px; /* Adjust for smaller size */
  }

  .reviews-carousel__track {
    grid-auto-columns: minmax(280px, 340px);
  }
  
  /* Desktop font size */
  .reviews-section__heading {
    font-size: calc(var(--font-size-4xl) * var(--font-scaling-desktop));
  }

  /* Set a max width per column to encourage 3-across */
}

/* Hide scrollbar visually but keep functionality */
/* Apply scrollbar hiding to the viewport */
.reviews-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.reviews-carousel__viewport {
  -ms-overflow-style: none;
  scrollbar-width: none;
}



.reviews-section__buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  /* Allow buttons to wrap */
}

.reviews-empty {
  text-align: center;
  padding: 40px 15px;
}

/* --- Main Page Section Wrapper --- */
.main-page-section {
  padding: 60px 0;
  /* Match hero padding */
}

.main-page-section.color-background-light {
  background-color: var(--color-background-light);
}

.main-page-section.color-background-dark {
  background-color: #33677C;
  /* Match video/benefits dark */
  color: var(--color-text-light);
}

/* --- Main Page Section (Two Column) --- */
.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: single column */
  gap: 30px;
  /* Gap between columns and rows on mobile */
  align-items: center;
  /* Vertically align content */
  /* Padding is now handled by .main-page-section wrapper */
}

@media (min-width: 750px) {
  .page-grid {
    grid-template-columns: 1fr 1fr;
    /* Desktop: two equal columns */
    gap: 50px;
    /* Wider gap on desktop */
  }
}

.page-grid__text-column {
  /* Styles specific to the text column if needed */
  display: flex;
  /* Use flexbox for content alignment */
  flex-direction: column;
  justify-content: center;
  /* Center content vertically */
}

/* Match Hero H1 size */
.page-grid__text-column h1 {
  font-size: 3.1em; /* Re-applied increase */
  font-size: 3.1em; /* Increased page heading size */
}

.page-grid__image-column {
  text-align: center;
  /* Center image */
}

.page-buttons {
  margin-top: 20px;
  /* Space above buttons */
  display: flex;
  /* Arrange buttons horizontally */
  gap: 12px;
  /* Match hero button gap */
  flex-wrap: wrap;
  /* Allow wrapping */
}

/* --- Main Product Section --- */
.main-product-section {
  padding: 60px 0;
  background-color: var(--color-background-white);
  /* Default white background */
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: single column */
  gap: 40px;
  align-items: center;
  /* Vertically align items in columns */
}

@media (min-width: 750px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    /* Desktop: two equal columns */
  }
}

.product-image-column {
  text-align: center;
  /* Center image within its column */
}

.product-image-column img {
  max-width: 80%;
  /* Prevent image from getting too large */
  height: auto;
}

.product-details-column {
  /* Styles for the text content column */
}

.product-title {
  font-size: 2.3em; /* Increased product title size */
  margin-bottom: 0.3em;
}

.product-subtitle {
  font-size: 1.3em; /* Increased product subtitle size */
  color: var(--color-text-secondary);
  margin-bottom: 0.5em;
}

.product-ingredients {
  font-size: 1.05em; /* Increased ingredients text size */
  color: var(--color-text-primary);
  margin-bottom: 1em;
}

.product-fda-wrapper {
  margin-bottom: 1em;
  min-height: 30px;
  /* Ensure space even if placeholder is small */
}

.product-fda-logo {
  max-width: 100px;
  /* Control FDA logo size */
  height: auto;
  display: block;
  /* Ensure margin-bottom works */
}

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

.rating-stars {
  color: #f5b300;
  /* Gold color for stars */
  font-size: 1.5em; /* Increased rating star size */
  line-height: 1;
}

.rating-text {
  font-size: 0.95em; /* Increased rating text size */
  color: var(--color-text-muted);
}

.product-capsules {
  font-size: 1.05em; /* Increased capsules text size */
  color: var(--color-text-secondary);
  margin-bottom: 1em;
}

.product-price {
  font-size: 1.8em;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-secondary); /* Increased price size */
  margin-bottom: 1.5em;
}

.product-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  /* Allow buttons to wrap */
}


.benefits-section__marketplace-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  /* Allow buttons to wrap */
  margin-top: 20px;
  /* Add space above the marketplace buttons */
}

/* --- Benefits Section --- */
.benefits-section-wrapper {
  /* Optional wrapper styles */
}

.benefits-section {
  padding: 60px 0;
  text-align: center;
  /* Center heading and button */
}

.benefits-section.color-background-light {
  background-color: var(--color-background-light);
}

.benefits-section.color-background-dark {
  background-color: #33677C;
  /* Match image background */
  color: var(--color-text-light);
}

.benefits-section.color-background-dark h2 {
  color: var(--color-text-light);
}

.benefits-section.color-background-dark .benefits-card {
  background-color: var(--color-background-white);
  color: var(--color-text-secondary);
}

/* White cards on dark bg */
.benefits-section.color-background-dark .carousel-arrow {
  background: var(--color-text-light);
  color: #33677C;
}

/* Light arrows on dark bg */

.benefits-section__heading {
  font-size: calc(var(--font-size-3xl) * var(--font-scaling-mobile)); /* Reduced for better mobile appearance */
  margin-bottom: 40px;
  position: relative;
  /* For the underline */
  display: inline-block;
  /* Contain the underline */
}

/* Underline style from image */
.benefits-section__heading::after {
  content: '';
  display: block;
  width: 60px;
  /* Adjust width as needed */
  height: 4px;
  background-color: currentColor;
  /* Use heading color */
  margin: 10px auto 0;
  /* Center the underline */
}

.benefits-carousel {
  position: relative;
  margin-bottom: 40px;
}

/* Space before button */
.benefits-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 15px;
  /* Scrollbar space */
}

.benefits-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.benefits-carousel__viewport {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.benefits-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 85vw);
  /* Mobile: Mostly one card */
  gap: 25px;
  width: max-content;
}

.benefits-card {
  background-color: var(--color-background-white);
  /* Default white card */
  color: var(--color-text-secondary);
  padding: 40px 25px 30px;
  /* More padding top */
  border-radius: 12px;
  scroll-snap-align: start;
  text-align: center;
}

.benefits-card__image-wrapper {
  width: 100px;
  /* Circle size */
  height: 100px;
  border-radius: 50%;
  background-color: #33677C;
  /* Match section bg */
  margin: 0 auto 25px;
  /* Center circle */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Clip image if needed */
}

.benefits-card__image {
  max-width: 60%;
  /* Adjust icon size within circle */
  max-height: 60%;
  object-fit: contain;
}

.benefits-card__heading {
  font-size: 1.25em;
  margin-bottom: 12px;
  color: var(--color-primary);
  line-height: 1.3;
}

.benefits-card__caption {
  font-size: 1em; /* Increased benefit caption size */
  line-height: 1.5;
}

.benefits-card__caption p {
  margin: 0;
}

/* Remove default p margin */

/* Use same arrow styles as reviews, but scoped */
.benefits-carousel .carousel-arrow {
  /* Inherits base styles */
}

.benefits-carousel .carousel-arrow--prev {
  /* Mobile position */
  left: 5px; /* Match reviews */
}

.benefits-carousel .carousel-arrow--next {
  /* Mobile position */
  right: 5px; /* Match reviews */
}

@media (min-width: 750px) {
  .benefits-carousel__track {
    grid-auto-columns: minmax(280px, 340px);
    /* Desktop: 3 columns */
  }

  .benefits-carousel .carousel-arrow--prev {
    /* Desktop position */
    left: -20px;
  }

  .benefits-carousel .carousel-arrow--next {
    /* Desktop position */
    right: -15px; /* Match reviews */
  }
  
  /* Desktop font size */
  .benefits-section__heading {
    font-size: calc(var(--font-size-4xl) * var(--font-scaling-desktop));
  }
}

.benefits-section__button {
  /* Centered by text-align on parent */
}

.benefits-empty {
  text-align: center;
  padding: 40px 15px;
}

/* --- Main Page Section Wrapper --- */
.main-page-section {
  padding: 60px 0;
  /* Match hero padding */
}

.main-page-section.color-background-light {
  background-color: var(--color-background-light);
}

.main-page-section.color-background-dark {
  background-color: #33677C;
  /* Match video/benefits dark */
  color: var(--color-text-light);
}

/* --- Main Page Section (Two Column) --- */
.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: single column */
  gap: 30px;
  /* Gap between columns and rows on mobile */
  align-items: center;
  /* Vertically align content */
  /* Padding is now handled by .main-page-section wrapper */
}

@media (min-width: 750px) {
  .page-grid {
    grid-template-columns: 1fr 1fr;
    /* Desktop: two equal columns */
    gap: 50px;
    /* Wider gap on desktop */
  }
}

.page-grid__text-column {
  /* Styles specific to the text column if needed */
  display: flex;
  /* Use flexbox for content alignment */
  flex-direction: column;
  justify-content: center;
  /* Center content vertically */
}

/* Match Hero H1 size */
.page-grid__text-column h1 {
  font-size: 3.1em; /* Re-applied increase */
  font-size: 3.1em; /* Increased page heading size */
}

.page-grid__image-column {
  text-align: center;
  /* Center image */
}

.page-buttons {
  margin-top: 20px;
  /* Space above buttons */
}

/* Blog Styling */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.blog-filter {
  margin-bottom: 30px;
}


@media (min-width: 750px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (min-width: 990px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

.article-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.article-card__content {
  padding: 20px;
}

.article-card__title {
  margin-bottom: 15px;
}

.article-card__excerpt {
  margin-bottom: 20px;
  color: var(--color-text-primary);
  line-height: 1.5;
}

/* Blog tag pills */
.article-card__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.article-card__tags-label {
  margin-right: 8px;
}

.article-card__tags .list-inline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-card__tags .list-inline li {
  display: inline-block;
  margin: 0;
}

.article-card__tags .tag-link {
  display: inline-block;
  background-color: #f5f5f5;
  color: var(--color-text-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.article-card__tags .tag-link:hover {
  background-color: #e0e0e0;
}

/* Article template tags styling */
.article-template__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.article-template__tags-label {
  margin-right: 8px;
}

.article-template__tags .list-inline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 5px;
}

.article-template__tags .list-inline li {
  display: inline-block;
  margin: 0;
}

.article-template__tags .tag-link {
  display: inline-block;
  background-color: #f5f5f5;
  color: var(--color-text-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.article-template__tags .tag-link:hover {
  background-color: #e0e0e0;
}

/* Import section-specific CSS */
@import url("product-comparison.css");
@import url("quality-check-guide.css");
@import url("why-eslite.css");
@import url("quality-check.css");
@import url("review-cards-before-after.css");
@import url("timeline.css");
@import url("benefits-hero.css");
@import url("well-being-hero.css");
@import url("well-being-hero.css");
@import url("bento-box.css");
@import url("reel-carousel.css");

/* Keep below other imports so it can override */

@import url("article-reading.css");

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99; /* Ensure it's above most content */
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border: none;
  border-radius: 50%; /* Circular on mobile */
  width: 45px;
  height: 45px;
  padding: 0; /* Padding adjusted below */
  display: flex; /* Use flex to center icon */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  /* Control visibility with opacity and visibility for smooth transition */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top__icon .icon {
  width: 1.2em; /* Control SVG size */
  height: 1.2em;
  display: block; /* Remove extra space below SVG */
}

.back-to-top--visible {
  /* Show by changing opacity and visibility */
  opacity: 1;
  visibility: visible;
}

.back-to-top__text {
  display: none; /* Text hidden by default, shown on larger screens */
}

.back-to-top:hover {
  opacity: 0.85;
}

@media (min-width: 750px) {
  .back-to-top {
    width: auto; /* Adjust width for text */
    height: auto; /* Adjust height for text */
    padding: 8px 15px; /* Add padding for text */
    border-radius: 25px; /* Pill shape */
    gap: 8px; /* Space between icon and text */
  }
  .back-to-top__text {
    display: inline; /* Show text on desktop */
    font-size: 0.95em; /* Increased back-to-top text size */
    line-height: 1; /* Align text vertically */
  }
}
