/*
Theme Name: Baie Theme
Theme URI: https://baie-car.com
Author: Baie Car
Author URI: https://baie-car.com
Description: Tema premium para Baie Car - Equipamiento camper y caravaning
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baie-theme
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ========================================
   CSS Variables & Design Tokens
======================================== */
:root {
  /* Brand Colors (Blue-Grey Scale) */
  --brand-50: #f8fafc;
  --brand-100: #e3e8ed;
  --brand-200: #c5d0db;
  --brand-300: #a6b6c6;
  --brand-400: #6d7d8f;
  --brand-500: #354351;
  --brand-600: #2d3945;
  --brand-700: #252f39;
  --brand-800: #1e262e;
  --brand-900: #181e25;

  /* Slate Scale */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Functional Colors */
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --yellow-400: #facc15;
  --red-500: #ef4444;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* ========================================
   Reset & Base Styles
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--slate-50);
  color: var(--slate-900);
  line-height: 1.6;
  min-height: 100vh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Product family pictograms */
.baie-category-icon {
  width: 1.65rem;
  height: 1.65rem;
  overflow: visible;
  color: currentColor;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.baie-category-icon .icon-fill {
  fill: currentColor;
  fill-opacity: 0.08;
}

.baie-category-icon .icon-detail {
  stroke-width: 1.1;
  opacity: 0.62;
}

.baie-menu-icon-box {
  color: #cbd5e1;
}

.baie-menu-icon-box .baie-category-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.baie-catalog-panel {
  isolation: isolate;
  background:
    radial-gradient(ellipse 42% 90% at 0% 50%, rgb(37 99 235 / 0.2), transparent 72%),
    radial-gradient(ellipse 42% 90% at 100% 50%, rgb(59 130 246 / 0.18), transparent 72%),
    radial-gradient(ellipse 70% 55% at 50% 115%, rgb(79 70 229 / 0.12), transparent 75%),
    rgb(24 24 27 / 0.95);
  box-shadow:
    0 32px 64px -12px rgb(0 0 0 / 0.38),
    -24px 0 46px -30px rgb(37 99 235 / 0.85),
    24px 0 46px -30px rgb(59 130 246 / 0.85),
    0 0 0 1px rgb(147 197 253 / 0.08);
}

.baie-catalog-panel::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: '';
  border-radius: inherit;
  background: linear-gradient(90deg, rgb(96 165 250 / 0.12), transparent 18%, transparent 82%, rgb(129 140 248 / 0.12));
  pointer-events: none;
}

.group:focus-within > .baie-catalog-flyout {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.baie-mobile-category-icon {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 2.4rem;
  place-items: center;
  color: #9dd8df;
  background: linear-gradient(145deg, rgb(157 216 223 / 0.13), rgb(255 255 255 / 0.03));
  border: 1px solid rgb(157 216 223 / 0.16);
  border-radius: 0.75rem;
  box-shadow: inset 0 1px rgb(255 255 255 / 0.05);
}

.baie-mobile-category-icon .baie-category-icon {
  width: 1.45rem;
  height: 1.45rem;
}

/* Selection */
::selection {
  background-color: var(--brand-500);
  color: white;
}

/* ========================================
   Accessibility Utilities
======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip Link for Keyboard Navigation */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand-900);
  color: white;
  padding: 8px 16px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* ========================================
   Typography
========================================*/
.font-mono {
  font-family: var(--font-mono);
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-black {
  font-weight: 900;
}

.font-medium {
  font-weight: 500;
}

.font-light {
  font-weight: 300;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}

.text-8xl {
  font-size: 6rem;
  line-height: 1;
}

.text-9xl {
  font-size: 8rem;
  line-height: 1;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-tighter {
  letter-spacing: -0.05em;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

/* ========================================
   Colors
======================================== */
.text-white {
  color: white;
}

.text-brand-100 {
  color: var(--brand-100);
}

.text-brand-200 {
  color: var(--brand-200);
}

.text-brand-300 {
  color: var(--brand-300);
}

.text-brand-500 {
  color: var(--brand-500);
}

.text-brand-900 {
  color: var(--brand-900);
}

.text-slate-300 {
  color: var(--slate-300);
}

.text-slate-400 {
  color: var(--slate-400);
}

.text-slate-500 {
  color: var(--slate-500);
}

.text-slate-600 {
  color: var(--slate-600);
}

.text-emerald-500 {
  color: var(--emerald-500);
}

.bg-white {
  background-color: white;
}

.bg-brand-500 {
  background-color: var(--brand-500);
}

.bg-brand-900 {
  background-color: var(--brand-900);
}

.bg-slate-50 {
  background-color: var(--slate-50);
}

.bg-slate-100 {
  background-color: var(--slate-100);
}

.bg-emerald-500 {
  background-color: var(--emerald-500);
}

/* ========================================
   Layout
======================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.justify-start {
  justify-content: flex-start;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:flex {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .lg\:col-span-5 {
    grid-column: span 5 / span 5;
  }

  .lg\:col-span-7 {
    grid-column: span 7 / span 7;
  }

  .lg\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:w-80 {
    width: 20rem;
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-20 {
  gap: 5rem;
}

/* ========================================
   Spacing
======================================== */
.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-10 {
  padding: 2.5rem;
}

.p-12 {
  padding: 3rem;
}

.p-14 {
  padding: 3.5rem;
}

.p-16 {
  padding: 4rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-20 {
  padding-top: 5rem;
}

.pt-28 {
  padding-top: 7rem;
}

.pt-32 {
  padding-top: 8rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.pb-32 {
  padding-bottom: 8rem;
}

.m-0 {
  margin: 0;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-20 {
  margin-top: 5rem;
}

.ml-auto {
  margin-left: auto;
}

.mr-4 {
  margin-right: 1rem;
}

/* ========================================
   Borders & Radius
======================================== */
.rounded {
  border-radius: 0.25rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-b-2 {
  border-bottom-width: 2px;
}

.border-dashed {
  border-style: dashed;
}

.border-white {
  border-color: white;
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

.border-white\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

.border-slate-100 {
  border-color: var(--slate-100);
}

.border-slate-200 {
  border-color: var(--slate-200);
}

.border-brand-500 {
  border-color: var(--brand-500);
}

.border-brand-900 {
  border-color: var(--brand-900);
}

/* ========================================
   Positioning
======================================== */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.top-4 {
  top: 1rem;
}

.top-28 {
  top: 7rem;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

/* ========================================
   Effects & Transitions
======================================== */
.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow {
  box-shadow: var(--shadow);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

.shadow-2xl {
  box-shadow: var(--shadow-2xl);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-150 {
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.duration-700 {
  transition-duration: 700ms;
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

.hover\:translate-x-1:hover {
  transform: translateX(0.25rem);
}

.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

.opacity-0 {
  opacity: 0;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-40 {
  opacity: 0.4;
}

.opacity-60 {
  opacity: 0.6;
}

.opacity-80 {
  opacity: 0.8;
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.blur-sm {
  filter: blur(4px);
}

.blur-md {
  filter: blur(12px);
}

.blur-xl {
  filter: blur(24px);
}

.blur-2xl {
  filter: blur(40px);
}

.blur-3xl {
  filter: blur(64px);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.backdrop-blur-xl {
  backdrop-filter: blur(24px);
}

/* ========================================
   Custom Components
======================================== */

/* Glass Card Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(90deg, var(--brand-200), white, var(--brand-200));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--brand-900);
  color: white;
  box-shadow: 0 10px 30px -10px rgba(30, 27, 75, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -10px rgba(30, 27, 75, 0.5);
}

.btn-white {
  background-color: white;
  color: var(--brand-900);
}

.btn-white:hover {
  background-color: var(--slate-50);
  transform: translateY(-2px);
}

/* Product Card - Styles controlled by Tailwind in template-parts/product-card.php */

/* Category Filter Button */
.category-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-100);
  background-color: var(--slate-50);
  color: var(--slate-600);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.category-btn:hover {
  border-color: var(--brand-200);
  background-color: white;
}

.category-btn.active {
  background-color: var(--brand-900);
  border-color: var(--brand-900);
  color: white;
  box-shadow: 0 10px 25px -5px rgba(30, 27, 75, 0.3);
  transform: scale(1.02);
}

#pagination-section .page-numbers {
  min-width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  background: white;
  color: var(--brand-900);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

#pagination-section .page-numbers:hover,
#pagination-section .page-numbers.current {
  background: var(--brand-900);
  border-color: var(--brand-900);
  color: white;
}

/* Animations */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-slow {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-shimmer {
  animation: shimmer 3s linear infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Noise Texture Background */
.bg-noise {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Pointer */
.pointer-events-none {
  pointer-events: none;
}

.cursor-pointer {
  cursor: pointer;
}

/* Width/Height */
.w-full {
  width: 100%;
}

.w-fit {
  width: fit-content;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-14 {
  width: 3.5rem;
}

.w-16 {
  width: 4rem;
}

.w-24 {
  width: 6rem;
}

.w-32 {
  width: 8rem;
}

.w-40 {
  width: 10rem;
}

.w-64 {
  width: 16rem;
}

.w-80 {
  width: 20rem;
}

.w-96 {
  width: 24rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.h-full {
  height: 100%;
}

.h-1 {
  height: 0.25rem;
}

.h-2 {
  height: 0.5rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-8 {
  height: 2rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-16 {
  height: 4rem;
}

.h-24 {
  height: 6rem;
}

.h-32 {
  height: 8rem;
}

.h-40 {
  height: 10rem;
}

.h-64 {
  height: 16rem;
}

.h-80 {
  height: 20rem;
}

.h-96 {
  height: 24rem;
}

.min-h-screen {
  min-height: 100vh;
}

/* Misc */
.overflow-hidden {
  overflow: hidden;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-flex {
  display: inline-flex;
}

.object-contain {
  object-fit: contain;
}

.object-cover {
  object-fit: cover;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.leading-snug {
  line-height: 1.375;
}

.leading-relaxed {
  line-height: 1.625;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-none {
  list-style-type: none;
}

.appearance-none {
  appearance: none;
}

.resize-none {
  resize: none;
}

.outline-none {
  outline: none;
}

.select-none {
  user-select: none;
}

/* Responsive visibility */
@media (min-width: 640px) {
  .sm\:block {
    display: block;
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:hidden {
    display: none;
  }
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }

  .md\:text-8xl {
    font-size: 6rem;
    line-height: 1;
  }

  .md\:p-14 {
    padding: 3.5rem;
  }

  .md\:p-16 {
    padding: 4rem;
  }

  .md\:h-12 {
    height: 3rem;
  }
}

@media (min-width: 1024px) {
  .lg\:block {
    display: block;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }

  .lg\:text-9xl {
    font-size: 8rem;
    line-height: 1;
  }

  .lg\:p-16 {
    padding: 4rem;
  }

  .lg\:gap-24 {
    gap: 6rem;
  }

  .lg\:gap-20 {
    gap: 5rem;
  }
}

/* WooCommerce Overrides */
.woocommerce-page .woocommerce-notices-wrapper,
.woocommerce-page .woocommerce-result-count,
.woocommerce-page .woocommerce-ordering {
  display: none;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.woocommerce ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
}

/* Hide default WooCommerce styles */
.woocommerce ul.products li.product .onsale,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .price del {
  display: none;
}

/* Perspective utilities for 3D card effects */
.perspective-1000 {
  perspective: 1000px;
}

.preserve-3d {
  transform-style: preserve-3d;
}

.backface-hidden {
  backface-visibility: hidden;
}

.rotate-y-180 {
  transform: rotateY(180deg);
}

/* Hide native spin buttons for a cleaner UI with custom quantity controls */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input {
  -moz-appearance: textfield;
}

/* ========================================
   Lucide Icons Scalability Fix
   Ensures icons remain visible at sub-pixel 
   zoom levels where SVGs might collapse.
   ======================================== */
svg.lucide {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke-width: 2.25px; /* Slightly thicker for better visibility */
}

/* Prevent collapse of standard sizes */
svg.lucide[class*="w-4"],
svg.lucide.w-4 {
  min-width: 16px !important;
  min-height: 16px !important;
}

svg.lucide[class*="w-3.5"],
svg.lucide.w-3\.5 {
  min-width: 14px !important;
  min-height: 14px !important;
}

svg.lucide[class*="w-5"],
svg.lucide.w-5 {
  min-width: 20px !important;
  min-height: 20px !important;
}

svg.lucide[class*="w-6"],
svg.lucide.w-6 {
  min-width: 24px !important;
  min-height: 24px !important;
}

/* Fix for specific "ojito" and product buttons */
.product-card .group\/btn svg.lucide,
.quick-action-dock svg.lucide {
  stroke-width: 2.5px;
}

/* Variable product selector */
.baie-variable-form .variations_form {
  margin: 0;
}

.baie-variable-form .variations {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.75rem;
}

.baie-variable-form .variations .label {
  display: block;
  padding: 0 0 0.4rem;
  text-align: left;
  color: var(--brand-900);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.baie-variable-form .variations .value {
  display: block;
  padding: 0;
}

.baie-variable-form .variations select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 2.75rem 0.75rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  background: var(--slate-50);
  color: var(--brand-900);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.baie-variable-form .variations select:focus {
  outline: 2px solid var(--brand-300);
  outline-offset: 2px;
}

.baie-variable-form .reset_variations {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--slate-500);
  font-size: 0.7rem;
  text-decoration: underline;
}

.baie-variable-form .single_variation_wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.baie-variable-form .single_variation {
  min-height: 1.5rem;
}

.baie-variable-form .woocommerce-variation-price .price {
  color: var(--brand-900);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.baie-variable-form .woocommerce-variation-availability {
  margin-top: 0.35rem;
  color: var(--emerald-500);
  font-size: 0.75rem;
  font-weight: 700;
}

.baie-variable-form .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.baie-variable-form .quantity .qty {
  width: 4.5rem;
  min-height: 3.25rem;
  padding: 0.5rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  background: var(--slate-50);
  color: var(--brand-900);
  font-family: var(--font-mono);
  font-weight: 700;
  text-align: center;
}

.baie-variable-form .single_add_to_cart_button {
  flex: 1;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--brand-900);
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.baie-variable-form .single_add_to_cart_button:hover:not(.disabled) {
  background: var(--brand-700);
  transform: translateY(-1px);
}

.baie-variable-form .single_add_to_cart_button.disabled,
.baie-variable-form .single_add_to_cart_button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.product-card .baie-card-price .price {
  display: block;
  color: var(--brand-900);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.product-card .baie-card-price .price del {
  color: var(--slate-400);
  font-size: 0.75rem;
  font-weight: 400;
}

.product-card .baie-card-price .price ins {
  text-decoration: none;
}

@media (max-width: 480px) {
  .baie-variable-form .woocommerce-variation-add-to-cart {
    align-items: stretch;
  }

  .baie-variable-form .quantity .qty {
    width: 3.75rem;
  }
}

/* Variable picker modal */
body.baie-picker-open {
  overflow: hidden;
}

.baie-variable-picker[hidden] {
  display: none;
}

.baie-variable-picker {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.baie-variable-picker.is-open {
  opacity: 1;
  visibility: visible;
}

.baie-variable-picker__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(15 23 42 / 0.66);
  backdrop-filter: blur(8px);
}

.baie-variable-picker__panel {
  position: relative;
  width: min(100%, 32rem);
  max-height: min(90vh, 42rem);
  overflow-y: auto;
  padding: 2rem;
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 1.75rem;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-2xl);
  transform: translateY(1rem) scale(0.98);
  transition: transform 220ms ease;
}

.baie-variable-picker.is-open .baie-variable-picker__panel {
  transform: translateY(0) scale(1);
}

.baie-variable-picker__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: white;
  color: var(--slate-500);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.baie-variable-picker__close:hover,
.baie-variable-picker__close:focus-visible {
  border-color: var(--brand-300);
  background: var(--brand-50);
  color: var(--brand-900);
}

.baie-variable-picker__intro {
  padding-right: 2.5rem;
  margin-bottom: 1.5rem;
}

.baie-variable-picker__eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--brand-500);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.baie-variable-picker__title {
  margin: 0;
  color: var(--brand-900);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.baie-variable-picker__prompt {
  margin-top: 0.6rem;
  color: var(--slate-500);
  font-size: 0.9rem;
}

.baie-variable-picker__options {
  display: grid;
  gap: 0.7rem;
}

.baie-variable-picker__option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  min-height: 4.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  background: white;
  color: var(--brand-900);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.baie-variable-picker__option:hover,
.baie-variable-picker__option:focus-visible {
  border-color: var(--brand-300);
  background: var(--brand-50);
  box-shadow: var(--shadow-md);
  outline: none;
  transform: translateY(-1px);
}

.baie-variable-picker__option.is-selected {
  border-color: var(--brand-900);
  background: var(--brand-900);
  color: white;
  box-shadow: var(--shadow-md);
}

.baie-variable-picker__option-label {
  font-size: 0.95rem;
  font-weight: 800;
}

.baie-variable-picker__option-price {
  color: var(--brand-500);
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.baie-variable-picker__option-price .price {
  color: inherit;
}

.baie-variable-picker__option.is-selected .baie-variable-picker__option-price {
  color: var(--brand-100);
}

.baie-variable-picker__option-price del {
  display: none;
}

.baie-variable-picker__option-price ins {
  text-decoration: none;
}

.baie-variable-picker__option-arrow {
  color: var(--slate-400);
  font-size: 1.5rem;
  line-height: 1;
}

.baie-variable-picker__option.is-selected .baie-variable-picker__option-arrow {
  color: white;
}

.baie-variable-picker__custom {
  margin-top: 1rem;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  background: rgb(248 250 252 / 0.8);
  overflow: hidden;
}

.baie-variable-picker__custom-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 0;
  background: transparent;
  color: var(--brand-900);
  text-align: left;
  cursor: pointer;
}

.baie-variable-picker__custom-toggle:hover,
.baie-variable-picker__custom-toggle:focus-visible {
  background: var(--brand-100);
  outline: none;
}

.baie-variable-picker__custom-title {
  font-size: 0.78rem;
  font-weight: 900;
}

.baie-variable-picker__custom-icon {
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  place-items: center;
  border: 1px solid var(--brand-300);
  border-radius: 999px;
  color: var(--brand-500);
  font-size: 1.1rem;
  line-height: 1;
}

.baie-variable-picker__custom-panel {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--slate-200);
}

.baie-variable-picker__custom-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
}

.baie-variable-picker__custom-prompt,
.baie-variable-picker__custom-note {
  color: var(--slate-500);
  font-size: 0.75rem;
  line-height: 1.45;
}

.baie-variable-picker__custom-live {
  color: var(--brand-500);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.baie-variable-picker__measure-preview {
  display: grid;
  min-height: 11.25rem;
  margin: 0.9rem 0 1rem;
  place-items: center;
  border-radius: 0.8rem;
  background: radial-gradient(circle at 50% 35%, rgb(197 208 219 / 0.45), transparent 60%), var(--brand-900);
  overflow: hidden;
}

.baie-variable-picker__measure-shape {
  position: relative;
  display: grid;
  width: min(72%, 16rem);
  height: auto;
  aspect-ratio: auto;
  place-items: center;
  border: 2px solid var(--brand-300);
  border-radius: 0.55rem;
  background: linear-gradient(135deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.03));
  box-shadow: inset 0 0 0 0.35rem rgb(24 30 37 / 0.35), 0 1rem 2rem rgb(0 0 0 / 0.18);
  transition: width 120ms ease, height 120ms ease;
}

.baie-variable-picker__measure-width,
.baie-variable-picker__measure-height {
  position: absolute;
  color: white;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
}

.baie-variable-picker__measure-width {
  bottom: -1.4rem;
}

.baie-variable-picker__measure-height {
  right: -2.7rem;
  transform: rotate(-90deg);
}

.baie-variable-picker__custom-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.baie-variable-picker__custom-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.3rem;
  align-items: center;
  gap: 0.35rem 0.55rem;
  color: var(--brand-900);
  font-size: 0.7rem;
  font-weight: 800;
}

.baie-variable-picker__custom-field > span {
  grid-column: 1 / -1;
}

.baie-variable-picker__custom-field small {
  color: var(--slate-400);
  font-size: 0.6rem;
}

.baie-variable-picker__custom-field input[type="range"] {
  width: 100%;
  accent-color: var(--brand-900);
}

.baie-variable-picker__custom-field input[type="number"] {
  width: 100%;
  min-height: 2.15rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.55rem;
  background: white;
  color: var(--brand-900);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.baie-variable-picker__custom-note {
  margin: 0.9rem 0;
}

.baie-variable-picker__custom-submit {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 0.7rem;
  background: var(--brand-900);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms ease, opacity 160ms ease;
}

.baie-variable-picker__custom-submit:hover:not(:disabled),
.baie-variable-picker__custom-submit:focus-visible {
  background: var(--brand-700);
  outline: none;
}

.baie-variable-picker__custom-submit:disabled {
  cursor: wait;
  opacity: 0.55;
}

.baie-variable-picker__custom-status {
  min-height: 1.2rem;
  margin-top: 0.65rem;
  color: var(--slate-500);
  font-size: 0.7rem;
  line-height: 1.35;
}

.baie-variable-picker__custom-status.is-success {
  color: var(--emerald-500);
  font-weight: 800;
}

.baie-variable-picker__custom-status.is-error {
  color: var(--red-500);
  font-weight: 800;
}

.baie-variable-picker__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.baie-variable-picker__details {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.2rem;
  border-radius: 0.85rem;
  background: var(--brand-900);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.baie-variable-picker__details:hover,
.baie-variable-picker__details:focus-visible {
  background: var(--brand-700);
  color: white;
  outline: none;
  transform: translateY(-1px);
}

.baie-variable-picker__confirm,
.baie-variation-trigger {
  min-height: 3.25rem;
  padding: 0.8rem 1.2rem;
  border: 0;
  border-radius: 0.85rem;
  background: var(--brand-900);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.baie-variable-picker__confirm:hover:not(:disabled),
.baie-variable-picker__confirm:focus-visible,
.baie-variation-trigger:hover,
.baie-variation-trigger:focus-visible {
  background: var(--brand-700) !important;
  color: white !important;
  outline: none;
  transform: translateY(-1px);
}

.baie-variable-picker__confirm:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.baie-variable-picker.is-cart-mode .baie-variable-picker__confirm {
  flex: 0 0 auto;
  border: 1px solid var(--brand-900);
  background: white;
  color: var(--brand-900);
}

.baie-variable-picker.is-cart-mode .baie-variable-picker__confirm:hover:not(:disabled),
.baie-variable-picker.is-cart-mode .baie-variable-picker__confirm:focus-visible {
  background: var(--brand-50);
  color: var(--brand-900);
}

.baie-variation-trigger {
  width: 100%;
  border: 1px solid var(--brand-900);
  background: white;
  color: var(--brand-900);
  text-align: left;
}

.baie-variation-trigger::after {
  float: right;
  content: '+';
  font-size: 1rem;
}

.baie-variation-trigger:hover::after,
.baie-variation-trigger:focus-visible::after {
  color: white !important;
}

.baie-variation-trigger.has-selection {
  background: var(--brand-900);
  color: white;
}

.baie-variable-form .variations select.baie-native-variation-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.baie-stripe-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--slate-500);
  font-size: 0.7rem;
  font-weight: 700;
}

.baie-stripe-trust-badge__logo,
.baie-footer-stripe-badge span {
  color: #635bff;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.baie-stripe-trust-badge__logo {
  font-size: 1.05rem;
}

.baie-footer-stripe-badge {
  display: inline-flex;
  align-items: center;
  padding-left: 0.65rem;
  border-left: 1px solid rgb(255 255 255 / 0.2);
  font-size: 0.85rem;
  text-transform: lowercase;
}

@media (max-width: 480px) {
  .baie-variable-picker__panel {
    padding: 1.5rem;
    border-radius: 1.35rem;
  }

  .baie-variable-picker__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .baie-variable-picker__confirm {
    width: 100%;
  }

  .baie-variable-picker__details {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .baie-variable-picker,
  .baie-variable-picker__panel,
  .baie-variable-picker__option,
  .baie-variable-picker__confirm,
  .baie-variation-trigger {
    transition: none;
  }
}

.baie-google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.baie-google-review-card {
  position: relative;
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.035));
  box-shadow: 0 1.5rem 3rem rgb(0 0 0 / 0.12);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.baie-google-review-card:hover {
  transform: translateY(-0.35rem);
  border-color: rgb(147 197 253 / 0.35);
  background: linear-gradient(145deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0.05));
}

.baie-google-review-card__topline {
  position: absolute;
  top: 0;
  right: 1.5rem;
  left: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, #93c5fd, transparent);
  opacity: 0.8;
}

.baie-google-review-card__header,
.baie-google-review-card__identity,
.baie-google-review-card__footer {
  display: flex;
  align-items: center;
}

.baie-google-review-card__header {
  justify-content: space-between;
  gap: 1rem;
}

.baie-google-review-card__identity {
  min-width: 0;
  gap: 0.7rem;
}

.baie-google-review-card__avatar {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 999px;
  background: linear-gradient(135deg, #334155, #64748b);
  color: white;
  font-size: 0.9rem;
  font-weight: 900;
}

.baie-google-review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.baie-google-review-card__identity h3 {
  overflow: hidden;
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.baie-google-review-card__identity p {
  margin-top: 0.2rem;
  color: rgb(203 213 225 / 0.65);
  font-size: 0.65rem;
}

.baie-google-review-card__verified {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid rgb(52 211 153 / 0.35);
  border-radius: 999px;
  background: rgb(16 185 129 / 0.14);
  color: #6ee7b7;
}

.baie-google-review-card__stars {
  display: flex;
  gap: 0.2rem;
  margin-top: 1.15rem;
}

.baie-google-review-card__stars svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: transparent;
  stroke: #64748b;
  stroke-width: 1.5;
}

.baie-google-review-card__stars svg.is-filled {
  fill: #fbbf24;
  stroke: #fbbf24;
}

.baie-google-review-card__text {
  display: -webkit-box;
  min-height: 6.9rem;
  margin-top: 1rem;
  overflow: hidden;
  color: rgb(226 232 240 / 0.9);
  font-size: 0.85rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.baie-google-review-card__footer {
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  color: rgb(167 243 208 / 0.8);
  font-size: 0.65rem;
  font-weight: 700;
}

.baie-google-review-card__footer span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.baie-google-review-card__quote {
  color: rgb(147 197 253 / 0.5);
  font-family: Georgia, serif;
  font-size: 2.6rem;
  line-height: 0.5;
}

.baie-google-reviews-empty {
  display: grid;
  max-width: 38rem;
  margin: 0 auto;
  place-items: center;
  gap: 0.8rem;
  padding: 3rem 1.5rem;
  border: 1px dashed rgb(255 255 255 / 0.2);
  border-radius: 1.5rem;
  color: rgb(203 213 225 / 0.8);
  text-align: center;
}

.baie-google-reviews-empty a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
}

@media (max-width: 767px) {
  .baie-google-reviews-grid {
    display: flex;
    gap: 0.8rem;
    margin-right: -1rem;
    margin-left: -1rem;
    overflow-x: auto;
    padding: 0 1rem 0.75rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .baie-google-reviews-grid::-webkit-scrollbar {
    display: none;
  }

  .baie-google-review-card {
    min-width: min(86vw, 23rem);
    scroll-snap-align: center;
  }
}

.baie-google-marquee {
  display: grid;
  position: relative;
  gap: 1rem;
  overflow: hidden;
  outline: none;
}

.baie-google-marquee:focus-visible {
  border-radius: 1rem;
  box-shadow: 0 0 0 3px rgb(147 197 253 / 0.45);
}

.baie-google-marquee__viewport {
  position: relative;
  overflow: hidden;
  padding: 0.2rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.baie-google-marquee__viewport::before,
.baie-google-marquee__viewport::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 4rem;
  content: '';
  pointer-events: none;
}

.baie-google-marquee__viewport::before {
  left: 0;
  background: linear-gradient(90deg, #0f172a, transparent);
}

.baie-google-marquee__viewport::after {
  right: 0;
  background: linear-gradient(270deg, #0f172a, transparent);
}

.baie-google-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: baie-google-marquee-left 48s linear infinite;
}

.baie-google-marquee:hover .baie-google-marquee__track,
.baie-google-marquee:focus-within .baie-google-marquee__track {
  animation-play-state: paused;
}

.baie-google-marquee__set {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-right: 1rem;
}

.baie-google-marquee-card {
  position: relative;
  display: flex;
  width: clamp(18rem, calc((100vw - 5rem) / 3), 32rem);
  min-height: 15.5rem;
  flex: 0 0 auto;
  flex-direction: column;
  overflow: hidden;
  padding: 1.35rem 1.5rem 1.25rem;
  border: 1px solid rgb(148 163 184 / 0.22);
  border-radius: 0.95rem 0.95rem 2rem 0.95rem;
  background-color: #172033;
  background-image: linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 1.35rem 1.35rem;
  box-shadow: 0 1rem 2rem rgb(2 6 23 / 0.2);
}

.baie-google-marquee-card::before {
  position: absolute;
  top: 0;
  right: 1.5rem;
  left: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #a7f3d0 45%, transparent);
  content: '';
  opacity: 0.85;
}

.baie-google-marquee-card::after {
  position: absolute;
  top: 3.5rem;
  bottom: 1.5rem;
  left: 0;
  width: 2px;
  background: linear-gradient(#38bdf8, transparent);
  content: '';
  opacity: 0.75;
}

.baie-google-marquee-card__meta,
.baie-google-marquee-card__footer,
.baie-google-marquee-card__identity {
  display: flex;
  align-items: center;
}

.baie-google-marquee-card__meta,
.baie-google-marquee-card__footer {
  justify-content: space-between;
  gap: 1rem;
}

.baie-google-marquee-card__index,
.baie-google-marquee-card__source {
  color: rgb(186 230 253 / 0.72);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.baie-google-marquee-card__source {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgb(226 232 240 / 0.62);
  letter-spacing: 0.04em;
  text-transform: none;
}

.baie-google-marquee-card__google-logo {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.baie-google-marquee-card__stars {
  display: flex;
  gap: 0.18rem;
  margin-top: 1.35rem;
}

.baie-google-marquee-card__stars svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: transparent;
  stroke: #64748b;
  stroke-width: 1.5;
}

.baie-google-marquee-card__stars svg.is-filled {
  fill: #fbbf24;
  stroke: #fbbf24;
}

.baie-google-marquee-card__text {
  display: -webkit-box;
  min-height: 6.6rem;
  margin: 0.9rem 0 1.25rem;
  overflow: hidden;
  color: rgb(241 245 249 / 0.9);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.baie-google-marquee-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgb(148 163 184 / 0.18);
}

.baie-google-marquee-card__identity {
  min-width: 0;
  gap: 0.65rem;
}

.baie-google-marquee-card__avatar {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  flex-shrink: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(186 230 253 / 0.35);
  border-radius: 0.7rem 0.7rem 0.7rem 1.1rem;
  background: linear-gradient(135deg, #334155, #0f766e);
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
}

.baie-google-marquee-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.baie-google-marquee-card__identity strong,
.baie-google-marquee-card__identity span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.baie-google-marquee-card__identity strong {
  max-width: 13rem;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
}

.baie-google-marquee-card__identity span {
  margin-top: 0.2rem;
  color: rgb(203 213 225 / 0.58);
  font-size: 0.62rem;
}

.baie-google-marquee-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  color: #a7f3d0;
}

@keyframes baie-google-marquee-left {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 767px) {
  .baie-google-marquee {
    gap: 0.75rem;
    margin-right: -1rem;
    margin-left: -1rem;
  }

  .baie-google-marquee-card {
    width: min(82vw, 22rem);
    min-height: 15rem;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .baie-google-marquee__track {
    animation: none;
  }
}

.baie-review-invite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgb(148 163 184 / 0.2);
  border-bottom: 1px solid rgb(148 163 184 / 0.2);
}

.baie-review-invite__copy,
.baie-review-invite__action,
.baie-review-invite__coupon {
  display: flex;
  align-items: center;
}

.baie-review-invite__copy {
  min-width: 0;
  gap: 1rem;
}

.baie-review-invite__icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  place-items: center;
  border: 1px solid rgb(125 211 252 / 0.25);
  border-radius: 0.8rem 0.8rem 0.8rem 1.15rem;
  background: rgb(56 189 248 / 0.1);
  color: #7dd3fc;
}

.baie-review-invite__eyebrow {
  display: block;
  color: rgb(186 230 253 / 0.72);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.baie-review-invite h3 {
  margin-top: 0.45rem;
  color: white;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.baie-review-invite p {
  margin-top: 0.3rem;
  color: rgb(203 213 225 / 0.65);
  font-size: 0.78rem;
  line-height: 1.5;
}

.baie-review-invite__action {
  justify-content: flex-end;
  gap: 1.25rem;
  padding-left: 2rem;
  border-left: 1px solid rgb(148 163 184 / 0.2);
}

.baie-review-invite__coupon {
  gap: 0.55rem;
  white-space: nowrap;
}

.baie-review-invite__coupon span {
  color: rgb(167 243 208 / 0.78);
  font-size: 0.68rem;
  font-weight: 700;
}

.baie-review-invite__coupon code {
  padding: 0.45rem 0.65rem;
  border: 1px dashed rgb(167 243 208 / 0.35);
  border-radius: 0.55rem;
  background: rgb(167 243 208 / 0.08);
  color: #a7f3d0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.baie-review-invite__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgb(250 204 21 / 0.8);
  border-radius: 0.7rem;
  background: #facc15;
  color: #181e25;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease;
}

.baie-review-invite__button:hover {
  transform: translateY(-0.15rem);
  background: #fde047;
}

@media (max-width: 900px) {
  .baie-review-invite {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .baie-review-invite__action {
    justify-content: flex-start;
    padding-top: 1.25rem;
    padding-left: 0;
    border-top: 1px solid rgb(148 163 184 / 0.2);
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .baie-review-invite {
    padding: 1.25rem 0;
  }

  .baie-review-invite__copy {
    align-items: flex-start;
  }

  .baie-review-invite__action {
    align-items: stretch;
    flex-direction: column;
    gap: 0.85rem;
  }

  .baie-review-invite__coupon {
    justify-content: space-between;
  }

  .baie-review-invite__button {
    width: 100%;
  }
}

/* ==========================================================================
   AUTHENTIC GOOGLE REVIEWS & SOCIAL PROOF SYSTEM (BAIE CAR)
   ========================================================================== */

.baie-reviews-section {
  position: relative;
  background: #f8fafc;
  scroll-margin-top: 100px;
}

/* Google Profile Verification Pill */
.baie-google-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.baie-g-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.baie-pill-dot-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
}

/* Trust Badges in Light Theme */
.baie-trust-tag-light {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: all 180ms ease;
}

.baie-trust-tag-light:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}

/* Google Hub Card (Authentic Google Business Profile Card) */
.baie-google-hub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

/* The Authentic Google Breakdown Bar Chart */
.baie-google-bar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.baie-bar-label {
  width: 0.75rem;
  font-weight: 700;
  color: #475569;
  text-align: right;
  font-family: inherit;
}

.baie-bar-track {
  flex: 1;
  height: 0.45rem;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
}

.baie-bar-fill {
  height: 100%;
  background: #fbbc04;
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.baie-bar-pct {
  width: 2.1rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  text-align: right;
}

/* Google Hub Action Buttons */
.baie-btn-write-review {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.5rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 150ms ease;
  white-space: nowrap;
}

.baie-btn-write-review:hover {
  background: #ffffff;
  border-color: #94a3b8;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.baie-btn-view-maps {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.5rem;
  background: #1a73e8;
  border: 1px solid #1557b0;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 150ms ease;
  white-space: nowrap;
}

.baie-btn-view-maps:hover {
  background: #1557b0;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(26, 115, 232, 0.3);
}

/* Slider Track & Layout */
.baie-reviews-slider-wrapper {
  position: relative;
  width: 100%;
}

.baie-reviews-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.5rem;
}

/* Review Cards (Clean, Tactile, High-End) */
.baie-review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 15.5rem;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms ease, border-color 250ms ease;
}

.baie-review-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 14px 28px -4px rgba(15, 23, 42, 0.08);
}

.baie-review-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.4rem 1.5rem;
}

.baie-review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.baie-review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.baie-card-google-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.baie-topic-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 0.375rem;
  border-width: 1px;
  border-style: solid;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.baie-review-card__body {
  margin: 0.5rem 0 1rem;
  flex-grow: 1;
}

.baie-review-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.62;
  font-weight: 400;
}

.baie-review-text-wrap.is-clamped .baie-review-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.baie-read-more-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Slider Controls */
.baie-slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: all 180ms ease;
}

.baie-slider-btn:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}

.baie-slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.baie-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 200ms ease;
}

.baie-dot.is-active {
  width: 24px;
  background: #0f172a;
}

/* Bottom Reward & Conversion Card */
.baie-review-reward-card-light {
  padding: 1.5rem 2rem;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.baie-primary-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 0.75rem;
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
  transition: all 180ms ease;
  white-space: nowrap;
}

.baie-primary-action-btn:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* Empty State Fallback */
.baie-google-reviews-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

@media (max-width: 767px) {
  .baie-google-hub-card {
    padding: 1.25rem;
  }

  .baie-review-reward-card-light {
    padding: 1.25rem;
  }
}

