/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ──────────────────────────────────────── */
:root {
  --primary:        #8B4A5C;
  --primary-mid:    #B07080;
  --primary-light:  #D4A0AA;
  --primary-pale:   #ECC8C8;
  --bg:             #FAF0F0;
  --white:          #FFFFFF;
  --text:           #2A2A2A;
  --text-muted:     #888888;
  --border:         #F0D8DC;
  --whatsapp:       #25D366;
  --radius:         14px;
  --radius-sm:      8px;
  --shadow:         0 2px 16px rgba(139,74,92,.10);
  --shadow-md:      0 4px 24px rgba(139,74,92,.15);
  --ease:           .22s ease;
  --header-h:       60px;
  --promo-h:        36px;
}

/* ── Base ────────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100dvh;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
.hidden { display: none !important; }

/* ── Top sticky wrapper ──────────────────────────── */
.top-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ── Promo Bar ───────────────────────────────────── */
.promo-bar {
  background: linear-gradient(90deg, #7A3048, #B07080, #7A3048);
  background-size: 200% 100%;
  animation: promo-slide 4s linear infinite;
  color: var(--white);
  text-align: center;
  padding: 9px 16px;
  font-size: 12px;
  letter-spacing: .03em;
}

@keyframes promo-slide {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.promo-bar-text strong {
  font-weight: 700;
  letter-spacing: .05em;
}

/* ── Header ──────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 10px; }

.logo-rs {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}

.logo-text { display: flex; flex-direction: column; }

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text);
  line-height: 1.2;
}

.logo-sub {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .28em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.cart-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-pale);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.cart-toggle:active { background: var(--primary-light); }

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--white);
}

@keyframes pop {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.5); }
}
.cart-badge.pop { animation: pop .3s ease; }

/* ── Hero ────────────────────────────────────────── */
.hero {
  background: var(--white);
  text-align: center;
  padding: 32px 20px 28px;
  border-bottom: 1px solid var(--border);
}

/* ── Hero Carousel ───────────────────────────────── */
.hero-carousel {
  position: relative;
  overflow: hidden;
  height: 58dvh;
  background: var(--primary-pale);
}

.hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.hero-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 24px 52px;
  background: linear-gradient(to top, rgba(0,0,0,.60) 0%, rgba(0,0,0,.20) 55%, transparent 100%);
  text-align: center;
  pointer-events: none;
}

.hero-carousel-overlay .hero-tag {
  color: rgba(255,255,255,.80);
  margin-bottom: 6px;
}

.hero-carousel-overlay .hero-title {
  color: #ffffff;
  font-size: 30px;
  margin-bottom: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.hero-carousel-overlay .hero-sub {
  color: rgba(255,255,255,.75);
  margin-top: 8px;
  font-size: 12px;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.45);
  transition: all .35s ease;
  cursor: pointer;
}

.hero-dot.active {
  width: 22px;
  background: #ffffff;
}

@media (min-width: 768px) {
  .hero-carousel { height: 68vh; }
  .hero-carousel-overlay .hero-title { font-size: 52px; }
  .hero-carousel-overlay .hero-sub   { font-size: 15px; }
}

.hero-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--primary-mid);
  margin-bottom: 10px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
}

.hero-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 10px;
  letter-spacing: .06em;
}

/* Hero Dia das Mães */
.hero-maes { padding: 0; }

.hero-maes-photo {
  width: 100%;
  height: 48dvh;
  overflow: hidden;
}

.hero-maes-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-maes-body {
  padding: 22px 20px 26px;
  text-align: center;
  background: var(--white);
}

.btn-maes-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background var(--ease), transform var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-maes-cta:active { background: var(--primary-mid); transform: scale(.97); }

.hero-inspo-scroll {
  display: flex;
  gap: 8px;
  padding: 16px 20px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
}
.hero-inspo-scroll::-webkit-scrollbar { display: none; }
.hero-inspo-scroll img {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  scroll-snap-align: start;
  display: block;
}

/* ── Hero Mães — Desktop ─────────────────────────── */
@media (min-width: 768px) {
  .hero-maes {
    background: linear-gradient(135deg, #7A3048 0%, #B07080 50%, #D4A0AA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 40px;
    position: relative;
    overflow: hidden;
  }

  /* círculos decorativos */
  .hero-maes::before,
  .hero-maes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    pointer-events: none;
  }
  .hero-maes::before { width: 480px; height: 480px; top: -160px; right: -120px; }
  .hero-maes::after  { width: 320px; height: 320px; bottom: -140px; left: -80px; }

  /* esconde a foto vertical */
  .hero-maes-photo { display: none; }

  .hero-maes-body {
    background: none;
    padding: 0;
    max-width: 600px;
    position: relative;
    z-index: 1;
  }

  .hero-maes-body .hero-tag {
    color: rgba(255,255,255,.75);
  }

  .hero-maes-body .hero-title {
    color: var(--white);
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .hero-maes-body .hero-sub {
    color: rgba(255,255,255,.80);
    font-size: 15px;
    margin-bottom: 32px;
  }

  .btn-maes-cta {
    font-size: 16px;
    padding: 14px 36px;
  }
}

/* Pill especial Dia das Mães */
.cat-pill-maes {
  background: linear-gradient(135deg, #E8739A, #C4587A);
  color: var(--white);
}
.cat-pill-maes.active {
  background: linear-gradient(135deg, #C4587A, #9B3D5A);
  color: var(--white);
}

/* ── Search ──────────────────────────────────────── */
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  margin: 20px 16px 4px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 1px 6px rgba(139,74,92,.07);
  transition: border-color var(--ease);
}
.search-bar:focus-within { border-color: var(--primary-light); }

.search-icon { flex-shrink: 0; color: var(--text-muted); }

.search-input {
  flex: 1;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
}
.search-input::placeholder { color: var(--text-muted); }

.search-clear {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-muted);
  padding: 2px 4px;
  border-radius: 50%;
  transition: color var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.search-clear:hover { color: var(--primary); }

/* ── Filters ─────────────────────────────────────── */
.filters-wrapper {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  padding-top: 5px;
}

.categories-scroll,
.subcategories-scroll {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.categories-scroll::-webkit-scrollbar,
.subcategories-scroll::-webkit-scrollbar { display: none; }

.cat-pill {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: var(--primary-pale);
  color: var(--primary);
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.cat-pill.active { background: var(--primary); color: var(--white); }

.subcategories-scroll {
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: 1px solid var(--border);
}

.subcat-pill {
  flex-shrink: 0;
  padding: 5px 13px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 500;
  background: #F9E8EB;
  color: var(--primary-mid);
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.subcat-pill.active { background: var(--primary-mid); color: var(--white); }

/* Sort bar */
.sort-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 20px 12px;
  border-top: 1px solid var(--border);
}

.sort-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sort-tabs::-webkit-scrollbar { display: none; }

.sort-btn {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--ease);
  white-space: nowrap;
}
.sort-btn.active {
  background: var(--primary-pale);
  color: var(--primary);
  border-color: var(--primary-light);
}

/* Price slider */
.price-filter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-label {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 90px;
}
.price-label strong { color: var(--primary); }

.price-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--primary-pale);
  outline: none;
}
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(139,74,92,.35);
}
.price-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(139,74,92,.35);
}

/* ── Product grid ────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 12px 100px;
}

@media (min-width: 480px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px 20px 120px;
  }
}

/* ── Product card ────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.product-card:active { transform: scale(.97); }

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--primary-pale);
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card-img { transform: scale(1.05); }

.no-photo {
  width: 100%;
  height: 100%;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.no-photo::after {
  content: '📷';
  font-size: 28px;
  opacity: .35;
}

.destaque-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.promo-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #E05050;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.product-card-info {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 5px;
}

.material-badge {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 7px;
  align-self: flex-start;
}
.material-badge.prata925      { background: #ECECF0; color: #545466; }
.material-badge.ouro18k       { background: #FBF0DC; color: #7A5A18; }
.material-badge.couroecologico { background: #F0EBE0; color: #5A4020; }
.material-badge.riviera       { background: #EAE0F5; color: #5A3A7A; }

.product-card-price {
  margin-top: auto;
  margin-bottom: 2px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.price-de {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
}

.price-por {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.product-card-installment {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 10px;
}

.btn-add {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 9px;
  border-radius: var(--radius-sm);
  transition: background var(--ease);
  letter-spacing: .03em;
}
.btn-add:active { background: #6E3A49; }

/* ── Empty state ─────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state p { font-size: 16px; font-family: 'Playfair Display', serif; }
.empty-state button {
  margin-top: 16px;
  padding: 10px 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* ── Overlay ─────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.50);
  z-index: 200;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: fadeIn .2s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Product modal (bottom sheet) ────────────────── */
.product-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: slideUp .28s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.modal-drag-handle {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  margin: 12px auto 4px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  color: var(--text);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
}

.modal-img-wrap {
  width: 100%;
  background: var(--primary-pale);
}

/* Carrossel */
.carousel-track {
  display: flex;
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 45dvh;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  background: var(--primary-pale);
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 4px;
  background: var(--primary-pale);
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  transition: background var(--ease), transform var(--ease);
}
.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.35);
}

.modal-body { padding: 20px 20px calc(40px + env(safe-area-inset-bottom)); }

.modal-badges { margin-bottom: 8px; }

.modal-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}

.modal-price {
  margin-bottom: 2px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-price .price-de {
  font-size: 14px;
}

.modal-price .price-por {
  font-size: 24px;
  color: var(--primary);
}

.modal-installment {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 16px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 300;
}

.modal-garantia {
  display: flex;
  gap: 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.garantia-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.modal-garantia strong { font-size: 13px; color: var(--text); display: block; margin-bottom: 4px; }
.modal-garantia p { font-size: 12px; color: var(--text-muted); font-weight: 300; line-height: 1.5; }

.btn-add-modal {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 16px;
  border-radius: var(--radius);
  letter-spacing: .03em;
  transition: background var(--ease);
}
.btn-add-modal:active { background: #6E3A49; }

/* ── Cart drawer ─────────────────────────────────── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100vw, 380px);
  background: var(--white);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,.12);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
}

.cart-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  overscroll-behavior: contain;
}

.cart-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}
.cart-empty p { font-size: 15px; }
.cart-empty small { display: block; font-size: 12px; margin-top: 6px; font-weight: 300; }

/* Cart item */
.cart-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--primary-pale);
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 3px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.qty-btn:active { background: var(--primary-light); }

.qty-num { font-size: 14px; font-weight: 600; min-width: 18px; text-align: center; }

.cart-item-remove {
  color: var(--text-muted);
  font-size: 16px;
  padding: 6px;
  flex-shrink: 0;
  opacity: .7;
}

/* Cart footer */
.cart-footer {
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-muted);
}
.cart-total-row strong {
  font-size: 22px;
  color: var(--primary);
  font-weight: 700;
}

.btn-finalizar {
  width: 100%;
  background: var(--whatsapp);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 16px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: .03em;
  transition: background var(--ease);
}
.btn-finalizar:active { background: #1EBE5A; }

/* ── Transition screen ───────────────────────────── */
.transition-screen {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .3s ease;
}

.transition-content { text-align: center; }

.transition-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: pulse 1s ease infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

.transition-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--white);
  font-weight: 400;
  line-height: 1.5;
}

/* ── Fixed WhatsApp ──────────────────────────────── */
.wa-fixed {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: 20px;
  z-index: 150;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform var(--ease), box-shadow var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.wa-fixed:active {
  transform: scale(.94);
  box-shadow: 0 2px 8px rgba(37,211,102,.35);
}

/* ── Footer dev credit ───────────────────────────── */
.site-footer {
  text-align: center;
  padding: 16px 0 24px;
}
.footer-dev {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gray);
}
.footer-dev-link { display: inline-flex; align-items: center; }
.footer-dev-logo { height: 18px; width: auto; display: block; }
