/* ===== Design Tokens — Paleta da marca Personalize ===== */
:root {
  --orange: #e19e56;
  --orange-deep: #cf8636;
  --lilac: #c0a8ef;
  --purple: #9b7fe0;
  --purple-deep: #7c5fce;
  --magenta: #ce4c99;
  --magenta-deep: #b83b85;
  --green: #8dc63f;
  --green-deep: #729f30;
  --cyan: #9bdfe8;
  --cyan-deep: #5cc7d4;
  --periwinkle: #abaedd;
  --yellow: #f1d845;
  --coral: #f489a8;

  --ink: #2f2a3d;
  --ink-soft: #5b5470;
  --muted: #8b84a0;
  --bg: #ffffff;
  --bg-soft: #fdfbff;
  --bg-cream: #fff9f2;
  --bg-tint: #f6f0ff;
  --line: #efe9f7;
  --white: #ffffff;

  --grad: linear-gradient(100deg, #ce4c99 0%, #f489a8 48%, #e19e56 100%);
  --grad-rainbow: linear-gradient(100deg, #e19e56, #f489a8, #ce4c99, #c0a8ef, #5cc7d4, #8dc63f, #f1d845);
  --grad-soft: linear-gradient(120deg, #fff4f9 0%, #f6f0ff 55%, #eefafb 100%);

  --shadow-sm: 0 4px 14px rgba(124, 95, 206, 0.09);
  --shadow: 0 18px 45px rgba(124, 95, 206, 0.15);
  --shadow-lg: 0 30px 70px rgba(124, 95, 206, 0.22);

  --radius: 24px;
  --radius-sm: 16px;
  --container: 1160px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 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.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg, iframe { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 1rem;
  padding: 15px 28px; border-radius: 100px;
  cursor: pointer; border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn--sm { padding: 11px 20px; font-size: .92rem; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px rgba(206, 76, 153, .32); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(206, 76, 153, .42); }
.btn--ghost { background: var(--white); color: var(--purple-deep); box-shadow: var(--shadow-sm); border: 1.5px solid var(--line); }
.btn--ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--white { background: #fff; color: var(--magenta-deep); box-shadow: 0 14px 30px rgba(0,0,0,.15); }
.btn--white:hover { transform: translateY(-3px); }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.header.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(124,95,206,.09);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; }
.logo__img { height: 44px; width: auto; }
.header .logo__img { height: 46px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { font-weight: 600; color: var(--ink-soft); font-size: .98rem; position: relative; transition: color .2s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2.5px;
  background: var(--grad-rainbow); border-radius: 2px; transition: width .25s ease;
}
.nav__link:hover { color: var(--magenta); }
.nav__link:hover::after { width: 100%; }
.nav__cta { color: #fff; background: var(--grad); box-shadow: 0 8px 20px rgba(206, 76, 153, .32); }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(206, 76, 153, .42); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; background: var(--grad-soft); }
.hero__glow {
  position: absolute; top: -180px; right: -120px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,137,168,.30), transparent 65%);
  filter: blur(20px); z-index: 0;
}
.hero__glow::after {
  content: ""; position: absolute; left: -320px; top: 260px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(155,223,232,.35), transparent 65%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--purple-deep); font-weight: 700; font-size: .86rem;
  padding: 9px 18px; border-radius: 100px; box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.15rem); line-height: 1.04; letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero__subtitle { font-size: 1.16rem; color: var(--ink-soft); max-width: 500px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__stats { display: flex; gap: 38px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--magenta-deep); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); }

/* Hero visual */
.hero__visual { position: relative; min-height: 430px; }
.hero__blob {
  position: absolute; inset: 8% 4%; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: var(--grad-rainbow); opacity: .96;
  animation: morph 9s ease-in-out infinite; box-shadow: var(--shadow-lg);
}
@keyframes morph {
  0%,100% { border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; }
  50% { border-radius: 58% 42% 44% 56% / 44% 58% 42% 56%; }
}
.hero__card {
  position: absolute; z-index: 2; background: #fff; border-radius: var(--radius-sm);
  padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--ink); animation: float 5s ease-in-out infinite;
}
.hero__card .emoji { font-size: 1.8rem; }
.hero__card--1 { top: 6%; left: -4%; animation-delay: 0s; }
.hero__card--2 { top: 42%; right: -6%; animation-delay: 1.2s; }
.hero__card--3 { bottom: 4%; left: 12%; animation-delay: 2.4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ===== Marquee ===== */
.marquee { background: var(--ink); color: #fff; padding: 16px 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; animation: scroll 26s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-size: 1.15rem; padding: 0 20px; opacity: .95; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--magenta); margin-bottom: 14px;
}
.section__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -.5px; }
.section__lead { color: var(--ink-soft); font-size: 1.1rem; margin-top: 16px; }
.grid { display: grid; gap: 26px; }

/* ===== Cards / Produtos ===== */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.products { background: var(--bg-cream); }
.products__grid { grid-template-columns: repeat(3, 1fr); }
.product { padding: 34px 30px; position: relative; overflow: hidden; }
.product::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--accent, var(--magenta));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product:hover::before { transform: scaleX(1); }
.product__icon {
  width: 64px; height: 64px; display: grid; place-items: center; font-size: 1.9rem;
  border-radius: 18px; background: var(--accent-soft, #fbeef6); margin-bottom: 20px;
}
.product h3 { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; margin-bottom: 10px; }
.product p { color: var(--ink-soft); font-size: 1rem; }
/* per-card accent colors */
.product:nth-child(1) { --accent: var(--orange); --accent-soft: #fbf0e2; }
.product:nth-child(2) { --accent: var(--magenta); --accent-soft: #fbe6f2; }
.product:nth-child(3) { --accent: var(--green-deep); --accent-soft: #edf7dd; }
.product:nth-child(4) { --accent: var(--purple); --accent-soft: #f0e9fc; }
.product:nth-child(5) { --accent: var(--cyan-deep); --accent-soft: #e2f7fa; }
.product:nth-child(6) { --accent: var(--coral); --accent-soft: #fdeaf1; }

.products__note {
  display: flex; align-items: center; gap: 14px; justify-content: center; margin-top: 44px;
  background: #fff; border: 1.5px dashed var(--coral); border-radius: 100px; padding: 16px 30px;
  max-width: 580px; margin-left: auto; margin-right: auto; box-shadow: var(--shadow-sm);
}
.products__note span { font-size: 1.5rem; }
.products__note p { color: var(--ink-soft); }

/* ===== Galeria (mosaico) ===== */
.gallery__grid { column-count: 3; column-gap: 18px; }
.gallery__item {
  position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: pointer; break-inside: avoid; margin-bottom: 18px;
  border: 3px solid #fff; background: var(--bg-tint);
}
.gallery__item img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(47,42,61,.55), transparent 45%);
  opacity: 0; transition: opacity .3s ease;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__cap {
  position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff; font-weight: 700;
  font-size: .98rem; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.gallery__item:hover .gallery__cap { opacity: 1; transform: none; }
.gallery__more { text-align: center; margin-top: 40px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; place-items: center;
  background: rgba(30,20,45,.88); backdrop-filter: blur(6px); padding: 24px;
}
.lightbox.open { display: grid; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__fig { margin: 0; max-width: 90vw; max-height: 88vh; text-align: center; }
.lightbox__fig img { max-width: 90vw; max-height: 80vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__fig figcaption { color: #fff; margin-top: 14px; font-weight: 600; font-size: 1.05rem; }
.lightbox__close {
  position: absolute; top: 18px; right: 24px; background: none; border: none; color: #fff;
  font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: .85; transition: opacity .2s, transform .2s;
}
.lightbox__close:hover { opacity: 1; transform: scale(1.1); }

/* ===== Como funciona ===== */
.how__grid { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 30px 24px; background: var(--bg-tint); border-radius: var(--radius); }
.step:nth-child(1) .step__num { background: var(--orange); }
.step:nth-child(2) .step__num { background: var(--magenta); }
.step:nth-child(3) .step__num { background: var(--green-deep); }
.step:nth-child(4) .step__num { background: var(--purple); }
.step__num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  margin-bottom: 18px; box-shadow: 0 8px 18px rgba(124,95,206,.22);
}
.step h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .97rem; }

/* ===== Sobre ===== */
.about { background: var(--bg-soft); }
.about__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about__visual {
  position: relative; aspect-ratio: 1/1; border-radius: 30px;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-rainbow) border-box;
  border: 8px solid transparent;
  box-shadow: var(--shadow-lg); display: grid; place-items: center; padding: 14%;
}
.about__logo { width: 100%; }
.about__badge {
  position: absolute; left: 22px; bottom: 22px; background: #fff; border-radius: 18px;
  padding: 14px 20px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
}
.about__badge span { font-size: 1.8rem; color: var(--yellow); -webkit-text-stroke: 1px #eec600; }
.about__badge strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); line-height: 1; }
.about__badge small { color: var(--muted); font-size: .82rem; }
.about__pride {
  position: absolute; top: 22px; right: 22px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  padding: 9px 16px; border-radius: 100px; font-weight: 700; font-size: .85rem; color: var(--ink); box-shadow: var(--shadow-sm);
}
.about__content .section__title { text-align: left; }
.about__content p { color: var(--ink-soft); font-size: 1.06rem; margin-top: 18px; }
.about__list { margin: 26px 0 30px; display: grid; gap: 12px; }
.about__list li { font-weight: 600; color: var(--ink); }

/* ===== Avaliações ===== */
.reviews { background: var(--bg-cream); }
.reviews__grid { grid-template-columns: repeat(3, 1fr); }
.review { padding: 32px 30px; display: flex; flex-direction: column; gap: 16px; }
.review__stars { color: var(--yellow); font-size: 1.2rem; letter-spacing: 3px; -webkit-text-stroke: .5px #e6c300; }
.review p { color: var(--ink-soft); font-size: 1.05rem; font-style: italic; flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.1rem;
}
.review:nth-child(1) .review__avatar { background: var(--magenta); }
.review:nth-child(2) .review__avatar { background: var(--green-deep); }
.review:nth-child(3) .review__avatar { background: var(--orange); }
.review footer strong { display: block; color: var(--ink); }
.review footer small { color: var(--muted); font-size: .84rem; }

/* ===== CTA band ===== */
.cta-band { background: var(--grad); color: #fff; text-align: center; padding: 80px 0; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after {
  content: "✦"; position: absolute; font-size: 9rem; opacity: .14;
}
.cta-band::before { top: 10px; left: 6%; }
.cta-band::after { bottom: 0; right: 8%; }
.cta-band__inner { position: relative; z-index: 1; }
.cta-band h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin-bottom: 12px; }
.cta-band p { font-size: 1.14rem; opacity: .95; margin-bottom: 30px; }

/* ===== Contato ===== */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.contact__info .section__title { text-align: left; }
.contact__list { margin: 30px 0; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__ico { font-size: 1.4rem; width: 46px; height: 46px; display: grid; place-items: center; background: var(--bg-tint); border-radius: 12px; flex-shrink: 0; }
.contact__list strong { display: block; color: var(--ink); margin-bottom: 2px; }
.contact__list a, .contact__list span { color: var(--ink-soft); }
.contact__list a:hover { color: var(--magenta); }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 440px; border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #fff; padding: 60px 0 26px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__logo-chip { display: inline-block; background: #fff; padding: 14px 22px; border-radius: 18px; box-shadow: var(--shadow); }
.footer__logo-chip img { height: 52px; width: auto; }
.footer__brand p { color: rgba(255,255,255,.62); margin-top: 16px; max-width: 380px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 26px; align-content: start; justify-content: flex-end; }
.footer__links a { color: rgba(255,255,255,.72); font-weight: 600; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; color: rgba(255,255,255,.5); font-size: .9rem; }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37,211,102,.45);
  animation: pulse 2.4s infinite; transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 340px; order: -1; }
  .about__inner, .contact__inner { grid-template-columns: 1fr; }
  .about__visual { max-width: 380px; margin: 0 auto; }
  .products__grid, .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .how__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { column-count: 2; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; top: 78px; right: 0; left: 0;
    flex-direction: column; gap: 6px; align-items: stretch;
    background: #fff; padding: 20px 24px 28px; box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .35s ease; z-index: 99;
  }
  .nav.open { transform: translateY(0); }
  .nav__link { padding: 10px 0; font-size: 1.05rem; }
  .nav__cta { text-align: center; margin-top: 6px; }
  .nav-toggle { display: flex; }
  .section { padding: 68px 0; }
  .hero { padding: 120px 0 70px; }
  .hero__stats { gap: 26px; }
  .logo__img, .header .logo__img { height: 38px; }
}
@media (max-width: 520px) {
  .products__grid, .reviews__grid, .how__grid { grid-template-columns: 1fr; }
  .hero__card--1 { left: 0; }
  .hero__card--2 { right: 0; }
  .hero__stats { flex-wrap: wrap; }
  .footer__bottom { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   LOJA — vitrine dinâmica, botão de carrinho e drawer
   ============================================================ */

/* ----- Botão do carrinho no header ----- */
.cart-btn {
  position: relative; background: #fff; border: 1.5px solid var(--line);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, color .2s; margin-left: 6px;
}
.cart-btn:hover { transform: translateY(-2px); color: var(--magenta); box-shadow: var(--shadow); }
.cart-btn__count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--magenta); color: #fff; font-size: .72rem; font-weight: 800;
  border-radius: 100px; display: grid; place-items: center; border: 2px solid #fff;
  transform: scale(0); transition: transform .2s ease;
}
.cart-btn__count.is-visible { transform: scale(1); }

/* ----- Vitrine ----- */
.shop { background: var(--bg-soft); }
/* Página dedicada da loja: afasta o conteúdo do cabeçalho fixo */
.shop--page { padding-top: 128px; min-height: 80vh; }
/* Botão "Ver todos" / "Voltar" centralizado */
.shop__all { text-align: center; margin-top: 44px; }

/* Barra de filtros por categoria */
.shop__filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px;
}
.shop-chip {
  font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
  padding: 9px 20px; border-radius: 100px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink-soft); transition: all .2s ease;
}
.shop-chip:hover { border-color: var(--magenta); color: var(--magenta); transform: translateY(-2px); }
.shop-chip.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(206,76,153,.28); }

/* Grupos por categoria */
.shop__cats { display: flex; flex-direction: column; gap: 46px; }
.shop-cat__title {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
}
.shop-cat__title span {
  font-family: var(--font-body); font-size: .8rem; font-weight: 800; color: var(--purple-deep);
  background: var(--bg-tint); padding: 3px 12px; border-radius: 100px;
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.shop__loading, .shop__empty {
  grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; font-size: 1.05rem;
}
.shop__empty a { color: var(--magenta); font-weight: 700; }

.shop-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.shop-card__media {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  background: var(--bg-tint); overflow: hidden; flex-shrink: 0;
}
.shop-card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .5s ease;
}
.shop-card:hover .shop-card__media img { transform: scale(1.06); }
.shop-card__noimg {
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem;
}
.shop-card__cat {
  position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.94);
  color: var(--purple-deep); font-weight: 700; font-size: .72rem; padding: 4px 11px;
  border-radius: 100px; box-shadow: var(--shadow-sm); z-index: 2;
}
.shop-card__body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.shop-card__body h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; line-height: 1.25; }
.shop-card__desc {
  color: var(--ink-soft); font-size: .85rem; line-height: 1.45; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.shop-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.shop-card__price { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--magenta-deep); }
.shop-card__add { padding: 9px 16px; font-size: .85rem; }
.shop-card__add.is-added { background: var(--green); }
.shop-card__media.is-clickable { cursor: zoom-in; }
.shop-card__count {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  background: rgba(47,42,61,.72); color: #fff; font-weight: 700; font-size: .74rem;
  padding: 4px 10px; border-radius: 100px; backdrop-filter: blur(4px);
}

/* ----- Visualizador de fotos do produto ----- */
.visor {
  position: fixed; inset: 0; z-index: 300; display: none;
  grid-template-rows: 1fr auto; align-items: center; justify-items: center;
  background: rgba(20,14,28,.92); backdrop-filter: blur(6px); padding: 20px;
}
.visor.open { display: grid; animation: fadeIn .25s ease; }
.visor__stage { grid-row: 1; position: relative; display: grid; place-items: center; max-width: 92vw; max-height: 74vh; }
.visor__img { max-width: 92vw; max-height: 74vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.visor__contador {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.5); color: #fff; font-weight: 700; font-size: .82rem;
  padding: 4px 12px; border-radius: 100px;
}
.visor__close {
  position: absolute; top: 16px; right: 20px; background: none; border: none; color: #fff;
  font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: .85; transition: opacity .2s, transform .2s; z-index: 2;
}
.visor__close:hover { opacity: 1; transform: scale(1.1); }
.visor__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.16); color: #fff; font-size: 2rem; line-height: 1;
  display: grid; place-items: center; transition: background .2s, transform .2s;
}
.visor__nav:hover { background: rgba(255,255,255,.3); }
.visor__nav--prev { left: 16px; }
.visor__nav--next { right: 16px; }
.visor__thumbs {
  grid-row: 2; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-top: 16px; max-width: 92vw;
}
.visor__thumbs img {
  width: 60px; height: 60px; object-fit: cover; border-radius: 10px; cursor: pointer;
  border: 2.5px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s;
}
.visor__thumbs img:hover { opacity: 1; }
.visor__thumbs img.is-active { opacity: 1; border-color: var(--magenta); }

@media (max-width: 520px) {
  .visor__nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .visor__nav--prev { left: 6px; }
  .visor__nav--next { right: 6px; }
  .visor__thumbs img { width: 48px; height: 48px; }
}

/* ----- Overlay + Drawer ----- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 190; background: rgba(30,20,45,.5);
  backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart {
  position: fixed; top: 0; right: 0; z-index: 200; height: 100%; width: 400px; max-width: 92vw;
  background: #fff; box-shadow: -20px 0 60px rgba(0,0,0,.2); display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cart.open { transform: translateX(0); }
.cart__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.cart__head h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }
.cart__close { background: none; border: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--muted); transition: color .2s, transform .2s; }
.cart__close:hover { color: var(--magenta); transform: scale(1.1); }

.cart__items { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart__empty { text-align: center; color: var(--muted); padding: 50px 10px; line-height: 1.7; }

.cart-item {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "info qtd" "sub rm" "obs obs";
  gap: 6px 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.cart-item__info { grid-area: info; display: flex; flex-direction: column; }
.cart-item__info strong { font-size: .98rem; }
.cart-item__info span { color: var(--muted); font-size: .85rem; }
.cart-item__qtd { grid-area: qtd; display: flex; align-items: center; gap: 10px; }
.cart-item__btn {
  width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff;
  font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--ink); transition: border-color .2s, color .2s;
}
.cart-item__btn:hover { border-color: var(--magenta); color: var(--magenta); }
.cart-item__qtd span { min-width: 20px; text-align: center; font-weight: 700; }
.cart-item__sub { grid-area: sub; font-weight: 700; color: var(--magenta-deep); font-size: .95rem; }
.cart-item__rm {
  grid-area: rm; justify-self: end; align-self: center;
  background: none; border: none; cursor: pointer;
  font-size: 1.05rem; opacity: .6; transition: opacity .2s; padding: 4px;
}
.cart-item__rm:hover { opacity: 1; }
.cart-item__obs {
  grid-area: obs; width: 100%; font: inherit; font-size: .85rem; margin-top: 4px;
  padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 10px;
  color: var(--ink); background: var(--bg-soft); transition: border-color .2s;
}
.cart-item__obs::placeholder { color: var(--muted); }
.cart-item__obs:focus { outline: none; border-color: var(--magenta); background: #fff; }

.cart__foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; }
.cart__total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cart__total span { color: var(--ink-soft); font-weight: 600; }
.cart__total strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.cart__checkout { width: 100%; justify-content: center; }
.cart__checkout:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.cart__note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 12px; }

/* A grade da loja usa auto-fill (minmax 230px) e se adapta sozinha.
   No celular reduzimos o mínimo para caberem 2 colunas. */
@media (max-width: 720px) {
  .cart-btn { width: 42px; height: 42px; }
  .shop__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .shop-card__body { padding: 12px 12px 14px; }
  .shop-card__body h3 { font-size: .98rem; }
}
