/* Clasico Next 1.1.26 HOTFIX4 – compact Soft Premium footer and single newsletter consent box.
   Loaded after earlier footer/newsletter overrides. No Prestashop core or GDPR form changes. */

/* Native checkbox and Classic custom-checkbox span were both visible in HOTFIX3.
   Keep the accessible input (and its name/value/required attributes), show only
   the existing visual span, without inserting another input or fake checkbox. */
#footer .cn-signup-soft .cn-signup-consent .custom-checkbox input[type="checkbox"],
#footer .cn-signup-soft .cn-signup-consent .custom-checkbox label input[type="checkbox"] {
  position:absolute!important;
  opacity:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  width:1px!important;
  min-width:1px!important;
  height:1px!important;
  min-height:1px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  clip-path:inset(50%)!important;
  overflow:hidden!important;
}
#footer .cn-signup-soft .cn-signup-consent .custom-checkbox {
  position:relative!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  min-width:0;
}
#footer .cn-signup-soft .cn-signup-consent .custom-checkbox label {
  display:inline-flex!important;
  align-items:center!important;
  gap:11px!important;
  min-height:28px!important;
  margin:0!important;
  padding:0!important;
  cursor:pointer;
  color:#52667f!important;
  font-size:13px!important;
  line-height:1.45!important;
}
#footer .cn-signup-soft .cn-signup-consent .custom-checkbox input[type="checkbox"] + span {
  position:relative!important;
  flex:0 0 23px!important;
  display:inline-grid!important;
  place-items:center!important;
  width:23px!important;
  height:23px!important;
  min-width:23px!important;
  min-height:23px!important;
  padding:0!important;
  margin:0!important;
  border:2px solid #a9bee7!important;
  border-radius:7px!important;
  background:#fff!important;
  vertical-align:middle!important;
  box-shadow:none!important;
}
#footer .cn-signup-soft .cn-signup-consent .custom-checkbox input[type="checkbox"] + span .checkbox-checked,
#footer .cn-signup-soft .cn-signup-consent .custom-checkbox input[type="checkbox"] + span i {
  display:none!important;
}
#footer .cn-signup-soft .cn-signup-consent .custom-checkbox input[type="checkbox"]:checked + span {
  border-color:#4770e2!important;
  background:#4770e2!important;
}
#footer .cn-signup-soft .cn-signup-consent .custom-checkbox input[type="checkbox"]:checked + span::after {
  content:"";
  position:absolute;
  width:7px;
  height:12px;
  top:1px;
  left:6px;
  border:solid #fff;
  border-width:0 2.5px 2.5px 0;
  transform:rotate(45deg);
}
#footer .cn-signup-soft .cn-signup-consent .custom-checkbox input[type="checkbox"]:focus-visible + span {
  outline:3px solid #a9c6ff;
  outline-offset:2px;
}

#footer .cn-newsletter > .container{box-sizing:border-box!important;}

/* Two upper panels: shorter content; don't stretch the shorter card into a tall empty area. */
#footer .cn-newsletter {padding:10px 0 8px!important;}
#footer .cn-newsletter-wrap{gap:14px!important;align-items:start!important;}
#footer .cn-newsletter-main{padding:16px 18px!important;border-radius:24px!important;}
#footer .cn-signup-soft .cn-signup-head{gap:12px!important;margin-bottom:11px!important;}
#footer .cn-signup-soft .cn-signup-icon{width:49px!important;height:49px!important;border-radius:15px!important;}
#footer .cn-signup-soft .cn-signup-icon svg{width:25px!important;height:25px!important;}
#footer .cn-signup-soft .cn-signup-kicker{padding:6px 12px!important;margin-bottom:7px!important;font-size:10px!important;}
#footer .cn-newsletter #block-newsletter-label.cn-signup-title{font-size:clamp(19px,2vw,24px)!important;line-height:1.2!important;margin:0 0 6px!important;}
#footer .cn-signup-soft .cn-signup-intro{font-size:13px!important;line-height:1.48!important;}
#footer .cn-signup-soft .cn-signup-fields{gap:9px!important;margin-bottom:8px!important;}
#footer .cn-signup-soft .cn-signup-fields input[type=email]{height:48px!important;min-height:48px!important;border-radius:16px!important;font-size:14px!important;}
#footer .cn-signup-soft .cn-signup-submit{height:48px!important;min-height:48px!important;min-width:148px!important;border-radius:16px!important;padding:0 18px!important;font-size:14px!important;}
#footer .cn-signup-soft .cn-signup-legal,#footer .cn-signup-soft .cn-signup-legal p{font-size:11px!important;line-height:1.5!important;}
#footer .cn-signup-soft .cn-signup-legal{margin-bottom:6px!important;}

/* Soft Premium reassurance card: same appearance, less vertical space. */
#footer .cn-newsletter .cn1124-confidence{padding:16px 18px!important;gap:13px!important;align-items:center!important;border-radius:24px!important;}
#footer .cn1124-confidence-visual{flex-basis:64px!important;width:64px!important;height:70px!important;}
#footer .cn1124-visual-halo{width:60px!important;height:60px!important;border-radius:17px!important;}
#footer .cn1124-visual-icon{width:46px!important;height:46px!important;border-radius:15px!important;}
#footer .cn1124-visual-icon svg{width:29px!important;height:29px!important;}
#footer .cn1124-visual-star{font-size:24px!important;top:-6px!important;right:-3px!important;}
#footer .cn1124-kicker{padding:5px 10px!important;margin-bottom:7px!important;}
#footer .cn1125-confidence-summary .cn1125-summary-title{font-size:clamp(19px,2.1vw,23px)!important;line-height:1.18!important;margin-bottom:3px!important;}
#footer .cn1125-confidence-detail{margin-top:0!important;}
#footer .cn1124-confidence p{font-size:12px!important;line-height:1.5!important;margin:0 0 9px!important;}
#footer .cn1124-perks{gap:6px!important;}
#footer .cn1124-perk{padding:6px 9px!important;gap:9px!important;border-radius:11px!important;}
#footer .cn1124-perk-icon{height:31px!important;width:31px!important;flex-basis:31px!important;}
#footer .cn1124-perk strong{font-size:11.8px!important;line-height:1.3!important;}
#footer .cn1124-perk small{font-size:10.2px!important;line-height:1.35!important;}
#footer .cn1124-confidence-actions{gap:12px!important;margin-top:10px!important;}
#footer .cn1124-primary-link{padding:9px 13px!important;}

/* Compact footer hero, links and bottom strip; preserve four/two/one-column grid. */
#footer .cn126-footer-main{padding:10px 0 18px!important;}
#footer .cn126-footer-shell{padding:14px 14px 0!important;}
#footer .cn126-footer-hero{padding:12px 14px!important;gap:16px!important;}
#footer .cn126-footer-branding{gap:8px!important;}
#footer .cn126-footer-logo img{max-width:min(244px,100%)!important;max-height:62px!important;width:auto!important;height:auto!important;object-fit:contain;}
#footer .cn126-footer-tagline{line-height:1.48!important;font-size:13px!important;}
#footer .cn126-footer-highlights{margin-top:0!important;gap:4px 0!important;}
#footer .cn126-highlight{padding:4px 14px 4px 0!important;margin-right:12px!important;gap:8px!important;font-size:12px!important;}
#footer .cn126-inline-icon{height:33px!important;width:33px!important;border-radius:10px!important;}
#footer .cn126-inline-icon svg{width:19px!important;height:19px!important;}
#footer .cn126-footer-help{min-height:105px!important;padding:12px 16px!important;gap:12px!important;grid-template-columns:54px minmax(0,1fr) 36px!important;}
#footer .cn126-help-icon{width:54px!important;height:54px!important;border-radius:16px!important;}
#footer .cn126-help-icon svg{width:28px!important;height:28px!important;}
#footer .cn126-help-copy small{font-size:12px!important;margin-bottom:2px!important;}
#footer .cn126-help-copy strong{font-size:16px!important;line-height:1.2!important;}
#footer .cn126-help-copy span{font-size:12px!important;line-height:1.4!important;margin-top:4px!important;}
#footer .cn126-help-arrow{width:36px!important;height:36px!important;}
#footer .cn126-help-arrow svg{width:20px!important;height:20px!important;}
#footer .cn126-footer-layout{padding:12px 0 0!important;}
#footer .cn126-footer-links{gap:13px!important;padding:0 0 12px!important;}
#footer .cn126-footer-links>.cn-footer-column,
#footer .cn126-footer-links>.cn-footer-column:first-child,
#footer .cn126-footer-links>.cn-footer-column:last-child{
  padding:13px 14px 12px!important;
  border-radius:21px!important;
}
#footer .cn126-footer-card-head{padding-bottom:9px!important;margin-bottom:7px!important;gap:11px!important;}
#footer .cn126-footer-card-icon{width:41px!important;height:41px!important;border-radius:13px!important;}
#footer .cn126-footer-card-icon svg{width:23px!important;height:23px!important;}
#footer .cn126-footer-links .cn-footer-column h3,
#footer .cn126-footer-links .cn-footer-column h3 a{font-size:16px!important;line-height:1.2!important;}
#footer .cn126-footer-card-subtitle{font-size:11.5px!important;line-height:1.4!important;}
#footer .cn126-footer-links .cn-footer-column ul{gap:1px!important;}
#footer .cn126-footer-links .cn-footer-column li{margin:0!important;}
#footer .cn126-footer-links .cn-footer-column li a{padding:6px 8px!important;font-size:13px!important;line-height:1.35!important;}
#footer .cn126-footer-link-arrow{font-size:22px!important;}
#footer .cn126-store-panels{gap:8px!important;}
#footer .cn126-store-panel{padding:9px 10px!important;border-radius:14px!important;}
#footer .cn126-store-panel-icon{width:37px!important;height:37px!important;border-radius:12px!important;}
#footer .cn126-footer-social{padding-bottom:8px!important;}
#footer .cn126-footer-bottom-inner{padding:9px 14px 10px!important;gap:12px!important;}
#footer .cn126-back-to-top{padding:8px 13px!important;}

@media(max-width:1199px){
  #footer .cn126-footer-hero{gap:11px!important;}
  #footer .cn126-footer-help{grid-template-columns:54px minmax(0,1fr) 36px!important;}
}
@media(max-width:767px){
  #footer .cn-newsletter-wrap{gap:10px!important;}
  #footer .cn-newsletter-main{padding:13px!important;}
  #footer .cn-newsletter .cn1124-confidence{padding:13px!important;}
  #footer .cn1124-confidence-visual{margin-bottom:8px!important;height:57px!important;}
  #footer .cn1125-confidence-summary .cn1125-summary-title{font-size:19px!important;}
  #footer .cn-signup-soft .cn-signup-head{gap:9px!important;}
  #footer .cn-signup-soft .cn-signup-icon{width:41px!important;height:41px!important;}
  #footer .cn-signup-soft .cn-signup-icon svg{width:22px!important;height:22px!important;}
  #footer .cn-signup-soft .cn-signup-fields{grid-template-columns:1fr!important;}
  #footer .cn-signup-soft .cn-signup-submit{min-width:0!important;width:100%!important;}
  #footer .cn126-footer-shell{padding:11px 11px 0!important;}
  #footer .cn126-footer-hero{padding:12px!important;}
  #footer .cn126-footer-links{gap:10px!important;}
  #footer .cn126-footer-help{grid-template-columns:45px minmax(0,1fr) 32px!important;grid-template-areas:none!important;gap:9px!important;padding:10px!important;}
  #footer .cn126-help-icon{width:44px!important;height:44px!important;}
  #footer .cn126-help-arrow{grid-area:auto!important;width:32px!important;height:32px!important;}
  #footer .cn126-footer-links>.cn-footer-column,
  #footer .cn126-footer-links>.cn-footer-column:first-child,
  #footer .cn126-footer-links>.cn-footer-column:last-child{padding:12px!important;}
  #footer .cn126-footer-bottom-inner{padding:10px 12px!important;}
}
