/** Shopify CDN: Minification failed

Line 2017:19 Unexpected "{"
Line 2017:28 Expected ":"
Line 2017:35 Unexpected "{"

**/
/**
 * LOWINSKY'S MATCHA - COMPLETE DESIGN SYSTEM
 * Version: 1.0
 * A comprehensive, consistent design system for premium matcha e-commerce
 * Focus: Typography, Colors, Spacing, Components - All Consistent
 */

/* ============================================================================
   1. DESIGN TOKENS - SINGLE SOURCE OF TRUTH
   ============================================================================ */

:root {
  /* Brand Colors */
  --color-matcha-primary: 106, 168, 79;
  --color-matcha-dark: 56, 118, 29;
  --color-matcha-light: 156, 198, 129;

  --color-gold-accent: 191, 152, 89;
  --color-gold-dark: 161, 122, 59;

  --color-cream-bg: 251, 247, 242;
  --color-white: 255, 255, 255;

  --color-text-primary: 45, 45, 45;
  --color-text-secondary: 75, 75, 75;
  --color-text-muted: 120, 120, 120;

  /* Semantic Colors */
  --color-success: 40, 167, 69;
  --color-error: 220, 53, 69;
  --color-warning: 255, 193, 7;

  /* Typography Scale */
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 2rem;        /* 32px */
  --font-size-4xl: 2.5rem;      /* 40px */
  --font-size-5xl: 3rem;        /* 48px */

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-snug: 1.4;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing Scale */
  --space-xs: 0.25rem;    /* 4px */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 6rem;      /* 96px */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 12px 36px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 1000;
  --z-toast: 2000;
}

/* ============================================================================
   2. GLOBAL RESET & BASE STYLES
   ============================================================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: rgb(var(--color-text-primary));
  background: rgb(var(--color-white));
}

/* ============================================================================
   3. TYPOGRAPHY SYSTEM
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: rgb(var(--color-text-primary));
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
  font-weight: var(--font-weight-extrabold);
}

h2 {
  font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
}

h3 {
  font-size: clamp(var(--font-size-xl), 3vw, var(--font-size-3xl));
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

p {
  margin-bottom: var(--space-md);
  line-height: var(--line-height-relaxed);
}

a {
  color: rgb(var(--color-matcha-primary));
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: rgb(var(--color-matcha-dark));
}

/* ============================================================================
   4. BUTTON SYSTEM - CONSISTENT SIZING
   ============================================================================ */

.button,
button[type="submit"],
input[type="submit"],
.shopify-payment-button__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 48px; /* Accessibility standard */
}

/* Primary Button */
.button--primary,
button[type="submit"],
.product-form__submit {
  background: linear-gradient(135deg, rgb(var(--color-matcha-primary)), rgb(var(--color-matcha-dark)));
  color: rgb(var(--color-white));
  box-shadow: var(--shadow-md);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Secondary Button */
.button--secondary {
  background: rgb(var(--color-white));
  color: rgb(var(--color-matcha-primary));
  border: 2px solid rgb(var(--color-matcha-primary));
}

.button--secondary:hover {
  background: rgb(var(--color-matcha-primary));
  color: rgb(var(--color-white));
}

/* Text Button */
.button--tertiary {
  background: transparent;
  color: rgb(var(--color-matcha-primary));
  padding: var(--space-sm) var(--space-md);
}

.button--tertiary:hover {
  background: rgba(var(--color-matcha-primary), 0.1);
}

/* ============================================================================
   5. CARD SYSTEM
   ============================================================================ */

.card {
  background: rgb(var(--color-white));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.card__content {
  padding: var(--space-lg);
}

.card__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
  color: rgb(var(--color-text-primary));
}

.card__text {
  font-size: var(--font-size-base);
  color: rgb(var(--color-text-secondary));
  line-height: var(--line-height-relaxed);
}

/* ============================================================================
   6. HEADER & NAVIGATION - PREMIUM MENU BAR
   ============================================================================ */

/* Header container - elevated design */
.header {
  background: rgb(var(--color-white)) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: var(--z-sticky) !important;
  transition: all var(--transition-base) !important;
  border-bottom: 1px solid rgba(var(--color-text-primary), 0.06) !important;
  padding: var(--space-lg) var(--space-xl) !important;
}

.header:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Header wrapper - better spacing */
.header-wrapper {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: var(--space-2xl) !important;
}

/* Logo Styling - Professional & Clean */
.header__heading {
  margin: 0;
  line-height: 1;
  flex-shrink: 0;
}

.header__heading-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all var(--transition-base);
}

.header__heading-link:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Logo image wrapper */
.header__heading-logo-wrapper {
  display: flex;
  align-items: center;
  max-height: 140px;
  transition: all var(--transition-base);
}

/* Logo image */
.header__heading-logo {
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* If no logo, show shop name with brand styling */
.header__heading .h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-extrabold);
  color: rgb(var(--color-matcha-primary));
  letter-spacing: -0.5px;
  margin: 0;
  background: linear-gradient(135deg,
    rgb(var(--color-matcha-primary)),
    rgb(var(--color-matcha-dark)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================================
   NAVIGATION MENU - REFINED & ELEGANT
   ============================================================================ */

/* Main navigation wrapper */
.header__inline-menu {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

/* Menu list */
.header__menu,
.list-menu {
  display: flex;
  gap: var(--space-xs);
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

/* Menu items - refined spacing */
.header__menu-item {
  position: relative;
}

/* Menu links - premium styling */
.header__menu-item > a,
.header__menu-item > .header__menu-item-link,
.list-menu__item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: rgb(var(--color-text-primary));
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  text-decoration: none;
  letter-spacing: 0.2px;
  position: relative;
}

/* Hover effect - matcha highlight */
.header__menu-item > a:hover,
.header__menu-item > .header__menu-item-link:hover,
.list-menu__item > a:hover {
  background: linear-gradient(135deg,
    rgba(var(--color-matcha-primary), 0.12),
    rgba(var(--color-matcha-primary), 0.08));
  color: rgb(var(--color-matcha-dark));
  transform: translateY(-1px);
}

/* Active menu item - clear indicator */
.header__menu-item.active > a,
.header__menu-item > a.active,
.list-menu__item.active > a {
  background: linear-gradient(135deg,
    rgba(var(--color-matcha-primary), 0.15),
    rgba(var(--color-matcha-primary), 0.1));
  color: rgb(var(--color-matcha-dark));
  font-weight: var(--font-weight-bold);
}

.header__menu-item.active > a::after,
.header__menu-item > a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: rgb(var(--color-matcha-primary));
  border-radius: 2px;
}

/* Dropdown indicators - better visibility */
.header__menu-item details summary,
.header__submenu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header__menu-item details summary::-webkit-details-marker,
.header__submenu summary::-webkit-details-marker {
  display: none;
}

/* Dropdown icon - matcha colored */
.icon-caret,
summary .icon {
  width: 12px;
  height: 12px;
  fill: rgb(var(--color-matcha-primary));
  transition: transform var(--transition-fast);
}

details[open] > summary .icon-caret,
details[open] > summary .icon {
  transform: rotate(180deg);
}

/* Submenu dropdown - elevated card */
.header__submenu,
.mega-menu,
details[open] .header__submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: rgb(var(--color-white));
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: var(--space-sm);
  border: 1px solid rgba(var(--color-text-primary), 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
}

details[open] .header__submenu,
details[open] .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Submenu items */
.header__submenu .list-menu__item a {
  display: flex;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.header__submenu .list-menu__item a:hover {
  background: rgba(var(--color-matcha-primary), 0.08);
  color: rgb(var(--color-matcha-dark));
  padding-left: calc(var(--space-lg) + 6px);
}

/* ============================================================================
   HEADER ICONS - SEARCH, ACCOUNT, CART
   ============================================================================ */

.header__icons {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Icon buttons - refined design */
.header__icon,
.header__search,
.header__icons > a,
.header__icons > details > summary,
a[href="/account"],
a[href="/cart"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: var(--space-sm) !important;
  border-radius: var(--radius-lg) !important;
  color: rgb(var(--color-text-primary)) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  transition: all var(--transition-fast) !important;
  cursor: pointer !important;
  position: relative !important;
  text-decoration: none !important;
  margin: 0 !important;
}

.header__icon:hover,
.header__search:hover,
.header__icons > a:hover,
a[href="/account"]:hover,
a[href="/cart"]:hover {
  background: rgba(var(--color-matcha-primary), 0.1) !important;
  border-color: rgba(var(--color-matcha-primary), 0.2) !important;
  transform: translateY(-2px) !important;
}

/* Icon SVGs */
.header__icon svg,
.header__icons svg,
.icon {
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
  display: block !important;
}

/* Cart link specific */
a[href="/cart"],
.header__icons a[href*="cart"] {
  display: inline-flex !important;
  position: relative !important;
}

/* Cart badge - premium style */
.cart-count-bubble,
#cart-icon-bubble,
span[id*="cart-icon-bubble"] {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  min-width: 20px !important;
  width: auto !important;
  height: 20px !important;
  padding: 0 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg,
    rgb(var(--color-matcha-primary)),
    rgb(var(--color-matcha-dark))) !important;
  color: rgb(var(--color-white)) !important;
  font-size: 11px !important;
  font-weight: var(--font-weight-bold) !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(var(--color-matcha-primary), 0.4) !important;
  line-height: 1 !important;
  border: none !important;
}

/* ============================================================================
   LOCALIZATION - COUNTRY & LANGUAGE SELECTORS
   ============================================================================ */

/* Hide localization in header - only show in footer */
.header__localization,
.header .localization-form,
header .localization-form,
.shopify-section-header .localization-form {
  display: none !important;
}

/* Country/Language selector */
.localization-selector,
.disclosure {
  position: relative;
}

.localization-selector button,
.disclosure__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: rgb(var(--color-text-secondary));
  background: transparent;
  border: 1px solid rgba(var(--color-text-primary), 0.15);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.localization-selector button:hover,
.disclosure__button:hover {
  border-color: rgba(var(--color-matcha-primary), 0.3);
  background: rgba(var(--color-matcha-primary), 0.05);
  color: rgb(var(--color-matcha-dark));
}

/* Localization dropdown */
.localization-selector__list,
.disclosure__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: rgb(var(--color-white));
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: var(--space-sm);
  border: 1px solid rgba(var(--color-text-primary), 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
}

.disclosure[open] .disclosure__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Localization items */
.localization-selector__item,
.disclosure__item {
  display: block;
}

.localization-selector__item a,
.disclosure__item a,
.localization-selector__item button,
.disclosure__item button {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md);
  font-size: var(--font-size-sm);
  color: rgb(var(--color-text-primary));
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  text-decoration: none;
}

.localization-selector__item a:hover,
.disclosure__item a:hover,
.localization-selector__item button:hover,
.disclosure__item button:hover {
  background: rgba(var(--color-matcha-primary), 0.08);
  color: rgb(var(--color-matcha-dark));
}

/* Scrolled header - compact mode */
.scrolled-past-header .header {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  padding: var(--space-md) var(--space-xl) !important;
}

.scrolled-past-header .header-wrapper {
  padding: 0 !important;
}

.scrolled-past-header .header__heading-logo-wrapper {
  max-height: 100px;
}

.scrolled-past-header .header__heading-logo {
  max-height: 100px;
}

/* ============================================================================
   MOBILE HEADER & NAVIGATION
   ============================================================================ */

@media (max-width: 990px) {
  /* Header spacing - tablet */
  .header {
    padding: var(--space-md) var(--space-lg) !important;
  }

  .header-wrapper {
    padding: 0 !important;
    gap: var(--space-lg) !important;
  }

  /* Menu items - tighter spacing */
  .header__menu {
    gap: 4px;
  }

  .header__menu-item > a,
  .header__menu-item > .header__menu-item-link {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
  }

  /* Icons - slightly smaller */
  .header__icon,
  .header__search,
  a[href="/account"],
  a[href="/cart"] {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 749px) {
  /* Header - mobile optimized */
  .header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    padding: var(--space-md) var(--space-lg) !important;
  }

  .header-wrapper {
    padding: 0 !important;
    gap: var(--space-md) !important;
  }

  /* Logo sizing */
  .header__heading-logo-wrapper {
    max-height: 90px;
  }

  .header__heading-logo {
    max-height: 90px;
  }

  .scrolled-past-header .header__heading-logo-wrapper,
  .scrolled-past-header .header__heading-logo {
    max-height: 75px;
  }

  /* Mobile menu - hamburger styling */
  .header__icon--menu {
    order: -1; /* Move to left side */
  }

  /* Hide desktop navigation on mobile */
  .header__inline-menu {
    display: none;
  }

  /* Mobile menu drawer - when implemented */
  .menu-drawer {
    background: rgb(var(--color-white));
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
  }

  .menu-drawer__inner {
    padding: var(--space-xl) var(--space-lg);
  }

  .menu-drawer__menu-item {
    border-bottom: 1px solid rgba(var(--color-text-primary), 0.08);
  }

  .menu-drawer__menu-item a {
    padding: var(--space-lg) 0;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: rgb(var(--color-text-primary));
  }

  .menu-drawer__menu-item a:hover {
    color: rgb(var(--color-matcha-primary));
  }

  /* Mobile icons - better touch targets */
  .header__icons {
    gap: var(--space-xs);
  }

  .header__icon,
  .header__search,
  a[href="/account"],
  a[href="/cart"] {
    width: 44px;
    height: 44px;
  }

  .header__icon svg,
  .icon {
    width: 20px;
    height: 20px;
  }

  /* Cart badge - mobile optimized */
  .cart-count-bubble,
  #cart-icon-bubble {
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    font-size: 10px;
  }
}

/* ============================================================================
   7. ANNOUNCEMENT BAR - SHIPPING CLAIM BANNER
   ============================================================================ */

/* Utility bar wrapper */
.utility-bar {
  background: linear-gradient(135deg,
    rgb(var(--color-matcha-primary)),
    rgb(var(--color-matcha-dark)));
  color: rgb(var(--color-white));
  position: relative;
  overflow: hidden;
}

/* Subtle animated gradient background */
.utility-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent);
  animation: shimmerAcross 3s infinite;
}

@keyframes shimmerAcross {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Announcement bar container */
.announcement-bar {
  position: relative;
  z-index: 1;
  padding: var(--space-sm) var(--space-md);
}

/* Announcement bar message */
.announcement-bar__message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: rgb(var(--color-white));
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Add shipping icon before text */
.announcement-bar__message::before {
  content: '🚚';
  font-size: var(--font-size-lg);
  animation: bounce 2s infinite;
}

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

/* Announcement link styling */
.announcement-bar__link {
  color: rgb(var(--color-white));
  text-decoration: none;
  transition: all var(--transition-fast);
}

.announcement-bar__link:hover {
  opacity: 0.9;
}

.announcement-bar__link:hover .announcement-bar__message {
  transform: translateX(2px);
}

/* Arrow icon in announcement */
.announcement-bar__link .icon-arrow {
  width: 12px;
  height: 12px;
  fill: currentColor;
  margin-left: var(--space-xs);
}

/* Slider buttons for multiple announcements */
.announcement-bar-slider .slider-button {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgb(var(--color-white));
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.announcement-bar-slider .slider-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Multiple shipping claims styling */
.announcement-bar__announcement {
  padding: var(--space-xs) 0;
}

/* Utility bar grid for social/localization */
.utility-bar__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.utility-bar__grid--2-col,
.utility-bar__grid--3-col {
  justify-content: space-between;
}

/* Social icons in announcement bar */
.utility-bar .list-social {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  padding: 0;
  margin: 0;
}

.utility-bar .list-social__link {
  color: rgb(var(--color-white));
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.utility-bar .list-social__link:hover {
  opacity: 1;
}

/* Mobile optimizations */
@media (max-width: 749px) {
  .announcement-bar__message {
    font-size: var(--font-size-xs);
    letter-spacing: 0.3px;
  }

  .announcement-bar__message::before {
    font-size: var(--font-size-base);
  }

  .utility-bar__grid {
    gap: var(--space-md);
  }

  .announcement-bar-slider .slider-button {
    width: 28px;
    height: 28px;
  }
}

/* ============================================================================
   8. HERO/BANNER SECTIONS CONSISTENCY
   ============================================================================ */

.hero-section,
.banner {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-lg);
  background: linear-gradient(135deg, rgba(var(--color-cream-bg), 1), rgba(var(--color-matcha-light), 0.1));
}

.hero-content {
  max-width: 800px;
  text-align: center;
  z-index: var(--z-base);
}

.hero-title {
  font-size: clamp(var(--font-size-3xl), 6vw, var(--font-size-5xl));
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--space-lg);
  color: rgb(var(--color-text-primary));
}

.hero-text {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: rgb(var(--color-text-secondary));
  margin-bottom: var(--space-xl);
}

/* ============================================================================
   9. PRODUCT GRID CONSISTENCY
   ============================================================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-2xl);
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
}

@media (min-width: 750px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3xl);
  }
}

@media (min-width: 990px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl) var(--space-2xl);
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: rgb(var(--color-white));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.product-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: rgba(var(--color-cream-bg), 1);
}

.product-card__content {
  padding: var(--space-lg);
}

.product-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
  color: rgb(var(--color-text-primary));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: rgb(var(--color-matcha-primary));
}

/* ============================================================================
   10. SECTION SPACING CONSISTENCY
   ============================================================================ */

.section {
  padding: var(--space-3xl) var(--space-lg);
}

.section--large {
  padding: var(--space-4xl) var(--space-lg);
}

.section--small {
  padding: var(--space-2xl) var(--space-lg);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__title {
  font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: var(--font-size-lg);
  color: rgb(var(--color-text-secondary));
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================================================
   11. FORM ELEMENTS CONSISTENCY
   ============================================================================ */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: var(--space-md);
  font-size: var(--font-size-base);
  font-family: inherit;
  line-height: var(--line-height-normal);
  color: rgb(var(--color-text-primary));
  background: rgb(var(--color-white));
  border: 2px solid rgba(var(--color-matcha-primary), 0.2);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgb(var(--color-matcha-primary));
  box-shadow: 0 0 0 3px rgba(var(--color-matcha-primary), 0.1);
}

label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: rgb(var(--color-text-primary));
  margin-bottom: var(--space-sm);
}

/* ============================================================================
   12. PRICE DISPLAY CONSISTENCY
   ============================================================================ */

.price {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: rgb(var(--color-matcha-primary));
}

.price--large {
  font-size: var(--font-size-3xl);
}

.price--on-sale .price__regular {
  text-decoration: line-through;
  opacity: 0.6;
  font-size: var(--font-size-lg);
  margin-right: var(--space-sm);
}

.price--on-sale .price__sale {
  color: rgb(var(--color-error));
}

/* ============================================================================
   13. BADGE SYSTEM CONSISTENCY
   ============================================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-md);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
}

.badge--sale {
  background: rgb(var(--color-error));
  color: rgb(var(--color-white));
}

.badge--new {
  background: rgb(var(--color-matcha-primary));
  color: rgb(var(--color-white));
}

.badge--sold-out {
  background: rgb(var(--color-text-muted));
  color: rgb(var(--color-white));
}

/* ============================================================================
   14. FOOTER CONSISTENCY
   ============================================================================ */

.footer {
  background: rgb(var(--color-text-primary));
  color: rgba(var(--color-white), 0.9);
  padding: var(--space-3xl) var(--space-lg) var(--space-xl);
  margin-top: var(--space-4xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2xl);
  max-width: 1400px;
  margin: 0 auto var(--space-2xl);
}

.footer__heading {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: rgb(var(--color-white));
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__link {
  display: block;
  color: rgba(var(--color-white), 0.8);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: rgb(var(--color-matcha-light));
}

.footer__bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(var(--color-white), 0.1);
  font-size: var(--font-size-sm);
  color: rgba(var(--color-white), 0.6);
}

/* ============================================================================
   15. CONTAINER & LAYOUT CONSISTENCY
   ============================================================================ */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1600px;
}

/* ============================================================================
   16. COLLECTION/SHOP PAGE CONSISTENCY
   ============================================================================ */

/* Collection header */
.collection .title-wrapper,
.template-collection .title-wrapper {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  background: linear-gradient(135deg,
    rgba(var(--color-matcha-primary), 0.03),
    rgba(var(--color-cream-bg), 1),
    rgba(var(--color-gold-accent), 0.03));
  margin-bottom: var(--space-2xl);
}

.collection .title,
.template-collection h1 {
  font-size: clamp(var(--font-size-2xl), 5vw, var(--font-size-4xl));
  font-weight: var(--font-weight-extrabold);
  color: rgb(var(--color-text-primary));
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

/* Facets/Filters */
.facets-container,
.facets-wrapper {
  background: rgb(var(--color-white));
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-2xl);
  border: 1px solid rgba(var(--color-matcha-primary), 0.15);
}

.facets__heading {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgb(var(--color-matcha-primary));
  margin-bottom: var(--space-md);
}

/* Filter/Sort selects */
select.select__select,
.facet-filters__sort {
  width: 100%;
  padding: var(--space-md) var(--space-xl) var(--space-md) var(--space-md);
  border: 2px solid rgba(var(--color-matcha-primary), 0.3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: rgb(var(--color-text-primary));
  background: rgb(var(--color-white));
  cursor: pointer;
  transition: all var(--transition-fast);
  appearance: none;
}

select.select__select:focus,
.facet-filters__sort:focus {
  outline: none;
  border-color: rgb(var(--color-matcha-primary));
  box-shadow: 0 0 0 3px rgba(var(--color-matcha-primary), 0.1);
}

/* Collection grid - Larger cards with better spacing */
.collection .grid,
.collection-product-list,
#product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: var(--space-2xl) !important;
  padding: var(--space-3xl) var(--space-lg) !important;
}

@media (min-width: 750px) {
  .collection .grid,
  .collection-product-list,
  #product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-3xl) !important;
  }
}

@media (min-width: 990px) {
  .collection .grid,
  .collection-product-list,
  #product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--space-3xl) var(--space-2xl) !important;
  }
}

@media (min-width: 1200px) {
  .collection .grid,
  .collection-product-list,
  #product-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* ============================================================================
   PREMIUM PRODUCT CARDS - CLEAN & MODERN
   ============================================================================ */

/* Product card wrapper - Clean white background */
.card-wrapper {
  position: relative;
  background: rgb(var(--color-white));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(var(--color-text-primary), 0.06);
}

/* Ensure card itself has no conflicting styles */
.card {
  border-radius: 0 !important;
  overflow: visible;
}

.card-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(var(--color-matcha-primary), 0.2);
}

/* Remove default card styles */
.card--card,
.card--standard .card__inner {
  border: none !important;
  box-shadow: none !important;
}

.card--card:after,
.card--standard .card__inner:after {
  display: none !important;
}

/* Card inner structure */
.card__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Card media/images - Clean & minimal */
.card__media,
.card__inner .media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgb(var(--color-cream-bg));
  border-radius: 0;
}

/* Remove any shape masks on images */
.card--shape .card__media,
.card--shape .media {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  border-radius: 0 !important;
}

.shape--round,
.shape--arch,
.shape--blob {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  border-radius: 0 !important;
}

/* Product image */
.card__media img,
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-wrapper:hover .card__media img,
.card-wrapper:hover .media img {
  transform: scale(1.06);
}

/* Secondary image on hover */
.media--hover-effect img + img {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease;
}

.card-wrapper:hover .media--hover-effect img + img {
  opacity: 1;
}

/* Card content area - Clean spacing */
.card__content,
.card-information,
.card__information {
  padding: var(--space-xl) var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: rgb(var(--color-white));
}

/* Vendor/Brand name */
.card__badge.caption-with-letter-spacing,
.caption-with-letter-spacing {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgb(var(--color-text-muted));
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-xs);
}

/* Product title - Larger & more prominent */
.card__heading,
.card-information__text,
.card__information .card__heading,
.full-unstyled-link {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-snug);
  color: rgb(var(--color-text-primary));
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.card-wrapper:hover .card__heading,
.card-wrapper:hover .card-information__text,
.card-wrapper:hover .full-unstyled-link {
  color: rgb(var(--color-matcha-primary));
}

/* Product description excerpt */
.card__excerpt {
  font-size: var(--font-size-sm);
  color: rgb(var(--color-text-secondary));
  line-height: var(--line-height-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rating stars */
.card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin: var(--space-xs) 0;
}

.rating-star {
  color: rgb(var(--color-gold-accent));
  font-size: var(--font-size-sm);
}

/* Price container - Clean layout */
.card__price,
.price,
.card-information__wrapper .price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-top: auto;
  flex-wrap: wrap;
}

/* Regular price - Bold matcha green & larger */
.price__regular,
.price-item--regular,
.price__sale .price-item--regular {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-extrabold);
  color: rgb(var(--color-matcha-primary));
  line-height: 1;
}

/* Sale pricing */
.price--on-sale .price__regular,
.price--on-sale .price-item--regular {
  text-decoration: line-through;
  opacity: 0.5;
  font-size: var(--font-size-base);
  color: rgb(var(--color-text-muted));
  font-weight: var(--font-weight-normal);
}

.price--on-sale .price__sale,
.price__sale {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-extrabold);
  color: rgb(var(--color-error));
}

/* Sale badge percentage */
.price__badge-sale {
  background: rgb(var(--color-error));
  color: rgb(var(--color-white));
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  margin-left: var(--space-xs);
}

/* Badges - Clean & minimal */
.card__badge,
.badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: var(--z-base);
  padding: var(--space-xs) var(--space-md);
  background: rgb(var(--color-white));
  color: rgb(var(--color-error));
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgb(var(--color-error));
}

.badge--sold-out {
  background: rgba(var(--color-text-primary), 0.9);
  color: rgb(var(--color-white));
  border-color: rgba(var(--color-text-primary), 0.9);
}

/* Quick add button - Clean & modern */
.quick-add {
  padding: 0 var(--space-lg) var(--space-lg);
}

.quick-add__submit,
.product-form__submit {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgb(var(--color-white));
  color: rgb(var(--color-matcha-primary));
  border: 2px solid rgb(var(--color-matcha-primary));
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 44px;
}

.quick-add__submit:hover,
.product-form__submit:hover {
  background: rgb(var(--color-matcha-primary));
  color: rgb(var(--color-white));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--color-matcha-primary), 0.3);
}

/* Card footer area */
.card-information__wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Swatch/variant selector in cards */
.card__swatch {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.card__swatch-item {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(var(--color-text-primary), 0.1);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.card__swatch-item:hover {
  transform: scale(1.1);
  border-color: rgb(var(--color-matcha-primary));
}

/* ============================================================================
   MOBILE PRODUCT CARDS - OPTIMIZED FOR TOUCH & READABILITY
   ============================================================================ */

@media (max-width: 749px) {
  /* Card wrapper - better shadows and spacing */
  .card-wrapper {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(var(--color-text-primary), 0.08);
  }

  .card-wrapper:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  /* Card content - comfortable padding */
  .card__content,
  .card-information,
  .card__information {
    padding: var(--space-lg) var(--space-md);
    gap: var(--space-sm);
  }

  /* Vendor/Brand - keep visible */
  .card__badge.caption-with-letter-spacing,
  .caption-with-letter-spacing {
    font-size: 10px;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
  }

  /* Product title - larger and bolder for mobile */
  .card__heading,
  .card-information__text,
  .card__information .card__heading,
  .full-unstyled-link {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  /* Price - prominent and clear */
  .price__regular,
  .price-item--regular,
  .price__sale .price-item--regular {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.3px;
  }

  /* Sale price */
  .price--on-sale .price__sale,
  .price__sale {
    font-size: var(--font-size-lg);
  }

  /* Badge positioning - better on mobile */
  .card__badge,
  .badge {
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 6px var(--space-sm);
    font-size: 10px;
    letter-spacing: 0.3px;
  }

  /* Quick add button - larger touch target */
  .quick-add {
    padding: 0 var(--space-md) var(--space-md);
  }

  .quick-add__submit,
  .product-form__submit {
    min-height: 48px;
    padding: var(--space-md);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
  }

  /* Card image - maintain quality */
  .card__media,
  .card__inner .media {
    aspect-ratio: 1 / 1;
  }

  /* Product rating on mobile */
  .card__rating {
    margin: 6px 0;
  }

  .rating-star {
    font-size: 13px;
  }
}

/* Quick add button */
.quick-add__submit {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg,
    rgb(var(--color-matcha-primary)),
    rgb(var(--color-matcha-dark)));
  color: rgb(var(--color-white));
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.quick-add__submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-3xl) 0 var(--space-2xl);
  padding: var(--space-lg);
  background: rgb(var(--color-white));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.pagination__item,
.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid rgba(var(--color-matcha-primary), 0.2);
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  color: rgb(var(--color-text-primary));
  background: rgb(var(--color-white));
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.pagination__item:hover,
.pagination__link:hover {
  border-color: rgb(var(--color-matcha-primary));
  background: rgba(var(--color-matcha-primary), 0.05);
  color: rgb(var(--color-matcha-primary));
}

.pagination__item--current {
  background: rgb(var(--color-matcha-primary));
  border-color: rgb(var(--color-matcha-primary));
  color: rgb(var(--color-white));
}

/* ============================================================================
   17. IMAGE BANNER/SLIDESHOW CONSISTENCY
   ============================================================================ */

.banner,
.slideshow {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-3xl);
}

.banner__media,
.slideshow__media {
  position: relative;
  min-height: 400px;
}

.banner__content,
.slideshow__text-wrapper {
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}

.banner__heading,
.slideshow__heading {
  font-size: clamp(var(--font-size-3xl), 6vw, var(--font-size-5xl));
  font-weight: var(--font-weight-extrabold);
  color: rgb(var(--color-white));
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.banner__text {
  font-size: var(--font-size-lg);
  color: rgb(var(--color-white));
  margin-bottom: var(--space-xl);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* ============================================================================
   18. PRODUCT PAGE - PREMIUM LAYOUT & GALLERY
   ============================================================================ */

.product {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
}

/* Product title */
.product__title {
  font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
  font-weight: var(--font-weight-bold);
  color: rgb(var(--color-text-primary));
  margin-bottom: var(--space-md);
  line-height: var(--line-height-tight);
  letter-spacing: -0.5px;
}

/* Product price */
.product__price {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: rgb(var(--color-matcha-primary));
  margin-bottom: var(--space-xl);
}

/* Product description - Clean formatting */
.product__description {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: rgb(var(--color-text-secondary));
  margin-bottom: var(--space-2xl);
}

.product__description p {
  margin-bottom: var(--space-lg);
}

.product__description ul,
.product__description ol {
  margin: var(--space-lg) 0;
  padding-left: var(--space-xl);
}

.product__description li {
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-relaxed);
}

.product__description strong,
.product__description b {
  font-weight: var(--font-weight-bold);
  color: rgb(var(--color-text-primary));
}

/* Info icons/features */
.product__info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: rgba(var(--color-cream-bg), 0.5);
  border-radius: var(--radius-md);
}

.product__info-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: rgb(var(--color-matcha-primary));
}

/* Product media gallery - Enhanced with better thumbnail styling */
media-gallery {
  display: block;
}

/* Mobile: Keep default slider behavior with enhancements */
@media (max-width: 749px) {
  #Slider-Gallery-{{ section.id }} {
    scroll-behavior: smooth;
  }

  /* Style the slider counter */
  .slider-counter {
    background: rgba(var(--color-matcha-primary), 0.9);
    color: rgb(var(--color-white));
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
  }
}

/* Desktop: Enhanced thumbnail gallery styling */
@media (min-width: 750px) {
  /* Thumbnail list - Better styling */
  .thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .thumbnail-list__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
  }

  .thumbnail-list__item .thumbnail {
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
    background: transparent;
  }

  .thumbnail-list__item .thumbnail:hover {
    border-color: rgba(var(--color-matcha-primary), 0.5);
  }

  .thumbnail-list__item button[aria-current="true"] .thumbnail {
    border-color: rgb(var(--color-matcha-primary));
  }

  .thumbnail-list img {
    transition: transform var(--transition-base);
  }

  .thumbnail-list__item:hover img {
    transform: scale(1.05);
  }
}

/* Product images */
.product__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgb(var(--color-cream-bg));
  aspect-ratio: 1 / 1;
}

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

/* Product form */
.product-form {
  margin-bottom: var(--space-2xl);
}

/* Add to cart button */
.product-form__submit {
  width: 100%;
  padding: var(--space-lg) var(--space-2xl);
  background: linear-gradient(135deg,
    rgb(var(--color-matcha-primary)),
    rgb(var(--color-matcha-dark)));
  color: rgb(var(--color-white));
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  min-height: 56px;
}

.product-form__submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.product-form__submit:active {
  transform: translateY(-1px);
}

/* Variant selector */
.product-form__input {
  margin-bottom: var(--space-lg);
}

.product-form__input label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgb(var(--color-text-primary));
  margin-bottom: var(--space-sm);
  display: block;
}

/* Quantity selector */
.quantity {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.quantity__button {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(var(--color-text-primary), 0.2);
  background: rgb(var(--color-white));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quantity__button:hover {
  border-color: rgb(var(--color-matcha-primary));
  background: rgba(var(--color-matcha-primary), 0.05);
}

.quantity__input {
  width: 60px;
  height: 44px;
  text-align: center;
  border: 2px solid rgba(var(--color-text-primary), 0.2);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

/* Product meta info */
.product__meta {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(var(--color-text-primary), 0.1);
}

.product__meta-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
}

.product__meta-label {
  font-weight: var(--font-weight-semibold);
  color: rgb(var(--color-text-primary));
  min-width: 100px;
}

.product__meta-value {
  color: rgb(var(--color-text-secondary));
}

/* Accordion for product details */
.product__accordion {
  margin-top: var(--space-2xl);
}

.product__accordion-item {
  border-bottom: 1px solid rgba(var(--color-text-primary), 0.1);
}

.product__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  cursor: pointer;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: rgb(var(--color-text-primary));
  transition: color var(--transition-fast);
}

.product__accordion-header:hover {
  color: rgb(var(--color-matcha-primary));
}

.product__accordion-content {
  padding-bottom: var(--space-lg);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: rgb(var(--color-text-secondary));
}

/* ============================================================================
   19. CART PAGE CONSISTENCY
   ============================================================================ */

.cart {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
}

.cart__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.cart-item {
  background: rgb(var(--color-white));
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
}

.cart__checkout-button {
  width: 100%;
  padding: var(--space-lg) var(--space-2xl);
  background: linear-gradient(135deg,
    rgb(var(--color-matcha-primary)),
    rgb(var(--color-matcha-dark)));
  color: rgb(var(--color-white));
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  min-height: 56px;
}

.cart__checkout-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ============================================================================
   19. FOOTER - WORLD-CLASS PREMIUM DESIGN
   ============================================================================ */

.footer {
  background: linear-gradient(180deg,
    rgba(var(--color-cream-bg), 0.3) 0%,
    rgb(var(--color-white)) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative elements */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--color-matcha-primary), 0.3),
    transparent);
}

/* Footer top section with balanced spacing */
.footer__content-top {
  padding: var(--space-lg) 0 var(--space-xs);
  position: relative;
}

/* Footer block headings - elegant typography */
.footer-block__heading {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgb(var(--color-text-primary));
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-block__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg,
    rgb(var(--color-matcha-primary)),
    transparent);
}

/* Footer links - refined interaction */
.footer-block__details-content a,
.list-menu__item {
  color: rgb(var(--color-text-secondary));
  text-decoration: none;
  font-size: var(--font-size-sm);
  line-height: 2.2;
  transition: all var(--transition-fast);
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-block__details-content a::before,
.list-menu__item::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all var(--transition-fast);
  color: rgb(var(--color-matcha-primary));
}

.footer-block__details-content a:hover,
.list-menu__item:hover {
  color: rgb(var(--color-matcha-primary));
  padding-left: 20px;
}

.footer-block__details-content a:hover::before,
.list-menu__item:hover::before {
  opacity: 1;
  left: 0;
}

/* ============================================================================
   STUNNING EMAIL OPT-IN - CONVERSION OPTIMIZED
   ============================================================================ */

.footer-block--newsletter {
  margin: 0 auto var(--space-md);
  max-width: 900px;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(135deg,
    #6aa84f 0%,
    #5a9840 50%,
    #38761d 100%);
  border-radius: 24px;
  box-shadow:
    0 20px 60px rgba(106, 168, 79, 0.25),
    0 8px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-block--newsletter:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 80px rgba(106, 168, 79, 0.35),
    0 12px 30px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Animated gradient overlay */
.footer-block--newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%);
  animation: rotateGradient 10s linear infinite;
}

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

/* Decorative elements */
.footer-block--newsletter::after {
  content: '🍵';
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 180px;
  opacity: 0.08;
  transform: rotate(-15deg);
  pointer-events: none;
}

.footer-block__newsletter {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

/* Headline - attention-grabbing */
.footer-block--newsletter .footer-block__heading {
  color: rgb(var(--color-white));
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--font-weight-extrabold);
  text-transform: none;
  letter-spacing: -1px;
  margin-bottom: var(--space-md);
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.footer-block--newsletter .footer-block__heading::after {
  display: none;
}

/* Subheadline - benefit-driven */
.footer__newsletter::before {
  content: '✨ Exclusive matcha recipes, wellness tips & special offers delivered to your inbox!';
  display: block;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: var(--space-2xl);
  font-weight: var(--font-weight-medium);
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Form container */
.footer__newsletter.newsletter-form {
  margin-top: 0;
}

.footer__newsletter .newsletter-form__field-wrapper {
  position: relative;
  max-width: 550px;
  margin: 0 auto;
}

.footer__newsletter .field {
  position: relative;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

/* Premium input field */
.footer__newsletter .field__input {
  width: 100%;
  padding: 20px 180px 20px 28px;
  background: rgb(var(--color-white));
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 17px;
  color: rgb(var(--color-text-primary));
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 64px;
  font-weight: var(--font-weight-medium);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.footer__newsletter .field__input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.25),
    inset 0 2px 4px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

.footer__newsletter .field__input::placeholder {
  color: rgba(var(--color-text-secondary), 0.5);
}

/* Hide default label */
.footer__newsletter .field__label {
  display: none;
}

/* Call-to-action button - irresistible */
.footer__newsletter .newsletter-form__button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: 52px;
  padding: 0 32px;
  background: linear-gradient(135deg,
    rgb(var(--color-matcha-dark)),
    rgb(var(--color-matcha-primary)));
  border: none;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: var(--font-weight-bold);
  font-size: 15px;
  color: rgb(var(--color-white));
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer__newsletter .newsletter-form__button::after {
  content: 'Join Now';
  white-space: nowrap;
}

.footer__newsletter .newsletter-form__button:hover {
  background: linear-gradient(135deg,
    rgb(var(--color-matcha-primary)),
    rgb(var(--color-matcha-dark)));
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.footer__newsletter .newsletter-form__button svg {
  width: 18px;
  height: 18px;
  fill: rgb(var(--color-white));
  order: 2;
}

/* Success message - celebratory */
.footer__newsletter .newsletter-form__message--success {
  color: rgb(var(--color-white));
  background: rgba(255, 255, 255, 0.25);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-xl);
  margin-top: var(--space-xl);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Error message */
.footer__newsletter .newsletter-form__message {
  color: rgba(255, 255, 255, 0.95);
  margin-top: var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

/* Trust indicators (removed by request) */
/* .footer__newsletter::after {
  content: '';
  display: none;
} */

/* Social icons - elegant circles */
.footer__list-social {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-2xl);
}

.footer__list-social li {
  list-style: none;
}

.footer__list-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: rgb(var(--color-white));
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__list-social a:hover {
  background: rgb(var(--color-white));
  color: rgb(var(--color-matcha-primary));
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================================================
   FOOTER BOTTOM - CLEAN & PROFESSIONAL
   ============================================================================ */

.footer__content-bottom {
  background: transparent;
  border-top: 1px solid rgba(var(--color-text-primary), 0.08);
  padding: var(--space-md) 0 var(--space-sm);
}

.footer__content-bottom-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

/* Payment icons - premium presentation */
.footer__payment {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.list-payment {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.list-payment__item {
  opacity: 0.5;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: rgb(var(--color-white));
  border-radius: 6px;
  border: 1px solid rgba(var(--color-text-primary), 0.06);
}

.list-payment__item:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.list-payment__item svg {
  height: 20px;
  width: auto;
}

/* Copyright and policies - refined typography */
.footer__copyright {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
  font-size: 13px;
  color: rgba(var(--color-text-secondary), 0.8);
  line-height: 1.6;
}

.copyright__content {
  display: inline-flex;
  align-items: center;
}

.policies {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.policies li::before {
  content: '•';
  margin-right: var(--space-sm);
  color: rgba(var(--color-text-secondary), 0.4);
}

.policies li:first-child::before {
  display: none;
}

.policies a {
  color: rgb(var(--color-text-secondary));
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: var(--font-weight-medium);
}

.policies a:hover {
  color: rgb(var(--color-matcha-primary));
}

/* Shipping policy highlight block */
.footer-block--shipping-policy {
  background: linear-gradient(135deg,
    rgba(var(--color-matcha-primary), 0.08),
    rgba(var(--color-matcha-primary), 0.03));
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(var(--color-matcha-primary), 0.15);
  position: relative;
  overflow: hidden;
}

.footer-block--shipping-policy::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg,
    rgb(var(--color-matcha-primary)),
    rgb(var(--color-matcha-dark)));
}

.footer-block--shipping-policy .footer-block__heading {
  color: rgb(var(--color-matcha-dark));
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-left: var(--space-sm);
}

.footer-block--shipping-policy .footer-block__heading::before {
  content: '🚚';
  font-size: var(--font-size-2xl);
}

.footer-block--shipping-policy .footer-block__heading::after {
  display: none;
}

/* ============================================================================
   MOBILE RESPONSIVENESS - FOOTER
   ============================================================================ */

@media (max-width: 990px) {
  .footer__content-top {
    padding: var(--space-md) 0 var(--space-xs);
  }

  .footer-block--newsletter {
    padding: clamp(1.5rem, 3vw, 1.75rem);
    border-radius: 20px;
  }

  .footer-block--newsletter .footer-block__heading {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
  }
}

@media (max-width: 749px) {
  .footer__content-top {
    padding: var(--space-md) var(--space-md) var(--space-xs);
  }

  .footer-block--newsletter {
    margin-bottom: var(--space-md);
    padding: var(--space-xl) var(--space-md);
    margin-left: 0;
    margin-right: 0;
  }

  .footer-block--newsletter::after {
    font-size: 100px;
    bottom: -5px;
    right: -5px;
  }

  .footer-block--newsletter .footer-block__heading {
    font-size: clamp(1.5rem, 5vw, 1.75rem);
    margin-bottom: var(--space-sm);
  }

  .footer__newsletter::before {
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
    padding: 0 var(--space-xs);
  }

  .footer__newsletter .newsletter-form__field-wrapper {
    width: 100%;
  }

  .footer__newsletter .field__input {
    padding: 16px 20px;
    font-size: 16px;
    min-height: 52px;
    width: 100%;
  }

  .footer__newsletter .newsletter-form__button {
    position: static;
    width: 100%;
    margin-top: var(--space-sm);
    transform: none !important;
    height: 52px;
    padding: 0 var(--space-lg);
  }

  .footer__newsletter .newsletter-form__button:hover {
    transform: translateY(-2px) !important;
  }

  .footer__newsletter .newsletter-form__button::after {
    content: 'Join Now';
  }

  /* Trust indicator spacing */
  .footer__newsletter::after {
    margin-top: var(--space-sm);
    font-size: 12px;
    padding: 0 var(--space-sm);
  }

  /* Social icons mobile */
  .footer__list-social {
    margin-top: var(--space-lg);
    gap: var(--space-sm);
  }

  .footer__list-social a {
    width: 44px;
    height: 44px;
  }

  /* Bottom section mobile */
  .footer__content-bottom {
    padding: var(--space-md) var(--space-md) var(--space-sm);
  }

  .footer__content-bottom-wrapper {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
    align-items: center;
  }

  .footer__copyright {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
    width: 100%;
  }

  .copyright__content {
    display: block;
    width: 100%;
  }

  .policies {
    flex-direction: column;
    gap: var(--space-xs);
    width: 100%;
    align-items: center;
  }

  .policies li {
    width: 100%;
    text-align: center;
  }

  .policies li::before {
    display: none;
  }

  .policies a {
    display: inline-block;
    padding: var(--space-xs) 0;
  }

  /* Payment icons mobile */
  .footer__payment {
    width: 100%;
    justify-content: center;
  }

  .list-payment {
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .list-payment__item {
    flex: 0 0 auto;
  }

  /* Footer blocks mobile */
  .footer__blocks-wrapper {
    text-align: center;
  }

  .footer-block__heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ============================================================================
   20. MOBILE RESPONSIVENESS - STUNNING MOBILE EXPERIENCE
   ============================================================================ */

@media (max-width: 749px) {
  /* Mobile typography - optimized for readability */
  :root {
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    --font-size-5xl: 2.75rem;     /* 44px */
  }

  /* Header - Clean and accessible */
  .header-wrapper {
    padding: var(--space-md) var(--space-lg);
    min-height: 64px;
  }

  .header__menu {
    gap: var(--space-md);
  }

  /* Logo sizing - maintain prominence */
  .header__heading-logo-wrapper {
    max-height: 56px;
  }

  .header__heading-logo {
    max-height: 56px;
  }

  /* Product grid - generous spacing for better browsing */
  .product-grid,
  .collection .grid,
  .collection-product-list,
  #product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-xl) !important;
    padding: var(--space-2xl) var(--space-lg) !important;
  }

  /* Section spacing - comfortable but not excessive */
  .section {
    padding: var(--space-3xl) var(--space-lg);
  }

  .section--large {
    padding: var(--space-3xl) var(--space-lg);
  }

  .section--small {
    padding: var(--space-2xl) var(--space-lg);
  }

  /* Hero sections - impactful on mobile */
  .hero-section,
  .banner {
    min-height: 400px;
    padding: var(--space-2xl) var(--space-lg);
  }

  .hero-title {
    font-size: clamp(var(--font-size-2xl), 8vw, var(--font-size-4xl));
    margin-bottom: var(--space-lg);
  }

  .hero-text {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-xl);
  }

  /* Collection title - bold and clear */
  .collection .title-wrapper,
  .template-collection .title-wrapper {
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  }

  .collection .title,
  .template-collection h1 {
    font-size: clamp(var(--font-size-xl), 7vw, var(--font-size-3xl));
  }

  /* Footer grid - stack nicely */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  /* Footer blocks - centered on mobile */
  .footer-block__heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ============================================================================
   MOBILE PRODUCT PAGE - OPTIMIZED LAYOUT
   ============================================================================ */

@media (max-width: 749px) {
  /* Product container - proper spacing */
  .product {
    padding: var(--space-2xl) var(--space-lg);
  }

  /* Product title - bold and readable */
  .product__title {
    font-size: clamp(var(--font-size-xl), 6vw, var(--font-size-3xl));
    margin-bottom: var(--space-lg);
    line-height: 1.2;
  }

  /* Product price - prominent */
  .product__price {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-xl);
  }

  /* Product description - easy to read */
  .product__description {
    font-size: var(--font-size-base);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
  }

  .product__description p {
    margin-bottom: var(--space-md);
  }

  .product__description ul,
  .product__description ol {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
  }

  .product__description li {
    margin-bottom: var(--space-sm);
  }

  /* Product media gallery - optimized for mobile */
  .product__media {
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
  }

  /* Mobile slider - smooth scrolling */
  #Slider-Gallery {
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }

  .product__media-item {
    scroll-snap-align: center;
  }

  /* Slider counter - better visibility */
  .slider-counter {
    background: rgba(var(--color-matcha-primary), 0.95);
    color: rgb(var(--color-white));
    padding: 8px 16px;
    border-radius: 24px;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  /* Slider buttons - larger touch targets */
  .slider-button {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
  }

  .slider-button:hover {
    background: rgb(var(--color-white));
  }

  /* Product form - spacious */
  .product-form {
    margin-bottom: var(--space-xl);
  }

  .product-form__input {
    margin-bottom: var(--space-lg);
  }

  /* Variant selector - larger touch targets */
  .product-form__input label {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
  }

  .product-form__input input[type="radio"] + label,
  .product-form__input select {
    min-height: 48px;
    font-size: var(--font-size-base);
    padding: var(--space-md) var(--space-lg);
  }

  /* Quantity selector - mobile friendly */
  .quantity {
    margin-bottom: var(--space-xl);
    gap: var(--space-md);
  }

  .quantity__button {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(var(--color-text-primary), 0.2);
    font-size: var(--font-size-lg);
  }

  .quantity__input {
    width: 70px;
    height: 48px;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
  }

  /* Add to cart button - prominent and touchable */
  .product-form__submit {
    width: 100%;
    min-height: 56px;
    padding: var(--space-lg);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: 1px;
    border-radius: var(--radius-xl);
  }

  /* Product meta - clean layout */
  .product__meta {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
  }

  .product__meta-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
  }

  .product__meta-label {
    min-width: auto;
    font-size: var(--font-size-sm);
  }

  .product__meta-value {
    font-size: var(--font-size-sm);
  }

  /* Accordion - easy to tap */
  .product__accordion {
    margin-top: var(--space-xl);
  }

  .product__accordion-header {
    padding: var(--space-lg) 0;
    font-size: var(--font-size-base);
    min-height: 56px;
  }

  .product__accordion-content {
    padding-bottom: var(--space-lg);
    font-size: var(--font-size-base);
    line-height: 1.7;
  }

  /* Info items - better spacing */
  .product__info-item {
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
  }

  .product__info-item svg {
    width: 32px;
    height: 32px;
  }
}

/* ============================================================================
   MOBILE BUTTONS & FORMS - ENHANCED TOUCH TARGETS
   ============================================================================ */

@media (max-width: 749px) {
  /* All buttons - minimum 48px height for accessibility */
  .button,
  button[type="submit"],
  input[type="submit"],
  .shopify-payment-button__button {
    min-height: 48px;
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-lg);
  }

  /* Primary buttons - bold and clear */
  .button--primary,
  button[type="submit"],
  .product-form__submit {
    min-height: 56px;
    font-size: var(--font-size-lg);
    padding: var(--space-lg) var(--space-2xl);
  }

  /* Form inputs - comfortable typing */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  textarea,
  select {
    min-height: 48px;
    padding: var(--space-md) var(--space-lg);
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: var(--radius-lg);
  }

  /* Labels - clear and readable */
  label {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-sm);
  }

  /* Links - adequate spacing */
  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ============================================================================
   MOBILE CART PAGE - STREAMLINED EXPERIENCE
   ============================================================================ */

@media (max-width: 749px) {
  .cart {
    padding: var(--space-2xl) var(--space-lg);
  }

  .cart__title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-xl);
  }

  .cart-item {
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    border-radius: var(--radius-lg);
  }

  .cart__checkout-button {
    min-height: 56px;
    padding: var(--space-lg);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-extrabold);
    border-radius: var(--radius-xl);
  }
}

/* ============================================================================
   MOBILE FACETS/FILTERS - BETTER USABILITY
   ============================================================================ */

@media (max-width: 749px) {
  .facets-container,
  .facets-wrapper {
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
  }

  .facets__heading {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
  }

  select.select__select,
  .facet-filters__sort {
    min-height: 48px;
    padding: var(--space-md) var(--space-lg);
    font-size: 16px; /* Prevents iOS zoom */
    border-radius: var(--radius-lg);
  }

  /* Facet pills/checkboxes - larger touch targets */
  .facet-checkbox {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ============================================================================
   MOBILE PAGINATION - EASY NAVIGATION
   ============================================================================ */

@media (max-width: 749px) {
  .pagination-wrapper {
    padding: var(--space-lg) var(--space-md);
    gap: var(--space-sm);
    margin: var(--space-2xl) 0;
    flex-wrap: wrap;
  }

  .pagination__item,
  .pagination__link {
    min-width: 48px;
    height: 48px;
    padding: var(--space-sm);
    font-size: var(--font-size-base);
    border-radius: var(--radius-lg);
  }
}

/* ============================================================================
   MOBILE ANIMATIONS - SMOOTH & PERFORMANT
   ============================================================================ */

@media (max-width: 749px) {
  /* Reduce animation intensity on mobile */
  .card-wrapper:hover {
    transform: translateY(-4px); /* Less dramatic */
    transition: all 0.25s ease; /* Faster */
  }

  /* Smoother card image zoom */
  .card-wrapper:hover .card__media img,
  .card-wrapper:hover .media img {
    transform: scale(1.04); /* Subtle */
  }

  /* Button interactions - snappy */
  .button:active,
  .quick-add__submit:active,
  .product-form__submit:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
  }

  /* Disable complex animations on mobile for performance */
  .footer-block--newsletter:hover {
    transform: translateY(-4px); /* Less dramatic */
  }

  .footer__newsletter .newsletter-form__button:hover {
    transform: translateY(-50%) scale(1.02); /* Subtle */
  }
}

/* ============================================================================
   MOBILE SPACING UTILITIES
   ============================================================================ */

@media (max-width: 749px) {
  /* Page-level spacing */
  .page-width {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }

  /* Container widths */
  .container {
    padding: 0 var(--space-lg);
  }

  .container--narrow {
    padding: 0 var(--space-lg);
  }

  /* Banner content */
  .banner__content,
  .slideshow__text-wrapper {
    padding: var(--space-2xl) var(--space-lg);
  }

  .banner__heading,
  .slideshow__heading {
    font-size: clamp(var(--font-size-2xl), 8vw, var(--font-size-4xl));
    margin-bottom: var(--space-md);
  }

  .banner__text {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-lg);
  }
}

/* ============================================================================
   21. ACCESSIBILITY
   ============================================================================ */

:focus-visible {
  outline: 3px solid rgb(var(--color-matcha-primary));
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================================
   22. LOADING STATES
   ============================================================================ */

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.loading {
  background: linear-gradient(
    90deg,
    rgba(var(--color-cream-bg), 1) 0%,
    rgba(var(--color-matcha-primary), 0.1) 50%,
    rgba(var(--color-cream-bg), 1) 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(var(--color-matcha-primary), 0.2);
  border-top-color: rgb(var(--color-matcha-primary));
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* END OF LOWINSKY DESIGN SYSTEM */
