/*
Theme Name: Balena Pink New
Description: Sistema grafico Balena Pink per il tema Hostinger AI esistente.
Author: Balena Pink
Template: hostinger-ai-theme
Version: 2026.10.19.59
Text Domain: balena-pink-new
*/

:root{
  --bp-navy:#101638;
  --bp-deep:#090e27;
  --bp-blue:#1c2860;
  --bp-paper:#f7f0e5;
  --bp-ivory:#fffaf5;
  --bp-gold:#c9ad76;
  --bp-pink:#e53986;
  --bp-copy:#c7c9d6;
  --bp-line:rgba(201,173,118,.38);
  --bp-page:1220px;
  --bp-shadow:0 24px 60px rgba(4,6,22,.28);
}

html{scroll-behavior:smooth}
html body:not(#wpadminbar),
html body:not(#wpadminbar).wp-singular,
html body:not(#wpadminbar).page,
html body:not(#wpadminbar).home,
html body:not(#wpadminbar).blog,
html body:not(#wpadminbar).archive,
html body:not(#wpadminbar).woocommerce-page{
  margin:0;
  overflow-x:hidden;
  color:var(--bp-ivory)!important;
  background:var(--bp-navy)!important;
  font-family:"Manrope",Arial,sans-serif!important;
  font-size:16px;
  line-height:1.72;
}
*,*::before,*::after{box-sizing:border-box}
img,video{display:block;max-width:100%;height:auto}
a{color:inherit}

body :is(.hostinger-ai-fade-up,.hostinger-elementor-aos){opacity:1!important;visibility:visible!important}
body :is(.wp-site-blocks,.entry-content,.elementor,.elementor-section-wrap){background-color:transparent!important;background-image:none!important}

body header.wp-block-template-part,
body header.site-header{
  position:relative;
  z-index:30;
  color:var(--bp-ivory);
  background:rgba(9,14,39,.96)!important;
  border-bottom:1px solid var(--bp-line)!important;
  box-shadow:0 10px 32px rgba(3,5,18,.22);
}
body header :is(.wp-block-navigation-item__content,a){
  color:var(--bp-ivory);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.055em;
  text-decoration:none;
  text-transform:uppercase;
}
body header :is(.current-menu-item,.current_page_item)>a,
body header a:hover{color:var(--bp-gold)}
body header .wp-block-site-logo img{max-height:76px;width:auto}

body main :is(h1,h2,h3,h4){
  color:var(--bp-ivory)!important;
  font-family:"Syne","Manrope",Arial,sans-serif!important;
  letter-spacing:-.045em;
  overflow-wrap:normal;
  word-break:normal;
  text-wrap:balance;
}
body main h1{
  max-width:15ch;
  margin:24px 0 30px;
  font-size:clamp(2.65rem,4.35vw,4.8rem);
  line-height:1.02;
}
body main h2{
  margin:18px 0 24px;
  font-size:clamp(2rem,3.15vw,3.35rem);
  line-height:1.08;
}
body main h3{font-size:clamp(1.3rem,1.8vw,1.75rem);line-height:1.18}
body main :is(p,li,dd,dt){color:var(--bp-copy)}
body main strong{color:var(--bp-ivory)}
body main a:not(.wp-element-button):not(.wp-block-button__link):not(.button):not(.btn){
  color:var(--bp-gold)!important;
  text-underline-offset:4px;
}

body main :is(.entry-content>.wp-block-group,.entry-content>.wp-block-columns,.entry-content>.wp-block-cover),
body main>.wp-block-group,
body main>.wp-block-columns{
  width:min(calc(100% - 72px),var(--bp-page));
  margin-inline:auto;
}
body main .alignwide{max-width:var(--bp-page)}
body main .alignfull{width:100%;max-width:none}
body main .wp-block-group{padding-block:clamp(42px,6vw,92px)}
body main .wp-block-columns{gap:clamp(30px,6vw,90px);align-items:center}

body main figure.wp-block-image,
body.single-product .woocommerce-product-gallery__image{
  overflow:hidden;
  padding:7px;
  border:1px solid var(--bp-line);
  border-radius:0;
  background:#151c40;
  box-shadow:var(--bp-shadow);
}
body main figure.wp-block-image img,
body.single-product .woocommerce-product-gallery__image img{width:100%;border-radius:0}
body main figcaption{color:#aeb1c2;font-size:.78rem;line-height:1.5}

/* Contenuti editoriali importati: immagini, gallerie e testi restano proporzionati. */
body main .entry-content>figure.wp-block-image:not(.is-resized){width:min(100%,760px);margin-inline:auto}
body main .entry-content>figure.wp-block-image img{width:auto!important;height:auto!important;max-width:100%;max-height:540px;margin-inline:auto;object-fit:contain}
body main .entry-content .wp-block-columns figure.wp-block-image{width:100%;margin:0}
body main .entry-content .wp-block-columns figure.wp-block-image img{width:100%!important;max-height:560px;object-fit:cover}
body main .entry-content .wp-block-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body main .entry-content .wp-block-gallery>figure.wp-block-image{width:100%!important;max-width:none!important;margin:0!important;padding:10px}
body main .entry-content .wp-block-gallery>figure.wp-block-image img{width:100%!important;height:min(31vw,360px)!important;max-height:360px!important;margin:0!important;object-fit:contain!important;background:var(--bp-paper)}
body main .entry-content .wp-block-post-template{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:0;list-style:none}
body main .entry-content .wp-block-post{min-width:0;padding:14px;border:1px solid var(--bp-line);background:#151c40}
body main .entry-content .wp-block-post-featured-image img{width:100%!important;aspect-ratio:4/3;object-fit:cover}
body main .entry-content .wp-block-post-title{font-size:clamp(1.15rem,1.65vw,1.45rem)!important;line-height:1.25}
/* Blog cards: keep the picture inside the same inset as the copy. */
html body.wp-child-theme-balena-pink-child main .bp-editorial[data-page="blog"] .wp-block-post{padding:24px!important}
html body.wp-child-theme-balena-pink-child main .bp-editorial[data-page="blog"] .wp-block-post-featured-image{margin:0 0 24px!important;padding:0!important;max-width:100%!important}
@media(max-width:760px){
  html body.wp-child-theme-balena-pink-child main .bp-editorial[data-page="blog"] .wp-block-post{padding:18px!important}
}
body main .entry-content .hostinger-ai-solid-block{padding:52px clamp(22px,5vw,64px)!important;background-color:var(--bp-deep)!important;background-blend-mode:multiply;box-shadow:inset 0 0 0 100vmax rgba(9,14,39,.82);clip-path:inset(0)}
body main .entry-content .hostinger-ai-solid-block>div{max-width:900px;margin-inline:auto;text-align:center}
body main .entry-content .hostinger-ai-solid-block figure{width:min(100%,389px);margin-inline:auto}
body main .entry-content .hostinger-ai-solid-block figure img{width:auto!important;height:auto!important;max-width:100%;max-height:320px!important;margin-inline:auto;object-fit:contain}

html body:not(#wpadminbar) main :is(.wp-element-button,.wp-block-button__link,.button,button,input[type="submit"],.wc-block-components-button),
html body:not(#wpadminbar) main#wp--skip-link--target :is(.wp-element-button,.wp-block-button__link,.button,button,input[type="submit"],.wc-block-components-button),
html body:not(#wpadminbar) .wp-site-blocks>main :is(.wp-element-button,.wp-block-button__link,.button,button,input[type="submit"],.wc-block-components-button){
  min-height:49px;
  padding:12px 21px;
  border:1px solid var(--bp-gold)!important;
  border-radius:0!important;
  color:var(--bp-deep)!important;
  background:var(--bp-gold)!important;
  box-shadow:none!important;
  font-family:"Manrope",Arial,sans-serif!important;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
  transition:transform .18s,background .18s,border-color .18s;
}
html body:not(#wpadminbar) main :is(.wp-element-button,.wp-block-button__link,.button,button,input[type="submit"],.wc-block-components-button) *,
html body:not(#wpadminbar) main#wp--skip-link--target :is(.wp-element-button,.wp-block-button__link,.button,button,input[type="submit"],.wc-block-components-button) *,
html body:not(#wpadminbar) .wp-site-blocks>main :is(.wp-element-button,.wp-block-button__link,.button,button,input[type="submit"],.wc-block-components-button) *{
  font-family:"Manrope",Arial,sans-serif!important;
}
html body:not(#wpadminbar) main :is(.wp-element-button,.wp-block-button__link,.button,button,input[type="submit"],.wc-block-components-button):hover{
  transform:translateY(-2px);
  color:var(--bp-deep)!important;
  background:var(--bp-ivory)!important;
  border-color:var(--bp-ivory)!important;
}

/* Text fields only: native checkbox/radio controls and hidden gateway fields
   must keep their WooCommerce dimensions and behaviour. */
body main :is(input[type="text"],input[type="email"],input[type="tel"],input[type="number"],input[type="password"],input[type="search"],input[type="url"],input[type="date"],input:not([type]),select,textarea),
body .woocommerce :is(input[type="text"],input[type="email"],input[type="tel"],input[type="number"],input[type="password"],input[type="search"],input[type="url"],input[type="date"],input:not([type]),select,textarea){
  min-height:48px;
  padding:12px 14px;
  border:1px solid var(--bp-line);
  border-radius:0;
  color:var(--bp-ivory);
  background:var(--bp-deep);
  font:inherit;
}
body main textarea{min-height:140px}
body :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--bp-gold);outline-offset:3px}
/* Override legacy WPCode typography only inside the new customer-facing shell.
   Do not target every span: WooCommerce and WordPress keep their icon fonts. */
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) :is(main,.bp-header-inner,.bp-footer,.cmplz-cookiebanner) :is(p,li,a,label,input,select,textarea,button,nav,table,summary,figcaption,dd,dt,.price,.woocommerce-Price-amount,.wc-block-components-product-name,.woocommerce-breadcrumb,.woocommerce-tabs),
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) .cmplz-document :is(p,li,a,span,strong){font-family:Manrope,Arial,sans-serif!important}

/* Replace the legacy pseudo-title with the actual accessible heading. */
html body.wp-child-theme-balena-pink-child.page-id-802:not(#wpadminbar) main .bp-editorial .source-content h1{font-size:clamp(2.35rem,4.35vw,4.8rem)!important;line-height:1.02!important}
html body.wp-child-theme-balena-pink-child.page-id-802:not(#wpadminbar) main .bp-editorial .source-content h1::before,
html body.wp-child-theme-balena-pink-child.page-id-802:not(#wpadminbar) main .bp-editorial .source-content h1::after{content:none!important;display:none!important}
html body.wp-child-theme-balena-pink-child.page-id-802:not(#wpadminbar) main .bp-editorial .source-content h1 strong{display:inline!important}

/* Native post template: keep the complete article inside the same visual and
   accessibility scope as editorial pages, without copying or rewriting posts. */
html body.wp-child-theme-balena-pink-child main.bp-article-page{padding:clamp(40px,6vw,80px) 0!important}
html body.wp-child-theme-balena-pink-child main.bp-article-page>.bp-article{width:min(calc(100% - 72px),900px);margin-inline:auto;padding:0!important}
html body.wp-child-theme-balena-pink-child .bp-article>.wp-block-post-title{max-width:none;margin:0 0 38px!important;padding:0!important;color:var(--bp-ivory)!important;font-size:clamp(2.35rem,4.35vw,4.8rem)!important;line-height:1.08!important;text-align:left!important}
html body.wp-child-theme-balena-pink-child .bp-article .wp-block-post-content{max-width:none!important;margin:0!important;padding:0!important}
html body.wp-child-theme-balena-pink-child .bp-article :is(p,li){font-size:1rem!important;line-height:1.8!important}
html body.wp-child-theme-balena-pink-child .bp-article :is(h2,h3){margin-top:2.1em!important}
html body.wp-child-theme-balena-pink-child .bp-article figure{margin-block:32px}
html body.wp-child-theme-balena-pink-child .bp-article-date{margin-top:42px;color:var(--bp-gold);font-size:.85rem}
@media(max-width:600px){html body.wp-child-theme-balena-pink-child main.bp-article-page>.bp-article{width:calc(100% - 36px)}}

/* Native cart: avoid legacy half-width coupon controls and inherited grey
   rows. This changes presentation only; quantities and discounts stay native. */
html body.wp-child-theme-balena-pink-child.woocommerce-cart main table.shop_table{background:var(--bp-paper)!important;overflow:visible!important;border-color:var(--bp-line)!important}
html body.wp-child-theme-balena-pink-child.woocommerce-cart main table.shop_table :is(tr,td,th){background:transparent!important;color:var(--bp-deep)!important;text-shadow:none!important}
html body.wp-child-theme-balena-pink-child.woocommerce-cart main table.shop_table td::before{color:var(--bp-deep)!important}
html body.wp-child-theme-balena-pink-child.woocommerce-cart main .coupon{display:grid!important;grid-template-columns:minmax(180px,1fr) auto;align-items:stretch;gap:12px;float:none!important;max-width:100%}
html body.wp-child-theme-balena-pink-child.woocommerce-cart main .coupon :is(input,button){width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;float:none!important;font-size:16px!important;line-height:1.35!important}
html body.wp-child-theme-balena-pink-child.woocommerce-cart main .coupon input{background:var(--bp-ivory)!important;color:var(--bp-deep)!important}
html body.wp-child-theme-balena-pink-child.woocommerce-cart main .coupon button{padding:14px 18px!important;white-space:normal!important;overflow:visible!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none;text-shadow:none!important;background:var(--bp-gold)!important;color:var(--bp-deep)!important}
@media(max-width:760px){
  html body.wp-child-theme-balena-pink-child:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .wp-site-blocks>main{width:100%!important;max-width:100%!important;padding:28px 18px 50px!important}
  html body.wp-child-theme-balena-pink-child:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) main>.wp-block-post-content,
  html body.wp-child-theme-balena-pink-child:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) main .woocommerce.wp-block-group{width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}
  html body.wp-child-theme-balena-pink-child.woocommerce-cart main .coupon{grid-template-columns:minmax(0,1fr);width:100%!important}
  html body.wp-child-theme-balena-pink-child.woocommerce-cart main table.shop_table td.actions{padding:16px!important}
  html body.wp-child-theme-balena-pink-child.woocommerce-cart main button[name="update_cart"]{width:100%!important;margin-top:12px!important;padding:14px!important;white-space:normal!important;overflow:visible!important;text-shadow:none!important}
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) :is(main,.bp-header-inner,.bp-footer) :is(h1,h2,h3,h4,h5,h6,.wp-block-post-title,.woocommerce-loop-product__title,.product_title),
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) :is(main,.bp-header-inner,.bp-footer) :is(h1,h2,h3,h4,h5,h6,.wp-block-post-title,.woocommerce-loop-product__title,.product_title) :is(a,strong,em,span){font-family:Syne,Manrope,sans-serif!important;font-weight:700!important;text-shadow:none!important}
html body.wp-child-theme-balena-pink-child:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) main :is(button,.button){text-shadow:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}
html body.wp-child-theme-balena-pink-child.woocommerce-cart main .woocommerce-shipping-destination{color:#4f5260!important;text-shadow:none!important}
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .woocommerce-billing-fields label{display:block!important;width:auto!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;color:#4f5260!important}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main :is(h1,h2,h3,h4),
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main :is(h1,h2,h3,h4) :is(strong,em,span){font-family:Syne,Manrope,sans-serif!important}

body.woocommerce-shop main,
body.single-product main,
body.woocommerce-cart main,
body.woocommerce-checkout main,
body.woocommerce-account main{background:var(--bp-paper)!important;color:var(--bp-deep)!important}
html body.wp-child-theme-balena-pink-child:is(.woocommerce-shop,.single-product,.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .wp-site-blocks>main{
  margin-top:0!important;
  padding-block:32px 64px!important;
}
html body.wp-child-theme-balena-pink-child:is(.woocommerce-shop,.single-product,.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) main .wp-block-group:not(main){padding-block:0!important}
html body.wp-child-theme-balena-pink-child.woocommerce-shop main .wp-block-group.alignwide{margin-top:24px!important}
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .wp-block-post-content{margin-top:16px!important}
html body:is(.woocommerce-shop,.single-product,.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) main :is(h1,h2,h3,h4){color:var(--bp-deep)!important;-webkit-text-fill-color:var(--bp-deep)!important;background:none!important;filter:none!important}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar):is(.woocommerce-shop,.single-product,.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) main :is(h1,h2,h3,h4),
html body.wp-child-theme-balena-pink-child:not(#wpadminbar):is(.woocommerce-shop,.single-product,.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) main :is(h1,h2,h3,h4) :is(strong,span){
  color:var(--bp-deep)!important;
  -webkit-text-fill-color:var(--bp-deep)!important;
}
html body:is(.woocommerce-shop,.single-product,.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) main :is(p,li,dd,dt){color:#4f5260!important}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar):is(.woocommerce-shop,.single-product,.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) main :is(p,li,dd,dt,table,label) :is(strong,b,em){color:inherit!important}
html body:is(.woocommerce-shop,.single-product,.woocommerce-cart,.woocommerce-checkout,.woocommerce-account):not(#wpadminbar) main#wp--skip-link--target,
html body:is(.woocommerce-shop,.single-product,.woocommerce-cart,.woocommerce-checkout,.woocommerce-account):not(#wpadminbar) main#wp--skip-link--target :is(p,li,dd,dt,label,input,select,textarea,table),
html body:is(.woocommerce-shop,.single-product,.woocommerce-cart,.woocommerce-checkout,.woocommerce-account):not(#wpadminbar) .wp-site-blocks>main,
html body:is(.woocommerce-shop,.single-product,.woocommerce-cart,.woocommerce-checkout,.woocommerce-account):not(#wpadminbar) .wp-site-blocks>main :is(p,li,dd,dt,label,input,select,textarea,table){
  font-family:"Manrope",Arial,sans-serif!important;
}

body .woocommerce ul.products,
body .wc-block-product-template,
body .wc-block-grid__products{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
body .woocommerce ul.products::before,
body .woocommerce ul.products::after{display:none}
body .woocommerce ul.products li.product,
body .wc-block-product,
body .wc-block-grid__product{
  width:auto!important;
  margin:0!important;
  padding:20px!important;
  border:1px solid #c4b28e;
  color:var(--bp-deep);
  background:#fffaf4!important;
}
body .woocommerce ul.products li.product img,
body .wc-block-components-product-image img,
body .wc-block-grid__product-image img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f4ede2}
/* Product pictures share a light champagne frame, without changing files. */
html body.wp-child-theme-balena-pink-child.woocommerce-shop main :is(.wc-block-components-product-image,.wc-block-grid__product-image,li.product) img{
  box-sizing:border-box;border:1px solid #c4b28e!important;padding:8px!important;border-radius:0!important;background:#f4ede2!important;object-fit:contain!important;
}
html body.wp-child-theme-balena-pink-child:is(.woocommerce-cart,.woocommerce-checkout) main :is(.product-thumbnail,.wc-block-cart-item__image,.wc-block-components-order-summary-item__image) img{
  box-sizing:border-box;border:1px solid #c4b28e!important;padding:3px!important;border-radius:0!important;background:#f4ede2!important;object-fit:contain!important;
}
body .woocommerce-loop-product__title,
body .wc-block-components-product-name,
body .wc-block-grid__product-title{color:var(--bp-deep)!important;font:700 clamp(1.2rem,1.8vw,1.7rem)/1.18 "Syne",sans-serif!important}
body .woocommerce :is(.price,.woocommerce-Price-amount),
body :is(.wc-block-components-product-price,.wc-block-grid__product-price){color:#8d2458!important;font-weight:800}

body.single-product div.product:has(>.woocommerce-product-gallery):has(>.summary){display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);gap:clamp(38px,7vw,96px)}
/* The native block template's outer product group has one main child, not two product columns. */
body.single-product .wp-site-blocks>div.woocommerce.product:has(>main){display:block;grid-template-columns:none;gap:0}
body.single-product div.product :is(.woocommerce-product-gallery,.summary){width:auto!important;float:none!important}
body.single-product div.product .summary{padding-block:24px}
body.single-product .quantity .qty{width:84px}
body.single-product .product_meta{padding-top:24px;border-top:1px solid #c4b28e}
body.single-product .woocommerce-tabs{max-width:var(--bp-page);margin:clamp(44px,6vw,82px) auto 0}
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel>*{width:min(100%,780px);max-width:780px;margin-right:0;margin-left:0}
body.single-product .woocommerce-tabs :is(h2,h3),
html body.single-product:not(#wpadminbar) main#wp--skip-link--target .woocommerce-tabs :is(h2,h3),
html body.single-product:not(#wpadminbar) .wp-site-blocks>main .woocommerce-tabs :is(h2,h3){
  max-width:780px;
  margin:22px 0 18px!important;
  color:var(--bp-deep)!important;
  -webkit-text-fill-color:var(--bp-deep)!important;
  font-family:"Syne","Manrope",Arial,sans-serif!important;
  font-style:normal!important;
  font-weight:700!important;
  text-align:left!important;
  letter-spacing:-.035em;
  font-size:clamp(1.45rem,2vw,2rem)!important;
  line-height:1.14;
}
body.single-product .woocommerce-tabs :is(h2,h3) :is(strong,em){color:inherit!important;font:inherit!important;letter-spacing:inherit!important}
body.single-product .woocommerce-tabs :is(p,li){max-width:780px}
body.single-product .woocommerce-tabs blockquote{margin:28px 0!important;padding:0!important;border:0!important}
body.single-product .woocommerce-tabs :is(ul,ol){max-width:780px;margin-top:0;margin-bottom:1.35em;padding-left:1.35em}
body.single-product .woocommerce-tabs ul.tabs a,
html body.single-product:not(#wpadminbar) main#wp--skip-link--target .woocommerce-tabs ul.tabs a,
html body.single-product:not(#wpadminbar) .wp-site-blocks>main .woocommerce-tabs ul.tabs a{color:var(--bp-deep)!important;font-family:"Manrope",Arial,sans-serif!important}
body.single-product .woocommerce-tabs ul.tabs li.active a{color:#8d2458!important}
body.single-product .related>h2{font-size:clamp(1.75rem,2.6vw,2.65rem)!important}

/* The cart's narrower suggestions panel cannot reuse the four-column shop grid. */
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-cart main .cross-sells ul.products{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important;gap:18px!important;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-cart main .cross-sells ul.products li.product{
  min-width:0!important;width:auto!important;float:none!important;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-cart main .cross-sells>h2{
  font-size:clamp(1.4rem,2vw,1.9rem)!important;line-height:1.2!important;word-break:normal!important;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-cart main .cross-sells .woocommerce-loop-product__title{
  font:700 clamp(1.2rem,1.8vw,1.7rem)/1.18 "Syne",sans-serif!important;word-break:normal!important;overflow-wrap:normal!important;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-cart main .cross-sells li.product img{
  box-sizing:border-box;border:1px solid #c4b28e!important;padding:8px!important;background:#f4ede2!important;object-fit:contain!important;
}

body :is(.wc-block-cart,.wc-block-checkout,.woocommerce-cart-form,.cart_totals,.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content){
  color:var(--bp-deep);
}
body :is(.wc-block-components-sidebar,.wc-block-components-totals-wrapper,.cart_totals,.woocommerce-MyAccount-navigation){
  padding:24px!important;
  border:1px solid #c4b28e!important;
  background:#fffaf4!important;
}
body .woocommerce-error,
body .woocommerce-info,
body .woocommerce-message,
body .wc-block-components-notice-banner{border:1px solid var(--bp-gold);border-left:4px solid var(--bp-pink);background:#fffaf4;color:var(--bp-deep)}
body .woocommerce-MyAccount-navigation ul{margin:0;padding:0;list-style:none}
body .woocommerce-MyAccount-navigation a{display:block;padding:11px 0;border-bottom:1px solid #d4c7ad;color:var(--bp-deep)}

/* Dark text and links on the light commerce surfaces. */
body:is(.woocommerce-shop,.single-product,.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) main a:not(.button):not(.wp-element-button):not(.wp-block-button__link){
  color:#76224f!important;
}

/* Checkout Block: keep native shipping/payment controls and gateway content. */
body.woocommerce-checkout .wc-block-checkout :is(.wc-block-components-text-input input,.wc-block-components-combobox input,.wc-block-components-select select,textarea),
body.woocommerce-cart .wc-block-cart :is(.wc-block-components-text-input input,.wc-block-components-combobox input,.wc-block-components-select select){
  color:var(--bp-deep)!important;
  background:var(--bp-ivory)!important;
  border-color:#b9a881!important;
}
body.woocommerce-checkout .wc-block-checkout :is(.wc-block-components-text-input input,.wc-block-components-combobox input,textarea)::placeholder,
body.woocommerce-cart .wc-block-cart :is(.wc-block-components-text-input input,.wc-block-components-combobox input)::placeholder{color:#666777}
body.woocommerce-checkout .wc-block-checkout :is(.wc-block-components-radio-control__option,.wc-block-components-payment-methods,.wc-block-components-shipping-rates-control),
body.woocommerce-cart .wc-block-cart :is(.wc-block-components-totals-wrapper,.wc-block-components-order-summary){
  color:var(--bp-deep);
  background:#fffaf4;
  border-color:#c4b28e;
}
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .wc-block-components-text-input>label{color:#4f5260!important;text-shadow:none!important}
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .wc-block-components-text-input:has(input[data-field-name="_meta_ragione_sociale_fattura"]){display:flex;flex-direction:column}
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .wc-block-components-text-input:has(input[data-field-name="_meta_ragione_sociale_fattura"])>label{
  position:static!important;order:-1;transform:none!important;width:auto!important;max-width:100%!important;margin:0 0 8px!important;white-space:normal!important;overflow-wrap:normal!important;font-size:14px!important;line-height:1.4!important;
}
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main input[data-field-name="_meta_ragione_sociale_fattura"]{padding:14px!important;min-height:52px}
body.woocommerce-checkout .wc-block-checkout :is(.wc-block-components-radio-control__option,.wc-block-components-payment-methods,.wc-block-components-shipping-rates-control){border-radius:0}
body.woocommerce-checkout .wc-block-checkout :is(.wc-block-components-radio-control__input,.wc-block-components-checkbox__input),
body.woocommerce-cart .wc-block-cart :is(.wc-block-components-radio-control__input,.wc-block-components-checkbox__input){accent-color:#8d2458}
body.woocommerce-checkout .wc-block-checkout :is(.wc-block-components-radio-control__option-checked,.wc-block-components-radio-control__option:focus-within){border-color:#8d2458}
/* Native shipping/payment choices: reserve room for the radio and keep
   labels readable even when the gateway adds its own card logos. */
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .wc-block-checkout .wc-block-components-radio-control__option{
  position:relative!important;min-height:64px;padding:16px 16px 16px 52px!important;background:#fffaf4!important;color:var(--bp-deep)!important;border-color:#c4b28e!important;text-shadow:none!important;
}
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .wc-block-checkout .wc-block-components-radio-control__option-checked{border-color:#8d2458!important;background:#f4ede2!important}
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .wc-block-components-radio-control__option>.wc-block-components-radio-control__input{left:16px!important;width:20px!important;height:20px!important;margin:0!important}
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .wc-block-components-radio-control__option-layout{min-width:0;max-width:100%}
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .wc-block-components-radio-control__label,
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .wc-block-components-radio-control__label :is(strong,span){color:var(--bp-deep)!important;text-shadow:none!important;white-space:normal!important}
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .revolut-payment-method-label-container{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px;min-width:0;max-width:100%}
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .revolut-pay-label-title-wrapper{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:100%}
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .revolut-payment-method-label-scheme-icons{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
/* Remove the legacy dark gradients under the native order summary. */
html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .wc-block-checkout :is(.wp-block-woocommerce-checkout-order-summary-block,.wc-block-components-order-summary,.wc-block-components-totals-wrapper){
  background:#fffaf4!important;color:var(--bp-deep)!important;border-color:#c4b28e!important;text-shadow:none!important;box-shadow:none!important;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-checkout main .wc-block-checkout__sidebar{background:#fffaf4!important;border:1px solid #c4b28e!important;box-shadow:none!important;padding:20px!important;box-sizing:border-box}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-checkout main .wp-block-woocommerce-checkout-order-summary-block *{
  color:var(--bp-deep)!important;-webkit-text-fill-color:var(--bp-deep)!important;text-shadow:none!important;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-checkout main .wp-block-woocommerce-checkout-order-summary-block>:is(.wc-block-components-checkout-step__heading,.wc-block-components-checkout-order-summary__title){padding-top:8px!important}
/* The Revolut message is a third-party iframe: frame its outer container
   so the white banner cannot cover the champagne border. */
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-checkout main #revolut-pay-informational-banner{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;padding:12px!important;border:1px solid #c4b28e!important;border-radius:0!important;background:#fffaf4!important;box-shadow:none!important;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-checkout main #revolut-pay-informational-banner iframe{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;border:0!important}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-checkout main .wc-block-components-order-summary-item{background:transparent!important;box-shadow:none!important}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-checkout main .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper:empty{display:none!important}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-checkout main .wc-block-components-order-summary-item .wc-block-components-product-name{font:700 18px/1.35 Manrope,Arial,sans-serif!important;letter-spacing:normal!important}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-cart main :is(.wc-block-components-totals-item__label,.wc-block-components-totals-item__value,.wc-block-components-totals-item__description,.wc-block-components-formatted-money-amount){color:var(--bp-deep)!important;-webkit-text-fill-color:var(--bp-deep)!important;text-shadow:none!important}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-checkout main .wc-block-components-order-summary-item__quantity{background:var(--bp-deep)!important}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-checkout main .wc-block-components-order-summary-item__quantity,
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-checkout main .wc-block-components-order-summary-item__quantity span{
  color:#fffaf4!important;-webkit-text-fill-color:#fffaf4!important;text-shadow:none!important;
}
@media(max-width:600px){
  html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .revolut-payment-method-label-container{flex-direction:column;align-items:flex-start!important;justify-content:flex-start!important}
  html body.wp-child-theme-balena-pink-child.woocommerce-checkout main .revolut-payment-method-label-scheme-icons img{width:38px!important;height:24px!important;object-fit:contain!important}
}
body.woocommerce-checkout .wc-block-checkout :is(.wc-block-components-radio-control__label,.wc-block-components-checkbox__label,.wc-block-components-payment-method-label,.wc-block-components-shipping-rates-control__package){color:var(--bp-deep)}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-checkout main .wc-block-checkout .wc-block-components-checkbox__label,
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).woocommerce-checkout main .wc-block-checkout .wc-block-components-checkbox__label *{
  color:var(--bp-deep)!important;
  -webkit-text-fill-color:var(--bp-deep)!important;
}

body footer.wp-block-template-part,
body footer.site-footer{
  padding-block:70px 28px;
  color:#bfc1cf;
  background:#0a0d21;
  border-top:1px solid var(--bp-line);
}
body footer a{color:#bfc1cf;text-decoration:none}
body footer a:hover{color:var(--bp-gold)}

/* The light editorial cards need a dark, readable link colour. */
html body.wp-child-theme-balena-pink-child main .bp-editorial .article-card a:not(.button){
  color:#76224f!important;
}

/* Age Gate remains the existing plugin; only its visual layer changes. */
html body .age-gate__background{
  background-image:radial-gradient(circle at 18% 18%,rgba(220,61,132,.16),transparent 36%),
    radial-gradient(circle at 82% 80%,rgba(201,173,118,.1),transparent 42%),
    linear-gradient(145deg,#0b1235,#121b43 55%,#0a102d)!important;
  opacity:1!important;
}
html body .age-gate__background-color{background:transparent!important;backdrop-filter:none!important}
html body #age-gate .age-gate__wrapper,
html body .age-gate__wrapper{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:none!important;min-height:100dvh!important;height:auto!important;
  margin:0!important;padding:20px!important;border:0!important;background:transparent!important;
  box-shadow:none!important;overflow-y:auto!important;font-family:Manrope,Arial,sans-serif!important;
}
html body #age-gate .age-gate,
html body .age-gate__wrapper>.age-gate{
  box-sizing:border-box!important;width:min(100%,520px)!important;max-width:520px!important;
  margin:auto!important;padding:clamp(24px,4vw,38px)!important;
  border:1px solid rgba(201,173,118,.6)!important;border-left:3px solid #dc3d84!important;border-radius:4px!important;
  background:linear-gradient(155deg,rgba(23,29,62,.98),rgba(11,16,40,.98))!important;
  box-shadow:0 26px 70px rgba(2,6,20,.45)!important;color:#f7f2e9!important;
}
html body #age-gate .age-gate__form,
html body .age-gate__wrapper .age-gate__form{
  height:auto!important;min-height:0!important;margin:0!important;padding:0!important;
  border:0!important;background:none!important;box-shadow:none!important;
}
html body .age-gate__heading{margin:0 0 22px!important}
html body .age-gate__heading-title--logo{display:block!important;width:min(100%,250px)!important;height:auto!important;max-width:250px!important;margin:0 auto!important;object-fit:contain!important}
html body:not(#wpadminbar) .age-gate .age-gate__headline{max-width:18ch;margin:0 0 10px!important;color:#f7f2e9!important;font-family:Syne,Manrope,sans-serif!important;font-size:clamp(1.5rem,4vw,2rem)!important;line-height:1.12!important;letter-spacing:-.025em!important;text-shadow:none!important}
html body:not(#wpadminbar) .age-gate .age-gate__subheadline{max-width:38ch;margin:0 0 22px!important;color:#d7d9e5!important;font-family:Manrope,Arial,sans-serif!important;font-size:.95rem!important;line-height:1.5!important;font-weight:500!important;text-shadow:none!important}
html body:not(#wpadminbar) .age-gate :is(p,label,input,button,span){font-family:Manrope,Arial,sans-serif!important}
html body .age-gate__fields{max-width:390px!important;margin:0 auto 18px!important}
html body .age-gate__form-elements{gap:10px!important}
html body .age-gate__label{color:#f7f2e9!important;font-size:.86rem!important;font-weight:700!important}
html body .age-gate input.age-gate__input{box-sizing:border-box!important;width:100%!important;min-height:46px!important;padding:8px!important;border:1px solid rgba(201,173,118,.55)!important;border-radius:3px!important;background:#0b112c!important;color:#fff!important;text-align:center!important;font-size:1rem!important}
html body .age-gate input.age-gate__input::placeholder{color:#b8bbca!important}
html body .age-gate__remember-wrapper{margin:0 0 20px!important}
html body .age-gate__remember-text{color:#d7d9e5!important;font-size:.86rem!important}
html body .age-gate button.age-gate__button{min-width:160px!important;min-height:46px!important;padding:10px 24px!important;border:1px solid rgba(201,173,118,.7)!important;border-radius:3px!important;background:#35263d!important;color:#fffaf4!important;font:700 .9rem Manrope,Arial,sans-serif!important;box-shadow:inset 3px 0 #dc3d84!important}
html body .age-gate button.age-gate__button:hover{background:#4b2c4d!important}
html body .age-gate :is(button,input):focus-visible{outline:3px solid #f4bfde!important;outline-offset:3px!important}

@media(max-width:600px){
  html body #age-gate .age-gate__wrapper,html body .age-gate__wrapper{padding:12px!important}
  html body #age-gate .age-gate,html body .age-gate__wrapper>.age-gate{padding:24px 18px!important}
  html body .age-gate__heading-title--logo{max-width:205px!important}
  html body:not(#wpadminbar) .age-gate .age-gate__headline{font-size:1.55rem!important}
  html body:not(#wpadminbar) .age-gate .age-gate__subheadline{font-size:.86rem!important}
}

@media(max-width:1000px){
  body .woocommerce ul.products,
  body .wc-block-product-template,
  body .wc-block-grid__products{grid-template-columns:repeat(2,minmax(0,1fr))}
  body main .entry-content .wp-block-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  body main .entry-content .wp-block-gallery>figure.wp-block-image img{height:min(48vw,420px)!important}
}

@media(max-width:760px){
  html body.wp-child-theme-balena-pink-child.woocommerce-shop main .wp-block-group.alignwide.is-layout-flex{flex-wrap:wrap!important;gap:12px!important}
  html body.wp-child-theme-balena-pink-child.woocommerce-shop main .wc-block-catalog-sorting,
  html body.wp-child-theme-balena-pink-child.woocommerce-shop main .woocommerce-ordering,
  html body.wp-child-theme-balena-pink-child.woocommerce-shop main select.orderby{width:100%!important;max-width:100%!important}
  body main :is(.entry-content>.wp-block-group,.entry-content>.wp-block-columns,.entry-content>.wp-block-cover),
  body main>.wp-block-group,
  body main>.wp-block-columns{width:min(calc(100% - 34px),var(--bp-page))}
  body main h1{font-size:clamp(2.35rem,10.5vw,3.35rem)}
  body main h2{font-size:clamp(1.8rem,8vw,2.55rem)}
  body main .wp-block-columns{display:block}
  body main .entry-content .wp-block-gallery{grid-template-columns:1fr}
  body main .entry-content .wp-block-gallery>figure.wp-block-image img{height:min(112vw,500px)!important}
  body main .entry-content .wp-block-post-template{grid-template-columns:1fr}
  body.single-product div.product{display:block}
  body header .wp-block-navigation__responsive-container.is-menu-open{color:var(--bp-ivory);background:var(--bp-deep)}
  body :is(.wc-block-cart,.wc-block-checkout){display:block}
}

@media(max-width:460px){
  body .woocommerce ul.products,
  body .wc-block-product-template,
  body .wc-block-grid__products{grid-template-columns:1fr}
  body main :is(.wp-element-button,.wp-block-button__link,.button,button[type="submit"],.wc-block-components-button){width:100%;padding:12px 20px!important;font-size:.74rem!important}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* Native Complianz documents: readable cells, including long cookie names. */
html body.wp-child-theme-balena-pink-child:not(#wpadminbar).bp-legal-page main :is(h1,h2,h3,h4),
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial-contact :is(h1,h2,h3,h4),
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main.bp-article-page :is(h1,h2,h3,h4) {color:#fffaf5!important;-webkit-text-fill-color:#fffaf5!important;}
@media(max-width:600px){html body.wp-child-theme-balena-pink-child.bp-legal-page main h1 {font-size:clamp(1.4rem,6.7vw,2.2rem)!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;}}
/* Retain native gallery references while preventing missing thumbnails from stretching the page. */
html body.wp-child-theme-balena-pink-child.single-product .flex-control-thumbs li img {width:100%!important;aspect-ratio:1/1!important;height:auto!important;object-fit:contain!important;max-height:100px!important;font-size:.6rem!important;line-height:1.2!important;}
html body.wp-child-theme-balena-pink-child main #cmplz-document {color:#e2e1ec!important;}
html body.wp-child-theme-balena-pink-child main #cmplz-document details.cmplz-dropdown {border:1px solid rgba(201,173,118,.5)!important;background:#111832!important;border-radius:0!important;}
html body.wp-child-theme-balena-pink-child main #cmplz-document summary.cmplz-service-header {background:#1b2241!important;color:#fffaf5!important;padding:16px!important;}
html body.wp-child-theme-balena-pink-child main #cmplz-document summary.cmplz-service-header h3 {color:#fffaf5!important;-webkit-text-fill-color:#fffaf5!important;}
html body.wp-child-theme-balena-pink-child main #cmplz-document :is(.cmplz-service-description,.cmplz-sharing-data) {color:#e2e1ec!important;background:#111832!important;}
html body.wp-child-theme-balena-pink-child main #cmplz-document .cookies-per-purpose {background:rgba(201,173,118,.45)!important;grid-template-columns:160px minmax(0,1fr)!important;max-width:100%!important;}
html body.wp-child-theme-balena-pink-child main #cmplz-document .cookies-per-purpose > * {min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;white-space:normal!important;background:#141b3a!important;color:#fffaf5!important;}
html body.wp-child-theme-balena-pink-child main #cmplz-document .cookies-per-purpose .purpose {background:#222844!important;color:#ead3a1!important;}
html body.wp-child-theme-balena-pink-child main #cmplz-document a {color:#ead3a1!important;overflow-wrap:anywhere;}
@media(max-width:600px){html body.wp-child-theme-balena-pink-child main #cmplz-document .cookies-per-purpose {grid-template-columns:100px minmax(0,1fr)!important;}}
