/* GREPOOL mobile product navigation and content hierarchy. */
body.single-product .gre-product-jump{max-width:1280px;margin:0 auto 22px;padding:14px 18px;background:#f0f8fc;border:1px solid #dcecf4;border-radius:16px;box-sizing:border-box}
/* Gallery first: the section links belong after the purchasing area. */
body.single-product .gre-product-jump{clear:both;margin-top:24px!important;margin-bottom:26px!important}
body.single-product .gre-product-nav a:first-child{background:#fff!important;border-color:#c9dfeb!important;color:#103b63!important}
body.single-product .woocommerce-product-gallery .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin-top:8px!important;overflow:hidden!important;max-width:100%!important}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li{width:100%!important;min-width:0!important;max-width:100%!important;float:none!important;margin:0!important;padding:0!important}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li img{width:100%!important;height:64px!important;max-height:64px!important;object-fit:cover!important;object-position:center!important;border-radius:6px!important}
/* Reference-inspired gallery: one large image, compact four-image strip below. */
body.single-product .shopeye-single-product-top-wrap .woocommerce-product-gallery{width:100%;min-width:0;max-width:100%}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{border-radius:12px}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img{max-width:100%;object-fit:contain}
body.single-product .woocommerce-product-gallery .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin:9px 0 0!important;padding:0!important;list-style:none!important}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li{width:100%!important;min-width:0!important;float:none!important;overflow:hidden!important;border-radius:7px!important}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li img{display:block!important;width:100%!important;height:72px!important;max-height:72px!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important;padding:0!important;margin:0!important;border-radius:7px!important}
@media(max-width:760px){
 /* Do not force heights/positioning on WooCommerce FlexSlider slides. */
 body.single-product .woocommerce-product-gallery .flex-control-thumbs{gap:6px!important;margin-top:7px!important}
 body.single-product .woocommerce-product-gallery .flex-control-thumbs li img{height:58px!important;max-height:58px!important;object-fit:cover!important}
}


body.single-product .gre-product-jump__label{font-size:11px;letter-spacing:.1em;font-weight:750;color:#55748c;margin:0 0 11px}
body.single-product .gre-product-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:stretch}
body.single-product .gre-product-nav a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;padding:10px 8px;border-radius:10px;background:#fff;border:1px solid #c9dfeb;color:#103b63!important;text-decoration:none!important;font-size:13px;font-weight:700;line-height:1.25;text-align:center;box-sizing:border-box;overflow-wrap:break-word}
body.single-product .gre-product-nav a:first-child{background:#f45116;border-color:#f45116;color:#fff!important}
body.single-product .gre-product-nav a:hover{border-color:#f45116}
body.single-product .gre-product-nav a:focus-visible{outline:3px solid #1685bb;outline-offset:3px}
body.single-product #gre-nakup,body.single-product #gre-predstavitev,body.single-product #gre-podrobnosti{scroll-margin-top:95px}
body.single-product .gre-details-anchor{height:1px}
body.single-product .product-description,body.single-product .technical_data,body.single-product .product_set,body.single-product .other{max-width:1280px;margin-left:auto;margin-right:auto}
body.single-product .product-description>.wave_title,body.single-product .technical_data>.wave_title,body.single-product .product_set>.wave_title{color:#103b63;font-size:clamp(23px,3vw,33px);letter-spacing:-.035em}
body.single-product .breadcrumb{padding-bottom:14px!important}
@media(max-width:760px){
 body.single-product .site-header{min-height:0!important;height:auto!important}
 body.single-product .breadcrumb{margin-top:0!important;padding-top:12px!important;padding-bottom:12px!important}
 body.single-product #primary{padding-top:0!important;margin-top:0!important}
 body.single-product .gre-product-jump{margin:0 14px 15px;padding:12px;border-radius:12px}
 body.single-product .gre-product-jump__label{font-size:10px;margin:0 0 9px}
 body.single-product .gre-product-nav{gap:6px}
 body.single-product .gre-product-nav a{min-height:46px;padding:8px 5px;font-size:11px;border-radius:8px}
 /* Keep the heading visible and the navigation below the mobile header. */
 body.single-product .gre-product-jump{margin:16px 14px 18px!important;padding:15px 12px 12px!important;overflow:visible!important;clear:both!important}
 body.single-product .gre-product-jump__label{display:block!important;margin:0 0 12px!important;padding:0!important;font-size:10px!important;line-height:1.5!important;letter-spacing:.07em!important}
 body.single-product .gre-product-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
 body.single-product .gre-product-nav a{font-size:11px!important;line-height:1.25!important;min-height:52px!important;padding:9px 4px!important}
 body.single-product .shopeye-single-product-top-wrap{margin-top:0!important;padding-top:0!important}
 body.single-product .shopeye-single-product-top-wrap .summary .product_title{font-size:clamp(27px,7vw,36px)!important;line-height:1.15!important;letter-spacing:-.035em!important;overflow-wrap:break-word!important;margin-top:0!important}
 body.single-product .shopeye-single-product-top-wrap .summary .woocommerce-product-details__short-description{font-size:14px!important;line-height:1.55!important}
 body.single-product .woocommerce-product-gallery{max-width:100%!important;overflow:hidden}
 body.single-product .woocommerce-product-gallery img{max-width:100%!important;height:auto!important}
 body.single-product .woocommerce-product-gallery .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;max-width:100%!important;overflow:hidden!important}
 body.single-product .woocommerce-product-gallery .flex-control-thumbs li{width:100%!important;max-width:100%!important;float:none!important;margin:0!important}
 body.single-product .woocommerce-product-gallery .flex-control-thumbs img{width:100%!important;max-width:100%!important;aspect-ratio:1!important;object-fit:contain!important}
 body.single-product .woocommerce-product-gallery .flex-control-thumbs li img{height:58px!important;max-height:58px!important;aspect-ratio:auto!important;object-fit:cover!important}
 body.single-product .gre-product-jump{margin:22px 14px 18px!important}
 body.single-product .woocommerce-product-gallery .flex-control-thumbs{gap:5px!important;margin-top:6px!important}

 body.single-product .gre-product-jump,body.single-product .shopeye-single-product-top-wrap{box-sizing:border-box!important}

 body.single-product #cookie-law-info-bar{position:fixed!important;left:10px!important;right:10px!important;bottom:12px!important;top:auto!important;width:auto!important;max-width:calc(100vw - 20px)!important;max-height:32vh!important;overflow-y:auto!important;padding:11px 13px!important;border-radius:12px!important;box-shadow:0 6px 28px rgba(0,35,70,.18)!important;font-size:12px!important;line-height:1.35!important;z-index:99999!important;box-sizing:border-box!important}
 body.single-product #cookie-law-info-bar .cli-bar-message{font-size:12px!important;line-height:1.4!important;margin-bottom:7px!important}
 body.single-product #cookie-law-info-bar .cli-bar-container{display:block!important}
 body.single-product #cookie-law-info-bar .cli-bar-btn_container{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin:5px 0 0!important}
 body.single-product #cookie-law-info-bar .cli-plugin-button,body.single-product #cookie-law-info-bar .cli_action_button{font-size:12px!important;padding:8px 12px!important;line-height:1.2!important;margin:0!important}
}


/* Keep native WooCommerce slider sizing and transitions intact. */
@media(max-width:760px){
 body.single-product .woocommerce-product-gallery .flex-viewport{overflow:hidden!important;border-radius:10px}
 body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img{max-width:100%!important;height:auto!important;object-fit:contain!important}
 body.single-product .gre-product-nav a,body.single-product .gre-product-nav a span{color:#103b63!important;visibility:visible!important;opacity:1!important;text-indent:0!important;font-size:11px!important;line-height:1.3!important}
 body.single-product .gre-product-nav a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:52px!important;overflow:visible!important;white-space:normal!important}
}

/* Mobile: FORCE WooCommerce thumbnail gallery into one horizontal strip. */
@media(max-width:760px){
 body.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs,
 body.single-product .woocommerce-product-gallery ul.flex-control-nav.flex-control-thumbs,
 body.single-product .woocommerce-product-gallery .flex-control-thumbs{
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch!important;
  width:100%!important;max-width:100%!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;
  margin:8px 0 0!important;padding:0 0 4px!important;list-style:none!important;
  grid-template-columns:none!important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;
 }
 body.single-product .woocommerce-product-gallery .flex-control-thumbs>li{
  display:block!important;flex:0 0 calc((100% - 18px)/4)!important;width:calc((100% - 18px)/4)!important;
  min-width:0!important;max-width:none!important;height:62px!important;float:none!important;clear:none!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;scroll-snap-align:start;
 }
 body.single-product .woocommerce-product-gallery .flex-control-thumbs>li>img{
  display:block!important;width:100%!important;height:62px!important;max-height:62px!important;
  object-fit:cover!important;border-radius:7px!important;
 }
}

