/* =========================================================
   Kawaii Crochet — Design System premium (mobile-first)
   ========================================================= */

:root {
  --kc-purple: #9333ea;
  --kc-purple-dark: #6d28d9;
  --kc-ink: #2e1065;
  --kc-muted: #8b7bb8;
  --kc-lavender: #f3efff;
  --kc-line: #efe9fb;
}

* { -webkit-tap-highlight-color: transparent; }
html, body { overflow-x: hidden; }

body {
  font-family: "Nunito", system-ui, sans-serif;
  background: #fbf9ff;
  color: var(--kc-ink);
}

.font-display { font-family: "Baloo 2", "Nunito", sans-serif; }
.text-muted { color: var(--kc-muted); }

/* ---------- Cards & botões ---------- */
.kc-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 18px rgba(109, 40, 217, 0.07);
  border: 1px solid var(--kc-line);
}
.kc-card-hover { transition: transform .25s ease, box-shadow .25s ease; }
.kc-card-hover:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(109, 40, 217, 0.14); }

.kc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff; font-weight: 800;
  border-radius: 9999px;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.32);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.kc-btn:hover { transform: translateY(-1px) scale(1.02); filter: brightness(1.05); }
.kc-btn:active { transform: scale(.97); }

.kc-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid #ddd0f8; color: var(--kc-purple-dark);
  font-weight: 800; border-radius: 9999px; background: #fff;
  transition: background .18s ease;
}
.kc-btn-ghost:hover { background: var(--kc-lavender); }

/* ---------- Header ---------- */
.kc-header {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--kc-line);
}
.kc-icon-btn {
  width: 40px; height: 40px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--kc-purple-dark); background: var(--kc-lavender);
  transition: background .18s ease, transform .18s ease;
}
.kc-icon-btn:hover { background: #e7defc; transform: translateY(-1px); }
.kc-icon-btn svg { width: 20px; height: 20px; }

.lang-btn {
  font-size: .68rem; font-weight: 900; letter-spacing: .04em;
  padding: .3rem .55rem; border-radius: 9999px; color: var(--kc-muted);
  transition: all .15s ease;
}
.lang-active { background: var(--kc-purple-dark); color: #fff; }

/* ---------- Dropdown de idioma (mobile) ---------- */
.kc-lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50;
  min-width: 150px; padding: 6px;
  background: #fff; border: 1px solid var(--kc-line); border-radius: 16px;
  box-shadow: 0 12px 32px rgba(88, 40, 160, .18);
  display: flex; flex-direction: column; gap: 2px;
}
.kc-lang-menu.hidden { display: none; }
#lang-menu { min-width: 210px; }
.kc-lang-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 11px;
  font-size: 12px; font-weight: 700; color: var(--kc-purple-dark);
  text-align: left; white-space: nowrap; transition: background .15s ease;
}
.kc-lang-item:hover { background: var(--kc-lavender); }
.kc-lang-item-active { background: var(--kc-lavender); color: var(--kc-purple-dark); }
.kc-lang-item-active span { color: #b359e0; }

/* ---------- Header · mobile compacto ---------- */
@media (max-width: 639px) {
  .kc-icon-btn { width: 38px; height: 38px; border-radius: 12px; }
  .kc-icon-btn svg { width: 18px; height: 18px; }
  .lang-btn { font-size: .6rem; padding: .25rem .4rem; letter-spacing: .02em; }
}

/* ---------- Hero ---------- */
.kc-hero {
  background: linear-gradient(160deg, #efe7ff 0%, #f6ecff 45%, #fdeef8 100%);
  border-radius: 26px;
  border: 1px solid #eadffa;
}

/* ---------- Categorias ---------- */
.cat-tile {
  width: 64px; height: 64px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--kc-line);
  box-shadow: 0 3px 10px rgba(109,40,217,.06);
  color: var(--kc-purple-dark);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-tile svg { width: 28px; height: 28px; }
a:hover .cat-tile { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(109,40,217,.14); }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---------- Produtos ---------- */
.badge-new {
  background: linear-gradient(135deg, #f472b6, #a855f7);
  color: #fff; font-size: .62rem; font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase; border-radius: 9999px; padding: .28rem .7rem;
  box-shadow: 0 4px 10px rgba(244,114,182,.4);
}
.wish-btn {
  width: 34px; height: 34px; border-radius: 9999px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #c4b0ea; box-shadow: 0 3px 8px rgba(46,16,101,.12);
  transition: color .15s ease, transform .15s ease;
}
.wish-btn:hover { color: #ec4899; transform: scale(1.1); }
.wish-btn svg { width: 17px; height: 17px; }

.star { color: #fbbf24; font-size: .8rem; }
.star.off { color: #e5ddf5; }

.price { font-weight: 900; color: var(--kc-purple-dark); }
.price-big { font-size: 2.1rem; font-weight: 900; color: var(--kc-purple-dark); line-height: 1; }
.product-pricing { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.product-pricing .price-old { padding: 0; font-size: 12px; line-height: 1.3; }

/* ---------- Galeria do produto ---------- */
.kc-thumb {
  border: 2px solid transparent; border-radius: 16px; cursor: pointer;
  opacity: .65; transition: all .15s ease; overflow: hidden;
}
.kc-thumb.active, .kc-thumb:hover { border-color: var(--kc-purple); opacity: 1; }
.kc-dot { width: 7px; height: 7px; border-radius: 9999px; background: #ddd2f5; transition: all .2s ease; }
.kc-dot.active { background: var(--kc-purple); width: 20px; }

/* ---------- Benefícios / chips ---------- */
.kc-chip {
  background: #fff; border: 1px solid var(--kc-line);
  border-radius: 18px; box-shadow: 0 3px 10px rgba(109,40,217,.05);
}
.chip-icon {
  width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--kc-lavender); color: var(--kc-purple-dark);
}
.chip-icon svg { width: 21px; height: 21px; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.floaty { animation: floaty 4.5s ease-in-out infinite; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .5s ease both; }
.fade-up-1 { animation-delay: .06s; } .fade-up-2 { animation-delay: .12s; } .fade-up-3 { animation-delay: .18s; }

/* ---------- Prova social (toast "acabou de comprar") ---------- */
.kc-social-toast {
  position: fixed; left: 14px; bottom: 14px; z-index: 45;
  display: flex; align-items: center; gap: 10px;
  width: 250px; padding: 10px;
  background: #f6f1ff;
  border: 1.5px solid var(--kc-line); border-radius: 14px;
  border-left: 4px solid #f59e0b;
  box-shadow: 0 12px 30px rgba(88, 40, 160, .20);
  opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.9,.3,1.2);
}
.kc-social-toast.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.kc-social-toast.hide { opacity: 0; transform: translateY(10px) scale(.97); pointer-events: none; }

.kc-social-img {
  width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0;
  object-fit: cover; border: 1px solid var(--kc-line);
  box-shadow: 0 3px 8px rgba(139, 92, 246, .20);
}
.kc-social-body { min-width: 0; flex: 1; }
.kc-social-text { font-size: 11px; font-weight: 600; color: var(--kc-muted); line-height: 1.25; }
.kc-social-text b { color: var(--kc-purple-dark); font-weight: 900; }
.kc-social-product {
  font-size: 12px; font-weight: 800; color: var(--kc-purple-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kc-social-meta {
  display: flex; align-items: center; gap: 4px;
  font-size: 9.5px; font-weight: 700; color: #10b981; margin-top: 2px;
}
.kc-social-check { width: 11px; height: 11px; flex-shrink: 0; }
.kc-social-close {
  position: absolute; top: 4px; right: 4px;
  width: 18px; height: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  color: #c9b8ea; font-size: 14px; font-weight: 700; border-radius: 6px;
  transition: color .15s ease, background .15s ease;
}
.kc-social-close:hover { color: var(--kc-purple-dark); background: var(--kc-lavender); }

/* mobile: fica acima da barra de compra fixa */
@media (max-width: 767px) {
  .kc-social-toast { left: 12px; right: auto; width: min(250px, calc(100vw - 24px)); bottom: 92px; }
}

/* ---------- Promoção & brinde (página de produto) ---------- */
.price-old {
  font-size: 15px; font-weight: 800; color: #b9a8d9;
  text-decoration: line-through; text-decoration-color: #f43f5e;
  text-decoration-thickness: 1px; padding-bottom: 3px;
}
.kc-off-pill {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .03em;
  padding: 4px 10px; border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, .35);
  margin-bottom: 4px;
}
.kc-badge-sale {
  display: inline-flex; align-items: center; gap: 3px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #fff; font-size: 11px; font-weight: 900;
  padding: 5px 10px; border-radius: 9999px;
  box-shadow: 0 5px 14px rgba(249, 115, 22, .45);
  animation: kc-flame-pulse 1.6s ease-in-out infinite;
}
.kc-badge-sale svg { filter: drop-shadow(0 1px 2px rgba(255,255,255,.4)); }
@keyframes kc-flame-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
.kc-bonus {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 16px;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1.5px dashed #f59e0b;
}
.kc-bonus-icon {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff;
  box-shadow: 0 4px 10px rgba(245, 158, 11, .35);
}

/* ---------- Banner fino de brinde (topo da página de produto) ---------- */
.kc-bonus-bar {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 14px; border-radius: 9999px;
  background: linear-gradient(90deg, #fffbeb, #fef3c7, #fffbeb);
  border: 1px solid #fcd34d;
  box-shadow: 0 3px 10px rgba(245, 158, 11, .15);
}
.kc-bonus-bar-icon {
  width: 24px; height: 24px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff;
}
.kc-bonus-bar p span + span::before { content: "· "; }

/* ---------- Barra de oferta com cronômetro (laranja sólido, sem blur) ---------- */
.kc-offer-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px; border-radius: 16px;
  background: linear-gradient(90deg, #f97316 0%, #fb923c 55%, #fbbf24 100%);
  box-shadow: 0 8px 22px rgba(249, 115, 22, .35);
  color: #fff;
  width: fit-content; margin: 0 0 12px 0;
}
.kc-offer-timer {
  display: flex; align-items: center; gap: 7px; flex-shrink: 0;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  padding: 5px 12px; border-radius: 12px;
}
.kc-offer-timer b { font-size: 20px; font-weight: 900; letter-spacing: .04em; }
.kc-offer-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.kc-offer-label {
  font-size: 11px; font-weight: 900; text-transform: uppercase;
  letter-spacing: .08em; color: #fff7ed;
}
.kc-offer-prices { font-size: 13px; font-weight: 700; color: #fff; }
.kc-offer-prices s { color: #ffe4d6; opacity: .85; }
.kc-offer-prices b { font-weight: 900; font-size: 14px; }

@media (max-width: 639px) {
  .kc-offer-bar { gap: 10px; padding: 9px 12px; width: 100%; }
  .kc-offer-timer b { font-size: 17px; }
  .kc-offer-prices { font-size: 11.5px; }
}

/* ---------- Tag de brinde na foto do produto ---------- */
.kc-gift-tag {
  display: inline-flex; align-items: center; gap: 8px;
  max-width: calc(100% - 1.5rem);
  padding: 7px 11px 7px 8px; border-radius: 14px;
  color: #fff; border: 1px solid rgba(255,255,255,.48);
  background: linear-gradient(135deg, rgba(88,28,135,.96), rgba(192,38,211,.96));
  box-shadow: 0 7px 20px rgba(88,28,135,.38), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.kc-gift-tag-icon {
  width: 31px; height: 31px; flex: 0 0 auto; border-radius: 10px;
  display: grid; place-items: center; color: #6b21a8; background: #fff;
  box-shadow: 0 3px 9px rgba(46,16,101,.2);
}
.kc-gift-tag-icon svg { width: 17px; height: 17px; }
.kc-gift-tag-copy { display: flex; min-width: 0; flex-direction: column; line-height: 1.05; }
.kc-gift-tag-copy strong { font-size: 12px; font-weight: 1000; letter-spacing: .015em; }
.kc-gift-tag-copy small {
  margin-top: 3px; color: #fde68a; font-size: 8.5px; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
}
/* Selo "3D" vertical da galeria (produtos tipo site3d) — coluna estreita no
   canto esquerdo com o mesmo gradiente do selo de brinde; não cobre o vídeo */
.kc-badge-3d {
  display: flex; flex-direction: column; align-items: center;
  padding: 9px 7px; border-radius: 14px; line-height: 1.1; text-align: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.48);
  background: linear-gradient(160deg, rgba(88,28,135,.96), rgba(192,38,211,.96));
  box-shadow: 0 7px 20px rgba(88,28,135,.38), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.kc-badge-3d strong { font-size: 13px; font-weight: 1000; letter-spacing: .02em; }
.kc-badge-3d small {
  margin-top: 4px; color: #fde68a; font-size: 7px; font-weight: 900;
  letter-spacing: .05em; text-transform: uppercase; max-width: 46px;
}
.kc-badge-3d.hidden { display: none; } /* o toggle do produto.js vence o display:flex */
@media (max-width: 640px) {
  .kc-badge-3d { padding: 7px 6px; }
  .kc-badge-3d strong { font-size: 11px; }
  .kc-badge-3d small { font-size: 6.5px; max-width: 40px; }
}
.kc-product-bonus-headline {
  width: fit-content; max-width: 100%; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px; border: 1px solid #e9d5ff; border-radius: 12px;
  color: #7e22ce; background: linear-gradient(135deg, #faf5ff, #fdf2f8);
  font-size: 11px; line-height: 1.25; font-weight: 900;
}
.kc-product-bonus-headline svg { width: 15px; height: 15px; flex: 0 0 auto; color: #d946ef; }
.kc-card-bonus {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 8px; border-radius: 9999px; color: #fff;
  background: linear-gradient(135deg, rgba(88,28,135,.94), rgba(192,38,211,.94));
  border: 1px solid rgba(255,255,255,.45); box-shadow: 0 4px 12px rgba(88,28,135,.3);
  font-size: 9px; line-height: 1; font-weight: 1000; letter-spacing: .035em;
}
.kc-card-bonus svg { width: 11px; height: 11px; }

@media (max-width: 420px) {
  .kc-gift-tag { gap: 6px; padding: 6px 9px 6px 7px; }
  .kc-gift-tag-icon { width: 27px; height: 27px; }
  .kc-gift-tag-copy strong { font-size: 10px; }
  .kc-gift-tag-copy small { font-size: 7.5px; }
}

/* ---------- Animação do texto do botão de compra ---------- */
.kc-buy-label { display: inline-block; transition: opacity .25s ease, transform .25s ease; }
.kc-buy-label-out { opacity: 0; transform: translateY(6px); }

/* ---------- Botão de compra em destaque ---------- */
.kc-btn-buy {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  box-shadow: 0 6px 18px rgba(21, 128, 61, .35);
  letter-spacing: .05em;
}
.kc-btn-buy:hover { filter: brightness(1.05); }

/* ---------- Bandeiras de pagamento ---------- */
.kc-payflags { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.kc-payflag {
  height: 28px; min-width: 46px; padding: 0 9px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--kc-line); border-radius: 6px; background: #fff;
  font-size: 10.5px; font-weight: 900; letter-spacing: .05em; color: #475569;
  box-shadow: 0 2px 5px rgba(46,16,101,.07);
}
.kc-pay-visa { color: #1a1f71; font-style: italic; font-size: 12.5px; }
.kc-pay-amex { color: #2e77bc; }
.kc-pay-mc { position: relative; min-width: 44px; }
.kc-pay-mc i {
  width: 16px; height: 16px; border-radius: 9999px; display: block;
}
.kc-pay-mc i:first-child { background: #eb001b; margin-right: -6px; }
.kc-pay-mc i:last-child { background: #f79e1b; mix-blend-mode: multiply; }
.kc-paymark { display: block; flex: none; width: auto; height: 28px; }
.kc-paymark-google { height: 40px; margin: -6px -7px; }

/* ---------- Bolinhas do carrossel de reviews ---------- */
.kc-rev-dot {
  width: 8px; height: 8px; border-radius: 9999px;
  background: #ddd0f8; transition: all .2s ease;
}
.kc-rev-dot.active { width: 20px; background: var(--kc-purple-dark); }

/* ---------- Paginação & categorias ativas (home) ---------- */
.kc-page-btn {
  min-width: 36px; height: 36px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1.5px solid var(--kc-line);
  background: #fff; color: var(--kc-purple-dark);
  font-size: 13px; font-weight: 900;
  transition: all .15s ease;
}
.kc-page-btn:hover:not(:disabled) { background: var(--kc-lavender); }
.kc-page-btn:disabled { opacity: .35; cursor: default; }
.kc-page-active {
  background: var(--kc-purple-dark); color: #fff;
  border-color: var(--kc-purple-dark);
}
.cat-tile-active {
  background: var(--kc-purple-dark) !important; color: #fff;
  border-color: var(--kc-purple-dark) !important;
  box-shadow: 0 6px 14px rgba(46,16,101,.3);
}

/* ---------- Selinho PDF (estilo das bandeiras) ---------- */
.kc-pay-pdf {
  background: #dc2626; color: #fff; border-color: #dc2626;
  font-size: 10px; letter-spacing: .06em;
}

/* ---------- Selo de idiomas: bandeiras redondas na horizontal ---------- */
.kc-lang-flags { display: flex; gap: 4px; align-items: center; }
.kc-lang-flags img {
  width: 20px; height: 20px; border-radius: 9999px; object-fit: cover;
  box-shadow: 0 2px 5px rgba(46,16,101,.28);
}
/* Variante maior: galeria da página de produto */
.kc-lang-flags-lg { gap: 6px; }
.kc-lang-flags-lg img { width: 30px; height: 30px; box-shadow: 0 2px 7px rgba(46,16,101,.32); }

/* ---------- Seletor de idioma do PDF (radio) ---------- */
.kc-radio-opt {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px; border-radius: 14px;
  border: 1.5px solid var(--kc-line); background: #fff;
  color: var(--kc-purple-dark); text-align: left;
  transition: all .15s ease;
}
.kc-radio-opt:hover { border-color: #c4b5f0; background: #fbf9ff; }
.kc-radio-dot {
  width: 18px; height: 18px; border-radius: 9999px; flex-shrink: 0;
  border: 2px solid #c9b8ea; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s ease;
}
.kc-radio-on {
  border-color: var(--kc-purple-dark); background: #f6f1ff;
  box-shadow: 0 3px 10px rgba(88,40,160,.12);
}
.kc-radio-on .kc-radio-dot { border-color: var(--kc-purple-dark); }
.kc-radio-on .kc-radio-dot::after {
  content: ""; width: 9px; height: 9px; border-radius: 9999px;
  background: var(--kc-purple-dark);
}

/* ---------- Dropdown de idioma do PDF ---------- */
.kc-select-wrap {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--kc-line); background: #fff;
  box-shadow: 0 2px 6px rgba(46,16,101,.06);
}
/* Seletor de idioma do PDF: campo de formulário grande, padrão e-commerce */
.kc-pdflang-btn {
  width: 100%; text-align: left; cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.kc-pdflang-btn:hover, .kc-pdflang-btn:focus-visible {
  border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167,139,250,.18);
  outline: none;
}
.kc-pdflang-menu { left: 0; right: 0; top: calc(100% + 6px); min-width: 0; }
.kc-pdflang-menu .kc-lang-item { padding: 11px 12px; font-size: 14px; gap: 10px; }

/* ---------- Acordeão de descrição (página de produto) ---------- */
.kc-details { border-top: 1px solid var(--kc-line); border-bottom: 1px solid var(--kc-line); }
.kc-details summary {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; padding: 13px 2px; list-style: none;
  font-weight: 800; font-size: 13.5px; color: var(--kc-purple-dark);
}
.kc-details summary::-webkit-details-marker { display: none; }
.kc-details-caret { width: 17px; height: 17px; color: #a78bfa; transition: transform .2s ease; }
.kc-details[open] .kc-details-caret { transform: rotate(180deg); }
.kc-details-body { padding: 0 2px 15px; font-size: 13px; line-height: 1.65; color: rgba(46,16,101,.72); }
.kc-select {
  appearance: none; -webkit-appearance: none;
  background: transparent; border: none; outline: none;
  font-size: 13px; font-weight: 800; color: var(--kc-purple-dark);
  cursor: pointer; padding-right: 2px;
}

/* =========================================================
   Rodapé profissional (selos de confiança + colunas)
   ========================================================= */
.kc-footer { margin-top: 3rem; }

/* ---------- Corpo do rodapé ---------- */
.kc-footer-main {
  background: linear-gradient(165deg, #4c1d95 0%, #2e1065 55%, #3b0f7a 100%);
  color: #ddd2f7;
}
.kc-foot-logo { color: #fff; }
.kc-foot-logo span { color: #c084fc; }
.kc-foot-blurb { font-size: 12.5px; font-weight: 600; color: #c4b0ea; line-height: 1.55; max-width: 260px; }

.kc-foot-h {
  font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
  color: #e9d5ff; margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
}
.kc-foot-h svg { width: 13px; height: 13px; color: #e879f9; }

.kc-foot-links { display: flex; flex-direction: column; gap: 8px; }
.kc-foot-link {
  font-size: 13px; font-weight: 700; color: #c4b0ea;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s ease, transform .15s ease;
  width: fit-content;
}
.kc-foot-link:hover { color: #fff; transform: translateX(3px); }
.kc-foot-link svg { width: 12px; height: 12px; color: #a78bfa; }

/* ---------- Redes sociais ---------- */
.kc-socials { display: flex; gap: 8px; margin-top: 14px; }
.kc-social-btn {
  width: 36px; height: 36px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.10);
  color: #ddd2f7; transition: all .18s ease;
}
.kc-social-btn:hover { background: #d946ef; color: #fff; transform: translateY(-2px); border-color: transparent; }
.kc-social-btn svg { width: 17px; height: 17px; }

/* ---------- Newsletter ---------- */
.kc-news-sub { font-size: 12px; font-weight: 600; color: #c4b0ea; line-height: 1.5; }
.kc-news-form { display: flex; gap: 8px; margin-top: 12px; }
.kc-news-input {
  flex: 1; min-width: 0; height: 42px; padding: 0 16px;
  background: rgba(255,255,255,.09); border: 1.5px solid rgba(255,255,255,.16);
  border-radius: 9999px; color: #fff; font-size: 13px; font-weight: 700;
  outline: none; transition: border .15s ease, background .15s ease;
}
.kc-news-input::placeholder { color: #9d8ad0; font-weight: 600; }
.kc-news-input:focus { border-color: #e879f9; background: rgba(255,255,255,.14); }
.kc-news-btn {
  height: 42px; padding: 0 18px; border-radius: 9999px; flex-shrink: 0;
  background: linear-gradient(135deg, #e879f9, #a855f7); color: #fff;
  font-size: 12.5px; font-weight: 900; letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 6px 16px rgba(217,70,239,.35);
  transition: transform .15s ease, filter .15s ease;
}
.kc-news-btn:hover { transform: translateY(-1px); filter: brightness(1.07); }
.kc-news-ok {
  margin-top: 10px; font-size: 12px; font-weight: 800; color: #6ee7b7;
  display: none; align-items: center; gap: 6px;
}
.kc-news-ok.show { display: flex; }
.kc-news-ok svg { width: 14px; height: 14px; }

/* ---------- Barra inferior do rodapé ---------- */
.kc-footer-bottom {
  background: #220a4b;
  border-top: 1px solid rgba(255,255,255,.06);
}
.kc-foot-copy { font-size: 11px; font-weight: 700; color: #9d8ad0; }
.kc-foot-legal { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.kc-foot-legal a {
  font-size: 11px; font-weight: 800; color: #b9a5e6; transition: color .15s ease;
}
.kc-foot-legal a:hover { color: #fff; }
.kc-foot-pays { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kc-foot-pays .kc-payflag { height: 24px; min-width: 40px; font-size: 9.5px; box-shadow: none; border-color: #e9e4f7; }
.kc-foot-lock { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; color: #6ee7b7; }
.kc-foot-lock svg { width: 12px; height: 12px; }

/* =========================================================
   Páginas internas (Sobre / Contato / FAQ / legais)
   ========================================================= */
.kc-page-hero {
  background: linear-gradient(160deg, #efe7ff 0%, #f6ecff 45%, #fdeef8 100%);
  border-radius: 26px; border: 1px solid #eadffa;
  padding: 34px 24px; text-align: center;
}
.kc-page-hero h1 { font-family: "Baloo 2", "Nunito", sans-serif; font-size: 28px; font-weight: 800; line-height: 1.15; }
.kc-page-hero p { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--kc-muted); }
@media (min-width: 768px) { .kc-page-hero h1 { font-size: 36px; } .kc-page-hero { padding: 46px 40px; } }

.kc-prose { background: #fff; border: 1px solid var(--kc-line); border-radius: 22px; box-shadow: 0 4px 18px rgba(109,40,217,.07); }
.kc-prose h2 {
  font-family: "Baloo 2", "Nunito", sans-serif; font-size: 18px; font-weight: 800;
  color: var(--kc-ink); display: flex; align-items: center; gap: 8px;
}
.kc-prose h2 svg { width: 18px; height: 18px; color: #a855f7; flex-shrink: 0; }
.kc-prose p { font-size: 13.5px; font-weight: 600; color: #5b4a86; line-height: 1.7; margin-top: 6px; }

/* ---------- Estatísticas (Sobre) ---------- */
.kc-stat { text-align: center; padding: 18px 10px; }
.kc-stat b {
  font-family: "Baloo 2", "Nunito", sans-serif; font-size: 26px; font-weight: 800;
  background: linear-gradient(135deg, #a855f7, #d946ef);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; line-height: 1.1;
}
.kc-stat span { font-size: 11px; font-weight: 800; color: var(--kc-muted); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- FAQ (acordeão) ---------- */
.kc-faq-item {
  background: #fff; border: 1px solid var(--kc-line); border-radius: 18px;
  box-shadow: 0 3px 10px rgba(109,40,217,.05); overflow: hidden;
}
.kc-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; text-align: left;
  font-size: 14px; font-weight: 800; color: var(--kc-ink);
  transition: background .15s ease;
}
.kc-faq-q:hover { background: #fbf9ff; }
.kc-faq-q svg { width: 18px; height: 18px; color: #a855f7; flex-shrink: 0; transition: transform .25s ease; }
.kc-faq-item.open .kc-faq-q svg { transform: rotate(180deg); }
.kc-faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.kc-faq-a p {
  padding: 0 18px 16px; font-size: 13px; font-weight: 600; color: #5b4a86; line-height: 1.65;
}

/* ---------- Formulário de contato ---------- */
.kc-input {
  width: 100%; padding: 11px 15px; border-radius: 14px;
  border: 1.5px solid var(--kc-line); background: #fff;
  font-size: 13.5px; font-weight: 700; color: var(--kc-ink); outline: none;
  transition: border .15s ease, box-shadow .15s ease;
}
.kc-input::placeholder { color: #b9a8d9; font-weight: 600; }
.kc-input:focus { border-color: #c084fc; box-shadow: 0 0 0 3px rgba(168,85,247,.12); }
textarea.kc-input { resize: vertical; min-height: 120px; }
.kc-label { font-size: 11.5px; font-weight: 900; color: var(--kc-muted); text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 6px; }

/* Páginas internas sem barra fixa: remove o espaço da bottom nav */
body.no-fixedbar { padding-bottom: 0; }

/* =========================================================
   Header · menus de navegação
   ========================================================= */
.kc-nav-link {
  padding: .5rem .8rem; border-radius: 9999px;
  font-size: .82rem; font-weight: 800; color: rgba(46,16,101,.72);
  transition: background .15s ease, color .15s ease; white-space: nowrap;
}
.kc-nav-link:hover { background: var(--kc-lavender); color: var(--kc-purple-dark); }

.kc-nav-menu {
  display: flex; flex-direction: column;
  background: #fff; border-top: 1px solid var(--kc-line);
  box-shadow: 0 18px 30px rgba(88,40,160,.14);
  position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
}
.kc-nav-menu.hidden { display: none; }
.kc-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; font-size: 13.5px; font-weight: 800; color: var(--kc-purple-dark);
  border-bottom: 1px solid #f3edfb; transition: background .15s ease;
}
.kc-nav-item:hover { background: var(--kc-lavender); }

/* Globo de idioma com sigla (mobile) */
.kc-globe-btn { width: auto !important; padding: 0 9px; gap: 4px; }
.kc-lang-code { font-size: .66rem; font-weight: 900; letter-spacing: .05em; color: var(--kc-purple-dark); }

/* Badge do carrinho no header */
.kc-cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9999px;
  background: #d946ef; color: #fff; font-size: 9px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(217,70,239,.5);
}
.kc-cart-count.hidden { display: none; }

/* =========================================================
   Botão "adicionar ao carrinho" nos cards (substitui o coração)
   ========================================================= */
.cart-add-btn {
  width: 34px; height: 34px; border-radius: 9999px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #a78bfa; box-shadow: 0 3px 8px rgba(46,16,101,.12);
  transition: color .15s ease, transform .15s ease, background .15s ease;
}
.cart-add-btn:hover { color: #7c3aed; transform: scale(1.1); }
.cart-add-btn svg { width: 17px; height: 17px; }
.cart-add-btn.in-cart { background: linear-gradient(135deg,#8b5cf6,#d946ef); color: #fff; }

/* =========================================================
   Carrinho · slidebar lateral direita
   ========================================================= */
.kc-cart-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(46,16,101,.45); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.kc-cart-overlay.show { opacity: 1; pointer-events: auto; }

.kc-cart-panel {
  position: fixed; top: 0; right: 0; z-index: 70;
  height: 100vh; height: 100dvh; width: min(420px, 94vw);
  background: linear-gradient(180deg,#fdfbff 0%,#faf5ff 100%);
  border-left: 1px solid var(--kc-line);
  box-shadow: -18px 0 45px rgba(46,16,101,.22);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .32s cubic-bezier(.22,.9,.3,1);
}
.kc-cart-panel.open { transform: translateX(0); }

.kc-cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--kc-line); background: rgba(255,255,255,.7);
}
.kc-cart-n { font-size: .85rem; font-weight: 900; color: #d946ef; }

.kc-cart-items { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }

.kc-cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: 18px; background: #fff;
  border: 1px solid #efe7fb; box-shadow: 0 3px 10px rgba(109,40,217,.06);
}
.kc-cart-del {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #c4b0ea; transition: color .15s ease, background .15s ease;
}
.kc-cart-del:hover { color: #ef4444; background: #fef2f2; }

/* Seletor do idioma do PDF dentro do item do carrinho */
.kc-cart-lang {
  display: block; max-width: 100%; margin-top: 2px;
  font-size: 11px; font-weight: 700; color: var(--kc-muted, #8b7bb8);
  background: #f7f3ff; border: 1px solid #e9dffd; border-radius: 10px;
  padding: 2px 6px; cursor: pointer; outline: none;
}
.kc-cart-lang:focus { border-color: #c4b5fd; }

.kc-cart-empty { text-align: center; padding: 64px 24px 0; display: flex; flex-direction: column; align-items: center; }
.kc-cart-empty-icon {
  width: 64px; height: 64px; border-radius: 9999px; background: #ede9fe;
  display: flex; align-items: center; justify-content: center; color: #a78bfa;
}

.kc-cart-foot { border-top: 1px solid var(--kc-line); padding: 16px 18px 18px; background: rgba(255,255,255,.75); }
.kc-cart-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.kc-cart-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; color: rgba(46,16,101,.75); }
.kc-cart-total { font-size: 16px; font-weight: 900; color: var(--kc-purple-dark); border-top: 1px dashed #ddd0f8; padding-top: 8px; margin-top: 2px; }
.kc-cart-continue {
  display: block; margin: 10px auto 0; font-size: 12px; font-weight: 800;
  color: #a78bfa; transition: color .15s ease;
}
.kc-cart-continue:hover { color: #7c3aed; }

body.kc-cart-lock { overflow: hidden; }

/* =========================================================
   Cookie Consent (GDPR / CCPA) — banner + modal
   ========================================================= */
.kcc-banner {
  position: fixed; inset: 0; z-index: 9990;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(46, 16, 101, .42);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s ease;
}
.kcc-banner.show { opacity: 1; }
.kcc-banner.show .kcc-card { opacity: 1; transform: none; }

/* Trava o scroll da página enquanto o consentimento estiver aberto */
body.kc-consent-lock { overflow: hidden; }

.kcc-card {
  width: 100%; max-width: 440px;
  background: #fff; border: 1px solid var(--kc-line); border-radius: 24px;
  box-shadow: 0 24px 60px rgba(46, 16, 101, .3);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  text-align: center;
  opacity: 0; transform: translateY(14px) scale(.97);
  transition: opacity .3s ease, transform .3s ease;
}
.kcc-card .kcc-actions { justify-content: center; }

.kcc-text { flex: 1; min-width: 0; }
.kcc-title { font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 800; font-size: 16px; color: var(--kc-ink); }
.kcc-sub { margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--kc-muted); line-height: 1.5; }
.kcc-sub a { color: var(--kc-purple-dark); font-weight: 800; text-decoration: underline; }

.kcc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kcc-btn { padding: 9px 16px; font-size: 12.5px; white-space: nowrap; cursor: pointer; }
.kcc-actions .kcc-main { flex: 1; }
@media (min-width: 640px) { .kcc-actions { flex-wrap: nowrap; } .kcc-actions .kcc-main { flex: none; } }

/* ---------- Modal de preferências ---------- */
.kcc-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(46, 16, 101, .42);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.kcc-modal {
  background: #fff; border-radius: 24px;
  width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(46, 16, 101, .3);
}
.kcc-rows { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.kcc-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--kc-lavender); border: 1px solid var(--kc-line);
  border-radius: 16px; padding: 12px 14px;
}
.kcc-row-t { font-weight: 800; font-size: 13.5px; color: var(--kc-ink); }
.kcc-row-d { margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--kc-muted); line-height: 1.45; }
.kcc-always {
  display: inline-block; margin-left: 6px; padding: 1px 8px;
  background: #d1fae5; color: #047857;
  font-size: 10px; font-weight: 800; border-radius: 9999px; vertical-align: 1px;
}
.kcc-modal-actions { margin-top: 18px; justify-content: flex-end; }
.kcc-modal-actions .kcc-main { flex: none; }

/* ---------- Switch ---------- */
.kcc-switch { position: relative; flex: none; width: 44px; height: 26px; display: inline-block; }
.kcc-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.kcc-slider {
  position: absolute; inset: 0; cursor: pointer;
  background: #ddd0f8; border-radius: 9999px;
  transition: background .2s ease;
}
.kcc-slider::before {
  content: ""; position: absolute; left: 3px; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(46, 16, 101, .25);
  transition: transform .2s ease;
}
.kcc-switch input:checked + .kcc-slider { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.kcc-switch input:checked + .kcc-slider::before { transform: translateX(18px); }
.kcc-switch.locked .kcc-slider { cursor: not-allowed; background: #34d399; }

/* ---------- Link do rodapé ---------- */
.kc-foot-legal button {
  background: none; border: none; padding: 0; cursor: pointer;
  font: inherit; color: inherit;
}
.kc-foot-legal button:hover { color: #fff; }

/* =========================================================
   Preview do PDF (página de produto) — efeito "peek"
   ========================================================= */
.kc-pdfpeek {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--kc-line); border-radius: 22px;
  box-shadow: 0 10px 28px rgba(109, 40, 217, .10);
}
.kc-pdfpeek img { width: 100%; display: block; }
.kc-pdfpeek-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: linear-gradient(to bottom, rgba(251, 249, 255, 0) 0%, rgba(251, 249, 255, .82) 62%, #fbf9ff 100%);
  pointer-events: none;
}
.kc-preview-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #ede9fe; color: #6d28d9;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 11px; border-radius: 999px;
}
/* CTA sobre o fade, na base do preview — leva ao checkout */
.kc-pdfpeek-cta {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #a855f7, #7c3aed); color: #fff;
  font-size: 12px; font-weight: 800; white-space: nowrap;
  padding: 10px 20px; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 10px 24px rgba(124, 58, 237, .45);
  transition: transform .18s ease, filter .18s ease;
}
.kc-pdfpeek-cta:hover { transform: translateX(-50%) translateY(-1px) scale(1.03); filter: brightness(1.06); }
.kc-pdfpeek-cta:active { transform: translateX(-50%) scale(.97); }

/* =========================================================
   Vídeo na galeria do produto
   ========================================================= */
.kc-thumb-video { position: relative; padding: 0; background: none; border-style: solid; }
.kc-thumb-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(46,16,101,.30); pointer-events: none;
}
.kc-thumb-play svg { width: 22px; height: 22px; fill: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); }
/* Selo "3D" da miniatura do modelo interativo */
.kc-thumb-3d { color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .04em;
  text-shadow: 0 1px 3px rgba(0,0,0,.45); }

.kc-video-playov {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(46,16,101,.16); cursor: pointer;
}
.kc-video-playov span {
  width: 64px; height: 64px; border-radius: 9999px;
  background: rgba(255,255,255,.94);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(46,16,101,.35);
}
.kc-video-playov svg { width: 28px; height: 28px; fill: var(--kc-purple-dark); margin-left: 3px; }

.kc-video-sound {
  width: 38px; height: 38px; border-radius: 9999px;
  background: rgba(255,255,255,.92); color: var(--kc-purple-dark);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(46,16,101,.25); cursor: pointer;
  transition: transform .15s ease;
}
.kc-video-sound:hover { transform: scale(1.08); }

/* =========================================================
   Auditoria UI/UX 2026-08-21 — busca, toast
   ========================================================= */

/* Barra de busca no header */
.kc-search-bar {
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--kc-line);
  padding: 10px 16px;
}
.kc-search-bar.hidden { display: none; }
.kc-search-input {
  width: 100%; max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 8px;
  background: var(--kc-lavender); border: 1.5px solid var(--kc-line); border-radius: 9999px;
  padding: 8px 16px;
}
.kc-search-input input {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  font-size: 14px; font-weight: 700; color: var(--kc-ink);
}
.kc-search-input input::placeholder { color: #b9a8d9; font-weight: 600; }
.kc-search-input svg { width: 17px; height: 17px; color: var(--kc-purple-dark); flex-shrink: 0; }

/* Toast kawaii (erros de checkout, newsletter etc.) */
.kc-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(16px);
  z-index: 10001; max-width: min(420px, calc(100vw - 32px));
  background: #fff; border: 1.5px solid #fecdd3; border-left: 4px solid #f43f5e;
  border-radius: 16px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 16px 40px rgba(46,16,101,.22);
  font-size: 13px; font-weight: 700; color: var(--kc-ink);
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.kc-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.kc-toast.ok { border-color: #bbf7d0; border-left-color: #16a34a; }
