.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 circle with an orange X (round since 2026-11-22) */
header .dropdown-menu.shoppingcart-box .table .btn-danger {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 26px;
   height: 26px;
   padding: 0;
   line-height: 1;
   border: 1px solid #ddd;
   border-radius: 50%;
   background-color: #fff;
}
header .dropdown-menu.shoppingcart-box .table .btn-danger i {
   margin: 0;
   font-size: 13px;
   line-height: 1;
   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;
}

/* Biosef 2026-11-21: cart drop-down wider to the left; the size (e.g. 100 мл.) has its own column before the quantity */
@media (min-width: 768px) {
   header .btn-shopping-cart .dropdown-menu.shoppingcart-box {
      width: 600px;
   }
}
header .dropdown-menu.shoppingcart-box .table td.bf-mc-size {
   color: #666;
   padding-left: 10px;
   padding-right: 10px;
}

/* Biosef 2026-11-22: category / search lists - Сортирай по and Покажи are pill-shaped like the size field of the cart page
   (white, grey ring, round ends, grey chevron; orange ring on hover / focus) */
.short-by-show select#input-sort,
.short-by-show select#input-limit {
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   height: 36px;
   padding: 0 34px 0 16px;
   border: 1px solid #ddd;
   border-radius: 18px;
   background-color: #fff;
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
   background-repeat: no-repeat;
   background-position: right 13px center;
   background-size: 12px 12px;
   color: #333;
   font-size: 14px;
   box-shadow: none;
   cursor: pointer;
}
.short-by-show select#input-sort:hover,
.short-by-show select#input-limit:hover,
.short-by-show select#input-sort:focus,
.short-by-show select#input-limit:focus {
   border-color: #ff8a00;
   outline: none;
   box-shadow: none;
}
.short-by-show select#input-sort::-ms-expand,
.short-by-show select#input-limit::-ms-expand {
   display: none;
}

/* bf-sdd (user 2026-11-22): Сортирай по / Покажи - the round button and its own list, like the size list of the cart page */
.short-by-show .bf-sdd { position: relative; display: inline-block; vertical-align: middle; text-align: left; }
.short-by-show .bf-sdd > select { display: none !important; }
.short-by-show .bf-sdd-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 120px; height: 36px; padding: 0 12px 0 16px; border: 1px solid #ddd; border-radius: 18px; background: #fff; color: #333; font-size: 14px; line-height: 1; cursor: pointer; outline: none; }
.short-by-show .bf-sdd-btn .fa { color: #888; font-size: 12px; transition: transform .15s; }
.short-by-show .bf-sdd-btn:hover, .short-by-show .bf-sdd.open .bf-sdd-btn { border-color: #ff8a00; }
.short-by-show .bf-sdd.open .bf-sdd-btn .fa { transform: rotate(180deg); color: #ff8a00; }
.short-by-show .bf-sdd-list { display: none; position: absolute; z-index: 60; top: 42px; left: 50%; transform: translateX(-50%); min-width: 100%; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #eee; border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.short-by-show .bf-sdd.open .bf-sdd-list { display: block; }
.short-by-show .bf-sdd-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 6px; color: #333; font-size: 14px; white-space: nowrap; cursor: pointer; }
.short-by-show .bf-sdd-list li:hover { background: #fff3e6; color: #ff8a00; }
.short-by-show .bf-sdd-list li.sel { background: #ff8a00; color: #fff; font-weight: 600; }
.short-by-show .bf-sdd-list li .fa { font-size: 12px; color: inherit; }

/* bf-sdd-wide (user 2026-11-23): on phones Сортирай по and Покажи are long - each row is label left + list button over the rest of the width */
@media (max-width: 767px) {
.short-by-show.form-inline { float: none; width: 100%; text-align: left; margin-top: 14px; }
.short-by-show.form-inline .form-group { display: flex !important; align-items: center; width: 100%; margin: 0 0 10px !important; float: none !important; }
.short-by-show.form-inline .form-group > .control-label { flex: 0 0 105px; margin: 0 10px 0 0 !important; text-align: left; white-space: nowrap; }
.short-by-show .bf-sdd { display: block; flex: 1 1 auto; min-width: 0; }
.short-by-show .bf-sdd-btn { width: 100%; height: 42px; }
.short-by-show .bf-sdd-list { left: 0; right: 0; transform: none; width: 100%; top: 48px; }
}

/* Biosef 2026-11-23: the small pictures under the product picture keep the place the carousel will give them
   (3 or 5 in a row, 10px apart, square) before its script starts, so price and buttons do not jump (CLS). */
#thumb-slider:not(.owl2-loaded) {
   display: flex;
   overflow: hidden;
   gap: 10px;
}
#thumb-slider:not(.owl2-loaded) .image-additional {
   flex: 0 0 calc((100% - 20px) / 3);
   min-width: 0;
}
@media (min-width: 768px) {
   #thumb-slider:not(.owl2-loaded) .image-additional { flex-basis: calc((100% - 40px) / 5); }
}
@media (min-width: 992px) {
   #thumb-slider:not(.owl2-loaded) .image-additional { flex-basis: calc((100% - 20px) / 3); }
}
@media (min-width: 1200px) {
   #thumb-slider:not(.owl2-loaded) .image-additional { flex-basis: calc((100% - 40px) / 5); }
}
#thumb-slider .image-additional a.thumbnail img {
   aspect-ratio: auto 1 / 1;
   width: 100%;
}
