/*
Theme Name: Hilary Lavender
Theme URI: https://saturnsoft.com/hilary-lavender
Author: Nurudeen Akindele (SaturnSoft)
Author URI: https://saturnsoft.com/
Description: Premium, artisanal, ultra-fast WordPress Full Site Editing (FSE) block theme purpose-built for natural organic soap and artisanal bath products. Features a built-in Three-Path Checkout (WhatsApp, Amazon, Direct Checkout), AI-assisted conversational search, shoppable video reels, multilingual English/German/French support, and zero-install browser testing.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hilary-lavender
Tags: e-commerce, custom-colors, custom-logo, custom-menu, e-commerce, full-site-editing, block-theme, block-patterns, rtl-language-support, translation-ready, accessibility-ready
*/

/* ==========================================================================
   1. Design System Tokens & Fallback CSS Variables
   ========================================================================== */
:root {
  /* Core Brand Palette */
  --hilary-sage: #4A6B5B;
  --hilary-sage-light: #6B8E7D;
  --hilary-sage-dark: #324B3F;
  --hilary-cream: #F7F5F0;
  --hilary-cream-dark: #EAE6DC;
  --hilary-terracotta: #C86D51;
  --hilary-terracotta-hover: #B3583C;
  --hilary-forest: #2C3531;
  --hilary-charcoal: #1A1A1A;
  --hilary-taupe: #E8E3D8;
  --hilary-white: #FFFFFF;
  
  /* Third-Party & Channel Colors */
  --hilary-whatsapp: #25D366;
  --hilary-whatsapp-dark: #1EBE5D;
  --hilary-amazon: #FF9900;
  --hilary-amazon-dark: #E68A00;
  
  /* Typography */
  --hilary-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, serif;
  --hilary-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows & Glassmorphism */
  --hilary-shadow-sm: 0 2px 8px rgba(44, 53, 49, 0.06);
  --hilary-shadow-md: 0 8px 24px rgba(44, 53, 49, 0.08);
  --hilary-shadow-lg: 0 16px 40px rgba(44, 53, 49, 0.12);
  --hilary-glass-bg: rgba(247, 245, 240, 0.88);
  --hilary-glass-border: rgba(255, 255, 255, 0.6);
  
  /* Transitions */
  --hilary-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --hilary-radius-sm: 8px;
  --hilary-radius-md: 14px;
  --hilary-radius-lg: 24px;
  --hilary-radius-full: 9999px;
}

/* Dark Mode / Adaptive Theming Override */
@media (prefers-color-scheme: dark) {
  :root {
    --hilary-cream: #1C2220;
    --hilary-cream-dark: #141817;
    --hilary-forest: #F7F5F0;
    --hilary-charcoal: #EAE6DC;
    --hilary-taupe: #2A3330;
    --hilary-white: #232A27;
    --hilary-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --hilary-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --hilary-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
    --hilary-glass-bg: rgba(28, 34, 32, 0.92);
    --hilary-glass-border: rgba(74, 107, 91, 0.4);
  }
}

/* ==========================================================================
   2. Base Reset & Global Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--hilary-font-body);
  color: var(--hilary-forest);
  background-color: var(--hilary-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
  font-family: var(--hilary-font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--hilary-forest);
  margin-top: 0;
}

a {
  color: var(--hilary-sage);
  text-decoration: none;
  transition: var(--hilary-transition);
}

a:hover {
  color: var(--hilary-terracotta);
}

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

/* Screen Reader Utility (WCAG 2.2 AA) */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ==========================================================================
   3. Custom Block Styles & Micro-Animations
   ========================================================================== */

/* Three-Button Purchase Group Custom Styling */
.hilary-three-button-module {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.hilary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--hilary-radius-full);
  font-family: var(--hilary-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--hilary-transition);
  box-shadow: var(--hilary-shadow-sm);
  text-decoration: none !important;
}

.hilary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--hilary-shadow-md);
}

.hilary-btn:active {
  transform: translateY(0);
}

.hilary-btn-checkout {
  background-color: var(--hilary-sage);
  color: #FFFFFF !important;
}

.hilary-btn-checkout:hover {
  background-color: var(--hilary-sage-dark);
  color: #FFFFFF !important;
}

.hilary-btn-whatsapp {
  background-color: var(--hilary-whatsapp);
  color: #FFFFFF !important;
}

.hilary-btn-whatsapp:hover {
  background-color: var(--hilary-whatsapp-dark);
  color: #FFFFFF !important;
}

.hilary-btn-amazon {
  background-color: var(--hilary-charcoal);
  color: #FFFFFF !important;
  border: 1.5px solid var(--hilary-amazon);
}

.hilary-btn-amazon:hover {
  background-color: #000000;
  border-color: var(--hilary-amazon-dark);
  color: var(--hilary-amazon) !important;
}

/* Sitewide Floating WhatsApp Widget */
.hilary-floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--hilary-whatsapp);
  color: #FFFFFF !important;
  padding: 14px 22px;
  border-radius: var(--hilary-radius-full);
  font-family: var(--hilary-font-heading);
  font-weight: 600;
  box-shadow: var(--hilary-shadow-lg);
  transition: var(--hilary-transition);
  animation: floatPulse 3s infinite ease-in-out;
}

.hilary-floating-whatsapp:hover {
  transform: scale(1.05) translateY(-3px);
  background-color: var(--hilary-whatsapp-dark);
  color: #FFFFFF !important;
  animation: none;
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); box-shadow: 0 20px 30px rgba(37, 211, 102, 0.35); }
}

/* Language Switcher Badge */
.hilary-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hilary-taupe);
  padding: 6px 14px;
  border-radius: var(--hilary-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.hilary-lang-link {
  color: var(--hilary-forest);
  opacity: 0.65;
  padding: 2px 4px;
  transition: var(--hilary-transition);
}

.hilary-lang-link:hover,
.hilary-lang-link.active {
  opacity: 1;
  color: var(--hilary-sage);
  font-weight: 700;
}

/* AI Conversational Search Bar */
.hilary-ai-search-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hilary-ai-search-input {
  width: 100%;
  padding: 14px 48px 14px 20px;
  border-radius: var(--hilary-radius-full);
  border: 1.5px solid var(--hilary-taupe);
  background-color: var(--hilary-white);
  font-family: var(--hilary-font-body);
  font-size: 0.95rem;
  color: var(--hilary-forest);
  transition: var(--hilary-transition);
  box-shadow: var(--hilary-shadow-sm);
}

.hilary-ai-search-input:focus {
  outline: none;
  border-color: var(--hilary-sage);
  box-shadow: 0 0 0 4px rgba(74, 107, 91, 0.15);
}

.hilary-ai-search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--hilary-sage);
  color: #FFFFFF;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--hilary-transition);
}

.hilary-ai-search-btn:hover {
  background: var(--hilary-terracotta);
}

/* Ingredient Transparency Badge Row */
.hilary-ingredient-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  padding: 30px 20px;
  background-color: var(--hilary-white);
  border-radius: var(--hilary-radius-lg);
  box-shadow: var(--hilary-shadow-sm);
  border: 1px solid var(--hilary-taupe);
  margin: 40px 0;
}

.hilary-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.hilary-badge-icon {
  width: 48px;
  height: 48px;
  background-color: var(--hilary-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hilary-sage);
  font-size: 1.4rem;
}

.hilary-badge-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--hilary-forest);
}

/* Product Card Polish */
.wc-block-grid__product,
.hilary-product-card {
  background: var(--hilary-white);
  border-radius: var(--hilary-radius-lg);
  overflow: hidden;
  border: 1px solid var(--hilary-taupe);
  transition: var(--hilary-transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.hilary-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hilary-shadow-lg);
  border-color: var(--hilary-sage-light);
}

.hilary-product-image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--hilary-cream);
}

.hilary-product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Product Recommendation Tag */
.hilary-product-badge,
.hilary-skin-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--hilary-glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hilary-glass-border);
  color: var(--hilary-sage-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--hilary-radius-full);
  z-index: 2;
  box-shadow: var(--hilary-shadow-sm);
}

/* Stock Urgency Indicator */
.hilary-stock-urgency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hilary-terracotta);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 4px;
}

.hilary-stock-urgency::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--hilary-terracotta);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* ==========================================================================
   4. Quick View Modal & Slide-out Mini Cart Styles
   ========================================================================== */
.hilary-quickview-overlay,
.hilary-minicart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.65);
  backdrop-filter: blur(6px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hilary-quickview-overlay.open,
.hilary-minicart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.hilary-quickview-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: 90%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--hilary-white);
  border-radius: var(--hilary-radius-lg);
  box-shadow: var(--hilary-shadow-lg);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px;
}

.hilary-quickview-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.hilary-quickview-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--hilary-cream);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hilary-forest);
  transition: var(--hilary-transition);
  z-index: 10;
}

.hilary-quickview-close:hover {
  background: var(--hilary-terracotta);
  color: #fff;
}

.hilary-qv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hilary-qv-image img {
  width: 100%;
  border-radius: var(--hilary-radius-md);
  aspect-ratio: 1/1;
  object-fit: cover;
}

.hilary-qv-info h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.hilary-qv-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--hilary-terracotta);
  margin-bottom: 16px;
}

/* Slide-out Mini Cart Drawer */
.hilary-minicart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--hilary-white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 10001;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.hilary-minicart-drawer.open {
  right: 0;
}

.hilary-minicart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hilary-taupe);
  font-family: var(--hilary-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

/* AI Search Dropdown Results */
.hilary-ai-summary {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--hilary-sage-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hilary-taupe);
}

.hilary-ai-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
}

.hilary-ai-item {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: var(--hilary-radius-sm);
  transition: var(--hilary-transition);
  background: var(--hilary-cream);
  text-decoration: none !important;
}

.hilary-ai-item:hover {
  background: var(--hilary-taupe);
  transform: translateX(4px);
}

.hilary-ai-item img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.hilary-ai-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--hilary-forest);
}

.hilary-ai-price {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--hilary-terracotta);
}

.hilary-ai-exp {
  font-size: 0.78rem;
  color: var(--hilary-sage-dark);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .hilary-qv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .wp-block-cover__inner-container {
    padding: 20px !important;
  }
  .wp-block-columns {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  .wp-block-column {
    width: 100% !important;
    flex-basis: 100% !important;
  }
  img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .hilary-sticky-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding: 16px 12px !important;
    flex-wrap: wrap !important;
  }
  .hilary-sticky-header > .wp-block-group {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    flex-wrap: wrap !important;
  }
  .hilary-header-actions {
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .wp-block-navigation__responsive-container,
  .wp-block-navigation {
    width: 100% !important;
    justify-content: center !important;
  }
  .wp-block-navigation__container {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
  }
}

/* ==========================================================================
   4.5. UNIVERSAL HIGH-CONTRAST & READABILITY GUARANTEE (HUMAN-READABLE ON ALL DEVICES)
   ========================================================================== */

/* 1. Bulletproof Dark Obsidian (#1A1A1A) on ALL White/Light Background Containers across ALL Devices */
.has-hilary-white-background-color,
.has-hilary-cream-background-color,
.has-white-background-color,
.section-wrap,
.hilary-product-card,
.hilary-card-luxury,
.hilary-bestseller-card,
.hilary-review-card,
.hilary-faq-card,
.hilary-box-spec,
.hilary-spec-box,
.hilary-box-item,
.hilary-badge-item,
.hilary-ingredient-strip,
.hilary-cart-item,
.hilary-checkout-box,
.hilary-cart-table,
[style*="background:#fff"],
[style*="background: #fff"],
[style*="background:#ffffff"],
[style*="background: #ffffff"],
[style*="background:rgb(255, 255, 255)"],
[style*="background: rgb(255, 255, 255)"],
[style*="background:rgba(255, 255, 255"],
[style*="background: rgba(255, 255, 255"],
[style*="background:var(--hilary-white)"],
[style*="background: var(--hilary-white)"],
[style*="background:var(--hilary-cream)"],
[style*="background: var(--hilary-cream)"],
.wp-block-cover__inner-container[style*="background: rgba(255"],
.wp-block-group[style*="background:#fff"],
.wp-block-group[style*="background: #fff"],
.wp-block-group[style*="background:#ffffff"],
.wp-block-group[style*="background: #ffffff"],
.wp-block-group[style*="background:rgb(255, 255, 255)"],
.wp-block-group[style*="background: rgb(255, 255, 255)"],
.wp-block-group[style*="background:rgba(255, 255, 255"],
.wp-block-group[style*="background: rgba(255, 255, 255"] {
  color: #1A1A1A !important;
}

.has-hilary-white-background-color p,
.has-hilary-white-background-color h1,
.has-hilary-white-background-color h2,
.has-hilary-white-background-color h3,
.has-hilary-white-background-color h4,
.has-hilary-white-background-color h5,
.has-hilary-white-background-color h6,
.has-hilary-white-background-color span,
.has-hilary-white-background-color li,
.has-hilary-white-background-color strong,
.has-hilary-white-background-color div,
.has-hilary-white-background-color td,
.has-hilary-white-background-color th,
.has-hilary-white-background-color label,
.has-hilary-cream-background-color p,
.has-hilary-cream-background-color h1,
.has-hilary-cream-background-color h2,
.has-hilary-cream-background-color h3,
.has-hilary-cream-background-color h4,
.has-hilary-cream-background-color h5,
.has-hilary-cream-background-color h6,
.has-hilary-cream-background-color span,
.has-hilary-cream-background-color li,
.has-hilary-cream-background-color strong,
.has-hilary-cream-background-color div,
.has-hilary-cream-background-color td,
.has-hilary-cream-background-color th,
.has-hilary-cream-background-color label,
.has-white-background-color p,
.has-white-background-color h1,
.has-white-background-color h2,
.has-white-background-color h3,
.has-white-background-color h4,
.has-white-background-color h5,
.has-white-background-color h6,
.has-white-background-color span,
.has-white-background-color li,
.has-white-background-color strong,
.section-wrap p,
.section-wrap h1,
.section-wrap h2,
.section-wrap h3,
.section-wrap h4,
.section-wrap h5,
.section-wrap h6,
.section-wrap span,
.section-wrap li,
.section-wrap strong,
.hilary-product-card p,
.hilary-product-card h1,
.hilary-product-card h2,
.hilary-product-card h3,
.hilary-product-card h4,
.hilary-product-card span,
.hilary-product-card li,
.hilary-product-card strong,
.hilary-card-luxury p,
.hilary-card-luxury h1,
.hilary-card-luxury h2,
.hilary-card-luxury h3,
.hilary-card-luxury h4,
.hilary-card-luxury h5,
.hilary-card-luxury h6,
.hilary-card-luxury span,
.hilary-card-luxury li,
.hilary-card-luxury strong,
.hilary-card-luxury div,
.hilary-bestseller-card p,
.hilary-bestseller-card h1,
.hilary-bestseller-card h2,
.hilary-bestseller-card h3,
.hilary-bestseller-card h4,
.hilary-bestseller-card span,
.hilary-bestseller-card li,
.hilary-bestseller-card strong,
.hilary-review-card p,
.hilary-review-card h1,
.hilary-review-card h2,
.hilary-review-card h3,
.hilary-review-card h4,
.hilary-review-card span,
.hilary-review-card li,
.hilary-review-card strong,
.hilary-faq-card p,
.hilary-faq-card h1,
.hilary-faq-card h2,
.hilary-faq-card h3,
.hilary-faq-card h4,
.hilary-faq-card span,
.hilary-faq-card li,
.hilary-faq-card strong,
.hilary-box-spec p,
.hilary-box-spec h1,
.hilary-box-spec h2,
.hilary-box-spec h3,
.hilary-box-spec h4,
.hilary-box-spec span,
.hilary-box-spec li,
.hilary-box-spec strong,
.hilary-cart-item p,
.hilary-cart-item h1,
.hilary-cart-item h2,
.hilary-cart-item h3,
.hilary-cart-item h4,
.hilary-cart-item span,
.hilary-cart-item li,
.hilary-cart-item strong,
.hilary-checkout-box p,
.hilary-checkout-box h1,
.hilary-checkout-box h2,
.hilary-checkout-box h3,
.hilary-checkout-box h4,
.hilary-checkout-box span,
.hilary-checkout-box li,
.hilary-checkout-box strong,
[style*="background:#fff"] p,
[style*="background:#fff"] h1,
[style*="background:#fff"] h2,
[style*="background:#fff"] h3,
[style*="background:#fff"] h4,
[style*="background:#fff"] h5,
[style*="background:#fff"] h6,
[style*="background:#fff"] span,
[style*="background:#fff"] li,
[style*="background:#fff"] strong,
[style*="background:#fff"] div,
[style*="background:#fff"] td,
[style*="background:#fff"] th,
[style*="background:#fff"] label,
[style*="background: #fff"] p,
[style*="background: #fff"] h1,
[style*="background: #fff"] h2,
[style*="background: #fff"] h3,
[style*="background: #fff"] h4,
[style*="background: #fff"] h5,
[style*="background: #fff"] h6,
[style*="background: #fff"] span,
[style*="background: #fff"] li,
[style*="background: #fff"] strong,
[style*="background: #fff"] div,
[style*="background: #fff"] td,
[style*="background: #fff"] th,
[style*="background: #fff"] label,
[style*="background:#ffffff"] p,
[style*="background:#ffffff"] h1,
[style*="background:#ffffff"] h2,
[style*="background:#ffffff"] h3,
[style*="background:#ffffff"] h4,
[style*="background:#ffffff"] h5,
[style*="background:#ffffff"] h6,
[style*="background:#ffffff"] span,
[style*="background:#ffffff"] li,
[style*="background:#ffffff"] strong,
[style*="background:#ffffff"] div,
[style*="background:#ffffff"] td,
[style*="background:#ffffff"] th,
[style*="background:#ffffff"] label,
[style*="background: #ffffff"] p,
[style*="background: #ffffff"] h1,
[style*="background: #ffffff"] h2,
[style*="background: #ffffff"] h3,
[style*="background: #ffffff"] h4,
[style*="background: #ffffff"] h5,
[style*="background: #ffffff"] h6,
[style*="background: #ffffff"] span,
[style*="background: #ffffff"] li,
[style*="background: #ffffff"] strong,
[style*="background: #ffffff"] div,
[style*="background: #ffffff"] td,
[style*="background: #ffffff"] th,
[style*="background: #ffffff"] label,
[style*="background:var(--hilary-white)"] p,
[style*="background:var(--hilary-white)"] h1,
[style*="background:var(--hilary-white)"] h2,
[style*="background:var(--hilary-white)"] h3,
[style*="background:var(--hilary-white)"] h4,
[style*="background:var(--hilary-white)"] h5,
[style*="background:var(--hilary-white)"] h6,
[style*="background:var(--hilary-white)"] span,
[style*="background:var(--hilary-white)"] li,
[style*="background:var(--hilary-white)"] strong,
[style*="background:var(--hilary-white)"] div,
[style*="background: var(--hilary-white)"] p,
[style*="background: var(--hilary-white)"] h1,
[style*="background: var(--hilary-white)"] h2,
[style*="background: var(--hilary-white)"] h3,
[style*="background: var(--hilary-white)"] h4,
[style*="background: var(--hilary-white)"] h5,
[style*="background: var(--hilary-white)"] h6,
[style*="background: var(--hilary-white)"] span,
[style*="background: var(--hilary-white)"] li,
[style*="background: var(--hilary-white)"] strong,
[style*="background: var(--hilary-white)"] div,
.wp-block-group[style*="background:#fff"] p,
.wp-block-group[style*="background:#fff"] h1,
.wp-block-group[style*="background:#fff"] h2,
.wp-block-group[style*="background:#fff"] h3,
.wp-block-group[style*="background:#fff"] h4,
.wp-block-group[style*="background:#fff"] h5,
.wp-block-group[style*="background:#fff"] h6,
.wp-block-group[style*="background:#fff"] span,
.wp-block-group[style*="background:#fff"] li,
.wp-block-group[style*="background: #fff"] p,
.wp-block-group[style*="background: #fff"] h1,
.wp-block-group[style*="background: #fff"] h2,
.wp-block-group[style*="background: #fff"] h3,
.wp-block-group[style*="background: #fff"] h4,
.wp-block-group[style*="background: #fff"] h5,
.wp-block-group[style*="background: #fff"] h6,
.wp-block-group[style*="background: #fff"] span,
.wp-block-group[style*="background: #fff"] li,
.wp-block-group[style*="background:#ffffff"] p,
.wp-block-group[style*="background:#ffffff"] h1,
.wp-block-group[style*="background:#ffffff"] h2,
.wp-block-group[style*="background:#ffffff"] h3,
.wp-block-group[style*="background:#ffffff"] h4,
.wp-block-group[style*="background:#ffffff"] span,
.wp-block-group[style*="background: #ffffff"] p,
.wp-block-group[style*="background: #ffffff"] h1,
.wp-block-group[style*="background: #ffffff"] h2,
.wp-block-group[style*="background: #ffffff"] h3,
.wp-block-group[style*="background: #ffffff"] h4,
.wp-block-group[style*="background: #ffffff"] span,
.wp-block-group[style*="background:rgba(255, 255, 255"] p,
.wp-block-group[style*="background:rgba(255, 255, 255"] h1,
.wp-block-group[style*="background:rgba(255, 255, 255"] h2,
.wp-block-group[style*="background:rgba(255, 255, 255"] h3,
.wp-block-group[style*="background:rgba(255, 255, 255"] h4,
.wp-block-group[style*="background:rgba(255, 255, 255"] span,
.wp-block-group[style*="background: rgba(255, 255, 255"] p,
.wp-block-group[style*="background: rgba(255, 255, 255"] h1,
.wp-block-group[style*="background: rgba(255, 255, 255"] h2,
.wp-block-group[style*="background: rgba(255, 255, 255"] h3,
.wp-block-group[style*="background: rgba(255, 255, 255"] h4,
.wp-block-group[style*="background: rgba(255, 255, 255"] span {
  color: #1A1A1A !important;
}

/* 2. Specific Link Contrast inside White/Light Containers */
.has-hilary-white-background-color a:not(.hilary-btn):not(.wp-block-button__link),
.has-hilary-cream-background-color a:not(.hilary-btn):not(.wp-block-button__link),
.has-white-background-color a:not(.hilary-btn):not(.wp-block-button__link),
.section-wrap a:not(.hilary-btn):not(.wp-block-button__link),
.hilary-card-luxury a:not(.hilary-btn):not(.wp-block-button__link),
[style*="background:#fff"] a:not(.hilary-btn):not(.wp-block-button__link),
[style*="background: #fff"] a:not(.hilary-btn):not(.wp-block-button__link),
[style*="background:#ffffff"] a:not(.hilary-btn):not(.wp-block-button__link),
[style*="background: #ffffff"] a:not(.hilary-btn):not(.wp-block-button__link),
[style*="background:var(--hilary-white)"] a:not(.hilary-btn):not(.wp-block-button__link),
[style*="background: var(--hilary-white)"] a:not(.hilary-btn):not(.wp-block-button__link),
.wp-block-group[style*="background:#fff"] a:not(.hilary-btn):not(.wp-block-button__link),
.wp-block-group[style*="background: #fff"] a:not(.hilary-btn):not(.wp-block-button__link),
.wp-block-group[style*="background:#ffffff"] a:not(.hilary-btn):not(.wp-block-button__link),
.wp-block-group[style*="background: #ffffff"] a:not(.hilary-btn):not(.wp-block-button__link) {
  color: #2C3531 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}

/* 3. Dark Mode Specific Readability Adaptations */
@media (prefers-color-scheme: dark) {
  /* When .has-hilary-white-background-color or .has-hilary-cream-background-color flips to dark slate (#232A27/#1C2220), text MUST be white (#F7F5F0) */
  .has-hilary-white-background-color,
  .has-hilary-cream-background-color {
    color: #F7F5F0 !important;
  }
  .has-hilary-white-background-color p,
  .has-hilary-white-background-color h1,
  .has-hilary-white-background-color h2,
  .has-hilary-white-background-color h3,
  .has-hilary-white-background-color h4,
  .has-hilary-white-background-color h5,
  .has-hilary-white-background-color h6,
  .has-hilary-white-background-color span,
  .has-hilary-white-background-color li,
  .has-hilary-cream-background-color p,
  .has-hilary-cream-background-color h1,
  .has-hilary-cream-background-color h2,
  .has-hilary-cream-background-color h3,
  .has-hilary-cream-background-color h4,
  .has-hilary-cream-background-color h5,
  .has-hilary-cream-background-color h6,
  .has-hilary-cream-background-color span,
  .has-hilary-cream-background-color li {
    color: #F7F5F0 !important;
  }

  /* However, if ANY container or card STILL has hardcoded/inline white background (#fff / #ffffff / var(--hilary-white)) in dark mode, text MUST STAY #1A1A1A so it remains readable! */
  .section-wrap[style*="background:#fff"],
  .section-wrap[style*="background: #fff"],
  .section-wrap[style*="background:#ffffff"],
  .section-wrap[style*="background: #ffffff"],
  .hilary-card-luxury[style*="background:#fff"],
  .hilary-card-luxury[style*="background: #fff"],
  .hilary-card-luxury[style*="background:#ffffff"],
  .hilary-card-luxury[style*="background: #ffffff"],
  .hilary-bestseller-card[style*="background:#fff"],
  .hilary-bestseller-card[style*="background: #fff"],
  .hilary-review-card[style*="background:#fff"],
  .hilary-review-card[style*="background: #fff"],
  .hilary-faq-card[style*="background:#fff"],
  .hilary-faq-card[style*="background: #fff"],
  .hilary-box-spec[style*="background:#fff"],
  .hilary-box-spec[style*="background: #fff"],
  .hilary-cart-item[style*="background:#fff"],
  .hilary-cart-item[style*="background: #fff"],
  .hilary-checkout-box[style*="background:#fff"],
  .hilary-checkout-box[style*="background: #fff"],
  [style*="background:#fff"],
  [style*="background: #fff"],
  [style*="background:#ffffff"],
  [style*="background: #ffffff"],
  [style*="background:rgb(255, 255, 255)"],
  [style*="background: rgb(255, 255, 255)"],
  [style*="background:var(--hilary-white)"],
  [style*="background: var(--hilary-white)"],
  .wp-block-group[style*="background:#fff"],
  .wp-block-group[style*="background: #fff"],
  .wp-block-group[style*="background:#ffffff"],
  .wp-block-group[style*="background: #ffffff"],
  .wp-block-group[style*="background:rgba(255, 255, 255"],
  .wp-block-group[style*="background: rgba(255, 255, 255"] {
    color: #1A1A1A !important;
  }
  .section-wrap[style*="background:#fff"] p,
  .section-wrap[style*="background:#fff"] h1,
  .section-wrap[style*="background:#fff"] h2,
  .section-wrap[style*="background:#fff"] h3,
  .section-wrap[style*="background:#fff"] h4,
  .section-wrap[style*="background:#fff"] span,
  .section-wrap[style*="background: #fff"] p,
  .section-wrap[style*="background: #fff"] h1,
  .section-wrap[style*="background: #fff"] h2,
  .section-wrap[style*="background: #fff"] h3,
  .section-wrap[style*="background: #fff"] h4,
  .section-wrap[style*="background: #fff"] span,
  .hilary-card-luxury[style*="background:#fff"] p,
  .hilary-card-luxury[style*="background:#fff"] h1,
  .hilary-card-luxury[style*="background:#fff"] h2,
  .hilary-card-luxury[style*="background:#fff"] h3,
  .hilary-card-luxury[style*="background:#fff"] h4,
  .hilary-card-luxury[style*="background:#fff"] span,
  .hilary-card-luxury[style*="background:#fff"] li,
  .hilary-card-luxury[style*="background:#fff"] strong,
  .hilary-card-luxury[style*="background:#fff"] div,
  .hilary-card-luxury[style*="background: #fff"] p,
  .hilary-card-luxury[style*="background: #fff"] h1,
  .hilary-card-luxury[style*="background: #fff"] h2,
  .hilary-card-luxury[style*="background: #fff"] h3,
  .hilary-card-luxury[style*="background: #fff"] h4,
  .hilary-card-luxury[style*="background: #fff"] span,
  .hilary-card-luxury[style*="background: #fff"] li,
  .hilary-card-luxury[style*="background: #fff"] strong,
  .hilary-card-luxury[style*="background: #fff"] div,
  .hilary-bestseller-card[style*="background:#fff"] p,
  .hilary-bestseller-card[style*="background:#fff"] h1,
  .hilary-bestseller-card[style*="background:#fff"] h2,
  .hilary-bestseller-card[style*="background:#fff"] h3,
  .hilary-bestseller-card[style*="background:#fff"] span,
  .hilary-review-card[style*="background:#fff"] p,
  .hilary-review-card[style*="background:#fff"] h1,
  .hilary-review-card[style*="background:#fff"] h2,
  .hilary-review-card[style*="background:#fff"] span,
  .hilary-faq-card[style*="background:#fff"] p,
  .hilary-faq-card[style*="background:#fff"] h1,
  .hilary-faq-card[style*="background:#fff"] h2,
  .hilary-faq-card[style*="background:#fff"] span,
  .hilary-box-spec[style*="background:#fff"] p,
  .hilary-box-spec[style*="background:#fff"] h1,
  .hilary-box-spec[style*="background:#fff"] h2,
  .hilary-box-spec[style*="background:#fff"] span,
  .hilary-cart-item[style*="background:#fff"] p,
  .hilary-cart-item[style*="background:#fff"] h1,
  .hilary-cart-item[style*="background:#fff"] span,
  .hilary-checkout-box[style*="background:#fff"] p,
  .hilary-checkout-box[style*="background:#fff"] h1,
  .hilary-checkout-box[style*="background:#fff"] span,
  [style*="background:#fff"] p,
  [style*="background:#fff"] h1,
  [style*="background:#fff"] h2,
  [style*="background:#fff"] h3,
  [style*="background:#fff"] h4,
  [style*="background:#fff"] h5,
  [style*="background:#fff"] h6,
  [style*="background:#fff"] span,
  [style*="background:#fff"] li,
  [style*="background:#fff"] strong,
  [style*="background:#fff"] div,
  [style*="background:#fff"] td,
  [style*="background:#fff"] th,
  [style*="background:#fff"] label,
  [style*="background: #fff"] p,
  [style*="background: #fff"] h1,
  [style*="background: #fff"] h2,
  [style*="background: #fff"] h3,
  [style*="background: #fff"] h4,
  [style*="background: #fff"] h5,
  [style*="background: #fff"] h6,
  [style*="background: #fff"] span,
  [style*="background: #fff"] li,
  [style*="background: #fff"] strong,
  [style*="background: #fff"] div,
  [style*="background: #fff"] td,
  [style*="background: #fff"] th,
  [style*="background: #fff"] label,
  [style*="background:#ffffff"] p,
  [style*="background:#ffffff"] h1,
  [style*="background:#ffffff"] h2,
  [style*="background:#ffffff"] h3,
  [style*="background:#ffffff"] h4,
  [style*="background:#ffffff"] h5,
  [style*="background:#ffffff"] h6,
  [style*="background:#ffffff"] span,
  [style*="background:#ffffff"] li,
  [style*="background:#ffffff"] strong,
  [style*="background:#ffffff"] div,
  [style*="background:#ffffff"] td,
  [style*="background:#ffffff"] th,
  [style*="background:#ffffff"] label,
  [style*="background: #ffffff"] p,
  [style*="background: #ffffff"] h1,
  [style*="background: #ffffff"] h2,
  [style*="background: #ffffff"] h3,
  [style*="background: #ffffff"] h4,
  [style*="background: #ffffff"] h5,
  [style*="background: #ffffff"] h6,
  [style*="background: #ffffff"] span,
  [style*="background: #ffffff"] li,
  [style*="background: #ffffff"] strong,
  [style*="background: #ffffff"] div,
  [style*="background: #ffffff"] td,
  [style*="background: #ffffff"] th,
  [style*="background: #ffffff"] label,
  [style*="background:var(--hilary-white)"] p,
  [style*="background:var(--hilary-white)"] h1,
  [style*="background:var(--hilary-white)"] h2,
  [style*="background:var(--hilary-white)"] h3,
  [style*="background:var(--hilary-white)"] h4,
  [style*="background:var(--hilary-white)"] h5,
  [style*="background:var(--hilary-white)"] h6,
  [style*="background:var(--hilary-white)"] span,
  [style*="background:var(--hilary-white)"] li,
  [style*="background:var(--hilary-white)"] strong,
  [style*="background:var(--hilary-white)"] div,
  [style*="background: var(--hilary-white)"] p,
  [style*="background: var(--hilary-white)"] h1,
  [style*="background: var(--hilary-white)"] h2,
  [style*="background: var(--hilary-white)"] h3,
  [style*="background: var(--hilary-white)"] h4,
  [style*="background: var(--hilary-white)"] h5,
  [style*="background: var(--hilary-white)"] h6,
  [style*="background: var(--hilary-white)"] span,
  [style*="background: var(--hilary-white)"] li,
  [style*="background: var(--hilary-white)"] strong,
  [style*="background: var(--hilary-white)"] div,
  .wp-block-group[style*="background:#fff"] p,
  .wp-block-group[style*="background:#fff"] h1,
  .wp-block-group[style*="background:#fff"] h2,
  .wp-block-group[style*="background:#fff"] h3,
  .wp-block-group[style*="background:#fff"] h4,
  .wp-block-group[style*="background:#fff"] span,
  .wp-block-group[style*="background: #fff"] p,
  .wp-block-group[style*="background: #fff"] h1,
  .wp-block-group[style*="background: #fff"] h2,
  .wp-block-group[style*="background: #fff"] h3,
  .wp-block-group[style*="background: #fff"] h4,
  .wp-block-group[style*="background: #fff"] span,
  .wp-block-group[style*="background:#ffffff"] p,
  .wp-block-group[style*="background:#ffffff"] h1,
  .wp-block-group[style*="background:#ffffff"] h2,
  .wp-block-group[style*="background:#ffffff"] h3,
  .wp-block-group[style*="background:#ffffff"] h4,
  .wp-block-group[style*="background:#ffffff"] span,
  .wp-block-group[style*="background: #ffffff"] p,
  .wp-block-group[style*="background: #ffffff"] h1,
  .wp-block-group[style*="background: #ffffff"] h2,
  .wp-block-group[style*="background: #ffffff"] h3,
  .wp-block-group[style*="background: #ffffff"] h4,
  .wp-block-group[style*="background: #ffffff"] span,
  .wp-block-group[style*="background:rgba(255, 255, 255"] p,
  .wp-block-group[style*="background:rgba(255, 255, 255"] h1,
  .wp-block-group[style*="background:rgba(255, 255, 255"] h2,
  .wp-block-group[style*="background:rgba(255, 255, 255"] span,
  .wp-block-group[style*="background: rgba(255, 255, 255"] p,
  .wp-block-group[style*="background: rgba(255, 255, 255"] h1,
  .wp-block-group[style*="background: rgba(255, 255, 255"] h2,
  .wp-block-group[style*="background: rgba(255, 255, 255"] span {
    color: #1A1A1A !important;
  }
}

/* 4. Sitewide Human-Readable Typography Scaling & Mobile Optimization (WCAG 2.2 AAA Compliant) */
body {
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
}

@media (max-width: 768px) {
  /* Guarantee minimum 16px (1rem) on mobile so no text is squint-inducing */
  body, p, li, span:not(.hilary-cart-count):not(.hilary-action-label), a:not(.hilary-btn):not(.wp-block-button__link) {
    font-size: 1.05rem !important;
    line-height: 1.68 !important;
    letter-spacing: 0.1px !important;
  }

  /* Prevent oversized desktop headings from breaking or wrapping awkwardly on mobile */
  h1, .wp-block-heading[style*="font-size:3.4rem"], .wp-block-heading[style*="font-size: 3.4rem"] {
    font-size: clamp(1.8rem, 6vw, 2.6rem) !important;
    line-height: 1.22 !important;
    word-break: break-word !important;
  }
  h2, .wp-block-heading[style*="font-size:2.8rem"], .wp-block-heading[style*="font-size: 2.8rem"] {
    font-size: clamp(1.45rem, 5vw, 2.1rem) !important;
    line-height: 1.28 !important;
  }
  h3 {
    font-size: clamp(1.25rem, 4.2vw, 1.65rem) !important;
    line-height: 1.35 !important;
  }
  h4 {
    font-size: clamp(1.1rem, 3.8vw, 1.35rem) !important;
    line-height: 1.4 !important;
  }
  
  /* Ensure paragraph badges or micro-copy remain crisp and human-readable on phones */
  .hilary-pill-badge,
  .hilary-product-badge,
  .hilary-stock-urgency {
    font-size: 0.88rem !important;
    padding: 6px 14px !important;
  }

  /* Force clean mobile padding inside sections and cards */
  .section-wrap {
    padding: 24px 16px !important;
  }
  .wp-block-cover__inner-container {
    padding: 20px 14px !important;
  }
}

/* ==========================================================================
   5. WORLD-CLASS LUXURY E-COMMERCE NAVIGATION & MOBILE DRAWER STYLES
   ========================================================================== */

/* Top Trust & Announcement Strip */
.hilary-top-announcement {
  background: var(--hilary-forest);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 10px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hilary-announcement-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hilary-announcement-text {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hilary-announcement-actions .hilary-language-switcher {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: var(--hilary-radius-full);
}

.hilary-announcement-actions .hilary-lang-link {
  color: rgba(255, 255, 255, 0.75);
}

.hilary-announcement-actions .hilary-lang-link.active,
.hilary-announcement-actions .hilary-lang-link:hover {
  color: #FFFFFF;
  font-weight: 700;
}

/* Main Sticky Navigation Header */
.hilary-header-main {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--hilary-cream);
  border-bottom: 1px solid var(--hilary-taupe);
  box-shadow: 0 4px 20px rgba(44, 53, 49, 0.06);
  padding: 14px 32px;
  transition: var(--hilary-transition);
}

.hilary-header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Desktop Primary Navigation Links */
.hilary-nav-desktop {
  flex: 1;
  display: flex;
  align-items: center;
}

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

.hilary-nav-link {
  font-family: var(--hilary-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hilary-forest);
  text-decoration: none !important;
  position: relative;
  padding: 6px 0;
  transition: var(--hilary-transition);
}

.hilary-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hilary-terracotta);
  transition: width 0.25s ease;
}

.hilary-nav-link:hover {
  color: var(--hilary-terracotta);
}

.hilary-nav-link:hover::after {
  width: 100%;
}

/* Center Brand Identity */
.hilary-brand-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hilary-brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
}

.hilary-brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hilary-brand-link:hover .hilary-brand-logo {
  transform: scale(1.08) rotate(5deg);
}

.hilary-brand-text {
  display: flex;
  flex-direction: column;
}

.hilary-brand-title {
  font-family: var(--hilary-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--hilary-forest);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.hilary-brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--hilary-terracotta);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Right Header Actions */
.hilary-header-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.hilary-action-btn {
  background: var(--hilary-white);
  border: 1px solid var(--hilary-taupe);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--hilary-forest);
  cursor: pointer;
  transition: var(--hilary-transition);
  text-decoration: none !important;
}

.hilary-action-btn:hover {
  background: var(--hilary-sage);
  color: #FFFFFF !important;
  border-color: var(--hilary-sage);
  transform: translateY(-2px);
  box-shadow: var(--hilary-shadow-sm);
}

.hilary-cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hilary-sage);
  color: #FFFFFF !important;
  padding: 10px 20px;
  border-radius: var(--hilary-radius-full);
  font-family: var(--hilary-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: var(--hilary-shadow-sm);
  transition: var(--hilary-transition);
}

.hilary-cart-trigger:hover {
  background: var(--hilary-sage-dark);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: var(--hilary-shadow-md);
}

.hilary-cart-count {
  background: #FFFFFF;
  color: var(--hilary-sage);
  padding: 2px 8px;
  border-radius: var(--hilary-radius-full);
  font-size: 0.78rem;
  font-weight: 800;
}

/* Mobile Toggle Hamburger Button */
.hilary-mobile-toggle {
  display: none;
  background: var(--hilary-white);
  border: 1.5px solid var(--hilary-taupe);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--hilary-forest);
  cursor: pointer;
  transition: var(--hilary-transition);
}

.hilary-mobile-toggle:active {
  transform: scale(0.92);
}

/* Mobile Drawer Structure */
.hilary-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  pointer-events: none;
}

.hilary-drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hilary-drawer-panel {
  position: absolute;
  top: 0;
  left: -400px;
  width: 100%;
  max-width: 380px;
  height: 100%;
  background: var(--hilary-cream);
  box-shadow: 15px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.hilary-mobile-drawer.open {
  pointer-events: auto;
}

.hilary-mobile-drawer.open .hilary-drawer-overlay {
  opacity: 1;
}

.hilary-mobile-drawer.open .hilary-drawer-panel {
  left: 0;
}

.hilary-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--hilary-taupe);
  background: var(--hilary-white);
}

.hilary-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hilary-font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--hilary-forest);
}

.hilary-drawer-close {
  background: var(--hilary-cream);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--hilary-forest);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--hilary-transition);
}

.hilary-drawer-nav {
  padding: 24px;
  flex: 1;
}

.hilary-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hilary-drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--hilary-white);
  border-radius: var(--hilary-radius-md);
  font-family: var(--hilary-font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--hilary-forest) !important;
  text-decoration: none !important;
  border: 1px solid var(--hilary-taupe);
  transition: var(--hilary-transition);
}

.hilary-drawer-item:hover,
.hilary-drawer-item:active {
  background: var(--hilary-sage);
  color: #FFFFFF !important;
  border-color: var(--hilary-sage);
  transform: translateX(6px);
}

.hilary-drawer-icon {
  font-size: 1.35rem;
}

.hilary-drawer-divider {
  height: 1px;
  background: var(--hilary-taupe);
  margin: 22px 0;
}

.hilary-drawer-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hilary-drawer-sublist a {
  display: block;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--hilary-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hilary-sage-dark) !important;
  text-decoration: none !important;
}

.hilary-drawer-section-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hilary-terracotta);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hilary-drawer-langs {
  display: flex;
  gap: 10px;
}

.hilary-drawer-lang {
  flex: 1;
  text-align: center;
  padding: 8px;
  background: var(--hilary-white);
  border-radius: var(--hilary-radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--hilary-forest) !important;
  text-decoration: none !important;
  border: 1px solid var(--hilary-taupe);
}

.hilary-drawer-lang.active {
  background: var(--hilary-sage);
  color: #FFFFFF !important;
  border-color: var(--hilary-sage);
}

.hilary-drawer-footer {
  padding: 20px 24px 32px;
  background: var(--hilary-white);
  border-top: 1px solid var(--hilary-taupe);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hilary-drawer-whatsapp-btn {
  display: block;
  text-align: center;
  background: var(--hilary-whatsapp);
  color: #FFFFFF !important;
  padding: 14px;
  border-radius: var(--hilary-radius-full);
  font-family: var(--hilary-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: var(--hilary-shadow-sm);
}

.hilary-drawer-checkout-btn {
  display: block;
  text-align: center;
  background: var(--hilary-forest);
  color: #FFFFFF !important;
  padding: 14px;
  border-radius: var(--hilary-radius-full);
  font-family: var(--hilary-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
}

/* RESPONSIVE BREAKPOINTS (GLOBAL STANDARD E-COMMERCE ADAPTATION) */
@media (max-width: 992px) {
  .hilary-top-announcement {
    padding: 8px 14px;
  }
  .hilary-announcement-actions {
    display: none; /* Keep announcement strip clean on mobile */
  }
  .hilary-nav-desktop {
    display: none !important;
  }
  .hilary-mobile-toggle {
    display: inline-flex !important;
  }
  .hilary-header-container {
    padding: 10px 14px;
    gap: 12px;
  }
  .hilary-brand-center {
    justify-content: center;
    flex: 2;
  }
  .hilary-brand-logo {
    width: 44px;
    height: 44px;
  }
  .hilary-brand-title {
    font-size: 1.15rem;
  }
  .hilary-brand-tagline {
    font-size: 0.65rem;
  }
  .hilary-header-actions {
    flex: 1;
    gap: 8px;
  }
  .hilary-wishlist-btn {
    display: none; /* Move into drawer on small viewports */
  }
  .hilary-cart-trigger {
    padding: 8px 14px;
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .hilary-brand-text {
    display: none; /* On extra small screens show emblem cleanly alongside bag & hamburger */
  }
  .hilary-header-container {
    justify-content: space-between;
  }
}

