/*
Theme Name: Time Out Signature
Theme URI: https://example.com/time-out-signature
Author: Diginotix Technologies LLP
Author URI: https://diginotix.com/
Description: A premium, clean, light-background WooCommerce theme for the Time Out brand. Featuring an animated hero with interactive mouse cursor 3D parallax, customizable theme colors, signature CBD - D9 Pre Rolls and Akuamma Extract Tablets catalog with View Product and Contact for Price actions, and a full Certificate of Analysis (COA) directory.
Version: 1.3.7
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: time-out
Tags: e-commerce, custom-logo, custom-menu, featured-images, accessibility-ready, responsive-layout
*/

/* ==========================================================================
   1. Design Tokens & CSS Custom Properties (Light Clean Theme System)
   ========================================================================== */
:root {
  /* Brand Accents */
  --to-primary: #059669;
  --to-primary-hover: #047857;
  --to-primary-light: #ecfdf5;
  --to-primary-contrast: #ffffff;
  --to-accent: #10b981;
  --to-accent-hover: #059669;
  --to-secondary: #0f172a;

  /* Surfaces & Backgrounds (Clean Light Theme) */
  --to-bg: #f8fafc;
  --to-surface: #ffffff;
  --to-surface-subtle: #f1f5f9;
  --to-surface-elevated: #ffffff;
  --to-header-bg: rgba(255, 255, 255, 0.92);

  /* Typography Colors */
  --to-text: #0f172a;
  --to-text-secondary: #334155;
  --to-muted: #64748b;
  --to-muted-light: #94a3b8;

  /* Borders & Dividers */
  --to-border: #e2e8f0;
  --to-border-light: #f1f5f9;
  --to-border-focus: #059669;

  /* Sizing & Radius */
  --to-radius-sm: 8px;
  --to-radius: 16px;
  --to-radius-lg: 24px;
  --to-radius-full: 9999px;
  --to-max: 1280px;

  /* Transitions & Shadows */
  --to-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --to-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --to-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --to-shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.09), 0 0 0 1px rgba(0, 0, 0, 0.03);
  --to-shadow-hover: 0 25px 50px -12px rgba(5, 150, 105, 0.16), 0 4px 14px rgba(15, 23, 42, 0.05);
  --to-glow-primary: 0 0 40px rgba(16, 185, 129, 0.2);

  /* Backward Compatibility Aliases */
  --to-ink: var(--to-text);
  --to-panel: var(--to-surface);
  --to-panel-2: var(--to-surface-subtle);
  --to-surface-2: var(--to-surface-subtle);
  --to-primary-soft: rgba(5, 150, 105, 0.08);
  --to-white: var(--to-bg);
  --to-lime: var(--to-primary);
  --to-purple: var(--to-primary);
  --to-line: var(--to-border);
}

/* ==========================================================================
   2. Base & Typography
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--to-bg);
  color: var(--to-text);
  font-family: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.to-modal-open {
  overflow: hidden;
}

body, button, input, select, textarea {
  font-family: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--to-ease);
}

button, input, select, textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--to-accent);
  outline-offset: 3px;
}

::selection {
  background: rgba(16, 185, 129, 0.22);
  color: var(--to-text);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed !important;
  top: 15px;
  left: 15px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 12px 24px;
  background: var(--to-primary);
  color: #fff;
  font-weight: 800;
  border-radius: 8px;
  clip: auto;
  outline: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.to-container {
  width: 100%;
  max-width: var(--to-max, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* ==========================================================================
   3. Buttons & UI Elements
   ========================================================================== */
.to-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--to-radius-full);
  background: var(--to-primary);
  color: var(--to-primary-contrast) !important;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  transition: transform 0.25s var(--to-ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

.to-button:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-2px);
  background: var(--to-primary-hover);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

.to-button--hero {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 0.96rem;
}

.to-button--outline {
  background: var(--to-surface);
  color: var(--to-text) !important;
  border: 1.5px solid var(--to-border);
  box-shadow: var(--to-shadow-sm);
}

.to-button--outline:hover {
  background: var(--to-surface-subtle);
  border-color: var(--to-primary);
  color: var(--to-primary) !important;
  box-shadow: var(--to-shadow-md);
}

.to-button--coa {
  background: #0f172a;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.to-button--coa:hover {
  background: var(--to-primary);
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.25);
}

/* Badges */
.to-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--to-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.to-badge--category {
  background: var(--to-primary-light);
  color: var(--to-primary);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.to-badge--pass {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.to-badge--verified {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.to-badge--pending {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.to-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--to-radius-full);
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  color: var(--to-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.to-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--to-accent);
  box-shadow: 0 0 10px var(--to-accent);
  animation: to-pulse 2s infinite;
}

@keyframes to-pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.to-eyebrow {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--to-primary);
  margin-bottom: 8px;
}

.to-code-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  padding: 3px 8px;
  background: var(--to-surface-subtle);
  border: 1px solid var(--to-border);
  border-radius: 6px;
  color: var(--to-text);
}

/* ==========================================
   4. Header & Navigation (Light Glassmorphic)
   ========================================== */
.to-announcement {
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 20px;
}

.to-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--to-header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--to-border);
  transition: background 0.25s, box-shadow 0.25s;
}

.to-header.is-scrolled {
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

.to-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.to-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.7rem;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: var(--to-text);
  text-decoration: none;
  transition: opacity var(--to-transition, 0.25s ease);
}

.to-brand:hover {
  opacity: 0.92;
}

.to-brand-logo-img {
  display: block;
  height: var(--to-logo-height, 52px);
  max-height: var(--to-logo-height, 52px);
  width: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
  transition: transform var(--to-transition, 0.25s ease);
}

.to-brand:hover .to-brand-logo-img {
  transform: scale(1.02);
}

.to-footer-brand-col .to-brand-logo-img {
  max-height: calc(var(--to-logo-height, 52px) * 0.92);
}

/* Core WordPress custom-logo compatibility */
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  height: var(--to-logo-height, 52px);
  max-height: var(--to-logo-height, 52px);
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.to-brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--to-text);
  border-radius: 50%;
  font-size: 0.95rem;
  letter-spacing: -0.08em;
  transform: rotate(-8deg);
  background: var(--to-surface);
  box-shadow: var(--to-shadow-sm);
}

.to-brand-word span {
  color: var(--to-primary);
}

body.to-menu-open {
  overflow: hidden !important;
  touch-action: none;
}

body.to-menu-open .to-header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.to-menu-open .to-menu-toggle {
  background: var(--to-primary);
  color: var(--to-primary-contrast);
  border-color: var(--to-primary);
}

.to-nav {
  display: flex;
  align-items: center;
}

.to-nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.to-nav-list li {
  position: relative;
  margin: 0;
  padding: 0;
}

.to-nav a,
.to-nav-list li a {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  color: var(--to-text-secondary);
  font-weight: 650;
  transition: color 0.2s, background-color 0.2s;
  position: relative;
  text-decoration: none;
  padding: 6px 2px;
}

.to-nav a:hover,
.to-nav-list li a:hover,
.to-nav-list li:hover > a {
  color: var(--to-primary);
}

/* Active Menu Item Highlight */
.to-nav-list > li.current-menu-item > a,
.to-nav-list > li.current-menu-ancestor > a,
.to-nav-list > li.current_page_item > a {
  color: var(--to-primary);
  font-weight: 750;
}

.to-nav-list > li.current-menu-item > a::after,
.to-nav-list > li.current-menu-ancestor > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--to-primary);
  border-radius: 2px;
}

/* Dropdown Menu Indicator Arrow */
.to-nav-list li.menu-item-has-children > a {
  gap: 6px;
}

.to-nav-list > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.to-nav-list > li.menu-item-has-children:hover > a::after,
.to-nav-list > li.menu-item-has-children:focus-within > a::after {
  transform: rotate(-135deg) translateY(-1px);
}

/* Desktop Submenu Dropdown */
.to-nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  background: var(--to-surface);
  border: 1px solid var(--to-border);
  border-radius: 14px;
  padding: 8px;
  margin: 0;
  list-style: none;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  z-index: 100;
}

/* Hover bridge preventing accidental menu close */
.to-nav-list .sub-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.to-nav-list li.menu-item-has-children:hover > .sub-menu,
.to-nav-list li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-nav-list .sub-menu li {
  margin: 0;
  width: 100%;
}

.to-nav-list .sub-menu li a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--to-text);
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}

.to-nav-list .sub-menu li a:hover,
.to-nav-list .sub-menu li.current-menu-item > a {
  background: var(--to-surface-2);
  color: var(--to-primary);
  transform: translateX(3px);
}

/* Level 2+ Nested Submenus */
.to-nav-list .sub-menu .sub-menu {
  top: -6px;
  left: calc(100% + 6px);
}

.to-nav-list .sub-menu .sub-menu::before {
  top: 0;
  left: -8px;
  width: 8px;
  height: 100%;
}

/* ============================================================
   DYNAMIC SHOP MEGA MENU (DESKTOP)
   ============================================================ */
.to-nav-list > li.to-has-megamenu {
  position: static;
}

.to-nav-list > li.to-has-megamenu > a::after {
  display: none !important;
}

.to-megamenu-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  font-size: 1.15rem;
  font-weight: 850;
  line-height: 1;
  color: var(--to-text-secondary);
  transition: transform 0.25s ease, color 0.25s ease;
}

.to-nav-list > li.to-has-megamenu:hover > a,
.to-nav-list > li.to-has-megamenu:focus-within > a,
.to-nav-list > li.to-has-megamenu.is-open > a,
.to-nav-list > li.to-has-megamenu.to-submenu-open > a {
  color: #e11d48 !important;
}

.to-nav-list > li.to-has-megamenu:hover .to-megamenu-caret,
.to-nav-list > li.to-has-megamenu:focus-within .to-megamenu-caret,
.to-nav-list > li.to-has-megamenu.is-open .to-megamenu-caret,
.to-nav-list > li.to-has-megamenu.to-submenu-open .to-megamenu-caret {
  color: #e11d48 !important;
  transform: translateY(-2px) scale(1.1);
}

.to-megamenu-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(940px, calc(100vw - 32px));
  max-width: 940px;
  background: #080b1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.24s;
  z-index: 250;
}

/* Hover bridge preventing accidental menu close */
.to-megamenu-dropdown::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
}

/* Reveal when hovered or focused */
.to-nav-list > li.to-has-megamenu:hover > .to-megamenu-dropdown,
.to-nav-list > li.to-has-megamenu:focus-within > .to-megamenu-dropdown,
.to-nav-list > li.to-has-megamenu.is-open > .to-megamenu-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Two-column layout */
.to-megamenu-inner {
  display: grid;
  grid-template-columns: 295px 1fr;
  gap: 14px;
}

/* Left Hero Card */
.to-megamenu-hero-card {
  background: linear-gradient(145deg, #d8001d 0%, #9e0013 100%);
  border-radius: 20px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 10px 25px rgba(180, 0, 25, 0.25);
}

.to-megamenu-hero-title {
  color: #ffffff;
  font-size: 2.15rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.to-megamenu-hero-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 500;
  margin: 0;
}

.to-megamenu-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #000000;
  color: #ffffff !important;
  font-weight: 850;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none !important;
  width: fit-content;
  min-width: 155px;
  margin-top: 26px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.to-megamenu-hero-btn:hover {
  background: #151515;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.to-megamenu-hero-btn .to-arrow {
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.to-megamenu-hero-btn:hover .to-arrow {
  transform: translateX(4px);
}

/* Right Showcase Section */
.to-megamenu-showcase {
  background: linear-gradient(145deg, #12193b 0%, #090e24 100%);
  border-radius: 20px;
  padding: 26px 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.to-megamenu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none !important;
  max-width: 220px;
  padding: 6px 10px;
  border-radius: 16px;
  transition: transform 0.25s ease;
}

.to-megamenu-card:hover {
  transform: translateY(-3px);
}

/* Tablet / Circle Visual */
.to-megamenu-tablet-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

/* Multi-layer Neon Halo Glow */
.to-megamenu-tablet-wrap.to-glow-purple {
  filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.85)) drop-shadow(0 0 45px rgba(147, 51, 234, 0.5));
}

.to-megamenu-tablet-wrap.to-glow-pink {
  filter: drop-shadow(0 0 22px rgba(244, 63, 94, 0.85)) drop-shadow(0 0 45px rgba(225, 29, 72, 0.5));
}

.to-megamenu-tablet-wrap.to-glow-cyan {
  filter: drop-shadow(0 0 22px rgba(6, 182, 212, 0.85)) drop-shadow(0 0 45px rgba(14, 165, 233, 0.5));
}

.to-megamenu-tablet-wrap.to-glow-emerald {
  filter: drop-shadow(0 0 22px rgba(16, 185, 129, 0.85)) drop-shadow(0 0 45px rgba(5, 150, 105, 0.5));
}

.to-megamenu-card:hover .to-megamenu-tablet-wrap {
  transform: scale(1.06);
}

.to-megamenu-card:hover .to-megamenu-tablet-wrap.to-glow-purple {
  filter: drop-shadow(0 0 30px rgba(168, 85, 247, 1)) drop-shadow(0 0 60px rgba(168, 85, 247, 0.65));
}

.to-megamenu-card:hover .to-megamenu-tablet-wrap.to-glow-pink {
  filter: drop-shadow(0 0 30px rgba(244, 63, 94, 1)) drop-shadow(0 0 60px rgba(244, 63, 94, 0.65));
}

.to-megamenu-card:hover .to-megamenu-tablet-wrap.to-glow-cyan {
  filter: drop-shadow(0 0 30px rgba(6, 182, 212, 1)) drop-shadow(0 0 60px rgba(14, 165, 233, 0.65));
}

/* 3D Embossed Tablet Disc */
.to-megamenu-tablet {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.38),
              inset -3px -3px 6px rgba(0, 0, 0, 0.6),
              0 12px 28px rgba(0, 0, 0, 0.75);
}

.to-tablet-purple {
  background: radial-gradient(circle at 35% 35%, #8d5ab8 0%, #633091 60%, #461c6b 100%);
}

.to-tablet-pink {
  background: radial-gradient(circle at 35% 35%, #ea568a 0%, #be205c 60%, #87123d 100%);
}

.to-tablet-cyan {
  background: radial-gradient(circle at 35% 35%, #22d3ee 0%, #0891b2 60%, #0e7490 100%);
}

.to-tablet-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.45) 50%, rgba(255, 255, 255, 0.28) 50%);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.to-tablet-cross {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.to-tablet-cross::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.45) 50%, rgba(255, 255, 255, 0.28) 50%);
}

.to-tablet-cross::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 50%, rgba(255, 255, 255, 0.28) 50%);
}

.to-tablet-stamp {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  padding: 0 10px;
  letter-spacing: -0.01em;
  pointer-events: none;
}

.to-tablet-purple .to-tablet-stamp {
  color: #381256;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.35), 0 -1px 1px rgba(0, 0, 0, 0.65);
}

.to-tablet-pink .to-tablet-stamp {
  color: #5c0b2c;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.35), 0 -1px 1px rgba(0, 0, 0, 0.65);
}

.to-tablet-cyan .to-tablet-stamp {
  color: #083344;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.35), 0 -1px 1px rgba(0, 0, 0, 0.65);
}

.to-tablet-stamp span {
  display: block;
}

.to-tablet-custom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.to-megamenu-card-title {
  display: block;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 5px;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.to-megamenu-card:hover .to-megamenu-card-title {
  color: #f43f5e;
}

.to-megamenu-card-desc {
  display: block;
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

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

.to-menu-toggle {
  display: none;
  background: var(--to-surface);
  border: 1px solid var(--to-border);
  color: var(--to-text);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--to-shadow-sm);
}

/* ==========================================================================
   5. Hero Section (Animated with Mouse Tracking & 3D Tilt)
   ========================================================================== */
.to-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 12% 18%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 88% 75%, rgba(99, 102, 241, 0.06) 0%, transparent 45%),
              var(--to-bg);
  border-bottom: 1px solid var(--to-border);
}

/* Interactive Cursor Spotlight Glow */
.to-hero-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 650px;
  height: 650px;
  margin-left: -325px;
  margin-top: -325px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(5, 150, 105, 0.05) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

.to-hero-ambient-glow {
  position: absolute;
  right: 5%;
  top: 15%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: to-glow-drift 10s ease-in-out infinite alternate;
}

@keyframes to-glow-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.1); }
}

/* ==========================================================================
   Smoky Galaxy Cosmic Hero Animation
   ========================================================================== */
.to-hero--has-galaxy {
  background: #060611 !important;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.to-hero-galaxy {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: var(--to-galaxy-opacity, 0.85);
}

.to-galaxy-parallax-wrap {
  position: absolute;
  inset: -60px;
  will-change: transform;
  transform: translate3d(var(--g-mouse-x, 0px), var(--g-mouse-y, 0px), 0);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.to-galaxy-layer {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform, opacity;
}

/* Layer 1: Base Nebula Drift */
.to-galaxy-base {
  opacity: 0.88;
  filter: saturate(1.2) contrast(1.1);
  animation: toGalaxyDriftBase 32s ease-in-out infinite alternate;
}

/* Layer 2: Cosmic Smoke Dust (Screen blend mode creates glowing volumetric smoke clouds) */
.to-galaxy-dust-1 {
  mix-blend-mode: screen;
  opacity: 0.55;
  filter: hue-rotate(15deg) brightness(1.15) contrast(1.2);
  animation: toGalaxySmokeDrift1 26s ease-in-out infinite alternate;
}

/* Layer 3: Ethereal Floating Nebula Swirl (Color-dodge creates intense glowing nebula highlights) */
.to-galaxy-dust-2 {
  mix-blend-mode: color-dodge;
  opacity: 0.45;
  filter: hue-rotate(-20deg) saturate(1.3) blur(2px);
  animation: toGalaxySmokeDrift2 38s ease-in-out infinite alternate;
}

/* Speed modifiers */
.to-hero[data-galaxy-speed="slow"] .to-galaxy-base { animation-duration: 54s; }
.to-hero[data-galaxy-speed="slow"] .to-galaxy-dust-1 { animation-duration: 45s; }
.to-hero[data-galaxy-speed="slow"] .to-galaxy-dust-2 { animation-duration: 60s; }

.to-hero[data-galaxy-speed="fast"] .to-galaxy-base { animation-duration: 18s; }
.to-hero[data-galaxy-speed="fast"] .to-galaxy-dust-1 { animation-duration: 15s; }
.to-hero[data-galaxy-speed="fast"] .to-galaxy-dust-2 { animation-duration: 22s; }

@keyframes toGalaxyDriftBase {
  0% { transform: scale(1.03) translate(0, 0); }
  50% { transform: scale(1.08) translate(-25px, 15px); }
  100% { transform: scale(1.04) translate(20px, -20px); }
}

@keyframes toGalaxySmokeDrift1 {
  0% { transform: scale(1.12) rotate(0deg) translate(0, 0); }
  50% { transform: scale(1.2) rotate(3deg) translate(30px, -25px); }
  100% { transform: scale(1.15) rotate(-2deg) translate(-20px, 20px); }
}

@keyframes toGalaxySmokeDrift2 {
  0% { transform: scale(1.08) rotate(0deg) translate(0, 0); }
  50% { transform: scale(1.18) rotate(-4deg) translate(-35px, 25px); }
  100% { transform: scale(1.12) rotate(2deg) translate(25px, -15px); }
}

/* Layer 4: Volumetric Cosmic Smoke Atmosphere */
.to-galaxy-clouds {
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle at 25% 35%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 75% 65%, rgba(59, 130, 246, 0.26) 0%, transparent 45%),
              radial-gradient(circle at 80% 25%, rgba(16, 185, 129, 0.24) 0%, transparent 40%),
              radial-gradient(circle at 20% 75%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
  filter: blur(40px);
  mix-blend-mode: screen;
  animation: toCosmicCloudPulse 14s ease-in-out infinite alternate;
}

@keyframes toCosmicCloudPulse {
  0% { opacity: 0.65; transform: scale(1) translate(0, 0); }
  50% { opacity: 0.95; transform: scale(1.08) translate(-15px, 20px); }
  100% { opacity: 0.75; transform: scale(1.04) translate(18px, -15px); }
}

/* Layer 5: Sparkling Starfield */
.to-galaxy-stars {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  pointer-events: none;
}

.to-stars-layer-1 {
  background-image: 
    radial-gradient(1.5px 1.5px at 10% 20%, #ffffff, transparent),
    radial-gradient(1.8px 1.8px at 25% 85%, #93c5fd, transparent),
    radial-gradient(2px 2px at 45% 35%, #ffffff, transparent),
    radial-gradient(1.5px 1.5px at 65% 15%, #c4b5fd, transparent),
    radial-gradient(2.2px 2.2px at 85% 70%, #ffffff, transparent),
    radial-gradient(1.5px 1.5px at 92% 30%, #6ee7b7, transparent);
  background-size: 380px 380px;
  opacity: 0.85;
  animation: toStarTwinkle1 5s ease-in-out infinite alternate;
}

.to-stars-layer-2 {
  background-image: 
    radial-gradient(1px 1px at 15% 55%, #ffffff, transparent),
    radial-gradient(1.5px 1.5px at 35% 15%, #bfdbfe, transparent),
    radial-gradient(1.2px 1.2px at 55% 75%, #ffffff, transparent),
    radial-gradient(1.8px 1.8px at 75% 45%, #fbcfe8, transparent),
    radial-gradient(1.2px 1.2px at 88% 90%, #ffffff, transparent);
  background-size: 260px 260px;
  opacity: 0.7;
  animation: toStarTwinkle2 7s ease-in-out infinite alternate;
}

.to-stars-layer-3 {
  background-image: 
    radial-gradient(0.8px 0.8px at 5% 10%, #ffffff, transparent),
    radial-gradient(1px 1px at 40% 60%, #93c5fd, transparent),
    radial-gradient(0.8px 0.8px at 70% 30%, #ffffff, transparent),
    radial-gradient(1px 1px at 80% 80%, #ffffff, transparent);
  background-size: 160px 160px;
  opacity: 0.5;
  animation: toStarTwinkle1 4s ease-in-out infinite alternate;
}

@keyframes toStarTwinkle1 {
  0% { opacity: 0.55; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1.02); }
}

@keyframes toStarTwinkle2 {
  0% { opacity: 0.85; transform: scale(1.02); }
  100% { opacity: 0.45; transform: scale(0.98); }
}

/* Prominent 4-Point Cross Diffraction Stars (Matching screenshot) */
.to-galaxy-bright-star {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px 3px rgba(191, 219, 254, 0.95), 0 0 25px 6px rgba(96, 165, 250, 0.85);
  animation: toStarCrossPulse 4.5s ease-in-out infinite alternate;
}

.to-galaxy-bright-star::before,
.to-galaxy-bright-star::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  pointer-events: none;
}

.to-galaxy-bright-star::before {
  width: 42px;
  height: 1.5px;
}

.to-galaxy-bright-star::after {
  width: 1.5px;
  height: 42px;
}

.to-bright-star-1 { top: 22%; left: 18%; animation-delay: 0s; }
.to-bright-star-2 { top: 38%; left: 34%; width: 7px; height: 7px; box-shadow: 0 0 14px 4px rgba(147, 197, 253, 1), 0 0 35px 8px rgba(59, 130, 246, 0.9); animation-delay: 1.2s; }
.to-bright-star-2::before { width: 56px; height: 2px; }
.to-bright-star-2::after { width: 2px; height: 56px; }

.to-bright-star-3 { top: 16%; left: 68%; animation-delay: 2.1s; }
.to-bright-star-4 { top: 68%; left: 58%; animation-delay: 0.8s; }
.to-bright-star-5 { top: 78%; left: 82%; animation-delay: 2.7s; }

@keyframes toStarCrossPulse {
  0% { transform: scale(0.85) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.25) rotate(8deg); opacity: 1; }
  100% { transform: scale(0.9) rotate(-5deg); opacity: 0.75; }
}

/* Layer 6: Soft Vignette & Blend */
.to-galaxy-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(6, 6, 17, 0.4) 80%, rgba(6, 6, 17, 0.85) 100%),
              linear-gradient(to bottom, rgba(6, 6, 17, 0.25) 0%, transparent 25%, transparent 70%, rgba(6, 6, 17, 0.85) 100%);
  pointer-events: none;
}

/* Typography & Elements on .to-hero--has-galaxy */
.to-hero--has-galaxy h1 {
  color: #ffffff !important;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.75);
}

.to-hero--has-galaxy h1 .to-accent {
  color: #34d399 !important;
  text-shadow: 0 0 30px rgba(52, 211, 153, 0.55), 0 4px 20px rgba(0,0,0,0.6);
}

.to-hero--has-galaxy .to-hero-desc {
  color: #e2e8f0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.to-hero--has-galaxy .to-hero-note {
  color: #94a3b8 !important;
}

.to-hero--has-galaxy .to-hero-note .to-dot {
  background: #34d399 !important;
  box-shadow: 0 0 10px #34d399;
}

.to-hero--has-galaxy .to-badge-pill {
  background: rgba(16, 185, 129, 0.22) !important;
  border-color: rgba(52, 211, 153, 0.45) !important;
  color: #6ee7b7 !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.to-hero--has-galaxy .to-hero-stat-pill {
  background: rgba(15, 23, 42, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #f1f5f9 !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.to-hero--has-galaxy .to-hero-stat-pill strong {
  color: #ffffff !important;
}

.to-hero--has-galaxy .to-button--outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px);
}

.to-hero--has-galaxy .to-button--outline:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #ffffff !important;
}

.to-hero--has-galaxy .to-hero-coa-link {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
  color: #a7f3d0 !important;
  backdrop-filter: blur(12px);
}

.to-hero--has-galaxy .to-hero-coa-link:hover {
  background: rgba(52, 211, 153, 0.25) !important;
  color: #ffffff !important;
}

.to-hero--has-galaxy .to-floating-pill {
  background: rgba(15, 23, 42, 0.8) !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
  color: #f8fafc !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(52, 211, 153, 0.2);
}

.to-hero--has-galaxy .to-floating-pill strong {
  color: #34d399 !important;
}

.to-hero--has-galaxy .to-hero-showcase-card {
  background: rgba(15, 23, 42, 0.78) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.75), 0 0 40px rgba(99, 102, 241, 0.18) !important;
  backdrop-filter: blur(20px);
}

.to-hero--has-galaxy .to-showcase-brand {
  color: #ffffff !important;
}

.to-hero--has-galaxy .to-showcase-glass-header {
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

.to-hero--has-galaxy .to-showcase-side {
  background: rgba(30, 41, 59, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.to-hero--has-galaxy .to-side-label {
  background: rgba(15, 23, 42, 0.85) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.to-hero--has-galaxy .to-showcase-card-footer {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

.to-hero--has-galaxy .to-showcase-meta strong {
  color: #ffffff !important;
}

.to-hero--has-galaxy .to-showcase-meta span {
  color: #94a3b8 !important;
}

.to-hero--has-galaxy .to-showcase-link-btn {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

.to-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding-top: 80px;
  padding-bottom: 90px;
  position: relative;
  z-index: 2;
}

.to-hero-copy {
  max-width: 620px;
}

.to-hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 900;
  color: var(--to-text);
  margin: 20px 0 22px;
}

.to-hero h1 .to-accent {
  color: var(--to-primary);
  display: inline;
}

.to-hero-desc {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--to-text-secondary);
  margin: 0 0 32px;
  max-width: 540px;
}

.to-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.to-hero-coa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--to-primary);
  padding: 10px 16px;
  border-radius: var(--to-radius-full);
  background: var(--to-primary-light);
  border: 1px solid rgba(5, 150, 105, 0.2);
  transition: all 0.2s var(--to-ease);
}

.to-hero-coa-link:hover {
  background: #d1fae5;
  transform: translateY(-2px);
}

.to-check-icon {
  font-weight: 900;
}

.to-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--to-muted);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.to-hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid var(--to-border);
}

.to-hero-stat-pill strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--to-text);
  line-height: 1.1;
}

.to-hero-stat-pill span {
  font-size: 0.78rem;
  color: var(--to-muted);
  font-weight: 600;
}

/* 3D Parallax & Mouse Cursor Stage */
.to-hero-art {
  position: relative;
  perspective: 1200px;
}

.to-hero-3d-stage {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Floating Parallax Pills */
.to-floating-pill {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--to-radius-full);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0,0,0,0.02);
  pointer-events: none;
  animation: to-float 5s ease-in-out infinite alternate;
  will-change: transform;
}

.to-floating-pill .to-pill-icon {
  font-size: 1.15rem;
}

.to-floating-pill strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--to-text);
  line-height: 1.2;
}

.to-floating-pill small {
  display: block;
  font-size: 0.7rem;
  color: var(--to-muted);
  font-weight: 600;
}

.to-pill-tl {
  top: -24px;
  left: -20px;
  animation-delay: 0s;
}

.to-pill-tr {
  top: 15px;
  right: -25px;
  animation-delay: 1.2s;
}

.to-pill-bl {
  bottom: 25px;
  left: -28px;
  animation-delay: 2.4s;
}

.to-pill-br {
  bottom: -22px;
  right: -15px;
  animation-delay: 3.6s;
}

@keyframes to-float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* Main Dual Product Showcase Card */
.to-hero-showcase-card {
  background: var(--to-surface);
  border: 1px solid var(--to-border);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 30px 65px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  position: relative;
}

.to-showcase-glass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--to-border-light);
}

.to-showcase-brand {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--to-text);
}

.to-showcase-brand span {
  color: var(--to-primary);
}

.to-showcase-images-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.to-showcase-side {
  position: relative;
  background: var(--to-surface-subtle);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--to-border);
  transition: transform 0.3s var(--to-ease);
}

.to-showcase-side:hover {
  transform: translateY(-4px);
}

.to-side-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  color: var(--to-text);
  box-shadow: var(--to-shadow-sm);
}

.to-showcase-main-img {
  width: 100%;
  aspect-ratio: 4/4.5;
  object-fit: cover;
  transition: transform 0.5s var(--to-ease);
}

.to-showcase-side:hover .to-showcase-main-img {
  transform: scale(1.05);
}

.to-showcase-card-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--to-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.to-showcase-meta strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--to-text);
}

.to-showcase-meta span {
  font-size: 0.78rem;
  color: var(--to-muted);
}

.to-showcase-link-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--to-primary);
  color: #fff;
  transition: transform 0.2s, background 0.2s;
}

.to-showcase-link-btn:hover {
  transform: scale(1.1);
  background: var(--to-primary-hover);
}

/* ==========================================
   6. Proof & Features Strip
   ========================================== */
.to-proof-strip {
  padding: 30px 0;
  background: var(--to-surface);
  border-bottom: 1px solid var(--to-border);
}

.to-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.to-proof-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-radius: 16px;
  background: var(--to-surface-subtle);
  border: 1px solid var(--to-border);
}

.to-proof-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.to-proof-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--to-text);
  letter-spacing: -0.01em;
}

.to-proof-item small {
  display: block;
  font-size: 0.78rem;
  color: var(--to-muted);
  font-weight: 550;
}

/* ==========================================
   7. Sections Common Styles
   ========================================== */
.to-section {
  padding: 90px 0;
}

.to-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}

.to-section-head h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 850;
  color: var(--to-text);
  margin: 10px 0 0;
}

.to-section-head p {
  max-width: 500px;
  color: var(--to-text-secondary);
  font-size: 1rem;
  margin: 0;
  line-height: 1.65;
}

/* ==========================================
   8. Collections & Categories
   ========================================== */
.to-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.to-category-card {
  display: flex;
  flex-direction: column;
  background: var(--to-surface);
  border: 1px solid var(--to-border);
  border-radius: var(--to-radius-lg);
  padding: 30px;
  box-shadow: var(--to-shadow-sm);
  transition: transform 0.3s var(--to-ease), box-shadow 0.3s var(--to-ease), border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.to-category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--to-shadow-lg);
  border-color: var(--to-primary);
}

.to-cat-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--to-primary);
  margin-bottom: 18px;
}

.to-cat-art {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--to-surface-subtle);
  margin-bottom: 22px;
}

.to-cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--to-ease);
}

.to-category-card:hover .to-cat-card-img {
  transform: scale(1.05);
}

.to-cat-card-copy h3 {
  font-size: 1.6rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--to-text);
  margin: 0 0 10px;
}

.to-cat-card-copy p {
  color: var(--to-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 18px;
}

.to-cat-card-copy .to-link {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--to-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================
   8.5 About Us Story & Philosophy (#about)
   ========================================== */
#about {
  scroll-margin-top: 90px;
}

.to-about-section {
  position: relative;
  background: linear-gradient(180deg, var(--to-bg) 0%, rgba(241, 245, 249, 0.45) 100%);
  padding: 100px 0;
  border-top: 1px solid var(--to-border);
  border-bottom: 1px solid var(--to-border);
  overflow: hidden;
}

.to-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 68px;
  align-items: center;
}

/* Left Image Column */
.to-about-media-col {
  position: relative;
}

.to-about-image-frame {
  position: relative;
  border-radius: 28px;
  background: var(--to-surface);
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.12);
  transition: transform 0.4s var(--to-ease);
}

.to-about-image-frame:hover {
  transform: translateY(-4px);
}

.to-about-image-frame::before {
  content: '';
  position: absolute;
  inset: -14px;
  background: radial-gradient(circle at 30% 30%, rgba(5, 150, 105, 0.15), transparent 70%);
  border-radius: 38px;
  z-index: -1;
  filter: blur(20px);
}

.to-about-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid var(--to-border);
}

/* Floating Glass Stat Badge */
.to-about-floating-badge {
  position: absolute;
  bottom: -22px;
  right: -16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  z-index: 5;
}

.to-about-badge-icon {
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--to-surface-subtle);
  border: 1px solid var(--to-border);
}

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

.to-about-badge-num {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--to-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.to-about-badge-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--to-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Right Content Column */
.to-about-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.to-about-heading {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 14px 0 20px;
  color: var(--to-text);
}

.to-about-lead {
  font-size: 1.12rem;
  font-weight: 550;
  line-height: 1.65;
  color: var(--to-text);
  margin: 0 0 14px 0;
}

.to-about-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--to-muted);
  margin: 0 0 28px 0;
}

/* Feature Pillars Checkmarks */
.to-about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 32px 0;
  padding: 0;
  list-style: none;
}

.to-about-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--to-text);
}

.to-feature-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--to-primary-soft, rgba(5, 150, 105, 0.12));
  color: var(--to-primary);
  font-size: 0.82rem;
  font-weight: 900;
  flex-shrink: 0;
}

.to-feature-text {
  line-height: 1.4;
}

.to-about-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================
   9. Clean & Beautiful Product Cards (Shop & Featured)
   ========================================== */
.to-product-grid,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products:before,
.woocommerce ul.products:after {
  display: none !important;
}

.to-product-card,
.woocommerce ul.products li.product {
  background: var(--to-surface) !important;
  border: 1px solid var(--to-border) !important;
  border-radius: 20px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  box-shadow: var(--to-shadow-sm);
  transition: transform 0.3s var(--to-ease), box-shadow 0.3s var(--to-ease), border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.to-product-card:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--to-shadow-hover);
  border-color: var(--to-primary) !important;
}

.to-product-badge-wrap {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 5;
}

.to-product-image,
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img {
  width: 100% !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  background: var(--to-surface-subtle);
  margin-bottom: 14px !important;
  transition: transform 0.5s var(--to-ease);
}

.to-product-card:hover .to-prod-img,
.woocommerce ul.products li.product:hover img {
  transform: scale(1.04);
}

.to-product-name,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--to-text) !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  line-height: 1.35 !important;
}

.to-product-name a {
  color: inherit;
}

.to-card-specs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  flex-grow: 1;
}

.to-spec-tag {
  font-size: 0.76rem;
  color: var(--to-muted);
  font-weight: 600;
}

/* Hide Default WooCommerce Prices and Add to Cart */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product form.cart,
.woocommerce .quantity,
.woocommerce a.button.add_to_cart_button {
  display: none !important;
}

/* Hide Default WooCommerce Sorting Dropdown from Shop Page */
.woocommerce-ordering,
.woocommerce .woocommerce-ordering,
form.woocommerce-ordering,
select.orderby {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

/* Clean WooCommerce Result Count & Header Action */
.woocommerce-result-count,
.woocommerce .woocommerce-result-count {
  float: none !important;
  margin: 0 0 20px !important;
  font-size: 0.92rem;
  color: var(--to-muted);
  font-weight: 600;
  clear: both !important;
}

.timeout-catalog-header-action {
  margin-bottom: 20px;
}

/* Hide Duplicate Page Title inside WooCommerce Content Loop */
.woocommerce-products-header .page-title,
.woocommerce-products-header__title {
  display: none !important;
}

/* ==========================================
   10. TWO Action Buttons (Shop & Featured Cards)
   ========================================== */
.to-product-card-actions,
.to-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--to-border-light);
}

.to-btn-view,
.to-card-btn--view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 12px;
  background: var(--to-surface-subtle);
  color: var(--to-text) !important;
  border: 1px solid var(--to-border);
  border-radius: var(--to-radius-full);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.1;
  transition: all 0.2s var(--to-ease);
  cursor: pointer;
  text-align: center;
}

.to-btn-view:hover,
.to-card-btn--view:hover {
  background: var(--to-surface);
  border-color: var(--to-primary);
  color: var(--to-primary) !important;
  box-shadow: var(--to-shadow-sm);
}

.to-btn-contact,
.to-card-btn--contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 12px;
  background: var(--to-primary);
  color: #fff !important;
  border: 1px solid transparent;
  border-radius: var(--to-radius-full);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.1;
  transition: all 0.2s var(--to-ease);
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.2);
}

.to-btn-contact:hover,
.to-card-btn--contact:hover {
  background: var(--to-primary-hover);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
  transform: translateY(-1px);
}

/* ==========================================
   11. Shop Catalog Page Head & Category Nav
   ========================================== */
.to-page-head {
  padding: 60px 0 35px;
  background: var(--to-surface);
  border-bottom: 1px solid var(--to-border);
}

.to-shop-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--to-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.to-page-head h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--to-text);
  margin: 0 0 14px;
}

.to-page-head p {
  color: var(--to-text-secondary);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 0 24px;
}

.to-shop-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.to-cat-pill {
  padding: 8px 18px;
  border-radius: var(--to-radius-full);
  background: var(--to-surface-subtle);
  border: 1px solid var(--to-border);
  color: var(--to-text);
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.2s;
}

.to-cat-pill:hover,
.to-cat-pill.is-active {
  background: var(--to-primary);
  color: #fff;
  border-color: var(--to-primary);
}

.to-cat-pill--coa {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.to-cat-pill--coa:hover {
  background: var(--to-primary);
  border-color: var(--to-primary);
}

.to-content {
  padding: 60px 0 90px;
}

/* ==========================================
   12. Dedicated Certificates of Analysis (COA) Directory
   ========================================== */
.to-coa-page {
  background: var(--to-bg);
}

.to-coa-hero {
  padding: 70px 0 40px;
  background: var(--to-surface);
  border-bottom: 1px solid var(--to-border);
  text-align: center;
}

.to-coa-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--to-primary-light);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--to-radius-full);
  color: var(--to-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.to-coa-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--to-text);
  margin: 0 0 16px;
}

.to-coa-hero-desc {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 1.08rem;
  color: var(--to-text-secondary);
  line-height: 1.7;
}

.to-coa-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--to-border-light);
}

.to-coa-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.to-trust-check {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  font-weight: 900;
  font-size: 0.95rem;
}

.to-coa-trust-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--to-text);
  line-height: 1.2;
}

.to-coa-trust-item small {
  font-size: 0.76rem;
  color: var(--to-muted);
}

/* COA Toolbar: Filter & Live Search */
.to-coa-toolbar-section {
  padding: 24px 0;
  background: var(--to-surface);
  border-bottom: 1px solid var(--to-border);
}

.to-coa-toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.to-coa-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.to-coa-filter-btn {
  padding: 9px 18px;
  border-radius: var(--to-radius-full);
  background: var(--to-surface-subtle);
  border: 1px solid var(--to-border);
  color: var(--to-text);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.to-coa-filter-btn:hover,
.to-coa-filter-btn.is-active {
  background: var(--to-primary);
  color: #fff;
  border-color: var(--to-primary);
}

.to-filter-count {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  font-size: 0.72rem;
  margin-left: 4px;
}

.to-coa-filter-btn.is-active .to-filter-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.to-coa-search-wrap {
  position: relative;
  min-width: 320px;
}

.to-coa-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--to-muted);
  pointer-events: none;
}

.to-coa-search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border: 1px solid var(--to-border);
  border-radius: var(--to-radius-full);
  background: var(--to-surface);
  color: var(--to-text);
  font-size: 0.88rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.to-coa-search-input:focus {
  border-color: var(--to-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
  outline: none;
}

/* COA Grid & Cards */
.to-coa-grid-section {
  padding: 60px 0 90px;
}

.to-coa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.to-coa-card {
  background: var(--to-surface);
  border: 1px solid var(--to-border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--to-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--to-ease), box-shadow 0.25s, border-color 0.25s;
}

.to-coa-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--to-shadow-lg);
  border-color: var(--to-primary);
}

.to-coa-card-top {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.to-coa-thumb-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: var(--to-surface-subtle);
  aspect-ratio: 1/1;
  display: block;
}

.to-coa-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.to-coa-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--to-muted);
}

.to-coa-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.to-coa-card-title {
  font-size: 1.22rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--to-text);
  margin: 0 0 12px;
  line-height: 1.3;
}

.to-coa-specs-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.to-coa-spec {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.82rem;
}

.to-coa-spec-label {
  color: var(--to-muted);
  font-weight: 600;
  min-width: 90px;
}

.to-coa-spec-val {
  color: var(--to-text);
  font-weight: 700;
}

.to-coa-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--to-border-light);
}

.to-card-btn--coa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--to-primary);
  color: #fff !important;
  border: 1px solid transparent;
  border-radius: var(--to-radius-full);
  font-size: 0.85rem;
  font-weight: 750;
  line-height: 1.1;
  cursor: pointer;
  transition: all 0.2s var(--to-ease);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.to-card-btn--coa:hover {
  background: var(--to-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}

.to-card-btn--request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--to-surface);
  color: var(--to-text) !important;
  border: 1.5px solid var(--to-border);
  border-radius: var(--to-radius-full);
  font-size: 0.85rem;
  font-weight: 750;
  line-height: 1.1;
  cursor: pointer;
  transition: all 0.2s var(--to-ease);
  box-shadow: var(--to-shadow-sm);
  text-decoration: none;
}

.to-card-btn--request:hover {
  background: var(--to-primary);
  color: #fff !important;
  border-color: var(--to-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.3);
}

.to-coa-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--to-surface);
  border: 1px solid var(--to-border);
  border-radius: 20px;
}

.to-coa-empty-icon {
  font-size: 2.5rem;
  color: var(--to-muted);
}

.to-coa-empty h3 {
  font-size: 1.4rem;
  color: var(--to-text);
  margin: 12px 0 8px;
}

.to-coa-empty p {
  color: var(--to-muted);
  max-width: 500px;
  margin: 0 auto 20px;
}

.to-coa-bottom-banner {
  padding: 0 0 90px;
}

.to-coa-banner-box {
  background: #0f172a;
  color: #fff;
  border-radius: 28px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.to-coa-banner-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.04em;
  color: #fff;
  margin: 8px 0 10px;
}

.to-coa-banner-box p {
  color: #94a3b8;
  max-width: 540px;
  margin: 0;
}

/* ==========================================
   13. Interactive COA PDF Viewer Modal
   ========================================== */
.to-coa-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.to-coa-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.to-coa-modal-dialog {
  width: 100%;
  max-width: 860px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--to-border);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--to-ease);
}

.to-coa-modal-backdrop.is-open .to-coa-modal-dialog {
  transform: translateY(0) scale(1);
}

.to-coa-modal-header {
  padding: 18px 26px;
  background: #f8fafc;
  border-bottom: 1px solid var(--to-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.to-modal-lab-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.to-lab-logo {
  font-size: 1.6rem;
}

.to-modal-lab-brand strong {
  display: block;
  font-size: 0.96rem;
  color: var(--to-text);
  font-weight: 850;
}

.to-modal-lab-brand small {
  font-size: 0.75rem;
  color: var(--to-muted);
}

.to-coa-modal-close {
  background: var(--to-surface);
  border: 1px solid var(--to-border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--to-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.to-coa-modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.to-coa-modal-body {
  padding: 30px;
  max-height: 75vh;
  overflow-y: auto;
}

.to-coa-report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 2px dashed var(--to-border);
  margin-bottom: 24px;
}

.to-report-meta-left h2 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--to-text);
  margin: 10px 0 6px;
}

.to-report-stamp {
  font-size: 0.82rem;
  color: var(--to-muted);
  margin: 0;
}

.to-report-batch-pill {
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--to-surface-subtle);
  border: 1px solid var(--to-border);
  margin-bottom: 8px;
  text-align: right;
}

.to-report-batch-pill span {
  display: block;
  font-size: 0.68rem;
  color: var(--to-muted);
  font-weight: 800;
}

.to-report-batch-pill strong {
  display: block;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.95rem;
  color: var(--to-text);
}

.to-report-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 800;
  font-size: 0.82rem;
  border: 1px solid #a7f3d0;
}

.to-coa-report-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.to-coa-panel-box {
  background: #ffffff;
  border: 1px solid var(--to-border);
  border-radius: 16px;
  padding: 20px;
}

.to-coa-panel-box h3 {
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--to-text);
  margin: 0 0 16px;
}

.to-coa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.to-coa-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--to-surface-subtle);
  color: var(--to-muted);
  font-weight: 750;
  font-size: 0.78rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--to-border);
}

.to-coa-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--to-border-light);
  color: var(--to-text-secondary);
}

.to-total-row td {
  background: #f0fdf4;
  font-weight: 800;
  color: #047857;
  border-top: 2px solid #bbf7d0;
}

.to-pill-pass {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.76rem;
  font-weight: 750;
  border: 1px solid #a7f3d0;
}

.to-safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.to-safety-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--to-surface-subtle);
  border: 1px solid var(--to-border);
  border-radius: 12px;
}

.to-safety-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--to-text);
}

.to-safety-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--to-muted);
}

.to-coa-modal-cert-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 2px dashed var(--to-border);
}

.to-cert-sig {
  display: flex;
  align-items: center;
  gap: 14px;
}

.to-sig-stamp {
  padding: 4px 10px;
  border: 2px solid #16a34a;
  border-radius: 6px;
  color: #16a34a;
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  transform: rotate(-4deg);
}

.to-cert-sig strong {
  display: block;
  font-size: 0.88rem;
  color: var(--to-text);
}

.to-cert-sig small {
  font-size: 0.74rem;
  color: var(--to-muted);
}

.to-barcode-font {
  display: block;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  color: var(--to-text);
}

.to-cert-barcode small {
  font-size: 0.7rem;
  color: var(--to-muted);
}

.to-coa-modal-footer {
  padding: 18px 26px;
  background: #f8fafc;
  border-top: 1px solid var(--to-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ==========================================
   14. Quality Section (Homepage)
   ========================================== */
.to-quality-section {
  background: #f1f5f9;
  border-bottom: 1px solid var(--to-border);
}

.to-quality-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 60px;
  align-items: center;
}

.to-quality-actions {
  margin-top: 24px;
}

.to-quality-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.to-quality-card {
  background: #ffffff;
  border: 1px solid var(--to-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--to-shadow-sm);
  transition: transform 0.25s var(--to-ease);
}

.to-quality-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--to-shadow-md);
  border-color: var(--to-primary);
}

.to-quality-symbol {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 10px;
}

.to-quality-card h3 {
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--to-text);
  margin: 0 0 8px;
}

.to-quality-card p {
  font-size: 0.86rem;
  color: var(--to-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================
   15. Wholesale CTA Banner
   ========================================== */
.to-cta-section {
  padding: 80px 0;
}

.to-wholesale-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #0f172a;
  color: #fff;
  border-radius: 28px;
  padding: 56px;
  box-shadow: var(--to-shadow-lg);
}

.to-wholesale-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: #fff;
  margin: 10px 0 14px;
}

.to-wholesale-copy p {
  color: #94a3b8;
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 580px;
  margin: 0;
}

.to-wholesale-action-wrap {
  flex-shrink: 0;
}

/* ==========================================
   16. Single Product COA Box
   ========================================== */
.to-coa-panel {
  margin: 36px 0;
  padding: 28px;
  border: 1px solid var(--to-border);
  border-radius: 22px;
  background: var(--to-surface);
  box-shadow: var(--to-shadow-sm);
}

.to-coa-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.to-coa-panel h2 {
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--to-text);
  margin: 0;
}

.to-coa-panel p {
  color: var(--to-text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 20px;
}

.to-coa-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.to-coa-meta-item {
  padding: 12px 16px;
  background: var(--to-surface-subtle);
  border: 1px solid var(--to-border);
  border-radius: 12px;
}

.to-coa-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--to-muted);
  margin-bottom: 4px;
  font-weight: 700;
}

.to-coa-val {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--to-text);
}

.to-coa-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.timeout-single-contact-wrap {
  margin: 24px 0;
}

.timeout-single-pricing-btn {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
}

/* ==========================================
   17. Contact Us Page (Light Clean Theme)
   ========================================== */
.to-contact-page {
  padding: 60px 0 100px;
  background: var(--to-bg);
}

.to-contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.to-contact-badge-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--to-border);
  border-radius: 20px;
  color: var(--to-primary);
  background: var(--to-surface);
  margin-bottom: 20px;
  box-shadow: var(--to-shadow-sm);
}

.to-contact-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--to-text);
  margin: 0 0 14px;
}

.to-contact-sub {
  max-width: 650px;
  margin: 0 auto;
  color: var(--to-text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

.to-contact-main-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: start;
}

.to-contact-info-card {
  background: var(--to-surface);
  border: 1px solid var(--to-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--to-shadow-sm);
}

.to-contact-info-card h2 {
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--to-text);
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--to-border-light);
}

.to-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.to-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--to-primary-light);
  color: var(--to-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.to-info-content strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--to-text);
  margin-bottom: 4px;
}

.to-info-val {
  font-size: 0.88rem;
  color: var(--to-text-secondary);
  line-height: 1.5;
}

.to-info-val a:hover {
  color: var(--to-primary);
}

/* Contact Form Card */
.to-contact-form-card {
  background: var(--to-surface);
  border: 1px solid var(--to-border);
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: var(--to-shadow-sm);
}

.to-form-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--to-border-light);
}

/* Anti-Spam Honeypot Field (Invisible to human visitors, traps spam bots) */
.to-honeypot-wrap {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Selected Product Price Inquiry Alert Banner */
.to-inquiry-target-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--to-primary-light);
  border: 1.5px solid rgba(5, 150, 105, 0.3);
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.08);
}

.to-inquiry-target-banner .to-target-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.to-inquiry-target-banner small {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--to-primary);
  margin-bottom: 2px;
}

.to-inquiry-target-banner strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--to-text);
  line-height: 1.25;
}

.to-form-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--to-primary-light);
  color: var(--to-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.to-form-card-header h2 {
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--to-text);
  margin: 0;
}

.to-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.to-field {
  margin-bottom: 20px;
}

.to-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--to-text);
  margin-bottom: 8px;
}

.to-field label small {
  font-weight: 500;
  text-transform: none;
  color: var(--to-muted);
}

.to-req {
  color: #ef4444;
  font-weight: 900;
  margin-left: 2px;
}

/* All inputs (text, email, tel, number, un-typed) */
.to-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
.to-field select,
.to-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--to-border);
  border-radius: 12px;
  background: var(--to-surface);
  color: var(--to-text);
  font-size: 0.94rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.to-field input:focus,
.to-field select:focus,
.to-field textarea:focus {
  border-color: var(--to-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
  outline: none;
}

.to-field textarea {
  resize: vertical;
  min-height: 120px;
}

/* Company Type Chips */
.to-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.to-chip-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: var(--to-surface-subtle);
  border: 1.5px solid var(--to-border);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--to-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.to-chip-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.to-chip-label.is-active,
.to-chip-label:hover,
.to-chip-label:has(input:checked) {
  background: var(--to-primary-light);
  border-color: var(--to-primary);
  color: var(--to-primary);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.12);
}

/* Attachments Upload Dropzone */
.to-upload-dropzone {
  position: relative;
  border: 2px dashed var(--to-border);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  background: var(--to-surface-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
}

.to-upload-dropzone:hover,
.to-upload-dropzone.is-dragover {
  border-color: var(--to-primary);
  background: var(--to-primary-light);
}

.to-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

.to-upload-icon {
  color: var(--to-primary);
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}

.to-upload-dropzone:hover .to-upload-icon {
  transform: translateY(-3px);
}

.to-upload-title {
  font-size: 0.94rem;
  color: var(--to-text);
  margin: 0 0 4px;
}

.to-upload-title strong {
  color: var(--to-primary);
  text-decoration: underline;
}

.to-upload-hint {
  font-size: 0.8rem;
  color: var(--to-muted);
  margin: 0;
}

.to-file-list {
  margin-top: 10px;
}

.to-selected-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.to-file-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--to-surface);
  border: 1px solid var(--to-border);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--to-text);
  box-shadow: var(--to-shadow-sm);
}

/* Security CAPTCHA Box */
.to-captcha-container {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--to-surface-subtle);
  padding: 12px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--to-border);
}

.to-captcha-challenge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--to-text);
}

.to-captcha-badge {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--to-primary);
  background: var(--to-primary-light);
  padding: 4px 10px;
  border-radius: 6px;
}

.to-captcha-math-text strong {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--to-primary);
  padding: 0 4px;
}

.to-captcha-refresh-btn {
  background: var(--to-surface);
  border: 1px solid var(--to-border);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s, background 0.2s;
}

.to-captcha-refresh-btn:hover {
  background: var(--to-surface-2);
  transform: rotate(45deg);
}

.to-captcha-refresh-btn.is-spinning {
  animation: to-spin 0.6s linear infinite;
}

@keyframes to-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.to-captcha-container .to-captcha-input {
  max-width: 140px;
  padding: 10px 14px;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  border-radius: 10px;
  border: 1.5px solid var(--to-border);
  background: var(--to-surface);
  color: var(--to-text);
}

.to-captcha-help {
  display: block;
  font-size: 0.78rem;
  color: var(--to-muted);
  margin-top: 6px;
}

/* Privacy Agreement Field */
.to-privacy-field {
  margin: 22px 0;
}

.to-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--to-text-secondary);
  cursor: pointer;
  line-height: 1.5;
}

.to-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--to-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.to-checkbox-label a {
  color: var(--to-primary);
  font-weight: 600;
  text-decoration: underline;
}

.to-privacy-note {
  display: block;
  font-size: 0.76rem;
  color: var(--to-muted);
  margin-top: 4px;
}

/* Submit Row & Button */
.to-form-submit-row {
  margin-top: 26px;
}

.to-contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 14px 28px;
  background: var(--to-primary);
  color: #ffffff !important;
  border: none;
  border-radius: var(--to-radius-full);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s var(--to-ease);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.to-contact-submit-btn:hover {
  background: var(--to-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}

.to-submit-arrow {
  font-size: 1.1rem;
  font-weight: 900;
  transition: transform 0.2s;
}

.to-contact-submit-btn:hover .to-submit-arrow {
  transform: translateX(4px);
}

/* Form Status Messages */
.to-form-status {
  padding: 18px 22px;
  border-radius: 14px;
  margin-bottom: 26px;
  font-size: 0.95rem;
  line-height: 1.5;
  display: none;
  animation: toStatusSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.to-form-status-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.to-status-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.to-status-text {
  flex: 1;
}

.to-status-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 750;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.to-status-text p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  opacity: 0.95;
}

.to-form-status.is-success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #6ee7b7;
  box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.18);
}

.to-form-status.is-success .to-status-icon-wrap {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.to-form-status.is-error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1.5px solid #fca5a5;
  box-shadow: 0 8px 24px -4px rgba(239, 68, 68, 0.15);
}

.to-form-status.is-error .to-status-icon-wrap {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}


/* Bottom Banner: Looking For Products */
.to-contact-bottom-banner {
  margin-top: 80px;
  padding: 60px 0;
  background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%), var(--to-surface);
  border-top: 1px solid var(--to-border);
  border-bottom: 1px solid var(--to-border);
  text-align: center;
}

.to-contact-bottom-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--to-text);
  margin: 0 0 12px;
}

.to-contact-bottom-banner p {
  font-size: 1.05rem;
  color: var(--to-text-secondary);
  max-width: 540px;
  margin: 0 auto 24px;
}

.to-contact-shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  background: var(--to-primary);
  color: #ffffff !important;
  border-radius: var(--to-radius-full);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.25s var(--to-ease);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.2);
}

.to-contact-shop-btn:hover {
  background: var(--to-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
}

/* ==========================================
   18. Footer (Clean Light Styling)
   ========================================== */
.to-footer {
  background: var(--to-surface);
  border-top: 1px solid var(--to-border);
  padding: 70px 0 35px;
  color: var(--to-text-secondary);
}

.to-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.to-footer-brand-col p {
  color: var(--to-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 16px 0;
  max-width: 320px;
}

.to-footer h3 {
  font-size: 0.95rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: var(--to-text);
  margin: 0 0 16px;
}

.to-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.to-footer-links a {
  color: var(--to-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}

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

.to-footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--to-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--to-muted);
}

/* ==========================================
   19. Responsive Media Queries
   ========================================== */
@media (max-width: 1080px) {
  .to-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr);
  }

  .to-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .to-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 50px;
    padding-bottom: 60px;
  }

  .to-category-grid,
  .to-coa-grid {
    grid-template-columns: 1fr;
  }

  .to-quality-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .to-proof-grid {
    grid-template-columns: 1fr;
  }

  .to-contact-main-grid {
    grid-template-columns: 1fr;
  }

  #about {
    scroll-margin-top: 75px;
  }

  .to-about-section {
    padding: 64px 0;
  }

  .to-about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .to-about-floating-badge {
    bottom: -14px;
    right: 10px;
    padding: 10px 16px;
  }

  .to-about-heading {
    font-size: 1.85rem;
  }

  .to-wholesale-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 24px;
  }

  .to-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .to-header-inner {
    min-height: 70px;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .to-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 1;
    min-width: 0;
  }

  /* Make logo visibly bigger in mobile header */
  .to-brand-logo-img,
  .custom-logo {
    height: 52px;
    max-height: 54px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
    object-position: left center;
  }

  .to-brand-mark {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
    flex-shrink: 0;
  }

  .to-brand-word {
    font-size: 1.45rem;
  }

  .to-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  /* Contact for Price button ALWAYS visible in mobile header */
  .to-header .to-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 9999px;
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  .to-menu-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  /* Full Viewport Mobile Menu Drawer with ONLY menu items */
  .to-nav {
    display: none;
    position: fixed;
    top: var(--to-mobile-header-h, 70px);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: calc(100vh - var(--to-mobile-header-h, 70px));
    height: calc(100dvh - var(--to-mobile-header-h, 70px));
    max-height: calc(100vh - var(--to-mobile-header-h, 70px));
    max-height: calc(100dvh - var(--to-mobile-header-h, 70px));
    background: var(--to-surface);
    padding: 20px 18px 60px;
    z-index: 99999;
    border-top: 1px solid var(--to-border);
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.15);
  }

  .to-nav.is-open {
    display: flex !important;
    flex-direction: column !important;
    animation: toDrawerSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  .to-nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .to-nav-list li {
    width: 100%;
    margin: 0;
  }

  .to-nav a,
  .to-nav-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 13px 16px;
    border-radius: 12px;
    width: 100%;
    color: var(--to-text);
    background: var(--to-surface-subtle);
    border: 1px solid var(--to-border);
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .to-nav a:hover,
  .to-nav-list li a:hover,
  .to-nav-list li.current-menu-item > a {
    background: var(--to-primary);
    color: var(--to-primary-contrast);
    border-color: var(--to-primary);
    transform: none;
  }

  .to-nav-list > li.current-menu-item > a::after,
  .to-nav-list > li.current-menu-ancestor > a::after {
    display: none;
  }

  /* Submenu */
  .to-nav-list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    border-left: 2px solid var(--to-primary);
    box-shadow: none;
    background: transparent;
    padding: 6px 0 6px 14px;
    margin: 6px 0 10px 14px;
    border-radius: 0;
    min-width: unset;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .to-nav-list .sub-menu::before {
    display: none;
  }

  .to-nav-list .sub-menu li a {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 14px;
    color: var(--to-text);
    background: var(--to-surface);
  }

  .to-nav-list .sub-menu li a:hover,
  .to-nav-list .sub-menu li.current-menu-item > a {
    background: var(--to-primary-soft, rgba(5, 150, 105, 0.12));
    color: var(--to-primary);
    border-color: var(--to-primary);
  }

  /* Mobile Shop Mega Menu */
  .to-nav-list > li.to-has-megamenu .to-megamenu-caret {
    cursor: pointer;
    font-size: 1.25rem;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, background-color 0.2s ease;
  }

  .to-nav-list > li.to-has-megamenu.to-submenu-open .to-megamenu-caret {
    transform: rotate(180deg);
    background: rgba(225, 29, 72, 0.15);
    color: #e11d48;
  }

  .to-megamenu-dropdown {
    display: none;
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    background: #090d22;
    border-radius: 18px;
    padding: 14px;
    margin: 8px 0 12px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .to-megamenu-dropdown::before {
    display: none;
  }

  .to-nav-list > li.to-has-megamenu.to-submenu-open > .to-megamenu-dropdown {
    display: block;
    animation: toMegaMenuMobileSlide 0.25s ease forwards;
  }

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

  .to-megamenu-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .to-megamenu-hero-card {
    padding: 22px 18px;
    border-radius: 14px;
    min-height: unset;
  }

  .to-megamenu-hero-title {
    font-size: 1.6rem;
    margin-bottom: 6px;
  }

  .to-megamenu-hero-desc {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .to-megamenu-hero-btn {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
    padding: 11px 20px;
    font-size: 0.8rem;
  }

  .to-megamenu-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 12px;
    border-radius: 14px;
  }

  .to-megamenu-tablet-wrap {
    width: 90px;
    height: 90px;
    margin-bottom: 8px;
  }

  .to-megamenu-tablet {
    width: 82px;
    height: 82px;
  }

  .to-tablet-stamp {
    font-size: 0.54rem;
    line-height: 1.15;
    padding: 0 6px;
  }

  .to-megamenu-card-title {
    font-size: 0.82rem;
    margin-bottom: 3px;
  }

  .to-megamenu-card-desc {
    font-size: 0.7rem;
  }

}

@media (max-width: 640px) {
  .to-product-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .to-product-card-actions,
  .to-card-actions {
    grid-template-columns: 1fr;
  }

  .to-coa-card-top {
    grid-template-columns: 1fr;
  }

  .to-coa-card-actions {
    grid-template-columns: 1fr;
  }

  .to-coa-toolbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .to-coa-search-wrap {
    min-width: 100%;
  }

  .to-form-row {
    grid-template-columns: 1fr;
  }

  .to-safety-grid {
    grid-template-columns: 1fr;
  }

  .to-footer-grid {
    grid-template-columns: 1fr;
  }

  .to-pill-tl, .to-pill-tr, .to-pill-bl, .to-pill-br {
    position: static;
    margin-bottom: 8px;
  }

}

@media (max-width: 400px) {
  .to-header-inner {
    gap: 6px;
  }
  .to-brand-logo-img,
  .custom-logo {
    height: 48px;
    max-height: 50px;
    max-width: 140px;
  }
  .to-header .to-button {
    padding: 7px 9px;
    font-size: 0.74rem;
  }
  .to-menu-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }
}

