/* ============================================================
   Impar Lingerie - tema da vitrine sobre Bootstrap 5
   (paleta rosa/magenta, tipografia Playfair + Nunito)
   ============================================================ */
:root {
    --pink:        #e6007e;
    --pink-dark:   #c40069;
    --pink-light:  #fff0f7;
    --pink-soft:   #fbe4f0;
    --plum:        #1f1b24;   /* superficie escura (rodape, botao topo) */
    --heading:     #1f1b24;   /* titulos e destaques de texto */
    --surface-2:   #f4f0f2;   /* fundo de fotos/placeholders */
    --surface-head:#faf7fb;   /* cabecalho de tabelas */
    --text-muted:  #7b7580;
    --border-soft: #f1eef1;
    --badge-bg:    rgba(255, 255, 255, .94);
    --shadow-card: 0 2px 12px rgba(31, 27, 36, .06);
    --shadow-card-hover: 0 16px 32px rgba(31, 27, 36, .12);

    /* Bootstrap: cor primaria e links viram o rosa da marca */
    --bs-primary: #e6007e;
    --bs-primary-rgb: 230, 0, 126;
    --bs-link-color: #e6007e;
    --bs-link-color-rgb: 230, 0, 126;
    --bs-link-hover-color: #c40069;
    --bs-link-hover-color-rgb: 196, 0, 105;
    --bs-body-font-family: "Nunito", "Segoe UI", Tahoma, Arial, sans-serif;
    --bs-body-color: #3d3a40;
    --bs-body-bg: #ffffff;
    --bs-border-radius: .6rem;
    --bs-focus-ring-color: rgba(230, 0, 126, .2);
}

h1, h2, h3, .logo, .section-title, .product-title {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* ---- Componentes Bootstrap com a cor da marca ---------------- */
.btn-primary {
    --bs-btn-bg: var(--pink);
    --bs-btn-border-color: var(--pink);
    --bs-btn-hover-bg: var(--pink-dark);
    --bs-btn-hover-border-color: var(--pink-dark);
    --bs-btn-active-bg: var(--pink-dark);
    --bs-btn-active-border-color: var(--pink-dark);
    --bs-btn-disabled-bg: #f39cc9;
    --bs-btn-disabled-border-color: #f39cc9;
    --bs-btn-focus-shadow-rgb: 230, 0, 126;
    font-weight: 700;
}
.btn-outline-primary {
    --bs-btn-color: var(--pink);
    --bs-btn-border-color: var(--pink);
    --bs-btn-hover-bg: var(--pink);
    --bs-btn-hover-border-color: var(--pink);
    --bs-btn-active-bg: var(--pink-dark);
    --bs-btn-active-border-color: var(--pink-dark);
    --bs-btn-focus-shadow-rgb: 230, 0, 126;
    font-weight: 700;
}
.btn-outline-dark, .btn-outline-secondary { font-weight: 700; }
.form-control:focus, .form-select:focus {
    border-color: #f39cc9;
    box-shadow: 0 0 0 .25rem rgba(230, 0, 126, .15);
}
.nav-underline {
    --bs-nav-underline-link-active-color: var(--pink);
    --bs-nav-underline-gap: .25rem;
}
.nav-underline .nav-link { color: var(--bs-body-color); font-weight: 700; padding: .65rem 1rem; }
.nav-underline .nav-link:hover { color: var(--pink); }
.breadcrumb { --bs-breadcrumb-divider-color: #bbb; }
.alert-success { --bs-alert-bg: #e8f8ee; --bs-alert-border-color: #bfe9cf; --bs-alert-color: #176b33; }

/* ---- Barra superior e cabecalho ------------------------------- */
.topbar { background: linear-gradient(90deg, var(--pink), var(--pink-dark)); }

.logo {
    display: inline-block;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--heading) !important;
    letter-spacing: -.5px;
    line-height: 1.15;
    text-decoration: none;
    padding: 0;
}
.logo small {
    display: block;
    font-family: "Nunito", sans-serif;
    font-size: .62rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #999;
    margin-top: .1rem;
    padding-left: .15rem;
}
.logo-mark { color: var(--pink); }

.btn-cart { color: var(--heading); padding: .25rem .5rem; }
.btn-cart:hover { color: var(--pink); }
.btn-cart .badge { font-size: .65rem; }
.navbar-toggler { border-color: #ddd; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(230, 0, 126, .2); }

.search { width: 100%; max-width: 460px; }
.search .form-control { border-right: 0; }
.search .form-control:focus { box-shadow: none; }

.catnav { border-top: 1px solid var(--border-soft); }
.catnav .nav-item { position: relative; }
.catnav .nav-link .bi-chevron-down { font-size: .6rem; vertical-align: middle; transition: transform .2s; }
.catnav .has-mega:hover .nav-link .bi-chevron-down, .catnav .has-mega:focus-within .nav-link .bi-chevron-down { transform: rotate(180deg); }
.mega {
    position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); z-index: 1040; min-width: 260px;
    opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; padding-top: .35rem;
}
.catnav .has-mega:hover .mega, .catnav .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-inner { background: var(--bs-body-bg); border-radius: 1rem; box-shadow: 0 18px 44px rgba(31, 27, 36, .18); border: 1px solid var(--border-soft); padding: 1.1rem 1.25rem 1rem; }
.mega-inner::before { content: ""; position: absolute; top: -2px; left: 50%; width: 14px; height: 14px; transform: translateX(-50%) rotate(45deg); background: var(--bs-body-bg); border-left: 1px solid var(--border-soft); border-top: 1px solid var(--border-soft); }
.mega-title { font-family: "Playfair Display", Georgia, serif; font-weight: 700; color: var(--heading); font-size: 1.05rem; margin-bottom: .5rem; }
.mega-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mega-list a { display: block; padding: .38rem 0; color: var(--bs-body-color); text-decoration: none; font-size: .92rem; font-weight: 600; white-space: nowrap; transition: color .15s, padding-left .15s; }
.mega-list a:hover, .mega-list a.active { color: var(--pink); padding-left: .35rem; }
.mega-all { display: inline-flex; align-items: center; gap: .3rem; margin-top: .6rem; font-size: .82rem; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .5px; }
.mobile-cats .nav-link { font-weight: 700; color: var(--heading); }
.mobile-cats .nav-link.sub { font-weight: 600; font-size: .92rem; padding-left: 1.25rem; color: var(--bs-body-color); }
.mobile-cats .nav-link.active { color: var(--pink); }
.mobile-cats button.nav-link { background: transparent; border: 0; text-align: left; }
.mobile-cats button[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); }

/* ---- Carrossel de banners ------------------------------------- */
.banners .carousel-inner, .banners > .banner { border-radius: 1.25rem; overflow: hidden; }
/* Banner principal: sangra ate as bordas da janela e encosta no menu. */
.banners.hero {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 2.5rem;
}
.store-main > .banners.hero:first-child { margin-top: -1.5rem; }
.banners.hero .carousel-inner, .banners.hero > .banner { border-radius: 0; }
.banner {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    padding: 3rem 4rem;
    background: linear-gradient(120deg, var(--pink-light) 0%, #fff 55%, var(--pink-soft) 100%) center / cover no-repeat;
}
.banners.hero .banner { min-height: clamp(460px, 72vh, 880px); padding: 0; }
/* O texto acompanha a largura do resto do site, nao a da janela. */
.banner-inner { position: relative; width: 100%; }
.banner.has-image { background-size: cover; background-position: center; }
.banner.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Medidas em px (nao em %) para o veu nao "esticar" e sumir em tela larga. */
    background:
        linear-gradient(90deg, rgba(20, 0, 12, .86) 0, rgba(20, 0, 12, .66) 560px, rgba(20, 0, 12, .22) 1020px, rgba(20, 0, 12, 0) 1420px),
        linear-gradient(0deg, rgba(20, 0, 12, .35) 0, rgba(20, 0, 12, 0) 45%);
}
@media (max-width: 767.98px) {
    /* No celular o texto fica sobre a base da foto. */
    .banner.has-image::before {
        background: linear-gradient(0deg, rgba(20, 0, 12, .88) 0, rgba(20, 0, 12, .55) 45%, rgba(20, 0, 12, .15) 100%);
    }
    .banners.hero .banner { min-height: 72vh; align-items: flex-end; padding-bottom: 2.5rem; }
}
.banner-text { position: relative; max-width: 600px; animation: banner-in .6s ease-out both; }
@keyframes banner-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.banner-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; line-height: 1.05; color: var(--heading); letter-spacing: -.5px; }
.banner-text p { color: var(--text-muted); font-size: 1.1rem; }
.banner-badge {
    display: inline-block; margin-bottom: 1rem; padding: .35rem .9rem; border-radius: 999px;
    background: var(--pink); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
}
.banner.has-image .banner-title, .banner.has-image .banner-text p { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.banners .carousel-indicators { margin-bottom: 1rem; }
.banners .carousel-indicators [data-bs-target] {
    width: 28px; height: 4px; border-radius: 2px; margin: 0 4px;
    background: #fff; opacity: .5; border: 0; transition: width .2s;
}
.banners .carousel-indicators .active { background: var(--pink); opacity: 1; width: 44px; }
.banners .carousel-control-prev, .banners .carousel-control-next { width: 7%; opacity: .8; }
.banners .carousel-control-prev-icon, .banners .carousel-control-next-icon {
    width: 46px; height: 46px; border-radius: 50%; background-color: rgba(255, 255, 255, .92); background-size: 40%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.banners .carousel-control-prev-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231f1b24'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"); }
.banners .carousel-control-next-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231f1b24'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); }

/* ---- Vantagens (barra) ---------------------------------------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.benefit {
    display: flex; align-items: center; gap: .85rem; padding: .9rem 1.1rem;
    border-radius: 1rem; background: var(--pink-light); border: 1px solid var(--pink-soft);
}
.benefit i {
    flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center;
    background: var(--bs-body-bg); color: var(--pink); border-radius: 50%; font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(230, 0, 126, .12);
}
.benefit strong { display: block; color: var(--heading); font-size: .92rem; font-weight: 800; }
.benefit small { color: var(--text-muted); }
.promo-tile { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1rem 1.25rem; border-radius: 1rem; background: var(--pink-light); }

/* ---- Secoes da home ------------------------------------------- */
.home-section { margin-bottom: 3.5rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.section-head p { margin: .35rem 0 0; color: var(--text-muted); font-size: .92rem; }
.link-more { font-weight: 700; text-decoration: none; font-size: .9rem; }
.link-more:hover { text-decoration: underline; }
.scroll-btn {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--bs-border-color); background: var(--bs-body-bg);
    color: var(--heading); display: grid; place-items: center; transition: .15s;
}
.scroll-btn:hover { background: var(--pink); border-color: var(--pink); color: #fff; }

/* Compre por categoria (abas por categoria-mae + trilho horizontal) */
.cat-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.cat-tab { border: 1px solid var(--bs-border-color); background: var(--bs-body-bg); color: var(--heading); border-radius: 999px; padding: .4rem 1.1rem; font-size: .88rem; font-weight: 700; transition: .15s; }
.cat-tab:hover { border-color: var(--pink); color: var(--pink); }
.cat-tab.active { background: var(--pink); border-color: var(--pink); color: #fff; }
.cat-panel { display: none; }
.cat-panel.show { display: block; animation: banner-in .3s ease-out both; }
.subcat-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.subcat-chips .chip { border: 1px solid var(--bs-border-color); border-radius: 999px; padding: .35rem 1rem; font-size: .85rem; font-weight: 700; color: var(--heading); text-decoration: none; transition: .15s; }
.subcat-chips .chip:hover { border-color: var(--pink); color: var(--pink); }
.subcat-chips .chip.active { background: var(--pink); border-color: var(--pink); color: #fff; }
.cat-tiles { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem .75rem; scrollbar-width: none; }
.cat-tiles::-webkit-scrollbar { display: none; }
.cat-tile {
    position: relative; flex: 0 0 calc((100% - 4.5rem) / 6); scroll-snap-align: start;
    display: flex; align-items: flex-end; aspect-ratio: 3 / 4; border-radius: 1rem; overflow: hidden;
    background: var(--surface-2) center / cover no-repeat; text-decoration: none; color: #fff;
    box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s;
}
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(31, 27, 36, .82) 100%); transition: background .25s; }
.cat-tile span { position: relative; z-index: 1; width: 100%; padding: 1rem; font-family: "Playfair Display", Georgia, serif; font-size: 1.15rem; font-weight: 700; text-align: center; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.cat-tile:hover::after { background: linear-gradient(180deg, rgba(230,0,126,.15) 0%, rgba(230, 0, 126, .85) 100%); }

/* Carrossel horizontal de produtos */
.product-row { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1rem; scrollbar-width: none; }
.product-row::-webkit-scrollbar { display: none; }
.product-row-item { flex: 0 0 calc(25% - .75rem); scroll-snap-align: start; }

/* Blocos promocionais */
.promo-grid { display: grid; gap: 1rem; }
.promo-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.promo-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.promo-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.promo-card {
    position: relative; display: flex; align-items: flex-end; min-height: 320px; border-radius: 1.1rem; overflow: hidden;
    background: linear-gradient(135deg, var(--pink-light), var(--pink-soft)) center / cover no-repeat; text-decoration: none;
    box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s;
}
.promo-card.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(31, 27, 36, .85) 100%); }
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.promo-badge { position: absolute; top: 1rem; left: 1rem; z-index: 1; padding: .3rem .75rem; border-radius: 999px; background: var(--pink); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.promo-text { position: relative; z-index: 1; padding: 1.4rem; color: var(--heading); }
.promo-card.has-image .promo-text { color: #fff; }
.promo-text h3 { font-size: 1.45rem; font-weight: 700; margin: 0 0 .25rem; }
.promo-text p { margin: 0 0 .6rem; font-size: .9rem; opacity: .9; }
.promo-cta { font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--pink); }
.promo-card.has-image .promo-cta { color: #fff; }

/* Faixa promocional */
.strip-banner {
    position: relative; display: flex; align-items: center; min-height: 300px; border-radius: 1.25rem; overflow: hidden;
    padding: 2.5rem 3.5rem; text-decoration: none; background: linear-gradient(120deg, #fff 0%, var(--pink-light) 60%, var(--pink-soft) 100%) center / cover no-repeat;
    box-shadow: var(--shadow-card);
}
.strip-banner.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 0, 12, .75) 0%, rgba(20, 0, 12, .3) 55%, rgba(20, 0, 12, 0) 100%); }
.strip-text { position: relative; max-width: 520px; color: var(--heading); }
.strip-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.1; margin: 0 0 .5rem; }
.strip-text p { color: var(--text-muted); margin: 0 0 1.25rem; }
.strip-banner.has-image .strip-text, .strip-banner.has-image .strip-text p { color: #fff; }

/* Depoimentos */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.review { position: relative; margin: 0; padding: 1.5rem 1.4rem 1.25rem; border-radius: 1rem; background: var(--pink-light); border: 1px solid var(--pink-soft); }
.review > .bi-quote { position: absolute; top: .4rem; right: .9rem; font-size: 2.4rem; line-height: 1; color: var(--pink); opacity: .25; }
.review blockquote { margin: 0 0 1rem; padding-right: 2rem; font-size: .95rem; line-height: 1.55; color: var(--bs-body-color); }
.review figcaption { font-size: .85rem; }
.review .stars { display: block; color: #f5b301; font-size: .8rem; margin-bottom: .25rem; }
.review strong { color: var(--heading); }
.review small { display: block; color: var(--text-muted); }

/* A marca */
/* Bloco "A marca": convite claro para a pagina institucional */
.story {
    display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch;
    border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--border-soft);
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--pink-soft) 100%);
    color: var(--heading); box-shadow: var(--shadow-card);
}
.story-text { padding: clamp(1.75rem, 4vw, 3.25rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.story .eyebrow { color: var(--pink); font-size: .72rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.story h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; margin: .5rem 0 1rem; }
.story p { color: #5c5563; line-height: 1.75; margin-bottom: 1.5rem; max-width: 52ch; }
.story .btn-outline-dark {
    --bs-btn-color: var(--pink); --bs-btn-border-color: var(--pink);
    --bs-btn-hover-bg: var(--pink); --bs-btn-hover-border-color: var(--pink); --bs-btn-hover-color: #fff;
    font-weight: 800;
}
.story-img { min-height: 340px; background: var(--surface-2) center / cover no-repeat; }
/* Sem foto configurada no painel: painel decorativo com a marca */
.story-mark {
    position: relative; min-height: 240px; display: grid; place-items: center;
    background: radial-gradient(120% 120% at 70% 20%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 60%), var(--pink-soft);
    overflow: hidden;
}
.story-mark span {
    font-family: "Playfair Display", Georgia, serif; font-size: clamp(7rem, 16vw, 12rem); line-height: 1;
    font-weight: 700; color: var(--pink); opacity: .22;
}
.story-mark::after {
    content: ""; position: absolute; inset: auto -20% -40% auto; width: 70%; aspect-ratio: 1;
    border-radius: 50%; background: rgba(255, 255, 255, .5);
}

/* ---- Pagina "A marca" (sobre.php) ---------------------------- */
.section-sub { color: var(--text-muted); margin: .4rem 0 1.25rem; padding-left: .9rem; }
.about-hero {
    display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 0;
    border-radius: 1.5rem; overflow: hidden; margin: 0 0 3.5rem;
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--pink-soft) 100%);
    border: 1px solid var(--border-soft); box-shadow: var(--shadow-card);
}
.about-hero-text { padding: clamp(1.75rem, 4vw, 3.5rem); }
.about-hero .eyebrow { color: var(--pink); font-size: .72rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.about-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; margin: .5rem 0 1rem; color: var(--heading); }
.about-hero p { color: #5c5563; line-height: 1.75; max-width: 56ch; margin-bottom: 1rem; }
.about-hero-mark { align-self: stretch; display: grid; place-items: center; background: radial-gradient(120% 120% at 70% 20%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 60%), var(--pink-soft); }
.about-hero-mark span { font-family: "Playfair Display", Georgia, serif; font-size: clamp(7rem, 15vw, 12rem); line-height: 1; font-weight: 700; color: var(--pink); opacity: .22; }
.about-card {
    display: flex; gap: 1rem; padding: 1.5rem; border-radius: 1.1rem;
    background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--shadow-card);
}
.about-icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--pink-light); color: var(--pink); font-size: 1.35rem; }
.about-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .35rem; color: var(--heading); }
.about-card p { font-size: .92rem; color: #5c5563; line-height: 1.65; margin: 0; }
.about-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.about-steps li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: 1.1rem; background: #fff; border: 1px solid var(--border-soft); }
.about-step-n { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: #fff; font-weight: 800; font-size: .95rem; }
.about-steps h3 { font-size: 1rem; font-weight: 800; margin-bottom: .2rem; color: var(--heading); }
.about-steps p { font-size: .92rem; color: #5c5563; margin: 0; line-height: 1.6; }
.about-quote { display: flex; gap: 1rem; align-items: flex-start; padding: 1.75rem; border-radius: 1.25rem; background: var(--pink-light); border: 1px solid var(--border-soft); }
.about-quote i { color: var(--pink); font-size: 2rem; line-height: 1; }
.about-quote blockquote { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-style: italic; color: var(--heading); }
.about-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .7rem; }
.about-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.about-list i { color: var(--pink); font-size: 1.1rem; line-height: 1.4; }
.about-cta {
    display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between;
    padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 1.5rem; color: #fff;
    background: linear-gradient(120deg, var(--pink) 0%, var(--pink-dark) 100%); box-shadow: 0 16px 34px rgba(230, 0, 126, .25);
}
.about-cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; margin-bottom: .35rem; }
.about-cta p { margin: 0; color: rgba(255, 255, 255, .9); }
@media (max-width: 767.98px) {
    .about-hero { grid-template-columns: 1fr; }
    .about-hero-mark { min-height: 140px; order: -1; }
    .about-cta { flex-direction: column; align-items: flex-start; }
}

/* Instagram */
.insta-band {
    display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 1.75rem; border-radius: 999px; text-decoration: none;
    background: linear-gradient(90deg, var(--pink), var(--pink-dark)); color: #fff; box-shadow: 0 10px 26px rgba(230, 0, 126, .3); transition: transform .2s;
}
.insta-band:hover { transform: translateY(-2px); color: #fff; }
.insta-band > .bi-instagram { font-size: 1.8rem; }
.insta-band strong { display: block; font-size: 1.05rem; }
.insta-band span { font-size: .85rem; opacity: .9; }

/* Newsletter */
.news-band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; padding: 2rem 2.5rem; border-radius: 1.25rem; background: var(--plum); color: #fff; }
.news-text h2 { font-size: 1.7rem; font-weight: 700; margin: 0 0 .25rem; }
.news-text p { margin: 0; color: #cfc8d4; font-size: .95rem; }
.news-form { display: flex; gap: .5rem; flex: 1 1 340px; max-width: 520px; }
.news-form .form-control { border-radius: 999px; padding-left: 1.1rem; }
.news-form .btn { white-space: nowrap; flex: 0 0 auto; }

/* Badges do card de produto */
.product-badges { position: absolute; top: .75rem; left: .75rem; z-index: 1; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.product-badges .product-badge { position: static; }
.product-badge.is-new { background: var(--pink); color: #fff; }
.product-badge.is-featured { background: var(--plum); color: #fff; }
.product-cat { display: block; font-size: .68rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: .2rem; }

@media (max-width: 991.98px) {
    .benefits { grid-template-columns: repeat(2, 1fr); }
    .cat-tile { flex-basis: calc((100% - 1.8rem) / 3); }
    .product-row-item { flex-basis: calc(33.333% - .7rem); }
    .promo-grid.cols-3, .promo-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .story { grid-template-columns: 1fr; }
    .story-mark { min-height: 150px; order: -1; }
    .story-img { min-height: 240px; }
    .story-text { padding: 2rem; }
}
@media (max-width: 575.98px) {
    .banner { min-height: 380px; padding: 2rem 1.5rem; }
    .benefits { grid-template-columns: 1fr 1fr; gap: .5rem; }
    .benefit { padding: .7rem .8rem; gap: .6rem; }
    .benefit i { flex-basis: 38px; width: 38px; height: 38px; font-size: 1.05rem; }
    .benefit strong { font-size: .82rem; }
    .benefit small { font-size: .72rem; }
    .cat-tiles { gap: .6rem; }
    .cat-tile { flex-basis: calc((100% - .6rem) / 2.3); }
    .product-row-item { flex-basis: calc(70% - .5rem); }
    .promo-grid.cols-2, .promo-grid.cols-3, .promo-grid.cols-4 { grid-template-columns: 1fr; }
    .promo-card { min-height: 240px; }
    .strip-banner { padding: 2rem 1.5rem; min-height: 240px; }
    .news-band { padding: 1.5rem; }
    .home-section { margin-bottom: 2.5rem; }
}

/* ---- Titulo de secao ------------------------------------------ */
.section-title {
    position: relative;
    margin: 0;
    padding-left: .9rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--heading);
}
.section-title::before {
    content: "";
    position: absolute;
    left: 0; top: .18em; bottom: .18em;
    width: 4px; border-radius: 2px;
    background: var(--pink);
}

/* ---- Cards de produto ----------------------------------------- */
.ratio-3x4 { --bs-aspect-ratio: 133.333%; }
.product-card {
    position: relative;
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.product-card .product-img { display: block; background: var(--surface-2); overflow: hidden; }
.product-card .product-img img { transition: transform .5s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-badge, .product-badge-inline {
    background: var(--badge-bg);
    color: var(--pink);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: .4em .7em;
}
.product-badge { position: absolute; top: .75rem; left: .75rem; z-index: 1; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.product-badge-inline { background: var(--pink-light); }
.product-card .card-title a { color: var(--heading); text-decoration: none; }
.product-card .card-title a:hover { color: var(--pink); }
.price { font-weight: 800; font-size: 1.05rem; color: var(--heading); }

/* ---- Pagina de produto ---------------------------------------- */
.product-photo { background: var(--surface-2); }

/* Caixa de confirmacao/aviso da loja (no lugar do confirm() do navegador) */
.impar-dialogo .modal-content { border: 0; border-radius: 1.1rem; overflow: hidden; }
.impar-dialogo .dialogo-icone {
    display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px;
    border-radius: 50%; background: var(--pink-light, #fff0f7); color: var(--pink, #e6007e); font-size: 1.5rem;
}
.impar-dialogo.is-perigo .dialogo-icone { background: #fdeaea; color: #c9313c; }
[data-bs-theme="dark"] .impar-dialogo .dialogo-icone { background: rgba(230, 0, 126, .16); }
[data-bs-theme="dark"] .impar-dialogo.is-perigo .dialogo-icone { background: rgba(201, 49, 60, .18); color: #f2a5a1; }

/* Boleto / cartao na confirmacao do pedido */
.pay-box { border: 2px solid var(--pink-soft, #fbe4f0); border-radius: 1rem; }
[data-bs-theme="dark"] .pay-box { border-color: #3a2a35; }

/* Escolha do pagamento no checkout */
.pay-options { display: grid; gap: .6rem; }
.pay-option {
    display: flex; align-items: center; gap: .85rem; padding: .9rem 1rem; cursor: pointer;
    border: 2px solid var(--bs-border-color); border-radius: .9rem; background: var(--bs-body-bg);
    transition: border-color .15s ease, background .15s ease;
}
.pay-option i { font-size: 1.5rem; color: var(--pink, #e6007e); }
.pay-option input { accent-color: var(--pink, #e6007e); }
.pay-option:hover { border-color: var(--pink, #e6007e); }
.pay-option.selected { border-color: var(--pink, #e6007e); background: var(--pink-light, #fff0f7); }
[data-bs-theme="dark"] .pay-option.selected { background: rgba(230, 0, 126, .12); }

/* Convite de cadastro com desconto */
.welcome-modal .modal-content { position: relative; border: 0; border-radius: 1.25rem; overflow: hidden; }
.welcome-close { position: absolute; top: .75rem; right: .75rem; z-index: 2; }
.welcome-foto { width: 100%; height: 100%; object-fit: cover; display: block; }
.welcome-eyebrow {
    font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
    color: var(--pink, #e6007e);
}
.welcome-titulo { font-family: "Playfair Display", Georgia, serif; font-size: 1.7rem; line-height: 1.2; }
.welcome-titulo strong { color: var(--pink, #e6007e); }
.welcome-cupom {
    display: inline-block; border: 2px dashed var(--pink, #e6007e); background: var(--pink-light, #fff0f7);
    color: var(--pink, #e6007e); border-radius: .8rem; padding: .7rem 1.6rem;
    font-size: 1.35rem; font-weight: 800; letter-spacing: .12em;
}
.welcome-cupom:hover { background: var(--pink, #e6007e); color: #fff; }
.welcome-cupom.copiado::after { content: ' ✓ copiado'; font-size: .7rem; letter-spacing: 0; }
.welcome-selo {
    display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px;
    border-radius: 50%; background: var(--pink, #e6007e); color: #fff; font-size: 1.6rem; font-weight: 800;
    box-shadow: 0 10px 24px rgba(230, 0, 126, .35);
}

/* Avisos da barra superior: um por vez, trocando sozinhos */
.topbar-rotator { position: relative; display: block; min-height: 1.35em; flex: 1 1 auto; }
.topbar-msg {
    position: absolute; left: 0; top: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 100%; opacity: 0; transition: opacity .45s ease; pointer-events: none;
}
.topbar-msg.active { opacity: 1; }
/* Sem JS (ou com um aviso so) o primeiro fica visivel do mesmo jeito. */
.topbar-rotator[data-topbar-fixo] .topbar-msg { position: static; opacity: 1; }

/* Selo do giro na vitrine */
.product-spin-badge {
    position: absolute; right: .5rem; top: .5rem; z-index: 2;
    background: rgba(0, 0, 0, .6); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .02em;
    border-radius: 20px; padding: .25rem .5rem;
}

/* Giro 360 da peca (fotos em sequencia, arrastadas pela pessoa) */
.product-spin { position: relative; outline: none; }
.product-spin .product-photo img { user-select: none; -webkit-user-drag: none; cursor: grab; }
.product-spin.is-dragging .product-photo img { cursor: grabbing; }
.product-spin:focus-visible .product-photo { outline: 3px solid var(--pink, #e6007e); outline-offset: 3px; }
.spin-loading {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: flex; align-items: center; padding: .5rem .9rem; border-radius: 20px;
    background: rgba(0, 0, 0, .55); color: #fff; font-size: .8rem; font-weight: 600;
}
.spin-bar { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: .6rem; }
.spin-count { font-size: .8rem; font-weight: 700; color: var(--bs-secondary-color, #6c757d); min-width: 3.2rem; text-align: center; }
.spin-hint {
    /* 3.6rem = altura da barra de baixo: a dica flutua DENTRO da foto. */
    position: absolute; left: 50%; bottom: 3.6rem; transform: translateX(-50%);
    display: inline-flex; align-items: center; white-space: nowrap; pointer-events: none;
    padding: .4rem .8rem; border-radius: 20px; background: rgba(0, 0, 0, .6); color: #fff;
    font-size: .78rem; font-weight: 600; opacity: 0; transition: opacity .3s ease;
}
.product-spin.is-ready .spin-hint { opacity: 1; }
.product-spin.is-used .spin-hint { opacity: 0; }
.spin-btn {
    width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg); color: inherit; display: inline-flex; align-items: center; justify-content: center;
}
.spin-btn:hover { border-color: var(--pink, #e6007e); color: var(--pink, #e6007e); }

/* Galeria simples (poucas fotos) */
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .6rem; flex-wrap: wrap; }
.gallery-thumb {
    width: 62px; height: 82px; padding: 0; overflow: hidden; border-radius: .6rem;
    border: 2px solid transparent; background: var(--surface-2); line-height: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--pink, #e6007e); }
.product-title { font-size: 2.1rem; font-weight: 700; color: var(--heading); }
.price-big { font-size: 2rem; font-weight: 800; color: var(--pink); }
.size-btn { min-width: 54px; font-weight: 800; }
.btn-check:checked + .size-btn { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn-check:disabled + .size-btn { text-decoration: line-through; opacity: .45; }

/* ---- Carrinho ------------------------------------------------- */
.card-table { border: 0; border-radius: 1rem; box-shadow: var(--shadow-card); overflow: hidden; }
.card-table thead th {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .5px;
    color: var(--text-muted); background: var(--surface-head); border-bottom: 0; padding: .9rem 1rem;
}
.card-table td { padding: .9rem 1rem; }
.cart-thumb { width: 56px; height: 72px; object-fit: cover; border-radius: .5rem; background: var(--surface-2); }
.cart-summary { border: 0; border-radius: 1rem; box-shadow: var(--shadow-card); position: sticky; top: 130px; }
.coupon-applied,
.coupon-box { background: #fdf2f8; border: 1px dashed var(--pink); border-radius: .6rem; padding: .45rem .7rem; }
.ship-options { display: flex; flex-direction: column; gap: .4rem; }
.ship-option { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border: 1px solid var(--bs-border-color); border-radius: .7rem; cursor: pointer; font-size: .9rem; margin: 0; transition: border-color .15s, background .15s; }
.ship-option:hover { border-color: var(--pink); }
.ship-option.selected { border-color: var(--pink); background: #fdf2f8; }
.ship-option input { accent-color: var(--pink); margin: 0; }
.checkout-card { border: 0; border-radius: 1rem; box-shadow: var(--shadow-card); }
.checkout-card .step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pink); color: #fff; font-size: .85rem; margin-right: .5rem; }
.order-done { padding: 2rem 0 1rem; }
.order-check { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: #e6f9ec; color: #1a7f37; font-size: 2.2rem; }
.order-number { display: inline-block; padding: .6rem 1.4rem; border-radius: 999px; background: #fdf2f8; border: 1px dashed var(--pink); color: var(--pink); font-weight: 800; font-size: 1.35rem; letter-spacing: 2px; }
[data-bs-theme="dark"] .coupon-applied, [data-bs-theme="dark"] .coupon-box, [data-bs-theme="dark"] .ship-option.selected, [data-bs-theme="dark"] .order-number { background: #3a1f2e; }
/* Conta da cliente */
/* ---- Telas de conta (entrar, criar conta, recuperar) ---------- */
/* Rodape sempre no fim da janela, mesmo em pagina curta. */
body.store { min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip; }
body.store .store-main { flex: 1 0 auto; }

.auth-wrap { padding: 1rem 0 2rem; }
.auth-grid { display: grid; gap: 1.5rem; max-width: 560px; margin: 0 auto; }
.auth-card { width: 100%; }
.auth-aside { display: none; }
@media (min-width: 992px) {
    .auth-wrap { padding: 2.5rem 0 3rem; }
    .auth-grid { grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1000px; align-items: stretch; }
    .auth-aside {
        display: flex; flex-direction: column; justify-content: center;
        padding: 2.75rem; border-radius: 1.25rem; border: 1px solid var(--border-soft);
        background: linear-gradient(135deg, var(--pink-light) 0%, var(--pink-soft) 100%);
    }
}
.auth-aside .eyebrow { color: var(--pink); font-size: .7rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.auth-aside h2 { font-size: 1.85rem; font-weight: 700; color: var(--heading); margin: .5rem 0 .75rem; }
.auth-aside > p { color: #5c5563; line-height: 1.7; margin-bottom: 1.75rem; max-width: 40ch; }
.auth-aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.auth-aside li { display: flex; gap: .85rem; align-items: flex-start; font-size: .92rem; color: #5c5563; line-height: 1.5; }
.auth-aside li strong { color: var(--heading); }
.auth-ico { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--pink); font-size: 1.05rem; box-shadow: var(--shadow-card); }
.account-avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 800; flex: 0 0 auto; }
.account-avatar-sm { width: 28px; height: 28px; font-size: .8rem; }
.btn-account { display: inline-flex; align-items: center; }
.account-nav .nav-link { color: var(--heading); border-radius: .6rem; padding: .55rem .75rem; font-weight: 600; font-size: .92rem; background: transparent; border: 0; }
.account-nav .nav-link:hover { background: var(--surface-2, #f6f4f7); color: var(--pink); }
.account-nav .nav-link.active { background: #fdf2f8; color: var(--pink); }
.order-row:hover { box-shadow: 0 10px 30px rgba(230, 0, 126, .12); transform: translateY(-1px); transition: .15s; }
.timeline { list-style: none; display: flex; justify-content: space-between; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 16px; left: 8%; right: 8%; height: 3px; background: var(--bs-border-color); z-index: 0; }
.timeline li { position: relative; z-index: 1; flex: 1; text-align: center; font-size: .78rem; color: var(--text-muted); }
.timeline .dot { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto .4rem; border-radius: 50%; background: var(--bs-body-bg); border: 3px solid var(--bs-border-color); color: #bbb; font-size: .9rem; }
.timeline li.done .dot { background: var(--pink); border-color: var(--pink); color: #fff; }
.timeline li.done { color: var(--heading); font-weight: 600; }
.timeline li.current .dot { box-shadow: 0 0 0 5px rgba(230, 0, 126, .18); }
[data-bs-theme="dark"] .account-nav .nav-link.active { background: #3a1f2e; }

/* ---- Estado vazio --------------------------------------------- */
.empty-state { padding: 4rem 1rem; text-align: center; color: var(--text-muted); }
.empty-state i { font-size: 3rem; color: #e6b3cf; }

/* ---- Rodape --------------------------------------------------- */
.site-footer { background: var(--plum); color: #b9b3c2; }
.site-footer h6 {
    color: #fff; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.5px; font-size: .72rem; margin-bottom: 1rem;
}
.site-footer a { color: #cfc9d6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff !important; }
.site-footer .logo small { color: #8f889a; }
.site-footer .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: #fff; }
.site-footer .form-control::placeholder { color: #8f889a; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); color: #8f889a; }
.footer-bottom .payments i { margin-left: .6rem; }
.social a {
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 1rem;
}
.social a:hover { background: var(--pink); color: #fff; }

/* ---- Responsivo ----------------------------------------------- */
@media (max-width: 991.98px) {
    .banner { min-height: 340px; padding: 2rem; }
}
@media (max-width: 767.98px) {
    .banner { min-height: 300px; padding: 1.5rem; }
    .banner-text h1 { font-size: 1.75rem; }
    .banner-text p { font-size: 1rem; }
    .banners .carousel-control-prev, .banners .carousel-control-next { display: none; }
    .product-title { font-size: 1.5rem; }
    .price-big { font-size: 1.6rem; }
    .section-title { font-size: 1.3rem; }
    .cart-summary { position: static; }
}

/* ---- Botao voltar ao topo (empilhado acima da Alice) ---------- */
/* Medidas compartilhadas com os botoes flutuantes de chat. */
:root { --fab-inset: 1.25rem; --fab-size: 56px; --fab-gap: .7rem; }
.back-to-top {
    position: fixed; right: var(--fab-inset); bottom: var(--fab-inset); z-index: 1030;
    width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff;
    background: var(--pink); color: #fff; font-size: 1.25rem;
    box-shadow: 0 8px 22px rgba(230, 0, 126, .35);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .25s, transform .25s, visibility .25s, background .2s, bottom .25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--plum); transform: translateY(-2px); }
/* Com um chat no mesmo canto (Alice, ou WhatsApp sozinho), sobe uma "casa". */
.back-to-top.above-fab { bottom: calc(var(--fab-inset) + var(--fab-size) + var(--fab-gap)); }
/* Chat aberto: o botao sai de cena para nao cobrir a conversa e volta ao fechar. */
body.alice-open .back-to-top,
body.wa-open .back-to-top { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---- Chat do WhatsApp ----------------------------------------- */
.wa-widget { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1035; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.wa-button {
    display: inline-flex; align-items: center; gap: .5rem;
    height: 56px; padding: 0 1.25rem 0 1rem; border: 0; border-radius: 28px;
    background: #25d366; color: #fff; font-weight: 800; font-size: .95rem;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .4);
    transition: transform .2s, box-shadow .2s;
}
.wa-button i { font-size: 1.6rem; }
.wa-button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(37, 211, 102, .45); }
.wa-chat {
    width: 340px; max-width: calc(100vw - 2.5rem);
    background: var(--bs-body-bg); border-radius: 1.1rem; overflow: hidden;
    box-shadow: 0 20px 50px rgba(31, 27, 36, .25);
    animation: wa-pop .2s ease-out;
}
@keyframes wa-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.wa-chat-header { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; background: #075e54; color: #fff; }
.wa-chat-header small { color: #cfe9e2; }
.wa-avatar {
    flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.4rem;
}
.wa-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #25d366; margin-right: .35rem; box-shadow: 0 0 0 2px rgba(37, 211, 102, .3); }
.wa-chat-body { padding: 1rem; background: #ece5dd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='1' fill='%23d9d2c9'/%3E%3C/svg%3E"); min-height: 110px; }
.wa-bubble {
    position: relative; display: inline-block; max-width: 90%;
    background: #fff; border-radius: .8rem; border-top-left-radius: .2rem;
    padding: .6rem .8rem; font-size: .9rem; color: #333; box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.wa-chat-form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--bs-border-color); }
.wa-chat-form .form-control { border-radius: 20px; }
.wa-send {
    flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; border: 0;
    background: #25d366; color: #fff; font-size: 1rem;
}
.wa-send:hover { background: #1ebe5b; }
.wa-chat-foot { padding: 0 .75rem .6rem; font-size: .7rem; color: #999; text-align: center; }
.wa-preview .wa-chat-header { border-radius: .8rem .8rem 0 0; }
.wa-preview .wa-chat-body { border-radius: 0 0 .8rem .8rem; }
@media (max-width: 575.98px) {
    .wa-button .wa-label { display: none; }
    .wa-button { width: 56px; padding: 0; justify-content: center; }
    .wa-widget { right: 1rem; bottom: 1rem; }
    .back-to-top { width: 44px; height: 44px; }
}

/* ---- Alice: atendente virtual (chat com IA) ------------------- */
/* Convive com o chat do WhatsApp: quando ambos existem, o WhatsApp vai para a esquerda. */
.wa-widget.wa-left { right: auto; left: 1.25rem; align-items: flex-start; }
.alice-widget { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1036; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.alice-button {
    display: inline-flex; align-items: center; gap: .6rem;
    height: 56px; padding: 0 1.25rem 0 .5rem; border: 0; border-radius: 28px;
    background: linear-gradient(135deg, var(--pink, #e6007e), var(--pink-dark, #c1006a)); color: #fff;
    font-weight: 800; font-size: .95rem; box-shadow: 0 10px 24px rgba(230, 0, 126, .4);
    transition: transform .2s, box-shadow .2s;
}
.alice-button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(230, 0, 126, .5); }
.alice-chat {
    width: 350px; max-width: calc(100vw - 2.5rem); display: flex; flex-direction: column;
    background: var(--bs-body-bg); border-radius: 1.1rem; overflow: hidden;
    box-shadow: 0 20px 50px rgba(31, 27, 36, .28);
    animation: wa-pop .2s ease-out;
}
.alice-header { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; background: linear-gradient(135deg, var(--pink-dark, #c1006a), #7a0043); color: #fff; }
.alice-header small { color: rgba(255, 255, 255, .85); font-size: .78rem; }
.alice-avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .45); display: grid; place-items: center; }
.alice-avatar-sm { flex-basis: 44px; width: 44px; height: 44px; box-shadow: none; }
.alice-face { width: 100%; height: 100%; display: block; }
.alice-icon-btn { flex: 0 0 auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; font-size: .95rem; }
.alice-icon-btn:hover { background: rgba(255, 255, 255, .26); }
.alice-icon-btn .bi-fullscreen-exit { display: none; }
.alice-full .alice-icon-btn .bi-arrows-fullscreen { display: none; }
.alice-full .alice-icon-btn .bi-fullscreen-exit { display: block; }
.alice-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #25d366; margin-right: .35rem; box-shadow: 0 0 0 2px rgba(37, 211, 102, .35); }
.alice-body { padding: 1rem; background: var(--bs-tertiary-bg, #f6f4f7); height: 360px; max-height: 58vh; overflow-y: auto; display: flex; flex-direction: column; gap: .55rem; }
.alice-msg { display: flex; }
.alice-msg.user { justify-content: flex-end; }
.alice-msg-wide > * { width: 100%; max-width: 100%; }
.alice-bubble {
    max-width: 85%; padding: .55rem .8rem; font-size: .9rem; line-height: 1.35; border-radius: .9rem;
    background: #fff; color: #333; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); border-top-left-radius: .25rem; word-wrap: break-word;
}
.alice-msg.user .alice-bubble { background: var(--pink, #e6007e); color: #fff; border-radius: .9rem; border-top-right-radius: .25rem; }
.alice-bubble a { color: inherit; text-decoration: underline; }
.alice-wa { display: inline-flex; align-items: center; gap: .4rem; margin-top: .15rem; padding: .5rem .9rem; border-radius: 20px; background: #25d366; color: #fff !important; font-weight: 700; font-size: .85rem; text-decoration: none !important; }
.alice-wa:hover { background: #1ebe5b; }
/* Cartoes de peca mostrados pela Alice na conversa */
.alice-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.alice-product {
    display: flex; flex-direction: column; overflow: hidden; border-radius: .75rem; background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .08); text-decoration: none !important; color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}
.alice-product:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.alice-product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--bs-tertiary-bg, #f6f4f7); }
.alice-widget.alice-full .alice-product img { aspect-ratio: 3 / 4; }
.alice-product-info { display: flex; flex-direction: column; gap: .1rem; padding: .45rem .55rem .6rem; }
.alice-product-info strong {
    font-size: .78rem; line-height: 1.25; font-weight: 700;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.alice-product-price { font-size: .8rem; font-weight: 800; color: var(--pink, #e6007e); }
.alice-widget.alice-full .alice-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.alice-ticket { background: #fff; border-radius: .9rem; padding: .85rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); font-size: .85rem; }
.alice-ticket-title { font-weight: 800; margin-bottom: .6rem; color: var(--heading); }
.alice-file { display: flex; align-items: center; gap: .4rem; padding: .4rem .7rem; border: 1px dashed var(--bs-border-color); border-radius: .6rem; cursor: pointer; color: #666; font-size: .8rem; }
.alice-file:hover { border-color: var(--pink, #e6007e); color: var(--pink, #e6007e); }
.alice-file-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alice-typing { display: inline-flex; gap: 4px; padding: .7rem .8rem; }
.alice-typing span { width: 7px; height: 7px; border-radius: 50%; background: #b9b0bf; animation: alice-blink 1.2s infinite both; }
.alice-typing span:nth-child(2) { animation-delay: .2s; }
.alice-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes alice-blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.alice-form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--bs-border-color); }
.alice-form .form-control { border-radius: 20px; }
.alice-send { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--pink, #e6007e); color: #fff; font-size: 1rem; }
.alice-send:hover { background: var(--pink-dark, #c1006a); }
.alice-send:disabled { opacity: .6; }
body.alice-fullscreen .back-to-top { opacity: 0; visibility: hidden; pointer-events: none; }
/* Tela cheia: o chat ocupa a janela inteira */
.alice-widget.alice-full { inset: 0; right: 0; bottom: 0; align-items: stretch; gap: 0; }
.alice-widget.alice-full .alice-chat { width: 100%; max-width: none; height: 100dvh; border-radius: 0; animation: none; }
.alice-widget.alice-full .alice-body { flex: 1 1 auto; height: auto; max-height: none; padding: 1.25rem max(1rem, calc((100vw - 760px) / 2)); }
.alice-widget.alice-full .alice-form { padding: .9rem max(1rem, calc((100vw - 760px) / 2)); }
.alice-widget.alice-full .alice-button { display: none; }
body.alice-fullscreen { overflow: hidden; }
@media (max-width: 575.98px) {
    :root { --fab-inset: 1rem; --fab-gap: .6rem; }
    .alice-button .alice-label { display: none; }
    .alice-button { width: 56px; padding: 0; justify-content: center; }
    .alice-widget { right: 1rem; bottom: 1rem; }
    .wa-widget.wa-left { left: 1rem; }
}

/* ============================================================
   Modo escuro (Bootstrap data-bs-theme="dark" no <html>)
   Os componentes do Bootstrap ja mudam sozinhos; aqui ficam so
   os tons da marca e das superficies proprias da loja.
   ============================================================ */
[data-bs-theme="dark"] {
    --pink:        #ff3fa0;
    --pink-dark:   #e6007e;
    --pink-light:  #2a1e28;
    --pink-soft:   #33222f;
    --heading:     #f5eff7;
    --surface-2:   #262130;
    --surface-head:#221d28;
    --text-muted:  #a79dae;
    --border-soft: #2e2833;
    --badge-bg:    rgba(31, 27, 36, .9);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, .35);
    --shadow-card-hover: 0 16px 32px rgba(0, 0, 0, .5);

    --bs-primary: #ff3fa0;
    --bs-primary-rgb: 255, 63, 160;
    --bs-link-color: #ff3fa0;
    --bs-link-color-rgb: 255, 63, 160;
    --bs-link-hover-color: #ff6fb8;
    --bs-link-hover-color-rgb: 255, 111, 184;
    --bs-body-bg: #17141b;
    --bs-body-bg-rgb: 23, 20, 27;
    --bs-body-color: #e6e0ea;
    --bs-body-color-rgb: 230, 224, 234;
    --bs-secondary-color: #a79dae;
    --bs-secondary-bg: #262130;
    --bs-tertiary-bg: #1f1a24;
    --bs-border-color: #3a2f3b;
    --bs-border-color-translucent: rgba(255, 255, 255, .08);
    --bs-emphasis-color: #fff;
}
[data-bs-theme="dark"] .logo small { color: var(--text-muted); }
[data-bs-theme="dark"] .navbar-toggler { border-color: var(--bs-border-color); }
[data-bs-theme="dark"] .breadcrumb { --bs-breadcrumb-divider-color: #6d6474; }
[data-bs-theme="dark"] .alert-success { --bs-alert-bg: #12301c; --bs-alert-border-color: #1e4a2c; --bs-alert-color: #9be0b3; }
[data-bs-theme="dark"] .btn-outline-dark {
    --bs-btn-color: #e6e0ea; --bs-btn-border-color: #5a5062;
    --bs-btn-hover-bg: #e6e0ea; --bs-btn-hover-border-color: #e6e0ea; --bs-btn-hover-color: #17141b;
}
[data-bs-theme="dark"] .site-footer { background: #0f0d12; }
[data-bs-theme="dark"] .back-to-top { border-color: #2a2530; }
[data-bs-theme="dark"] .wa-chat-body {
    background-color: #1d1a21;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='1' fill='%23332e39'/%3E%3C/svg%3E");
}
[data-bs-theme="dark"] .wa-bubble { background: #2a2530; color: #e6e0ea; }
[data-bs-theme="dark"] .wa-chat-foot { color: var(--text-muted); }
[data-bs-theme="dark"] .alice-bubble { background: #2a2530; color: #e6e0ea; }
[data-bs-theme="dark"] .alice-msg.user .alice-bubble { background: var(--pink); color: #fff; }
[data-bs-theme="dark"] .alice-ticket { background: #2a2530; color: #e6e0ea; }
[data-bs-theme="dark"] .alice-product { background: #2a2530; color: #e6e0ea; }
[data-bs-theme="dark"] .alice-product img { background: #35303c; }
[data-bs-theme="dark"] .alice-file { color: #b9b0bf; }
[data-bs-theme="dark"] .empty-state i { color: #5a3d52; }
[data-bs-theme="dark"] .story { background: linear-gradient(135deg, #2a2030 0%, #3a1f2e 100%); border-color: #3a3340; color: #f3eef6; }
[data-bs-theme="dark"] .story p { color: #cfc8d4; }
[data-bs-theme="dark"] .story .btn-outline-dark { --bs-btn-color: #ff7ac0; --bs-btn-border-color: #ff7ac0; --bs-btn-hover-bg: var(--pink); --bs-btn-hover-border-color: var(--pink); }
[data-bs-theme="dark"] .story-mark { background: radial-gradient(120% 120% at 70% 20%, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 60%), #35283a; }
[data-bs-theme="dark"] .story-mark::after { background: rgba(255, 255, 255, .06); }
[data-bs-theme="dark"] .about-hero { background: linear-gradient(135deg, #2a2030 0%, #3a1f2e 100%); border-color: #3a3340; }
[data-bs-theme="dark"] .about-hero h1 { color: #f3eef6; }
[data-bs-theme="dark"] .about-hero-mark { background: radial-gradient(120% 120% at 70% 20%, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 60%), #35283a; }
[data-bs-theme="dark"] .about-card, [data-bs-theme="dark"] .about-steps li { background: #241f2a; border-color: #3a3340; }
[data-bs-theme="dark"] .about-card h3, [data-bs-theme="dark"] .about-steps h3, [data-bs-theme="dark"] .about-quote blockquote { color: #f3eef6; }
[data-bs-theme="dark"] .about-hero p, [data-bs-theme="dark"] .about-card p, [data-bs-theme="dark"] .about-steps p { color: #cfc8d4; }
[data-bs-theme="dark"] .about-quote { background: #241f2a; border-color: #3a3340; }
[data-bs-theme="dark"] .auth-aside { background: linear-gradient(135deg, #2a2030 0%, #3a1f2e 100%); border-color: #3a3340; }
[data-bs-theme="dark"] .auth-aside h2, [data-bs-theme="dark"] .auth-aside li strong { color: #f3eef6; }
[data-bs-theme="dark"] .auth-aside > p, [data-bs-theme="dark"] .auth-aside li { color: #cfc8d4; }
[data-bs-theme="dark"] .auth-ico { background: #241f2a; }

/* ---- Botao de tema (sol/lua) ---------------------------------- */
.btn-theme {
    width: 40px; height: 40px; border-radius: 50%; padding: 0;
    display: inline-grid; place-items: center;
    color: var(--heading); border: 1px solid var(--bs-border-color); background: transparent;
    font-size: 1.05rem;
}
.btn-theme:hover { color: var(--pink); border-color: var(--pink); }
.btn-theme .bi-sun { display: none; }
[data-bs-theme="dark"] .btn-theme .bi-sun { display: block; }
[data-bs-theme="dark"] .btn-theme .bi-moon-stars { display: none; }
