.rate {
    float: left;
    height: 46px;
    padding: 0 10px;
}
.rate:not(:checked) > input {
    position:absolute !important;
    top:-9999px !important;
    z-index: -9999 !important;
}
.rate:not(:checked) > label {
    float:right;
    width:1em;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:30px;
    color:#ccc;
}
.rate:not(:checked) > label:before {
    content: '★ ';
}
.rate > input:checked ~ label {
    color: #ffc700;    
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
    color: #deb217;  
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
    color: #c59b08;
}

/* Modified from: https://github.com/mukulkant/Star-rating-using-pure-css */

/*Add Css Custom Here*/
div.tshirtecommerce-btn-group{ 
	display: inline-block; 
	background-color: #ff3c20;
    border-radius: 3px;
    margin: 0 5px;
    padding: 0 10px;
   
    width: auto;
    vertical-align: top;
}
select#product-options{
  font-size: 16px;
}
div.tshirtecommerce-btn-group > a{ color: white; text-transform: uppercase;}
/*====== Fix bugs Megamenu not showing icon font (26/1/2018) =====*/
@media (min-width: 992px)  {
	.common-home .navbar-compact.typeheader-1 .container-megamenu.vertical #menuHeading .megamenuToogle-pattern:before,
	.common-home .navbar-compact.typeheader-1 .container-megamenu.vertical #menuHeading .megamenuToogle-pattern:after{display: none;}
	.common-home .navbar-compact.typeheader-1 .container-megamenu.vertical .vertical-wrapper{
      visibility: hidden;
      opacity: 0;
    }   
    .common-home .navbar-compact.typeheader-1 .container-megamenu.vertical:hover .vertical-wrapper{
      visibility: visible;
      opacity: 1;
      top: 40px; } 
}
@media (min-width: 992px){
	/*.menu-vertical .container-megamenu.vertical .vertical-wrapper ul.megamenu > li > a {    padding: 9px 0; line-height: 24px; height: auto;}
	.menu-vertical .container-megamenu.vertical .vertical-wrapper ul.megamenu > li > a i,
	.menu-vertical .container-megamenu.vertical .vertical-wrapper ul.megamenu > li > a b {
	    display: inline-block;
	}
	.menu-vertical .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.with-sub-menu > a:before{display: none;} */
	.menu-vertical .container-megamenu.vertical .vertical-wrapper ul.megamenu > li > a img{position: static; transform: inherit;}

}

.typeheader-12 .navbar-logo .logo{
	min-height: 40px;
}

@media (max-width: 480px){
	div.thumb-vertical-outer{padding:0}
	div.thumb-vertical-outer ul li .thumbnail.active {margin-top: 0%;}
}
@media (max-width: 992px){.div_sticky {display: none !important;}}
@media (max-width: 480px){
  .product-view .content-product-right .box-info-product .cart .btn.btn-checkout {
    margin: 0 2px !important;
}
  .product-view .content-product-right .box-info-product .cart .btn {
    width: 135px !important;
        margin-bottom: 5px;
}
.product-view .content-product-right .box-info-product .add-to-links .compare{
      margin-top: 5px;
    display: block;

}
.product-detail .box-info-product .cart .btn.btn-checkout{
  margin: 0 2px !important;
}
.product-detail .box-info-product .cart .btn{
   margin-bottom: 5px !important;
}
}
/* Header language/currency dropdowns: tablet dropdown fix.
   orange.css (layout24) shows these menus only on :hover at >=1199px and on .open at <=1024px,
   so between 1025px and 1198px (e.g. iPad landscape) they never become visible.
   Bootstrap adds .open on tap/click, so show the menu whenever it is open, at any width. */
header .btn-group.open > .dropdown-menu,
header .header-top .top-link > li.open > .dropdown-menu {
   margin-top: 0;
   opacity: 1;
   visibility: visible;
}

/* Biosef: the home banners keep their own size while they load, so the page below them does not jump */
img.lazyload[data-src$="/id24-bn1.jpg"], img.lazyloading[data-src$="/id24-bn1.jpg"],
img.lazyload[data-src$="/id24-bn2.jpg"], img.lazyloading[data-src$="/id24-bn2.jpg"],
img.lazyload[data-src$="/id24-bn3.jpg"], img.lazyloading[data-src$="/id24-bn3.jpg"],
img.lazyload[data-src$="/id24-bn4.jpg"], img.lazyloading[data-src$="/id24-bn4.jpg"] {
   aspect-ratio: 240 / 140;
}
img.lazyload[data-src$="/id24-bn8.jpg"], img.lazyloading[data-src$="/id24-bn8.jpg"] {
   aspect-ratio: 276 / 370;
}

/* Quick view popup: the whole product without an inner scroll, a header bar with a visible close button.
   The iframe height is set by so.system.js from the height of the product inside it. */
.my-mfp-zoom-in .mfp-iframe-holder {
   padding-top: 20px;
   padding-bottom: 20px;
}
.my-mfp-zoom-in .mfp-iframe-holder .mfp-content {
   max-width: 1000px;
   padding-bottom: 10px;
   line-height: normal;
   background: #fff;
   border-radius: 6px;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.my-mfp-zoom-in .mfp-iframe-holder .mfp-iframe-scaler {
   position: relative;
   height: auto;
   padding-top: 48px;
   overflow: visible;
}
.my-mfp-zoom-in .mfp-iframe-holder .mfp-iframe-scaler:before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 48px;
   background: #f5f5f5;
   border-bottom: 1px solid #e5e5e5;
   border-radius: 6px 6px 0 0;
}
.my-mfp-zoom-in .mfp-iframe-holder .mfp-iframe-scaler iframe {
   position: static;
   height: 500px;
   padding: 0 15px;
   background: #fff;
   box-shadow: none;
   border-radius: 0 0 6px 6px;
}
.my-mfp-zoom-in .mfp-iframe-holder .mfp-close {
   top: 0 !important;
   right: 0 !important;
   left: auto !important;
   width: 48px !important;
   height: 48px !important;
   line-height: 48px !important;
   margin: 0 !important;
   padding: 0 !important;
   background: transparent !important;
   color: #333 !important;
   opacity: 1 !important;
   font-size: 34px !important;
   text-align: center !important;
   z-index: 2;
}
.my-mfp-zoom-in .mfp-iframe-holder .mfp-close:hover {
   color: #f5821f !important;
}

/* Header: counts on the Compare and Favorites buttons, the same badge as on the cart */
header .top-link-wishlist {
   position: relative;
}
header .top-link-wishlist .biosef-count {
   position: absolute;
   top: -12px;
   left: 32px;
   width: 23px;
   height: 23px;
   line-height: 23px;
   border-radius: 100%;
   background: #fb8a00;
   color: #fff;
   font-family: Muli, sans-serif;
   font-size: 12px;
   font-weight: 400;
   text-align: center;
   z-index: 1;
}

/* Header: the hover lists of Compare and Favorites, the same box as the cart's (template extension/biosef/lists_box.twig) */
header .biosef-hdrop {
   position: relative;
}
header .biosef-hdrop .dropdown-menu {
   top: 100%;
   padding: 0;
}
/* outside the cart the theme's header link look wins over the buttons, so the cart's button look and price colour are set here */
header .biosef-hdrop .dropdown-menu .checkout {
   display: flex;
   justify-content: space-between;
   gap: 10px;
   padding: 10px 20px;
}
header .biosef-hdrop .dropdown-menu .checkout:before,
header .biosef-hdrop .dropdown-menu .checkout:after {
   display: none;
}
header .biosef-hdrop .dropdown-menu .checkout .btn {
   display: inline-block;
   padding: 9px 15px;
   white-space: normal;
   line-height: 20px;
   text-align: center;
   color: #fff;
}
header .biosef-hdrop .dropdown-menu .checkout .btn-view-cart {
   background-color: #495057;
}
header .biosef-hdrop .dropdown-menu .checkout .btn-checkout {
   background-color: #fb8a00;
}
header .biosef-hdrop .dropdown-menu .checkout .btn-view-cart:hover {
   background-color: #fb8a00;
}
header .biosef-hdrop .dropdown-menu .checkout .btn-checkout:hover {
   background-color: #495057;
}
header .biosef-hdrop .dropdown-menu .table .text-right {
   color: #888;
}

/* Header: the cart, Compare and Favorites lists show all products, without a scroll bar */
header .shopping_cart .dropdown-menu .content-item {
   max-height: none;
   overflow: visible;
}

/* Header: the remove button in the cart, Compare and Favorites lists is a small square with an orange X */
header .dropdown-menu.shoppingcart-box .table .btn-danger {
   width: 22px;
   height: 22px;
   padding: 0;
   line-height: 20px;
   border: 1px solid #ddd;
   border-radius: 3px;
   background-color: #fff;
}
header .dropdown-menu.shoppingcart-box .table .btn-danger i {
   margin: 0;
   font-size: 13px;
   color: #fb8a00;
}
header .dropdown-menu.shoppingcart-box .table .btn-danger:hover {
   border-color: #fb8a00;
   background-color: #fb8a00;
}
header .dropdown-menu.shoppingcart-box .table .btn-danger:hover i {
   color: #fff;
}

/* Header: wider cart, Compare and Favorites lists; quantity and prices stay on one line, the remove button at the right edge */
@media (min-width: 768px) {
   header .btn-shopping-cart .dropdown-menu.shoppingcart-box {
      width: 440px;
   }
}
header .dropdown-menu.shoppingcart-box .table td.text-right {
   white-space: nowrap;
}
header .dropdown-menu.shoppingcart-box .table td:last-child {
   width: 1%;
   padding-left: 12px;
   padding-right: 10px;
   text-align: right;
}

/* Biosef 2026-11-17: reserve the square space of product pictures before they load, so the text and
   buttons under them do not jump on phones (Core Web Vitals CLS). 'auto' keeps a picture's real
   proportions once it has loaded. */
.large-image img.product-image-zoom,
.product-item-container .product-image-container img {
   aspect-ratio: auto 1 / 1;
}
.large-image img.product-image-zoom {
   width: 100%;
   height: auto;
}
