/* Venzap storefront base stylesheet. Theme colors/fonts come from the :root block injected by the renderer. */

:root {
  --primary: #8e4fb8;
  --primary-dark: #6d3a91;
  --light: #f3eaf9;
  --accent: #d9c3ea;
  --background: #faf6f0;
  --sand: #efe6d8;
  --text: #3b2a20;
  --text-muted: #6b5a4e;
  --white: #ffffff;
  --wa-green: #25d366;
  --wa-green-dark: #1da851;
  --error: #c0392b;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(59, 42, 32, 0.08);
  --container: 1180px;
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.1; margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700;
  color: var(--primary); margin-bottom: 10px;
}
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head__lead { color: var(--text-muted); margin-top: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; min-height: 48px; transition: transform .12s, background .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { background: transparent; border-color: var(--accent); color: var(--text); }
.btn--ghost:hover { background: var(--light); }
.btn--wa { background: var(--wa-green); color: #083d1f; width: 100%; font-size: 1.02rem; }
.btn--wa:hover { background: var(--wa-green-dark); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--accent); background: var(--white);
  display: grid; place-items: center; font-size: 1rem;
}

/* Announcement bar */
.announce {
  background: var(--primary); color: #fff; text-align: center; font-size: .82rem; padding: 8px 12px;
}
.announce strong { font-weight: 800; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40; background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--sand);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.header__logo img { width: 92px; height: auto; }
.header__nav { display: none; gap: 22px; font-weight: 600; font-size: .95rem; }
.header__nav a { text-decoration: none; color: var(--text-muted); }
.header__nav a:hover { color: var(--primary); }
.btn-cart {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 2px solid var(--primary); background: var(--white); color: var(--primary); font-weight: 700; min-height: 44px;
}
.btn-cart__count {
  position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--primary); color: #fff; font-size: .75rem; display: grid; place-items: center;
}

/* Hero */
.hero { padding: 36px 0 20px; }
.hero__grid { display: grid; gap: 28px; }
.hero__lead { color: var(--text-muted); font-size: 1.05rem; margin-top: 16px; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__facts {
  list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.hero__facts li { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-sm); padding: 10px 12px; display: grid; }
.hero__facts strong { font-family: var(--font-heading); font-size: 1.35rem; color: var(--primary-dark); }
.hero__facts span { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.hero__media { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag {
  position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  padding: 10px 14px; border-radius: var(--radius-sm); display: grid; gap: 2px; font-size: .85rem;
}
.hero__tag strong { font-size: 1.1rem; color: var(--primary-dark); }
.hero__tag small { font-weight: 500; color: var(--text-muted); }

/* Trust */
.trust { padding: 24px 0 8px; }
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.trust__item { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 16px; }
.trust__icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--light); color: var(--primary-dark); font-weight: 800; margin-bottom: 10px; font-size: 1rem;
}
.trust__item h3 { font-family: var(--font-body); font-size: .95rem; font-weight: 800; }
.trust__item p { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }

/* Catalog */
.catalog { padding: 48px 0 24px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--accent); background: var(--white);
  font-weight: 600; font-size: .9rem; color: var(--text); min-height: 42px;
}
.chip[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.cat-section { padding: 22px 0 6px; }
.cat-section__title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.cat-section__title span { color: var(--text-muted); font-size: .9rem; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.card {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; text-align: left; padding: 0; color: inherit; transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { position: relative; aspect-ratio: 3/4; background: var(--sand); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card__badge {
  position: absolute; top: 10px; left: 10px; background: var(--primary); color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px;
}
.card__body { padding: 12px 12px 14px; display: grid; gap: 6px; flex: 1; }
.card__name { font-family: var(--font-body); font-size: .95rem; font-weight: 700; line-height: 1.25; }
.card__meta { font-size: .75rem; color: var(--text-muted); }
.card__prices { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.price { display: grid; line-height: 1.1; }
.price small { font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.price strong { font-size: 1.05rem; }
.price--atacado strong { color: var(--primary-dark); font-size: 1.2rem; }
.swatches { display: flex; gap: 4px; flex-wrap: wrap; }
.swatch {
  width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); display: inline-block;
}
.swatch--more { width: auto; height: auto; border: 0; font-size: .7rem; color: var(--text-muted); line-height: 14px; }
.card__cta {
  margin-top: 6px; padding: 10px; border-radius: 999px; border: 1.5px solid var(--primary); background: var(--white);
  color: var(--primary); font-weight: 700; font-size: .88rem; min-height: 42px;
}
.card:hover .card__cta { background: var(--primary); color: #fff; }

/* Quick view */
.qv {
  border: 0; padding: 0; border-radius: var(--radius); width: min(100vw - 16px, 980px); max-height: calc(100dvh - 16px);
  background: var(--white); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.3); overflow: auto;
}
.qv::backdrop { background: rgba(59,42,32,.55); backdrop-filter: blur(3px); }
.qv__close-form { position: absolute; top: 10px; right: 10px; z-index: 2; margin: 0; }
.qv__grid { display: grid; }
.qv__gallery { background: var(--sand); }
.qv__main { width: 100%; height: 52vh; object-fit: cover; object-position: top; }
.qv__thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; background: var(--white); }
.qv__thumbs button { flex: 0 0 56px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; }
.qv__thumbs button[aria-current="true"] { border-color: var(--primary); }
.qv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv__info { padding: 18px 18px 20px; display: grid; gap: 14px; align-content: start; }
.qv__info h2 { font-size: 1.7rem; }
.qv__desc { color: var(--text-muted); font-size: .95rem; }
.qv__prices { display: flex; gap: 18px; padding: 12px 14px; background: var(--light); border-radius: var(--radius-sm); }
.qv__prices .price strong { font-size: 1.35rem; }
.qv__rule { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
.field { display: grid; gap: 8px; }
.field > span { font-weight: 700; font-size: .85rem; }
.field > span em { font-style: normal; font-weight: 500; color: var(--text-muted); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn {
  padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--accent); background: var(--white); font-weight: 600; font-size: .88rem; min-height: 40px;
}
.opt-btn[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.opt-btn--color { display: inline-flex; align-items: center; gap: 7px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--accent); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 42px; border: 0; background: var(--white); font-size: 1.2rem; }
.qty input { width: 48px; height: 42px; border: 0; text-align: center; font-weight: 700; font-size: 1rem; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qv__add { display: flex; gap: 10px; align-items: center; position: sticky; bottom: 0; background: var(--white); padding: 10px 0; margin: -4px 0; z-index: 1; }
.qv__add .btn { flex: 1; white-space: nowrap; padding-inline: 16px; font-size: .95rem; }
.qv__details { font-size: .88rem; color: var(--text-muted); padding-left: 18px; margin: 0; display: grid; gap: 3px; }
.qv__note { font-size: .78rem; color: var(--text-muted); border-left: 3px solid var(--accent); padding-left: 10px; }

/* How it works */
.how { padding: 48px 0; background: var(--white); border-block: 1px solid var(--sand); }
.how__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.how__steps li { background: var(--background); border-radius: var(--radius); padding: 20px; }
.how__num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff;
  font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; margin-bottom: 12px;
}
.how__steps p { color: var(--text-muted); font-size: .92rem; margin-top: 6px; }

/* FAQ */
.faq { padding: 48px 0; }
.faq__list { display: grid; gap: 8px; }
.faq details { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-sm); padding: 0 16px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 14px; color: var(--text-muted); font-size: .92rem; }

/* Footer */
.footer { background: var(--text); color: #e9dfd4; padding: 40px 0 24px; margin-bottom: 72px; }
.footer__grid { display: grid; gap: 24px; }
.footer h3 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 8px; }
.footer p { font-size: .92rem; margin-bottom: 4px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__logo { filter: brightness(0) invert(1); opacity: .9; margin-bottom: 10px; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; font-size: .78rem; color: #b9aa9c; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 16px; bottom: 88px; z-index: 30; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa-green); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.4);
}

/* Mobile sticky bar */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--white); border-top: 1px solid var(--sand);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 -8px 24px rgba(59,42,32,.08);
}
.sticky-bar__info { display: grid; line-height: 1.15; }
.sticky-bar__info strong { font-size: 1.1rem; color: var(--primary-dark); }
.sticky-bar__info span { font-size: .78rem; color: var(--text-muted); }

/* Drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(59,42,32,.5); z-index: 50; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 51; width: min(100vw, 460px); background: var(--background);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -20px 0 60px rgba(0,0,0,.2);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--sand); background: var(--white); }
.drawer__head h2 { font-size: 1.5rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 14px 16px 20px; }
.drawer__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--sand); background: var(--white); display: grid; gap: 10px; }

.progress { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 12px; }
.progress__label { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
.progress__bar { height: 8px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.progress__fill { height: 100%; background: var(--primary); transition: width .25s; }
.progress--ok .progress__fill { background: var(--wa-green); }
.progress__hint { font-size: .78rem; color: var(--text-muted); margin-top: 6px; }

.cart-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-sm); padding: 8px; align-items: center; }
.cart-item img { width: 56px; height: 72px; object-fit: cover; object-position: top; border-radius: 6px; }
.cart-item__name { font-weight: 700; font-size: .88rem; line-height: 1.2; }
.cart-item__var { font-size: .76rem; color: var(--text-muted); }
.cart-item__price { font-size: .82rem; margin-top: 4px; }
.cart-item__side { display: grid; gap: 6px; justify-items: end; }
.cart-item .qty button { width: 34px; height: 34px; }
.cart-item .qty input { width: 34px; height: 34px; font-size: .9rem; }
.cart-item__remove { border: 0; background: none; font-size: .74rem; color: var(--error); text-decoration: underline; padding: 0; }
.cart-empty { text-align: center; color: var(--text-muted); padding: 24px 8px; font-size: .92rem; }

.order-form { display: grid; gap: 8px; }
.order-form h3 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-top: 10px; }
.order-form label { font-weight: 600; font-size: .85rem; margin-top: 4px; }
.order-form input, .order-form textarea {
  width: 100%; padding: 12px; border: 1.5px solid var(--accent); border-radius: var(--radius-sm); background: var(--white); font: inherit; font-size: 1rem;
}
.order-form input:focus, .order-form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.req { color: var(--error); }
.opt { font-weight: 500; color: var(--text-muted); font-size: .78rem; }
.radio-group { display: grid; gap: 6px; }
.radio-group label { display: flex; gap: 10px; align-items: center; background: var(--white); border: 1.5px solid var(--accent); border-radius: var(--radius-sm); padding: 10px 12px; font-weight: 500; font-size: .9rem; margin: 0; }
.radio-group label:has(input:checked) { border-color: var(--primary); background: var(--light); }
.radio-group input { width: 18px; height: 18px; accent-color: var(--primary); margin: 0; }
.form-error { color: var(--error); font-size: .85rem; font-weight: 600; }

.totals { display: grid; gap: 4px; font-size: .9rem; }
.totals__row { display: flex; justify-content: space-between; }
.totals__row--total { font-size: 1.15rem; font-weight: 800; border-top: 1px dashed var(--sand); padding-top: 6px; margin-top: 2px; }
.totals__badge { font-size: .75rem; font-weight: 700; color: var(--primary-dark); background: var(--light); padding: 2px 8px; border-radius: 999px; }
.totals__save { color: var(--wa-green-dark); font-weight: 700; }

.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--text); color: #fff; padding: 12px 18px;
  border-radius: 999px; font-size: .9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: all .25s; z-index: 60; max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Tablet and desktop */
@media (min-width: 720px) {
  .header__logo img { width: 110px; }
  .header__nav { display: flex; }
  .hero { padding: 56px 0 32px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card__body { padding: 14px 14px 16px; }
  .qv__grid { grid-template-columns: 1fr 1fr; }
  .qv__gallery { position: sticky; top: 0; }
  .qv__main { height: auto; aspect-ratio: 3/4; max-height: calc(100dvh - 16px); }
  .qv__add { position: static; padding: 0; margin: 0; }
  .qv__info { padding: 28px; }
  .how__steps { grid-template-columns: repeat(3, 1fr); }
  .faq__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer { margin-bottom: 0; }
  .sticky-bar { display: none; }
  .wa-float { bottom: 24px; right: 24px; }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drawer, .card, .toast, .btn { transition: none; }
}
