/* ============================================================================
   MI EMPRESA · DESIGN SYSTEM
   Aesthetic: premium retail · airy + bold · ember/gold accents
   Fonts: Bricolage Grotesque (display) · Plus Jakarta Sans (body)
   ========================================================================== */

/* ---------- TOKENS ---------- */
:root {
  /* color */
  --ink:        #10151C;
  --ink-soft:   #39424F;
  --muted:      #717A87;
  --muted-2:    #9AA2AD;
  --line:       #EAECF0;
  --line-2:     #F1F2F5;
  --bg:         #FFFFFF;
  --bg-2:       #F7F8FA;
  --bg-3:       #FCFBF9;

  --brand:      #FF5630;   /* ember */
  --brand-d:    #E63E1C;
  --brand-l:    #FFEDE7;
  --brand-glow: rgba(255,86,48,.35);

  --gold:       #FFB020;
  --gold-d:     #F08C00;
  --green:      #00B37E;
  --green-l:    #E3FBF1;
  --blue:       #3B5BDB;

  /* radii */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* shadow */
  --sh-sm: 0 1px 2px rgba(16,21,28,.06), 0 1px 3px rgba(16,21,28,.05);
  --sh:    0 6px 20px rgba(16,21,28,.07), 0 2px 6px rgba(16,21,28,.04);
  --sh-lg: 0 20px 50px rgba(16,21,28,.12), 0 6px 16px rgba(16,21,28,.06);
  --sh-brand: 0 12px 28px var(--brand-glow);

  /* type */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --container: 1240px;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }

/* ---------- UTIL ---------- */
.hide-sm { display: inline; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .76rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: .55rem;
}
.eyebrow--gold { color: var(--gold-d); }
.eyebrow--light { color: rgba(255,255,255,.85); }

/* ============================================================================
   TOPBAR (marquee)
   ========================================================================== */
.topbar {
  background: var(--ink);
  color: #E7E9ED;
  font-size: .82rem;
  overflow: hidden;
  position: relative;
}
.topbar__track {
  display: flex; gap: 3rem; white-space: nowrap; width: max-content;
  padding: .55rem 0;
  animation: marquee 32s linear infinite;
}
.topbar__track span { display: inline-flex; align-items: center; gap: .4rem; opacity: .85; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .topbar__track{ animation: none; } }

/* ============================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--sh); }
.header__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem clamp(1rem, 3vw, 2rem);
}
.header__menu { display: none; }

.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-d));
  box-shadow: var(--sh-brand);
  letter-spacing: -.04em;
}
.brand__text { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; letter-spacing: -.02em; }
.brand__text strong { font-weight: 800; }
.brand__text--light { color: #fff; }

/* branch selector */
.branch {
  display: flex; align-items: center; gap: .55rem;
  padding: .4rem .7rem; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--bg); transition: .2s var(--ease); flex-shrink: 0;
}
.branch:hover { border-color: var(--brand); box-shadow: var(--sh-sm); }
.branch__icon { font-size: 1.15rem; }
.branch__col { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.branch__col small { font-size: .62rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.branch__col strong { font-size: .82rem; font-weight: 700; }
.branch__chev { width: 16px; height: 16px; color: var(--muted); }

/* search */
.search {
  flex: 1; position: relative; display: flex; align-items: center;
  background: var(--bg-2); border: 1px solid transparent; border-radius: var(--r-pill);
  padding: 0 .9rem; max-width: 460px; transition: .2s var(--ease);
}
.search:focus-within { background: var(--bg); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-l); }
.search__icon { width: 19px; height: 19px; color: var(--muted); flex-shrink: 0; }
.search input { flex: 1; border: none; background: none; padding: .65rem .6rem; font-size: .92rem; }
.search input::placeholder { color: var(--muted-2); }
.search kbd {
  font-family: var(--font-body); font-size: .72rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px; padding: .1rem .4rem; background: var(--bg);
}

/* nav */
.nav { display: flex; gap: .3rem; flex-shrink: 0; }
.nav a {
  padding: .5rem .8rem; border-radius: var(--r-sm); font-weight: 600; font-size: .9rem; color: var(--ink-soft);
  transition: .18s var(--ease);
}
.nav a:hover { background: var(--bg-2); color: var(--ink); }

.header__actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

/* cart button */
.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  transition: .2s var(--ease);
}
.cart-btn:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-btn__count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--brand); color: #fff; border-radius: var(--r-pill);
  font-size: .7rem; font-weight: 800; display: grid; place-items: center;
  border: 2px solid var(--bg); transform: scale(0); transition: transform .25s var(--ease);
}
.cart-btn__count.show { transform: scale(1); }

/* ============================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: .92rem; border-radius: var(--r-pill);
  padding: .7rem 1.3rem; transition: .2s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--lg { padding: .9rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-d); transform: translateY(-2px); box-shadow: 0 16px 34px var(--brand-glow); }
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: var(--bg-2); color: var(--ink); }
.btn--ghost:hover { background: var(--line); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  color: var(--ink); transition: .18s var(--ease); font-size: 1rem;
}
.icon-btn:hover { background: var(--bg-2); }
.icon-btn svg { width: 22px; height: 22px; }

.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--brand-l); color: var(--brand-d);
  font-weight: 700; font-size: .82rem; padding: .4rem .9rem; border-radius: var(--r-pill);
}

/* ============================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FFFDFB 0%, #FFF7F3 55%, var(--bg) 100%);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 7vw, 6rem);
}
.hero__content, .hero__card { position: relative; z-index: 2; }
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center;
  max-width: var(--container); margin: 0 auto;
}
/* atmosphere */
.hero__bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blob--1 { width: 460px; height: 460px; top: -120px; right: -80px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%); }
.blob--2 { width: 380px; height: 380px; bottom: -120px; left: -60px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%); opacity: .35; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  opacity: .6;
}

.hero__title { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; }
.hero__title .grad {
  background: linear-gradient(110deg, var(--brand), var(--gold-d));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--ink-soft); max-width: 38ch; margin: 1.2rem 0 1.9rem; }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 2.2rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero__stats > div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; }
.hero__stats small { color: var(--muted); font-size: .82rem; font-weight: 600; }

/* floating cards */
.hero__card { position: relative; height: 440px; }
.floatcard {
  position: absolute; display: flex; align-items: center; gap: .8rem;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: .9rem 1.1rem; box-shadow: var(--sh-lg);
}
.floatcard__emoji { font-size: 1.8rem; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; background: var(--bg-2); flex-shrink: 0; }
.floatcard small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.floatcard strong { display: block; font-size: .95rem; font-family: var(--font-display); }
.floatcard .price { color: var(--brand); font-weight: 800; font-size: .9rem; }
.floatcard--a { top: 18%; left: 4%; animation: float 6s var(--ease) infinite; }
.floatcard--b { top: 0; right: 2%; animation: float 7s var(--ease) infinite .5s; }
.floatcard--c { bottom: 8%; left: 18%; animation: float 6.5s var(--ease) infinite 1s; }
.badge { position: absolute; top: -10px; left: -10px; font-size: .7rem; font-weight: 800;
  padding: .2rem .55rem; border-radius: var(--r-pill); }
.badge--gold { background: var(--gold); color: var(--ink); }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce){ .floatcard{ animation: none; } }

/* ============================================================================
   BENEFITS
   ========================================================================== */
.benefits {
  max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem,3vw,2rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  transform: translateY(-30px);
}
.benefits article {
  display: flex; gap: .9rem; align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.1rem 1.2rem; box-shadow: var(--sh-sm); transition: .25s var(--ease);
}
.benefits article:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.benefits span { font-size: 1.7rem; }
.benefits strong { font-family: var(--font-display); font-size: 1rem; display: block; }
.benefits p { font-size: .82rem; color: var(--muted); }

/* ============================================================================
   SECTIONS
   ========================================================================== */
.section { max-width: var(--container); margin: 0 auto; padding: clamp(2.5rem,5vw,4.5rem) clamp(1rem,3vw,2rem); }
.section--tight { padding-top: 1rem; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.section__desc { color: var(--muted); max-width: 36ch; }

/* ---------- categories ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 1rem;
}
.cat-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1/1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem; cursor: pointer; border: none; color: #fff; text-align: left;
  transition: .3s var(--ease); isolation: isolate;
}
.cat-card::before { content: ''; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(150deg, var(--c1), var(--c2)); }
.cat-card::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35)); }
.cat-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--sh-lg); }
.cat-card.is-active { box-shadow: 0 0 0 3px var(--ink), var(--sh-lg); }
.cat-card__emoji { font-size: 2.4rem; position: absolute; top: 1rem; right: 1rem; opacity: .92;
  transition: .3s var(--ease); }
.cat-card:hover .cat-card__emoji { transform: scale(1.15) rotate(-6deg); }
.cat-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.1; }
.cat-card__count { font-size: .74rem; opacity: .85; font-weight: 600; }

/* ============================================================================
   TOOLBAR / FILTERS
   ========================================================================== */
.toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.toolbar__title { font-size: clamp(1.5rem,2.5vw,2rem); }
.toolbar__controls { display: flex; gap: .8rem; }
.select { display: flex; flex-direction: column; gap: .25rem; }
.select label { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.select select {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: .55rem 2rem .55rem .8rem;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23717A87' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .55rem center / 16px;
  font-weight: 600; font-size: .88rem; appearance: none; cursor: pointer; min-width: 150px;
  transition: .18s var(--ease);
}
.select select:hover { border-color: var(--brand); }

.result-bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; font-size: .88rem; color: var(--muted); }
.chip-clear { color: var(--brand); font-weight: 700; font-size: .85rem; }
.chip-clear:hover { text-decoration: underline; }

/* ============================================================================
   PRODUCT GRID + CARDS
   ========================================================================== */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(228px,1fr)); gap: 1.3rem;
}
.product-grid--offers { grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: .28s var(--ease); position: relative;
  animation: cardIn .5s var(--ease) both;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }

.card__media {
  position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: pointer;
  display: grid; place-items: center;
}
.card__media .thumb { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3.4rem;
  transition: .4s var(--ease); }
.card:hover .thumb { transform: scale(1.08); }
.card__tags { position: absolute; top: .7rem; left: .7rem; display: flex; flex-direction: column; gap: .35rem; z-index: 2; }
.tag { font-size: .68rem; font-weight: 800; padding: .22rem .55rem; border-radius: var(--r-pill); letter-spacing: .02em; }
.tag--new { background: var(--ink); color: #fff; }
.tag--off { background: var(--gold); color: var(--ink); }
.tag--low { background: var(--brand-l); color: var(--brand-d); }

.card__fav {
  position: absolute; top: .6rem; right: .6rem; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); backdrop-filter: blur(4px); display: grid; place-items: center;
  color: var(--ink-soft); z-index: 2; opacity: 0; transform: translateY(-6px); transition: .22s var(--ease);
}
.card:hover .card__fav { opacity: 1; transform: translateY(0); }
.card__fav:hover { color: var(--brand); }
.card__fav.is-fav { color: var(--brand); opacity: 1; transform: translateY(0); }
.card__fav.is-fav svg { fill: var(--brand); }

.card__body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.card__brand { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card__name { font-family: var(--font-display); font-weight: 600; font-size: .96rem; line-height: 1.25;
  margin: .25rem 0 .5rem; min-height: 2.4em; cursor: pointer;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name:hover { color: var(--brand); }
.card__rate { display: flex; align-items: center; gap: .25rem; font-size: .78rem; color: var(--muted); margin-bottom: .6rem; }
.card__rate .stars { color: var(--gold); letter-spacing: -1px; }

.card__price { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; }
.price-now { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; color: var(--ink); }
.price-old { font-size: .85rem; color: var(--muted-2); text-decoration: line-through; }
.price-may {
  display: inline-flex; align-items: center; gap: .3rem; margin-top: .35rem;
  font-size: .76rem; font-weight: 700; color: var(--green);
  background: var(--green-l); padding: .15rem .5rem; border-radius: var(--r-pill); width: fit-content;
}
.price-locked {
  margin-top: .35rem; font-size: .74rem; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: .3rem; cursor: pointer;
}
.price-locked:hover { color: var(--brand); }

.card__add {
  margin-top: .9rem; display: flex; align-items: center; justify-content: center; gap: .45rem;
  background: var(--bg-2); color: var(--ink); font-weight: 700; font-size: .86rem;
  padding: .6rem; border-radius: var(--r-sm); transition: .2s var(--ease); width: 100%;
}
.card__add:hover { background: var(--ink); color: #fff; }
.card__add svg { width: 17px; height: 17px; }
.card__add.added { background: var(--green); color: #fff; }

/* loader */
.sentinel { height: 1px; }
.loader { display: flex; justify-content: center; gap: .5rem; padding: 2rem; }
.loader span { width: 10px; height: 10px; border-radius: 50%; background: var(--brand);
  animation: bounce .6s var(--ease) infinite alternate; }
.loader span:nth-child(2){ animation-delay: .15s; }
.loader span:nth-child(3){ animation-delay: .3s; }
@keyframes bounce { to { transform: translateY(-12px); opacity: .4; } }

.grid-empty { text-align: center; padding: 4rem 1rem; }
.grid-empty span { font-size: 3rem; display: block; margin-bottom: .5rem; }
.grid-empty h3 { font-size: 1.3rem; }
.grid-empty p { color: var(--muted); }

/* ============================================================================
   OFFERS section
   ========================================================================== */
.offers { background: var(--bg-3); border-radius: var(--r-xl); margin-top: 1rem; }

/* ============================================================================
   APP CTA
   ========================================================================== */
.appcta {
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
  margin: 4rem clamp(1rem,3vw,2rem) 0; border-radius: var(--r-xl);
  max-width: calc(var(--container)); margin-left: auto; margin-right: auto;
}
.appcta::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%); opacity: .4;
  top: -150px; right: -100px; }
.appcta::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%); opacity: .25;
  bottom: -150px; left: 10%; }
.appcta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 2rem; align-items: center; padding: clamp(2rem,4vw,3.5rem); }
.appcta__text h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); }
.appcta__text > p { color: rgba(255,255,255,.7); margin: 1rem 0 1.5rem; max-width: 40ch; }
.checklist { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.8rem; }
.checklist li { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.9); font-size: .92rem; }
.checklist li::before { content: '✓'; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.appcta__buttons { display: flex; gap: .8rem; flex-wrap: wrap; }
.appcta__meta { display: flex; gap: 2rem; margin-top: 2.2rem; flex-wrap: wrap; }
.appcta__meta strong { font-family: var(--font-display); font-size: 1.4rem; display: block; }
.appcta__meta small { color: rgba(255,255,255,.6); font-size: .78rem; }

/* phone mockup */
.appcta__phone { display: grid; place-items: center; }
.phone { width: 240px; height: 480px; background: #1A2129; border-radius: 38px; padding: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative; animation: float 8s var(--ease) infinite; }
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #1A2129; border-radius: 0 0 14px 14px; z-index: 3; }
.phone__screen { width: 100%; height: 100%; background: linear-gradient(180deg,#FFF7F3,#fff);
  border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.phone__head { display: flex; justify-content: space-between; align-items: center; padding: 1.6rem 1rem .7rem;
  font-family: var(--font-display); font-weight: 800; font-size: .8rem; color: var(--ink); }
.phone__hero { margin: 0 .8rem; padding: 1rem; border-radius: 14px; color: #fff; font-weight: 700; font-size: .8rem;
  background: linear-gradient(120deg, var(--brand), var(--gold-d)); box-shadow: var(--sh); }
.phone__cards { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .8rem; flex: 1; }
.phone__cards div { background: #fff; border-radius: 10px; box-shadow: var(--sh-sm); }
.phone__bar { display: flex; justify-content: space-around; padding: .7rem; background: #fff;
  border-top: 1px solid var(--line); font-size: 1rem; }

/* ============================================================================
   REVIEWS
   ========================================================================== */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.2rem; }
.review {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem; box-shadow: var(--sh-sm); transition: .25s var(--ease);
}
.review:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.review__stars { color: var(--gold); margin-bottom: .7rem; letter-spacing: 1px; }
.review__text { font-size: .96rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.review__author { display: flex; align-items: center; gap: .7rem; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; color: #fff; font-family: var(--font-display);
  background: linear-gradient(135deg, var(--brand), var(--gold-d)); }
.review__author strong { display: block; font-size: .9rem; font-family: var(--font-display); }
.review__author small { color: var(--muted); font-size: .78rem; }

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: #C8CDD4; margin-top: 4rem; }
.footer__inner {
  max-width: var(--container); margin: 0 auto; padding: clamp(2.5rem,4vw,3.5rem) clamp(1rem,3vw,2rem) 2rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; gap: 2rem;
}
.footer__brand p { font-size: .9rem; color: rgba(255,255,255,.6); margin: 1rem 0 1.2rem; max-width: 28ch; }
.social { display: flex; gap: .6rem; }
.social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; font-weight: 700; transition: .2s var(--ease); }
.social a:hover { background: var(--brand); transform: translateY(-2px); }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__col a, .footer__col p { display: block; font-size: .88rem; color: rgba(255,255,255,.65);
  margin-bottom: .55rem; transition: .18s var(--ease); }
.footer__col a:hover { color: var(--brand); }
.newsletter { display: flex; gap: .5rem; margin-top: .3rem; }
.newsletter input { flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-pill); padding: .65rem 1rem; color: #fff; font-size: .85rem; }
.newsletter input::placeholder { color: rgba(255,255,255,.45); }
.newsletter .btn { padding: .65rem 1.1rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem clamp(1rem,3vw,2rem);
  max-width: var(--container); margin: 0 auto; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.45);
}

/* ============================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.wa-float {
  position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: .25s var(--ease); animation: waPulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; stroke: none; }
@keyframes waPulse { 0%{ box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0);} }

/* ============================================================================
   DRAWER (cart)
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(16,21,28,.5); opacity: 0; transition: .3s var(--ease); }
.drawer.open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--sh-lg);
}
.drawer.open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem;
  border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.25rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.cart-empty { text-align: center; padding: 4rem 1rem; }
.cart-empty span { font-size: 3.4rem; display: block; margin-bottom: 1rem; }
.cart-empty p { color: var(--muted); margin-bottom: 1.5rem; }
.cart-list { display: flex; flex-direction: column; gap: .9rem; }
.cart-item { display: flex; gap: .9rem; align-items: center; padding-bottom: .9rem; border-bottom: 1px solid var(--line-2); }
.cart-item__thumb { width: 60px; height: 60px; border-radius: var(--r-sm); display: grid; place-items: center;
  font-size: 1.8rem; background: var(--bg-2); flex-shrink: 0; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-family: var(--font-display); font-weight: 600; font-size: .88rem; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item__price { color: var(--brand); font-weight: 800; font-size: .92rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); margin-top: .3rem; }
.qty button { width: 26px; height: 26px; display: grid; place-items: center; font-weight: 800; color: var(--ink-soft); }
.qty button:hover { color: var(--brand); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; font-size: .85rem; }
.cart-item__remove { color: var(--muted-2); font-size: .9rem; align-self: flex-start; }
.cart-item__remove:hover { color: var(--brand); }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.3rem 1.4rem; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .3rem; }
.cart-total strong { font-family: var(--font-display); font-size: 1.6rem; }
.cart-note { font-size: .78rem; color: var(--muted); margin-bottom: 1rem; }

/* ============================================================================
   MODALS
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 110; visibility: hidden; }
.modal.open { visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(16,21,28,.55); backdrop-filter: blur(4px);
  opacity: 0; transition: .3s var(--ease); }
.modal.open .modal__overlay { opacity: 1; }
.modal__box {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -46%) scale(.96);
  width: min(440px, 92vw); max-height: 90vh; overflow-y: auto;
  background: var(--bg); border-radius: var(--r-xl); padding: 2rem; box-shadow: var(--sh-lg);
  opacity: 0; transition: .32s var(--ease);
}
.modal.open .modal__box { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.modal__box--wide { width: min(560px, 92vw); }
.modal__box--product { width: min(820px, 94vw); padding: 0; }
.modal__box--branch { width: min(500px, 92vw); }
.modal__x { position: absolute; top: 1rem; right: 1rem; z-index: 3; }
.modal__head { text-align: center; margin-bottom: 1.5rem; }
.modal__icon { font-size: 2.4rem; display: block; margin-bottom: .5rem; }
.modal__head h3 { font-size: 1.5rem; }
.modal__head p { color: var(--muted); font-size: .92rem; margin-top: .4rem; }
.modal__divider { text-align: center; position: relative; margin: 1.3rem 0; }
.modal__divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.modal__divider span { position: relative; background: var(--bg); padding: 0 .8rem; color: var(--muted); font-size: .85rem; }

/* forms */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: .7rem .9rem;
  background: var(--bg-2); font-size: .92rem; transition: .18s var(--ease); resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  background: var(--bg); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-l); outline: none;
}
.field small { font-size: .74rem; color: var(--muted); }
.check { display: flex; align-items: flex-start; gap: .55rem; font-size: .82rem; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--brand); margin-top: .1rem; }

/* branch list */
.branch-list { display: flex; flex-direction: column; gap: .7rem; }
.branch-list li {
  display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--line);
  border-radius: var(--r-lg); cursor: pointer; transition: .2s var(--ease);
}
.branch-list li:hover { border-color: var(--brand); background: var(--brand-l); }
.branch-list li.is-active { border-color: var(--brand); background: var(--brand-l); box-shadow: var(--sh-sm); }
.branch-list .b-icon { font-size: 1.8rem; }
.branch-list strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.branch-list small { color: var(--muted); font-size: .82rem; }
.branch-list .b-check { margin-left: auto; color: var(--brand); font-weight: 800; opacity: 0; }
.branch-list li.is-active .b-check { opacity: 1; }

/* product view */
.pview { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.pview__media { background: linear-gradient(150deg, var(--bg-2), var(--bg-3)); display: grid; place-items: center;
  min-height: 320px; font-size: 7rem; border-radius: var(--r-xl) 0 0 var(--r-xl); }
.pview__info { padding: 2.2rem; }
.pview__brand { font-size: .76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pview__name { font-size: 1.7rem; margin: .4rem 0; }
.pview__rate { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.pview__rate .stars { color: var(--gold); }
.pview__price { display: flex; align-items: baseline; gap: .7rem; margin: 1rem 0 .3rem; }
.pview__price .price-now { font-size: 2rem; }
.pview__desc { color: var(--ink-soft); font-size: .92rem; margin: 1.2rem 0; }
.pview__meta { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; font-size: .85rem; }
.pview__meta div strong { display: block; font-family: var(--font-display); }
.pview__meta div small { color: var(--muted); }
.pview__actions { display: flex; gap: .7rem; }

/* ============================================================================
   TOASTS
   ========================================================================== */
.toasts { position: fixed; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  z-index: 200; display: flex; flex-direction: column; gap: .6rem; align-items: center; pointer-events: none; }
.toast {
  background: var(--ink); color: #fff; padding: .8rem 1.3rem; border-radius: var(--r-pill);
  font-size: .9rem; font-weight: 600; box-shadow: var(--sh-lg); display: flex; align-items: center; gap: .5rem;
  animation: toastIn .35s var(--ease), toastOut .35s var(--ease) 2.6s forwards;
}
.toast--success { background: var(--green); }
.toast--brand { background: var(--brand); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(20px); } }

/* ============================================================================
   REVEAL on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .hero__card { display: none; }
  .appcta__inner { grid-template-columns: 1fr; }
  .appcta__phone { display: none; }
  .benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .header__inner { flex-wrap: wrap; }
  .branch__col small { display: none; }
  .toolbar__controls { width: 100%; }
  .toolbar__controls .select { flex: 1; }
  .select select { min-width: 0; width: 100%; }
  .pview { grid-template-columns: 1fr; }
  .pview__media { border-radius: var(--r-xl) var(--r-xl) 0 0; min-height: 200px; font-size: 5rem; }
  .form--grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .benefits { grid-template-columns: 1fr; transform: translateY(-15px); }
  .hero__stats { gap: 1.4rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .card__name { font-size: .85rem; }
  .price-now { font-size: 1.1rem; }
  .modal__box { padding: 1.5rem; }
}
