@media (max-width: 767px) {
	.mini-cart > a {
		display: block;
		width: 24px;
		margin-right: 5px;
		position: relative;
 }
	.mini-cart .count_item {
		position: absolute;
		right: -12px;
		top: -5px;
		font-size: 10px;
 }
}
.ega-cr-addon li.ega-menu__item.ega-loadmore-btn {
	display: var(--show-loadmore);
}
.ega-cr-addon li.ega-menu__item.ega-loadmore-btn + li.ega-menu__item {
	order: var(--order-loadmore);
}
#crCartModal .crbtn-modal__right b {
	color: var(--price-color);
}
@media (max-width: 767px) {
	.ega-smartsearch-item__image {
		width: 60px !important;
 }
	.ega-smartsearch-item__image img {
		max-width: 60px !important;
		max-height: 60px !important;
 }
}
@media (max-width: 767px) {
	#ega-smartsearch-search-suggestion.sticky:before, #ega-smartsearch-search-suggestion.sticky:after {
		right: 90px;
 }
}









/* Product page: force-hide header search on mobile */
@media (max-width: 1024px){
  body#template-product #search-header,
  body#template-product .header-center,
  body#template-product .search-dropdow{
    display: none !important;
  }
}

/* Product header: remove border/outline on mobile */
@media (max-width: 1024px){
  body#template-product .mid-header,
  body#template-product .mid-header .container,
  body#template-product .mid-header .row.align-items-center{
    border: none !important;
    box-shadow: none !important;
  }
}


/* Product header simplified row: menu | logo | icons, no search */
@media (max-width: 1024px){
  body#template-product .product-header-row{
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  body#template-product .product-header-row .header-left img{
    max-height: 64px !important;
    width: auto !important;
  }
  body#template-product #search-header,
  body#template-product .header-center,
  body#template-product .search-dropdow{
    display: none !important;
  }
}

/* Product header: flex positions menu | logo | icons */
@media (max-width: 1024px){
  body#template-product .product-header-row{
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
  }
  body#template-product .product-header-row .col-2.header-right{
    flex: 0 0 48px !important;
    max-width: 48px !important;
  }
  body#template-product .product-header-row .header-left{
    flex: 1 1 auto !important;
    text-align: left !important;
  }
  body#template-product .product-header-row .header-left img{
    max-height: 40px !important;
    width: auto !important;
  }
  body#template-product .product-header-row .col-4.pl-0{
    flex: 0 0 72px !important;
    max-width: 72px !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
  }
  body#template-product #search-header,
  body#template-product .header-center{
    display: none !important;
  }
}

/* Product header: remove grey background */
@media (max-width: 1200px){
  body#template-product .mid-header,
  body#template-product .mid-header .container,
  body#template-product .mid-header .row{
    background: transparent !important;
  }
}



/* Product header: force logo-product size to match home/collection */
@media (max-width: 1024px){
  body#template-product img.logo-product{
    max-height: 64px !important;
    height: auto !important;
    width: auto !important;
  }
}
@media (min-width: 1025px){
  body#template-product img.logo-product{
    max-height: 72px !important;
    height: auto !important;
    width: auto !important;
  }
}


/* Product header: force logo size & remove max-width clamp */
@media (max-width: 1024px){
  body#template-product img.logo-product{
    max-height: 72px !important;
    height: auto !important;
    width: auto !important;
    max-width: none !important;
  }
}
@media (min-width: 1025px){
  body#template-product img.logo-product{
    max-height: 80px !important;
    height: auto !important;
    width: auto !important;
    max-width: none !important;
  }
}



@media (max-width: 1024px){
  body#template-product .phone-product-title{
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
  }
  body#template-product .price.product-price{
    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
  }
}
@media (min-width: 1025px){
  body#template-product .phone-product-title{
    font-size: 26px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
  }
  body#template-product .price.product-price{
    font-size: 22px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
  }
}


/* Product page typography: title, price, brand/code */
@media (max-width: 1024px){
  body#template-product .phone-product-title{
    font-size: 19px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
  }
  body#template-product .price.product-price{
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
  }
  body#template-product .product-meta, body#template-product .product-vendor, body#template-product .product-sku{
    font-size: 16px !important;
    font-weight: 700 !important;
  }
}
@media (min-width: 1025px){
  body#template-product .phone-product-title{
    font-size: 23px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
  }
  body#template-product .price.product-price{
    font-size: 19px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
  }
  body#template-product .product-meta, body#template-product .product-vendor, body#template-product .product-sku{
    font-size: 16px !important;
    font-weight: 700 !important;
  }
}

/* Product mobile: align quantity + buy buttons on one row */
@media (max-width: 767px){
  body#template-product .phone-block-qty,
  body#template-product .phone-buy-box{
    display: inline-block !important;
    vertical-align: top !important;
  }
  body#template-product .phone-block-qty{ width: 48% !important; }
  body#template-product .phone-buy-box{ width: 52% !important; }
  body#template-product .phone-qty-wrap label{ display:block; margin-bottom:4px; font-size:14px; }
  body#template-product .phone-cta-grid{ display:flex !important; flex-direction:column; gap:8px; }
  body#template-product .phone-cta-grid .btn{ width:100% !important; }
}

/* Product mobile: buttons in one row */
@media (max-width: 767px){
  body#template-product .phone-block-qty,
  body#template-product .phone-buy-box{
    width: 100% !important;
    display: block !important;
  }
  body#template-product .phone-cta-grid{
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
  }
  body#template-product .phone-cta-grid .btn{
    flex: 1 1 50% !important;
    width: auto !important;
    min-width: 0 !important;
  }
}


/* Product page: hotline styling */
@media (max-width: 1024px){
  body#template-product .product-hotline{
    font-size: 18px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    padding: 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
  }
  body#template-product .product-hotline a{
    font-size: 18px !important;
    font-weight: 700 !important;
    color: inherit !important;
  }
}

/* REMOVED */
@media (max-width: 767px){
  body#template-product .phone-mobile-tabs{
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 12px 0 !important;
    padding: 8px 12px !important;
    background: #f8f8f8 !important;
    border-radius: 8px !important;
  }
  body#template-product .phone-mobile-tabs a{
    flex: 1 1 0 !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 8px 6px !important;
    border-radius: 6px !important;
    color: #222 !important;
    background: #fff !important;
  }
}

/* Product mobile: anchor positions and tabs */
@media (max-width: 767px){
  body#template-product .phone-mobile-tabs{
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 12px 0 !important;
    padding: 8px 12px !important;
    background: #f8f8f8 !important;
    border-radius: 8px !important;
  }
  body#template-product .phone-mobile-tabs a{
    flex: 1 1 0 !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 8px 6px !important;
    border-radius: 6px !important;
    color: #222 !important;
    background: #fff !important;
  }
  body#template-product #phone-desc,
  body#template-product #phone-specs,
  body#template-product #section-comments-phone{
    scroll-margin-top: 96px !important;
  }
  body#template-product .product-comments-end iframe,
  body#template-product .product-comments-end .fb-comments{
    width: 100% !important;
  }
}

/* Product mobile: comment title position & scroll offset */
@media (max-width: 767px){
  body#template-product #section-comments-phone{
    scroll-margin-top: 120px !important;
    padding-top: 12px !important;
  }
  body#template-product #section-comments-phone .phone-section-title,
  body#template-product #section-comments-phone h2{
    text-align: center !important;
    margin: 0 0 8px 0 !important;
  }
}


@media (max-width: 767px){
  body#template-product .phone-gallery-main{
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
  body#template-product .phone-gallery-main img{
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}


@media (max-width: 767px){
  body#template-product .phone-gallery-main{ display:block !important; width:100% !important; overflow:hidden !important; }
  body#template-product .phone-gallery-main .slick-track{ display:flex !important; align-items:center !important; }
  body#template-product .phone-gallery-main .slick-slide{ display:block !important; height:auto !important; }
  body#template-product .phone-gallery-main img{ display:block !important; width:100% !important; height:auto !important; object-fit:contain !important; }
}

/* Product mobile: horizontal gallery scroll */
@media (max-width: 1024px){
  body#template-product .phone-gallery-main{
    overflow-x: auto !important;
  }
  body#template-product .phone-gallery-track{
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    scroll-snap-type: x mandatory !important;
  }
  body#template-product .phone-gallery-slide{
    flex: 0 0 100% !important;
    scroll-snap-align: center !important;
  }
  body#template-product .phone-gallery-slide img{
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }
}


@media (max-width: 1024px){
  body#template-product .phone-gallery-main{ overflow: visible !important; }
  body#template-product .phone-gallery-thumbs{ margin-top: 8px !important; gap: 8px !important; flex-wrap: wrap !important; }
  body#template-product .phone-thumb-btn{
    border: 1px solid #e0e0e0 !important;
    padding: 4px !important;
    border-radius: 6px !important;
    background: #fff !important;
    width: 72px !important;
    height: 72px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body#template-product .phone-thumb-btn img{
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
}


@media (max-width: 1024px){
  body#template-product .phone-block-gallery{ margin-bottom: 12px !important; }
  body#template-product .phone-gallery-thumbs{ margin-bottom: 8px !important; }
  body#template-product .phone-block-summary{ margin-top: 0 !important; padding-top: 4px !important; }
}


@media (max-width: 1024px){
  body#template-product .phone-gallery-wrap{ position: relative !important; }
  body#template-product .phone-gallery-thumbs{
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 8px !important;
    margin-bottom: 12px !important;
  }
  body#template-product .phone-block-summary{
    clear: both !important;
    margin-top: 12px !important;
    padding-top: 6px !important;
  }
}

/* Product mobile: fix gallery stacking */
@media (max-width: 1024px){
  body#template-product .phone-gallery-main{ position: relative !important; padding-bottom: 8px !important; }
  body#template-product .phone-gallery-main img.phone-main-image{ display:block !important; width:100% !important; height:auto !important; margin-bottom: 8px !important; }
  body#template-product .phone-gallery-thumbs{
    position: static !important;
    z-index: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    justify-content: flex-start !important;
  }
  body#template-product .phone-thumb-btn{
    border: 1px solid #e0e0e0 !important;
    padding: 4px !important;
    border-radius: 6px !important;
    background: #fff !important;
    width: 72px !important;
    height: 72px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body#template-product .phone-thumb-btn img{
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
}


@media (max-width: 1024px){
  body#template-product .phone-block-gallery,
  body#template-product .phone-gallery-wrap,
  body#template-product .phone-gallery-main{
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
    position: relative !important;
  }
  body#template-product .phone-gallery-main img.phone-main-image{
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 10px !important;
  }
  body#template-product .phone-gallery-thumbs{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 12px 0 !important;
    width: 100% !important;
    position: static !important;
    z-index: auto !important;
  }
  body#template-product .phone-thumb-btn{
    width: 72px !important;
    height: 72px !important;
    border: 1px solid #e0e0e0 !important;
    padding: 4px !important;
    border-radius: 6px !important;
    background: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body#template-product .phone-thumb-btn img{
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
  body#template-product .phone-block-summary{
    clear: both !important;
    margin-top: 16px !important;
    padding-top: 8px !important;
  }
}


@media (max-width: 1024px){
  body#template-product .large-image img{
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    max-width: 100% !important;
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  body#template-product #gallery_02 .item,
  body#template-product #gallery_02 .item.slick-slide{
    position: static !important;
    height: auto !important;
  }
  body#template-product #gallery_02 img{
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }
  body#template-product .phone-gallery-main,
  body#template-product .phone-gallery-wrap,
  body#template-product .phone-block-gallery{
    position: relative !important;
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
  }
  body#template-product .phone-gallery-main img.phone-main-image{
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 10px !important;
  }
  body#template-product .phone-gallery-thumbs{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 12px 0 !important;
    position: static !important;
  }
}


@media (max-width: 1024px){
  body#template-product .phone-block-gallery,
  body#template-product .phone-gallery-wrap,
  body#template-product .phone-gallery-main,
  body#template-product .phone-gallery-thumbs{
    display: block !important;
    float: none !important;
    width: 100% !important;
  }
  body#template-product .phone-gallery-main{ margin-bottom: 12px !important; }
  body#template-product .phone-gallery-thumbs{ margin-top: 0 !important; margin-bottom: 14px !important; }
  body#template-product .phone-block-summary{
    clear: both !important;
    display: block !important;
    position: relative !important;
    margin-top: 14px !important;
    z-index: 0 !important;
  }
}


@media (max-width: 1024px){
  body#template-product .phone-product-shell .phone-block-gallery,
  body#template-product .phone-gallery-wrap{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    overflow: visible !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 0 14px 0 !important;
  }
  body#template-product .phone-gallery-main{
    order: 1 !important;
    display: block !important;
    width: 100% !important;
    position: relative !important;
    margin: 0 0 10px 0 !important;
  }
  body#template-product .phone-gallery-main img{
    position: static !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
  }
  body#template-product .phone-gallery-thumbs{
    order: 2 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 12px 0 !important;
    position: static !important;
    width: 100% !important;
  }
  body#template-product .phone-thumb-btn{ width:72px !important; height:72px !important; }
  body#template-product .phone-block-summary{
    order: 3 !important;
    clear: both !important;
    margin-top: 16px !important;
    padding-top: 8px !important;
    position: relative !important;
    z-index: 0 !important;
  }
}


@media (max-width: 1024px){
  body#template-product .phone-gallery-thumbs{ display: none !important; }
  body#template-product .phone-gallery-main{ margin-bottom: 12px !important; }
  body#template-product .phone-block-summary{ margin-top: 0 !important; padding-top: 8px !important; clear: both !important; }
}

/* Product mobile: gallery thumbs below main image */
@media (max-width: 1024px){
  body#template-product .phone-gallery-main{ margin-bottom: 10px !important; }
  body#template-product .phone-gallery-main img.phone-main-image{
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  body#template-product .phone-gallery-thumbs{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 0 14px 0 !important;
  }
  body#template-product .phone-thumb-btn{
    width: 64px !important;
    height: 64px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 4px !important;
    background: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body#template-product .phone-thumb-btn img{
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
  body#template-product .phone-block-summary{
    margin-top: 10px !important;
    padding-top: 8px !important;
    clear: both !important;
  }
}

/* Product/mobile: hide login/register link in header menu */
@media (max-width: 1024px){
  .navigation a[href*='/account'],
  .navigation a[href*='/customers'],
  .navigation a[href*='account/login'],
  .navigation a[href*='account/register']{
    display: none !important;
  }
}
