/* ── tokens included via tokens.css ── */

/* ---------- Typography ---------- */
.h-display { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-muted); }
.muted { color: var(--c-muted); }

/* ---------- Container ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- WP wrappers ---------- */
.sm-main { width: 100%; }
.sm-container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  transition: transform .15s, background .2s, color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-primary); color: var(--c-navy); box-shadow: 0 8px 20px -8px rgba(255,184,0,.5); }
.btn-primary:hover { background: var(--c-primary-deep); }
.btn-dark { background: var(--c-navy); color: var(--c-cream); }
[data-theme="dark"] .btn-dark { background: var(--c-primary); color: #1A1408; }
.btn-ghost { background: transparent; color: var(--c-text); border: 1px solid var(--c-line-2); }
.btn-ghost:hover { background: var(--c-paper); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Icon button ---------- */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--r-pill); color: var(--c-text);
  transition: background .2s;
}
.icon-btn:hover { background: var(--c-cream-2); }
.icon-btn-sm { width: 32px; height: 32px; }

/* ---------- Badges & chips ---------- */
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.badge-marca { background: var(--c-primary); color: var(--c-navy); }
.badge-off   { background: var(--c-navy); color: var(--c-primary); }
.badge-new   { background: var(--c-success); color: white; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px;
  border-radius: var(--r-pill); background: var(--c-paper); color: var(--c-text);
  font-size: 13px; font-weight: 500; border: 1px solid var(--c-line);
  cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--c-line-2); }
.chip.is-active { background: var(--c-navy); color: var(--c-primary); border-color: var(--c-navy); }
.chip-x { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; }

/* ---------- Promo marquee ---------- */
.promo {
  background: var(--c-navy); color: var(--c-primary);
  font-size: 13px;
  position: relative;
  border-bottom: 1px solid rgba(255,184,0,.2);
  overflow: hidden;
}
.promo-track {
  position: relative;
  height: 38px;
}
.promo-item {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 20px; white-space: nowrap;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.promo-item.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.promo-item.is-prev {
  opacity: 0;
  transform: translateX(-28px);
}
.promo-item .ic { font-size: 14px; }
.promo-item strong { font-weight: 700; color: var(--c-cream); }
.promo-item .accent { color: var(--c-cream); font-weight: 700; }
.promo-item .bee { color: var(--c-primary); }
@media (prefers-reduced-motion: reduce) {
  .promo-item, .promo-item.is-prev { transition: none; transform: none; }
}

/* ---------- Header ---------- */
.header { background: var(--c-paper); border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; white-space: nowrap; }
.brand span { white-space: nowrap; }
.brand svg { flex-shrink: 0; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a {
  padding: 8px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500;
  color: var(--c-muted); transition: all .15s;
}
.nav a:hover { color: var(--c-text); }
.nav a.is-active { background: var(--c-primary-soft); color: var(--c-navy); }
.search-wrap { position: relative; flex: 0 1 280px; }
.search-wrap input {
  width: 100%; height: 42px; padding: 0 14px 0 42px; border-radius: var(--r-pill);
  background: var(--c-cream-2); border: 1px solid transparent; color: var(--c-text);
  font-size: 14px; outline: none; transition: all .15s;
}
.search-wrap input:focus { background: var(--c-paper); border-color: var(--c-line-2); }
.search-wrap svg { position: absolute; left: 14px; top: 12px; color: var(--c-muted); }
.pet-toggle { display: inline-flex; background: var(--c-cream-2); border-radius: var(--r-pill); padding: 4px; border: 1px solid var(--c-line); }
.pet-toggle button { height: 32px; padding: 0 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; color: var(--c-muted); display: inline-flex; align-items: center; gap: 6px; transition: all .15s; }
.pet-toggle button.is-active { background: var(--c-navy); color: var(--c-primary); }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--c-primary); color: var(--c-navy); border-radius: 999px; font-size: 10px; font-weight: 800; display: grid; place-items: center; }

/* ---------- Forms ---------- */
.input, .select {
  width: 100%; height: 48px; padding: 0 16px; border-radius: var(--r-md);
  background: var(--c-paper); border: 1px solid var(--c-line-2); color: var(--c-text);
  font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus { border-color: var(--c-navy); box-shadow: 0 0 0 3px rgba(11,25,44,.08); }
[data-theme="dark"] .input:focus, [data-theme="dark"] .select:focus { box-shadow: 0 0 0 3px rgba(255,184,0,.18); border-color: var(--c-primary); }
.label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; color: var(--c-muted); letter-spacing: 0.02em; }
.field { margin-bottom: 14px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Custom checkbox */
.check {
  appearance: none; width: 20px; height: 20px; border-radius: 6px;
  border: 1.5px solid var(--c-line-2); background: var(--c-paper); cursor: pointer;
  display: inline-grid; place-items: center; transition: all .15s; flex-shrink: 0;
}
.check:checked { background: var(--c-navy); border-color: var(--c-navy); }
.check:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary); transform: rotate(-45deg) translate(1px, -1px); }

/* Radio pill group */
.radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-pill {
  height: 40px; padding: 0 18px; border-radius: var(--r-pill);
  border: 1px solid var(--c-line-2); font-size: 14px; font-weight: 600;
  color: var(--c-muted); background: var(--c-paper); cursor: pointer; transition: all .15s;
}
.radio-pill.is-active { border-color: var(--c-navy); background: var(--c-navy); color: var(--c-primary); }

/* ---------- Cards ---------- */
.card { background: var(--c-paper); border-radius: var(--r-lg); border: 1px solid var(--c-line); }
.card-soft { background: var(--c-paper); border-radius: var(--r-lg); box-shadow: var(--sh-card); }
.lift { transition: transform .25s, box-shadow .25s; }
.lift:hover { transform: translateY(-3px); box-shadow: var(--sh-pop); }

/* ---------- Pet illustration placeholder ---------- */
.illu {
  position: relative; width: 100%; aspect-ratio: 1/1; border-radius: var(--r-md);
  overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-cream-2), var(--c-paper));
}
.illu-warm { background: linear-gradient(160deg, #FFF4D1 0%, #FFE6A8 100%); }
.illu-rose { background: linear-gradient(160deg, #FFE6E2 0%, #F7C9C2 100%); }
.illu-mint { background: linear-gradient(160deg, #E6F4E8 0%, #C5E5CB 100%); }
.illu-sky  { background: linear-gradient(160deg, #E2EFFF 0%, #B7D4F2 100%); }
.illu-sand { background: linear-gradient(160deg, #F4ECDB 0%, #DDC99B 100%); }
.illu-lilac{ background: linear-gradient(160deg, #ECE6FB 0%, #C9BEEF 100%); }
.illu svg { color: var(--c-navy); opacity: .85; }
.illu .ph-tag { position: absolute; bottom: 10px; right: 10px; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; color: var(--c-navy); opacity: .35; text-transform: uppercase; }
.illu-photo { background: var(--c-cream-2); padding: 0; }
.illu-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge-tech { background: linear-gradient(135deg, var(--c-navy), #1A2A44); color: var(--c-primary); }

/* ---------- Product card ---------- */
.product-card { display: flex; flex-direction: column; overflow: hidden; cursor: pointer; position: relative; }
.sm-shop-content .product-card { min-height: 0; border: 1px solid var(--c-line); transition: border-color .18s ease; }
.sm-shop-content .product-card:hover { border-color: var(--c-primary); }
.sm-shop-content .product-card,
.sm-shop-content .product-card * { font-family: var(--f-body); }
.product-card .pc-badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; max-width: calc(100% - 72px); }
.product-card .pc-fav { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; background: rgba(255,255,255,.85); backdrop-filter: blur(4px); border-radius: 50%; display: grid; place-items: center; transition: all .2s; box-shadow: 0 2px 10px rgba(11,25,44,.12); }
.product-card .pc-fav:hover { background: var(--c-paper); color: var(--c-danger); }
.product-card .pc-fav svg { width: 16px; height: 16px; }
.product-card .pc-img { padding: 12px; }
.product-card .pc-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.product-card .pc-title-link { text-decoration: none; text-transform: none; }
.product-card .pc-body { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card h3 { font-size: 14px; font-weight: 600; line-height: 1.3; }
.product-card .pc-price-row { display: block; margin-top: auto; padding-top: 10px; }
.product-card .pc-price-col { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.product-card .pc-price { font-family: var(--f-body); font-size: 22px; font-weight: 700; line-height: 1.05; color: var(--c-primary-deep); order: 1; }
.product-card .pc-old { font-size: 12px; color: var(--c-muted); text-decoration: line-through; }
.product-card .pc-old { order: 2; }
.product-card .pc-iva { font-size: 12px; color: var(--c-muted); margin-top: 2px; width: 100%; order: 3; }
.product-card .pc-cuotas { font-size: 11px; color: var(--c-primary-deep); font-weight: 600; margin-top: 2px; width: 100%; order: 3; }
.product-card .pc-add {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--c-navy);
  display: grid; place-items: center; color: var(--c-navy); flex-shrink: 0;
  transition: all .15s; background: transparent;
}
.product-card .pc-add:hover { background: var(--c-primary); border-color: var(--c-primary); }
.product-card .pc-add:disabled,
.product-card .pc-add[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
}
.product-card .pc-sizes { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 4px; }
.product-card .pc-size-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
  border: 1px solid var(--c-line);
  color: var(--c-muted);
  background: var(--c-paper);
  cursor: pointer;
  text-decoration: none;
}
.product-card .pc-size-btn.is-selected,
.product-card .pc-size-btn[aria-pressed="true"] {
  border-color: var(--c-navy);
  background: var(--c-navy);
  color: var(--c-primary);
}
.product-card .pc-size-btn.is-oos {
  background: #e8e8e8;
  border-color: #e8e8e8;
  color: #aaa;
  text-decoration: line-through;
  cursor: pointer;
}
.product-card .pc-swatches { display: flex; gap: 5px; }
.product-card .pc-swatches-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 18px;
  flex-wrap: nowrap;
}
.product-card .pc-color-name {
  font-size: 12px;
  color: var(--c-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 96px;
}
.swatch {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  display: inline-block;
  cursor: pointer;
  transition: transform .15s ease;
}
.swatch.is-selected,
.swatch[aria-pressed="true"] {
  transform: scale(1.1);
  outline: 2px solid var(--c-navy);
  outline-offset: 1px;
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-oos {
  background: #c3c7cf !important;
  border-color: #a6acb8 !important;
  opacity: .9;
  cursor: pointer;
  outline: 1px solid #b8bec8;
  outline-offset: 0;
}
.stars { color: var(--c-primary); display: inline-flex; gap: 1px; align-items: center; }
.stars svg { width: 13px; height: 13px; }


.product-card .pc-add {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--c-navy);
  background: var(--c-paper);
}

.product-card .pc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.product-card .pc-qty {
  height: 34px;
  min-width: 92px;
  border: 1px solid var(--c-line-2);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  background: var(--c-paper);
}

.product-card .pc-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-soft);
}

.product-card .pc-qty-btn:hover {
  background: var(--c-primary-soft);
  color: var(--c-navy);
}

.product-card .pc-qty-input {
  width: 24px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  padding: 0;
  outline: none;
  -moz-appearance: textfield;
}

.product-card .pc-qty-input::-webkit-outer-spin-button,
.product-card .pc-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-card .pc-add.pc-add--full {
  width: auto;
  min-width: 0;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 9px;
  border: 1px solid #161616;
  background: #161616;
  color: #fff;
  padding: 0 14px;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
}

.product-card .pc-add.pc-add--full:hover {
  background: #000;
  border-color: #000;
}

.product-card .pc-add.pc-add--full span {
  line-height: 1;
}

.product-card .pc-add.pc-add--full svg {
  width: 14px;
  height: 14px;
}

/* ---------- Drawer (mini cart) ---------- */
.scrim {
  position: fixed; inset: 0; background: rgba(11,25,44,.35); backdrop-filter: blur(4px);
  z-index: 80; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: 420px; max-width: 92vw;
  background: var(--c-cream); z-index: 90; transform: translateX(100%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px -20px rgba(0,0,0,.2);
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { padding: 20px 24px; border-bottom: 1px solid var(--c-line); display: flex; align-items: center; justify-content: space-between; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer-foot { border-top: 1px solid var(--c-line); padding: 20px 24px; background: var(--c-paper); }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--c-line-2); border-radius: var(--r-pill); padding: 3px; background: var(--c-paper); }
.qty button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.qty button:hover { background: var(--c-cream-2); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty span { width: 26px; text-align: center; font-weight: 600; font-size: 14px; }

/* Pagination */
.pag { display: inline-flex; gap: 4px; align-items: center; }
.pag button { min-width: 38px; height: 38px; border-radius: var(--r-md); font-size: 14px; font-weight: 600; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; }
.pag button:hover:not(:disabled) { background: var(--c-cream-2); }
.pag button.is-active { background: var(--c-navy); color: var(--c-primary); }
.pag button:disabled { opacity: .4; cursor: not-allowed; }

/* Stepper (checkout) */
.stepper { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.step { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-muted); font-weight: 600; }
.step .num { width: 28px; height: 28px; border-radius: 50%; background: var(--c-cream-2); border: 1px solid var(--c-line); display: inline-grid; place-items: center; font-size: 12px; }
.step.is-done .num { background: var(--c-success); color: white; border-color: var(--c-success); }
.step.is-active { color: var(--c-text); }
.step.is-active .num { background: var(--c-navy); color: var(--c-primary); border-color: var(--c-navy); }
.step-line { flex: 1; height: 1px; background: var(--c-line-2); }

/* Footer */
.footer { background: var(--c-navy); color: var(--c-cream); padding: 64px 0 32px; }
[data-theme="dark"] .footer { background: #0A0805; }
.footer h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 40px; margin-bottom: 48px; }
.footer ul li { font-size: 14px; color: rgba(253,252,248,.8); margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(253,252,248,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(253,252,248,.55); }

/* Floating WA */
.wa-float { position: fixed; bottom: 20px; right: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: white; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,.5); z-index: 30; }


/* Hidden helpers */
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-text h1 { font-size: 52px; }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .section-tech-showcase .grid-products--home-tech,
  .section-bestsellers-showcase .grid-products--home-bestsellers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cats { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .hide-md { display: none !important; }
  .catalog-layout, .cart-layout, .checkout-layout, .pdp, .auth-wrap, .account-layout { grid-template-columns: 1fr; }
  .auth-side { padding: 40px; min-height: 280px; }
  .auth-form { padding: 40px 24px; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 40px; }
  .hero-text h1 { font-size: 44px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 30px; }
  .section-tech-showcase .grid-products--home-tech,
  .section-bestsellers-showcase .grid-products--home-bestsellers { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  :root { --gutter: 16px; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid-cats { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 40px 0; }
  .section-head h2 { font-size: 26px; }
  .section-tech-showcase .section-head,
  .section-bestsellers-showcase .section-head { align-items: flex-start; }
  .section-tech-showcase .grid-products--home-tech,
  .section-bestsellers-showcase .grid-products--home-bestsellers { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 36px; }
  .hero-text { padding: 28px; }
  .pdp-info h1 { font-size: 28px; }
  .product-card .pc-price { font-size: 20px; }
}

/* ═══════════════════════════════════════════════════════════════════
   ADICIONES WP-theme (no estaban en el CSS original del diseño)
   ═══════════════════════════════════════════════════════════════════ */

/* Skip-link a11y */
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:50%;transform:translateX(-50%);top:8px;width:auto;height:auto;padding:.5rem 1rem;background:var(--c-primary);color:var(--c-text);border-radius:var(--r-md);font-weight:600;outline:2px solid var(--c-text);z-index:9999}

/* Visually hidden helper */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Header sticky scroll-state (clase agregada por main.js) */
.header.is-scrolled{box-shadow:0 4px 20px rgba(11,25,44,.06)}

/* Mobile menu (hamburger) — la nav del diseño usa .hide-md/.hide-sm puros;
   en WP necesitamos un panel desplegable con wp_nav_menu */
.hide-md-up{display:flex}
@media(min-width:920px){.hide-md-up{display:none}}
.nav-mobile{max-height:0;overflow:hidden;transition:max-height .35s ease;background:var(--c-paper);border-top:1px solid var(--c-line)}
.nav-mobile[aria-hidden="false"]{max-height:60vh;border-bottom:1px solid var(--c-line)}
.nav-mobile ul,.nav-mobile__list{list-style:none;margin:0;padding:8px 16px}
.nav-mobile a{display:block;padding:12px 4px;font-size:15px;font-weight:500;color:var(--c-text);border-bottom:1px solid var(--c-line)}
.nav-mobile a:last-child{border-bottom:none}
.nav-burger.is-active{background:var(--c-primary-soft)}

/* WhatsApp floating action */
.whatsapp-fab{position:fixed;right:20px;bottom:20px;width:56px;height:56px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;font-size:28px;text-decoration:none;box-shadow:0 8px 24px rgba(37,211,102,.4);z-index:90;transition:transform .2s ease}
.whatsapp-fab:hover{transform:scale(1.08)}

/* Logo del header WP (port simplificado de logo() del diseño) */
.logo{display:flex;align-items:center;gap:8px;font-family:var(--f-display);font-weight:700;font-size:22px;letter-spacing:-0.02em;color:var(--c-text);text-decoration:none}
.logo-mark{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:var(--c-primary);border-radius:var(--r-md);font-size:18px}
.logo-text em{font-style:italic;font-weight:500;color:var(--c-primary-deep)}
.logo--footer{color:var(--c-cream)}
.logo--footer .logo-text em{color:var(--c-primary)}

/* AJAX add-to-cart loading */
.pc-add{position:relative}
.pc-add.is-loading{pointer-events:none;opacity:.7}
.pc-add.is-loading svg{opacity:0}
.pc-add.is-loading::after{content:'';position:absolute;width:14px;height:14px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:sm-spin .7s linear infinite}
@keyframes sm-spin{to{transform:rotate(360deg)}}

/* Toast */
.sm-toast{position:fixed;left:50%;bottom:96px;transform:translate(-50%,1rem);z-index:300;background:var(--c-text);color:var(--c-cream);padding:.875rem 1.25rem;border-radius:var(--r-md);box-shadow:0 12px 32px rgba(11,25,44,.25);font-size:.9375rem;font-weight:500;max-width:90vw;opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease}
.sm-toast.is-visible{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.sm-toast[data-type="error"]{background:var(--c-danger,#e74c3c);color:#fff}

/* Cart count en estado vacío */
.cart-count.is-empty{display:none}

/* Empty state */
.empty{text-align:center;padding:3rem 1rem;color:var(--c-muted);font-size:1rem}

/* Override: el atributo HTML `hidden` debe ganar a los display:flex/grid existentes */
.product-card .pc-actions[hidden],
.product-card .pc-add--restock[hidden] { display: none !important; }
