/** Shopify CDN: Minification failed

Line 2050:0 Unexpected "{"
Line 2050:1 Expected identifier but found "%"
Line 2052:0 Unexpected "{"
Line 2052:1 Expected identifier but found "%"

**/
/* ================================
   SPET THEME — MOBILE FIRST v4
   ================================ */
:root {
  --green: #00a651;
  --green-light: #E8F7EF;
  --green-dark: #007a3d;
  --purple: #8B6BA8;
  --purple-light: #F0EBF7;
  --purple-dark: #6a4e8a;
  --dark: #1A1209;
  --white: #FDFAF7;
  --gray: #F4F4F4;
  --gray-mid: #9B9B9B;
}

/* ====== RESET ====== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--dark); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.drawer-open { overflow: hidden; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; -webkit-tap-highlight-color: transparent; outline: none; }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea { -webkit-tap-highlight-color: transparent; }
* { -webkit-tap-highlight-color: transparent; }

/* ====== MOBILE HEADER ====== */
.site-header { display: none; }

.mobile-header {
  display: block;
  position: sticky; top: 0; z-index: 200;
  background: rgba(253,250,247,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
}
.mobile-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  height: 56px;
  flex-wrap: nowrap;
}
.mobile-logo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 900;
  letter-spacing: 5px;
}

/* ====== ICON BUTTONS ====== */
.icon-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; color: var(--dark);
}
.badge {
  position: absolute; top: 3px; right: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); color: white;
  font-size: 9px; font-weight: 700;
  display: none; align-items: center; justify-content: center;
}
.badge.show { display: flex; }

/* ====== SEARCH — lupa que se expande a la izq en el mismo botón ====== */
.search-expand-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  max-width: 100%;
  flex-shrink: 0;
  min-height: 0;
}
.search-expand-input {
  width: 0;
  min-width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border: none;
  opacity: 0;
  font-size: 15px;
  line-height: 0;
  font-family: inherit;
  outline: none;
  background: var(--gray);
  border-radius: 10px;
  transition: width .3s cubic-bezier(.4,0,.2,1), opacity .25s, padding .25s, height .25s;
  -webkit-appearance: none;
  overflow: hidden;
}
.search-expand-wrap.open .search-expand-input {
  width: 160px;
  height: auto;
  line-height: normal;
  opacity: 1;
  padding: 8px 12px;
  margin-right: 6px;
  border: 1.5px solid rgba(0,0,0,.1);
}
.search-expand-wrap.open .search-expand-input:focus {
  border-color: var(--green);
  background: var(--white);
}
@media (min-width: 768px) {
  .search-expand-wrap.open .search-expand-input { width: 200px; }
}

/* Panel de resultados debajo del header (se abre aparte) */
.search-results-panel {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 199;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 12px 16px;
  display: none;
  flex-direction: column;
  gap: 8px;
  -webkit-overflow-scrolling: touch;
  pointer-events: none;
}
.search-results-panel.has-results {
  display: flex;
  pointer-events: auto;
}
@media (min-width: 768px) {
  .search-results-panel { top: 66px; }
}
.search-results-panel .s-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--gray);
  cursor: pointer;
}
.search-results-panel .s-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.search-results-panel .s-result-info h5 { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.search-results-panel .s-result-info p { font-size: 13px; color: var(--green); font-weight: 700; }

/* Legacy (oculto): cuadro flotante ya no usado */
.search-bar {
  display: none;
}
.search-bar.open {
  display: none;
}
.search-inner { display: none; }
.search-close-btn { display: none; }
.search-results {
  margin-top: 10px;
  display: flex; flex-direction: column; gap: 6px;
  max-height: 50vh; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.s-result {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: 12px; background: var(--gray); cursor: pointer;
}
.s-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.s-result-info h5 { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.s-result-info p { font-size: 13px; color: var(--green); font-weight: 700; }

/* ====== OVERLAY & DRAWERS ====== */
.overlay {
  position: fixed; inset: 0; z-index: 290;
  background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.overlay.show { opacity: 1; pointer-events: all; }
@media (max-width: 767px) {
  .overlay {
    bottom: 68px;
  }
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 295;
  width: min(420px, 93vw); max-width: 100%; margin: 0; margin-right: 0;
  background: var(--white);
  transform: translateX(105%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  border-radius: 20px 0 0 20px;
  box-shadow: -8px 0 40px rgba(0,0,0,.12);
}
@media (max-width: 767px) {
  .drawer {
    top: 14px;
    bottom: 68px;
    border-radius: 20px 0 0 0;
  }
  /* Profile drawer: dejar espacio para la barra de idioma y que no se oculte en móvil */
  #prof-drawer {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 14px;
  border-bottom: 1px solid rgba(0,0,0,.06); flex-shrink: 0;
}
.drawer-head h3 { font-size: 17px; font-weight: 700; }
.drawer-count { color: var(--gray-mid); font-weight: 400; font-size: 14px; }
.d-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray); font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.drawer-body {
  flex: 1; min-height: 0; overflow-y: auto; padding: 14px 18px;
  display: flex; flex-direction: column; gap: 12px;
  -webkit-overflow-scrolling: touch;
}
.drawer-foot {
  padding: 14px 18px max(20px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(0,0,0,.06); flex-shrink: 0;
}
.empty-state {
  text-align: center; padding: 48px 0;
  color: var(--gray-mid); line-height: 2.2; font-size: 15px;
}

/* ====== CART ITEMS ====== */
.cart-item {
  display: flex; gap: 12px; padding: 12px;
  background: var(--gray); border-radius: 14px;
  position: relative; transition: background .2s;
}
.ci-img { width: 68px; height: 68px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.ci-placeholder { width: 68px; height: 68px; border-radius: 10px; background: #e0e0e0; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.ci-info { flex: 1; min-width: 0; }
.ci-info h5 { font-size: 13px; font-weight: 600; margin-bottom: 3px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-var { font-size: 11px; color: var(--gray-mid); margin-bottom: 5px; }
.ci-price { font-size: 14px; font-weight: 700; color: var(--green); }
.ci-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-b { width: 28px; height: 28px; border-radius: 50%; background: white; border: 1px solid rgba(0,0,0,.1); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qty-n { font-size: 13px; font-weight: 600; min-width: 20px; text-align: center; }
.ci-del { width: 28px; height: 28px; border-radius: 50%; background: white; border: 1px solid rgba(255,68,68,.2); color: #ff4444; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-left: auto; flex-shrink: 0; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.cart-continue-link { display: block; font-size: 13px; font-weight: 600; color: var(--green); margin-bottom: 12px; }
.cart-summary-drawer { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,.06); }
.cart-subtotal-row { display: flex; justify-content: space-between; font-size: 13px; color: #555; margin-bottom: 8px; }
.btn-checkout { display: block; width: 100%; padding: 12px; background: var(--green); color: white; border-radius: 50px; text-align: center; font-size: 13px; font-weight: 700; margin-bottom: 8px; min-height: 44px; }
.btn-continue { display: block; width: 100%; padding: 13px; border: 2px solid rgba(0,0,0,.1); border-radius: 50px; text-align: center; font-size: 13px; font-weight: 600; color: var(--dark); min-height: 46px; }

/* CART TRASH + SELECT */
.cart-trash-btn { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray-mid); transition: all .2s; }
.cart-trash-btn.active { background: #fff0f0; color: #cc3333; }
.cart-select-panel { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; background: #fffbf0; border-bottom: 1px solid rgba(0,0,0,.06); gap: 12px; flex-shrink: 0; }
.csp-all { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.csp-all input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--green); }
.csp-del-btn { padding: 8px 16px; background: #cc3333; color: white; border-radius: 50px; font-size: 12px; font-weight: 700; }
.cart-item-cb { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); width: 18px; height: 18px; accent-color: var(--green); display: none; z-index: 3; }
.cart-select-mode .cart-item-cb { display: block; }
.cart-select-mode .ci-img, .cart-select-mode .ci-placeholder { margin-left: 28px; }
.cart-item.selected { background: #e8f7ef; }

/* FREE SHIPPING BAR */
.free-ship-bar { padding: 0; background: transparent; border-bottom: none; flex-shrink: 0; }
.fsb-text { display: none; }
.fsb-track { height: 3px; background: #e8e8e8; border-radius: 0; overflow: hidden; }
.fsb-fill { height: 100%; background: linear-gradient(90deg, var(--green), #4dd48a); border-radius: 0; transition: width .5s ease; min-width: 2px; }

/* ====== WISHLIST ====== */
.wl-item { display: flex; gap: 10px; padding: 12px; background: var(--gray); border-radius: 14px; position: relative; }
.wl-img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.wl-placeholder { width: 58px; height: 58px; border-radius: 10px; background: #e0e0e0; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.wl-info { flex: 1; min-width: 0; }
.wl-info h5 { font-size: 12px; font-weight: 600; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-price { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 6px; }
.wl-actions { display: flex; gap: 6px; }
.wl-add-btn { flex: 1; padding: 7px; background: var(--green); color: white; border-radius: 50px; font-size: 11px; font-weight: 700; }
.wl-add-btn.purple { background: var(--purple); }
.wl-del { width: 30px; height: 30px; border-radius: 50%; background: white; border: 1px solid rgba(255,68,68,.2); color: #ff4444; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wl-trash-btn { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray-mid); transition: all .2s; }
.wl-trash-btn.active { background: #fff0f0; color: #cc3333; }
.wl-select-panel { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; background: #fffbf0; border-bottom: 1px solid rgba(0,0,0,.06); gap: 12px; flex-shrink: 0; }
.wl-item-cb { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); width: 18px; height: 18px; accent-color: var(--green); display: none; z-index: 3; }
.wl-select-mode .wl-item-cb { display: block; }
.wl-select-mode .wl-img, .wl-select-mode .wl-placeholder { margin-left: 28px; }
.wl-item.selected { background: #e8f7ef; }

/* ====== PROFILE DRAWER ====== */
.profile-box { display: flex; flex-direction: column; gap: 14px; }
.p-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg,var(--green),var(--purple)); color: white; font-family: 'Playfair Display',serif; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 4px auto; }
.p-name { font-size: 17px; font-weight: 700; text-align: center; }
.p-email { font-size: 13px; color: var(--gray-mid); text-align: center; }
.lang-row { display: flex; align-items: center; gap: 8px; background: var(--gray); border-radius: 12px; padding: 12px 14px; font-size: 13px; font-weight: 600; }
.lang-btn { padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; border: 1.5px solid rgba(0,0,0,.1); background: white; }
.lang-btn.active { background: var(--green); color: white; border-color: var(--green); }
.lang-flag { font-size: 22px; line-height: 1; padding: 6px 12px; }
.p-link { display: block; padding: 14px 16px; margin-top: 4px; background: var(--gray); border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--dark); }
.p-link.out { color: #cc3333; background: #fff0f0; }
.auth-tabs { display: flex; gap: 4px; background: var(--gray); padding: 4px; border-radius: 12px; margin-bottom: 22px; }
.auth-tab { flex: 1; padding: 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--gray-mid); }
.auth-tab.active { background: white; color: var(--dark); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.auth-form { display: flex; flex-direction: column; gap: 22px; }
.auth-form.hidden { display: none; }
.auth-errors { font-size: 13px; color: #c62828; background: #ffebee; padding: 10px 14px; border-radius: 12px; margin-bottom: 4px; }
.auth-form input {
  padding: 14px 18px;
  margin-bottom: 4px;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 14px;
  font-size: 15px; font-family: inherit;
  outline: none; width: 100%;
  -webkit-appearance: none; background: var(--gray);
}
.auth-form input:focus { border-color: var(--green); background: white; }
.btn-auth { padding: 16px; background: var(--green); color: white; border-radius: 50px; font-size: 15px; font-weight: 700; width: 100%; min-height: 52px; margin-top: 4px; }
.forgot-link { font-size: 13px; color: var(--gray-mid); text-align: center; display: block; margin-top: 8px; }

#prof-drawer .drawer-body { gap: 18px; padding: 18px 20px 50px; }
.drawer-lang-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) 14px;
  border-top: 1px solid rgba(0,0,0,.06);
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  background: var(--white);
  z-index: 2;
}
@media (max-width: 767px) {
  .drawer-lang-bar {
    padding: 10px 14px max(10px, env(safe-area-inset-bottom, 0px)) 14px;
  }
}
.lang-flag-mini { font-size: 14px; line-height: 1; padding: 4px 8px; border: 1px solid rgba(0,0,0,.1); border-radius: 6px; background: var(--gray); cursor: pointer; }
.lang-flag-mini.active { background: var(--green); border-color: var(--green); }

/* ====== HERO ====== */
.hero {
  padding: clamp(36px,8vw,80px) 16px clamp(28px,6vw,60px);
  text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(160deg,#f9f6f1 0%,#eef7ef 50%,#f0ebf7 100%);
}
.hero::before { content:''; position:absolute; top:-80px; right:-80px; width:min(320px,60vw); height:min(320px,60vw); background:radial-gradient(circle,rgba(0,166,81,.08),transparent 70%); border-radius:50%; pointer-events:none; }
.hero::after { content:''; position:absolute; bottom:-60px; left:-60px; width:min(260px,50vw); height:min(260px,50vw); background:radial-gradient(circle,rgba(139,107,168,.08),transparent 70%); border-radius:50%; pointer-events:none; }
.hero-eye { display:inline-block; font-size:10px; letter-spacing:3px; text-transform:uppercase; font-weight:700; color:var(--green); background:var(--green-light); padding:6px 16px; border-radius:50px; margin-bottom:18px; }
.hero h1 { font-family:'Playfair Display',serif; font-size:clamp(28px,7vw,72px); font-weight:900; line-height:1.08; margin-bottom:14px; }
.hero-sub { font-size:clamp(13px,3vw,16px); color:var(--gray-mid); margin:0 auto clamp(28px,5vw,48px); max-width:400px; line-height:1.6; }
.hero-cards { display:grid; grid-template-columns:1fr; gap:14px; max-width:800px; margin:0 auto; }
.hero-card { border-radius:20px; padding:clamp(22px,5vw,36px) clamp(18px,4vw,28px); text-align:left; cursor:pointer; transition:transform .25s,box-shadow .25s; }
.hero-card.dog { background:linear-gradient(135deg,#eef7ef,#d4f0df); }
.hero-card.cat { background:linear-gradient(135deg,#f0ebf7,#e0d4f0); }
.c-icon { font-size:32px; display:block; margin-bottom:10px; }
.hero-card .c-icon-img { display:block; width:clamp(132px,33vw,216px); height:auto; max-width:216px; max-height:216px; object-fit:contain; margin-bottom:10px; }
.hero-card h3 { font-size:clamp(14px,3vw,18px); font-weight:700; margin-bottom:6px; }
.hero-card p { font-size:13px; color:#555; margin-bottom:16px; line-height:1.5; }
.btn-hero { display:inline-block; padding:10px 20px; border-radius:50px; font-size:12px; font-weight:700; color:white; }
.btn-dog { background:var(--green); }
.btn-cat { background:var(--purple); }

/* ====== PET SECTIONS ====== */
.pet-section { display:none; padding:clamp(32px,6vw,72px) 16px; animation:fadeUp .4s ease; }
.pet-section.active { display:block; }
.dog-section { background:linear-gradient(180deg,#f6fbf7,var(--white)); }
.cat-section { background:linear-gradient(180deg,#f5f0fa,var(--white)); }
@keyframes fadeUp { from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:translateY(0);} }
.sec-head { text-align:center; margin-bottom:24px; }
.sec-tag { display:inline-block; font-size:10px; letter-spacing:3px; text-transform:uppercase; font-weight:700; padding:5px 14px; border-radius:50px; margin-bottom:10px; }
.dog-section .sec-tag { background:var(--green-light); color:var(--green-dark); }
.cat-section .sec-tag { background:var(--purple-light); color:var(--purple-dark); }
.sec-head h2 { font-family:'Playfair Display',serif; font-size:clamp(22px,5vw,40px); font-weight:700; }
.cat-pills { display:flex; gap:8px; overflow-x:auto; flex-wrap:nowrap; padding-bottom:4px; margin-bottom:24px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.cat-pills::-webkit-scrollbar { display:none; }
.pill { padding:8px 18px; border-radius:50px; font-size:12px; font-weight:600; border:2px solid rgba(0,0,0,.08); background:white; white-space:nowrap; flex-shrink:0; }
.dog-section .pill.active { background:var(--green); color:white; border-color:var(--green); }
.cat-section .pill.active { background:var(--purple); color:white; border-color:var(--purple); }

/* ======================================================
   PRODUCT GRID — CSS COLUMNS (masonry, como Temu)
   Sin huecos, cards de distinta altura se juntan solas
   ====================================================== */
.prod-grid {
  column-count: 2;
  column-gap: 10px;
}
.prod-card {
  break-inside: avoid;
  display: block;
  width: 100%;
  margin-bottom: 10px;
  border-radius: 14px;
  overflow: hidden;
  background: white;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

/* Imagen — altura automática según contenido real */
.prod-img-wrap {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  /* Sin aspect-ratio fijo — la imagen define la altura */
}
.prod-img-link {
  display: block;
  width: 100%;
}
.prod-img-link:focus { outline: none; }
.p-img-real {
  width: 100%;
  height: auto; /* Altura real de la imagen, sin recorte */
  display: block;
  object-fit: cover;
}
.p-img-placeholder {
  width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; background: var(--gray);
}

/* Body de la card */
.prod-body {
  padding: 10px;
  display: flex; flex-direction: column; gap: 5px;
}
.prod-name {
  font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--dark);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.price-row { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.prod-price { font-size: 14px; font-weight: 700; }
.dog-price { color: var(--green); }
.cat-price { color: var(--purple); }
.both-price { background: linear-gradient(135deg,var(--green),var(--purple)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.other-price { color: var(--dark); }
.compare-price-sm { font-size: 10px; color: var(--gray-mid); text-decoration: line-through; font-weight: 400; }

/* Stars */
.stars { display: flex; align-items: center; gap: 2px; }
.stars small { font-size: 10px; color: var(--gray-mid); margin-left: 3px; }
.s-full { color: #FFB800; font-size: 11px; }
.s-empty { color: #e0e0e0; font-size: 11px; }

/* Stock badge — compacto, no desborda */
.stock-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 50px;
  width: fit-content; max-width: 100%;
  white-space: nowrap; flex-shrink: 0;
}
.in-stock { background: #E8F7EF; color: var(--green-dark); }
.low-stock { background: #FFF3E0; color: #E65100; }
.sold-out-badge { background: #FFEBEE; color: #C62828; }

/* Badge descuento */
.discount-badge {
  position: absolute; top: 7px; left: 7px;
  background: #ff3b30; color: white;
  font-size: 10px; font-weight: 800;
  padding: 3px 7px; border-radius: 6px; z-index: 4;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(255,59,48,.35);
}

/* Heart button */
.prod-fav-row {
  position: absolute; top: 8px; right: 8px;
  display: flex; align-items: center; gap: 6px;
  z-index: 5;
}
.prod-pet-icon {
  width: 30px; height: 30px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.heart-btn {
  width: 30px; height: 30px; border-radius: 50%;
  background: white;
  border: 1.5px solid rgba(0,0,0,.14);
  box-shadow: 0 1px 5px rgba(0,0,0,.1);
  font-size: 14px; display: flex; align-items: center; justify-content: center;
  z-index: 5;
}
.heart-btn.active { border-color: #ff4444; }
.hide { display: none !important; }

/* ====== SWATCHES — círculos de color ====== */
.swatches {
  display: flex;
  gap: 8px;       /* espacio entre círculos */
  flex-wrap: wrap;
  margin-top: 4px;
}
.swatch {
  width: 18px; height: 18px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  /* Borde siempre visible, fino */
  outline: 1.5px solid rgba(0,0,0,.18);
  outline-offset: 0px;
  border: none;
  transition: transform .15s, outline-offset .15s;
}
/* Seleccionado: anillo exterior fino y limpio */
.swatch.active {
  outline: 2px solid var(--dark);
  outline-offset: 2px; /* espacio blanco entre el círculo y el anillo */
  transform: scale(1.08);
}
/* Colores claros: outline más oscuro */
.swatch.swatch-light {
  outline: 1.5px solid rgba(0,0,0,.35) !important;
}
.swatch.swatch-light.active {
  outline: 2px solid var(--dark) !important;
  outline-offset: 2px;
}
/* No disponible */
.swatch.unavail {
  opacity: .35; cursor: not-allowed;
}
.swatch.unavail::after {
  content: ''; position: absolute;
  top: 50%; left: -1px; right: -1px;
  height: 1.5px; background: rgba(0,0,0,.55);
  transform: rotate(-45deg);
}

/* ====== SIZES — botones de talla ====== */
.sizes {
  display: flex;
  gap: 6px;       /* espacio entre tallas */
  flex-wrap: wrap;
  margin-top: 3px;
}
.size-opt {
  min-width: 30px; height: 26px;
  padding: 0 7px; border-radius: 6px;
  /* Borde visible siempre */
  border: 1.5px solid rgba(0,0,0,.18);
  font-size: 10px; font-weight: 700;
  background: white; color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; position: relative; overflow: hidden;
}
/* Seleccionado */
.size-opt.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
/* No disponible */
.size-opt.unavail {
  color: #ccc; border-color: #e0e0e0; cursor: not-allowed;
}
.size-opt.unavail::after {
  content: ''; position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px; background: rgba(0,0,0,.2);
  transform: rotate(-18deg);
}

/* Cart button */
.btn-cart {
  width: 100%; padding: 9px 6px;
  border-radius: 10px; font-size: 11px; font-weight: 700;
  color: #fff !important; min-height: 36px; margin-top: 3px;
  -webkit-appearance: none;
  -webkit-text-fill-color: #fff;
}
.btn-cart-green { background: var(--green); }
.btn-cart-purple { background: var(--purple); }
.btn-cart-both { background: linear-gradient(90deg, var(--green) 0%, var(--green) 50%, var(--purple) 50%, var(--purple) 100%); }
.btn-cart-other { background: var(--dark); }
.btn-cart[disabled] { opacity: .5; cursor: not-allowed; }
.btn-cart.adding,
.btn-cart.added { color: #fff !important; -webkit-text-fill-color: #fff; }

/* ====== ALL PRODUCTS ====== */
.all-sec { padding: clamp(40px,6vw,72px) 16px; }
.divider { height: 1px; background: linear-gradient(90deg,transparent,var(--green),var(--purple),transparent); margin-bottom: clamp(40px,6vw,72px); }
.sec-tag-both { display:block; font-size:10px; letter-spacing:4px; text-transform:uppercase; font-weight:600; margin-bottom:10px; color:var(--purple); text-align:center; }
.all-title { font-family:'Playfair Display',serif; font-size:clamp(22px,4vw,42px); font-weight:700; background:linear-gradient(135deg,var(--green),var(--purple)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; text-align:center; }

/* ====== COLLECTION PAGE ====== */
.collection-page { padding: 0; }
.collection-header { text-align:center; padding:clamp(40px,8vw,60px) 16px clamp(24px,4vw,40px); background:linear-gradient(160deg,#f9f6f1,#eef7ef 60%,#f0ebf7); }
.collection-header h1 { font-family:'Playfair Display',serif; font-size:clamp(24px,5vw,48px); font-weight:700; margin-bottom:8px; }
.collection-header p { color:#666; font-size:14px; max-width:500px; margin:0 auto; }
.collection-toolbar { display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid rgba(0,0,0,.06); flex-wrap:wrap; gap:10px; }
.collection-count { font-size:12px; color:var(--gray-mid); }
.collection-sort { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:600; }
.collection-sort select { padding:8px 12px; border-radius:50px; border:1.5px solid rgba(0,0,0,.1); font-size:12px; font-family:inherit; outline:none; cursor:pointer; background:white; -webkit-appearance:none; }
.collection-filter-pills { display:flex; gap:8px; padding:10px 16px; overflow-x:auto; border-bottom:1px solid rgba(0,0,0,.05); scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.collection-filter-pills::-webkit-scrollbar { display:none; }
.collection-body { padding:20px 16px clamp(60px,10vw,80px); }

/* ====== PRODUCT PAGE ====== */
.product-page { padding:16px 16px clamp(80px,12vw,100px); }
.product-page-inner { display:grid; grid-template-columns:1fr; gap:24px; max-width:1100px; margin:0 auto; }
.prod-gallery { position: relative; }
.pp-discount-badge { display:inline-block; background:#ff3b30; color:white; font-size:12px; font-weight:800; padding:5px 12px; border-radius:8px; margin-bottom:10px; }
.gallery-main { border-radius:16px; overflow:hidden; margin-bottom:10px; background:var(--gray); position:relative; cursor:zoom-in; }
.gallery-main-img { width:100%; height:clamp(240px,50vw,480px); object-fit:cover; display:block; }
.zoom-hint { position:absolute; bottom:10px; right:10px; background:rgba(0,0,0,.5); color:white; font-size:10px; padding:4px 10px; border-radius:20px; pointer-events:none; }
.gallery-thumbs { display:flex; gap:6px; flex-wrap:wrap; }
.gallery-thumb-wrap { width:60px; height:60px; border-radius:10px; overflow:hidden; cursor:pointer; border:2px solid transparent; opacity:.7; }
.gallery-thumb-wrap img { width:100%; height:100%; object-fit:cover; }
.gallery-thumb-wrap.active { border-color:var(--green); opacity:1; }
.prod-vendor { font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--gray-mid); font-weight:600; margin-bottom:8px; }
.prod-title { font-family:'Playfair Display',serif; font-size:clamp(20px,5vw,34px); font-weight:700; margin-bottom:12px; line-height:1.2; }
.stars-row { display:flex; align-items:center; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
.review-count { font-size:12px; color:var(--gray-mid); }
.pp-price-row { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.prod-price-big { font-size:clamp(22px,5vw,30px); font-weight:700; }
.compare-price { font-size:16px; text-decoration:line-through; color:var(--gray-mid); font-weight:400; }
.pp-compare { font-size:17px; text-decoration:line-through; color:var(--gray-mid); font-weight:400; }
.pp-pct-badge { background:#ffecec; color:#cc0000; font-size:12px; font-weight:800; padding:3px 8px; border-radius:6px; }
.pp-option-group { margin-bottom:16px; }
.option-label { font-size:12px; font-weight:700; display:block; margin-bottom:8px; text-transform:uppercase; letter-spacing:.5px; }

/* Swatches grandes en producto */
.swatches-big { display:flex; gap:10px; flex-wrap:wrap; }
.swatch-big {
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0; position: relative;
  outline: 1.5px solid rgba(0,0,0,.18);
  outline-offset: 0;
  border: none;
  transition: transform .15s, outline-offset .15s;
}
.swatch-big.active {
  outline: 2px solid var(--dark);
  outline-offset: 2.5px;
  transform: scale(1.08);
}
.swatch-big.swatch-light { outline: 1.5px solid rgba(0,0,0,.35) !important; }
.swatch-big.swatch-light.active { outline: 2px solid var(--dark) !important; outline-offset: 2.5px; }
.swatch-big.unavail { opacity:.4; cursor:not-allowed; }
.swatch-big.unavail::after { content:''; position:absolute; top:50%; left:-2px; right:-2px; height:2px; background:rgba(0,0,0,.5); transform:rotate(-45deg); }

/* Tallas grandes en producto */
.sizes-big { display:flex; gap:10px; flex-wrap:wrap; }
.size-big {
  min-width: 44px; height: 40px; padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(0,0,0,.18);
  font-size: 13px; font-weight: 700;
  background: white; color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; position: relative; overflow: hidden;
}
.size-big.active { background:var(--green); color:white; border-color:var(--green); }
.size-big.unavail { color:#ccc; border-color:#e0e0e0; cursor:not-allowed; }
.size-big.unavail::after { content:''; position:absolute; top:50%; left:4px; right:4px; height:1.5px; background:#ccc; transform:rotate(-8deg); }

.select-wrap select { width:100%; padding:12px 16px; border:2px solid rgba(0,0,0,.1); border-radius:12px; font-size:14px; font-family:inherit; outline:none; background:white; -webkit-appearance:none; }
.qty-row { margin-bottom:18px; }
.qty-control { display:flex; align-items:center; gap:14px; }
.qty-control button { width:40px; height:40px; border-radius:50%; background:var(--gray); font-size:20px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.qty-control input { width:56px; text-align:center; font-size:16px; font-weight:700; border:2px solid rgba(0,0,0,.08); border-radius:12px; padding:8px; font-family:inherit; -webkit-appearance:none; }
.prod-actions { display:flex; gap:10px; margin-bottom:24px; }
.btn-add-to-cart { flex:1; padding:15px; border-radius:50px; font-size:15px; font-weight:700; color:white; min-height:52px; }
.btn-wishlist-prod { width:52px; height:52px; border-radius:50%; background:var(--gray); font-size:22px; display:flex; align-items:center; justify-content:center; flex-shrink:0; border:1.5px solid rgba(0,0,0,.1); }
.btn-wishlist-prod.active { background:#fff0f2; color:#e8002d; border-color:#ffb3bc; }
.prod-desc { margin-top:24px; padding-top:24px; border-top:1px solid rgba(0,0,0,.06); }
.prod-desc h3 { font-size:15px; font-weight:700; margin-bottom:10px; }
.prod-desc p, .prod-desc li { font-size:14px; line-height:1.7; color:#444; }
.related-products { padding:clamp(24px,5vw,40px) 16px; }
.related-products h3 { font-family:'Playfair Display',serif; font-size:clamp(20px,4vw,24px); font-weight:700; margin-bottom:20px; }

/* ====== ACCOUNT PAGE ====== */
.account-page { max-width:820px; margin:0 auto; padding:clamp(24px,5vw,60px) 16px clamp(80px,12vw,100px); }
.account-hero { background:linear-gradient(135deg,var(--green-light),var(--purple-light)); border-radius:20px; padding:clamp(20px,4vw,32px); display:flex; align-items:center; gap:16px; margin-bottom:28px; flex-wrap:wrap; }
.account-avatar { width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg,var(--green),var(--purple)); color:white; font-family:'Playfair Display',serif; font-size:26px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.account-meta h2 { font-size:clamp(16px,4vw,20px); font-weight:700; margin-bottom:4px; }
.account-meta p { font-size:13px; color:#555; }
.account-actions { display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.account-btn { padding:9px 20px; border-radius:50px; font-size:13px; font-weight:600; display:inline-block; }
.account-btn-red { background:#fff0f0; color:#cc3333; border:1.5px solid #ffcccc; }
.account-section-title { font-family:'Playfair Display',serif; font-size:clamp(18px,4vw,22px); font-weight:700; margin-bottom:16px; margin-top:32px; }
.account-section-title { font-size:18px; font-weight:700; margin:0 0 16px; }
.account-favorites-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:16px; margin-bottom:32px; }
.account-fav-card { background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 2px 12px rgba(0,0,0,.06); }
.account-fav-card a { display:block; text-decoration:none; color:inherit; }
.account-fav-img { width:100%; aspect-ratio:1; object-fit:cover; display:block; }
.account-fav-placeholder { width:100%; aspect-ratio:1; background:var(--gray); display:flex; align-items:center; justify-content:center; font-size:36px; }
.account-fav-info { padding:12px; }
.account-fav-title { font-size:14px; font-weight:600; margin:0 0 4px; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.account-fav-price { font-size:13px; font-weight:700; color:var(--green); margin:0; }

.orders-table { width:100%; border-collapse:collapse; }
.orders-table th { text-align:left; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; font-weight:700; color:var(--gray-mid); padding:0 10px 12px; border-bottom:1px solid rgba(0,0,0,.06); }
.orders-table td { padding:12px 10px; font-size:13px; border-bottom:1px solid rgba(0,0,0,.04); vertical-align:middle; }
.order-number { font-weight:700; color:var(--green); }
.order-link { font-size:12px; font-weight:600; color:var(--green); text-decoration:underline; }
.status-pill { display:inline-block; padding:4px 10px; border-radius:50px; font-size:11px; font-weight:700; text-transform:capitalize; }
.status-paid,.status-authorized { background:#e8f7ef; color:#007a3d; }
.status-pending { background:#fff3e0; color:#e65100; }
.status-refunded,.status-voided { background:#f5f5f5; color:#777; }
.status-unpaid { background:#ffebee; color:#c62828; }
.no-orders-state { text-align:center; padding:48px 20px; background:var(--gray); border-radius:16px; color:var(--gray-mid); }

/* ====== CART PAGE ====== */
.cart-page { max-width:900px; margin:0 auto; padding:clamp(24px,5vw,48px) 16px clamp(80px,10vw,100px); }
.cart-page-title { font-family:'Playfair Display',serif; font-size:clamp(24px,5vw,40px); font-weight:700; margin-bottom:28px; }
.cart-page-layout { display:grid; grid-template-columns:1fr; gap:24px; }
.cart-page-items { display:flex; flex-direction:column; gap:14px; }
.cp-item { display:flex; gap:14px; padding:14px; background:white; border-radius:14px; box-shadow:0 2px 10px rgba(0,0,0,.05); }
.cp-img { width:80px; height:80px; border-radius:10px; object-fit:cover; flex-shrink:0; }
.cp-placeholder { width:80px; height:80px; border-radius:10px; background:var(--gray); display:flex; align-items:center; justify-content:center; font-size:28px; flex-shrink:0; }
.cp-info { flex:1; min-width:0; }
.cp-title { font-size:14px; font-weight:600; margin-bottom:3px; }
.cp-variant { font-size:11px; color:var(--gray-mid); margin-bottom:6px; }
.cp-price { font-size:15px; font-weight:700; color:var(--green); margin-bottom:8px; }
.cp-controls { display:flex; align-items:center; gap:8px; }
.cp-qty-btn { width:30px; height:30px; border-radius:50%; background:var(--gray); font-size:16px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.cp-qty-n { font-size:14px; font-weight:700; min-width:22px; text-align:center; }
.cp-del { margin-left:auto; font-size:12px; color:var(--gray-mid); font-weight:600; padding:4px 8px; }
.cart-summary { background:white; border-radius:18px; padding:22px; box-shadow:0 2px 16px rgba(0,0,0,.07); }
.cart-summary h3 { font-size:15px; font-weight:700; margin-bottom:18px; padding-bottom:12px; border-bottom:1px solid rgba(0,0,0,.06); }
.summary-row { display:flex; justify-content:space-between; font-size:13px; margin-bottom:10px; color:#555; }
.summary-row.total { font-size:16px; font-weight:700; color:var(--dark); padding-top:12px; border-top:1px solid rgba(0,0,0,.08); margin-bottom:18px; }
.shipping-note { font-size:12px; color:var(--green); font-weight:600; text-align:center; margin-bottom:14px; }
.coupon-row { display:flex; gap:8px; margin-bottom:16px; }
.coupon-row input { flex:1; min-width:0; padding:10px 14px; border:1.5px solid rgba(0,0,0,.1); border-radius:50px; font-size:13px; font-family:inherit; outline:none; -webkit-appearance:none; }
.coupon-row button { padding:10px 14px; background:var(--gray); border-radius:50px; font-size:12px; font-weight:600; white-space:nowrap; }

/* ====== PAGE CONTENT ====== */
.page-content { max-width:800px; margin:0 auto; padding:clamp(32px,6vw,60px) 16px clamp(60px,8vw,80px); }
.page-content h1 { font-family:'Playfair Display',serif; font-size:clamp(24px,5vw,42px); margin-bottom:24px; }
.page-body { font-size:15px; line-height:1.8; color:#333; }
.page-body p { margin-bottom:14px; }

/* ====== FOOTER ====== */
.site-footer { background:var(--dark); color:rgba(255,255,255,.65); padding:clamp(32px,5vw,48px) 16px clamp(20px,3vw,32px); }
.footer-inner { max-width:1100px; margin:0 auto; }
.footer-top { display:flex; flex-direction:column; gap:24px; margin-bottom:28px; }
.footer-logo { font-family:'Playfair Display',serif; color:white; font-size:20px; letter-spacing:5px; margin-bottom:8px; }
.footer-desc { font-size:13px; line-height:1.6; max-width:260px; }
.footer-links h4 { font-size:10px; letter-spacing:2px; text-transform:uppercase; color:white; font-weight:600; margin-bottom:12px; }
.footer-links ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-links a { font-size:13px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding-top:20px; display:flex; flex-direction:column; align-items:center; gap:12px; font-size:12px; text-align:center; }
.footer-policies { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }
.footer-policies a { font-size:11px; }

/* ====== MOBILE BOTTOM NAV ====== */
.mobile-bottom-nav {
  display: block;
  position: fixed; bottom:0; left:0; right:0; z-index:199;
  background: rgba(253,250,247,.97); backdrop-filter:blur(20px);
  border-top: 1px solid rgba(0,0,0,.07);
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
}
.mbn-items { display:flex; align-items:center; justify-content:space-around; }
.mbn-item {
  display:flex; flex-direction:column; align-items:center; gap:3px;
  padding:4px 10px; font-size:9px; font-weight:600; color:var(--gray-mid);
  position:relative; min-width:52px; min-height:44px;
  border:none; background:none; cursor:pointer;
}
.mbn-item.active { color:var(--green); }
.mbn-badge { position:absolute; top:0; right:8px; width:15px; height:15px; border-radius:50%; background:var(--green); color:white; font-size:8px; font-weight:700; display:none; align-items:center; justify-content:center; }
.mbn-badge.show { display:flex; }

/* Push content above bottom nav */
#main-content { padding-bottom: 72px; }
.site-footer { padding-bottom: calc(68px + 20px); }

/* ====== TOAST ====== */
.spet-toast { position:fixed; bottom:80px; left:50%; transform:translateX(-50%) translateY(16px); background:var(--dark); color:white; padding:11px 22px; border-radius:50px; font-size:13px; font-weight:600; z-index:9999; opacity:0; transition:all .28s; pointer-events:none; white-space:nowrap; max-width:90vw; }
.spet-toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ================================================================
   TABLET — min-width: 768px
   ================================================================ */
@media (min-width: 768px) {
  .site-header { display:flex; position:sticky; top:0; z-index:200; background:rgba(253,250,247,.95); backdrop-filter:blur(20px); border-bottom:1px solid rgba(0,0,0,.06); padding:0 clamp(24px,4vw,40px); height:66px; align-items:center; justify-content:space-between; }
  /* chat en header: alinear con el logo */
  .site-header .spet-chat-header { display:flex; }
  /* Ocultar el boton flotante en desktop/tablet (ya esta en el header) */
  .spet-chat-launcher:not(.spet-chat-header) { display:none; }
  .mobile-header { display:none; }
  .search-bar { top: 66px; right: clamp(24px, 4vw, 40px); }
  .mobile-bottom-nav { display:none; }
  #main-content { padding-bottom:0; }
  .site-footer { padding-bottom: clamp(32px,5vw,48px) !important; }

  .header-logo { font-family:'Playfair Display',serif; font-size:24px; font-weight:900; letter-spacing:5px; }
  .header-nav { display:flex; gap:28px; list-style:none; }
  .header-nav a { font-size:11px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; opacity:.65; transition:opacity .2s; }
  .header-nav a:hover { opacity:1; }
  .header-icons { display:flex; align-items:center; gap:4px; }
  .icon-btn:hover { background:var(--gray); }

  .hero { min-height:80vh; }
  .hero-cards { grid-template-columns:1fr 1fr; gap:18px; }
  .cat-pills { flex-wrap:wrap; justify-content:center; overflow-x:visible; padding-bottom:0; }

  .prod-grid { column-count: 3; column-gap: 16px; }
  .prod-card { margin-bottom: 16px; }
  .prod-body { padding: 12px; gap: 6px; }
  .prod-name { font-size: 13px; }
  .prod-price { font-size: 15px; }
  .btn-cart { padding: 11px; font-size: 12px; }
  .swatch { width: 20px; height: 20px; }
  .size-opt { min-width: 34px; height: 28px; font-size: 11px; }

  .pet-section { padding: clamp(48px,7vw,72px) clamp(24px,4vw,40px); }
  .all-sec { padding: clamp(48px,6vw,72px) clamp(24px,4vw,40px); }
  .collection-header { padding: clamp(40px,6vw,60px) 40px clamp(24px,4vw,40px); }
  .collection-toolbar { padding: 16px 40px; }
  .collection-filter-pills { padding: 12px 40px; }
  .collection-body { padding: 28px 40px 60px; }
  .product-page { padding: 32px 24px 60px; }
  .gallery-main-img { height: 380px; }
  .product-page-inner { gap: 28px; }
  .account-page { padding: clamp(40px,6vw,60px) 24px 80px; }
  .cart-page { padding: clamp(32px,5vw,48px) 24px 80px; }
  .site-footer { padding: clamp(40px,5vw,48px) clamp(24px,4vw,40px) 32px !important; }
  .footer-top { flex-direction:row; justify-content:space-between; gap:32px; }
  .footer-bottom { flex-direction:row; justify-content:space-between; text-align:left; align-items:center; }
  .footer-policies { justify-content:flex-end; }
  .related-products { padding: 32px 40px; }
}

/* ================================================================
   DESKTOP — min-width: 1024px
   ================================================================ */
@media (min-width: 1024px) {
  .prod-grid { column-count: 4; column-gap: 18px; }
  .prod-card { margin-bottom: 18px; }
  .product-page-inner { grid-template-columns:1fr 1fr; gap:48px; }
  .gallery-main-img { height:460px; }
  .cart-page-layout { grid-template-columns:1fr 340px; }
  .cart-summary { position:sticky; top:90px; }
  .related-products { padding: 40px; }
}

/* ================================================================
   LARGE — min-width: 1280px
   ================================================================ */
@media (min-width: 1280px) {
  .prod-grid { column-count: 5; column-gap: 20px; }
  .prod-card { margin-bottom: 20px; }
  .product-page { padding: 48px 40px 80px; }
  .gallery-main-img { height: 480px; }
}

/* ================================================================
   SPET UPDATES — Auth tabs, Guest, Hero tablet, Cart compact
   ================================================================ */

/* 3-tab auth — compact and readable on mobile */
.auth-tabs-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
  background: var(--gray);
  padding: 3px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.auth-tabs-3 .auth-tab {
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 9px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Guest tab — green tint */
.auth-tab-guest { color: #3a7d56 !important; }
.auth-tab-guest.active {
  background: linear-gradient(135deg, #e8f7ef, #d0f0e0) !important;
  color: #2a6644 !important;
  box-shadow: 0 1px 4px rgba(0,150,80,.15) !important;
}

/* Guest info box */
.guest-info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 16px 14px;
  background: linear-gradient(135deg, #e8f7ef, #f0fbf5);
  border-radius: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(0,150,80,.15);
}
.guest-info-icon { font-size: 28px; }
.guest-info-text { font-size: 12.5px; color: #555; margin: 0; line-height: 1.55; }

.guest-success-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 16px;
  background: linear-gradient(135deg, #e8f7ef, #f0fff4);
  border-radius: 14px;
  border: 1px solid rgba(0,150,80,.2);
  margin-bottom: 14px;
}
.guest-success-box p { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 600; }

/* Green light button for guest */
.btn-auth-green-light {
  background: linear-gradient(135deg, #52b87a, #3a9960);
  color: #fff;
}
.btn-auth-green-light:hover { filter: brightness(1.05); }

/* auth-desc small helper text */
.auth-desc { font-size: 12.5px; color: var(--gray-mid); margin: 0 0 4px; line-height: 1.5; }

/* Hero tablet — reduce bottom padding, prevent overflow */
@media (min-width: 600px) and (max-width: 1023px) {
  .hero {
    min-height: unset !important;
    padding: clamp(28px,5vw,48px) 20px clamp(18px,3vw,32px) !important;
  }
  .hero h1 { font-size: clamp(22px,5vw,40px) !important; margin-bottom: 10px; }
  .hero-sub { font-size: 13px !important; margin-bottom: clamp(16px,3vw,24px) !important; }
  .hero-cards { gap: 12px !important; }
  .hero-card { padding: 18px 16px !important; }
  .hero-card h3 { font-size: 14px !important; }
  .hero-card p { font-size: 12px !important; margin-bottom: 12px !important; }
  .btn-hero { font-size: 11px !important; padding: 8px 16px !important; }
  .c-icon { font-size: 24px !important; margin-bottom: 8px !important; }
  .hero-card .c-icon-img { width: clamp(120px, 42vw, 168px) !important; max-width: 168px !important; max-height: 168px !important; margin-bottom: 8px !important; }
}

/* Cart drawer footer compact on mobile */
@media (max-width: 767px) {
  .cart-continue-link-sm {
    font-size: 11px !important;
    padding: 2px 0 !important;
    display: block;
  }
  .cart-summary-compact .cart-subtotal-row,
  .cart-summary-compact .cart-total-row {
    font-size: 12px !important;
    padding: 2px 0 !important;
  }
  .cart-summary-compact { gap: 3px !important; }
  .drawer-foot { padding: 10px 14px 12px !important; gap: 8px !important; }
}

/* Desktop header icons slight spacing */
@media (min-width: 768px) {
  .icon-btn-spaced { margin: 3px 1px; }
  .header-icons { padding: 4px; gap: 2px; }
}

/* Lang flag active */
.lang-flag-mini.active {
  background: var(--green) !important;
  border-color: var(--green) !important;
}

/* ================================================================
   PROFILE DRAWER — Orders & Tracking UI
   ================================================================ */

/* Profile box (logged in header) */
.profile-box { display:flex; align-items:center; gap:12px; padding:14px; background:var(--gray); border-radius:14px; margin-bottom:16px; }
.p-avatar { width:44px; height:44px; border-radius:50%; background:var(--green); color:#fff; display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:800; flex-shrink:0; }
.p-info { min-width:0; }
.p-name { font-weight:700; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.p-email { font-size:11px; color:var(--gray-mid); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* 2-tab layout */
.auth-tabs-2 { grid-template-columns:1fr 1fr !important; }

/* Orders list */
.prof-orders-list { display:flex; flex-direction:column; gap:10px; }

/* Order card */
.prof-order-card { background:var(--gray); border-radius:14px; padding:12px 14px; display:flex; flex-direction:column; gap:6px; }
.poc-row { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.poc-top { display:flex; align-items:center; justify-content:space-between; }
.poc-num { font-weight:800; font-size:14px; }
.poc-date { font-size:12px; color:var(--gray-mid); }
.poc-items-preview { font-size:12px; color:#555; line-height:1.4; }
.poc-more { color:var(--gray-mid); font-size:11px; }
.poc-actions { display:flex; gap:8px; align-items:center; margin-top:4px; }
.poc-track-btn { flex:1; padding:8px 10px; background:linear-gradient(135deg,#3a7d56,#2a6644); color:#fff; border-radius:50px; font-size:12px; font-weight:700; cursor:pointer; border:none; text-align:center; }
.poc-track-btn:hover { filter:brightness(1.08); }
.poc-detail-btn { font-size:12px; font-weight:600; color:var(--green); white-space:nowrap; text-decoration:none; }
.poc-notrack { font-size:12px; color:var(--gray-mid); flex:1; }
.poc-back-btn { background:none; border:none; color:var(--green); font-size:13px; font-weight:600; cursor:pointer; padding:4px 0; margin-bottom:10px; display:flex; align-items:center; gap:4px; }

/* Fulfillment status pills */
.poc-status { font-size:11px; font-weight:600; padding:3px 9px; border-radius:50px; white-space:nowrap; }
.poc-status-fulfilled { background:#e8f7ef; color:#2a6644; }
.poc-status-partial { background:#fff3cd; color:#856404; }
.poc-status-unfulfilled, .poc-status-pending { background:#f0f0f0; color:#666; }

/* No orders state */
.no-orders-drawer { text-align:center; padding:24px 16px; }
.no-orders-drawer p { color:var(--gray-mid); font-size:14px; margin:0; }

/* Tracking form */
.track-form-wrap { display:flex; flex-direction:column; gap:12px; }
.track-hint { font-size:12.5px; color:var(--gray-mid); margin:0 0 4px; line-height:1.5; }
.track-field-group { display:flex; flex-direction:column; gap:5px; }
.track-lbl { font-size:12px; font-weight:600; color:var(--dark); }
.track-inp { padding:11px 14px; border:1.5px solid rgba(0,0,0,.1); border-radius:12px; font-size:13px; background:var(--gray); font-family:inherit; width:100%; box-sizing:border-box; }
.track-inp:focus { border-color:var(--green); background:#fff; outline:none; }

/* Track result box */
.track-result-box { background:var(--gray); border-radius:14px; padding:14px; }
.trb-icon { font-size:32px; text-align:center; margin-bottom:8px; }
.trb-title { font-weight:700; font-size:14px; text-align:center; margin-bottom:4px; }
.trb-sub { font-size:12.5px; color:var(--gray-mid); text-align:center; line-height:1.5; margin-bottom:12px; }
.trb-link { display:block; text-align:center; font-size:13px; color:var(--green); font-weight:600; }

/* Tracking package card */
.track-pkg-card { background:#fff; border-radius:12px; padding:12px 14px; border:1.5px solid rgba(0,0,0,.07); margin-bottom:8px; }
.tpc-carrier { font-size:11px; color:var(--gray-mid); font-weight:600; text-transform:uppercase; letter-spacing:.5px; margin-bottom:4px; }
.tpc-num { font-size:15px; font-weight:800; font-family:monospace; letter-spacing:.5px; }
.track-order-name { font-weight:800; font-size:16px; margin-bottom:12px; }
.track-found-box { padding:4px; }

/* Guest sections */
.guest-section-card { display:flex; align-items:flex-start; gap:12px; background:var(--gray); border-radius:12px; padding:12px 14px; margin-bottom:10px; }
.guest-sec-icon { font-size:24px; flex-shrink:0; margin-top:2px; }
.guest-sec-title { font-weight:700; font-size:13px; margin-bottom:3px; }
.guest-sec-desc { font-size:12px; color:var(--gray-mid); line-height:1.4; }
.guest-divider { display:flex; align-items:center; gap:10px; margin:16px 0 12px; }
.guest-divider::before, .guest-divider::after { content:''; flex:1; height:1px; background:rgba(0,0,0,.1); }
.guest-divider span { font-size:12px; color:var(--gray-mid); white-space:nowrap; }

/* Spinner */
.spet-spinner { width:28px; height:28px; border:3px solid rgba(0,0,0,.1); border-top-color:var(--green); border-radius:50%; animation:spin .8s linear infinite; margin:0 auto; }
@keyframes spin { to { transform:rotate(360deg); } }

/* p-link (logout etc) */
.p-link { display:flex; align-items:center; gap:8px; padding:11px 14px; border-radius:12px; background:var(--gray); font-size:13px; font-weight:600; text-decoration:none; color:var(--dark); margin-bottom:8px; }
.p-link.out { color:#cc3333; }
.p-link:hover { background:#e8e8e8; }

/* ================================================================
   CART DRAWER — Full order summary footer
   ================================================================ */
.cart-drawer-foot-full {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 18px !important;
  border-top: 1px solid rgba(0,0,0,.07);
  background: #fff;
}

/* Order summary block */
.cart-order-summary {
  background: var(--gray);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 4px;
}
.cos-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 2px;
}
.cos-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--dark);
}
.cos-total {
  font-size: 15px;
  font-weight: 800;
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.cos-freeship-note {
  font-size: 11.5px;
  color: var(--gray-mid);
  line-height: 1.4;
  padding: 8px 0 6px;
  margin-bottom: 2px;
}

/* Coupon row */
.cos-coupon-row {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}
.cos-coupon-inp {
  flex: 1;
  padding: 7px 11px;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 10px;
  font-size: 12.5px;
  background: #fff;
  font-family: inherit;
  min-width: 0;
}
.cos-coupon-inp:focus { border-color: var(--green); outline: none; }
.cos-coupon-btn {
  padding: 7px 12px;
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.cos-coupon-btn:hover { background: #00954e; }
.cos-coupon-msg {
  font-size: 12px;
  padding: 2px 0 4px;
  line-height: 1.4;
}

/* Trust row */
.cart-trust-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-mid);
  padding-top: 4px;
}

/* btn-continue style */
.btn-continue {
  display: block;
  width: 100%;
  padding: 11px;
  background: transparent;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: center;
  font-family: inherit;
}
.btn-continue:hover { background: var(--gray); }

/* ===== ORDER TIMELINE ===== */
.order-timeline-wrap { padding: 4px 0 8px; }
.otl-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.otl-title { font-size: 15px; font-weight: 700; color: var(--dark); }
.otl-meta { font-size: 13px; font-weight: 700; color: var(--green); }
.otl-steps { display: flex; flex-direction: column; gap: 0; }
.otl-step { display: flex; align-items: flex-start; gap: 12px; }
.otl-dot-wrap { display:flex; flex-direction:column; align-items:center; flex-shrink:0; }
.otl-dot { width: 36px; height: 36px; border-radius: 50%; background: #f0f0f0; border: 2px solid #e0e0e0; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.otl-line { width: 2px; height: 22px; background: #e0e0e0; margin: 2px 0; }
.otl-done .otl-dot { background: #f0fbf4; border-color: var(--green); }
.otl-done .otl-line { background: var(--green); }
.otl-current .otl-dot { background: var(--green); border-color: var(--green); font-size:18px; box-shadow: 0 0 0 5px rgba(0,166,81,.15); animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{box-shadow:0 0 0 5px rgba(0,166,81,.15);} 50%{box-shadow:0 0 0 9px rgba(0,166,81,.07);} }
.otl-info { padding: 6px 0 20px; }
.otl-lbl { font-size: 13px; font-weight: 700; color: var(--gray-mid); }
.otl-done .otl-lbl, .otl-current .otl-lbl { color: var(--dark); }
.otl-sub { font-size: 11.5px; color: var(--gray-mid); margin-top: 2px; }
.otl-current .otl-sub { color: var(--green); font-weight: 600; }

/* ===== RESET PASSWORD PAGE ===== */
.auth-reset-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 100px;
}
.arp-card {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 4px 32px rgba(0,0,0,.08);
}
.arp-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  background: var(--gray);
}
.arp-field input:focus {
  border-color: var(--green);
  outline: none;
  background: white;
}

/* ── Logout bar (abajo a la derecha en el drawer) ── */
.prof-logout-bar {
  display: flex;
  justify-content: flex-end;
  padding: 16px 0 4px;
  margin-top: 8px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.prof-logout-btn {
  background: none;
  border: 1.5px solid #e0e0e0;
  color: #cc3333;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.prof-logout-btn:hover {
  background: #fff0f0;
  border-color: #cc3333;
}

/* ── Modal confirmación logout ── */
.logout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 2147483647;  /* máximo posible — siempre encima de Inbox */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.logout-modal-box {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 22px;
  max-width: 300px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  animation: fadeInUp .22s ease;
}
.logout-modal-icon { font-size: 36px; margin-bottom: 10px; }
.logout-modal-title { font-size: 17px; font-weight: 800; margin-bottom: 6px; color: var(--dark); }
.logout-modal-sub { font-size: 12.5px; color: var(--gray-mid); line-height: 1.55; margin-bottom: 20px; }
.logout-modal-actions { display: flex; gap: 10px; }
.logout-btn-cancel {
  flex: 1;
  padding: 12px;
  background: var(--gray);
  border: none;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
}
.logout-btn-cancel:hover { background: #e8e8e8; }
.logout-btn-confirm {
  flex: 1;
  padding: 12px;
  background: #cc3333;
  color: #fff;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logout-btn-confirm:hover { background: #b32929; }

/* ── Track hint text ── */
.track-hint-text {
  font-size: 13px;
  color: var(--gray-mid);
  margin: 0 0 16px;
  line-height: 1.55;
  background: var(--gray);
  border-radius: 10px;
  padding: 10px 13px;
}

/* ── No orders in drawer ── */
.no-orders-drawer {
  text-align: center;
  padding: 20px 0 10px;
  color: var(--gray-mid);
  font-size: 13.5px;
}

/* ================================================================
   SPET ACCOUNT DRAWER v5
   Classes prefixed spd- to avoid any conflict with legacy CSS
   ================================================================ */

/* ── Head bar ── */
.spd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  flex-shrink: 0; gap: 10px;
}
.spd-head-title {
  flex: 1; font-size: 16px; font-weight: 700; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.spd-head-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gray); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .18s;
}
.spd-head-btn:hover { background: #e8e8e8; }
.spd-back { }

/* ── Scrollable body ── */
.spd-body {
  flex: 1; min-height: 0; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px 56px;          /* 56px bottom = room for lang bar */
  display: flex; flex-direction: column; gap: 0;
}

/* ── Lang bar (flags only, sticky at bottom of drawer) ── */
.spd-lang-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 6px;
  padding: 9px 16px calc(9px + env(safe-area-inset-bottom,0px));
  border-top: 1px solid rgba(0,0,0,.06);
  background: var(--white); z-index: 2;
}

/* ── Panel system ── */
.spd-panel { display: none; flex-direction: column; gap: 14px; }
.spd-panel-active { display: flex; }

/* ── Profile hero bar (logged in) ── */
.spd-profile-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--gray); border-radius: 16px; padding: 14px;
  margin-bottom: 4px;
}
.spd-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--purple));
  color: #fff; font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.spd-profile-info { flex: 1; min-width: 0; }
.spd-profile-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spd-profile-email { font-size: 11px; color: var(--gray-mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spd-member-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  background: var(--green-light); color: var(--green-dark);
  padding: 3px 9px; border-radius: 50px; flex-shrink: 0;
}

/* ── Menu sections ── */
.spd-menu-section { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.spd-section-lbl {
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gray-mid); padding: 0 4px; margin-bottom: 4px;
}

/* ── Menu rows ── */
.spd-menu-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--gray); border-radius: 14px; padding: 12px 14px;
  text-decoration: none; color: var(--dark);
  transition: background .18s; width: 100%; text-align: left;
  cursor: pointer;
}
.spd-menu-row:hover { background: #ebebeb; }
.spd-logout-row { background: #fff5f5; }
.spd-logout-row:hover { background: #ffecec; }

/* Icon circles */
.spd-row-ico {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.spd-ico-green { background: #e8f7ef; color: var(--green-dark); }
.spd-ico-amber { background: #fff8e6; color: #b45309; }
.spd-ico-dark  { background: rgba(0,0,0,.07); color: var(--dark); }
.spd-ico-red   { background: #fff0f0; color: #cc3333; }

.spd-row-text {
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px;
  font-size: 14px; font-weight: 600;
}
.spd-row-text small { font-size: 11px; font-weight: 400; color: var(--gray-mid); }
.spd-red-text { color: #cc3333; }
.spd-chev { color: var(--gray-mid); flex-shrink: 0; }

/* ── Order cards ── */
.spd-order-card {
  background: var(--gray); border-radius: 14px; padding: 14px;
  display: flex; flex-direction: column; gap: 6px;
  cursor: pointer; transition: background .18s;
}
.spd-order-card:hover { background: #ebebeb; }

.spd-oc-toprow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.spd-oc-num { font-weight: 800; font-size: 14px; }
.spd-oc-date { font-size: 11.5px; color: var(--gray-mid); }
.spd-oc-items { font-size: 12px; color: #555; line-height: 1.4; }
.spd-oc-more { color: var(--gray-mid); font-size: 11px; }
.spd-oc-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.spd-oc-total { font-size: 13px; font-weight: 700; color: var(--green); }
.spd-oc-track-pill {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600;
  background: var(--green-light); color: var(--green-dark);
  padding: 3px 10px; border-radius: 50px;
}

/* Status badges on order cards */
.spd-oc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 50px; white-space: nowrap;
}
.spdb-confirmed  { background: #e8f7ef; color: #2a6644; }
.spdb-preparing  { background: #fff8e6; color: #b45309; }
.spdb-transit    { background: #e8f0ff; color: #1e40af; }
.spdb-delivered  { background: #e8f7ef; color: #2a6644; }
.spdb-cancelled  { background: #fff0f0; color: #cc3333; }

/* ── Form elements ── */
.spd-fields { display: flex; flex-direction: column; gap: 10px; }
.spd-fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spd-field { display: flex; flex-direction: column; gap: 5px; }
.spd-lbl { font-size: 12px; font-weight: 600; color: var(--dark); }
.spd-inp {
  padding: 12px 14px; border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 12px; font-size: 14px; font-family: inherit;
  background: var(--gray); outline: none; width: 100%; -webkit-appearance: none;
}
.spd-inp:focus { border-color: var(--green); background: #fff; }
.spd-pw-wrap { position: relative; }
.spd-pw-wrap .spd-inp { padding-right: 44px; }
.spd-eye-btn {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--gray-mid); width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center; background: none; border: none;
}

/* ── Action buttons ── */
.spd-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 16px; border-radius: 50px;
  font-size: 14px; font-weight: 700; font-family: inherit;
  border: none; cursor: pointer; transition: filter .18s;
  min-height: 48px;
}
.spd-btn:hover { filter: brightness(1.06); }
.spd-btn:disabled { opacity: .65; cursor: not-allowed; }
.spd-btn-green { background: var(--green); color: #fff; }
.spd-btn-dark  { background: var(--dark);  color: #fff; }
.spd-btn-ghost {
  background: var(--gray); color: var(--dark);
  border: 1.5px solid rgba(0,0,0,.1);
}
.spd-btn-ghost:hover { background: #e8e8e8; }

/* Tracker panels: separate input and "Rastrear" button a bit more */
#spdp-tracker_search .spd-btn,
#spdp-guest .spd-btn {
  margin-top: 10px;
}

/* ── Hint text, sep, links ── */
.spd-hint { font-size: 13px; color: var(--gray-mid); margin: 0; line-height: 1.55; background: var(--gray); border-radius: 10px; padding: 10px 13px; }
.spd-sep { display: flex; align-items: center; gap: 10px; margin: 4px 0; }
.spd-sep::before, .spd-sep::after { content: ''; flex: 1; height: 1px; background: rgba(0,0,0,.09); }
.spd-sep span { font-size: 12px; color: var(--gray-mid); white-space: nowrap; }
.spd-links-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 0; }
.spd-txt-link { font-size: 12.5px; font-weight: 600; color: var(--gray-mid); background: none; border: none; cursor: pointer; padding: 0; }
.spd-green-link { color: var(--green); }

/* ── Error / success boxes ── */
.spd-error-box {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: #b91c1c;
  background: #fff1f2; border-radius: 10px; padding: 10px 12px;
}
.spd-success-box {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: #166534;
  background: #f0fdf4; border-radius: 10px; padding: 10px 12px;
}

/* ── Hero block (not-logged panels) ── */
.spd-hero-block {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 6px; padding: 8px 0 14px;
}
.spd-hero-ico {
  width: 56px; height: 56px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.spd-hico-green { background: #e8f7ef; color: var(--green-dark); }
.spd-hico-dark  { background: rgba(0,0,0,.07); color: var(--dark); }
.spd-hero-title { font-size: 17px; font-weight: 700; }
.spd-hero-sub   { font-size: 13px; color: var(--gray-mid); line-height: 1.5; max-width: 240px; }

/* ── Empty state ── */
.spd-empty {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 32px 16px; gap: 10px; color: var(--gray-mid);
}
.spd-empty-ico { opacity: .4; }
.spd-empty p { font-size: 14px; margin: 0; }

/* ── Logout modal ── */
.spd-modal-overlay {
  position: fixed; inset: 0; z-index: 2147483647;
  background: rgba(0,0,0,.48);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.spd-modal-box {
  background: #fff; border-radius: 22px; padding: 28px 24px 22px;
  max-width: 300px; width: 100%; text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,.18); animation: fadeInUp .22s ease;
}
.spd-modal-ico {
  width: 52px; height: 52px; border-radius: 50%;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
}
.spd-modal-ico-red { background: #fff0f0; color: #cc3333; }
.spd-modal-title { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.spd-modal-sub { font-size: 12.5px; color: var(--gray-mid); line-height: 1.55; margin-bottom: 20px; }
.spd-modal-btns { display: flex; gap: 10px; }
.spd-modal-cancel {
  flex: 1; padding: 12px; background: var(--gray); border: none;
  border-radius: 12px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.spd-modal-cancel:hover { background: #e8e8e8; }
.spd-modal-confirm {
  flex: 1; padding: 12px; background: #cc3333; color: #fff;
  border-radius: 12px; font-size: 13px; font-weight: 700; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
}
.spd-modal-confirm:hover { background: #b32929; }

/* While logout modal is open, keep focus on top layer */
body.spet-logout-open .spet-chat-mobile,
body.spet-logout-open .spet-chat-header,
body.spet-logout-open #spet-chat-bubble {
  display: none !important;
}

/* ═══════════════════════════════════════════
   TRACKER — Timeline & order detail
   ═══════════════════════════════════════════ */
.spd-trk-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  background: var(--gray); border-radius: 14px; padding: 14px; margin-bottom: 18px;
}
.spd-trk-name { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.spd-trk-name strong { color: var(--green); }
.spd-trk-date { font-size: 12px; color: var(--gray-mid); }

/* ETA badge */
.spd-eta-badge {
  font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 50px;
  white-space: nowrap; flex-shrink: 0; align-self: flex-start; margin-top: 2px;
}
.spd-eta-confirmed  { background: #f0f0f0; color: #555; }
.spd-eta-prep       { background: #fff8e6; color: #b45309; }
.spd-eta-transit    { background: #e8f0ff; color: #1e40af; }
.spd-eta-delivered  { background: #e8f7ef; color: #166534; }
.spd-eta-cancelled  { background: #fff0f0; color: #cc3333; }

/* Steps */
.spd-steps-wrap { display: flex; flex-direction: column; margin-bottom: 20px; }
.spd-step { display: flex; align-items: flex-start; gap: 12px; }
.spd-step-last .spd-step-body { padding-bottom: 0; }
.spd-step-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.spd-dot {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #e0e0e0; background: #f5f5f5; flex-shrink: 0;
}
.spd-dot-done   { background: #e8f7ef; border-color: var(--green); color: var(--green-dark); }
.spd-dot-active {
  background: var(--green); border-color: var(--green); color: #fff;
  box-shadow: 0 0 0 5px rgba(0,166,81,.15);
  animation: spdPulse 2s ease-in-out infinite;
}
.spd-dot-pend   { background: #f5f5f5; border-color: #e0e0e0; color: #bbb; }
@keyframes spdPulse {
  0%,100% { box-shadow: 0 0 0 5px rgba(0,166,81,.15); }
  50%      { box-shadow: 0 0 0 9px rgba(0,166,81,.07); }
}
.spd-line { width: 2px; flex: 1; min-height: 22px; background: #e0e0e0; margin: 3px 0; }
.spd-line-done { background: var(--green); }
.spd-step-body { flex: 1; padding-bottom: 18px; }
.spd-step-lbl { font-size: 13px; font-weight: 700; color: var(--dark); padding-top: 8px; }
.spd-step-pend { color: var(--gray-mid); font-weight: 500; }
.spd-step-sub  { font-size: 12px; color: var(--gray-mid); margin-top: 3px; line-height: 1.4; }
.spd-step-sub-active { color: var(--green); font-weight: 600; }

/* Tracking info block inside step */
.spd-track-info-block {
  margin-top: 8px; padding: 8px 12px;
  background: #fff; border: 1.5px solid rgba(0,0,0,.08); border-radius: 10px;
}
.spd-ti-carrier { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-mid); margin-bottom: 2px; }
.spd-ti-num { font-size: 13px; font-weight: 800; font-family: monospace; letter-spacing: .5px; color: var(--dark); }

/* Items section */
.spd-items-title { font-size: 12px; font-weight: 700; color: var(--gray-mid); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.spd-items-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.spd-item-row { display: flex; align-items: center; gap: 10px; background: var(--gray); border-radius: 10px; padding: 8px; }
.spd-item-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.spd-item-img-ph {
  width: 44px; height: 44px; border-radius: 8px;
  background: #e0e0e0; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #aaa;
}
.spd-item-info { flex: 1; min-width: 0; }
.spd-item-name { font-size: 12.5px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spd-item-price { font-size: 11.5px; color: var(--gray-mid); margin-top: 2px; }
.spd-item-more { font-size: 12px; color: var(--gray-mid); padding: 4px 0; text-align: center; }

/* Order total row */
.spd-order-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-top: 1px solid rgba(0,0,0,.07);
  font-size: 14px; font-weight: 700;
}
.spd-total-amt { color: var(--green); }

/* Guest found block */
.spd-guest-found {
  background: var(--gray); border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; gap: 10px; text-align: center;
}
.spd-gf-num { font-size: 16px; font-weight: 800; color: var(--green); }
.spd-gf-sub { font-size: 12.5px; color: var(--gray-mid); line-height: 1.5; }

/* Not found block */
.spd-not-found {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px; padding: 16px; background: var(--gray); border-radius: 12px;
  color: var(--gray-mid);
}
.spd-not-found p { font-size: 13px; margin: 0; }

/* ====== SHOPIFY INBOX ====== */
inbox-online-store-chat {
  z-index: 99998 !important;
}

/* ====== SPET CHAT — botón móvil: arriba en esquina, texto al lado opuesto, se colapsa ====== */
.spet-chat-mobile {
  position: fixed;
  top: 70px;
  right: 14px;
  left: auto;
  bottom: auto;
  z-index: 200;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  min-width: 54px;
  height: 54px;
  padding: 0 10px 0 0;
  border-radius: 999px;
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0,166,81,0.35));
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: width 0.25s ease, padding 0.25s ease, min-width 0.25s ease;
}
/* Botón a la derecha → texto a la izquierda de la imagen */
.spet-chat-mobile.spet-chat-on-right {
  flex-direction: row-reverse;
  padding: 0 0 0 10px;
}
.spet-chat-mobile.spet-chat-on-left { flex-direction: row; }
/* Colapsado: solo icono, sin texto */
.spet-chat-mobile.collapsed {
  padding: 0;
  min-width: 54px;
  width: 54px;
}
.spet-chat-mobile.collapsed .spet-chat-label { display: none !important; }
.spet-chat-mobile img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  pointer-events: none;
  flex-shrink: 0;
}
/* Fondo del texto pequeño, bien ajustado al texto; no desbordar pantalla */
.spet-chat-mobile .spet-chat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  pointer-events: none;
  background: rgba(255,255,255,0.96);
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  line-height: 1.2;
  max-width: min(180px, 50vw);
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) {
  .spet-chat-mobile { display: none !important; }
}

/* ====== SPET CHAT — desktop header: texto a la izq de la imagen (está a la derecha del header) ====== */
.spet-chat-header {
  display: none;
  align-items: center;
  flex-direction: row-reverse;
  gap: 6px;
  height: 38px;
  padding: 0 0 0 8px;
  border-radius: 999px;
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0,166,81,0.35));
  transition: transform 0.15s;
  flex-shrink: 0;
  margin-left: 8px;
}
.spet-chat-header:hover { transform: scale(1.02); }
.spet-chat-header img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  pointer-events: none;
  flex-shrink: 0;
}
.spet-chat-header .spet-chat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  pointer-events: none;
  background: rgba(255,255,255,0.96);
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  line-height: 1.2;
}
@media (min-width: 768px) {
  .spet-chat-header {
    display: flex;
    position: relative;
    overflow: visible;
    padding: 0;
    margin-left: 10px;
  }
  /* Desktop/tablet: place chat text below icon */
  .spet-chat-header .spet-chat-label {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ══════════════════════════════════════
   SISTEMA DE RESEÑAS — DRAWER
══════════════════════════════════════ */
.spd-review-section { margin-top: 4px; }
.spd-review-divider { height: 1px; background: rgba(0,0,0,.07); margin: 18px 0 14px; }
.spd-review-loading { font-size: 12px; color: var(--gray-mid); padding: 8px 0; }

.spd-review-box { padding: 2px 0 8px; }
.spd-review-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.spd-review-sub { font-size: 11.5px; color: var(--gray-mid); margin-bottom: 12px; }

/* Preview de artículos en formulario de reseña */
.spd-review-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.spd-review-item-row { display: flex; align-items: center; gap: 10px; }
.spd-review-item-img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.spd-review-item-ph { background: var(--gray); }
.spd-review-item-name { font-size: 12.5px; color: var(--dark); font-weight: 500; line-height: 1.3; }
.spd-review-item-more { font-size: 11.5px; color: var(--gray-mid); padding-left: 54px; }

/* Estrellas interactivas */
.spd-stars-row { display: flex; gap: 3px; margin-bottom: 12px; }
.spd-star-btn { padding: 2px; background: none; border: none; cursor: pointer; line-height: 0; transition: transform 0.1s; -webkit-tap-highlight-color: transparent; }
.spd-star-btn:active { transform: scale(1.3); }

/* Textarea */
.spd-review-txt {
  width: 100%;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  resize: none;
  outline: none;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
}
.spd-review-txt:focus { border-color: var(--green); }
.spd-review-counter { font-size: 11px; color: var(--gray-mid); text-align: right; margin-top: 4px; }

/* Reseña ya enviada */
.spd-review-done { background: var(--green-light); border-radius: 12px; padding: 14px; }
.spd-review-done-header { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--green-dark); margin-bottom: 10px; }
.spd-review-comment-done { font-size: 13px; color: var(--dark); margin-top: 8px; font-style: italic; line-height: 1.5; }
.spd-review-date { font-size: 11px; color: var(--gray-mid); margin-top: 6px; }

/* Estrellitas en card de pedido */
.spd-oc-stars { display: flex; gap: 2px; margin-top: 4px; }

/* ══════════════════════════════════════
   CARRUSEL DE RESEÑAS — INDEX
══════════════════════════════════════ */
.reviews-section {
  padding: 0 0 40px;
}
.reviews-section .sec-head {
  text-align: center;
  padding: 32px 20px 20px;
}
.reviews-section .sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
}
.reviews-section .sec-sub {
  font-size: 14px;
  color: var(--gray-mid);
}
.sec-tag-green {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.reviews-carousel-wrap {
  position: relative;
  padding: 0 40px;
}
.reviews-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 20px;
}
.reviews-carousel::-webkit-scrollbar { display: none; }

.rev-card {
  flex-shrink: 0;
  width: 260px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  border: 1px solid rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rev-card-top { display: flex; align-items: center; gap: 12px; }
.rev-item-img {
  width: 52px; height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gray);
}
.rev-img-ph { background: var(--gray); }
.rev-item-info { flex: 1; min-width: 0; }
.rev-item-name { font-size: 12.5px; font-weight: 600; color: var(--dark); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rev-order { font-size: 11px; color: var(--gray-mid); margin-top: 2px; }
.rev-stars { display: flex; gap: 2px; }
.rev-comment { font-size: 13px; color: #444; font-style: italic; line-height: 1.55; flex: 1; }
.rev-date { font-size: 11px; color: var(--gray-mid); }

.rev-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.07);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  z-index: 2;
}
.rev-arrow:hover { transform: translateY(-50%) scale(1.08); }
.rev-arrow-left { left: 4px; }
.rev-arrow-right { right: 4px; }

.reviews-loading, .reviews-empty {
  font-size: 13px;
  color: var(--gray-mid);
  padding: 24px;
  text-align: center;
  width: 100%;
}

@media (min-width: 768px) {
  .rev-card { width: 300px; }
  .reviews-carousel-wrap { padding: 0 50px; }
}

/* ── Reseña dentro de la card de pedido ── */
.spd-oc-review {
  background: #f7f9f7;
  border-top: 2px dashed rgba(0,0,0,.08);
  border-radius: 0 0 14px 14px;
  padding: 10px 14px 13px;
}
.spd-oc-review-loading { font-size: 11.5px; color: var(--gray-mid); }
.spd-oc-clickable { cursor: pointer; }

.spd-card-review-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.spd-card-review-form .spd-stars-row { margin-bottom: 0; }

.spd-card-review-done {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spd-card-review-stars { display: flex; gap: 2px; }
.spd-card-review-comment {
  font-size: 12px;
  color: #555;
  font-style: italic;
  line-height: 1.4;
}

/* ═══════════════════════════════════
   ACCOUNT DRAWER — BOTTOM NAV + LOGIN
═══════════════════════════════════ */

/* Bottom nav */
.spd-bottom-nav {
  display: flex;
  border-top: 1px solid var(--gray);
  background: var(--white);
  flex-shrink: 0;
}
.spd-bnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px 12px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--gray-mid);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: color .15s;
  font-family: inherit;
}
.spd-bnav-btn svg { transition: stroke .15s; }
.spd-bnav-btn.spd-bnav-active { color: var(--green); }
.spd-bnav-btn.spd-bnav-logout { color: #dc2626 !important; }
.spd-bnav-btn.spd-bnav-logout svg { stroke: #dc2626 !important; }

/* Drawer body needs padding-bottom when bottom nav present */
{% if customer %}
#prof-drawer .spd-body { padding-bottom: 0; }
{% endif %}

/* Login panel — centered clean layout */
.spd-login-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 32px;
  min-height: 380px;
  text-align: center;
}
.spd-login-logo {
  margin-bottom: 28px;
}
.spd-login-ico {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.spd-login-main-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background .15s;
}
.spd-login-main-btn:hover { background: var(--green-dark); }
.spd-login-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* Guest track separator for non-logged bottom nav */
#spd-bottom-nav-guest .spd-bnav-btn:first-child {
  border-right: 1px solid var(--gray);
}

/* Spin animation for loading */
@keyframes spin { to { transform: rotate(360deg); } }


/* ══════════════════════════════════════════════════
   ACCOUNT DRAWER V6 — BOTTOM NAV · LOGIN · TRACKING
══════════════════════════════════════════════════ */

/* ── Drawer layout: flex column so bottom nav sticks ── */
#prof-drawer { display: flex; flex-direction: column; }
#prof-drawer .spd-body { flex: 1; overflow-y: auto; }

/* ── Bottom bar: ES/EN left, Salir right ── */
.spd-bottom-nav { display: none; } /* legacy, hidden */

/* ── Profile card (square, top of home panel) ── */
.spd-profile-card {
  margin: 16px 16px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-light) 0%, #f0faf4 100%);
  border: 1.5px solid rgba(0,166,81,.12);
  padding: 20px 18px 16px;
}
.spd-profile-card .spd-avatar {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green);
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.spd-profile-card .spd-profile-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 3px;
}
.spd-profile-card .spd-profile-email {
  font-size: 12px;
  color: var(--gray-mid);
  margin-bottom: 12px;
}
.spd-profile-card .spd-profile-bottom {
  display: flex;
  align-items: center;
}

/* ── Login panel ── */
.spd-login-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 24px 32px;
}
.spd-login-ico {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: var(--green-light);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.spd-login-tagline {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  margin-bottom: 28px;
  text-align: center;
}
.spd-login-main-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background .15s, transform .1s;
}
.spd-login-main-btn:hover { background: var(--green-dark); }
.spd-login-main-btn:active { transform: scale(.98); }
.spd-login-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--gray-mid);
  text-align: center;
}

/* ── Tracking shortcut buttons (logueado) ── */
.spd-track-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  background: var(--gray);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  margin-bottom: 8px;
  transition: background .15s;
}
.spd-track-shortcut:hover { background: var(--green-light); }
.spd-track-shortcut svg { stroke: var(--gray-mid); flex-shrink: 0; }
.spd-ts-order { font-size: 11px; font-weight: 700; color: var(--green); margin-bottom: 2px; letter-spacing: .5px; }
.spd-ts-num { font-size: 12px; font-family: monospace; letter-spacing: .5px; color: var(--dark); }

/* ── Mono input ── */
.spd-inp-mono { font-family: monospace; letter-spacing: .5px; }

/* ── Spin animation ── */
@keyframes spin { to { transform: rotate(360deg); } }


/* ── Minimal bottom bar ── */
.spd-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--gray);
  background: var(--white);
  flex-shrink: 0;
}
.spd-bbar-left {
  display: flex;
  gap: 5px;
}
.spd-bbar-logout {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1.5px solid #fdd;
  border-radius: 8px;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.spd-bbar-logout:hover { background: #fff5f5; }

/* ================================================================
   SPET v2 — NEW SECTIONS
   ================================================================ */

/* ── ANNOUNCEMENT BAR ── */
.announce-bar {
  background: linear-gradient(90deg, var(--green-dark) 0%, #00875a 50%, var(--green-dark) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 9px 40px 9px 16px;
  position: relative;
  z-index: 201;
  min-height: 36px;
}
.announce-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  text-align: center;
  line-height: 1.4;
}
.announce-icon { font-size: 13px; opacity: .85; }
.announce-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: white;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.announce-close:hover { background: rgba(255,255,255,.3); }

/* ── HEADER LEFT GROUP ── */
.header-left {
  display: flex;
  align-items: center;
  gap: 0;
}
/* Override site-header justify to space-between */
.site-header {
  justify-content: space-between;
}
.site-header .header-nav {
  display: flex;
  gap: 6px;
  list-style: none;
  margin-left: 24px;
}
.site-header .header-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: .65;
  transition: opacity .2s;
  padding: 4px 2px;
}
.site-header .header-nav a:hover { opacity: 1; }
/* Chat inside header-left: push slightly right of nav */
.site-header .spet-chat-header {
  margin-left: 14px;
}

/* ── BREADCRUMBS ── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px 0;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--gray-mid);
  flex-wrap: wrap;
}
.bc-link {
  color: var(--gray-mid);
  text-decoration: none;
  font-weight: 500;
}
.bc-link:hover { color: var(--green); text-decoration: underline; }
.bc-sep { color: #ccc; }
.bc-current {
  color: var(--dark);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}
@media (min-width: 768px) {
  .breadcrumbs { padding: 16px 24px 0; }
  .bc-current { max-width: 400px; }
}

/* ── PRODUCT TRUST BADGES ── */
.pp-trust-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
  margin-bottom: 16px;
}
.pp-trust-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--gray);
  border-radius: 50px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}
.pp-trust-badge svg { flex-shrink: 0; color: var(--green); stroke: var(--green); }

/* ── FOOTER TRUST BADGES ── */
.footer-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
}
.trust-badge svg { stroke: var(--green); flex-shrink: 0; }
@media (min-width: 768px) {
  .footer-trust { justify-content: flex-start; gap: 32px; }
}

/* ── ENHANCED REVIEW CARDS ── */
.rev-item-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rev-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.rev-verified {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 2px 8px;
  border-radius: 50px;
}
.rev-date {
  font-size: 10.5px;
  color: var(--gray-mid);
}

/* ── NEWSLETTER SECTION ── */
.newsletter-section {
  padding: 0 16px clamp(40px,8vw,72px);
}
.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #f0faf5 0%, #f0ebf7 100%);
  border-radius: 28px;
  padding: clamp(32px,6vw,56px) clamp(24px,5vw,48px);
  border: 1px solid rgba(0,166,81,.1);
}
.newsletter-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.newsletter-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 10px;
}
.newsletter-sub {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  text-align: left;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.nl-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}
.nl-input-wrap {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto 10px;
}
.nl-input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 50px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: white;
  -webkit-appearance: none;
}
.nl-input:focus { border-color: var(--green); }
.nl-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 22px;
  background: var(--green);
  color: white;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}
.nl-btn:hover { background: var(--green-dark); }
.nl-btn:disabled { opacity: .6; cursor: not-allowed; }
.nl-privacy {
  font-size: 11.5px;
  color: var(--gray-mid);
  margin: 0;
}
.nl-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green-light);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
}
.nl-success-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .newsletter-features { flex-direction: row; max-width: 100%; justify-content: center; }
}

/* ── FAQ PAGE ── */
.faq-page {
  padding-bottom: clamp(60px, 10vw, 100px);
}
.faq-hero {
  text-align: center;
  padding: clamp(40px, 8vw, 80px) 16px clamp(28px, 5vw, 48px);
  background: linear-gradient(160deg, #f9f6f1 0%, #eef7ef 50%, #f0ebf7 100%);
}
.faq-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.1;
}
.faq-subtitle {
  font-size: clamp(13px, 2.5vw, 16px);
  color: var(--gray-mid);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.faq-philosophy {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) 16px;
}
.faq-philo-inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(135deg, #e8f7ef, #f5f0fa);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid rgba(0,166,81,.12);
}
.faq-philo-icon {
  font-size: 36px;
  flex-shrink: 0;
  margin-top: 2px;
}
.faq-philo-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.faq-philo-text {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

.faq-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-section { }
.faq-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 3.5vw, 22px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray);
}
.faq-section-icon { font-size: 22px; }

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  line-height: 1.4;
  font-family: inherit;
}
.faq-question:hover { color: var(--green); }
.faq-chevron {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--gray-mid);
  transition: transform .25s;
  margin-top: 2px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer p {
  font-size: 14px;
  line-height: 1.75;
  color: #555;
  padding-bottom: 18px;
  margin: 0;
}
.faq-item.open .faq-answer { /* handled by JS */ }

.faq-contact-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--green-light), #f0ebf7);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 48px) 24px;
  border: 1px solid rgba(0,166,81,.1);
  margin-top: 8px;
}
.faq-cta-icon { font-size: 40px; margin-bottom: 12px; }
.faq-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.faq-cta-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.faq-cta-btn {
  display: inline-block;
  padding: 13px 30px;
  background: var(--green);
  color: white;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.faq-cta-btn:hover { background: var(--green-dark); }

@media (min-width: 768px) {
  .faq-hero { padding: clamp(40px,6vw,72px) 40px; }
  .faq-container, .faq-philosophy { padding: 0 40px; }
  .faq-question { font-size: 15px; }
}

/* ── Price flash animation when variant changes ── */
@keyframes priceFlash {
  0%   { transform: scale(1);    opacity: 1; }
  25%  { transform: scale(1.18); opacity: .7; color: var(--green); }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1);    opacity: 1; }
}
.prod-price.price-flash {
  animation: priceFlash .35s ease;
}
/* Size button active state gets pet-color highlight */
.dog-section .size-opt.active,
.all-sec .size-opt.active { background: var(--green); color: white; border-color: var(--green); }
.cat-section .size-opt.active { background: var(--purple); color: white; border-color: var(--purple); }
