/* Atualização visual isolada da home e da página de oferta.
   As ações, dados, rotas, SEO, autenticação e demais páginas seguem os templates originais. */

/* Home: lateral à direita e cards compactos com a identidade roxa do Promosim. */
@media (min-width: 901px) {
  body .promosim-home-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 245px !important;
    gap: 20px !important;
    align-items: start !important;
  }
  body .promosim-home-main { order: 1 !important; min-width: 0 !important; }
  body .promosim-home-side { order: 2 !important; min-width: 0 !important; }
}
body .promosim-card-grid,
body .promosim-featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
body .promosim-home-card {
  border: 1px solid #e9dfed !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 3px rgba(54, 20, 66, .035) !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
body .promosim-home-card:hover,
body .promosim-home-card:focus-within {
  border-color: #7a009d !important;
  box-shadow: 0 8px 24px rgba(89, 0, 117, .12) !important;
}
body .promosim-home-card-title {
  font-weight: 400 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
body .promosim-home-card-fav {
  display: grid !important;
  place-items: center !important;
  border: 1px solid #e4d6e9 !important;
  background: #fff !important;
  color: #7a009d !important;
  border-radius: 50% !important;
  line-height: 1 !important;
}
body .promosim-home-card-fav.active { background: #fff !important; color: #7a009d !important; }
body .promosim-side-ad-v21 img { width: 100%; display: block; }

/* Oferta: o título acompanha o preço, ao lado da imagem, como no novo portal. */
body.offer-refresh main.wrap { max-width: 1372px; }
body.offer-refresh main.wrap > .box {
  padding: 22px;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(48, 15, 63, .035);
}
body.offer-refresh main.wrap > .box .layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
body.offer-refresh main.wrap > .box .photo { height: 430px; border-radius: 17px; }
body.offer-refresh main.wrap > .box .photo img { border-radius: 17px; }
body.offer-refresh main.wrap > .box .side { min-width: 0; }
body.offer-refresh main.wrap > .box h1 {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.3;
  margin: 8px 0 18px;
}
body.offer-refresh main.wrap > .box .store { margin: 4px 0 0; }
body.offer-refresh main.wrap > .box .old { margin: 0 0 6px; }
body.offer-refresh main.wrap > .box .price { color: #7a009d; font-size: 34px; }
body.offer-refresh main.wrap > .box .couponbox { max-width: 485px; margin-top: 20px; }
body.offer-refresh main.wrap > .box .go {
  display: block;
  max-width: 485px;
  border-radius: 10px;
  transition: background .18s ease;
}
body.offer-refresh main.wrap > .box .go:hover { background: #60007d; }
body.offer-refresh main.wrap > .box .actions { max-width: 485px; }
body.offer-refresh main.wrap > .box .action { border-radius: 10px; }
body.offer-refresh main.wrap > .box .fav,
body.offer-refresh main.wrap > .box .fav:hover {
  background: #fff;
  color: #7a009d;
  border: 1px solid #e4d6e9;
  box-shadow: 0 2px 8px rgba(36, 0, 45, .08);
}
body.offer-refresh .similar-pic,
body.offer-refresh .explore-pic { overflow: hidden; }
body.offer-refresh .similar-pic img,
body.offer-refresh .explore-pic img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }

@media (max-width: 900px) {
  body .promosim-home-shell { display: block !important; }
  body .promosim-card-grid,
  body .promosim-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  body.offer-refresh main.wrap > .box .layout { grid-template-columns: 1fr; }
  body.offer-refresh main.wrap > .box .photo { height: 350px; }
}
@media (max-width: 650px) {
  body .promosim-card-grid,
  body .promosim-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  body.offer-refresh main.wrap > .box { padding: 15px; }
  body.offer-refresh main.wrap > .box .photo { height: 300px; }
  body.offer-refresh main.wrap > .box .price { font-size: 29px; }
  body.offer-refresh main.wrap > .box .actions { grid-template-columns: 1fr 1fr; }
}

/* Home aprovada: cards antes dos banners, com os dois banners na lateral. */
body .ps-demo-carousel-v14.ps-image-carousel-v19{display:none!important}
body main.wrap:has(.promosim-home-shell){max-width:1372px!important;padding-left:26px!important;padding-right:26px!important;padding-top:20px!important;background:#f7f7f9!important}
body:has(.promosim-home-shell){background:#f7f7f9!important}
@media(min-width:1050px){body .promosim-home-shell{grid-template-columns:minmax(0,1fr) 270px!important;gap:20px!important}}
body .promosim-featured-approved{margin-top:0!important}
body .promosim-home-title-row{margin:3px 0 12px!important}
body .promosim-home-title-row h2{font-size:23px!important;letter-spacing:-.025em!important;color:#29212e!important}
body .promosim-card-grid,body .promosim-featured-grid{gap:11px!important}
body .promosim-home-card{height:391px!important;min-height:391px!important;max-height:391px!important;border-radius:10px!important;box-shadow:none!important;transform:none!important;border:1px solid #e8e3eb!important}
body .promosim-home-card:hover{border-color:#bc91c8!important;box-shadow:0 10px 24px #32123915!important}
body .promosim-home-card-media{height:173px!important;min-height:173px!important;max-height:173px!important;flex:0 0 173px!important;padding:16px!important;border-bottom:1px solid #f2eff3!important;background:#fff!important}
body .promosim-home-card-body,body .promosim-featured-grid>.promosim-home-card .promosim-home-card-body,body #promosimHomeGrid>.promosim-home-card .promosim-home-card-body{height:217px!important;min-height:217px!important;max-height:217px!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;grid-template-rows:none!important;padding:11px 12px 13px!important}
body .promosim-home-card-store{order:-1!important;height:22px!important;min-height:22px!important;max-height:22px!important;margin:0 0 8px!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;color:#625a66!important;font-size:12px!important}
body .promosim-home-card-store img{width:20px!important;height:20px!important;object-fit:contain!important}
body .promosim-home-card-title{order:0!important;height:40px!important;min-height:40px!important;max-height:40px!important;font-size:13px!important;line-height:19px!important;font-weight:400!important;-webkit-line-clamp:2!important}
body .promosim-home-card-old{order:1!important;height:17px!important;min-height:17px!important;margin:9px 0 0!important;font-size:12px!important;line-height:17px!important;color:#938a96!important}
body .promosim-home-card-price{order:2!important;height:29px!important;min-height:29px!important;margin:0!important;font-size:21px!important;line-height:29px!important;font-weight:800!important;color:#29212e!important}
body .promosim-home-card-perks{order:3!important;margin-top:auto!important}
body .promosim-home-card-discount{left:10px!important;top:10px!important;padding:5px 7px!important;border-radius:5px!important;background:#f4e5f8!important;color:#760097!important;font-size:12px!important}
body .promosim-home-card-fav{right:9px!important;top:9px!important;width:30px!important;height:30px!important;font-size:20px!important;z-index:5!important}
body .promosim-home-card-fav.active{background:#7a009d!important;color:#fff!important;border-color:#7a009d!important}
body .promosim-home-side{gap:12px!important}
body .promosim-home-side>.promosim-side-ads-v21 .promosim-side-ad-v21{width:100%!important;height:auto!important;aspect-ratio:270/320!important;max-height:none!important;overflow:hidden!important}
body .promosim-home-side>.promosim-side-ads-v21 .promosim-side-ad-v21 img{width:100%!important;height:100%!important;object-fit:cover!important}
@media(min-width:851px){body .promosim-home-card .promosim-home-card-cta{bottom:39px!important;min-width:145px!important;height:34px!important;border-radius:7px!important;box-shadow:0 6px 15px #7a009d33!important}}
@media(max-width:1050px){body .promosim-home-shell{grid-template-columns:minmax(0,1fr) 245px!important}}
@media(max-width:900px){body .promosim-home-shell{display:block!important}body .promosim-card-grid,body .promosim-featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:650px){body main.wrap:has(.promosim-home-shell){padding-left:12px!important;padding-right:12px!important}body .promosim-card-grid,body .promosim-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}body .promosim-home-card{height:342px!important;min-height:342px!important;max-height:342px!important}body .promosim-home-card-media{height:133px!important;min-height:133px!important;max-height:133px!important;flex-basis:133px!important;padding:10px!important}body .promosim-home-card-body,body .promosim-featured-grid>.promosim-home-card .promosim-home-card-body,body #promosimHomeGrid>.promosim-home-card .promosim-home-card-body{height:207px!important;min-height:207px!important;max-height:207px!important;padding:9px!important}body .promosim-home-card-title{font-size:11px!important;line-height:17px!important;height:35px!important;min-height:35px!important;max-height:35px!important}body .promosim-home-card-price{font-size:18px!important}body .promosim-home-card-store{font-size:10px!important}}

/* Oferta aprovada; os dados de preço, alertas e histórico permanecem dinâmicos. */
body.offer-refresh{background:#f7f7f9!important}
body.offer-refresh main.wrap{max-width:1372px!important;padding:0 26px!important}
body.offer-refresh main.wrap>.box{border:1px solid #e8e3eb!important;border-radius:13px!important;padding:25px!important;box-shadow:none!important}
body.offer-refresh main.wrap>.box .layout{grid-template-columns:minmax(0,1fr) minmax(340px,1fr)!important;gap:24px!important}
body.offer-refresh main.wrap>.box .photo{height:390px!important;min-height:390px!important;padding:28px!important;border:1px solid #f0ecf2!important;border-radius:10px!important}
body.offer-refresh main.wrap>.box .photo img{object-fit:contain!important;border-radius:0!important}
body.offer-refresh main.wrap>.box .side .store{display:flex!important;align-items:center!important;gap:8px!important;margin:3px 0 11px!important;font-size:12px!important;color:#625a66!important}
body.offer-refresh main.wrap>.box .side .store-logo{width:24px!important;height:24px!important;object-fit:contain!important;border-radius:50%!important}
body.offer-refresh main.wrap>.box h1{font-size:clamp(22px,2.1vw,28px)!important;line-height:1.32!important;margin:0 0 17px!important;color:#29212e!important}
body.offer-refresh main.wrap>.box .old{margin:0 0 5px!important;font-size:13px!important}
body.offer-refresh main.wrap>.box .price{font-size:35px!important;color:#7a009d!important}
body.offer-refresh main.wrap>.box .go{width:100%!important;max-width:485px!important;min-height:46px!important;padding:12px 18px!important;font-size:14px!important;border-radius:7px!important}
body.offer-refresh main.wrap>.box .actions{max-width:485px!important}
body.offer-refresh main.wrap>.box .action{padding:11px!important;border-radius:7px!important}
body.offer-refresh main.wrap>.box .info{background:transparent!important;padding:10px 0 0!important;margin-top:8px!important;border-radius:0!important;font-size:12px!important;line-height:1.7!important}
body.offer-refresh main.wrap>.box .info strong{display:block!important;font-size:16px!important;color:#29212e!important;margin-bottom:4px!important}
@media(max-width:850px){body.offer-refresh main.wrap>.box .layout{grid-template-columns:1fr!important}body.offer-refresh main.wrap>.box .photo{height:350px!important;min-height:350px!important}}
@media(max-width:650px){body.offer-refresh main.wrap{padding:0 12px!important}body.offer-refresh main.wrap>.box{padding:15px!important}body.offer-refresh main.wrap>.box .photo{height:290px!important;min-height:290px!important}body.offer-refresh main.wrap>.box .actions{grid-template-columns:1fr 1fr!important}}

/* Medidas conferidas com as capturas aprovadas em 27/09. */
html body main.wrap:has(.promosim-home-shell){width:min(calc(100% - 100px),1450px)!important;max-width:1450px!important;padding:15px 0 48px!important;margin:auto!important}
@media(min-width:901px){html body .promosim-home-shell{grid-template-columns:minmax(0,1fr) 265px!important;gap:15px!important;max-width:none!important;width:100%!important}}
html body .promosim-featured-approved{margin:0 0 25px!important}
html body .promosim-featured-approved>.promosim-featured-title{display:none!important}
html body .promosim-home-card{height:385px!important;min-height:385px!important;max-height:385px!important;border:1px solid #dbb7e8!important;border-radius:15px!important}
html body .promosim-home-card-media{height:210px!important;min-height:210px!important;max-height:210px!important;flex:0 0 210px!important;border:0!important;padding:50px 18px 12px!important}
html body .promosim-home-card-media img{width:100%!important;height:100%!important;object-fit:contain!important}
html body .promosim-home-card-body,html body .promosim-featured-grid>.promosim-home-card .promosim-home-card-body,html body #promosimHomeGrid>.promosim-home-card .promosim-home-card-body{height:175px!important;min-height:175px!important;max-height:175px!important;flex:0 0 175px!important;padding:11px 12px 9px!important;position:static!important}
html body .promosim-home-card-store{position:absolute!important;left:15px!important;top:12px!important;z-index:4!important;max-width:calc(100% - 92px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;margin:0!important;grid-row:auto!important}
html body .promosim-home-card-store img{width:22px!important;height:22px!important;max-width:22px!important;min-width:22px!important}
html body .promosim-home-card-title{height:43px!important;min-height:43px!important;max-height:43px!important;font-size:14px!important;line-height:21px!important;font-weight:400!important;grid-row:auto!important;margin:0!important}
html body .promosim-home-card-old{margin-top:auto!important;font-size:11px!important;grid-row:auto!important}
html body .promosim-home-card-price{font-size:20px!important;color:#201627!important;grid-row:auto!important;margin-bottom:19px!important}
html body .promosim-home-card-fav{top:11px!important;right:11px!important;width:31px!important;height:31px!important;color:#7a009d!important;background:#fff!important;border:1px solid #e6dbea!important}
html body .promosim-home-card-fav.active{color:#fff!important;background:#7a009d!important}
html body .promosim-home-card-share{position:absolute;top:11px;right:48px;width:31px;height:31px;border:1px solid #e6dbea;border-radius:50%;display:grid;place-items:center;background:#fff;color:#008c4a;z-index:5;cursor:pointer}
html body .promosim-home-card-share svg{width:19px;height:19px}
html body .promosim-home-card-discount{top:47px!important;left:13px!important}
html body .promosim-home-card-perks{position:absolute!important;bottom:7px!important;left:12px!important;z-index:3!important;margin:0!important;max-width:calc(100% - 24px)!important}
html body .promosim-home-title-row:not(.promosim-featured-title){display:flex!important;align-items:center!important;justify-content:flex-start!important;margin:0 0 13px!important;border-bottom:1px solid #e8e0ec!important}
html body .promosim-home-title-row:not(.promosim-featured-title)>h2{display:none!important}
html body .promosim-home-sort{width:100%!important;justify-content:flex-start!important;gap:27px!important;overflow-x:auto!important;white-space:nowrap!important}
html body .promosim-home-sort>span{display:none!important}
html body .promosim-home-sort button{font-size:13px!important;font-weight:700!important;padding-bottom:10px!important}
html body .promosim-home-side>.promosim-side-card:first-child{border-radius:17px!important}
@media(min-width:851px){html body .promosim-home-card .promosim-home-card-cta{bottom:47px!important;left:50%!important;min-width:150px!important;height:33px!important;z-index:8!important}}
@media(max-width:900px){html body main.wrap:has(.promosim-home-shell){width:calc(100% - 32px)!important}html body .promosim-home-shell{display:block!important}}
@media(max-width:650px){html body main.wrap:has(.promosim-home-shell){width:calc(100% - 24px)!important}html body .promosim-home-card{height:314px!important;min-height:314px!important;max-height:314px!important}html body .promosim-home-card-media{height:155px!important;min-height:155px!important;max-height:155px!important;flex-basis:155px!important;padding:39px 10px 6px!important}html body .promosim-home-card-body,html body .promosim-featured-grid>.promosim-home-card .promosim-home-card-body,html body #promosimHomeGrid>.promosim-home-card .promosim-home-card-body{height:159px!important;min-height:159px!important;max-height:159px!important;padding:7px 9px!important}html body .promosim-home-card-store{left:9px!important;top:8px!important;font-size:10px!important}html body .promosim-home-card-title{height:36px!important;min-height:36px!important;max-height:36px!important;font-size:11px!important;line-height:18px!important}html body .promosim-home-card-price{font-size:17px!important;margin-bottom:16px!important}html body .promosim-home-card-fav{right:6px!important;top:6px!important;width:26px!important;height:26px!important}html body .promosim-home-card-share{right:36px;top:6px;width:26px;height:26px}html body .promosim-home-card-share svg{width:16px;height:16px}}

/* Imagem e área do produto nas proporções da página aprovada. */
html body.offer-refresh main.wrap{width:min(calc(100% - 140px),1385px)!important;max-width:1385px!important;padding:0!important;margin:auto!important}
html body.offer-refresh main.wrap>.box{padding:23px!important;border-radius:13px!important}
html body.offer-refresh main.wrap>.box .layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px!important}
html body.offer-refresh main.wrap>.box .photo{height:455px!important;min-height:455px!important;max-height:455px!important;padding:30px!important;border-radius:10px!important}
html body.offer-refresh main.wrap>.box .photo img{width:100%!important;height:100%!important;max-width:325px!important;max-height:315px!important;object-fit:contain!important}
html body.offer-refresh main.wrap>.box .side .store{margin:1px 0 13px!important}
html body.offer-refresh main.wrap>.box h1{font-size:25px!important;margin:0 0 22px!important;line-height:1.3!important}
html body.offer-refresh main.wrap>.box .price{font-size:35px!important;color:#18121f!important}
html body.offer-refresh main.wrap>.box .go{max-width:470px!important;margin-top:22px!important;height:50px!important;display:flex!important;justify-content:center!important;align-items:center!important}
html body.offer-refresh main.wrap>.box .actions{max-width:470px!important}
html body.offer-refresh main.wrap>.box .notice{order:1!important;margin-top:13px!important;font-size:12px!important}
html body.offer-refresh main.wrap>.box .info{order:2!important;margin-top:18px!important;padding-top:24px!important;border-top:1px solid #ece8ef!important;line-height:1.5!important}
html body.offer-refresh main.wrap>.box .info strong{margin-bottom:12px!important}
html body.offer-refresh main.wrap>.box .info p{margin:0!important;font-size:13px!important;line-height:1.6!important}
html body.offer-refresh .offer-reactions .quick{display:flex!important;gap:10px!important;margin:0!important}
@media(max-width:900px){html body.offer-refresh main.wrap{width:calc(100% - 32px)!important}html body.offer-refresh main.wrap>.box .layout{grid-template-columns:1fr!important}html body.offer-refresh main.wrap>.box .photo{height:360px!important;min-height:360px!important;max-height:360px!important}}
@media(max-width:650px){html body.offer-refresh main.wrap{width:calc(100% - 24px)!important}html body.offer-refresh main.wrap>.box .photo{height:300px!important;min-height:300px!important;max-height:300px!important}html body.offer-refresh main.wrap>.box .photo img{max-width:200px!important;max-height:235px!important}html body.offer-refresh main.wrap>.box h1{font-size:20px!important}html body.offer-refresh main.wrap>.box .actions{grid-template-columns:1fr 1fr!important}}


/* Card do portal aprovado. Isolado da oferta, cabeçalho, SEO e painel. */
html body .promosim-card-grid>.promosim-card-approved-v3,
html body .promosim-featured-grid>.promosim-card-approved-v3{
  position:relative!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  width:100%!important;height:385px!important;min-height:385px!important;max-height:385px!important;
  overflow:hidden!important;background:#fff!important;border:1px solid #d8b3e3!important;border-radius:15px!important;
  box-shadow:none!important;transform:none!important;
}
html body .promosim-card-approved-v3:hover{border-color:#a76aba!important;box-shadow:0 6px 22px rgba(83,20,102,.10)!important}
html body .promosim-card-approved-v3 .promosim-home-card-discount{display:none!important}
html body .promosim-card-approved-v3 .promosim-home-card-store{
  position:absolute!important;top:7px!important;left:13px!important;right:86px!important;z-index:3!important;
  display:flex!important;align-items:center!important;gap:6px!important;width:auto!important;max-width:none!important;
  height:32px!important;min-height:32px!important;max-height:32px!important;flex:none!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important;
  color:#302535!important;font-size:12px!important;font-weight:400!important;white-space:nowrap!important;overflow:hidden!important;
}
html body .promosim-card-approved-v3 .promosim-home-card-store img{width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;object-fit:contain!important}
html body .promosim-card-approved-v3 .promosim-home-card-media{
  width:100%!important;height:210px!important;min-height:210px!important;max-height:210px!important;flex:0 0 210px!important;
  padding:54px 18px 8px!important;margin:0!important;background:#fff!important;border:0!important;overflow:hidden!important;
}
html body .promosim-card-approved-v3 .promosim-home-card-media img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
html body .promosim-card-approved-v3 .promosim-home-card-body,
html body .promosim-featured-grid>.promosim-card-approved-v3 .promosim-home-card-body,
html body #promosimHomeGrid>.promosim-card-approved-v3 .promosim-home-card-body{
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;position:static!important;
  flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;
  padding:12px 12px 9px!important;grid-template-rows:none!important;overflow:hidden!important;
}
html body .promosim-card-approved-v3 .promosim-home-card-title{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  flex:0 0 42px!important;order:0!important;width:100%!important;height:42px!important;min-height:42px!important;max-height:42px!important;
  padding:0!important;margin:0!important;overflow:hidden!important;text-overflow:ellipsis!important;
  color:#221b27!important;font-size:14px!important;font-weight:400!important;line-height:21px!important;
}
html body .promosim-card-approved-v3 .promosim-home-card-prices{
  display:flex!important;align-items:baseline!important;gap:7px!important;flex:0 0 auto!important;order:2!important;
  width:100%!important;min-height:29px!important;margin-top:auto!important;margin-bottom:0!important;overflow:hidden!important;
}
html body .promosim-card-approved-v3 .promosim-home-card-price{
  display:block!important;order:0!important;flex:0 0 auto!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;
  padding:0!important;margin:0!important;grid-row:auto!important;color:#201627!important;font-size:20px!important;font-weight:800!important;line-height:27px!important;white-space:nowrap!important;
}
html body .promosim-card-approved-v3 .promosim-home-card-old{
  display:block!important;order:1!important;flex:0 1 auto!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;
  padding:0!important;margin:0!important;grid-row:auto!important;color:#998f9c!important;font-size:11px!important;line-height:16px!important;white-space:nowrap!important;text-decoration:line-through!important;
}
html body .promosim-card-approved-v3 .promosim-home-card-perks{display:none!important}
html body .promosim-card-approved-v3 .promosim-home-card-fav{top:10px!important;right:11px!important;z-index:5!important;width:30px!important;height:30px!important;min-width:30px!important;border-radius:50%!important;background:#fff!important;color:#7a009d!important;border:1px solid #e6dbea!important}
html body .promosim-card-approved-v3 .promosim-home-card-fav.active{background:#7a009d!important;color:#fff!important;border-color:#7a009d!important}
html body .promosim-card-approved-v3 .promosim-home-card-share{top:10px!important;right:47px!important;width:30px!important;height:30px!important;border-radius:50%!important}
html body .promosim-card-approved-v3 .promosim-home-card-foot{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex:0 0 46px!important;width:100%!important;height:46px!important;min-height:46px!important;max-height:46px!important;
  padding:7px 12px!important;border-top:1px solid #f0edf2!important;background:#fff!important;
}
html body .promosim-card-votes{display:flex;align-items:center;gap:0;padding:2px 4px;height:31px;border:1px solid #ece5ef;border-radius:30px}
html body .promosim-card-votes [role="button"]{display:grid;place-items:center;width:28px;height:25px;padding:3px;color:#817585;cursor:pointer}
html body .promosim-card-votes [role="button"].active{color:#7a009d}
html body .promosim-home-card-foot svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html body .promosim-card-questions{display:flex;align-items:center;gap:5px;color:#6b5575;font-size:11px;cursor:pointer;white-space:nowrap}
html body .promosim-card-approved-v3 .promosim-home-card-cta{position:absolute!important;bottom:85px!important;left:50%!important;transform:translate(-50%,8px)!important;z-index:8!important;width:calc(100% - 24px)!important;max-width:none!important;height:33px!important;min-width:0!important;border-radius:8px!important;font-size:11px!important;letter-spacing:.01em!important}
@media(hover:hover) and (min-width:851px){html body .promosim-card-approved-v3:hover .promosim-home-card-cta,html body .promosim-card-approved-v3:focus-within .promosim-home-card-cta{transform:translate(-50%,0)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}}
@media(max-width:650px){html body .promosim-card-grid>.promosim-card-approved-v3,html body .promosim-featured-grid>.promosim-card-approved-v3{height:315px!important;min-height:315px!important;max-height:315px!important}html body .promosim-card-approved-v3 .promosim-home-card-media{height:147px!important;min-height:147px!important;max-height:147px!important;flex-basis:147px!important;padding:36px 10px 5px!important}html body .promosim-card-approved-v3 .promosim-home-card-body,html body .promosim-featured-grid>.promosim-card-approved-v3 .promosim-home-card-body,html body #promosimHomeGrid>.promosim-card-approved-v3 .promosim-home-card-body{padding:7px 9px 5px!important}html body .promosim-card-approved-v3 .promosim-home-card-title{font-size:11px!important;line-height:17px!important;flex-basis:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important}html body .promosim-card-approved-v3 .promosim-home-card-price{font-size:16px!important}html body .promosim-card-approved-v3 .promosim-home-card-old{font-size:9px!important}html body .promosim-card-approved-v3 .promosim-home-card-foot{height:40px!important;min-height:40px!important;max-height:40px!important;flex-basis:40px!important;padding:5px 8px!important}html body .promosim-card-approved-v3 .promosim-home-card-store{left:8px!important;right:64px!important;font-size:10px!important}html body .promosim-card-approved-v3 .promosim-home-card-cta{display:none!important}html body .promosim-card-votes [role="button"]{width:22px!important}}

/* Proporções medidas nas duas capturas: 1.385px de conteúdo, 265px na lateral. */
@media(min-width:901px){
  html body main.wrap:has(.promosim-home-shell){
    width:min(calc(100% - 110px),1385px)!important;
    max-width:1385px!important;
    margin:0 auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  html body .promosim-home-shell{
    width:100%!important;
    grid-template-columns:minmax(0,1fr) 265px!important;
    gap:16px!important;
  }
  html body .promosim-featured-grid,
  html body #promosimHomeGrid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:16px!important;
  }
  html body .promosim-home-side{width:265px!important;min-width:265px!important;max-width:265px!important}
}
/* Cada banner usa a largura integral da lateral e a mesma altura da referência. */
html body .promosim-home-side>.promosim-side-ads-v21{width:100%!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:16px!important}
html body .promosim-home-side>.promosim-side-ads-v21>.promosim-side-ad-v21{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  height:495px!important;
  min-height:495px!important;
  max-height:495px!important;
  aspect-ratio:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:14px!important;
}
html body .promosim-home-side>.promosim-side-ads-v21>.promosim-side-ad-v21>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  max-height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
@media(max-width:900px){
  html body .promosim-home-side>.promosim-side-ads-v21>.promosim-side-ad-v21{
    height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:300/410!important;
  }
}

/* Distância entre cabeçalho e primeira linha igual à referência. */
@media(min-width:901px){
  html body .promosim-home-shell{margin-top:4px!important}
}
/* A barra vertical nativa aparecia à direita do menu de ordenação. */
html body .promosim-home-sort{scrollbar-width:none!important;overflow-y:hidden!important}
html body .promosim-home-sort::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}

/* Home: proporções dos cards e categorias da lateral. */
@media(min-width:901px){
  html body .promosim-home-shell{max-width:1353px!important;margin-left:auto!important;margin-right:auto!important}
}
html body .promosim-card-grid>.promosim-card-approved-v3,
html body .promosim-featured-grid>.promosim-card-approved-v3{
  height:405px!important;min-height:405px!important;max-height:405px!important;
}
html body .promosim-card-approved-v3 .promosim-home-card-media{
  height:230px!important;min-height:230px!important;max-height:230px!important;
  flex-basis:230px!important;padding-top:39px!important;
}
html body .promosim-home-side>.promosim-side-categories{
  display:block!important;box-sizing:border-box!important;width:100%!important;
  padding:16px 18px!important;border:1px solid #e8dfe9!important;border-radius:10px!important;background:#fff!important;
}
html body .promosim-home-side>.promosim-side-categories .promosim-side-head{margin:0 0 8px!important;padding:0!important;border:0!important}
html body .promosim-home-side>.promosim-side-categories .promosim-side-head h3{margin:0!important;font-size:16px!important;font-weight:700!important;color:#18111e!important}
html body .promosim-side-category-links{display:flex!important;flex-direction:column!important}
html body .promosim-side-category-links a{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:39px!important;border-bottom:1px solid #eee8ef!important;color:#211529!important;text-decoration:none!important;font-size:13px!important}
html body .promosim-side-category-links a:last-child{border-bottom:0!important}
html body .promosim-side-category-links a span{color:#7a009d!important;font-size:20px!important;line-height:1!important}
/* Mais altura útil e respiro entre a loja e a fotografia no desktop. */
@media(min-width:651px){
  html body .promosim-card-grid>.promosim-card-approved-v3,
  html body .promosim-featured-grid>.promosim-card-approved-v3{height:425px!important;min-height:425px!important;max-height:425px!important}
  html body .promosim-card-approved-v3 .promosim-home-card-media{
    height:215px!important;min-height:215px!important;max-height:215px!important;
    flex-basis:215px!important;padding-top:54px!important;
  }
}
@media(max-width:650px){
  html body .promosim-card-grid>.promosim-card-approved-v3,
  html body .promosim-featured-grid>.promosim-card-approved-v3{height:315px!important;min-height:315px!important;max-height:315px!important}
  html body .promosim-card-approved-v3 .promosim-home-card-media{height:147px!important;min-height:147px!important;max-height:147px!important;flex-basis:147px!important;padding-top:30px!important}
}

/* Centraliza apenas a imagem e o título do produto nos cards da Home. */
html body .promosim-card-approved-v3 .promosim-home-card-media{display:flex!important;align-items:center!important;justify-content:center!important}
html body .promosim-card-approved-v3 .promosim-home-card-media img{display:block!important;margin-left:auto!important;margin-right:auto!important;object-position:center!important}
html body .promosim-card-approved-v3 .promosim-home-card-title{text-align:center!important}
/* Desloca apenas a imagem e o título; as medidas e a linha do preço permanecem. */
@media(min-width:651px){
  html body .promosim-card-approved-v3 .promosim-home-card-media img{transform:translateY(16px)!important}
  html body .promosim-card-approved-v3 .promosim-home-card-title{transform:translateY(16px)!important}
}
@media(max-width:650px){
  html body .promosim-card-approved-v3 .promosim-home-card-media img{transform:translateY(8px)!important}
  html body .promosim-card-approved-v3 .promosim-home-card-title{transform:translateY(8px)!important}
}
@media(min-width:851px){
  html body .promosim-card-approved-v3 .promosim-home-card-cta{
    width:min(78%,190px)!important;max-width:190px!important;min-width:0!important;
  }
}
