/* iguru header bar v1: reserve the existing bar before the addon initializes. */
@media (min-width:768px){
  body.template-11:not(.header-info-bar-addon) .top-navigation-bar{
    border-top:40px solid #04adf6;
  }
}
@media (max-width:767px){
  body.template-11:not(.header-info-bar-addon):not(.mobile-header-version-0) .overall-wrapper{
    padding-top:135px!important;
  }
  body.template-11:not(.header-info-bar-addon):not(.navigation-window-visible) .top-navigation-bar{
    top:40px!important;
    transition-property:transform,opacity!important;
  }
  body.template-11:not(.header-info-bar-addon):not(.navigation-window-visible):not(.is-hidden-search-bar) #header{
    top:90px!important;
  }
}

/* iGuru responsive repair 1.0.2 — retain Apollo's existing design. */
/* Apollo's tablet logo limit starts at 769px, leaving a gap at 768px. */
@media (min-width:768px) and (max-width:992px){
  #header .site-name a img{max-width:185px}
}
/* The empty mobile banner slot must not retain its desktop column height. */
body.in-index .ig-responsive-banner-slot[hidden]{display:none!important}

/* One spacing scale for compact homepages; the established wide desktop is unchanged. */
@media (max-width:1024px){
  body.in-index{--ig-home-space:32px;--ig-home-row:16px}
  body.in-index .js-banners-benefits-block{margin-top:var(--ig-home-space)!important;margin-bottom:0!important}
  body.in-index .js-banners-benefits-block .footer-banners{margin-top:0;margin-bottom:0}
  body.in-index .js-banners-benefits-block .footer-banner{margin-bottom:0}
  body.in-index .topcats{margin-top:0;margin-bottom:0;row-gap:var(--ig-home-row)}
  body.in-index .topcats>div{margin-top:0}
  body.in-index #ig-link-motion{margin-top:var(--ig-home-space);padding:0}
  body.in-index #ig-link-motion .ig-scene{transform:none!important;padding:0!important}
  body.in-index #ig-link-motion .ig-new{margin:0!important}
  body.in-index #ig-motion-title{margin-bottom:var(--ig-home-row)!important}
  body.in-index .js-banners-top-block{margin-top:var(--ig-home-space)!important;margin-bottom:0!important}
  body.in-index .js-banners-top-block .next-to-carousel-banners{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ig-home-row);margin:0;padding:0}
  body.in-index .js-banners-top-block .banner-wrapper{width:100%;max-width:100%;margin:0;padding:0}
  body.in-index .js-banners-top-block .banner-wrapper>span,
  body.in-index .js-banners-top-block .banner-wrapper a.extended-empty,
  body.in-index .middle-banners-wrapper .banner-wrapper>span,
  body.in-index .middle-banners-wrapper .banner-wrapper a.extended-empty{display:block}
  body.in-index .js-top-category-addon{margin-top:var(--ig-home-space)!important;margin-bottom:var(--ig-home-space)!important}
  body.in-index .js-top-category-addon>.container>.homepage-group-title{margin:0!important}
  body.in-index #ig-benefits .benefit-list{row-gap:var(--ig-home-row)!important}
  body.in-index #ig-apple-corner{margin-top:var(--ig-home-space)!important;margin-bottom:var(--ig-home-space)!important}
  body.in-index #ig-apple-corner .ak-grid{row-gap:var(--ig-home-row)!important}
  body.in-index #ig-apple-corner .ak-life{margin-top:var(--ig-home-row)!important}
  body.in-index #ig-apple-corner .ak-section-title{margin-bottom:var(--ig-home-row)!important}
  body.in-index .homepage-group-title{margin-top:var(--ig-home-space)!important;margin-bottom:var(--ig-home-row)!important}
  body.in-index .middle-banners-wrapper{margin-top:var(--ig-home-space)!important;margin-bottom:var(--ig-home-space)!important}
  body.in-index .middle-banners-wrapper .banners-content{row-gap:var(--ig-home-row)}
  body.in-index .middle-banners-wrapper .banners-content>div{margin-top:0;margin-bottom:0}
  body.in-index .middle-banners-wrapper .banner-wrapper{margin-bottom:0}
  body.in-index .content-wrapper.welcome-wrapper{margin-top:var(--ig-home-space)!important}
  body.in-index .js-service-block{padding-top:var(--ig-home-space);margin-bottom:0}
  body.in-index .js-news-block,body.in-index .js-ratings-block{margin-top:var(--ig-home-space)!important;margin-bottom:var(--ig-home-space)!important}
  body.in-index .content-wrapper.products-group{margin-top:var(--ig-home-space)!important;margin-bottom:var(--ig-home-space)!important}
  body.in-index .iguru-lb-pagination{margin-bottom:0!important}
  /* Luigi inserts its own 40/50px margins after load; keep the same compact rhythm. */
  body.in-index div[id^="lb-recommend-element-homepage_"]{margin-top:0!important;margin-bottom:0!important}
  body.in-index .iguru-lb-apollo{margin-top:0!important;margin-bottom:0!important}
  body.in-index .iguru-lb-apollo>.homepage-group-title{margin-top:0!important}
  body.in-index .js-instagram-block{margin-top:var(--ig-home-space)!important;padding-bottom:var(--ig-home-space)}
  body.in-index .js-instagram-block .instagram-widget{margin-top:0}
  body.in-index .js-news-block>.homepage-group-title,body.in-index .js-ratings-block>.homepage-group-title{margin-top:0!important}
}
@media (max-width:992px){
  body.in-index .before-carousel #carousel{margin-bottom:0}
  body.in-index .before-carousel .banners-row>.col-sm-4:not(:has(.next-to-carousel-banners)){display:none}
}
@media (max-width:767px){body.in-index{--ig-home-space:24px;--ig-home-row:12px}}
@media (max-width:479px){body.in-index .js-banners-top-block .next-to-carousel-banners{grid-template-columns:minmax(0,1fr)}}

/* iGuru responsive repair 1.0.3: reserve the mobile pagination row below the image. */
@media (max-width:767px){
  body.in-index .before-carousel #carousel{margin-bottom:32px}
}

/* iGuru mobile service options 1.1.0: keep surcharge labels and choices inside the form. */
@media(max-width:767px){
 .p-info-wrapper .detail-parameters:has(.surcharge-list){width:100%;max-width:100%}
 .p-info-wrapper .detail-parameters .surcharge-list{display:block;width:100%;max-width:100%}
 .p-info-wrapper .detail-parameters .surcharge-list>th,
 .p-info-wrapper .detail-parameters .surcharge-list>td{display:block;width:100%;max-width:100%;padding-left:0;padding-right:0}
 .p-info-wrapper .surcharge-list .custom-select-wrapper{max-width:100%}
}

/* iGuru consent stability 1.1.1: never animate the panel's layout properties. */
html body .siteCookies{transition-property:opacity,transform!important}
@media(max-width:359px){html body .siteCookies.siteCookies--left,html body .siteCookies.siteCookies--right{left:20px;right:20px;transform:none!important;width:calc(100% - 40px);max-width:calc(100% - 40px)}}

/* 1.1.2: addon moves/resizes consent buttons; do not animate their layout either. */
html body .siteCookies *{transition-property:opacity,transform,color,background-color,border-color!important}

/* Reserve the measured 311.2px final panel on desktop while the addon arranges its buttons.
   min-height still permits larger text, zoom and later content changes. */
@media(min-width:769px){html.st-cookies-v2.st-cookies-vertical.st-cookies-middle body .siteCookies{min-height:311.2px}}

/* 1.1.3: the service introduction must not inherit the shop's 10px rem base. */
.iguru-service-wrapper .isr-hero .isr-subtitle{font-size:16px!important;line-height:1.65}
@media(max-width:767px){.iguru-service-wrapper .isr-hero .isr-subtitle{font-size:15px!important}}
