/* ANSEIO ÍNTIMO — Mobile Premium + Tema Dia/Noite
   Camada aditiva. Não altera o desktop aprovado; age no mobile e no tema escolhido. */
:root{
  --anseio-night-bg:#17070b;
  --anseio-night-surface:#241015;
  --anseio-night-surface-2:#2d141a;
  --anseio-night-text:#fff7f8;
  --anseio-night-muted:#ead0d5;
  --anseio-night-line:rgba(255,255,255,.16);
  --anseio-day-bg:#fff8f8;
  --anseio-day-surface:#ffffff;
  --anseio-mobile-banner-h:clamp(360px,72vh,720px);
}
html[data-anseio-visual-theme="night"] body{
  background:radial-gradient(circle at top,#2a1015 0,#17070b 38%,#0e0508 100%)!important;
  color:var(--anseio-night-text)!important;
}
html[data-anseio-visual-theme="night"] .home-vitrines,
html[data-anseio-visual-theme="night"] .anseio-page-intro,
html[data-anseio-visual-theme="night"] .anseio-sections-wrap,
html[data-anseio-visual-theme="night"] section,
html[data-anseio-visual-theme="night"] main{
  background:transparent!important;
}
html[data-anseio-visual-theme="night"] .product-card,
html[data-anseio-visual-theme="night"] .account-card,
html[data-anseio-visual-theme="night"] .cart-line,
html[data-anseio-visual-theme="night"] .cart-total-box,
html[data-anseio-visual-theme="night"] .contact-card,
html[data-anseio-visual-theme="night"] .anseio-page-card,
html[data-anseio-visual-theme="night"] .anseio-auth-panel,
html[data-anseio-visual-theme="night"] .anseio-profile-modal-panel{
  background:linear-gradient(180deg,var(--anseio-night-surface),var(--anseio-night-surface-2))!important;
  color:var(--anseio-night-text)!important;
  border-color:var(--anseio-night-line)!important;
  box-shadow:0 22px 52px rgba(0,0,0,.38)!important;
}
html[data-anseio-visual-theme="night"] h1,
html[data-anseio-visual-theme="night"] h2,
html[data-anseio-visual-theme="night"] h3,
html[data-anseio-visual-theme="night"] h4,
html[data-anseio-visual-theme="night"] .title,
html[data-anseio-visual-theme="night"] .section-title h2{
  color:#ffe4e8!important;
}
html[data-anseio-visual-theme="night"] p,
html[data-anseio-visual-theme="night"] small,
html[data-anseio-visual-theme="night"] .muted,
html[data-anseio-visual-theme="night"] .product-category,
html[data-anseio-visual-theme="night"] label{
  color:var(--anseio-night-muted)!important;
}
html[data-anseio-visual-theme="night"] input,
html[data-anseio-visual-theme="night"] select,
html[data-anseio-visual-theme="night"] textarea{
  background:#14080b!important;
  color:#fff7f8!important;
  border-color:rgba(255,255,255,.22)!important;
}
html[data-anseio-visual-theme="night"] input::placeholder,
html[data-anseio-visual-theme="night"] textarea::placeholder{color:#d5aeb5!important;}
html[data-anseio-visual-theme="night"] .anseio-drawer,
html[data-anseio-visual-theme="night"] .anseio-drawer-head,
html[data-anseio-visual-theme="night"] .anseio-auth-box,
html[data-anseio-visual-theme="night"] .anseio-user-box{
  background:linear-gradient(180deg,#240e14,#15070b)!important;
  color:#fff7f8!important;
  border-color:rgba(255,255,255,.16)!important;
}
html[data-anseio-visual-theme="night"] .anseio-drawer-nav a,
html[data-anseio-visual-theme="night"] .anseio-account-action,
html[data-anseio-visual-theme="night"] .anseio-auth-button,
html[data-anseio-visual-theme="night"] .btn-secondary,
html[data-anseio-visual-theme="night"] .anseio-muted-button{
  background:#17080d!important;
  color:#fff4f6!important;
  border-color:rgba(255,255,255,.18)!important;
}
html[data-anseio-visual-theme="night"] .anseio-menu-header{background:rgba(18,5,9,.72)!important;backdrop-filter:blur(16px)!important;}
html[data-anseio-visual-theme="night"] .anseio-menu-toggle{background:rgba(30,9,14,.92)!important;border-color:rgba(255,255,255,.18)!important;}
html[data-anseio-visual-theme="night"] .anseio-menu-toggle span{background:#fff!important;}
html[data-anseio-visual-theme="night"] footer{background:#0d0306!important;color:#fff4f6!important;}
html[data-anseio-visual-theme="night"] footer a,
html[data-anseio-visual-theme="night"] footer p,
html[data-anseio-visual-theme="night"] footer h3{color:#fff4f6!important;}
.anseio-theme-toggle{
  position:fixed;right:14px;bottom:16px;z-index:3999;
  min-width:46px;height:46px;border-radius:999px;border:1px solid rgba(120,0,7,.18);
  background:linear-gradient(135deg,#780007,#bd2636);color:#fff;
  box-shadow:0 18px 48px rgba(70,0,8,.28);display:inline-flex;align-items:center;justify-content:center;gap:7px;
  font-weight:900;font-size:16px;padding:0 14px;cursor:pointer;
}
.anseio-theme-toggle span{font-size:12px;line-height:1;white-space:nowrap;}
html[data-anseio-visual-theme="night"] .anseio-theme-toggle{background:linear-gradient(135deg,#fff7f8,#f0cbd1);color:#780007;}
@media(max-width:768px){
  html,body{max-width:100%;overflow-x:hidden!important;}
  body{padding-top:76px!important;}
  img,video,picture,canvas{max-width:100%;height:auto;}
  .container{width:min(100% - 28px,1120px)!important;padding-left:0!important;padding-right:0!important;}
  .anseio-menu-header{height:74px!important;grid-template-columns:64px 1fr 64px!important;align-items:center!important;background:rgba(255,255,255,.88)!important;backdrop-filter:blur(16px)!important;}
  .anseio-menu-toggle{width:46px!important;height:46px!important;border-radius:15px!important;margin:0 0 0 10px!important;}
  .anseio-menu-logo{width:auto!important;min-height:64px!important;margin:0!important;filter:drop-shadow(0 8px 18px rgba(120,0,7,.12));}
  .anseio-menu-logo img{max-height:70px!important;max-width:168px!important;object-fit:contain!important;}
  .anseio-menu-spacer{width:64px!important;height:74px!important;}
  .anseio-drawer{width:min(92vw,380px)!important;max-width:92vw!important;}
  /* Oculta submenus centrais no mobile para não distorcer. A navegação fica no drawer. */
  body:not(.anseio-mobile-show-center-menu) .anseio-category-quickbar,
  body:not(.anseio-mobile-show-center-menu) .quick-menu,
  body:not(.anseio-mobile-show-center-menu) .anseio-quick-menu,
  body:not(.anseio-mobile-show-center-menu) .anseio25-6-quickbar,
  body:not(.anseio-mobile-show-center-menu) .category-nav,
  body:not(.anseio-mobile-show-center-menu) .submenu-central,
  body:not(.anseio-mobile-show-center-menu) .vitrine-submenu,
  body:not(.anseio-mobile-show-center-menu) .desktop-submenu{display:none!important;}
  .hero,.hero-section,.hero-banner,.anseio-category-hero,.anseio-home-hero,.main-hero{
    min-height:var(--anseio-mobile-banner-h)!important;
    height:auto!important;
    padding:116px 18px 48px!important;
    background-size:cover!important;
    background-position:center center!important;
    display:grid!important;
    align-items:end!important;
  }
  .hero img,.hero-banner img,.anseio-category-hero img,.anseio-banner-media img,.anseio-banner-media video{
    width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;display:block!important;
  }
  .anseio-banner-media,.anseio-banner-media picture{display:block!important;width:100%!important;height:100%!important;}
  .hero-content,.hero-content-below,.anseio-slide-copy{max-width:100%!important;padding:0 10px!important;text-align:center!important;}
  h1,.anseio-category-hero h1{font-size:clamp(2.25rem,13vw,4.15rem)!important;line-height:.95!important;word-break:normal!important;}
  h2,.section-title h2{font-size:clamp(1.85rem,9vw,3rem)!important;line-height:1.04!important;}
  p{line-height:1.58;}
  .home-vitrines{padding:48px 0!important;}
  .home-vitrine-grid{grid-template-columns:1fr 1fr!important;gap:12px!important;}
  .home-vitrine-card{min-height:184px!important;border-radius:18px!important;padding:15px!important;}
  .home-vitrine-card small{font-size:.62rem!important;letter-spacing:.18em!important;}
  .home-vitrine-card h3{font-size:1.06rem!important;line-height:1.12!important;}
  .home-vitrine-card p{font-size:.78rem!important;line-height:1.34!important;}
  .anseio-products-grid,.fav-grid,.products-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  .product-card{border-radius:18px!important;min-width:0!important;}
  .product-info{padding:12px!important;}
  .product-info h3{font-size:.91rem!important;line-height:1.28!important;}
  .price,.product-price{font-size:.96rem!important;}
  .btn-buy,.product-btn,.btn-primary,.anseio-submit{min-height:42px!important;border-radius:999px!important;font-size:.86rem!important;}
  .cart-line{display:grid!important;grid-template-columns:92px 1fr!important;gap:12px!important;align-items:start!important;}
  .cart-line img{width:92px!important;height:122px!important;object-fit:cover!important;border-radius:15px!important;}
  .account-card,.cart-total-box,.contact-card{border-radius:22px!important;padding:18px!important;}
  .form,.anseio-form-grid{grid-template-columns:1fr!important;}
  .anseio-theme-toggle{right:12px;bottom:12px;height:44px;min-width:44px;padding:0 12px;}
  .anseio-theme-toggle span{display:none;}
}
@media(max-width:380px){
  .home-vitrine-grid{grid-template-columns:1fr!important;}
  .anseio-products-grid,.fav-grid,.products-grid,.product-grid{grid-template-columns:1fr 1fr!important;gap:10px!important;}
  .product-info h3{font-size:.86rem!important;}
}


/* Correção supervisionada — tema no menu do perfil, sem botão flutuante */
.anseio-theme-toggle{display:none!important;visibility:hidden!important;pointer-events:none!important;}
.anseio-theme-menu-row{cursor:pointer!important;user-select:none!important;}
.anseio-theme-switch{width:38px;height:22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:flex-start;padding:2px;position:relative;overflow:hidden;transition:background .28s ease,box-shadow .28s ease,justify-content .28s ease;border:1px solid rgba(120,0,7,.18);background:#fff7f8;box-shadow:inset 0 0 0 1px rgba(120,0,7,.06)}
.anseio-theme-switch .sun,.anseio-theme-switch .moon{width:18px;height:18px;border-radius:999px;display:grid;place-items:center;font-size:12px;line-height:1;transition:transform .28s ease,opacity .22s ease,color .28s ease,background .28s ease;}
.anseio-theme-switch .sun{background:#fff;color:#780007;box-shadow:0 3px 10px rgba(120,0,7,.18)}
.anseio-theme-switch .moon{position:absolute;right:2px;opacity:0;transform:translateX(18px) rotate(70deg);color:#fff;background:#1d0a10;}
.anseio-theme-switch.is-night{justify-content:flex-end;background:#12070b;border-color:rgba(255,255,255,.22);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 8px 18px rgba(0,0,0,.18)}
.anseio-theme-switch.is-night .sun{opacity:0;transform:translateX(-18px) rotate(-70deg)}
.anseio-theme-switch.is-night .moon{opacity:1;transform:translateX(0) rotate(0deg);background:#fff;color:#12070b;box-shadow:0 3px 10px rgba(255,255,255,.16)}
html.anseio-theme-animating *{transition:background-color .32s ease,color .32s ease,border-color .32s ease,box-shadow .32s ease!important;}
.anseio21-theme-menu-btn{width:100%;font:inherit;}
.anseio21-account-menu .anseio21-theme-menu-btn,.anseio21-account-menu [data-anseio-theme-toggle-menu]{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;border:0!important;border-top:1px solid rgba(120,0,7,.08)!important;background:#fff!important;color:#2a1015!important;padding:12px 14px!important;font-weight:800!important;text-align:left!important;}
.anseio21-account-menu .anseio21-theme-menu-btn:hover{background:#fff3f5!important;color:#780007!important;}
.anseio265-profile-drawer [data-anseio-theme-toggle-menu]{display:flex!important;align-items:center!important;justify-content:space-between!important;}
.anseio265-profile-drawer [data-anseio-theme-toggle-menu] .label{display:flex!important;align-items:center!important;gap:12px!important;}
.anseio265-profile-drawer [data-anseio-theme-toggle-menu] .icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;}

/* Reforço do modo noite: cobre áreas que ficavam com fundo/texto de modo claro */
html[data-anseio-visual-theme="night"] body,
html[data-anseio-visual-theme="night"] .page,
html[data-anseio-visual-theme="night"] .page-wrapper,
html[data-anseio-visual-theme="night"] .main,
html[data-anseio-visual-theme="night"] .anseio-simple-page,
html[data-anseio-visual-theme="night"] .anseio265-account-shell,
html[data-anseio-visual-theme="night"] .anseio265-account-ready main,
html[data-anseio-visual-theme="night"] .anseio265-account-layout,
html[data-anseio-visual-theme="night"] .anseio-sections-wrap,
html[data-anseio-visual-theme="night"] .anseio-page-intro,
html[data-anseio-visual-theme="night"] .home-vitrines{background:#130509!important;color:#fff7f8!important;}
html[data-anseio-visual-theme="night"] .anseio-page-card,
html[data-anseio-visual-theme="night"] .anseio265-account-card,
html[data-anseio-visual-theme="night"] .anseio265-account-nav,
html[data-anseio-visual-theme="night"] .anseio265-empty,
html[data-anseio-visual-theme="night"] .anseio265-coupon,
html[data-anseio-visual-theme="night"] .anseio265-pref-section,
html[data-anseio-visual-theme="night"] .anseio265-profile-drawer,
html[data-anseio-visual-theme="night"] .anseio265-profile-head,
html[data-anseio-visual-theme="night"] .anseio265-profile-body,
html[data-anseio-visual-theme="night"] .anseio265-profile-link,
html[data-anseio-visual-theme="night"] .anseio-account-action,
html[data-anseio-visual-theme="night"] .contact-method,
html[data-anseio-visual-theme="night"] .anseio-choice-panel,
html[data-anseio-visual-theme="night"] .anseio-choice-info,
html[data-anseio-visual-theme="night"] .plus-wrap,
html[data-anseio-visual-theme="night"] .choice-pill:not(.active){background:linear-gradient(180deg,#241015,#17080d)!important;color:#fff7f8!important;border-color:rgba(255,255,255,.16)!important;}
html[data-anseio-visual-theme="night"] .anseio265-account-card h1,
html[data-anseio-visual-theme="night"] .anseio265-account-card h2,
html[data-anseio-visual-theme="night"] .anseio265-account-card h3,
html[data-anseio-visual-theme="night"] .anseio265-account-shell h1,
html[data-anseio-visual-theme="night"] .anseio265-account-shell h2,
html[data-anseio-visual-theme="night"] .anseio265-profile-drawer h2,
html[data-anseio-visual-theme="night"] .anseio-page-card h1,
html[data-anseio-visual-theme="night"] .anseio-page-card h2,
html[data-anseio-visual-theme="night"] .contact-method strong,
html[data-anseio-visual-theme="night"] .choice-group-title,
html[data-anseio-visual-theme="night"] .anseio-choice-info h2{color:#ffe5ea!important;}
html[data-anseio-visual-theme="night"] .anseio265-account-card p,
html[data-anseio-visual-theme="night"] .anseio265-account-shell p,
html[data-anseio-visual-theme="night"] .anseio265-profile-drawer p,
html[data-anseio-visual-theme="night"] .anseio265-profile-note,
html[data-anseio-visual-theme="night"] .anseio-page-card p,
html[data-anseio-visual-theme="night"] .contact-method p,
html[data-anseio-visual-theme="night"] .anseio265-coupon small,
html[data-anseio-visual-theme="night"] .anseio265-empty p{color:#f0cfd5!important;}
html[data-anseio-visual-theme="night"] .anseio265-field,
html[data-anseio-visual-theme="night"] .anseio265-field label,
html[data-anseio-visual-theme="night"] .anseio265-field span{color:#ffe5ea!important;}
html[data-anseio-visual-theme="night"] .anseio265-field input,
html[data-anseio-visual-theme="night"] .anseio265-field textarea,
html[data-anseio-visual-theme="night"] .anseio265-field select{background:#0f0508!important;color:#fff7f8!important;border-color:rgba(255,255,255,.22)!important;}
html[data-anseio-visual-theme="night"] .anseio265-account-nav button,
html[data-anseio-visual-theme="night"] .anseio265-account-nav a{background:#19080d!important;color:#fff7f8!important;border-color:rgba(255,255,255,.14)!important;}
html[data-anseio-visual-theme="night"] .anseio265-account-nav button.active,
html[data-anseio-visual-theme="night"] .anseio265-btn,
html[data-anseio-visual-theme="night"] .choice-pill.active{background:#a80817!important;color:#fff!important;border-color:#d74b5a!important;}
html[data-anseio-visual-theme="night"] .anseio-menu-header{background:rgba(18,5,9,.80)!important;}
html[data-anseio-visual-theme="night"] .anseio-menu-logo img{filter:drop-shadow(0 10px 18px rgba(0,0,0,.35));}
html[data-anseio-visual-theme="night"] .anseio21-account-menu{background:#1d0a10!important;color:#fff7f8!important;border-color:rgba(255,255,255,.14)!important;}
html[data-anseio-visual-theme="night"] .anseio21-account-menu a,
html[data-anseio-visual-theme="night"] .anseio21-account-menu button{background:#1d0a10!important;color:#fff7f8!important;border-color:rgba(255,255,255,.14)!important;}
html[data-anseio-visual-theme="night"] .anseio21-account-card{background:#140609!important;color:#fff7f8!important;}
html[data-anseio-visual-theme="night"] .anseio21-account-card span{color:#f0cfd5!important;}
@media(max-width:768px){
  .anseio-theme-toggle{display:none!important;}
  html[data-anseio-visual-theme="night"] .anseio-menu-header{background:rgba(18,5,9,.86)!important;}
  html[data-anseio-visual-theme="night"] .anseio-menu-spacer{background:transparent!important;}
}


/* Foto da cliente na aba Minha Conta */
.anseio265-photo-editor{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:4px 0 22px;padding:16px;border:1px solid rgba(120,0,7,.12);border-radius:22px;background:rgba(255,248,248,.72)}
.anseio265-photo-preview{width:92px;height:92px;border-radius:999px;display:grid;place-items:center;overflow:hidden;background:#fff;border:1px solid rgba(120,0,7,.16);color:#780007;box-shadow:0 16px 38px rgba(120,0,7,.09)}
.anseio265-photo-preview img{width:100%;height:100%;object-fit:cover;display:block}.anseio265-photo-editor small{display:block;flex:1 1 220px;color:#76565d;line-height:1.45}
html[data-anseio-visual-theme="night"] .anseio265-photo-editor{background:#17080d!important;border-color:rgba(255,255,255,.15)!important}.anseio265-photo-editor .anseio265-btn{cursor:pointer}html[data-anseio-visual-theme="night"] .anseio265-photo-editor small{color:#f0cfd5!important}
