/* ============================================
   WPINK - STYLES
   ============================================ */

:root {
  --pink-50:  #fff0f7;
  --pink-100: #ffd6ec;
  --pink-200: #ffb3d9;
  --pink-300: #ff7eb6;
  --pink-400: #ff4d97;
  --pink-500: #e91e63;
  --pink-600: #c2185b;

  --lilac-50:  #f5e9ff;
  --lilac-100: #ead0fa;
  --lilac-200: #d9b3f5;
  --lilac-300: #c490ec;
  --lilac-400: #a06cd5;
  --lilac-500: #8b3fc7;
  --lilac-600: #6a2db0;
  --lilac-700: #4a1f7d;

  --purple-bg:    #f0e3ff;
  --purple-deep:  #7c4dff;
  --purple-grad:  linear-gradient(135deg, #a06cd5 0%, #ff7eb6 100%);
  --pink-grad:    linear-gradient(135deg, #ff7eb6 0%, #ff4d97 100%);

  --text:        #2d1b4e;
  --text-soft:   #5a4a78;
  --text-mute:   #8b7ba8;

  --bg:          #ffffff;
  --bg-soft:     #faf5ff;
  --border:      #ead0fa;

  --shadow-sm: 0 2px 8px rgba(160, 108, 213, 0.08);
  --shadow-md: 0 6px 20px rgba(160, 108, 213, 0.12);
  --shadow-lg: 0 12px 40px rgba(160, 108, 213, 0.18);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1280px;
  --header-h: 120px;

  --font-display: 'Pacifico', cursive;
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, button { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-soft);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 16px;
}
.topbar__msg { font-size: 12px; }
.topbar__msg a { color: var(--lilac-500); text-decoration: underline; font-weight: 700; }
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}
.topbar__actions a { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.topbar__actions a:hover { color: var(--lilac-500); }
.topbar__cart { position: relative; }
.topbar__cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--pink-400);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  display: inline-flex;
  align-items: baseline;
}
.logo__w { color: var(--lilac-500); }
.logo__pink { color: var(--pink-400); }
.logo--footer { font-size: 32px; }
.logo__img { height: 40px; width: auto; display: block; }
.logo--footer .logo__img { height: 34px; }

.header__search {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 4px 4px 20px;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
.header__search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--text);
}
.header__search input::placeholder { color: var(--text-mute); }
.header__search button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.header__search button:hover { transform: scale(1.05); }

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  padding: 4px;
}
.header__toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--lilac-500);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header__nav ul {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 12px 0 18px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
}
.header__nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: lowercase;
  position: relative;
  transition: color 0.2s;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--pink-400);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.header__nav a:hover { color: var(--lilac-500); }
.header__nav a:hover::after { transform: scaleX(1); }

/* ============================================
   HERO
   ============================================ */
.hero { padding: 24px 0; }
.hero__banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.hero__slides {
  position: relative;
  width: 100%;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero__slide.active {
  position: relative;
  opacity: 1;
}
.hero__slide picture,
.hero__slide img {
  display: block;
  width: 100%;
  height: auto;
}
.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  height: 100%;
}
.hero__pill {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  box-shadow: var(--shadow-md);
  max-width: 320px;
  margin-left: auto;
  transform: rotate(-3deg);
}
.hero__pill-eyebrow {
  display: block;
  font-family: var(--font-display);
  color: var(--lilac-500);
  font-size: 18px;
  margin-bottom: 6px;
}
.hero__pill-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}
.hero__pill-title span { font-size: 32px; font-weight: 800; color: var(--lilac-500); }
.hero__pill-title strong { font-size: 32px; color: var(--lilac-500); display: inline-block; }
.hero__pill-cents { font-size: 18px !important; }
.hero__pill-title small { font-size: 11px; color: var(--text-mute); display: block; margin-top: 4px; }

.hero__right {
  color: #fff;
  text-align: left;
}
.hero__title-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: #fff;
  opacity: 0.95;
  margin-bottom: -8px;
}
.hero__title {
  font-size: 80px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -2px;
  color: #fff;
}
.hero__title em {
  font-style: normal;
  display: block;
  font-size: 50px;
  font-weight: 400;
  letter-spacing: -1px;
}
.hero__desc {
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 24px;
  line-height: 1.3;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 14px;
  text-transform: lowercase;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.btn--white { background: #fff; color: var(--lilac-600); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn--primary {
  background: var(--pink-grad);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 77, 151, 0.3);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 77, 151, 0.4); }

.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--lilac-500);
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s;
}
.hero__nav:hover { transform: translateY(-50%) scale(1.08); }
.hero__nav--prev { left: 16px; }
.hero__nav--next { right: 16px; }

.hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hero__dots span.active { background: #fff; transform: scale(1.2); }

/* ============================================
   CATEGORIAS
   ============================================ */
.cats { padding: 24px 0; }
.cats__list {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cats__list li { flex: 1; min-width: 80px; }
.cats__list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}
.cats__list a:hover { transform: translateY(-4px); }
.cats__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--lilac-50);
  transition: box-shadow 0.2s;
  overflow: hidden;
}
.cats__icon img { width: 60%; height: 60%; object-fit: contain; }
.cats__list a:hover .cats__icon { box-shadow: var(--shadow-md); }
.cats__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: lowercase;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 48px 0; }
.section--produtos { padding: 32px 0 48px; }

.section__title {
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  color: var(--lilac-500);
  text-transform: lowercase;
  margin-bottom: 32px;
  font-family: var(--font-body);
}
.section__title em {
  font-family: var(--font-display);
  color: var(--pink-400);
  font-size: 32px;
  font-weight: 400;
  font-style: normal;
}

/* ============================================
   CAROUSEL
   ============================================ */
.carousel {
  position: relative;
}
.carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; flex: 0 0 calc((100% - 60px) / 4); }

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--lilac-500);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: transform 0.2s, background 0.2s;
}
.carousel__nav:hover { transform: translateY(-50%) scale(1.08); background: var(--lilac-50); }
.carousel__nav--prev { left: -20px; }
.carousel__nav--next { right: -20px; }

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card--clickable { cursor: pointer; }
.product-card--clickable .product-card__buy { cursor: pointer; }

.product-card__media {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--bg-soft);
  aspect-ratio: 1 / 1;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.product-card__reviews { font-size: 11px; }

.product-card__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--lilac-600);
  text-transform: lowercase;
  margin-bottom: 8px;
  line-height: 1.3;
  min-height: 36px;
}
.product-card__desc {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__price {
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-mute);
}
.product-card__price strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 2px;
}
.product-card__buy { width: 100%; margin-top: auto; }

/* ============================================
   DESTAQUE
   ============================================ */
.destaque { padding: 32px 0; }
.destaque__box {
  background: var(--lilac-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.destaque__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1 / 1;
}
.destaque__media img { width: 100%; height: 100%; object-fit: cover; }
.destaque__eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--lilac-500);
  text-transform: lowercase;
  display: block;
  margin-bottom: 8px;
}
.destaque__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--lilac-600);
  text-transform: lowercase;
  margin-bottom: 16px;
}
.destaque__desc {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.5;
  max-width: 480px;
}
.destaque__price {
  font-size: 24px;
  font-weight: 900;
  color: var(--lilac-600);
  margin-bottom: 20px;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  background: var(--purple-grad);
  padding: 56px 0;
  text-align: center;
  color: #fff;
}
.newsletter__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 28px;
  line-height: 1.4;
}
.newsletter__form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto;
}
.newsletter__form input {
  flex: 1;
  min-width: 160px;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  outline: none;
  background: #fff;
  color: var(--text);
}
.newsletter__form input::placeholder { color: var(--text-mute); }
.newsletter__form .btn--primary {
  background: var(--pink-grad);
  padding: 14px 40px;
}

/* ============================================
   INSTAGRAM
   ============================================ */
.insta { padding: 48px 0; background: #fff; }
.insta__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.insta__item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
}
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.insta__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,126,182,0.4), rgba(160,108,213,0.4));
  opacity: 0;
  transition: opacity 0.3s;
}
.insta__item:hover img { transform: scale(1.08); }
.insta__item:hover::after { opacity: 1; }

/* ============================================
   REVIEWS
   ============================================ */
.reviews { padding: 48px 0; background: var(--bg-soft); }
.review-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  flex: 0 0 calc((100% - 60px) / 4);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-card__date {
  font-size: 11px;
  color: var(--text-mute);
  align-self: flex-end;
}
.review-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--lilac-600);
  text-transform: lowercase;
  line-height: 1.3;
}
.review-card p {
  font-size: 12px;
  color: var(--text-soft);
}

/* ============================================
   APP
   ============================================ */
.app { padding: 64px 0; background: #fff; }
.app__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}
.app__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--lilac-600);
  margin-bottom: 12px;
  text-transform: lowercase;
}
.app__title em { color: var(--pink-400); font-style: normal; }
.app__desc {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.5;
  max-width: 280px;
}
.app__list {
  margin-bottom: 24px;
}
.app__list li {
  font-size: 13px;
  color: var(--text-soft);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.app__list li::before {
  content: '💜';
  position: absolute;
  left: 0;
  font-size: 12px;
}
.app__stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.app__stores img { height: 44px; width: auto; }
.app__stores--col { flex-direction: column; align-items: center; }
.app__phone {
  display: flex;
  justify-content: center;
}
.app__phone img {
  width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(160, 108, 213, 0.3));
}
.app__right { text-align: center; }
.app__right-text {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 16px;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}
.app__qr {
  display: inline-block;
  padding: 12px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}
.app__qr img { width: 100px; height: 100px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #000;
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.2); }
.store-badge--apple { background: #000; }
.store-badge--google { background: #000; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  font-size: 13px;
  color: var(--text-soft);
}
.footer__top, .footer__mid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.5fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer__mid { grid-template-columns: 1fr 1fr 1.5fr; padding-bottom: 24px; }
.footer__col h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--lilac-500);
  text-transform: lowercase;
  margin-bottom: 16px;
}
.footer__col p {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer__col p strong { color: var(--text); }
.footer__col ul li {
  padding: 4px 0;
}
.footer__col ul a {
  font-size: 12px;
  color: var(--text-soft);
  transition: color 0.2s;
}
.footer__col ul a:hover { color: var(--lilac-500); }
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lilac-50);
  color: var(--lilac-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer__social a:hover {
  background: var(--purple-grad);
  color: #fff;
  transform: translateY(-2px);
}
.footer__top-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lilac-50);
  color: var(--lilac-500);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.footer__top-btn:hover { background: var(--lilac-500); color: #fff; }
.footer__seal {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: var(--lilac-600);
  margin: 4px 4px 4px 0;
}
.footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer__pay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
}
.footer__pay img { height: 20px; width: auto; display: block; }
.footer__bottom {
  text-align: center;
  font-size: 11px;
  color: var(--text-mute);
  line-height: 1.6;
}
.footer__bottom p { margin-bottom: 4px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .header__nav ul { gap: 18px; }
  .hero__banner { padding: 30px 40px; }
  .hero__title { font-size: 64px; }
  .hero__title em { font-size: 40px; }
  .destaque__box { padding: 28px; gap: 28px; }
  .footer__top, .footer__mid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .carousel__track > * { flex: 0 0 calc((100% - 40px) / 3); }
  .review-card { flex: 0 0 calc((100% - 40px) / 3); }
  .app__inner { gap: 24px; }
  .app__phone img { width: 220px; }
}

@media (max-width: 768px) {
  .topbar__msg { display: none; }
  .topbar__inner { justify-content: flex-end; }
  .topbar__actions { gap: 12px; font-size: 11px; }
  .topbar__actions li:first-child,
  .topbar__actions li:nth-child(2) { display: none; }

  .header { position: relative; }
  .header__inner {
    grid-template-columns: 1fr auto 1fr;
    padding: 12px 16px;
    gap: 8px;
  }
  .logo {
    font-size: 30px;
    grid-column: 2;
    justify-self: center;
    order: 1;
  }
  .header__search {
    grid-column: 1 / -1;
    max-width: 100%;
    order: 3;
    margin: 0;
  }
  .header__toggle {
    display: flex;
    grid-column: 3;
    justify-self: end;
    order: 2;
  }
  .header__nav {
    grid-column: 1 / -1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .header__nav.open { max-height: 600px; }
  .header__nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  .header__nav li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .header__nav a {
    display: block;
    padding: 14px 4px;
    font-size: 14px;
  }

  .hero { padding: 12px 0; }
  .hero__banner {
    padding: 24px 20px;
    min-height: auto;
    border-radius: var(--radius-md);
  }
  .hero__content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .hero__pill {
    margin: 0 auto;
    transform: rotate(-2deg);
    max-width: 240px;
    padding: 16px 20px;
  }
  .hero__pill-title strong, .hero__pill-title span { font-size: 24px; }
  .hero__title-eyebrow { font-size: 24px; margin-bottom: -4px; }
  .hero__title { font-size: 48px; }
  .hero__title em { font-size: 32px; }
  .hero__desc { font-size: 14px; margin: 10px 0 16px; }
  .hero__right { text-align: center; }
  .btn { padding: 10px 22px; font-size: 13px; }
  .hero__nav { width: 36px; height: 36px; font-size: 22px; }
  .hero__nav--prev { left: 8px; }
  .hero__nav--next { right: 8px; }

  .cats__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  .cats__list li { min-width: 0; }
  .cats__icon { width: 56px; height: 56px; font-size: 22px; }
  .cats__label { font-size: 11px; }

  .section { padding: 32px 0; }
  .section--produtos { padding: 24px 0 32px; }
  .section__title { font-size: 22px; margin-bottom: 24px; }
  .section__title em { font-size: 24px; }
  .carousel__track { gap: 12px; }
  .carousel__track > * { flex: 0 0 calc((100% - 12px) / 1.6); }
  .carousel__nav { width: 32px; height: 32px; font-size: 18px; }
  .carousel__nav--prev { left: -8px; }
  .carousel__nav--next { right: -8px; }

  .product-card { padding: 12px; }
  .product-card__title { font-size: 13px; min-height: auto; }
  .product-card__desc { -webkit-line-clamp: 3; font-size: 11px; }
  .product-card__price strong { font-size: 18px; }
  .product-card__buy { font-size: 13px; padding: 10px 20px; }

  .destaque { padding: 24px 0; }
  .destaque__box {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
    text-align: center;
  }
  .destaque__media { max-width: 220px; margin: 0 auto; }
  .destaque__title { font-size: 24px; }
  .destaque__desc { margin-left: auto; margin-right: auto; }

  .newsletter { padding: 40px 0; }
  .newsletter__title { font-size: 18px; }
  .newsletter__form { flex-direction: column; gap: 8px; }
  .newsletter__form input { min-width: 0; }

  .insta__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .insta { padding: 32px 0; }

  .review-card { flex: 0 0 calc((100% - 12px) / 1.6); }
  .reviews { padding: 32px 0; }

  .app { padding: 40px 0; }
  .app__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .app__title { font-size: 24px; }
  .app__desc { margin: 0 auto 20px; }
  .app__list { display: inline-block; text-align: left; }
  .app__stores { justify-content: center; }
  .app__phone img { width: 200px; }

  .footer { padding: 32px 0 16px; }
  .footer__top, .footer__mid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .footer__social { justify-content: center; }
  .footer__col h4 { margin-bottom: 12px; }
  .footer__top-btn { margin: 0 auto; display: flex; }
  .footer__pay { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__banner { padding: 20px 16px; }
  .hero__pill { max-width: 200px; padding: 12px 16px; }
  .hero__pill-title strong, .hero__pill-title span { font-size: 20px; }
  .hero__title { font-size: 40px; }
  .hero__title em { font-size: 26px; }
  .cats__list { grid-template-columns: repeat(4, 1fr); }
  .cats__list li:nth-child(n+9) { display: none; }
  .section__title { font-size: 20px; }
  .section__title em { font-size: 22px; }
  .product-card__title { font-size: 12px; }
  .newsletter__title { font-size: 16px; }
  .app__title { font-size: 22px; }
  .destaque__title { font-size: 20px; }
}

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-body { background: var(--bg-soft); min-height: 100vh; }

.checkout-topbar {
  background: #fff;
  border-bottom: 3px solid var(--lilac-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
}
.checkout-topbar__logo img { height: 34px; width: auto; }
.checkout-topbar__secure { font-size: 12px; font-weight: 700; color: var(--text-mute); }

.checkout-page { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; }
.checkout-page__title {
  text-align: center;
  color: var(--lilac-500);
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1fr;
  gap: 24px;
  align-items: start;
}

.checkout-col {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
}
.checkout-col__title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--lilac-500);
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--lilac-200);
  display: inline-block;
}
.checkout-col__note { font-size: 13px; color: var(--text-mute); margin-bottom: 18px; line-height: 1.6; }

.checkout-col__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ck-edit-btn {
  flex-shrink: 0; width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--lilac-200); border-radius: 8px;
  background: #fff; color: var(--lilac-500);
  cursor: pointer; transition: background .15s, border-color .15s;
}
.ck-edit-btn:hover { background: var(--bg-soft); border-color: var(--lilac-400); }

/* ---------------- passo 1: resumo colapsado ---------------- */
.ck-collapsed {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.ck-collapsed__line { font-size: 13px; color: var(--text-soft); }
.ck-collapsed__line--bold { font-size: 14px; color: var(--text); font-weight: 800; }

.ck-field { margin-bottom: 16px; }
.ck-field label { display: block; font-size: 12px; color: var(--text-soft); margin-bottom: 6px; font-weight: 600; }
.ck-field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.ck-field input::placeholder { color: #c9bfdc; }
.ck-field input:focus { outline: none; border-color: var(--lilac-400); box-shadow: 0 0 0 3px rgba(160,108,213,.15); }
.ck-field input.is-valid { border-color: #2fb45c; }
.ck-field input.is-error { border-color: #e0455a; box-shadow: 0 0 0 3px rgba(224,69,90,.12); }

.ck-input-wrap { position: relative; }
.ck-input-wrap input { padding-right: 36px; }
.ck-input-check {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: #2fb45c; font-weight: 900; font-size: 14px; display: none;
}

.ck-error { display: none; color: #e0455a; font-size: 11.5px; margin-top: 5px; }

.ck-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.ck-checkbox {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; color: var(--text-soft); margin: 4px 0 22px;
}
.ck-checkbox input { margin-top: 2px; }

.ck-btn {
  width: 100%;
  background: var(--lilac-700);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 20px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.ck-btn:hover { background: var(--lilac-600); transform: translateY(-1px); }

.checkout-step { margin-bottom: 26px; }
.checkout-step:last-child { margin-bottom: 0; }
.checkout-step__box {
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 22px;
  text-align: center;
}
.checkout-step__box p { color: var(--text-mute); font-size: 13px; }
.checkout-step__box--form {
  background: #fff;
  border: 1px solid var(--border);
  text-align: left;
  padding: 20px;
}
.checkout-step__box--form .ck-field { margin-bottom: 14px; }
.checkout-step__done { color: var(--lilac-600) !important; font-weight: 700; text-align: center; line-height: 1.6; }
.ck-btn--done { background: #e7f7ec !important; color: #2fb45c !important; cursor: default; }
.ck-btn--done:hover { transform: none; }
.ck-field input:disabled { background: var(--bg-soft); color: var(--text-mute); cursor: not-allowed; }

.checkout-summary__items {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 18px;
}
.checkout-summary__empty { font-size: 13px; color: var(--text-mute); text-align: center; padding: 20px 0; }
.checkout-summary__empty a { color: var(--lilac-500); font-weight: 800; }

.checkout-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-soft);
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item__media { position: relative; width: 48px; height: 48px; flex-shrink: 0; }
.checkout-item__media img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; background: var(--bg-soft); }
.checkout-item__qty-badge {
  position: absolute; top: -6px; left: -6px;
  background: var(--lilac-500); color: #fff;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 10px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px #fff;
}
.checkout-item__body { flex: 1; min-width: 0; }
.checkout-item__name { font-size: 11.5px; font-weight: 800; color: var(--text); letter-spacing: 0.2px; display: block; }
.checkout-item__price { font-size: 13px; font-weight: 800; color: var(--text); white-space: nowrap; }

.checkout-summary__totals { border-top: 1px solid var(--border); padding-top: 16px; }
.ck-total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; font-weight: 800; text-transform: uppercase;
  color: var(--text-soft); padding: 8px 0;
}
.ck-total-row a { color: var(--lilac-500); text-decoration: underline; font-weight: 800; text-transform: uppercase; font-size: 12px; }
.ck-total-row--final { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 16px; font-size: 14px; color: var(--text); }
.ck-total-row--final strong { font-size: 18px; color: var(--lilac-600); }

[x-cloak] { display: none !important; }

/* ---------------- skeleton (loading) ---------------- */
.ck-skeleton {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: 8px;
}
.ck-skeleton--text { border-radius: 4px; }
.ck-skeleton::after {
  content: '';
  position: absolute; inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  animation: ck-shimmer 1.4s ease-in-out infinite;
}
@keyframes ck-shimmer {
  100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ck-skeleton::after { animation: none; }
}

/* ---------------- CEP: spinner de carregamento ---------------- */
.ck-input-spinner {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--lilac-200); border-top-color: var(--lilac-500);
  display: none; animation: ck-spin .7s linear infinite;
}
.ck-input-spinner.is-loading { display: block; }
@keyframes ck-spin { to { transform: translateY(-50%) rotate(360deg); } }

/* ---------------- entrega: preview de endereço (via CEP) ---------------- */
.ck-address-preview {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; margin-bottom: 16px;
}
.ck-address-preview__icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pink-100); color: var(--pink-500);
}
.ck-address-preview__text { font-size: 13px; color: var(--text-soft); line-height: 1.6; margin: 0; }
.ck-address-preview__text strong { color: var(--text); font-weight: 800; }
.ck-address-preview__alter { color: var(--lilac-500); font-weight: 700; text-decoration: none; }
.ck-address-preview__alter:hover { text-decoration: underline; }

/* ---------------- entrega: resumo colapsado (pós ir para o pagamento) ---------------- */
.ck-delivery-summary {
  display: flex; justify-content: space-between; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 18px; margin-bottom: 12px;
}
.ck-delivery-summary__info p { font-size: 13px; color: var(--text-soft); line-height: 1.6; }
.ck-delivery-summary__eta { color: var(--text-mute); margin-top: 4px; }
.ck-delivery-summary__price { font-size: 14px; font-weight: 900; color: var(--text); white-space: nowrap; }
.ck-delivery-summary__price--free { color: #2fb45c; text-transform: lowercase; }

.ck-alter-btn {
  width: 100%; background: none; cursor: pointer;
  border: 1px dashed var(--lilac-300); border-radius: 8px;
  padding: 12px 20px; color: var(--lilac-500);
  font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .3px;
  transition: background .15s, border-color .15s;
}
.ck-alter-btn:hover { background: var(--bg-soft); border-color: var(--lilac-400); }

.ck-shipping-inline { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.ck-shipping-inline .ck-shipping__options { margin-bottom: 14px; }
.ck-btn--sm { padding: 11px 20px; font-size: 12px; }

/* ---------------- frete ---------------- */
.ck-shipping-hint { font-size: 12px; color: var(--text-mute); margin: -6px 0 16px; }
.ck-shipping { animation: ck-fade-in .25s ease; }
@keyframes ck-fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.ck-shipping__options { display: flex; flex-direction: column; gap: 10px; }
.ck-shipping__option {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.ck-shipping__option:hover { border-color: var(--lilac-300); }
.ck-shipping__option:has(input:checked) {
  border-color: var(--lilac-400);
  background: var(--bg-soft);
  box-shadow: 0 0 0 3px rgba(160,108,213,.12);
}
.ck-shipping__option input[type="radio"] { accent-color: var(--lilac-500); width: 16px; height: 16px; flex-shrink: 0; }
.ck-shipping__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ck-shipping__info strong { font-size: 13px; color: var(--text); }
.ck-shipping__info small { font-size: 11.5px; color: var(--text-mute); }
.ck-shipping__price { font-size: 13px; font-weight: 800; color: var(--text); white-space: nowrap; }
.ck-shipping__price--free { color: #2fb45c; text-transform: lowercase; }

.ck-total-row__free { color: #2fb45c; }

/* ---------------- painel pix (dentro do passo "pagamento") ---------------- */
.pix-panel {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  text-align: center;
}
.pix-panel__logo { height: 32px; margin-bottom: 18px; }
.pix-panel__steps { display: flex; align-items: center; justify-content: center; gap: 14px; }
.pix-panel__arrow {
  flex: 0 0 60px; height: 1px; background: var(--border); position: relative; align-self: center; margin-top: -20px;
}
.pix-panel__arrow::after {
  content: '→'; position: absolute; right: -4px; top: 50%; transform: translateY(-50%);
  color: var(--text-mute); font-size: 13px;
}
.pix-panel__step { flex: 1; max-width: 160px; }
.pix-panel__step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--lilac-300); color: var(--lilac-500);
  font-size: 12px; font-weight: 800; margin-bottom: 10px;
}
.pix-panel__step p { font-size: 11.5px; color: var(--text-soft); line-height: 1.5; }
@media (max-width: 520px) {
  .pix-panel__steps { flex-direction: column; }
  .pix-panel__arrow { display: none; }
}

/* ---------------- modal pix ---------------- */
.pix-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(45,27,78,.5);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.pix-modal {
  position: relative;
  background: #fff;
  width: 100%; max-width: 380px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(45,27,78,.35);
  padding: 32px 28px 0;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  max-height: 90vh; overflow-y: auto; overflow-x: hidden;
}
.pix-modal__close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; cursor: pointer;
  font-size: 14px; color: var(--text-mute); line-height: 1; padding: 6px;
}
.pix-modal__close:hover { color: var(--text); }
.pix-modal__logo { height: 30px; margin-bottom: 14px; }
.pix-modal__timer { font-size: 12.5px; color: var(--text-mute); margin-bottom: 22px; }
.pix-modal__timer strong { color: var(--text); }

.pix-modal__view { display: flex; flex-direction: column; align-items: center; width: 100%; }

.pix-modal__code-box {
  width: 100%; box-sizing: border-box;
  border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; margin-bottom: 14px;
  font-size: 12.5px; color: var(--text-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--bg-soft);
}
.pix-modal__copy-btn {
  width: 100%; border: none; border-radius: 8px;
  padding: 13px 20px; margin-bottom: 22px;
  background: var(--pink-grad); color: #fff;
  font-weight: 900; font-size: 12.5px; letter-spacing: .5px;
  text-transform: uppercase; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 12px rgba(255,77,151,.3);
}
.pix-modal__copy-btn:hover { transform: translateY(-1px); }

.pix-modal__qr-wrap { position: relative; width: 170px; height: 170px; margin: 0 auto 18px; }
.pix-modal__qr { width: 170px; height: 170px; margin: 0; border-radius: 8px; display: block; }
.pix-modal__qr-wrap .pix-modal__qr { position: absolute; top: 0; left: 0; margin-bottom: 0; }

.pix-modal__title { font-size: 15px; font-weight: 900; color: var(--text); margin-bottom: 8px; }
.pix-modal__text { font-size: 12.5px; color: var(--text-mute); line-height: 1.6; margin-bottom: 18px; }
.pix-modal__toggle { font-size: 13px; font-weight: 700; color: var(--lilac-500); text-decoration: none; margin-bottom: 8px; }
.pix-modal__toggle:hover { text-decoration: underline; }

.pix-modal__footer {
  width: calc(100% + 56px);
  margin-left: -28px;
  margin-top: 24px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 16px 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; font-weight: 700; color: var(--text-soft);
  position: sticky; bottom: 0;
}
.pix-modal__footer strong { font-size: 15px; color: var(--text); }

@media (max-width: 480px) {
  .ck-row { grid-template-columns: 1fr; }
  .checkout-topbar { padding: 12px 16px; }
  .checkout-page { padding: 28px 16px 60px; }
  .pix-modal { padding: 28px 20px 0; }
  .pix-modal__footer { width: calc(100% + 40px); margin-left: -20px; padding: 14px 20px; }
}

@media (max-width: 980px) {
  .checkout-grid { grid-template-columns: 1fr; }
}
