
html body #idlinkProfileCartSheet{z-index:2147483100!important}
html body #idlinkProfileCartTab{z-index:2147483050!important}
/* ═══════════════════════════════════════════════════════════════════════
   v733633 — rodapé em bloco. Ver o cabeçalho do patch.
   ═══════════════════════════════════════════════════════════════════════ */
:root{--idlk-cart-h:0px}
html body #idlinkProfileCartTab.idlink-profile-cart-tab{
  left:0!important;right:0!important;bottom:0!important;
  width:100%!important;max-width:100%!important;
  transform:none!important;border-radius:0!important;
  min-height:0!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;
  background:#0A0A0C!important;
  border:0!important;border-top:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 -14px 40px rgba(0,0,0,.55)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
/* a barra da promoção encosta exatamente no topo do carrinho */
#idlkCampBarraV733622{bottom:var(--idlk-cart-h,0px)!important;
  padding:8px 14px!important;line-height:1;border-top:1px solid rgba(0,0,0,.12)}
html.idlk-tem-camp-v733626 body{padding-bottom:calc(40px + var(--idlk-cart-h,0px))!important}
/* dentro da ficha em tela cheia nada disso aparece — a ficha tem o rodapé dela */
html.idlk-ficha-aberta-v733631 #idlinkProfileCartTab{display:none!important}
/* ── v733639: a pilha do rodapé. Ver o cabeçalho do patch. ── */
:root{--idlk-frete-h:0px}
html body #idlkFreteBarV733024{
  left:0!important;right:0!important;width:100%!important;
  bottom:var(--idlk-cart-h,0px)!important;
  border-radius:0!important;margin:0!important;
  padding:9px 14px calc(9px + env(safe-area-inset-bottom))!important;
  border:0!important;border-top:1px solid rgba(255,255,255,.12)!important;
  z-index:9989!important}
/* com o carrinho aberto a área segura já é dele: não some duas vezes */
html body #idlinkProfileCartTab.idlink-profile-cart-tab.show ~ #idlkFreteBarV733024,
html:has(#idlinkProfileCartTab.show) body #idlkFreteBarV733024{
  padding-bottom:9px!important}
#idlkCampBarraV733622{bottom:calc(var(--idlk-cart-h,0px) + var(--idlk-frete-h,0px))!important}
html.idlk-tem-camp-v733626 body{
  padding-bottom:calc(40px + var(--idlk-cart-h,0px) + var(--idlk-frete-h,0px))!important}
html.idlk-ficha-aberta-v733631 #idlkFreteBarV733024{display:none!important}
/* ═══════════════════════════════════════════════════════════════════════
   v733659 — relâmpago + carrinho = uma peça. Só CSS: nada sai do lugar.
   ═══════════════════════════════════════════════════════════════════════ */
html body #idlkCampBarraV733622{
  box-shadow:0 -12px 34px rgba(0,0,0,.5)!important;
  border:0!important;border-bottom:1px solid rgba(0,0,0,.16)!important}
html body #idlinkProfileCartTab.idlink-profile-cart-tab{
  box-shadow:none!important;border-top:0!important}
/* sem campanha, o carrinho é a peça de cima e leva a sombra */
html:not(.idlk-tem-camp-v733626) body #idlinkProfileCartTab.idlink-profile-cart-tab{
  box-shadow:0 -12px 34px rgba(0,0,0,.5)!important}
@media(min-width:760px){
  /* o bloco arredonda por fora e é reto por dentro */
  html body #idlkCampBarraV733622{
    border-radius:16px 16px 0 0!important;box-shadow:0 18px 46px rgba(0,0,0,.5)!important}
  html body #idlinkProfileCartTab.idlink-profile-cart-tab{
    border-radius:0 0 16px 16px!important;box-shadow:none!important}
  html:not(.idlk-tem-camp-v733626) body #idlinkProfileCartTab.idlink-profile-cart-tab{
    border-radius:16px!important;box-shadow:0 18px 46px rgba(0,0,0,.5)!important}
  /* encostadas: sem o respiro de 6px que as separava */
  html body #idlinkProfileCartTab.idlink-profile-cart-tab{bottom:16px!important}
  html body #idlkCampBarraV733622{
    bottom:calc(16px + var(--idlk-cart-h,0px) + var(--idlk-frete-h,0px))!important}
  html body #idlkFreteBarV733024{
    bottom:calc(16px + var(--idlk-cart-h,0px))!important;
    border-radius:0!important;box-shadow:none!important}
}
/* ═══════════════════════════════════════════════════════════════════════
   v733646 — no tablet/desktop a pilha vira um cartão centrado.
   Ver o cabeçalho do patch: full-bleed é regra de celular.
   ═══════════════════════════════════════════════════════════════════════ */
@media(min-width:760px){
  html body #idlinkProfileCartTab.idlink-profile-cart-tab,
  html body #idlkFreteBarV733024,
  html body #idlkCampBarraV733622{
    left:50%!important;right:auto!important;
    transform:translateX(-50%)!important;
    width:min(620px, calc(100vw - 32px))!important;
    max-width:min(620px, calc(100vw - 32px))!important}
  html body #idlinkProfileCartTab.idlink-profile-cart-tab{
    bottom:16px!important;border-radius:18px!important;
    border:1px solid rgba(255,255,255,.14)!important;
    padding:12px 16px!important}
  html body #idlkFreteBarV733024{
    bottom:calc(16px + var(--idlk-cart-h,0px) + 6px)!important;
    border-radius:16px!important;border:1px solid rgba(255,255,255,.12)!important;
    padding:10px 16px!important}
  html body #idlkCampBarraV733622{
    bottom:calc(16px + var(--idlk-cart-h,0px) + var(--idlk-frete-h,0px) + 12px)!important;
    border-radius:14px!important}
  html.idlk-tem-camp-v733626 body{
    padding-bottom:calc(56px + var(--idlk-cart-h,0px) + var(--idlk-frete-h,0px))!important}
}
/* v733646 — sem campanha o frete grátis é o topo da pilha: arredonda e
   ganha borda. Com campanha, quem faz o topo é a barra dela. */
html:not(.idlk-tem-camp-v733626) body #idlkFreteBarV733024{
  border-top-left-radius:16px!important;border-top-right-radius:16px!important;
  border-top:1px solid rgba(255,255,255,.16)!important}

/* ── v733639: a rolagem do produto aberto, sem depender de flex/dvh ── */
#idlinkFichaV2204 .idfk-painel{position:relative!important}
/* v733648 — o padrão correto: flex-basis 0 + min-height 0. Absoluto
   roubava o bloco de contenção do rodapé; ver o cabeçalho do patch. */
#idlinkFichaV2204 .idfk-corpo{
  position:static!important;
  flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;
  overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;touch-action:auto!important;
  overflow-anchor:none!important}
/* a alça só onde o risquinho está — o resto do topo é para rolar */
#idlinkFichaV2204 .idfk-grip{left:50%!important;right:auto!important;
  transform:translateX(-50%)!important;width:132px!important;height:30px!important}
/* trava do fundo que o iOS realmente obedece */
/* v733651 — ver o cabeçalho do patch: `body{position:fixed}` saiu.
   A ficha prende o gesto por overscroll-behavior:contain, sem poder
   desmontar a página se a classe ficar presa. */
html.idlk-ficha-aberta-v733631 body{overflow:hidden!important}
html.idlk-ficha-aberta-v733631{overflow:hidden!important;overscroll-behavior:none!important}
html body:has(#idlinkProfileCartSheet.show) #idlinkShopSearchDockV64421157,
html body:has(#idlinkProfileCartSheet.show) .idlink-busca-fixa,
html body:has(#idlinkProfileCartSheet.show) .idlink-language-floating-fixed-v64421159,
html body.idlink-carrinho-aberto-v731647 #idlinkShopSearchDockV64421157,
html body.idlink-carrinho-aberto-v731647 .idlink-busca-fixa,
html body.idlink-carrinho-aberto-v731647 .idlink-language-floating-fixed-v64421159{
  opacity:0!important;pointer-events:none!important;visibility:hidden!important
}
/* a foto do item ocupa a caixa inteira, sem o fundo verde do emoji */
html body .idlink-profile-cart-icon:has(img){background:#0a0c0f!important;border-color:rgba(255,255,255,.10)!important;overflow:hidden}
html body .idlink-profile-cart-icon img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}
