/* Runtime corrections kept separate from PrestaShop's long-lived aggregate cache. */

/* Ação de entrar com a mesma escala em cápsula dos botões da newsletter. */
.imuud-account-form .btn.btn-primary{min-height:3.4rem!important;padding-inline:1.55rem!important;border-radius:999px!important;box-shadow:0 .55rem 1.25rem rgb(212 44 108 / 18%)!important}
.imuud-account-form .btn.btn-primary:hover,.imuud-account-form .btn.btn-primary:focus{background-position:100% 50%!important;box-shadow:0 .55rem 1.25rem rgb(212 44 108 / 18%)!important}

/* O acesso ao carrinho mantém sempre contraste máximo sobre o botão primário. */
.imuud-mini-cart__checkout,.imuud-mini-cart__checkout:hover,.imuud-mini-cart__checkout:focus{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Crédito no rodapé: contraste e sublinhado tornam o link distinguível. */
.imuud-footer-copyright{color:#3f383c!important}
.imuud-footer-copyright a{color:#8c1746!important;font-weight:700!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:2px!important}
.imuud-footer-copyright a:hover,.imuud-footer-copyright a:focus{color:#5e0e2d!important}

/* A linha do scroll fica centrada no círculo do WhatsApp. */
.imuud-scroll-progress{right:-.275rem!important}
@media(max-width:575.98px){.imuud-scroll-progress{right:-.65rem!important}}

/* Idioma ativo: sem moldura, apenas sublinhado inferior. */
.header-top .imuud-language-flag,.header-top .imuud-language-flag:hover,.header-top .imuud-language-flag:focus-visible{border-color:transparent!important;box-shadow:none!important}
.header-top .imuud-language-flag.is-current{border:0!important;border-bottom:2px solid #fff!important;border-radius:0!important;box-shadow:none!important;outline:0!important;background:transparent!important}

/* Áreas de toque: mantêm o desenho compacto, mas são confortáveis em ecrãs tácteis. */
.header-top .imuud-language-flag{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:2.75rem!important;padding-block:.35rem!important;padding-inline:.4rem!important}
.header-top #_desktop_ps_languageselector .imuud-language-flag,.header-top #_mobile_ps_languageselector .imuud-language-flag{box-sizing:border-box!important;min-width:1.5rem!important;min-height:2.75rem!important;padding:0!important}
.product-miniature__quickview-button,#index .product-miniature__quickview-button,.page-category .product-miniature__quickview-button,.product-miniature__top .product-miniature__quickview-button,.product-miniature__infos .product-miniature__quickview-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:2.75rem!important;min-width:2.75rem!important;height:2.75rem!important;min-height:2.75rem!important;margin:0 0 .5rem!important;padding:0!important;line-height:1!important}
.product-miniature__infos .product-miniature__quickview-button span{display:none!important}
.product-miniature__infos .product-miniature__quickview-button .material-icons{margin:0!important;font-size:1.4rem!important}
.product-miniature__title{display:inline-flex!important;align-items:center!important;min-height:2.75rem!important;padding-block:.25rem!important}
.product-miniature__image-link{display:block!important;min-width:2.75rem!important;min-height:2.75rem!important}
.imuud-category-directory__list a{display:flex!important;align-items:center!important;min-height:2.25rem!important;padding-block:.25rem!important}

/* Cartões: quantidade equilibrada e imagem sem margens interiores. */
.product-miniature .quantity-button__group{display:flex!important;align-items:center!important;justify-content:center!important;gap:.15rem!important}
.product-miniature .quantity-button__group .btn,.product-miniature .js-increment-button,.product-miniature .js-decrement-button{display:inline-flex!important;width:2.75rem!important;min-width:2.75rem!important;height:2.75rem!important;min-height:2.75rem!important;padding:0!important;align-items:center!important;justify-content:center!important}
.product-miniature .quantity-button__group .btn .material-icons{margin:0!important;font-size:1.25rem!important;line-height:1!important}
.product-miniature .quantity-button__group .form-control,.product-miniature input[name="qty"]{width:2.75rem!important;min-width:2.75rem!important;height:2.75rem!important;min-height:2.75rem!important;padding:0!important;line-height:1!important;text-align:center!important}
.product-miniature__top{padding:0!important;overflow:hidden!important}
.product-miniature__image{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}

/* Quick View: o backdrop global usa z-index 1080; o modal fica sempre acima. */
.quickview.modal{z-index:1095!important}
.quickview.modal.show{display:block!important;visibility:visible!important;opacity:1!important}
.quickview.modal .modal-dialog{position:relative!important;z-index:1!important}
.quickview.modal .modal-content{visibility:visible!important;opacity:1!important}

/* Homepage: a grelha distribui os cartões por toda a largura disponível. */
#index .featured-products .products,#index .new-products .products,#index .best-sellers .products,#index .ps-featuredproducts .products,#index .ps-newproducts .products,#index .ps-bestsellers .products{display:grid!important;width:100%!important;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:var(--imuud-grid-gap,24px)!important}
#index .featured-products .products>*,#index .new-products .products>*,#index .best-sellers .products>*,#index .ps-featuredproducts .products>*,#index .ps-newproducts .products>*,#index .ps-bestsellers .products>*{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;flex:none!important}
@media(max-width:1199.98px){#index .featured-products .products,#index .new-products .products,#index .best-sellers .products,#index .ps-featuredproducts .products,#index .ps-newproducts .products,#index .ps-bestsellers .products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:767.98px){#index .featured-products .products,#index .new-products .products,#index .best-sellers .products,#index .ps-featuredproducts .products,#index .ps-newproducts .products,#index .ps-bestsellers .products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:575.98px){#index .featured-products .products,#index .new-products .products,#index .best-sellers .products,#index .ps-featuredproducts .products,#index .ps-newproducts .products,#index .ps-bestsellers .products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.8rem!important}}

/* Últimas novidades: fundo total; conteúdo alinhado com as margens das categorias. */
#index .page-content--home>.ps-newproducts{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding:clamp(3.5rem,6vw,5.5rem) max(1.25rem,calc((100vw - 82.5rem)/2))!important;background:#faf6f8!important}
#index .page-content--home>.ps-newproducts>h2{max-width:82.5rem!important;margin-left:auto!important;margin-right:auto!important}

/* Bloco realmente apresentado: mesma borda e mesma largura das categorias. */
#index .page-content--home>.imuud-home-products--latest{box-sizing:border-box!important;width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding-left:max(1rem,calc((100vw - 82.5rem)/2))!important;padding-right:max(1rem,calc((100vw - 82.5rem)/2))!important;background:#faf6f8!important}
#index .imuud-home-products--latest .imuud-home-products__grid{width:100%!important}

/* Todas as secções de produto seguem a mesma grelha das categorias. */
#index .page-content--home>.imuud-home-products{box-sizing:border-box!important;width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding-left:max(1rem,calc((100vw - 82.5rem)/2))!important;padding-right:max(1rem,calc((100vw - 82.5rem)/2))!important}
#index .imuud-home-products .imuud-home-products__grid{width:100%!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:1199.98px){#index .imuud-home-products .imuud-home-products__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:767.98px){#index .imuud-home-products .imuud-home-products__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* As três montras de produtos partilham a mesma cadência vertical. */
#index .imuud-home-products--featured,#index .imuud-home-products--latest,#index .imuud-home-products--luxury{padding-top:clamp(4.5rem,8vw,7rem)!important}
#index .imuud-home-products--featured,#index .imuud-home-products--latest{padding-bottom:clamp(4.5rem,8vw,7rem)!important}
#index .imuud-home-products--luxury{padding-bottom:0!important}
/* Cada montra mede a altura real dos cartões: evita fundos cortados entre secções. */
#index .imuud-home-products{content-visibility:visible!important;contain-intrinsic-size:auto!important}
/* O respiro é dado pelo padding interno de cada secção, nunca por faixas brancas externas. */
#index .page-content--home{gap:0!important}
#index .page-content--home>*+*{margin-top:0!important}


/* Categorias: leitura ligeiramente maior em toda a loja. */
.imuud-home-category strong{font-size:1.15rem!important}
.imuud-home-category>span:last-child{font-size:.95rem!important}
.page-category .subcategory__link,.page-category .subcategory__link--with-image{font-size:.95rem!important}
.imuud-category-directory__group>.depth-0{font-size:1rem!important}
.imuud-category-directory__group>.depth-1{font-size:.9rem!important}
.imuud-category-directory__group>.depth-2{font-size:.86rem!important}
.imuud-category-directory__group>.depth-3{font-size:.82rem!important}
.imuud-category-directory__group>.depth-4,.imuud-category-directory__group>.depth-5{font-size:.8rem!important}

/* Quick View: texto visível, com a mesma linguagem das traduções do topo. */
.product-miniature__infos .product-miniature__quickview-button{width:auto!important;min-width:0!important;height:auto!important;min-height:2.25rem!important;margin:0 0 .45rem!important;padding:.2rem 0!important;gap:.35rem!important;font-size:.8rem!important;line-height:1.2!important}
.product-miniature__infos .product-miniature__quickview-button span{display:inline!important}
.product-miniature__infos .product-miniature__quickview-button .material-icons{font-size:1.05rem!important}

#index .imuud-account-shipping{margin:-3rem auto 2.1rem!important}
.imuud-home-hero__caption{bottom:55px!important}
@media(max-width:575.98px){#index .imuud-account-shipping{margin:-2.4rem auto 1.7rem!important}}
@media(min-width:1200px){
  .header-top #_desktop_ps_customersignin .imuud-account-menu>summary,
  .header-top .imuud-header-favorites,
  .header-top #_desktop_ps_shoppingcart .header-block__action-btn{top:.25rem!important}
}

/* Smartphone: oito destinos ficam numa única linha sem reduzir desktop/tablet. */
@media(max-width:575.98px){
  #index .imuud-account-shipping{padding-inline:.45rem!important}
  #index .imuud-account-shipping__flags{flex-wrap:nowrap!important;gap:.35rem!important}
  #index .imuud-country-flag{width:27px!important;height:27px!important;flex:0 0 27px!important}
  #index .imuud-country-flag img{width:27px!important;height:27px!important}

  /* No rodapé, cada categoria tem uma zona de toque inequívoca sem alterar links. */
  .imuud-category-directory__list a{min-height:2.75rem!important}

  /* O formulário de pesquisa contrai antes do logótipo e nunca o cobre. */
  .header-bottom__row{gap:.25rem!important}
  .header-bottom__logo{min-width:0!important;flex:1 1 auto!important}
  .header-bottom__logo img,.header-bottom__logo .logo{max-width:min(var(--imuud-responsive-logo-width),40vw)!important}
  .imuud-header-actions{min-width:0!important;flex:0 1 auto!important}
  .imuud-header-search{width:clamp(7rem,34vw,9rem)!important;min-width:0!important;max-width:34vw!important;margin-right:.2rem!important;flex:0 1 34vw!important}
  .imuud-header-search__input{min-width:0!important;font-size:.9rem!important}
  .header-bottom .ps-mainmenu--desktop{width:2.7rem!important;min-width:2.7rem!important;flex-basis:2.7rem!important}
  .header-bottom .ps-mainmenu__mobile-toggle,.header-bottom .menu-toggle{width:2.7rem!important;height:2.7rem!important;min-width:2.7rem!important;min-height:2.7rem!important}
}
