/* ========================================
  VARIABLES  (cambia los colores del sitio desde aquí)
======================================== */
:root {
  /* Base */
  --color-bg: #f5f1eb;              /* fondo de la página */
  --color-surface: #ece5dc;         /* fondos suaves (hover, submenús, imagen de producto) */
  --color-panel: #fcfaf7;           /* paneles: menús desplegables, carrito, flechas */
  --color-border: #e2d9cf;          /* líneas y bordes */
  --color-text: #E6BE8A;            /* texto principal */
  --color-text-muted: #7b6f68;      /* texto secundario */
  --color-white: #ffffff;           /* texto sobre fondos oscuros / de color */

  /* Acento (botones principales, subrayados) */
  --color-accent: #b9877c;
  --color-accent-hover: #a5746a;
  --color-accent-tint: #f1e2dd;
  --color-accent-rgb: 185, 135, 124;  /* el mismo acento en RGB (sombras y transparencias) */

  /* Header */
  --color-header-bg: #f7f3ee;

  /* Tarjetas y carrusel */
  --color-dark: #2b2522;            /* hover de flechas, punto activo */
  --color-dark-soft: #4a403b;
  --color-sale: #c0465e;            /* precio anterior y corazón de favoritos */
  --color-dot: #d2c7bc;             /* puntos inactivos del carrusel */

  /* Decoración (flores y hojas de fondo) */
  --color-leaf: #b9c0aa;
  --color-leaf-rose: #e0bfb6;

  /* Sombras */
  --color-shadow: rgba(60, 40, 30, 0.1);

  /* Footer */
  --color-footer-bg: #2b2522;
  --color-footer-text: #eae2da;
  --color-footer-muted: #b3a79f;
  --color-footer-faint: #8a7e77;
  --color-footer-line: rgba(255, 255, 255, 0.1);

  /* WhatsApp */
  --color-whatsapp: #25d366;
  --color-whatsapp-rgb: 37, 211, 102;

  /* Tipografías y medidas */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --header-height: 76px;

  /* Cuántos productos se ven a la vez en carruseles y en la cuadrícula (máximo 4) */
  --visible: 4;
  --carousel-gap: 1.25rem;

  /* Ilustraciones decorativas (se pintan con --color-leaf) */
  --deco-eucalipto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 400' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M100 396C92 330 112 270 100 200S92 100 104 22'/%3E%3Cellipse cx='86' cy='352' rx='12' ry='10' transform='rotate(-20 86 352)'/%3E%3Cellipse cx='116' cy='344' rx='12' ry='10' transform='rotate(20 116 344)'/%3E%3Cellipse cx='86' cy='312' rx='12' ry='10' transform='rotate(-20 86 312)'/%3E%3Cellipse cx='116' cy='304' rx='12' ry='10' transform='rotate(20 116 304)'/%3E%3Cellipse cx='86' cy='272' rx='12' ry='10' transform='rotate(-20 86 272)'/%3E%3Cellipse cx='116' cy='264' rx='12' ry='10' transform='rotate(20 116 264)'/%3E%3Cellipse cx='86' cy='232' rx='12' ry='10' transform='rotate(-20 86 232)'/%3E%3Cellipse cx='116' cy='224' rx='12' ry='10' transform='rotate(20 116 224)'/%3E%3Cellipse cx='86' cy='192' rx='12' ry='10' transform='rotate(-20 86 192)'/%3E%3Cellipse cx='116' cy='184' rx='12' ry='10' transform='rotate(20 116 184)'/%3E%3Cellipse cx='86' cy='152' rx='12' ry='10' transform='rotate(-20 86 152)'/%3E%3Cellipse cx='116' cy='144' rx='12' ry='10' transform='rotate(20 116 144)'/%3E%3Cellipse cx='86' cy='112' rx='12' ry='10' transform='rotate(-20 86 112)'/%3E%3Cellipse cx='116' cy='104' rx='12' ry='10' transform='rotate(20 116 104)'/%3E%3Cellipse cx='86' cy='72' rx='12' ry='10' transform='rotate(-20 86 72)'/%3E%3Cellipse cx='116' cy='64' rx='12' ry='10' transform='rotate(20 116 64)'/%3E%3Cellipse cx='86' cy='38' rx='12' ry='10' transform='rotate(-20 86 38)'/%3E%3Cellipse cx='116' cy='30' rx='12' ry='10' transform='rotate(20 116 30)'/%3E%3Cpath d='M101 262C135 252 155 226 166 190'/%3E%3Cellipse cx='122' cy='250' rx='10' ry='8' transform='rotate(-25 122 250)'/%3E%3Cellipse cx='138' cy='232' rx='10' ry='8' transform='rotate(-40 138 232)'/%3E%3Cellipse cx='152' cy='212' rx='10' ry='8' transform='rotate(-55 152 212)'/%3E%3Ccircle cx='166' cy='184' r='4' fill='black' stroke='none'/%3E%3Ccircle cx='174' cy='194' r='3' fill='black' stroke='none'/%3E%3Ccircle cx='160' cy='176' r='3' fill='black' stroke='none'/%3E%3Cpath d='M98 182C68 172 50 146 44 108'/%3E%3Cellipse cx='76' cy='170' rx='10' ry='8' transform='rotate(25 76 170)'/%3E%3Cellipse cx='60' cy='150' rx='10' ry='8' transform='rotate(40 60 150)'/%3E%3Cellipse cx='50' cy='128' rx='10' ry='8' transform='rotate(55 50 128)'/%3E%3Ccircle cx='44' cy='100' r='4' fill='black' stroke='none'/%3E%3Ccircle cx='36' cy='110' r='3' fill='black' stroke='none'/%3E%3C/svg%3E");
  --deco-lavanda:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 400' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M100 396C100 330 30 300 30 252'/%3E%3Cellipse cx='30' cy='184' rx='2.8' ry='6.5' transform='rotate(0 30 184)'/%3E%3Cellipse cx='25.5' cy='190' rx='3.2' ry='6.5' transform='rotate(-28 25.5 190)'/%3E%3Cellipse cx='34.5' cy='195' rx='3.2' ry='6.5' transform='rotate(28 34.5 195)'/%3E%3Cellipse cx='25.5' cy='200' rx='3.2' ry='6.5' transform='rotate(-28 25.5 200)'/%3E%3Cellipse cx='34.5' cy='205' rx='3.2' ry='6.5' transform='rotate(28 34.5 205)'/%3E%3Cellipse cx='25.5' cy='210' rx='3.2' ry='6.5' transform='rotate(-28 25.5 210)'/%3E%3Cellipse cx='34.5' cy='215' rx='3.2' ry='6.5' transform='rotate(28 34.5 215)'/%3E%3Cellipse cx='25.5' cy='220' rx='3.2' ry='6.5' transform='rotate(-28 25.5 220)'/%3E%3Cellipse cx='34.5' cy='225' rx='3.2' ry='6.5' transform='rotate(28 34.5 225)'/%3E%3Cellipse cx='25.5' cy='230' rx='3.2' ry='6.5' transform='rotate(-28 25.5 230)'/%3E%3Cellipse cx='34.5' cy='235' rx='3.2' ry='6.5' transform='rotate(28 34.5 235)'/%3E%3Cellipse cx='25.5' cy='240' rx='3.2' ry='6.5' transform='rotate(-28 25.5 240)'/%3E%3Cellipse cx='34.5' cy='245' rx='3.2' ry='6.5' transform='rotate(28 34.5 245)'/%3E%3Cellipse cx='25.5' cy='250' rx='3.2' ry='6.5' transform='rotate(-28 25.5 250)'/%3E%3Cellipse cx='34.5' cy='255' rx='3.2' ry='6.5' transform='rotate(28 34.5 255)'/%3E%3Cpath d='M100 396C100 330 56 300 56 174'/%3E%3Cellipse cx='56' cy='106' rx='2.8' ry='6.5' transform='rotate(0 56 106)'/%3E%3Cellipse cx='51.5' cy='112' rx='3.2' ry='6.5' transform='rotate(-28 51.5 112)'/%3E%3Cellipse cx='60.5' cy='117' rx='3.2' ry='6.5' transform='rotate(28 60.5 117)'/%3E%3Cellipse cx='51.5' cy='122' rx='3.2' ry='6.5' transform='rotate(-28 51.5 122)'/%3E%3Cellipse cx='60.5' cy='127' rx='3.2' ry='6.5' transform='rotate(28 60.5 127)'/%3E%3Cellipse cx='51.5' cy='132' rx='3.2' ry='6.5' transform='rotate(-28 51.5 132)'/%3E%3Cellipse cx='60.5' cy='137' rx='3.2' ry='6.5' transform='rotate(28 60.5 137)'/%3E%3Cellipse cx='51.5' cy='142' rx='3.2' ry='6.5' transform='rotate(-28 51.5 142)'/%3E%3Cellipse cx='60.5' cy='147' rx='3.2' ry='6.5' transform='rotate(28 60.5 147)'/%3E%3Cellipse cx='51.5' cy='152' rx='3.2' ry='6.5' transform='rotate(-28 51.5 152)'/%3E%3Cellipse cx='60.5' cy='157' rx='3.2' ry='6.5' transform='rotate(28 60.5 157)'/%3E%3Cellipse cx='51.5' cy='162' rx='3.2' ry='6.5' transform='rotate(-28 51.5 162)'/%3E%3Cellipse cx='60.5' cy='167' rx='3.2' ry='6.5' transform='rotate(28 60.5 167)'/%3E%3Cellipse cx='51.5' cy='172' rx='3.2' ry='6.5' transform='rotate(-28 51.5 172)'/%3E%3Cellipse cx='60.5' cy='177' rx='3.2' ry='6.5' transform='rotate(28 60.5 177)'/%3E%3Cpath d='M100 396C100 330 84 300 84 114'/%3E%3Cellipse cx='84' cy='46' rx='2.8' ry='6.5' transform='rotate(0 84 46)'/%3E%3Cellipse cx='79.5' cy='52' rx='3.2' ry='6.5' transform='rotate(-28 79.5 52)'/%3E%3Cellipse cx='88.5' cy='57' rx='3.2' ry='6.5' transform='rotate(28 88.5 57)'/%3E%3Cellipse cx='79.5' cy='62' rx='3.2' ry='6.5' transform='rotate(-28 79.5 62)'/%3E%3Cellipse cx='88.5' cy='67' rx='3.2' ry='6.5' transform='rotate(28 88.5 67)'/%3E%3Cellipse cx='79.5' cy='72' rx='3.2' ry='6.5' transform='rotate(-28 79.5 72)'/%3E%3Cellipse cx='88.5' cy='77' rx='3.2' ry='6.5' transform='rotate(28 88.5 77)'/%3E%3Cellipse cx='79.5' cy='82' rx='3.2' ry='6.5' transform='rotate(-28 79.5 82)'/%3E%3Cellipse cx='88.5' cy='87' rx='3.2' ry='6.5' transform='rotate(28 88.5 87)'/%3E%3Cellipse cx='79.5' cy='92' rx='3.2' ry='6.5' transform='rotate(-28 79.5 92)'/%3E%3Cellipse cx='88.5' cy='97' rx='3.2' ry='6.5' transform='rotate(28 88.5 97)'/%3E%3Cellipse cx='79.5' cy='102' rx='3.2' ry='6.5' transform='rotate(-28 79.5 102)'/%3E%3Cellipse cx='88.5' cy='107' rx='3.2' ry='6.5' transform='rotate(28 88.5 107)'/%3E%3Cellipse cx='79.5' cy='112' rx='3.2' ry='6.5' transform='rotate(-28 79.5 112)'/%3E%3Cellipse cx='88.5' cy='117' rx='3.2' ry='6.5' transform='rotate(28 88.5 117)'/%3E%3Cpath d='M100 396C100 330 114 300 114 88'/%3E%3Cellipse cx='114' cy='20' rx='2.8' ry='6.5' transform='rotate(0 114 20)'/%3E%3Cellipse cx='109.5' cy='26' rx='3.2' ry='6.5' transform='rotate(-28 109.5 26)'/%3E%3Cellipse cx='118.5' cy='31' rx='3.2' ry='6.5' transform='rotate(28 118.5 31)'/%3E%3Cellipse cx='109.5' cy='36' rx='3.2' ry='6.5' transform='rotate(-28 109.5 36)'/%3E%3Cellipse cx='118.5' cy='41' rx='3.2' ry='6.5' transform='rotate(28 118.5 41)'/%3E%3Cellipse cx='109.5' cy='46' rx='3.2' ry='6.5' transform='rotate(-28 109.5 46)'/%3E%3Cellipse cx='118.5' cy='51' rx='3.2' ry='6.5' transform='rotate(28 118.5 51)'/%3E%3Cellipse cx='109.5' cy='56' rx='3.2' ry='6.5' transform='rotate(-28 109.5 56)'/%3E%3Cellipse cx='118.5' cy='61' rx='3.2' ry='6.5' transform='rotate(28 118.5 61)'/%3E%3Cellipse cx='109.5' cy='66' rx='3.2' ry='6.5' transform='rotate(-28 109.5 66)'/%3E%3Cellipse cx='118.5' cy='71' rx='3.2' ry='6.5' transform='rotate(28 118.5 71)'/%3E%3Cellipse cx='109.5' cy='76' rx='3.2' ry='6.5' transform='rotate(-28 109.5 76)'/%3E%3Cellipse cx='118.5' cy='81' rx='3.2' ry='6.5' transform='rotate(28 118.5 81)'/%3E%3Cellipse cx='109.5' cy='86' rx='3.2' ry='6.5' transform='rotate(-28 109.5 86)'/%3E%3Cellipse cx='118.5' cy='91' rx='3.2' ry='6.5' transform='rotate(28 118.5 91)'/%3E%3Cpath d='M100 396C100 330 142 300 142 146'/%3E%3Cellipse cx='142' cy='78' rx='2.8' ry='6.5' transform='rotate(0 142 78)'/%3E%3Cellipse cx='137.5' cy='84' rx='3.2' ry='6.5' transform='rotate(-28 137.5 84)'/%3E%3Cellipse cx='146.5' cy='89' rx='3.2' ry='6.5' transform='rotate(28 146.5 89)'/%3E%3Cellipse cx='137.5' cy='94' rx='3.2' ry='6.5' transform='rotate(-28 137.5 94)'/%3E%3Cellipse cx='146.5' cy='99' rx='3.2' ry='6.5' transform='rotate(28 146.5 99)'/%3E%3Cellipse cx='137.5' cy='104' rx='3.2' ry='6.5' transform='rotate(-28 137.5 104)'/%3E%3Cellipse cx='146.5' cy='109' rx='3.2' ry='6.5' transform='rotate(28 146.5 109)'/%3E%3Cellipse cx='137.5' cy='114' rx='3.2' ry='6.5' transform='rotate(-28 137.5 114)'/%3E%3Cellipse cx='146.5' cy='119' rx='3.2' ry='6.5' transform='rotate(28 146.5 119)'/%3E%3Cellipse cx='137.5' cy='124' rx='3.2' ry='6.5' transform='rotate(-28 137.5 124)'/%3E%3Cellipse cx='146.5' cy='129' rx='3.2' ry='6.5' transform='rotate(28 146.5 129)'/%3E%3Cellipse cx='137.5' cy='134' rx='3.2' ry='6.5' transform='rotate(-28 137.5 134)'/%3E%3Cellipse cx='146.5' cy='139' rx='3.2' ry='6.5' transform='rotate(28 146.5 139)'/%3E%3Cellipse cx='137.5' cy='144' rx='3.2' ry='6.5' transform='rotate(-28 137.5 144)'/%3E%3Cellipse cx='146.5' cy='149' rx='3.2' ry='6.5' transform='rotate(28 146.5 149)'/%3E%3Cpath d='M100 396C100 330 170 300 170 212'/%3E%3Cellipse cx='170' cy='144' rx='2.8' ry='6.5' transform='rotate(0 170 144)'/%3E%3Cellipse cx='165.5' cy='150' rx='3.2' ry='6.5' transform='rotate(-28 165.5 150)'/%3E%3Cellipse cx='174.5' cy='155' rx='3.2' ry='6.5' transform='rotate(28 174.5 155)'/%3E%3Cellipse cx='165.5' cy='160' rx='3.2' ry='6.5' transform='rotate(-28 165.5 160)'/%3E%3Cellipse cx='174.5' cy='165' rx='3.2' ry='6.5' transform='rotate(28 174.5 165)'/%3E%3Cellipse cx='165.5' cy='170' rx='3.2' ry='6.5' transform='rotate(-28 165.5 170)'/%3E%3Cellipse cx='174.5' cy='175' rx='3.2' ry='6.5' transform='rotate(28 174.5 175)'/%3E%3Cellipse cx='165.5' cy='180' rx='3.2' ry='6.5' transform='rotate(-28 165.5 180)'/%3E%3Cellipse cx='174.5' cy='185' rx='3.2' ry='6.5' transform='rotate(28 174.5 185)'/%3E%3Cellipse cx='165.5' cy='190' rx='3.2' ry='6.5' transform='rotate(-28 165.5 190)'/%3E%3Cellipse cx='174.5' cy='195' rx='3.2' ry='6.5' transform='rotate(28 174.5 195)'/%3E%3Cellipse cx='165.5' cy='200' rx='3.2' ry='6.5' transform='rotate(-28 165.5 200)'/%3E%3Cellipse cx='174.5' cy='205' rx='3.2' ry='6.5' transform='rotate(28 174.5 205)'/%3E%3Cellipse cx='165.5' cy='210' rx='3.2' ry='6.5' transform='rotate(-28 165.5 210)'/%3E%3Cellipse cx='174.5' cy='215' rx='3.2' ry='6.5' transform='rotate(28 174.5 215)'/%3E%3Cpath d='M0 0C12-4 28-4 44 0C28 4 12 4 0 0ZM4 0H38' transform='translate(100 392) rotate(215) scale(1.9)'/%3E%3Cpath d='M0 0C12-4 28-4 44 0C28 4 12 4 0 0ZM4 0H38' transform='translate(100 392) rotate(235) scale(1.6)'/%3E%3Cpath d='M0 0C12-4 28-4 44 0C28 4 12 4 0 0ZM4 0H38' transform='translate(100 392) rotate(-35) scale(1.9)'/%3E%3Cpath d='M0 0C12-4 28-4 44 0C28 4 12 4 0 0ZM4 0H38' transform='translate(100 392) rotate(-55) scale(1.6)'/%3E%3C/svg%3E");
  --deco-margaritas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 400' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M100 396C96 330 70 250 62 132'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(0.0) scale(1.15)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(25.7) scale(1.15)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(51.4) scale(1.15)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(77.1) scale(1.15)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(102.9) scale(1.15)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(128.6) scale(1.15)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(154.3) scale(1.15)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(180.0) scale(1.15)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(205.7) scale(1.15)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(231.4) scale(1.15)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(257.1) scale(1.15)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(282.9) scale(1.15)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(308.6) scale(1.15)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(62 112) rotate(334.3) scale(1.15)'/%3E%3Ccircle cx='62' cy='112' r='4.83' fill='black' stroke='none'/%3E%3Cpath d='M100 396C104 320 108 230 106 82'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(0.0) scale(1.3)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(25.7) scale(1.3)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(51.4) scale(1.3)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(77.1) scale(1.3)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(102.9) scale(1.3)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(128.6) scale(1.3)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(154.3) scale(1.3)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(180.0) scale(1.3)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(205.7) scale(1.3)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(231.4) scale(1.3)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(257.1) scale(1.3)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(282.9) scale(1.3)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(308.6) scale(1.3)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(106 60) rotate(334.3) scale(1.3)'/%3E%3Ccircle cx='106' cy='60' r='5.460000000000001' fill='black' stroke='none'/%3E%3Cpath d='M100 396C108 340 140 280 152 172'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(0.0) scale(1.05)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(25.7) scale(1.05)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(51.4) scale(1.05)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(77.1) scale(1.05)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(102.9) scale(1.05)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(128.6) scale(1.05)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(154.3) scale(1.05)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(180.0) scale(1.05)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(205.7) scale(1.05)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(231.4) scale(1.05)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(257.1) scale(1.05)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(282.9) scale(1.05)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(308.6) scale(1.05)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(152 152) rotate(334.3) scale(1.05)'/%3E%3Ccircle cx='152' cy='152' r='4.41' fill='black' stroke='none'/%3E%3Cpath d='M100 396C90 360 50 330 30 292'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(0.0) scale(0.8)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(25.7) scale(0.8)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(51.4) scale(0.8)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(77.1) scale(0.8)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(102.9) scale(0.8)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(128.6) scale(0.8)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(154.3) scale(0.8)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(180.0) scale(0.8)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(205.7) scale(0.8)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(231.4) scale(0.8)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(257.1) scale(0.8)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(282.9) scale(0.8)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(308.6) scale(0.8)'/%3E%3Cpath d='M0-4C-3-10-3-18 0-23C3-18 3-10 0-4Z' transform='translate(28 274) rotate(334.3) scale(0.8)'/%3E%3Ccircle cx='28' cy='274' r='3.3600000000000003' fill='black' stroke='none'/%3E%3Cpath d='M100 396C115 370 160 350 178 312'/%3E%3Ccircle cx='180' cy='304' r='4' fill='black' stroke='none'/%3E%3Cpath d='M174 312C166 306 166 298 172 294'/%3E%3Cpath d='M0 0C12-4 28-4 44 0C28 4 12 4 0 0ZM4 0H38' transform='translate(82 300) rotate(215) scale(1)'/%3E%3Cpath d='M0 0C12-4 28-4 44 0C28 4 12 4 0 0ZM4 0H38' transform='translate(74 232) rotate(-50) scale(0.9)'/%3E%3Cpath d='M0 0C12-4 28-4 44 0C28 4 12 4 0 0ZM4 0H38' transform='translate(102 305) rotate(-40) scale(1.1)'/%3E%3Cpath d='M0 0C12-4 28-4 44 0C28 4 12 4 0 0ZM4 0H38' transform='translate(104 235) rotate(215) scale(1)'/%3E%3Cpath d='M0 0C12-4 28-4 44 0C28 4 12 4 0 0ZM4 0H38' transform='translate(105 172) rotate(-40) scale(0.9)'/%3E%3Cpath d='M0 0C12-4 28-4 44 0C28 4 12 4 0 0ZM4 0H38' transform='translate(118 335) rotate(-35) scale(1)'/%3E%3Cpath d='M0 0C12-4 28-4 44 0C28 4 12 4 0 0ZM4 0H38' transform='translate(136 262) rotate(215) scale(0.9)'/%3E%3Cpath d='M0 0C12-4 28-4 44 0C28 4 12 4 0 0ZM4 0H38' transform='translate(62 340) rotate(205) scale(1.1)'/%3E%3Cpath d='M0 0C12-4 28-4 44 0C28 4 12 4 0 0ZM4 0H38' transform='translate(140 345) rotate(-20) scale(1)'/%3E%3C/svg%3E");
  --deco-tulipanes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 400' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M100 396C70 350 52 290 58 220C82 270 98 330 100 396Z'/%3E%3Cpath d='M100 396C130 350 150 300 146 240C120 290 102 340 100 396Z'/%3E%3Cpath d='M100 396C96 340 112 300 122 262C112 310 106 350 100 396Z'/%3E%3Cpath d='M100 396C100 300 72 230 70 172'/%3E%3Cpath d='M-14 0C-18-16-12-32-8-40C-4-32 0-30 0-30C0-30 4-32 8-40C12-32 18-16 14 0C8 6-8 6-14 0Z' transform='translate(70 172) scale(1.3)'/%3E%3Cpath d='M0-30C-3-18-3-8 0 4' transform='translate(70 172) scale(1.3)'/%3E%3Cpath d='M100 396C104 290 112 190 112 118'/%3E%3Cpath d='M-14 0C-18-16-12-32-8-40C-4-32 0-30 0-30C0-30 4-32 8-40C12-32 18-16 14 0C8 6-8 6-14 0Z' transform='translate(112 118) scale(1.5)'/%3E%3Cpath d='M0-30C-3-18-3-8 0 4' transform='translate(112 118) scale(1.5)'/%3E%3Cpath d='M100 396C110 320 146 262 152 200'/%3E%3Cpath d='M-14 0C-18-16-12-32-8-40C-4-32 0-30 0-30C0-30 4-32 8-40C12-32 18-16 14 0C8 6-8 6-14 0Z' transform='translate(152 200) scale(1.2)'/%3E%3Cpath d='M0-30C-3-18-3-8 0 4' transform='translate(152 200) scale(1.2)'/%3E%3Cpath d='M100 396C92 350 50 320 34 280'/%3E%3Cpath d='M-14 0C-18-16-12-32-8-40C-4-32 0-30 0-30C0-30 4-32 8-40C12-32 18-16 14 0C8 6-8 6-14 0Z' transform='translate(34 282) scale(0.85)'/%3E%3Cpath d='M0-30C-3-18-3-8 0 4' transform='translate(34 282) scale(0.85)'/%3E%3C/svg%3E");
}

@media (max-width: 1000px) { :root { --visible: 3; } }
@media (max-width: 700px)  { :root { --visible: 2; --carousel-gap: 0.9rem; } }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
}

main { overflow-x: clip; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-header-bg);
  box-shadow: 0 2px 16px var(--color-shadow);
}

.header__inner {
  position: relative;
  height: var(--header-height);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 32px;
}

.header__logo {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.header__logo:hover { color: var(--color-accent); }

/* ---------- Navegación escritorio ---------- */

.nav-menu {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.nav-link {
  position: relative;
  padding: 8px 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover { color: var(--color-accent-hover); }
.nav-link:hover::after { transform: scaleX(1); }

/* ---------- Acciones ---------- */

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

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.icon-button:hover {
  background: var(--color-surface);
  color: var(--color-accent-hover);
}

.icon-button svg { width: 20px; height: 20px; }

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-ghost {
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-accent);
}

.btn-ghost:hover {
  background: var(--color-accent-tint);
  border-color: var(--color-accent-hover);
  color: var(--color-accent-hover);
}

.btn-primary {
  color: var(--color-white);
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(var(--color-accent-rgb), 0.3);
}

.btn-ghost:active,
.btn-primary:active { transform: translateY(0); }

/* ---------- Dropdown escritorio ---------- */

.nav-item-dropdown { position: relative; }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  padding: 10px 0;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 12px 28px var(--color-shadow);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}

.nav-item-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  padding: 9px 20px;
  font-size: 13.5px;
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-link:hover {
  background: var(--color-accent-tint);
  color: var(--color-accent-hover);
}

/* ---------- Hamburguesa ---------- */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.hamburger:hover { background: var(--color-surface); }

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Menú móvil ---------- */

.mobile-menu {
  display: none;
  position: sticky;
  top: var(--header-height);
  z-index: 99;
  background: var(--color-panel);
  border-bottom: 1px solid var(--color-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-menu.open {
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-nav {
  padding: 12px 20px 24px;
  display: flex;
  flex-direction: column;
}

.mobile-link {
  display: block;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}

.mobile-link:hover { color: var(--color-accent-hover); }

.mobile-item { border-bottom: 1px solid var(--color-border); }

.mobile-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.mobile-toggle:hover { color: var(--color-accent-hover); }

.mobile-toggle .chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.mobile-toggle.open .chevron { transform: rotate(180deg); }

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--color-surface);
}

.mobile-submenu.open { max-height: 500px; }

.mobile-sublink {
  display: block;
  padding: 11px 16px;
  font-size: 14.5px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-sublink:hover {
  background: var(--color-accent-tint);
  color: var(--color-accent-hover);
}

/* ---------- Panel del carrito ---------- */

.cart-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 32px;
  width: min(320px, calc(100vw - 24px));
  padding: 20px;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 12px 28px var(--color-shadow);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.cart-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.cart-panel__title {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
}

.cart-panel__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cart-panel__label { color: var(--color-text-muted); }
.cart-panel__amount { color: var(--color-text); }

.cart-panel .cart-panel__checkout {
  width: 100%;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ---------- Botones de sesión y usuario ---------- */

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-buttons.hidden,
.user-menu.hidden { display: none !important; }

.user-menu { position: relative; }

.user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-panel);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: background 0.2s, border-color 0.2s;
}

.user-btn:hover {
  background: var(--color-surface);
  border-color: var(--color-accent);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.user-btn[aria-expanded="true"] .user-chevron { transform: rotate(180deg); }

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 10px 25px var(--color-shadow);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 300;
}

.user-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  font-size: 14px;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background 0.15s;
}

.user-dropdown-item:hover {
  background: var(--color-accent-tint);
  color: var(--color-accent-hover);
}

/* ---------- Responsive header ---------- */

@media (max-width: 800px) {
  .header__inner { padding: 0 12px; gap: 8px; justify-content: space-between; }
  .header__logo { font-size: 20px; max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .header-actions { gap: 4px; }
  .icon-button { width: 36px; height: 36px; }
  .icon-button svg { width: 18px; height: 18px; }
  .btn { padding: 7px 12px; font-size: 12px; }
  .btn-ghost { padding: 7px 10px; }
  .user-name { max-width: 70px; }
  .cart-panel { right: 12px; }
}

@media (max-width: 480px) {
  .header__inner { padding: 0 10px; gap: 6px; }
  .header__logo { font-size: 17px; max-width: 105px; }
  .header-actions { gap: 3px; }
  .icon-button { width: 34px; height: 34px; }
  .btn { padding: 6px 10px; font-size: 11.5px; }
  .btn-ghost { display: none; }
  .user-name { display: none; }
  .cart-panel { right: 10px; }
}

@media (max-width: 360px) {
  .header__logo { font-size: 15px; max-width: 90px; }
  .btn-primary { padding: 6px 8px; font-size: 11px; }
}

/* ========================================
   PÁGINA DE PRODUCTOS
======================================== */
.productos-page {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.productos-page > * { position: relative; z-index: 1; }

.productos-page__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.productos-page__title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 500;
  color: var(--color-text);
}

.productos-page__title::after {
  content: '';
  width: 70px;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.6;
}

.productos-page__count {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Cuadrícula (calzado, playa, subcategoría, nuevos, todos) */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(var(--visible), minmax(0, 1fr));
  gap: 2rem var(--carousel-gap);
}

.productos-grid .product-card {
  flex: none;
  width: 100%;
}

.productos-vacio {
  padding: 3rem 0;
  text-align: center;
  color: var(--color-text-muted);
}

/* ========================================
   SECCIONES CON CARRUSEL (Ropa / Accesorios)
======================================== */
.product-section {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.75rem;
}

/* Dentro de la página ya hay margen lateral */
.productos-page .product-section {
  padding-left: 0;
  padding-right: 0;
}

.product-section + .product-section {
  border-top: 1px solid var(--color-border);
}

.product-section > * { position: relative; z-index: 1; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-text);
}

.section-title::after {
  content: '';
  width: 70px;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.6;
}

.section-ver-mas {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}

.section-ver-mas::after { content: ' →'; }
.section-ver-mas:hover { color: var(--color-accent-hover); }

/* ---------- Carrusel ---------- */

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-viewport {
  flex: 1;
  overflow: hidden;
  padding: 4px 0;
}

.carousel-track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.carousel-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-soft);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 5;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.carousel-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel-btn svg { width: 18px; height: 18px; }

/* Puntos debajo del carrusel (los crea el JS) */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
}

.carousel-dots:empty,
.carousel-dots[hidden] { display: none; }

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-dot);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot:hover { transform: scale(1.25); }
.carousel-dot.active { background: var(--color-dark); }

/* ========================================
   TARJETA DE PRODUCTO
   (la cantidad visible se controla con --visible en :root)
======================================== */
.product-card {
  flex: 0 0 calc((100% - (var(--visible) - 1) * var(--carousel-gap)) / var(--visible));
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  cursor: pointer;
  transition: transform 0.25s;
}

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

.product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-surface);
  transition: box-shadow 0.25s;
}

.product-card:hover .product-image { box-shadow: 0 10px 26px var(--color-shadow); }

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.product-image .img-default { opacity: 1; }
.product-image .img-hover { opacity: 0; }
.product-card:hover .img-default { opacity: 0; }
.product-card:hover .img-hover { opacity: 1; }

.product-name {
  margin: 0.8rem 0.15rem 0.3rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0.15rem 0.6rem;
  flex-wrap: wrap;
}

.price-current {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
}

.price-old {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-sale);
  text-decoration: line-through;
}

.product-colors {
  margin: -0.3rem 0.15rem 0.6rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.product-actions {
  display: flex;
  margin: auto 0.15rem 0.5rem;
}

.btn-card {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent-hover);
  text-decoration: none;
  transition: color 0.2s;
}

.btn-card::after { content: ' →'; }
.btn-card--primary:hover { color: var(--color-dark); }

/* Corazón de favoritos: arriba a la derecha de la imagen */
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.wishlist-btn:hover {
  background: var(--color-white);
  color: var(--color-sale);
  transform: scale(1.08);
}

.wishlist-btn svg { width: 17px; height: 17px; pointer-events: none; }

.wishlist-btn.is-favorite { color: var(--color-sale); }

.wishlist-btn.is-favorite svg {
  fill: var(--color-sale);
  stroke: var(--color-sale);
}

/* ========================================
   DECORACIÓN: flores y hojas en los costados de la pantalla
   Cada tipo de planta es distinto: eucalipto, lavanda, margaritas y tulipanes
======================================== */
.productos-page::before,
.productos-page::after,
.product-section::before {
  content: '';
  position: absolute;
  width: 170px;
  height: 340px;
  background: var(--color-leaf);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  -webkit-mask: var(--deco, var(--deco-eucalipto)) center / contain no-repeat;
          mask: var(--deco, var(--deco-eucalipto)) center / contain no-repeat;
}

/* Carruseles: se reparten por orden, alternando lado y tipo de planta */
.product-section::before { top: 50%; }

.product-section:nth-child(4n+1)::before { right: calc(50% - 50vw - 30px); transform: translateY(-50%) scaleX(-1); --deco: var(--deco-eucalipto); }
.product-section:nth-child(4n+2)::before { left:  calc(50% - 50vw - 30px); transform: translateY(-50%);            --deco: var(--deco-lavanda);   background: var(--color-leaf-rose); }
.product-section:nth-child(4n+3)::before { right: calc(50% - 50vw - 30px); transform: translateY(-50%) scaleX(-1); --deco: var(--deco-margaritas); }
.product-section:nth-child(4n+4)::before { left:  calc(50% - 50vw - 30px); transform: translateY(-50%);            --deco: var(--deco-tulipanes);  background: var(--color-leaf-rose); }

/* Cuadrículas: una planta arriba a la izquierda y otra abajo a la derecha */
.productos-page::before { top: 90px;    left:  calc(50% - 50vw - 30px); transform: rotate(8deg);               --deco: var(--deco-margaritas); }
.productos-page::after  { bottom: 40px; right: calc(50% - 50vw - 30px); transform: scaleX(-1) rotate(8deg);     --deco: var(--deco-tulipanes); background: var(--color-leaf-rose); }

@media (max-width: 1100px) {
  .productos-page::before,
  .productos-page::after,
  .product-section::before { display: none; }
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  margin-top: 4rem;
  padding-top: 3.5rem;
}

.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
}

.footer__tagline {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-footer-muted);
  max-width: 260px;
}

.footer__title {
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
}

.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 0.55rem; }

.footer__links a {
  color: var(--color-footer-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--color-white); }

.footer__contact { list-style: none; margin: 0 0 1.4rem; padding: 0; }

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  color: var(--color-footer-muted);
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}

.footer__social { display: flex; gap: 0.75rem; }

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-footer-line);
  color: var(--color-footer-text);
  transition: background 0.25s, color 0.25s, transform 0.2s;
}

.social-icon:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.social-icon svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid var(--color-footer-line);
  padding: 1.25rem 32px;
  text-align: center;
}

.footer__bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-footer-faint);
}

/* ========================================
   BOTÓN FLOTANTE WHATSAPP
======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(var(--color-whatsapp-rgb), 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(var(--color-whatsapp-rgb), 0.55);
}

.whatsapp-float svg { width: 30px; height: 30px; }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  .productos-page { padding: 1.75rem 1rem 3rem; }
  .product-section { padding: 2.25rem 1rem 2rem; }
  .productos-page .product-section { padding-left: 0; padding-right: 0; }
  .section-title { font-size: 1.4rem; }
  .section-title::after,
  .productos-page__title::after { width: 40px; }
  .carousel { gap: 0.4rem; }
  .carousel-btn { width: 34px; height: 34px; }
  .product-name { font-size: 0.82rem; }
  .price-current { font-size: 0.95rem; }
  .wishlist-btn { top: 8px; right: 8px; width: 30px; height: 30px; }
  .wishlist-btn svg { width: 15px; height: 15px; }
  .footer__inner { grid-template-columns: 1fr; padding: 0 20px 2.5rem; gap: 2rem; }
  .footer__bottom { padding: 1.1rem 20px; }
  .whatsapp-float { bottom: 20px; right: 18px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ========================================
   MODALES DE LOGIN Y REGISTRO
======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay, rgba(43, 37, 34, 0.45));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal-overlay:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--color-panel, #fcfaf7);
  border-radius: 18px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 20px 50px var(--color-shadow-strong, rgba(60, 40, 30, 0.18));
  transform: scale(0.95);
  transition: transform 0.25s;
}

.modal--wide { max-width: 460px; }

.modal-overlay:not([hidden]) .modal { transform: scale(1); }

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--color-text-muted, #7b6f68);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--color-surface, #ece5dc);
  color: var(--color-dark-soft, #4a403b);
}

.modal-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
}

.modal-form .form-group { margin-bottom: 1.1rem; }

.modal-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--color-border, #e2d9cf);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--color-accent, #b9877c);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb, 185, 135, 124), 0.2);
}

#regDescripcion {
  height: 90px;
  resize: none;
  overflow-y: auto;
}

.modal-btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
}

.required { color: var(--color-required, #c0392b); }

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.radio-group--horizontal {
  flex-direction: row;
  gap: 0.75rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-border, #e2d9cf);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}

.radio-option:hover {
  border-color: var(--color-accent, #b9877c);
  background: var(--color-accent-tint, #f1e2dd);
}

.radio-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent, #b9877c);
  cursor: pointer;
}

.radio-group--horizontal .radio-option {
  flex: 1;
  justify-content: center;
}

.info-box {
  background: var(--color-accent-tint, #f1e2dd);
  border: 1px solid rgba(var(--color-accent-rgb, 185, 135, 124), 0.25);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
}

.info-box p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted, #7b6f68);
}

.datos-opcionales.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.datos-opcionales.disabled input,
.datos-opcionales.disabled textarea {
  background: var(--color-disabled-bg, #efe9e2);
  cursor: not-allowed;
}

.modal-form .check-aceptar {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-text-muted, #7b6f68);
  cursor: pointer;
}

.modal-form .check-aceptar input {
  width: 18px;
  height: 18px;
  padding: 0;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-accent, #b9877c);
  cursor: pointer;
}

.modal-form .check-aceptar a {
  color: var(--color-accent-hover, #a5746a);
  font-weight: 500;
}