/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/
/* MW_LOGO_160x50_DISPLAY_160x50_20260624 */
img[src*="logo_mediwish_header"],
img[src*="logo_mediwish_header_light"]{
  width:160px!important;
  height:50px!important;
  max-width:160px!important;
  max-height:50px!important;
  object-fit:contain!important;
}
/* MW_CLS_PRODUCT_GALLERY_MOBILE_OWL_RESERVE_20260625
   Mobile CLS fix: reserve space before Owl Carousel init.
   Scope: custom Mediwish product detail gallery only.
   Does not force 520/454/388/322px on mobile and does not change image URLs.
*/
@media (max-width:767px){
  .catalog-detail__top-info [data-mw-gallery-custom="1"]{
    width:100%;
    max-width:100%;
  }
  .catalog-detail__top-info [data-mw-gallery-custom="1"] .catalog-detail__gallery-slider.big.owl-carousel:not(.owl-loaded){
    display:block;
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
  }
  .catalog-detail__top-info [data-mw-gallery-custom="1"] .catalog-detail__gallery-slider.big.owl-carousel:not(.owl-loaded) > .catalog-detail__gallery__item--big{
    display:none;
  }
  .catalog-detail__top-info [data-mw-gallery-custom="1"] .catalog-detail__gallery-slider.big.owl-carousel:not(.owl-loaded) > .catalog-detail__gallery__item--big:first-child{
    display:block;
    width:100%;
    aspect-ratio:1/1;
  }
  .catalog-detail__top-info [data-mw-gallery-custom="1"] .catalog-detail__gallery-slider.big.owl-carousel:not(.owl-loaded) > .catalog-detail__gallery__item--big:first-child .catalog-detail__gallery__link{
    display:block;
    width:100%;
    aspect-ratio:1/1;
  }
  .catalog-detail__top-info [data-mw-gallery-custom="1"] .catalog-detail__gallery-slider.big.owl-carousel:not(.owl-loaded) > .catalog-detail__gallery__item--big:first-child .catalog-detail__gallery__picture{
    display:block;
    width:100%;
    height:auto;
  }
  .catalog-detail__top-info [data-mw-gallery-custom="1"] .catalog-detail__gallery__thmb{
    min-height:58px;
  }
  .catalog-detail__top-info [data-mw-gallery-custom="1"] .catalog-detail__gallery-slider.thmb.owl-carousel:not(.owl-loaded){
    display:block;
    height:58px;
    overflow:hidden;
    white-space:nowrap;
  }
  .catalog-detail__top-info [data-mw-gallery-custom="1"] .catalog-detail__gallery-slider.thmb.owl-carousel:not(.owl-loaded) > .catalog-detail__gallery__item--thmb{
    display:inline-block;
    width:50px;
    height:50px;
    margin-right:8px;
    vertical-align:top;
  }
}

/* MW_BRAND_RETINA_DISPLAY_20260625
   Brand logo: use higher-resolution source file but keep visual size stable.
*/
img[data-mw-brand-dims="MW_BRAND_DIMS_20260625"]{
  max-height:40px;
  width:auto;
  max-width:100%;
}

/* MW_BRAND_ASPECT_RATIO_FIX_20260625
   Keep brand logo natural aspect ratio when theme/container limits width.
*/
img[data-mw-brand-layout-dims="MW_BRAND_LAYOUT_DIMS_20260625"]{
  height:auto !important;
  object-fit:contain;
}

/* MW_LCP_MOBILE_PREOWL_FIRST_SLIDE_20260625
   Show first product gallery slide before Owl Carousel init to reduce LCP render delay on mobile.
*/
@media (max-width:767px){
  .catalog-detail__top-info [data-mw-gallery-custom="1"] .catalog-detail__gallery-slider.big.owl-carousel:not(.owl-loaded){
    display:block !important;
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
  }
  .catalog-detail__top-info [data-mw-gallery-custom="1"] .catalog-detail__gallery-slider.big.owl-carousel:not(.owl-loaded) > .catalog-detail__gallery__item--big{
    display:none;
  }
  .catalog-detail__top-info [data-mw-gallery-custom="1"] .catalog-detail__gallery-slider.big.owl-carousel:not(.owl-loaded) > .catalog-detail__gallery__item--big:first-child{
    display:block !important;
    width:100%;
    aspect-ratio:1/1;
  }
  .catalog-detail__top-info [data-mw-gallery-custom="1"] .catalog-detail__gallery-slider.big.owl-carousel:not(.owl-loaded) > .catalog-detail__gallery__item--big:first-child .catalog-detail__gallery__link,
  .catalog-detail__top-info [data-mw-gallery-custom="1"] .catalog-detail__gallery-slider.big.owl-carousel:not(.owl-loaded) > .catalog-detail__gallery__item--big:first-child .catalog-detail__gallery__picture{
    display:block;
    width:100%;
    height:auto;
  }
}

/* MW_HIDE_EYED_IMAGE_OFF_TEXT_FALLBACK_20260627
   The accessibility/image-off helper component is disabled, but its helper spans can remain in HTML.
   Keep these helper labels hidden in the normal public site view.
*/
.not-eyed-images-off--hidden{
  display:none !important;
}
