

@import url(../css/global.css);
@import url(../css/normalize.css);
@import url(../css/product.css);
@import url(../css/products-grid.css);
@import url(../css/simplebar.css);
@import url(../css/style.css);


  @media (max-width: 1500px) {

.popup-form-product{
  display: block !important;
}

.product-quantity{
  margin: 0 !important;
}





    .name_pop{
      font-size: 18px;
    color: #333;
    font-weight: bold;
    margin: 0 !important;
    }
      
         .stext-101 {
    font-size: 12px !important;
       }
      .container{
          max-width:100% !important;
      }
      .hov-cl1 {
    
}
  }
   @media (max-width: 760px) {
ul.ks-cboxtags{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
}

.wrap-icon-header{
    left: 0% !important;
}

.item-slick1 {
  background-image: url(../images/back/slide-02.png) !important;
  
}

.product-container {
    position: inherit !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
}
.row.isotope-grid.product-container{
    height: auto !important;
}

.no-favorites{
  top: 35px !important;
}

.popup-product1{
  background-color: #f9f9f9; 
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    width: calc(71.333% - 48px) !important;
    box-sizing: border-box;
    position: relative;
}
.product-container .isotope-item {
   
    transform: none !important;
    padding: 3px;
            min-height: 350px;
    position: inherit !important;
}
       body > section:nth-child(4){
        
           
       }
       .quantity-display {
    margin: 0 5px !important;
    font-size: 12px !important;
       }
       .under-text{
           width: 100% !important;
           left: 0px !important;
           
       }
       .bor1{
        top: 53%;
       }
       /* mobile menu is controlled only by JS slideDown/slideUp; .active forced display removed */
       .stext-101 {
    font-size: 12px !important;
       }
       .right-top-bar a{
           font-size: 12px !important;
       }
       .size-206 {
    line-height: 1 !important;
       }
       .cart-table th{
               padding-right: 20px !important;
       }
 .cart-table th, .cart-table td {
    padding: 5px !important;
 }
 .cart-table th{
     font-weight: 500 !important;
 }
 .remove-button{
         font-size: 12px !important;
 }
 .cart-table th, .cart-table td{
     font-size: 12px;
     
 }
 .cart-table img {
    width: 65px !important;
 }
 .cart-table .product-name {
    font-size: 10px !important;
 }
 .cart-table .product-detail {
    font-size: 10px !important;
 }
   }

/*------------------------------------------------------------------
Project:  
Version:  
Last change:  
Assigned to:  Le Xuan Bach
Primary use:  Company
-------------------------------------------------------------------*/
/*------------------------------------------------------------------
[LAYOUT]

* body
  + Header / header
  + Page Content / .page-content .name-page
        + Section Layouts / section .name-section
        ...
  + Footer / footer

-------------------------------------------------------------------*/
/*------------------------------------------------------------------
[COLOR CODES]

# Text Color      :  
# Primary Color 01:  
# Primary Color 02:   
# Primary Color 03:  

------------------------------------------------------------------*/
/*------------------------------------------------------------------
[TYPOGRAPHY]

Body            : 16px/1.6 '', Arial, sans-serif;
Title           : 18px/1.6 '', Arial, sans-serif;
Paragrap        : 18px/1.6 '', Arial, sans-serif;
Input, textarea : 14px/1.6 '', Arial, sans-serif;
-------------------------------------------------------------------*/



/*//////////////////////////////////////////////////////////////////
[ FONT ]*/

@import url(https://db.onlinewebfonts.com/c/42463d3339b0a24b7721361b09d4ef86?family=Captura+Now+Medium);

@font-face {
  font-family: "Captura Now Medium";
  src: url("https://db.onlinewebfonts.com/t/42463d3339b0a24b7721361b09d4ef86.eot");
  src: url("https://db.onlinewebfonts.com/t/42463d3339b0a24b7721361b09d4ef86.eot?#iefix")format("embedded-opentype"),
  url("https://db.onlinewebfonts.com/t/42463d3339b0a24b7721361b09d4ef86.woff2")format("woff2"),
  url("https://db.onlinewebfonts.com/t/42463d3339b0a24b7721361b09d4ef86.woff")format("woff"),
  url("https://db.onlinewebfonts.com/t/42463d3339b0a24b7721361b09d4ef86.ttf")format("truetype"),
  url("https://db.onlinewebfonts.com/t/42463d3339b0a24b7721361b09d4ef86.svg#Captura Now Medium")format("svg");
}

@font-face {
  font-family: Poppins-Regular;
  src: url('../fonts/Poppins/Poppins-Regular.ttf'); 
}

@font-face {
  font-family: Poppins-Light;
  src: url('../fonts/Poppins/Poppins-Light.ttf'); 
}

@font-face {
  font-family: Poppins-ExtraLight;
  src: url('../fonts/Poppins/Poppins-ExtraLight.ttf'); 
}

@font-face {
  font-family: Poppins-Medium;
  src: url('../fonts/Poppins/Poppins-Medium.ttf'); 
}

@font-face {
  font-family: Poppins-Italic;
  src: url('../fonts/Poppins/Poppins-Italic.ttf'); 
}

@font-face {
  font-family: Poppins-Bold;
  src: url('../fonts/Poppins/Poppins-Bold.ttf'); 
}

@font-face {
  font-family: Poppins-SemiBold;
  src: url('../fonts/Poppins/Poppins-SemiBold.ttf'); 
}


/*---------------------------------------------*/
@font-face {
  font-family: PlayfairDisplay-Regular;
  src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Regular.ttf'); 
}

@font-face {
  font-family: PlayfairDisplay-Bold;
  src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Bold.ttf'); 
}

/*---------------------------------------------*/
@font-face {
  font-family: Montserrat-Regular;
  src: url('../fonts/Montserrat/Montserrat-Regular.ttf'); 
}

@font-face {
  font-family: Montserrat-Bold;
  src: url('../fonts/Montserrat/Montserrat-Bold.ttf'); 
}


/*//////////////////////////////////////////////////////////////////
[ RS PLUGIN ]*/

/*------------------------------------------------------------------
[ Bootstrap ]*/
.container {max-width: 1380px;}

@media (max-width: 1600px) {
  .container {max-width: 1375px;}
}

/*------------------------------------------------------------------
[ Slick2 ]*/
.slick-slide {outline: none !important;}

@media (max-width: 1750px) {
   .item-slick1{
       height: calc(90vh - 40px) !important;
   }
}



/*//////////////////////////////////////////////////////////////////
[ LOADDING ]*/
.animsition-loading-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.loader05 {
  width: 56px;
  height: 56px;
  border: 4px solid #717fe0;
  border-radius: 50%;
  position: relative;
  animation: loader-scale 1s ease-out infinite;
  top: 50%;
  margin: -28px auto 0 auto; 
}

@keyframes loader-scale {
  0% {
    transform: scale(0);
    opacity: 0; }
  50% {
    opacity: 1; }
  100% {
    transform: scale(1);
    opacity: 0; } 
}

.under-text {
  display: flex;
  flex-direction: column;
  align-items: center; /* Центрирует содержимое по горизонтали */
  width: 100%; /* Контейнер занимает всю ширину страницы */
}


/*//////////////////////////////////////////////////////////////////
[ BUTTON BACK TO TOP ]*/
.btn-back-to-top {
  display: none;
  position: fixed;
  width: 40px;
  height: 38px;
  bottom: 0px;
  right: 40px;
  background-color:#303031;
  opacity: 0.5;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

.symbol-btn-back-to-top {
  font-size: 25px;
  color: white;
  line-height: 1em;
}

.btn-back-to-top:hover {
  opacity: 1;
  background-color: #717fe0;
}

@media (max-width: 575px) {
  .btn-back-to-top {
    bottom: 0px;
    right: 15px;
  }
}


/*//////////////////////////////////////////////////////////////////
[ Header ]*/

/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[ Header Desktop ]*/

.container-menu-desktop {
  height: auto;
  width: 100%;
  position: relative;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.header-v2 .container-menu-desktop {
  height: 84px;
}

.header-v3 .container-menu-desktop {
  height: auto;
}

.header-v4 .container-menu-desktop {
  height: 124px;
}



/*==================================================================
[ Top bar ]*/
.top-bar {
  height: 40px;
  background-color: black;
}

/*---------------------------------------------*/
.left-top-bar {
    font-size: 13px;
    line-height: 1.8;
    color: #f3f3f3;
}


/*---------------------------------------------*/
.right-top-bar a {
  font-family: Poppins-Regular;
  font-size: 20px;
  line-height: 1.8;

  height: 100%;
  color: #b2b2b2;
 
}

.right-top-bar a:first-child {
     border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.right-top-bar a:hover {
  color: #6c7ae0;
}


/*---------------------------------------------*/
.topbar-mobile li {
  padding: 8px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background-color: #222;
}



/*==================================================================
[ Menu ]*/

@font-face {
  font-family: 'DIN Condensed';
  src: url('DINCondensed-Light.eot');
  src: local('DIN Condensed Light'), local('DINCondensed-Light'),
      url('DINCondensed-Light.eot?#iefix') format('embedded-opentype'),
      url('DINCondensed-Light.woff2') format('woff2'),
      url('DINCondensed-Light.woff') format('woff'),
      url('DINCondensed-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'DIN Condensed';
  src: url('DINCondensed-Regular.eot');
  src: local('DIN Condensed'), local('DINCondensed-Regular'),
      url('DINCondensed-Regular.eot?#iefix') format('embedded-opentype'),
      url('DINCondensed-Regular.woff2') format('woff2'),
      url('DINCondensed-Regular.woff') format('woff'),
      url('DINCondensed-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}



.top-nav, .bottom-nav {
    display: table;
    justify-content: center;
    padding: 8px 0;
    margin: 0px 445px;
    margin-left: -155px;
}

.top-nav a, .bottom-nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #303031;
    font-size: 17px;
    transition: color 0.3s ease;
    position: relative;
    font-family: 'DIN Condensed';
}

.top-nav a:not(:last-child), .bottom-nav a:not(:last-child) {
    border-right: 1px solid #ccc; /* Вертикальная серая линия */
    padding-right: 15px;
}

.top-nav a:not(:first-child), .bottom-nav a:not(:first-child) {
   
}

.bottom-nav a {
    font-size: 23px;
    
}

/* Hover effect */
.top-nav a:hover, .bottom-nav a:hover {
    color: #717fe0; /* Измените этот цвет по вашему усмотрению */
}


.wrap-menu-desktop {
  position: fixed;
  z-index: 1100;
  background-color: transparent;
  width: 100%;
  height: 84px;
  left: 0px; 
  background-color: #ECECEC;
  -webkit-transition: height 0.3s, background-color 0.3s;
  -o-transition: height 0.3s, background-color 0.3s;
  -moz-transition: height 0.3s, background-color 0.3s;
  transition: height 0.3s, background-color 0.3s;
}

.header-v2 .wrap-menu-desktop {
  background-color: #fff;
  top: 0;
}

.header-v3 .wrap-menu-desktop {
  background-color: transparent;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-v4 .wrap-menu-desktop {
  background-color: #ECECEC;
}


/*---------------------------------------------*/
.limiter-menu-desktop {
  height: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  align-items: center;
  background-color: transparent;
}



/*------------------------------------------------------------------
[ Logo ]*/
.logo {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
 
  margin-right: 185px;
}

/* Стили для Safari */
.safari .logo img {
  max-width: 75%;
  
}

/* Стили для Safari */
.safari .menu-desktop {

  
}

/* Стили для всех остальных браузеров */
.logo img {
 
}

.safari .wrap-icon-header{
flex-grow: 1;
  right: 5%;
    position: relative;

}




/*------------------------------------------------------------------
[ Menu ]*/

.menu-desktop {
  
  display: -moz-box;
  display: -ms-flexbox;
  align-items: center;
  height: 100%;
}

.main-menu {
  list-style-type: none;
  margin: 0;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}

.main-menu > li {
  display: block;
  position: relative;
  padding: 20px 10px 20px 0px;
  margin: 0px 4px 0px 14px;
}

.main-menu > li > a {
  font-family: Poppins-Medium;
  font-size: 18px;
    font-weight: 700;
  color: #333;
  padding: 5px 0px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

.header-v3 .main-menu > li > a {
  color: #fff;
}

/*---------------------------------------------*/
.sub-menu {
  list-style-type: none;
  position: absolute;
  top:0;
  left:100%;
  min-width: 178px;
  max-width: 225px;
  background-color: #fff;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  padding: 5px 0;

  box-shadow: 0 1px 5px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 1px 5px 0px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 1px 5px 0px rgba(0,0,0,0.2);
  -o-box-shadow: 0 1px 5px 0px rgba(0,0,0,0.2);
  -ms-box-shadow: 0 1px 5px 0px rgba(0,0,0,0.2);

  visibility: hidden;
  opacity: 0; 
}

.sub-menu li {
  position: relative;
  background-color: transparent;

  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

.main-menu > li > .sub-menu {
  top:80%;
  left: 0;
}

.sub-menu a {
    font-family: Poppins-Regular;
    font-size: 17px;
    line-height: 1.5;
    color: #000;
    display: block;
    padding: 5px 22px;
    width: 100%;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
}

/*---------------------------------------------*/
.main-menu > li:hover > a {
  text-decoration: none;
  color: #6c7ae0;
}

.main-menu > li:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
}

.sub-menu li:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
} 

.sub-menu li:hover {
  background-color: transparent;
}

.sub-menu > li:hover > a {
  color: #6c7ae0;
  text-decoration: none;
}

@media (max-width: 1300px) {
  .main-menu > .respon-sub-menu .sub-menu {
    right: 100%;
    left: auto;
  }

  .main-menu > .respon-sub-menu > .sub-menu {
    right: 0px;
    left: auto;
  }
}

/*------------------------------------------------------------------
[ Icon header ]*/

.wrap-icon-header {
  flex-grow: 1;
  right: 15%;
    position: relative;
}

.icon-header-item {
  position: relative;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}



.sssss{
  position: relative;
  top: -20px;
  left: -3px;
  font-size: 15px;
  background-color: palegreen;
}

/*---------------------------------------------*/
.icon-header-noti::after {
  content: attr(data-notify);
  font-family: Poppins-Regular;
  font-size: 16px;
  color: #000;
  line-height: 15px;
  text-align: center;
  display: block;
  position: absolute;
  top: -11px;
  right: 0;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;

}

/*---------------------------------------------*/
.wrap-header-mobile .wrap-icon-header {
  flex-grow: unset;
}


/*------------------------------------------------------------------
[ Modal search ]*/
.modal-search-header {
  position: fixed;
  z-index: 2000;
  width: 100%;
  height: 100%;
  bottom: 101%;
  left: 0;
  background-color: rgba(255,255,255,0.9);
  padding: 50px 15px 100px 15px;
 
}

.show-modal-search {
  bottom: 0;
}

.container-search-header {
  width: auto;
  max-width: 100%;
  position: relative;
}

/*---------------------------------------------*/
.btn-hide-modal-search {
  position: absolute;
  padding: 5px;
  right: 0;
  top: -45px;
  opacity: 0.8;
}

.btn-hide-modal-search:hover {
  opacity: 1;
}

.wrap-search-header {
  width: 960px;
  max-width: 100%;
  height: 120px;
  border: 2px solid #e6e6e6;
  background: #fff;
}

/*---------------------------------------------*/
.wrap-search-header input {
  font-family: Poppins-ExtraLight;
  font-size: 50px;
  line-height: 1.2;
  color: #333;
  
  padding: 0px 30px 0px 0px;
  width: calc(100% - 70px);
  height: 100%;
  background-color: transparent;
}

.wrap-search-header button {
  font-size: 50px;
  color: #333;
  width: 70px;
  height: 100%;
}

.wrap-search-header button:hover {
  color: #6c7ae0;
}

/*---------------------------------------------*/
@media (max-width: 767px) {
  .wrap-search-header input,
  .wrap-search-header button {
    font-size: 30px;
  }

  .wrap-search-header {
    height: 90px;
  }
}

@media (max-width: 575px) {
  .wrap-search-header input,
  .wrap-search-header button {
    font-size: 20px;
  }

  .wrap-search-header button {
    width: 40px;
  }

  .wrap-search-header {
    height: 80px;
  }
}


/*==================================================================
[ Fixed menu desktop ]*/

.fix-menu-desktop .wrap-menu-desktop {
  height: 100px;
  box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
  -o-box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
  -ms-box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
}

.header-v2 .fix-menu-desktop.container-menu-desktop {
  height: 70px;
}

.header-v3 .fix-menu-desktop .wrap-menu-desktop {
  background-color: #222;
  border-color: #222;
}

.header-v4 .fix-menu-desktop.container-menu-desktop {
  height: 110px;
}

/*---------------------------------------------*/




/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[ Header Mobile ]*/
.wrap-header-mobile {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  height: 70px;
  background-color: #fff;
  padding: 15px;
  display: none;

  box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
  -o-box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
  -ms-box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
}

/*------------------------------------------------------------------
[ Logo mobile ]*/
.logo-mobile {
  display: block;
  position: relative;
  height: 80%;
  padding-right: 25px;
  -webkit-flex-grow: 1;
  -moz-flex-grow: 1;
  flex-grow: 1;
}

.logo-mobile img {
  max-width: calc(100% - 20px);
  max-height: 100%;
  position:absolute;
  top: 0; 
  left: 0; 
  bottom: 0;
  margin: auto;
}



/*------------------------------------------------------------------
[ btn show menu ]*/
.hamburger {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  padding: 0;
  -webkit-transform: scale(0.7);
  -moz-transform: scale(0.7);
  -ms-transform: scale(0.7);
  -o-transform: scale(0.7);
  transform: scale(0.7);
}

.hamburger:hover {
  opacity: 1;
}

/*---------------------------------------------*/
@media (max-width: 991px){
  .wrap-header-mobile {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
  }
  .container-menu-desktop {display: none;}
}

/*==================================================================
[ Menu mobile ]*/
.menu-mobile {
  width: 100%;
  background-color: white;
  display: none;
}

.main-menu-m {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color:#181818;;
}

.main-menu-m > li > a {
  font-family: Poppins-Medium;
  font-size: 14px;
  color: white;
  line-height: 2.8;
  padding: 8px 20px 8px 20px;
}

.main-menu-m > li {
  color: white;
  position: relative;
}

.arrow-main-menu-m {
  font-size: 14px;
  color: #fff;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 10px;
  top: 2px;
  padding: 10px;
  cursor: pointer;
}

.arrow-main-menu-m i {
  transform-origin: center;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.turn-arrow-main-menu-m i {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

/*---------------------------------------------*/
.sub-menu-m {
  background-color: #fff;
  padding: 10px 15px 10px 32px;
  display: none;
}

.sub-menu-m a {
  font-family: Poppins-Regular;
  font-size: 14px;
  color: #666;
  line-height: 2.5;
  padding: 5px 0 5px 0;
}

.sub-menu-m a:hover {
  text-decoration: none;
  color: #555555;
}

@media (min-width: 992px){
  .menu-mobile {
    display: none;
  }
}


/*//////////////////////////////////////////////////////////////////
[ Sidebar ]*/
.wrap-sidebar {
  position: fixed;
  z-index: 1100;
  width: 100%;
  height: 100vh;
  top: 0;
  right: 0;
  background-color: rgba(0,0,0,0.0);
  visibility: hidden;
  
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;  
  transition: all 0.4s;
}

.sidebar {
  position: fixed;
  z-index: 1100;
  width: 390px;
  max-width: calc(100% - 30px);
  height: 100vh;
  top: 0;
  right: -400px;
  background-color: #fff;
  
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.34;  
  transition: all 0.4s;

  box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
  -moz-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
  -webkit-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
  -o-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
  -ms-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
}

.show-sidebar {
  visibility: visible;
  background-color: rgba(0,0,0,0.6);
}

.show-sidebar .sidebar {
  right: 0;
}

@media (max-width: 991px) {
  .wrap-sidebar {
    display: none;
  }
}

/*---------------------------------------------*/
.sidebar-content {
  flex-grow: 1;
  overflow: auto;
  align-content: space-between;
}

/*---------------------------------------------*/
.wrap-item-gallery {
  width: calc((100% - 20px) / 3);
}

.item-gallery {
  display: block;
  width: 100%;
  padding-top: 100%;
  position: relative;
}

.item-gallery::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(103,117,214,0.8);
  opacity: 0;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.34;  
  transition: all 0.4s;
}

.item-gallery:hover:after {
  opacity: 1;
}


/*//////////////////////////////////////////////////////////////////
[ Header cart ]*/
.wrap-header-cart {
  position: fixed;
  z-index: 1100;
  width: 100%;
  height: 100vh;
  top: 0;
  right: 0;
  background-color: rgba(0,0,0,0.0);
  visibility: hidden;
  
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;  
  transition: all 0.4s;
}

.header-cart {
  position: fixed;
  z-index: 1100;
  width: 390px;
  max-width: calc(100% - 30px);
  height: 100vh;
  top: 0;
  right: -400px;
  background-color: #fff;
  
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.34;  
  transition: all 0.4s;

  box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
  -moz-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
  -webkit-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
  -o-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
  -ms-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
}

.header-cart::after {
  content: "";
  display: block;
  width: 100%;
  height: 9%;
  min-height: 30px;
}

.show-header-cart {
  visibility: visible;
  background-color: rgba(0,0,0,0.6);
}

.show-header-cart .header-cart {
  right: 0;
}

/*---------------------------------------------*/
.header-cart-title {
  width: 260px;
  max-width: 100%;
  height: 16.5%;
  min-height: 85px;
}

.header-cart-content {
  flex-grow: 1;
  overflow: auto;
  align-content: space-between;
}

.header-cart-wrapitem {
  flex-grow: 1;
}

/*---------------------------------------------*/
.header-cart-item-img {
  width: 60px;
  position: relative;
  margin-right: 20px;
  cursor: pointer;
}

.header-cart-item-img img {
  width: 100%;
}

.header-cart-item-img::after {
  content: '\e870';
  font-family: Linearicons-Free;
  font-size: 16px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  -moz-transition: all 0.3s;
  opacity: 0;
}

.header-cart-item-img:hover:after {
  opacity: 1;
}

/*---------------------------------------------*/
.header-cart-item-txt {
  width: calc(100% - 80px);
}

.header-cart-item-name {
  display: block;
  font-family: Poppins-Regular;
  font-size: 14px;
  color: #555;
  line-height: 1.3;
}

.header-cart-item-info {
  display: block;
  font-family: Poppins-Regular;
  font-size: 14px;
  color: #888;
  line-height: 1.5;
}

.header-cart-total {
  font-family: Poppins-Regular;
  font-size: 18px;
  color: #222;
  line-height: 1.3;

}


.text__filtr{
  
}

/*---------------------------------------------*/
@media (max-width: 575px) {
  .header-cart {
    padding: 30px;
  }

  .header-cart-title {
    padding-bottom: 35px;
  }
}


ul.ks-cboxtags {
  list-style: none;
  padding: 6px;
  display: inline-flex;
}
ul.ks-cboxtags li{
display: inline;
}
ul.ks-cboxtags li label{
  display: inline-block;
  background-color: rgba(255, 255, 255, .9);
  border: 2px solid rgba(139, 139, 139, .3);
  color: #adadad;
  border-radius: 25px;
  white-space: nowrap;
  margin: 3px 0px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all .2s;
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Настройте расстояние по мере необходимости */
}





ul.ks-cboxtags li label {
  padding: 8px 12px;
  cursor: pointer;
}

ul.ks-cboxtags li label::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  padding: 2px 6px 2px 2px;
  content: "\+";
  transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label::before {
  content: "\f00c";
  transform: rotate(-360deg);
  transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label {
  border: 2px solid #1bdbf8;
  background-color: #12bbd4;
  color: #fff;
  transition: all .2s;
}

ul.ks-cboxtags li input[type="checkbox"] {
display: absolute;
}
ul.ks-cboxtags li input[type="checkbox"] {
position: absolute;
opacity: 0;
}
ul.ks-cboxtags li input[type="checkbox"]:focus + label {
border: 2px solid #e9a1ff;
}

/*//////////////////////////////////////////////////////////////////
[ Restyle Select2 ]*/

.rs1-select2 .select2-container {
  display: block;
  max-width: 100% !important;
  width: auto !important;
}

.rs1-select2 .select2-container .select2-selection--single {
  height: 45px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  border: none;
  outline: none;
  background-color: transparent;
  border-radius: 0px;
  position: relative;
}

/*------------------------------------------------------------------
[ in select ]*/
.rs1-select2 .select2-container .select2-selection--single .select2-selection__rendered {
  font-family: Poppins-Regular;
  font-size: 17px;
  color: #555;
  line-height: 1.2;
  padding-left: 20px;
  background-color: transparent;
}

.rs1-select2 .select2-container--default .select2-selection--single .select2-selection__arrow {
  width: 38px;
  height: 20px;
  top: calc(50% - 10px);
  right: 5px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #e6e6e6;
}

.rs1-select2 .select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.rs1-select2 .select2-container--default .select2-selection--single .select2-selection__arrow::after {
  content: "\f0dc";
  font-family: FontAwesome;
  font-size: 13px;
  color: #808080;
}

.rs1-select2 .select2-container--default .select2-selection--single .select2-selection__arrow:hover:after {
  color: #6c7ae0;
}


/*------------------------------------------------------------------
[ Dropdown option ]*/
.rs1-select2 .select2-container--open .select2-dropdown {
  z-index: 1251;
  width: 100%;
  border: 1px solid #fff;
  border-radius: 0px;
  overflow: hidden;
  background-color: white;
  left: 0px;

  box-shadow: 0 3px 10px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 3px 10px 0px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 3px 10px 0px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0 3px 10px 0px rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0 3px 10px 0px rgba(0, 0, 0, 0.2);
}

#clear-cart {
  background-color: #D76B6B; /* Цвет фона */
  color: #fff; /* Цвет текста */
  border: none; /* Убираем границу */
  padding: 10px 20px; /* Внутренние отступы */
  font-size: 16px; /* Размер шрифта */
  cursor: pointer; /* Изменение курсора при наведении */
  transition: background-color 0.3s ease; /* Плавное изменение цвета фона */
}

#clear-cart:hover {
  background-color: #000000; /* Цвет фона при наведении */
}


.sdadsd{
  width: 200px;

}

.cart-popup {
  display: none;
  position: absolute;
  top: 95px;
  right: 1px;
  max-width: 300px;
  background-color: #fff;
 
  padding: 20px;
  z-index: 1000;
  overflow-y: scroll;
  
}


.cart-popup-content {
  text-align: center;
}

.cart-popup-content img {
  max-width: 100%;
  height: auto;
}

.cart-popup-content .close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}


.rs1-select2 .select2-dropdown--above {top: -2px;}
.rs1-select2 .select2-dropdown--below {top: 2px;}

.rs1-select2 .select2-container .select2-results__option[aria-selected] {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
}

.rs1-select2 .select2-container .select2-results__option[aria-selected="true"] {
  background: #D76B6B;
  color: white;
}

.rs1-select2 .select2-container .select2-results__option--highlighted[aria-selected] {
  background: #D76B6B;
  color: white;
}

.popup-order-sent {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    padding: 15px;
    margin-top: 10px;
    text-align: center;
}


.rs1-select2 .select2-results__options {
  font-family: Poppins-Regular;
  font-size: 13px;
  color: #555;
  line-height: 1.2;
}

.rs1-select2 .select2-search--dropdown .select2-search__field {
  border: 1px solid #aaa;
  outline: none;
  font-family: Poppins-Regular;
  font-size: 13px;
  color: #555;
  line-height: 1.2;
}



/*------------------------------------------------------------------
[ rs2 ]*/
.rs2-select2 .select2-container .select2-selection--single {
  height: 40px;
}

.rs2-select2 .select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 15px;
}

.rs2-select2 .select2-container--default .select2-selection--single .select2-selection__arrow {
  width: 35px;
  right: 0px;
  border-left: none;
}

.rs2-select2 .select2-container--default .select2-selection--single .select2-selection__arrow::after {
  content: "\f0d7";
}



/*//////////////////////////////////////////////////////////////////
[ Slick1 ]*/
.wrap-slick1 {
  position: relative;
}

.item-slick1 {
  height: calc(100vh - 40px);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.rs1-slick1 .item-slick1 {
  height: calc(100vh - 84px);
}

.rs2-slick1 .item-slick1 {
  height: 100vh;
}

@media (max-width: 991px) {
  .item-slick1 {
    height: calc(70vh - 70px) !important;
    width: 641px !important;

    /*display: block !important;
    width: 2000px !important;
    position: relative !important;
    left: -1150px !important;
    top: 0px !important;
    z-index: 999 !important;
    opacity: 1 !important;
    transform: scale(0.7) !important;*/
}

.bor1{
  left: 55% !important;
}

  }


.arrow-slick1 {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: auto;
  font-size: 80px;
  color: rgba(0,0,0,0.3);
  position: absolute;
  opacity: 0;
  
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);

  z-index: 200;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.wrap-slick1:hover .arrow-slick1 {
  opacity: 1;
}

.arrow-slick1:hover {
  color: #6c6d6e;
}

.next-slick1 {
  right: 50px;
  left: auto;
}

.prev-slick1 {
  left: 50px;
  right: auto;
}

@media (max-width: 991px) {
  .next-slick1 {
    right: 15px;
  }

  .prev-slick1 {
    left: 15px;
  }
}

/*---------------------------------------------*/
.rs2-slick1 .arrow-slick1 {
  color: rgba(255,255,255,0.3);
}

.rs2-slick1 .arrow-slick1:hover {
  color: #7280e0;
}

.wrap-slick1-dots {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 60px;
}

.slick1-dots {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
}

.slick1-dots li {
  max-width: 190px;
  position: relative;
  cursor: pointer;
  margin-right: 1px;
}

.slick1-dots li img {
  width: 100%;
}

.caption-dots-slick1 {
  font-family: Poppins-ExtraLight;
  font-size: 16px;
  line-height: 1.3;
  color: #fff;
  text-align: center;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.5);
  padding: 5px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
  opacity: 0;
}

.slick1-dots li:hover .caption-dots-slick1 {
  opacity: 1;
}

.slick1-dots li.slick-active .caption-dots-slick1 {
  opacity: 1;
}

@media (max-width: 575px) {
  .caption-dots-slick1 {
    font-size: 13px;
  }

  .wrap-slick1-dots {
    bottom: 25px;
  }
}


/*//////////////////////////////////////////////////////////////////
[ Slick2 ]*/

.wrap-slick2 {
  position: relative;
  margin-right: -15px;
  margin-left: -15px;
}

/* ------------------------------------ */
.arrow-slick2 {
  position: absolute;
  z-index: 100;
  top: calc((100% - 60px) / 2);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 39px;
  color: #ccc;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.arrow-slick2:hover {
  color: #666;
}

.next-slick2 {
  right: -40px;
}

.prev-slick2 {
  left: -40px;
}

@media (max-width: 1300px) {
  .next-slick2 {
    right: 0px;
  }

  .prev-slick2 {
    left: 0px;
  }
}
  
.text_lit{

}

/*//////////////////////////////////////////////////////////////////
[ Slick3 ]*/
.wrap-slick3 {
  position: relative;
}

/*---------------------------------------------*/
.wrap-slick3-arrows {
  position: absolute;
  z-index: 100;
  width: 83.333333%;
  right: 0;
  top: calc(50% - 20px);
}

.arrow-slick3 {
  font-size: 25px;
  color: #fff;
  
  position: absolute;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(0,0,0,0.5);

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.arrow-slick3:hover {
  background-color: rgba(0,0,0,0.9);
}

.prev-slick3 {left: 0px;}
.next-slick3 {right: 0px;}

/*---------------------------------------------*/
.wrap-slick3-dots {
  width: 11.111111%;
}

.slick3 {
  width: 83.333333%;
}

.slick3-dots li {
  display: block;
  position: relative;
  width: 100%;
  margin-bottom: 27px;
}

.slick3-dots li img {
  width: 100%;
}

.slick3-dot-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  border: 2px solid transparent;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.slick3-dot-overlay:hover {
  border-color: #ccc;
}

.slick3-dots .slick-active .slick3-dot-overlay {
  border-color: #ccc;
}



/*//////////////////////////////////////////////////////////////////
[ RS Magnific-Popup ]*/
.mfp-bg {
  z-index: 10000;
  background-color: #000;
  opacity: 0.9;
}

.mfp-wrap {
  z-index: 10000;
}

.mfp-arrow:after,
.mfp-arrow:before {
  display: none;
}

.mfp-arrow {
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

button.mfp-arrow-right {
  background-image: url(../images/icons/icon-next.png);
  background-position: center center;
  background-repeat: no-repeat;
}

button.mfp-arrow-left {
  background-image: url(../images/icons/icon-prev.png);
  background-position: center center;
  background-repeat: no-repeat;
}

button.mfp-close {
  width: 75px !important;
  height: 58px !important;
  line-height: 44px;
  position: fixed;
  right: 0;
  top: 0;
  color: transparent !important;
  background-image: url(../images/icons/icon-close.png);
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer !important;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.9;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}


/*//////////////////////////////////////////////////////////////////
[ Tab01 ]*/
.tab01 .nav-tabs {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border: none;
}

.tab01 .nav-tabs .nav-item {
  margin: 0px 15px;
}

.tab01 .nav-link {
  font-family: Poppins-Regular;
  font-size: 20px;
  color: #888;
  line-height: 1.2;

  padding: 0;
  border-radius: 0px;
  border: none;
  border-bottom: 1px solid transparent;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.tab01 .nav-link.active {
  color: #333;
  border-color: #797979;
}

.tab01 .nav-link:hover {
  color: #333;
  border-color: #797979;
}



/*//////////////////////////////////////////////////////////////////
[ RS sweet alert ]*/
.swal-overlay {overflow-y: auto;}

.swal-button:focus {
    outline: none;
    box-shadow: none;
}

.swal-button {
  background-color: #717fe0;
  font-family: Poppins-Regular;
  font-size: 16px;
  color: white;
  text-transform: uppercase;
  font-weight: unset;
  border-radius: 4px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.swal-button:hover {
  background-color: #333;
}

.swal-button:active {
  background-color: #333;
}

.swal-title {
  font-family: Poppins-Bold;
  color: #333333;
  font-size: 18px;
  line-height: 1.5;
  padding: 0 15px;
}

.swal-text {
  color: #000000;
  font-size: 19px;
  line-height: 1.666667;
  text-align: center;
}

.swal-footer {
    margin-top: 0;
}





/*//////////////////////////////////////////////////////////////////
[ Filter ]*/
.show-search .icon-search,
.show-filter .icon-filter {display: none;}

.show-search .icon-close-search,
.show-filter .icon-close-filter {display: unset;}

.show-search,
.show-filter {
  background-color: #f2f2f2;
  border-color: #e7e7e7;
}

.show-search::after,
.show-filter::after {
  content: "";
  position: absolute;
  display: block;

  width: 14px;
  height: 14px;
  background-color: #f2f2f2;
  border-left: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
  
  transform-origin: center center;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);

  left: calc(50% - 7px);
  bottom: -8px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Настройте расстояние по мере необходимости */
}

.product-container .isotope-item {
    flex: 1 1 calc(25% - 20px); /* Настройте 25% в зависимости от количества элементов в строке */
    box-sizing: border-box;
}


.show-search:hover:after,
.show-filter:hover:after {
  background-color: #717fe0;
  border-color: #717fe0;
}

/*---------------------------------------------*/
.filter-col1 {width: 27%;}
.filter-col2 {width: 27%;}
.filter-col3 {width: 26%;}
.filter-col4 {width: 20%;}

/*---------------------------------------------*/
.filter-link {
  color: #aaa;
  border-bottom: 1px solid transparent;
}

.filter-link:hover {
  color: #6c7ae0;
  border-bottom: 1px solid #6c7ae0;
}

.filter-link-active {
  color: #6c7ae0;
  border-bottom: 1px solid #6c7ae0;
}

@media (max-width: 767px) {
  .filter-col1,
  .filter-col2,
  .filter-col3,
  .filter-col4 {width: 50%;}
}

@media (max-width: 575px) {
  .filter-col1,
  .filter-col2,
  .filter-col3,
  .filter-col4 {width: 100%;}
}



/*//////////////////////////////////////////////////////////////////
[ Num Product ]*/
.wrap-num-product {
  width: 140px;
  height: 45px;
  background-color: seashell;
    border-radius: 3px;
  overflow: hidden;
}

.btn-num-product-up,
.btn-num-product-down {
  width: 45px;
  height: 100%;
  cursor: pointer;
}

.num-product {
  width: calc(100% - 90px);
  height: 100%;
  border-left: 1px solid #e6e6e6;
  border-right: 1px solid #e6e6e6;
  background-color: #f7f7f7;
}

input.num-product {
  -moz-appearance: textfield;
  appearance: none;
  -webkit-appearance: none;
}

input.num-product::-webkit-outer-spin-button,
input.num-product::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0; 
}




/*//////////////////////////////////////////////////////////////////
[ Tolltip100 ]*/
.tooltip100 {
  position: relative;
}

.tooltip100::after {
  content: attr(data-tooltip);
  font-family: Poppins-Regular;
  font-size: 12px;
  color: #888;
  line-height: 18px;
  white-space: nowrap;

  display: block;
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  height: 20px;
  padding: 0px 8px;
  top: -35px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);

  box-shadow: 0 3px 6px 0px rgba(0,0,0,0.18);
  -moz-box-shadow: 0 3px 6px 0px rgba(0,0,0,0.18);
  -webkit-box-shadow: 0 3px 6px 0px rgba(0,0,0,0.18);
  -o-box-shadow: 0 3px 6px 0px rgba(0,0,0,0.18);
  -ms-box-shadow: 0 3px 6px 0px rgba(0,0,0,0.18);

  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  
  visibility: hidden;
  opacity: 0;
}

.tooltip100:hover:after {
  visibility: visible;
  opacity: 1;
}


/*//////////////////////////////////////////////////////////////////
[ Modal1 ]*/
.wrap-modal1 {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 9000;
  overflow: auto;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  visibility: hidden;
  opacity: 0;
}

.overlay-modal1 {
  position: fixed;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.8;
}

.show-modal1 {
  visibility: visible;
  opacity: 1;
}

/*//////////////////////////////////////////////////////////////////
[ Table Shopping Cart ]*/

.wrap-table-shopping-cart {
  overflow: auto;
  border-left: 1px solid #e6e6e6;
  border-right: 1px solid #e6e6e6;
}

.name_pop{
    color: #333;
    font-weight: bold;
}

.product-details {
  font-size: 16px; /* Размер шрифта */
  color: #666; /* Цвет текста */
  margin: 5px 0; /* Отступы сверху и снизу */
}

.product-price {
  font-size: 16px;
  color: #333;
  font-weight: bold;

}

#proceed-to-order {
  background-color: #28a745; /* Зеленый цвет фона */
  color: white; /* Белый цвет текста */
  border: none; /* Убрать границу */
  padding: 10px 20px; /* Внутренние отступы */
  font-size: 16px; /* Размер шрифта */
  cursor: pointer; /* Курсор указателя */
  margin-top: 10px; /* Отступ сверху */
}

#proceed-to-order:hover {
  background-color: #218838; /* Темный зеленый цвет фона при наведении */
}


.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 18px;
  text-align: left;
}

.cart-table th, .cart-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle; /* Vertically center align cells */
}

.cart-table th {
  background-color: #f4f4f4;
  text-transform: uppercase;
  font-weight: bold;
  padding-right: 160px;
}

.cart-table img {
  width: 100px;
  height: auto;
  display: block;
  margin-right: 10px;
}

.cart-table .product-info {
  display: flex;
  align-items: center;
}

.cart-table .product-details {
  display: flex;
  flex-direction: column;
}

.cart-table .order-total {
  text-align: right;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
}

.cart-table .order-total span {
  color: #333;
}

.cart-table .product-name {
  font-weight: bold;
  margin: 0;
}

.cart-table .product-detail {
  font-size: 16px;
  color: #666;
}

.sadasd{
  cursor: default;
}


.product-quantity {
  font-size: 18px;
  color: #000000;
  margin: 8px 9px;
}

.table-shopping-cart {
  border-collapse: collapse;
  width: 100%;
  min-width: 680px;
}

.table-shopping-cart tr {
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}

.table-shopping-cart .column-1 {
  width: 133px;
  padding-left: 50px;
}

.table-shopping-cart .column-2 {
  width: 220px;
  font-size: 15px;
}

.table-shopping-cart .column-3 {
  width: 120px;
  font-size: 16px;
}

.table-shopping-cart .column-4 {
  width: 145px;
  text-align: right;
}

.table-shopping-cart .column-5 {
  width: 172px;
  padding-right: 50px;
  text-align: right;
  font-size: 16px;
}

.table-shopping-cart .table_row {
  height: 185px;
}

.table-shopping-cart .table_row td {
  padding-bottom: 20px;
}

.table-shopping-cart .table_row td.column-1 {
  padding-bottom: 30px;
}

.table-shopping-cart .table_head th {
  font-family: Poppins-Bold;
  font-size: 13px;
  color: #555;
  text-transform: uppercase;
  line-height: 1.6;
  padding-top: 15px;
  padding-bottom: 15px;
}

.table-shopping-cart td {
  font-family: Poppins-Regular;
  color: #555;
  line-height: 1.6;
}

.favorites-popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.favorites-popup .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#favorites-products {
  background: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.popup-product {
  margin-bottom: 15px;
}
/* Стили для модального окна */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4); /* Черный с прозрачностью */
    padding-top: 60px;
}

.modal-content {
  top: 30px;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 13px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}

.modal-content2 {
  top: 30px;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 13px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}


.modal-content1 {
  top: 30px;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 13px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}
.close {
    color: #000000;
    float: right;
    font-size: 28px;
    font-weight: 800;
    margin-top: -10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#favorites-products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.no-favorites {
  text-align: center;
  font-size: 18px;
  color: #999;
  width: 100%;
  top: 62px;
  display: none;
  position: relative;
}

.popup-product {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  box-sizing: border-box;
  margin-top: 20px;
}

.popup-product1 {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  width: calc(33.333% - 20px); /* три элемента в ряд */
  box-sizing: border-box;
  position: relative; /* добавлено для кнопки удаления */
}



.popup-product img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.popup-product p {
    margin: 0;
    padding: 5px 0;
    font-size: 14px;
    color: #333;
}

.popup-product1 img {
  max-width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.popup-product1 p {
  margin: 0;
  padding: 5px 0;
  font-size: 14px;
  color: #333;
}

.remove-btn {
  position: absolute;
  top: -1px;
  right: -1px;
  background-color: #ff6b6b;
  color: white;
  border: none;
  /* border-radius: 50%; */
  width: 22px;
  height: 21px;
  font-size: 16px;
  cursor: pointer;
}

.remove-btn:hover {
    background-color: #ff4d4d;
}





/*//////////////////////////////////////////////////////////////////
[ Block1 ]*/
.block1 {
  position: relative;
  border: 1px solid #e6e6e6;
}

.block1-txt {
  background-color: rgba(103,117,214,0.0);
}

/*---------------------------------------------*/
.block1-name {color: #333;}
.block1-info {color: #555;}

/*---------------------------------------------*/
.block1-txt-child2 {
  border-bottom: 2px solid #fff;
  overflow: hidden;
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
}

.block1-link {
  -webkit-transform: translateY(250%);
  -moz-transform: translateY(250%);
  -ms-transform: translateY(250%);
  -o-transform: translateY(250%);
  transform: translateY(250%);
}

/*---------------------------------------------*/
.block1-txt:hover {
  background-color: rgba(103,117,214,0.8);
}

.block1-txt:hover .block1-txt-child2 {
  -webkit-transform: scaleX(1);
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -o-transform: scaleX(1);
  transform: scaleX(1);
}

.block1-txt:hover .block1-link {
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  -ms-transform: translateY(0%);
  -o-transform: translateY(0%);
  transform: translateY(0%);
}

.block1-txt:hover .block1-name,
.block1-txt:hover .block1-info {
  color: #fff;
}

/*//////////////////////////////////////////////////////////////////
/* Карточка растягивается по высоте колонки */
.block2 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Блок с картинкой фиксированной высоты */
.block2-pic {
    position: relative;
    height: 260px; /* нужная тебе высота */
    overflow: hidden;
}

/* Картинка */
.block2-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ПАНЕЛЬ КНОПКИ — всегда в самом низу, без движений */
.block2-btn {
    position: absolute;
    bottom: 0;         /* всегда у нижнего края */
    left: 0;
    width: 100%;       /* растягивается по ширине */
    
    background: rgba(0, 0, 0, 0.65);  /* постоянный чёрный фон */
    padding: 12px 0;

    text-align: center;
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;

    opacity: 1;        /* всегда видна */
    transform: none !important;
    transition: none !important; /* не двигается никогда */
    pointer-events: auto;
}




.block2-pic:hover .block2-btn {
  bottom: 20px;
}

/*---------------------------------------------*/
.block2-txt-child1 {
  width: calc(100% - 30px);
}

.block2-txt-child2 {
  width: 30px;
}

.btn-addwish-b2 .icon-heart2 {
  opacity: 0;
}

.btn-addwish-b2:hover .icon-heart2 {
  opacity: 1;
}

.btn-addwish-b2:hover .icon-heart1 {
  opacity: 0;
}

.js-addedwish-b2 .icon-heart2 {
  opacity: 1;
}

.js-addedwish-b2 .icon-heart1 {
  opacity: 0;
}

/*---------------------------------------------*/
.label-new {
  position: relative;
}

.second_ff{
  text-align: center;
}

.label-new::after {
  content: attr(data-label);
  font-family: Montserrat-Regular;
  font-size: 12px;
  color: #fff;
  line-height: 1.2;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  min-width: 50px;
  height: 22px;
  border-radius: 11px;
  padding: 0 6px;
  background-color: #66a8a6;
  top: 42px;
  left: 12px;
}



/*==================================================================
    TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
==================================================================*/
.cl0 {color: #fff;}
.cl09 {color: #000000;}
.cl1 {color: #717fe0;}
.cl2 {color: #ffffff;}
.ccl2 {color:#000000;}
.cccl2 {color:#ffffff;}
.cl3 {color: #303031;
      font-size: 25px; 
      
}

.under-text a {
  text-align: left; /* Текст внутри ссылок выровнен по левому краю */
  font-size: 20px;
  font-family: 'Captura Now Medium';
  width: 50%; /* Ширина каждого блока ссылки */
  color: #303031 !important;
  margin-bottom: 10px; /* Добавляем отступ между блоками */
}

.under-text a:last-child {
  margin-bottom: 0;
}

.under-text a {
  display: block;
  margin-bottom: 20px;
}

.under-text a:last-child {
  margin-bottom: 0;
}


.cl300 {color: #000000;
  font-size: 50px; 
  
}
.many{
  top: 22px;
    position: fixed;
    z-index: 99;
    font-size: 16px;
}
.cl4 {color: #999;}
.cl5 {color: #ffffff;}
.cl51 {color: #303031;}
.cl6 {color: #000000;}
.cl62 {color: #ffffff;}
.cl7 {color: #b2b2b2;}
.cl8 {color: #555;}
.cl9 {color: #aaa;}
.cl10 {color: #1d1d1d;}
.cl11 {color: #f9ba48;}
.cl12 {color: #ccc;}

/*//////////////////////////////////////////////////////////////////
[ S-Text 0 - 15 ]*/
.stext-101 {
  font-size: 15px;
  line-height: 1.466667;
  text-transform: uppercase;
}

.stext-102 {
  font-family: 'Poppins-Regular';
  font-size: 18px;
  line-height: 0.7;
}

.stext-1022 {
  font-family: Captura Now Extra Light;
    font-size: 17px;
    line-height: 1.1;
}

.quantity-container {
  align-items: center;
}

.quantity-button {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 5px 10px;
  font-size: 16px;
  cursor: pointer;
}

.quantity-button:hover {
  background-color: #e0e0e0;
}

.quantity-display {
  margin: 0 10px;
  font-size: 16px;
  font-weight: bold;
}

.remove-button {
  background-color: #ff6666;
  border: 1px solid #cc0000;
  color: white;
  padding: 5px 10px;
  font-size: 16px;
  cursor: pointer;
}

.remove-button:hover {
  background-color: #cc0000;
}


.stext-1021{
  font-family: fantasy;
  font-size: 18px;
  line-height: 0.7;
}

.stext-103 {
  font-size: 14px;
  line-height: 1.466667;
  font-weight: 600;
}

.stext-104 {
  font-family: Poppins-Regular;
  font-size: 17px;
  line-height: 1.466667;
}

.stext-105 {
  font-family: Poppins-Regular;
  font-size: 14px;
  line-height: 1.466667;
  letter-spacing: 1px;
}

.top-Nav{
  font-weight: 600;
}

.stext-106 {
  font-family: Poppins-Regular;
  font-size: 17px;
  line-height: 1.2;
}

.stext-107 {
  font-size: 15px;
  line-height: 1.923;
  padding-top: 23px;
  background-color: #ECECEC;
}

.stext-10711 {
  font-size: 15px;
  line-height: 1.923;
  padding-top: 180px;
  background-color: #ECECEC;
}

.stext-1070 {
  font-size: 15px;
  line-height: 1.923;
  padding-top: 5px;
}

.stext-108 {
  font-family: Poppins-Light;
  font-size: 14px;
  line-height: 1.7143;
}

.stext-109 {
  font-family: Poppins-Regular;
  font-size: 12px;
  line-height: 1.833333;
}

.stext-110 {
  font-family: Poppins-Medium;
  font-size: 15px;
  line-height: 1.466667;
}

.stext-111 {
  font-family: Poppins-Regular;
  font-size: 13px;
  line-height: 1.6923;
}

.stext-112 {
  font-family: Poppins-Regular;
  font-size: 13px;
  line-height: 1.6923;
  text-transform: uppercase;
}

.stext-113 {
  font-size: 25px;
  /* line-height: 1.12; */
  padding: 0 0 16px;
}

.first_ff{
  
}

.stext-1139 {
  font-size: 22px;
  /* line-height: 1.12; */
  padding: 0 0 23px;
}

.stext-11399 {
  font-size: 22px;
  /* line-height: 1.12; */
  padding: 0 0 23px;
}

.stext-114 {
  font-size: 25px;
  /* line-height: 1.12; */
  padding: 0 0 16px;
}

.stext-115 {
  font-family: Poppins-Regular;
  font-size: 15px;
  line-height: 1.666667;
}

.stext-116 {
  font-family: Poppins-Regular;
  font-size: 15px;
  line-height: 1.266667;
}

.stext-117 {
  font-family: Poppins-Light;
  font-size: 15px;
  line-height: 1.666667;
}


/*---------------------------------------------*/
.stext-301 {
  font-family: Montserrat-Bold;
  font-size: 15px;
  line-height: 1.6;
  text-transform: uppercase;
}


/*//////////////////////////////////////////////////////////////////
[ M-Text 16 - 25 ]*/
.mtext-101 {
  font-family: Poppins-Medium;
  font-size: 18px;
  line-height: 1.333333;
}

.mtext-102 {
  font-family: Poppins-SemiBold;
  font-size: 16px;
  line-height: 1.6;
}

.mtext-103 {
  font-family: Poppins-Bold;
  font-size: 18px;
  line-height: 1.333333;
  text-transform: uppercase;
}


.mtext-104 {
  font-family: Poppins-Medium;
  font-size: 16px;
  line-height: 1.6;
}

.mtext-105 {
  font-family: Poppins-Regular;
  font-size: 24px;
  line-height: 1.5;
}

.mtext-106 {
  font-family: Poppins-SemiBold;
  font-size: 27px;
  line-height: 1.388888;
}

.mtext-107 {
  font-family: Poppins-Regular;
  font-size: 16px;
  line-height: 1.625;
}

.mtext-108 {
  font-family: Poppins-Regular;
  font-size: 20px;
  line-height: 1.3;
}

.mtext-109 {
  font-family: Poppins-Bold;
  font-size: 20px;
  line-height: 1.3;
  text-transform: uppercase;
}

.mtext-110 {
  font-family: Poppins-Regular;
  font-size: 18px;
  line-height: 1.222222;
}

.mtext-111 {
  font-family:Captura Now Medium;
    font-size: 25px;
    line-height: 2.2;
}

.mtext-112 {
  font-family: Poppins-Bold;
  font-size: 22px;
  line-height: 1.333333;
}

.mtext-113 {
  font-family: Poppins-Bold;
  font-size: 22px;
  line-height: 1.333333;
  text-transform: uppercase;
}


/*//////////////////////////////////////////////////////////////////
[ L-Text >= 26 ]*/
.ltext-101 {
  font-size: 58px;
  /* line-height: 1.2857; */
  font-family: "Montserrat SemiBold", sans-serif;
  left: -185%;
  position: absolute;
  top: -110px;
  background-color: rgb(69 69 69 / 0%);
  text-transform: uppercase;
  min-width: 176px;
  height: 67px;
  width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 100;
  border: solid;
  border-color: black;
  border-radius: 30px;
  border-width: 2px;
  color: black;
}



.ltext-1011 {
  font-size: 35px;
  font-family: "Montserrat SemiBold", sans-serif;
  /* line-height: 1.2857; */
  left: -185%;
  color: black;
  line-height: 1.2857;
  font-weight: 100;
  border: solid;
  border-color: black;
  border-radius: 30px;
  border-width: 2px;
  position: absolute;
  top: 4px;
  background-color: rgb(69 69 69 / 0%);
  text-transform: uppercase;
  min-width: 175px;
  height: 67px;
  width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ltext-102 {
  font-family: Poppins-Bold;
  font-size: 28px;
  line-height: 1.1;
}

.ltext-103 {
  font-family: Captura Now Medium;
  font-size: 36px;
  line-height: 1.1;
  text-transform: uppercase;
}

.ltext-104 {
  font-family: Poppins-Bold;
  font-size: 60px;
  line-height: 1.1;
  text-transform: uppercase;
}

.ltext-105 {
  font-family: sans-serif;
  font-size: 50px;
  line-height: 1.1;
  padding: 60px 0 0 0;
}

.ltext-106 {
  font-family: Poppins-Bold;
  font-size: 36px;
  line-height: 1.2;
}

.ltext-107 {
  font-family: Poppins-Bold;
  font-size: 30px;
  line-height: 1.1;
}

.ltext-108 {
  font-family: Poppins-Bold;
  font-size: 26px;
  line-height: 1.3846;
}

.ltext-109 {
  font-family: Poppins-Bold;
  font-size: 36px;
  line-height: 1.2;
}


/*---------------------------------------------*/
.ltext-201 {
  font-family: PlayfairDisplay-Bold;
  font-size: 60px;
  line-height: 1.1;
  text-transform: uppercase;
}

.ltext-202 {
  font-family: PlayfairDisplay-Regular;
  font-size: 28px;
  line-height: 1.2857;
}




/*==================================================================
    SIZE SIZE SIZE SIZE SIZE SIZE SIZE SIZE SIZE SIZE SIZE SIZE SIZE 
==================================================================*/


/*//////////////////////////////////////////////////////////////////
[ Size ]*/
.size-101 {
  min-width: 161px;
  height: 46px;
}

.size-102 {
    min-width: 165px;
    height: 40px;
 
}

.size-103 {
  min-width: 179px;
  height: 46px;
}

.size-104 {
  min-width: 94px;
  height: 40px;
}

.size-105 {
  min-width: 111px;
  height: 40px;
}

.size-106 {
  width: 88px;
  height: 100%;
}

.size-107 {
  min-width: 145px;
  height: 40px;
}

.size-108 {
  width: 40px;
  height: 40px;
}

.size-109 {
  width: 60px;
  height: 60px;
}

.size-110 {
  width: 100%;
  min-height: 100px;
}

.size-111 {
  width: 100%;
  height: 40px;
}

.size-112 {
  min-width: 134px;
  height: 43px;
}

.size-113 {
  width: 38px;
  height: 60px;
}

.size-114 {
  width: calc(100% - 38px);
  height: 60px;
}

.size-115 {
  min-width: 185px;
  height: 45px;
}

.size-116 {
  width: 100%;
  height: 50px;
}

.size-117 {
  width: 220px;
  height: 45px;
}

.size-118 {
  min-width: 163px;
  height: 45px;
}

.size-119 {
  min-width: 156px;
  height: 45px;
}

.size-120 {
  width: 100%;
  min-height: 199px;
}

.size-121 {
  width: 100%;
  height: 46px;
}

.size-122 {
  width: 55px;
  height: 100%;
}

.size-123 {
  width: 70px;
  min-height: 70px;
}

.size-124 {
  width: 100%;
  min-height: 150px;
}

.size-125 {
  min-width: 180px;
  height: 40px;
}

/*//////////////////////////////////////////////////////////////////
[ Width ]*/
.size-201 {
  max-width: 270px;
}

.size-202 {
  width: calc(100% / 3);
}

.size-203 {
  width: 105px;
}

.size-204 {
  width: calc(100% - 105px);
}

.size-205 {
  width: 145px;
}

.size-206 {
  width: calc(100% - 145px);
}

.size-207 {
  width: calc(100% - 78px);
}

.size-208 {
  width: 34.5%;
}

.size-209 {
  width: 65.5%;
}

.size-210 {
  width: 50%;
}

.size-211 {
  width: 60px;
}

.size-212 {
  width: calc(100% - 60px);
}

.size-213 {
  max-width: 245px;
}

.size-214 {
  width: 90px;
}

.size-215 {
  width: calc(100% - 110px);
}

.size-216 {
  width: 55px;
}

.size-217 {
  width: calc(100% - 55px);
}

.size-218 {
  max-width: 286px;
}



/*//////////////////////////////////////////////////////////////////
[ Height ]*/
.size-301 {
  min-height: 30px;
}



.size-302 {
  min-height: 80px;
}

.size-303 {
  height: 390px;
}


/*==================================================================
   BACKGROUND BACKGROUND BACKGROUND BACKGROUND BACKGROUND BACKGROUND 
==================================================================*/
.bg-none {background-color: transparent;}
.bg1 {background-color: #d76b6b;}
.bg2 {background-color: #000000;}
.bg3 {background-color: #222;}
.bg5 {background-color: rgba(0,0,0,0.5);}
.bg6 {background-color: #ECECEC;}
.bg7 {background-color: #333;}
.bg8 {background-color: #f3f3f3;}
.bg9 {background-color: rgba(255,255,255,0.9);}

/*---------------------------------------------*/
.bg-overlay1::before {
  content: "";
  position: absolute;
  z-index: -100;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 0.5;
}

/*---------------------------------------------*/
.bg-img1 {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  
}

.video-container {
  position: relative;
  width: 400px;
  height: 600px;
}

video {
  width: 270px;
  height: 80%;
}

.play-button {
  position: absolute;
  top: 23%;
  left: 35%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2em;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
}

.play-button:hover {
  background: rgba(0, 0, 0, 0.7);
}



/*==================================================================
       BORDER BORDER  BORDER  BORDER  BORDER  BORDER  BORDER  BORDER.size-101
==================================================================*/
.bor0 {border-radius: 50%;}

.bor1 {
  left: 80%;
  position: absolute;
}



.bor111 {
  left: 58%;
  
}

.bor12 {
  left: 60%;
  position: absolute;
}



.bor2 {
  cursor: pointer;
}

.bor3 {
  border-bottom: 1px solid transparent;
}

.bor4 {
  border: 1px solid #e6e6e6;
  border-radius: 3px;
}

.bor4a {
  border: 1px solid #000000;
  border-radius: 3px;
  background-color: #000;
}

.bor5 {
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
}

.bor6 {border-right: 1px solid rgba(255,255,255,0.1);}

.bor7 {
  border: 1px solid #ccc;
  border-radius: 15px;
}

.bor8 {
  
}

.bor9 {
  border-right: 1px solid #e6e6e6;
}

.bor10 {
  border: 1px solid #e6e6e6;
}

.bor11 {
  border-radius: 21px;
}

.bor12 {
  border-bottom: 1px dashed #000000;
}

.bor13 {
  border: 1px solid #e6e6e6;
  border-radius: 22px;
}

.bor14 {
  border-radius: 25px;
}

.p-t-7412{
  top: -280px;
  position: relative;
}

.bor15 {
  border-left: 1px solid #e6e6e6;
  border-right: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}

.bor16 {
  border-left: 3px solid #e6e6e6;
}

.bor17 {
  border: 1px solid #e6e6e6;
  border-radius: 25px;
}

/*---------------------------------------------*/
.bor18 {
  border-top: 1px solid #e6e6e6;
}

.bor18:last-child {
  border-bottom: 1px solid #e6e6e6;
}

/*---------------------------------------------*/
.bor19 {
  border: 1px solid #d9d9d9;
  border-radius: 2px;
}


/*==================================================================
 HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW 
==================================================================*/
.plh0::-webkit-input-placeholder { color: #999999;}
.plh0:-moz-placeholder { color: #999999;}
.plh0::-moz-placeholder { color: #999999;}
.plh0:-ms-input-placeholder { color: #999999;}

.plh1::-webkit-input-placeholder { color: #b2b2b2;}
.plh1:-moz-placeholder { color: #b2b2b2;}
.plh1::-moz-placeholder { color: #b2b2b2;}
.plh1:-ms-input-placeholder { color: #b2b2b2;}

.plh2::-webkit-input-placeholder { color: #333;}
.plh2:-moz-placeholder { color: #333;}
.plh2::-moz-placeholder { color: #333;}
.plh2:-ms-input-placeholder { color: #333;}

.plh3::-webkit-input-placeholder { color: #555;}
.plh3:-moz-placeholder { color: #555;}
.plh3::-moz-placeholder { color: #555;}
.plh3:-ms-input-placeholder { color: #555;}

.plh4::-webkit-input-placeholder { color: #888;}
.plh4:-moz-placeholder { color: #888;}
.plh4::-moz-placeholder { color: #888;}
.plh4:-ms-input-placeholder { color: #888;}

/*---------------------------------------------*/
.js-addedwish-detail {
  color: #6c7ae0;
}

/*---------------------------------------------*/
.label1 {
  position: relative;
}

.label1::after {
  content: attr(data-label1);
  font-family: Poppins-Regular;
  font-size: 10px;
  line-height: 15px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;

  display: block;
  position: absolute;
  top: 3px;
  right: -9px;
  height: 15px;
  min-width: 32px;
  border-radius: 7px;
  padding: 0 4px;
  background-color: #f74877;
}

.label1.rs1::after {
  top: calc(50% - 8px);
  right: auto;
  left: 90%;
}

/*---------------------------------------------*/
.how-active1 {
  color: #333;
  border-color: #797979;
}


/*---------------------------------------------*/
.wrap-input1 {
  position: relative;
  border-bottom: 2px solid rgba(204,204,204, 0.1);
}

.input1 {
  background-color: transparent;
  width: 100%;
}

.focus-input1 {
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #6774d5;
  left: 0;
  bottom: -2px;
}

.input1:focus + .focus-input1 {
  width: 100%;
}


/*---------------------------------------------*/
.how-pagination1 {
  font-family: Poppins-Regular;
  font-size: 14px;
  color: #808080;

  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e6e6e6;
}

.how-pagination1:hover {
  background-color: #999;
  border-color: #999;
  color: #fff;
}

.active-pagination1 {
  background-color: #999;
  border-color: #999;
  color: #fff;
}

/*---------------------------------------------*/
.how-shadow1 {
  box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
  -o-box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
  -ms-box-shadow: 0 0px 3px 0px rgba(0,0,0,0.2);
}

/*---------------------------------------------*/
.how-pos1 {
  position: absolute;
  top: 10px;
  right: 10px;
}

/*---------------------------------------------*/
.how-pos2 {
  padding-left: 10.7%;
  padding-right: 11%;
}

@media (max-width: 991px) {
  .how-pos2 {
    padding-left: 8%;
    padding-right: 8%;
  }
}

/*---------------------------------------------*/
.how-pos3-parent {
  position: relative;
  background-color: white;
}

.how-pos3 {
  position: absolute;
  top: -35px;
  right: 0px;
}

/*---------------------------------------------*/
.how-pos4-parent {
  position: relative;
}

.how-pos4 {
  position: absolute;
  top: calc(50% - 9px);
  left: 28px;
}

/*---------------------------------------------*/
.how-pos5-parent {
  position: relative;
}

.how-pos5 {
  position: absolute;
  top: 15px;
  left: 10px;
}



/*---------------------------------------------*/
.how-itemcart1 {
  width: 60px;
  position: relative;
  margin-right: 20px;
  cursor: pointer;
}

.how-itemcart1 img {
  width: 100%;
}

.how-itemcart1::after {
  content: '\e870';
  font-family: Linearicons-Free;
  font-size: 16px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  -moz-transition: all 0.3s;
  opacity: 0;
}

.how-itemcart1:hover:after {
  opacity: 1;
}

/*---------------------------------------------*/
.how-bor2,
.how-bor1 {
  position: relative;
  z-index: 1;
}

.how-bor2::before,
.how-bor1::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  border: 3px solid #ccc;
}

.how-bor1::before {
  bottom: -21px;
  left: -21px;
}

@media (max-width: 767px) {
  .how-bor1::before {
    bottom: -21px;
    right: -21px;
    left: auto;
  }
}

.how-bor2::before {
  bottom: -21px;
  right: -21px;
}



/*==================================================================
      PSEUDO PSEUDO PSEUDO PSEUDO PSEUDO PSEUDO PSEUDO PSEUDO PSEUDO
==================================================================*/

/*//////////////////////////////////////////////////////////////////
[ Focus ]*/
.focus-in0:focus::-webkit-input-placeholder { color:transparent; }
.focus-in0:focus:-moz-placeholder { color:transparent; }
.focus-in0:focus::-moz-placeholder { color:transparent; }
.focus-in0:focus:-ms-input-placeholder { color:transparent; }




/*//////////////////////////////////////////////////////////////////
[ Hover ]*/

.hov-cl0:hover {color: #fff;}
.hov-bg0:hover {background-color: #fff;}
.hov-cl1:hover {color: #717fe0;}
.hov-bg1:hover {background-color: #717fe0;}

/*---------------------------------------------*/
.hov-img0 {
  display: block;
  overflow: hidden;
}

.hov-img0 img{
  width: 100%;
  -webkit-transition: transform 0.9s ease;
  -o-transition: transform 0.9s ease;
  -moz-transition: transform 0.9s ease;
  transition: transform 0.9s ease;
}

.hov-img0:hover img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

/*---------------------------------------------*/
.hov-btn1:hover {
  border-color: #222;
  background-color: #222222;
  color: #fff;
}

.hov-btn1:hover i {
  color: #fff;
}

/*---------------------------------------------*/
.hov-btn2:hover {
  border-color: #fff;
  background-color: #fff;
  color: #717fe0;
}

/*---------------------------------------------*/
.hov-btn3:hover {
  border-color: #717fe0;
  background-color: #d76b6b;
  color: #fff;
}

.hov-btn3:hover i {
  color: #fff;
}

/*---------------------------------------------*/
.hov-tag1:hover {
  color: #717fe0;
  border-color: #717fe0;
}


/*---------------------------------------------*/
.hov-ovelay1 {
  position: relative;
}

.hov-ovelay1::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(103,117,214,0.8);
  opacity: 0;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  -moz-transition: all 0.3s;
}

.hov-ovelay1:hover:after {
  opacity: 1;
}


/*---------------------------------------------*/
.hov1:hover {
  color: #333;
  border-color: #797979;
}

/*---------------------------------------------*/
.hov2:hover {
  background-color: #f2f2f2;
}

/*---------------------------------------------*/
.hov3 {
  opacity: 0.6;
}

.hov3:hover {
  opacity: 1;
}




/*==================================================================
  RESPONSIVE RESPONSIVE RESPONSIVE RESPONSIVE RESPONSIVE RESPONSIVE
==================================================================*/

/*//////////////////////////////////////////////////////////////////
[ XL ]*/
@media (max-width: 1199px) {
  .m-0-xl {margin: 0;}
  .m-lr-0-xl {margin-left: 0; margin-right: 0;}
  .m-lr-15-xl {margin-left: 15px; margin-right: 15px;}
  .m-l-0-xl {margin-left: 0;}
  .m-r-0-xl {margin-right: 0;}
  .m-l-15-xl {margin-left: 15px;}
  .m-r-15-xl {margin-right: 15px;}

  .p-0-xl {padding: 0;}
  .p-lr-0-xl {padding-left: 0; padding-right: 0;}
  .p-lr-15-xl {padding-left: 15px; padding-right: 15px;}
  .p-l-0-xl {padding-left: 0;}
  .p-r-0-xl {padding-right: 0;}
  .p-l-15-xl {padding-left: 15px;}
  .p-r-15-xl {padding-right: 15px;}

  .w-full-xl {width: 100%;}

  /*---------------------------------------------*/

}


/*//////////////////////////////////////////////////////////////////
[ LG ]*/
@media (max-width: 991px) {
  .m-0-lg {margin: 0;}
  .m-lr-0-lg {margin-left: 0; margin-right: 0;}
  .m-lr-15-lg {margin-left: 15px; margin-right: 15px;}
  .m-l-0-lg {margin-left: 0;}
  .m-r-0-lg {margin-right: 0;}
  .m-l-15-lg {margin-left: 15px;}
  .m-r-15-lg {margin-right: 15px;}

  .p-0-lg {padding: 0;}
  .p-lr-0-lg {padding-left: 0; padding-right: 0;}
  .p-lr-15-lg {padding-left: 15px; padding-right: 15px;}
  .p-l-0-lg {padding-left: 0;}
  .p-r-0-lg{padding-right: 0;}
  
  .p-r-15-lg {padding-right: 15px;}

  .w-full-lg {width: 100%;}

  /*---------------------------------------------*/
  .respon4 {
    width: 50%;
  }

  /*---------------------------------------------*/
  .respon5 {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}


/*//////////////////////////////////////////////////////////////////
[ MD ]*/
@media (max-width: 767px) {
  .m-0-md {margin: 0;}
  .m-lr-0-md {margin-left: 0; margin-right: 0;}
  .m-lr-15-md {margin-left: 15px; margin-right: 15px;}
  .m-l-0-md {margin-left: 0;}
  .m-r-0-md {margin-right: 0;}
  .m-l-15-md {margin-left: 15px;}
  .m-r-15-md {margin-right: 15px;}

  .p-0-md {padding: 0;}
  .p-lr-0-md {padding-left: 0; padding-right: 0;}
  .p-lr-15-md {padding-left: 15px; padding-right: 15px;}
  .p-l-0-md {        top: -90px;}
  .p-r-0-md{padding-right: 0;}
  .p-l-15-md {padding-left: 15px;}
  .p-r-15-md {padding-right: 15px;}

  .w-full-md {width: 100%;}

  /*---------------------------------------------*/
  .respon4 {
    width: 100%;
  }

}


/*//////////////////////////////////////////////////////////////////
[ SM ]*/
@media (max-width: 575px) {
  .m-0-sm {margin: 0;}
  .m-lr-0-sm {margin-left: 0; margin-right: 0;}
  .m-lr-15-sm {margin-left: 15px; margin-right: 15px;}
  .m-l-0-sm {margin-left: 0;}
  .m-r-0-sm {margin-right: 0;}
  .m-l-15-sm {margin-left: 15px;}
  .m-r-15-sm {margin-right: 15px;}

  .p-0-sm {padding: 0;}
  .p-lr-0-sm {padding-left: 0; padding-right: 0;}
  .p-lr-15-sm {padding-left: 15px; padding-right: 15px;}
  .p-l-0-sm {padding-left: 0;}
  .p-r-0-sm{padding-right: 0;}
  .p-l-15-sm {padding-left: 15px;}
  .p-r-15-sm {padding-right: 15px;}

  .w-full-sm {width: 100%;}

  /*---------------------------------------------*/
  .respon1 {
    font-size: 40px;
  }
  
  /*---------------------------------------------*/
  .respon2 {
    font-size: 14px;
    margin: 10px 4px 0 260px;
    width: 155px;
    left: -211px;
    height: 50px;
  }

  .under-text a {
    font-size: 12px;
    width: 80%;
  }

  .respon22 {
    font-size: 14px;
    margin: 10px 4px 0 260px;
    width: 155px;
    left: -211px;
    height: 50px;
    top: -74px;
  }

  .video_first{
    display: none;
  }

  /*---------------------------------------------*/
  .respon6 {
    width: 65px;
  }

  .respon6-next {
    width: calc(100% - 65px);
  }

  /*---------------------------------------------*/
  .respon7 {
    padding-left: 60px;
  }

  
}


/*//////////////////////////////////////////////////////////////////
[ SSM ]*/
@media (max-width: 480px) {
  .m-0-ssm {margin: 0;}
  .m-lr-0-ssm {margin-left: 0; margin-right: 0;}
  .m-lr-15-ssm {margin-left: 15px; margin-right: 15px;}
  .m-l-0-ssm {margin-left: 0;}
  .m-r-0-ssm {margin-right: 0;}
  .m-l-15-ssm {margin-left: 15px;}
  .m-r-15-ssm {margin-right: 15px;}
  .hov-img0{
   
  }

  .how-bor1{
    display: none;
  }
  .p-0-ssm {padding: 0;}
  .p-lr-0-ssm {padding-left: 0; padding-right: 0;}
  .p-lr-15-ssm {padding-left: 15px; padding-right: 15px;}
  .p-l-0-ssm {padding-left: 0;}
  .p-r-0-ssm{padding-right: 0;}
  .p-l-15-ssm {padding-left: 15px;}
  .p-r-15-ssm {padding-right: 15px;}

  .w-full-ssm {width: 100%;}

  /*---------------------------------------------*/
  .respon3 {
    padding: 20px;
  }

}




@media (max-width: 375px) {
  .respon2 {
    font-size: 14px;
    margin: 10px 4px 0 260px;
    width: 155px;
    left: -211px;
    height: 50px;
  }
}


/* Modal styles */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  padding-top: 60px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.9); 
  z-index: 99999999;
}

.modal-content {
  margin: auto;
  display: block;
  width: 485px;
  max-width: 700px;
}

.modal-content2 {
  margin: auto;
  display: block;
  width: 290px;
  max-width: 700px;
}


.modal-content1 {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #000;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.size-chart-modal .modal-content .image-row {
  display: flex;
  justify-content: space-between;
}

.size-chart-modal .modal-content img {
  width: 68%;
  margin: 0 1%;
  cursor: pointer;
  height: 400px;
}

.size-chart-modal1 .modal-content2 img {
  Width: 97%;
  margin: 0 1%;
  cursor: pointer;
  height: 400px;
}



/* Стили для картинок в строке */
.size-chart-modal .modal-content .image-row {
  display: flex;
  justify-content: space-between;
}



/* Стиль для модального окна с увеличенным изображением */
.large-image-modal {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.large-image-modal img {
  max-width: 90%;
  max-height: 72%;
  border: 5px solid white;
}

.close-large-image {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}



.hidden-image {
  display: none;
}

/* Media query to hide the first two images and show the third and fourth at 450px or less */
@media screen and (max-width: 450px) {
  .image-1-2 {
      display: none;
  }
  .image-3-4 {
      display: block;
  }

  .modal-content{
    width: 341px;
  }

  .size-chart-modal .modal-content img {
    width: 341px;
    height: 530px;
  }

}


form {
  font-family: Arial, sans-serif;
  margin: 20px;
}

label {
  margin-left: 10px;
  margin-bottom: 10px;
}

button {
  margin-top: 15px;
  padding: 5px 10px;
  cursor: pointer;
}



.popup-form-product{

}

.name_pop{
  padding: 25px;
}

.product-size{
  padding: 25px;
}

.product-color{
  padding: 25px;

}


@media screen and (max-width: 450px) {
  .name_pop{
    padding: 0px !important;
  }
  
  .product-size{
    padding: 0px !important;
  }
  
  .product-color{
    padding: 0px !important;
  
  }
}



.order-success-message {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4CAF50; /* Зеленый фон */
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  display: none; /* Изначально скрыто */
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* ===== FIX: убираем задвоение меню ===== */

/* ПК — скрываем мобильное меню */
@media (min-width: 992px) {
    .menu-mobile {
        display: none !important;
    }
}

/* Мобилка — скрываем десктопное меню */
@media (max-width: 991px) {
    .wrap-menu-desktop {
        display: none !important;
    }
}

/* ===== FIX: убираем задвоение меню на ПК (железно) ===== */
@media (min-width: 992px) {
  .menu-mobile,
  .menu-mobile * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}
@media (max-width: 768px) {
  header {
    position: relative !important;
    transform: none !important;
  }

  .section-slide .flex-col-l-m {
    padding-top: 30px !important;
  }
}
/* DESKTOP ONLY: правим баннер только на ноуте/ПК */
@media (min-width: 992px) {
  .item-slick1,
  .item-slick {
    background-position: center top !important; /* или center 15% */
    background-size: cover !important;
  }
}

/* ===== Solmar-style slide-in cart toast ===== */

.solmar-cart-toast{
  position: fixed;
  top: 110px;
  right: 20px;
  width: 430px;
  max-width: calc(100vw - 40px);
  background: #f7f7f7;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
  padding: 18px 18px 16px;
  z-index: 999999;
  transform: translateX(120%);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
  font-family: inherit;
  color: #111;
  user-select: none;
}
.solmar-cart-toast.is-visible{
  transform: translateX(0);
  opacity: 1;
}
.solmar-cart-toast__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 14px;
}
.solmar-cart-toast__title{
  font-size: 14px;
  letter-spacing: .08em;
  font-weight: 600;
  text-transform: uppercase;
  color:#111;
}
.solmar-cart-toast__close{
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #777;
  padding: 2px 6px;
  user-select: none;
}
.solmar-cart-toast__close:hover{ color:#111; }

.solmar-cart-toast__body{
  display:grid;
  grid-template-columns: 68px 1fr auto;
  gap: 14px;
  align-items:center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 14px;
}
.solmar-cart-toast__imgwrap{
  width:68px;
  height:68px;
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.solmar-cart-toast__img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.solmar-cart-toast__name{
  font-size: 14px;
  font-weight: 500;
  color:#111;
  margin-bottom: 6px;
}
.solmar-cart-toast__meta{
  font-size: 12px;
  color:#666;
}
.solmar-cart-toast__sum{
  text-align:right;
  white-space:nowrap;
}
.solmar-cart-toast__sumlabel{
  font-size: 12px;
  color:#666;
  margin-bottom: 4px;
}
.solmar-cart-toast__sumvalue{
  font-size: 14px;
  font-weight: 600;
  color:#111;
}
.solmar-cart-toast__primary{
  width:100%;
  height: 56px;
  border-radius: 6px;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  cursor:pointer;
  position: relative;
  overflow:hidden;
  user-select: none;
}
.solmar-cart-toast__primary:focus{ outline: none; }
.solmar-cart-toast__primaryText{
  position: relative;
  z-index: 2;
}
.solmar-cart-toast__progress{
  position:absolute;
  top:0;
  right:0;
  height:100%;
  width:100%;
  background: rgba(255,255,255,0.25);
  z-index:1;
  pointer-events:none;
}
.solmar-cart-toast__secondary{
  width:100%;
  border:0;
  background: transparent;
  color:#555;
  font-size: 13px;
  margin-top: 10px;
  cursor:pointer;
  padding: 6px 0 2px;
  user-select: none;
}
.solmar-cart-toast__secondary:hover{ color:#111; }
.solmar-cart-toast button::-moz-focus-inner{ border:0; }

.solmar-cart-toast__primary::selection,
.solmar-cart-toast__secondary::selection,
.solmar-cart-toast__title::selection,
.solmar-cart-toast__name::selection,
.solmar-cart-toast__meta::selection{
  background: transparent;
}



/* ================================
   Solmar-style mini-cart popup
   ================================ */
#cart-popup {
  position: fixed;
  top: 92px;
  right: 20px;
  width: 380px;
  max-width: calc(100vw - 40px);
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
  padding: 18px 18px 16px;
  z-index: 9999;
}

#cart-popup, #cart-popup * {
  -webkit-tap-highlight-color: transparent;
}

#cart-popup .popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 28px;
  line-height: 1;
  color: rgba(0,0,0,0.55);
  cursor: pointer;
  user-select: none;
}

#cart-popup .cart-popup-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.75);
  margin: 2px 0 14px;
}

#popup-products {
  max-height: 280px;
  overflow: auto;
  margin: 0 0 8px;
  padding-right: 4px;
}

.popup-product {
  display: grid;
  grid-template-columns: 64px 1fr 34px;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.popup-product-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

.popup-product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.popup-product-title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-product-meta {
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-product-price {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.popup-product:first-child {
  border-top: none;
}

.popup-product img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f3f3;
}

.popup-product p {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  color: rgba(0,0,0,0.82);
}

.popup-product p strong {
  font-weight: 600;
}

.remove-product {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: rgba(0,0,0,0.50);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  padding: 0;

  /* Центруємо хрестик по сірій колонці */
  display: flex;
  align-items: center;
  justify-content: center;

  /* щоб текст не виділявся синім */
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.remove-product:focus { outline: none; }

/* Trash icon (Solmar-like). Smaller + no oval background. */
.remove-product .trash-icon {
  width: 16px;   /* ~1.5x smaller than 24px */
  height: 16px;
  display: block;
  fill: currentColor;
}

.remove-product:hover {
  color: rgba(0,0,0,0.72);
}

/* Extra safety: disable selection highlight inside the cart popup */
.cart-popup, .cart-popup * {
  -webkit-user-select: none;
  user-select: none;
}

#total-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid rgba(0,0,0,0.10);
  font-size: 15px;
  font-weight: 600;
  color: rgba(0,0,0,0.85);
}

#clear-cart {
  display: none;
}

#proceed-to-order {
  width: 100%;
  margin-top: 14px;
  padding: 14px 12px;
  border: none;
  border-radius: 12px;
  background: #111111;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

#proceed-to-order:focus { outline: none; }

#cart-popup-go-to-cart.cart-popup-secondary-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: rgba(0,0,0,0.55);
  text-decoration: none;
}

#cart-popup-go-to-cart.cart-popup-secondary-link:hover {
  color: rgba(0,0,0,0.75);
  text-decoration: none;
}

#cart-popup a, #cart-popup a:visited {
  color: inherit;
  text-decoration: none;
}

#cart-popup a:focus { outline: none; }


.cart-popup a { color: inherit; text-decoration: none; }
.cart-popup a:hover { color: inherit; }


/* ===== Favorites popup: dropdown like cart ===== */
#favorites-popup {
  display: none;
  position: fixed;
  top: 92px;
  right: 20px;
  left: auto;
  width: 380px;
  max-width: calc(100vw - 40px);
  padding: 0;
  margin: 0;
  z-index: 9998;
  background: transparent;
  overflow: visible;
}

#favorites-popup .modal-content {
  position: relative;
  top: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px 18px 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
}

#favorites-popup,
#favorites-popup * {
  -webkit-tap-highlight-color: transparent;
}

#favorites-popup .close {
  position: absolute;
  top: 10px;
  right: 14px;
  float: none;
  margin-top: 0;
  color: rgba(0,0,0,0.55);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

#favorites-popup .close:hover,
#favorites-popup .close:focus {
  color: rgba(0,0,0,0.8);
}

#favorites-popup h2 {
  margin: 0;
}

#favorites-popup .modal-content > h2:first-of-type {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.75);
  margin: 2px 0 14px;
  padding-right: 28px;
}

#favorites-products {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 280px;
  overflow: auto;
  margin: 0 0 8px;
  padding-right: 4px;
  width: 100%;
  background: transparent;
  border: none;
}

#favorites-popup .no-favorites {
  display: none;
  position: static;
  width: 100%;
  margin: 6px 0 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(0,0,0,0.55);
}

.popup-product1 {
  display: grid;
  grid-template-columns: 64px 1fr 34px;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-radius: 0;
}

.popup-product1:first-child {
  border-top: none;
}

.popup-product1 .favorite-product-image-link {
  display: block;
}

.popup-product1 .favorite-product-img,
.popup-product1 img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0;
  background: #f3f3f3;
}

.popup-product1 .favorite-product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.popup-product1 .favorite-product-title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-product1 .favorite-product-meta {
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-product1 .favorite-product-price {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.popup-product1 p {
  margin: 0;
  padding: 0;
}

#favorites-popup .remove-product {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: rgba(0,0,0,0.50);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#favorites-popup .remove-product:focus { outline: none; }

#favorites-popup .remove-product .trash-icon {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

#favorites-popup .remove-product:hover {
  color: rgba(0,0,0,0.72);
}

#favorites-popup a,
#favorites-popup a:visited {
  color: inherit;
  text-decoration: none;
}

#favorites-popup a:hover {
  color: inherit;
}

.favorites-popup__footer {
  display: block;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.10);
}

.favorites-popup__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(0,0,0,0.85);
}

.favorites-popup__order {
  width: 100%;
  margin-top: 0;
  padding: 14px 12px;
  border: none;
  border-radius: 12px;
  background: #111111;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.favorites-popup__order:hover {
  background: #1c1c1c;
}

@media (max-width: 991px) {
  #favorites-popup {
    top: 84px;
    right: 12px;
    width: calc(100vw - 24px);
    max-width: 380px;
  }
}
/* ===== /Favorites popup ===== */


/* ===== Favorite toast + popup actions ===== */
.solmar-favorite-toast{
  right: 20px;
  left: auto;
}

/* ===== /Favorite toast + popup actions ===== */



/* ===== Unified mini cart + favorites popup ===== */
#cart-popup,
#favorites-popup {
  position: fixed;
  top: 92px;
  right: 20px;
  left: auto;
  bottom: auto;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: auto;
  max-height: calc(100vh - 120px);
  padding: 0;
  margin: 0;
  overflow: visible;
  background: transparent;
}

#favorites-popup {
  z-index: 9998;
  padding-top: 0 !important;
}

#cart-popup {
  z-index: 9999;
}

#cart-popup,
#favorites-popup,
#cart-popup *,
#favorites-popup * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

#cart-popup .close,
#favorites-popup .close {
  position: absolute;
  top: 10px;
  right: 14px;
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(0,0,0,0.42);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

#cart-popup .close:hover,
#favorites-popup .close:hover,
#cart-popup .close:focus,
#favorites-popup .close:focus {
  color: rgba(0,0,0,0.72);
}

#cart-popup,
#favorites-popup .modal-content {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
}

#cart-popup {
  padding: 18px 18px 16px;
}

#favorites-popup .modal-content {
  position: relative;
  top: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px 18px 16px;
}

#cart-popup .cart-popup-title,
#favorites-popup .modal-content > h2:first-of-type {
  margin: 2px 44px 14px 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.78);
}

#favorites-popup h2 { margin: 0; }

#popup-products,
#favorites-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-height: 280px;
  overflow: auto;
  margin: 0 0 8px;
  padding: 0 4px 0 0;
  background: transparent;
  border: none;
}

#favorites-popup .no-favorites {
  display: none;
  position: static;
  width: 100%;
  margin: 6px 0 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(0,0,0,0.55);
}

.popup-product,
.popup-product1 {
  display: grid;
  grid-template-columns: 78px minmax(0,1fr) 24px;
  gap: 14px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  background: #f6f6f3;
  border: 1px solid #ecece7;
  border-radius: 14px;
}

.popup-product-img,
.popup-product1 .favorite-product-img,
.popup-product1 img,
.popup-product img {
  width: 78px !important;
  height: 96px !important;
  object-fit: cover;
  border-radius: 10px;
  margin: 0;
  display: block;
  background: #ececec;
}

.popup-product-info,
.popup-product1 .favorite-product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.popup-product-title,
.popup-product1 .favorite-product-title {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-product-meta,
.popup-product1 .favorite-product-meta {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
  color: rgba(0,0,0,0.52);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-product-price,
.popup-product1 .favorite-product-price {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  color: #111111;
}

#cart-popup .remove-product,
#favorites-popup .remove-product,
.remove-product {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: none;
  background: transparent;
  color: rgba(0,0,0,0.42);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  user-select: none;
  -webkit-user-select: none;
}

#cart-popup .remove-product .trash-icon,
#favorites-popup .remove-product .trash-icon,
.remove-product .trash-icon {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

#cart-popup .remove-product:hover,
#favorites-popup .remove-product:hover,
.remove-product:hover {
  color: rgba(0,0,0,0.72);
}

#total-price,
.favorites-popup__footer {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid rgba(0,0,0,0.10);
}

#total-price,
.favorites-popup__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #111111;
}

.favorites-popup__total { margin: 0 0 14px; }

#proceed-to-order,
.favorites-popup__order {
  width: 100%;
  margin-top: 14px;
  padding: 14px 12px;
  border: none;
  border-radius: 12px;
  background: #111111;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

#favorites-popup a,
#favorites-popup a:visited,
#cart-popup a,
#cart-popup a:visited {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 991px) {
  #cart-popup,
  #favorites-popup {
    top: 84px;
    right: 12px;
    width: calc(100vw - 24px);
    max-width: 380px;
  }
}
/* ===== /Unified mini cart + favorites popup ===== */


/* ===== FINAL FIXES: cart total same visual weight as favorites ===== */
#cart-popup #total-price{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  font-size:14px !important;
  line-height:1.2 !important;
  font-weight:600 !important;
  color:#111111 !important;
}

#cart-popup .cart-popup-title{
  font-size:16px !important;
  font-weight:600 !important;
  letter-spacing:0.10em !important;
}

#cart-popup .close,
#favorites-popup .close{
  font-size:28px !important;
  font-weight:600 !important;
}

#cart-popup .popup-product,
#favorites-popup .popup-product{
  grid-template-columns:64px 1fr 24px !important;
}

#cart-popup .popup-product-title,
#favorites-popup .popup-product-title{
  font-size:14px !important;
  font-weight:600 !important;
}

#cart-popup .popup-product-meta,
#favorites-popup .popup-product-meta{
  font-size:12px !important;
}

#cart-popup .popup-product-price,
#favorites-popup .popup-product-price{
  font-size:14px !important;
  font-weight:700 !important;
}


/* ===== FAVORITES MICRO-TUNING: match cart total row tighter ===== */
#favorites-popup .favorites-popup__footer{
  padding-top:10px !important;
  margin-top:2px !important;
}

#favorites-popup .favorites-popup__total{
  font-size:14px !important;
  line-height:1.2 !important;
  font-weight:600 !important;
  margin:0 0 10px !important;
}

#favorites-popup .favorites-popup__order{
  margin-top:10px !important;
}


/* ===== Favorite heart persistent active state + pulse ===== */
.js-addwish-b2,
.js-addwish-detail,
.btn-addwish-b2,
.btn-addwish-detail {
  -webkit-tap-highlight-color: transparent;
}

.js-addwish-b2 .icon-heart1,
.js-addwish-b2 .icon-heart2,
.js-addwish-detail .icon-heart1,
.js-addwish-detail .icon-heart2 {
  transition: opacity .18s ease, transform .22s ease, color .18s ease;
}

.js-addwish-detail.is-favorite-active,
.js-addedwish-detail.is-favorite-active,
.js-addedwish-detail {
  color: #6c7ae0;
}

.is-favorite-active .icon-heart2,
.js-addedwish-b2 .icon-heart2,
.js-addedwish-detail .icon-heart2 {
  opacity: 1 !important;
  transform: scale(1);
}

.is-favorite-active .icon-heart1,
.js-addedwish-b2 .icon-heart1,
.js-addedwish-detail .icon-heart1 {
  opacity: 0 !important;
}

.favorite-animate-pop .icon-heart2,
.favorite-animate-pop .icon-heart1,
.favorite-animate-pop {
  animation: favoriteHeartPop .28s ease;
}

@keyframes favoriteHeartPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
/* ===== /Favorite heart persistent active state + pulse ===== */


/* ===== Favorite fly animation ===== */
.favorite-fly-heart {
  position: fixed;
  z-index: 10060;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: #7b3ff2;
  transition: left 3.5s cubic-bezier(0.2, 0.75, 0.15, 1), top 3.5s cubic-bezier(0.2, 0.75, 0.15, 1), transform 3.5s cubic-bezier(0.2, 0.75, 0.15, 1), opacity 3.5s ease;
  will-change: left, top, transform, opacity;
}

.favorite-fly-heart i,
.favorite-fly-heart svg,
.favorite-fly-heart span {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 22px;
  line-height: 1;
  color: inherit !important;
  fill: currentColor;
}

.favorite-icon-fly-bump {
  animation: favoriteIconFlyBump 0.42s ease;
}

@keyframes favoriteIconFlyBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.22); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
/* ===== /Favorite fly animation ===== */

/* ===== ULTRA FIX: favorites popup must look identical on product pages and catalog ===== */
#favorites-popup #favorites-products,
#favorites-popup #popup-products {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

#favorites-popup #favorites-products .popup-product,
#favorites-popup #popup-products .popup-product,
#favorites-popup .popup-product {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) 18px !important;
  grid-template-areas: "image info remove" !important;
  align-items: center !important;
  column-gap: 14px !important;
  row-gap: 0 !important;
  width: 100% !important;
  min-height: 108px !important;
  margin: 0 !important;
  padding: 16px !important;
  background: #f6f6f3 !important;
  border: 1px solid #ecece7 !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

#favorites-popup #favorites-products .popup-product > a,
#favorites-popup #popup-products .popup-product > a,
#favorites-popup .popup-product > a {
  grid-area: image !important;
  display: block !important;
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: center !important;
  justify-self: start !important;
}

#favorites-popup #favorites-products .popup-product-img,
#favorites-popup #popup-products .popup-product-img,
#favorites-popup .popup-product-img,
#favorites-popup #favorites-products .popup-product > a img,
#favorites-popup #popup-products .popup-product > a img,
#favorites-popup .popup-product > a img {
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  height: 78px !important;
  min-height: 78px !important;
  max-height: 78px !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin: 0 !important;
}

#favorites-popup #favorites-products .popup-product-info,
#favorites-popup #popup-products .popup-product-info,
#favorites-popup .popup-product-info {
  grid-area: info !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 4px !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

#favorites-popup #favorites-products .popup-product-title,
#favorites-popup #popup-products .popup-product-title,
#favorites-popup .popup-product-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  white-space: normal !important;
  text-overflow: unset !important;
  text-align: left !important;
  align-self: flex-start !important;
  width: 100% !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  color: #111111 !important;
}

#favorites-popup #favorites-products .popup-product-meta,
#favorites-popup #popup-products .popup-product-meta,
#favorites-popup .popup-product-meta {
  width: 100% !important;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  color: rgba(0,0,0,0.52) !important;
  text-align: left !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#favorites-popup #favorites-products .popup-product-price,
#favorites-popup #popup-products .popup-product-price,
#favorites-popup .popup-product-price {
  width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #111111 !important;
}

#favorites-popup #favorites-products .remove-product,
#favorites-popup #popup-products .remove-product,
#favorites-popup .remove-product {
  grid-area: remove !important;
  justify-self: end !important;
  align-self: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(0,0,0,0.42) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

#favorites-popup #favorites-products .remove-product .trash-icon,
#favorites-popup #popup-products .remove-product .trash-icon,
#favorites-popup .remove-product .trash-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  display: block !important;
  fill: currentColor !important;
}

#favorites-popup #favorites-products .remove-product::before,
#favorites-popup #favorites-products .remove-product::after,
#favorites-popup #popup-products .remove-product::before,
#favorites-popup #popup-products .remove-product::after,
#favorites-popup .remove-product::before,
#favorites-popup .remove-product::after {
  content: none !important;
  display: none !important;
}
/* ===== /ULTRA FIX ===== */


.fade-in-product {
  animation: fadeProduct 0.3s ease;
}

@keyframes fadeProduct {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lazy-products-sentinel {
  width: 100%;
  height: 1px;
}


/* ===== FAVORITES POPUP FIX: vertical scroll + clickable cards ===== */
#favorites-popup #favorites-products {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;

  width: 100% !important;
  max-width: 100% !important;
  max-height: 390px !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;

  margin: 0 !important;
  padding: 0 6px 0 0 !important;

  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
}

#favorites-popup #favorites-products .popup-product,
#favorites-popup #favorites-products .favorite-popup-product {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  display: grid !important;
  grid-template-columns: 74px minmax(0, 1fr) 28px !important;
  align-items: center !important;
  column-gap: 14px !important;

  margin: 0 !important;
  padding: 16px !important;

  box-sizing: border-box !important;
  overflow: hidden !important;

  cursor: pointer !important;
}

#favorites-popup #favorites-products .popup-product-img {
  width: 74px !important;
  min-width: 74px !important;
  max-width: 74px !important;
  height: 88px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 10px !important;
}

#favorites-popup #favorites-products .popup-product-info {
  min-width: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

#favorites-popup #favorites-products .popup-product-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;

  width: 100% !important;
  max-width: 100% !important;

  overflow: hidden !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
}

#favorites-popup #favorites-products .popup-product-meta,
#favorites-popup #favorites-products .popup-product-price {
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

#favorites-popup #favorites-products .remove-product {
  justify-self: end !important;
  align-self: center !important;
  position: relative !important;
  z-index: 5 !important;
  cursor: pointer !important;
}

@media (max-width: 991px) {
  #favorites-popup #favorites-products {
    max-height: 52vh !important;
  }
}
/* ===== /FAVORITES POPUP FIX ===== */


/* ===== RESTORE SOLMAR CART/FAVORITE TOAST DESIGN ===== */
.solmar-cart-toast,
.solmar-favorite-toast {
  position: fixed !important;
  top: 118px !important;
  right: 28px !important;
  left: auto !important;
  bottom: auto !important;

  width: 420px !important;
  max-width: calc(100vw - 32px) !important;

  background: rgba(255,255,255,0.96) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 55px rgba(0,0,0,0.16) !important;

  padding: 22px 24px 18px !important;
  z-index: 99999 !important;

  overflow: hidden !important;
  box-sizing: border-box !important;

  transform: translateX(120%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: transform .28s ease, opacity .22s ease, visibility .22s ease !important;
}

.solmar-cart-toast.is-visible,
.solmar-favorite-toast.is-visible {
  transform: translateX(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.solmar-cart-toast__head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

.solmar-cart-toast__title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: #242424 !important;
  text-transform: uppercase !important;
}

.solmar-cart-toast__close {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(0,0,0,0.45) !important;
  font-size: 34px !important;
  line-height: 24px !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
}

.solmar-cart-toast__body {
  display: grid !important;
  grid-template-columns: 78px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;

  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 0 18px !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  box-sizing: border-box !important;
}

.solmar-cart-toast__imgwrap {
  width: 78px !important;
  height: 92px !important;
  min-width: 78px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: #f4f4f4 !important;
}

.solmar-cart-toast__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.solmar-cart-toast__info {
  min-width: 0 !important;
  width: 100% !important;
}

.solmar-cart-toast__name {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;

  overflow: hidden !important;
  white-space: normal !important;

  margin: 0 0 8px !important;
  padding: 0 !important;

  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  color: #222 !important;
}

.solmar-cart-toast__meta {
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  margin: 0 !important;
  padding: 0 !important;

  font-size: 14px !important;
  line-height: 1.25 !important;
  color: rgba(0,0,0,0.58) !important;
}

.solmar-cart-toast__sum {
  text-align: right !important;
  min-width: 70px !important;
  white-space: nowrap !important;
}

.solmar-cart-toast__sumlabel {
  margin: 0 0 8px !important;
  padding: 0 !important;

  font-size: 13px !important;
  line-height: 1.2 !important;
  color: rgba(0,0,0,0.55) !important;
}

.solmar-cart-toast__sumvalue {
  margin: 0 !important;
  padding: 0 !important;

  font-size: 17px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #111 !important;
}

.solmar-cart-toast__primary {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  height: 58px !important;
  min-height: 58px !important;

  margin: 0 !important;
  padding: 0 18px !important;

  border: 0 !important;
  border-radius: 8px !important;
  background: #111827 !important;
  color: #fff !important;

  overflow: hidden !important;
  cursor: pointer !important;

  font-size: 15px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  box-sizing: border-box !important;
}

.solmar-cart-toast__primaryText {
  position: relative !important;
  z-index: 2 !important;
}

.solmar-cart-toast__progress {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;

  width: 100% !important;
  height: 100% !important;

  background: rgba(255,255,255,0.10) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

@media (max-width: 767px) {
  .solmar-cart-toast,
  .solmar-favorite-toast {
    top: 84px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
    padding: 18px 18px 16px !important;
    border-radius: 16px !important;
  }

  .solmar-cart-toast__body {
    grid-template-columns: 68px minmax(0, 1fr) auto !important;
    gap: 12px !important;
  }

  .solmar-cart-toast__imgwrap {
    width: 68px !important;
    height: 82px !important;
    min-width: 68px !important;
  }

  .solmar-cart-toast__title {
    font-size: 16px !important;
  }

  .solmar-cart-toast__name {
    font-size: 14px !important;
  }

  .solmar-cart-toast__meta,
  .solmar-cart-toast__sumlabel {
    font-size: 12px !important;
  }

  .solmar-cart-toast__sumvalue {
    font-size: 15px !important;
  }

  .solmar-cart-toast__primary {
    height: 54px !important;
    min-height: 54px !important;
    font-size: 13px !important;
  }
}
/* ===== /RESTORE SOLMAR CART/FAVORITE TOAST DESIGN ===== */


/* ===== FINAL FIX: running progress bar for cart + favorites toast ===== */
/* JS меняет width от 100% до 0%.
   На hover JS ставит паузу, mouseleave — продолжает с того же места.
*/
.solmar-cart-toast .solmar-cart-toast__primary,
.solmar-favorite-toast .solmar-cart-toast__primary {
  position: relative !important;
  overflow: hidden !important;
}

.solmar-cart-toast .solmar-cart-toast__primaryText,
.solmar-favorite-toast .solmar-cart-toast__primaryText {
  position: relative !important;
  z-index: 3 !important;
}

.solmar-cart-toast .solmar-cart-toast__progress,
.solmar-favorite-toast .solmar-cart-toast__progress {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  bottom: auto !important;

  height: 100% !important;
  min-height: 100% !important;

  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;

  background: rgba(255, 255, 255, 0.25) !important;
  z-index: 2 !important;
  pointer-events: none !important;

  transform: none !important;
  transition: width 50ms linear !important;
}
/* ===== /FINAL FIX ===== */


/* ===== FAVORITES TOAST HOVER PAUSE FIX ===== */
.solmar-favorite-toast .solmar-cart-toast__progress {
  transition: width 50ms linear !important;
}
/* ===== /FAVORITES TOAST HOVER PAUSE FIX ===== */


/* ===== CART POPUP CARDS LIKE FAVORITES ===== */
#cart-popup #popup-products {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;

  width: 100% !important;
  max-width: 100% !important;
  max-height: 390px !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;

  margin: 0 !important;
  padding: 0 6px 0 0 !important;

  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
}

#cart-popup #popup-products .popup-product {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  display: grid !important;
  grid-template-columns: 74px minmax(0, 1fr) 28px !important;
  align-items: center !important;
  column-gap: 14px !important;

  margin: 0 !important;
  padding: 16px !important;

  box-sizing: border-box !important;
  overflow: hidden !important;

  background: #f6f6f3 !important;
  border: 1px solid #ecece7 !important;
  border-radius: 14px !important;
}

#cart-popup #popup-products .popup-product-img {
  width: 74px !important;
  min-width: 74px !important;
  max-width: 74px !important;

  height: 88px !important;
  min-height: 88px !important;
  max-height: 88px !important;

  object-fit: cover !important;
  display: block !important;
  border-radius: 10px !important;
  margin: 0 !important;
}

#cart-popup #popup-products .popup-product-info {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 4px !important;

  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-align: left !important;
}

#cart-popup #popup-products .popup-product-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;

  width: 100% !important;
  max-width: 100% !important;

  overflow: hidden !important;
  white-space: normal !important;
  text-overflow: unset !important;

  margin: 0 !important;
  padding: 0 !important;

  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  color: #111111 !important;
}

#cart-popup #popup-products .popup-product-meta {
  width: 100% !important;
  max-width: 100% !important;

  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;

  margin: 0 !important;
  padding: 0 !important;

  font-size: 12px !important;
  line-height: 1.2 !important;
  color: rgba(0,0,0,0.52) !important;
}

#cart-popup #popup-products .popup-product-price {
  margin: 0 !important;
  padding: 0 !important;

  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #111111 !important;
}

#cart-popup #popup-products .remove-product {
  justify-self: end !important;
  align-self: center !important;
  position: relative !important;
  z-index: 5 !important;
  cursor: pointer !important;
}

@media (max-width: 991px) {
  #cart-popup #popup-products {
    max-height: 52vh !important;
  }
}
/* ===== /CART POPUP CARDS LIKE FAVORITES ===== */


/* ===== MOBILE SAFARI FAVORITE HEART FIX ===== */
/* На телефонах отключаем hover-логику сердца.
   Сердце теперь подсвечивается только от реального активного класса,
   а не от "залипшего" Safari :hover после тапа.
*/
@media (hover: none), (pointer: coarse), (max-width: 991px) {
  .btn-addwish-b2:hover .icon-heart1,
  .js-addwish-b2:hover .icon-heart1 {
    opacity: 1 !important;
  }

  .btn-addwish-b2:hover .icon-heart2,
  .js-addwish-b2:hover .icon-heart2 {
    opacity: 0 !important;
  }

  .btn-addwish-b2.js-addedwish-b2 .icon-heart1,
  .btn-addwish-b2.is-favorite-active .icon-heart1,
  .js-addwish-b2.js-addedwish-b2 .icon-heart1,
  .js-addwish-b2.is-favorite-active .icon-heart1 {
    opacity: 0 !important;
  }

  .btn-addwish-b2.js-addedwish-b2 .icon-heart2,
  .btn-addwish-b2.is-favorite-active .icon-heart2,
  .js-addwish-b2.js-addedwish-b2 .icon-heart2,
  .js-addwish-b2.is-favorite-active .icon-heart2 {
    opacity: 1 !important;
  }

  .btn-addwish-b2:not(.js-addedwish-b2):not(.is-favorite-active) .icon-heart1,
  .js-addwish-b2:not(.js-addedwish-b2):not(.is-favorite-active) .icon-heart1 {
    opacity: 1 !important;
  }

  .btn-addwish-b2:not(.js-addedwish-b2):not(.is-favorite-active) .icon-heart2,
  .js-addwish-b2:not(.js-addedwish-b2):not(.is-favorite-active) .icon-heart2 {
    opacity: 0 !important;
  }
}
/* ===== /MOBILE SAFARI FAVORITE HEART FIX ===== */


/* =====================================================================
   CAS PRINT — premium product parameters block (desktop + mobile)
   ===================================================================== */
.sec-product-detail .p-r-50.p-t-5.p-lr-0-lg {
  max-width: 560px;
}

.cp-product-options {
  width: 100%;
  max-width: 560px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-bottom: 0;
}

.cp-product-options,
.cp-product-options * {
  box-sizing: border-box;
}

.cp-hidden-control {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.cp-option-block {
  margin-bottom: 24px;
}

.cp-option-title {
  margin: 0 0 12px;
  font-family: Poppins-Medium, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  color: #111;
}

.cp-size-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.cp-size-btn,
.cp-fit-btn,
.cp-color-field,
.cp-add-cart-btn,
.cp-info-btn,
.cp-qty-control {
  -webkit-tap-highlight-color: transparent;
}

.cp-size-btn {
  height: 44px;
  min-width: 0;
  padding: 0 8px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 6px;
  background: transparent;
  color: #111;
  font-family: Poppins-Regular, Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}

.cp-size-btn:hover {
  border-color: rgba(0,0,0,0.22);
}

.cp-size-btn:active {
  transform: scale(0.96);
}

.cp-size-btn.is-active {
  background: #050505;
  color: #fff;
  border-color: #050505;
}

.cp-fit-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.cp-fit-btn {
  height: 52px;
  margin: 0;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 6px;
  background: transparent;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: Poppins-Regular, Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}

.cp-fit-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cp-fit-btn:hover {
  border-color: rgba(0,0,0,0.22);
}

.cp-fit-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.cp-fit-btn.is-active,
.cp-fit-btn:has(input:checked) {
  background: #050505;
  color: #fff;
  border-color: #050505;
}

.cp-fit-icon {
  font-size: 19px;
  line-height: 1;
}

.cp-color-select-wrap {
  position: relative;
  width: 100%;
  height: 54px;
}

.cp-color-native {
  width: 100%;
  height: 54px;
  padding: 0 42px 0 16px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 6px;
  background: transparent;
  color: #111;
  font-family: Poppins-Regular, Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  outline: none;
  -webkit-appearance: auto;
  appearance: auto;
}

.cp-color-native:focus {
  border-color: rgba(0,0,0,0.28);
}

.cp-color-field {
  display: none !important;
}

.cp-color-dot {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
  background: #b9b9b9;
  display: inline-block;
}

.cp-color-dot--melange {
  background:
    radial-gradient(circle at 24% 28%, rgba(255,255,255,.55) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 38%, rgba(84,84,84,.35) 0 1px, transparent 2px),
    radial-gradient(circle at 45% 72%, rgba(255,255,255,.35) 0 1.5px, transparent 2.5px),
    linear-gradient(135deg, #c9c9c9, #9f9f9f);
}

.cp-color-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-color-arrow {
  margin-left: auto;
  font-size: 22px;
  line-height: 1;
  color: #111;
  transform: translateY(-2px);
}

.cp-buy-row {
  display: grid;
  grid-template-columns: auto 150px minmax(190px, 1fr);
  align-items: center;
  gap: 14px;
  margin: 28px 0 22px;
}

.cp-qty-label {
  margin: 0;
}

.cp-qty-control.wrap-num-product {
  width: 150px;
  height: 48px;
  margin: 0 !important;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
}

.cp-qty-btn.btn-num-product-down,
.cp-qty-btn.btn-num-product-up {
  width: 48px;
  height: 100%;
  border: 0;
}

.cp-qty-input.num-product {
  width: 52px;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-family: Poppins-Regular, Arial, sans-serif;
}

.cp-add-cart-btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: #050505;
  color: #fff;
  font-family: Poppins-Medium, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: center;
  transform: translateY(-8px);
  transition: transform .12s ease, background-color .18s ease;
}

.cp-add-cart-btn:hover {
  background: #000;
}

.cp-add-cart-btn:active {
  transform: translateY(-8px) scale(0.98);
}




.cp-size-btn.is-active,
.cp-size-btn[aria-pressed="true"] {
  background: #050505 !important;
  color: #fff !important;
  border-color: #050505 !important;
}

@media (max-width: 991px) {
  .cp-add-cart-btn {
    transform: none;
  }

  .cp-add-cart-btn:active {
    transform: scale(0.98);
  }
}

.cp-info-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.cp-info-btn {
  height: 54px;
  padding: 0 14px;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 6px;
  background: transparent;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: Poppins-Medium, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .18s ease, transform .12s ease;
}

.cp-info-btn i {
  font-size: 20px;
  line-height: 1;
}

.cp-info-btn:hover {
  border-color: rgba(0,0,0,0.32);
}

.cp-info-btn:active {
  transform: scale(0.98);
}

@media (max-width: 991px) {
  .sec-product-detail .p-r-50.p-t-5.p-lr-0-lg {
    max-width: 100%;
  }

  .cp-product-options {
    max-width: 100%;
    padding: 0 22px 0;
  }

  .cp-size-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .cp-size-btn {
    height: 64px;
    border-radius: 8px;
    font-size: 18px;
  }

  .cp-option-title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .cp-option-block {
    margin-bottom: 34px;
  }

  .cp-fit-toggle {
    gap: 0;
  }

  .cp-fit-btn {
    height: 66px;
    border-radius: 0;
    font-size: 19px;
    gap: 14px;
  }

  .cp-fit-btn:first-child {
    border-radius: 8px 0 0 8px;
  }

  .cp-fit-btn:last-child {
    border-radius: 0 8px 8px 0;
  }

  .cp-color-select-wrap,
  .cp-color-native {
    height: 68px;
  }

  .cp-color-native {
    border-radius: 8px;
    padding: 0 46px 0 22px;
    font-size: 20px;
  }

  .cp-color-dot {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .cp-buy-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
  }

  .cp-qty-control.wrap-num-product {
    width: 100%;
    max-width: 340px;
    height: 62px;
    justify-self: center;
  }

  .cp-qty-btn.btn-num-product-down,
  .cp-qty-btn.btn-num-product-up {
    width: 33.333%;
  }

  .cp-qty-input.num-product {
    width: 33.333%;
    font-size: 20px;
  }

  .cp-add-cart-btn {
    height: 70px;
    border-radius: 8px;
    font-size: 18px;
  }

  

.cp-info-actions {
    gap: 22px;
  }

  .cp-info-btn {
    height: 68px;
    border-radius: 8px;
    font-size: 17px;
  }
}

@media (max-width: 575px) {
  .cp-product-options {
    padding: 0 15px;
  }

  .cp-size-grid {
    gap: 10px;
  }

  .cp-size-btn {
    height: 58px;
    font-size: 17px;
  }

  .cp-option-title {
    font-size: 20px;
  }

  .cp-fit-btn {
    height: 62px;
    font-size: 17px;
  }

  .cp-color-field {
    height: 64px;
    font-size: 18px;
  }

  

.cp-info-actions {
    gap: 12px;
  }

  .cp-info-btn {
    height: 62px;
    padding: 0 10px;
    font-size: 14px;
    gap: 8px;
  }
}

.cp-color-dot--white { background: #f4f4f1; }
.cp-color-dot--black { background: #080808; }
.cp-color-dot--gray { background: #9b9b9b; }
.cp-color-dot--graphite { background: #4b4b4b; }
.cp-color-dot--beige { background: #ded1bf; }
.cp-color-dot--red { background: #a53a3f; }
.cp-color-dot--yellow { background: #e5c240; }
.cp-color-dot--dusty-yellow { background: #c2ad68; }
.cp-color-dot--orange { background: #d6753d; }
.cp-color-dot--ultramarine { background: #2d4f9a; }
.cp-color-dot--dark-blue { background: #1c2f57; }
.cp-color-dot--deep-navy { background: #121b34; }
.cp-color-dot--sky-blue { background: #7ca3c9; }
.cp-color-dot--blue { background: #315d91; }
.cp-color-dot--kiwi { background: #9aa65f; }
.cp-color-dot--green { background: #71856d; }
.cp-color-dot--dark-green { background: #2e483a; }
.cp-color-dot--khaki { background: #777b5f; }
.cp-color-dot--chocolate { background: #574036; }
.cp-color-dot--purple { background: #5b4a72; }
.cp-color-dot--carrot { background: #d67b52; }
.cp-color-dot--lime { background: #a2c85a; }
.cp-color-dot--marsala { background: #7d2831; }
.cp-color-dot--pink { background: #e6b7c1; }
.cp-color-dot--denim { background: #667f9b; }
.cp-color-dot--steel { background: #9fa5a6; }
.cp-color-dot--bordeaux { background: #6e2632; }
.cp-color-dot--white-melange {
  background:
    radial-gradient(circle at 30% 30%, rgba(190,190,190,.5) 0 1px, transparent 2px),
    linear-gradient(135deg, #f5f5f1, #ddddda);
}

/* ===== CAS PRINT FINAL FIX: quantity row aligned and narrowed ===== */
/* Работает с актуальной HTML-структурой .cp-buy-row:
   Кількість | (- 1 +) | ДОДАТИ В КОШИК
*/

.cp-buy-row {
  display: grid !important;
  grid-template-columns: 90px 140px 205px !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  align-items: center !important;
  justify-content: start !important;
  width: 459px !important;
  max-width: 459px !important;
  margin: 22px 0 22px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.cp-buy-row .cp-qty-label {
  width: 90px !important;
  min-width: 90px !important;
  max-width: 90px !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  line-height: 1 !important;
}

.cp-buy-row .cp-qty-control.wrap-num-product {
  width: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 38px 64px 38px !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  border: 1px solid rgba(0,0,0,.14) !important;
  border-radius: 7px !important;
  background: transparent !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  transform: none !important;
  position: static !important;
}

.cp-buy-row .cp-qty-btn.btn-num-product-down,
.cp-buy-row .cp-qty-btn.btn-num-product-up {
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #1d2329 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transform: none !important;
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.cp-buy-row .cp-qty-input.num-product {
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center !important;
  line-height: 46px !important;
  box-sizing: border-box !important;
  transform: none !important;
  position: static !important;
}

.cp-buy-row .cp-add-cart-btn {
  width: 205px !important;
  min-width: 205px !important;
  max-width: 205px !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 7px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-align: center !important;
  line-height: 1 !important;
  font-size: 12.5px !important;
  letter-spacing: .25px !important;
  box-sizing: border-box !important;
  transform: none !important;
  position: static !important;
}

.cp-buy-row .cp-add-cart-btn:active {
  transform: scale(.98) !important;
}

.cp-buy-row .cp-qty-btn.btn-num-product-down:hover,
.cp-buy-row .cp-qty-btn.btn-num-product-up:hover,
.cp-buy-row .cp-qty-btn.btn-num-product-down:focus,
.cp-buy-row .cp-qty-btn.btn-num-product-up:focus {
  background: #050505 !important;
  color: #fff !important;
  border-color: #050505 !important;
}

/* сохраняем нормальные иконки фасона */
.cp-fit-icon {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-align: center !important;
}

.cp-fit-icon svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.85 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

@media (max-width: 575px) {
  .cp-buy-row {
    grid-template-columns: 78px 126px 1fr !important;
    column-gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .cp-buy-row .cp-qty-label {
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
  }

  .cp-buy-row .cp-qty-control.wrap-num-product {
    width: 126px !important;
    min-width: 126px !important;
    max-width: 126px !important;
    grid-template-columns: 36px 54px 36px !important;
  }

  .cp-buy-row .cp-qty-btn.btn-num-product-down,
  .cp-buy-row .cp-qty-btn.btn-num-product-up {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
  }

  .cp-buy-row .cp-qty-input.num-product {
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
  }

  .cp-buy-row .cp-add-cart-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    font-size: 11.5px !important;
    padding: 0 8px !important;
  }
}
/* ===== /CAS PRINT FINAL FIX ===== */

/* ===== CAS PRINT v22 — сузить только кнопку ДОДАТИ В КОШИК ===== */

.cp-buy-row .cp-add-cart-btn {
  width: 175px !important;
  min-width: 175px !important;
  max-width: 175px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
  letter-spacing: .15px !important;
}

/* ===== /CAS PRINT v22 ===== */



/* ===== CAS PRINT v24 — точная середина между v22 и v23 ===== */
.cp-buy-row .cp-add-cart-btn {
  width: 181px !important;
  min-width: 181px !important;
  max-width: 181px !important;
}
/* ===== /CAS PRINT v24 ===== */



/* ===== CAS PRINT COLOR DROPDOWN v1 — кастомный список с кружочками ===== */

.cp-color-custom-wrap {
  position: relative !important;
  height: auto !important;
  width: 100% !important;
  z-index: 20;
}

.cp-color-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  left: 0 !important;
  top: 0 !important;
}

.cp-color-trigger {
  width: 100% !important;
  height: 54px !important;
  padding: 0 15px !important;
  border: 1px solid rgba(0,0,0,.13) !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #111 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  font-family: Poppins-Regular, Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.cp-color-trigger:hover,
.cp-color-custom-wrap.is-open .cp-color-trigger {
  border-color: rgba(0,0,0,.28) !important;
  background: rgba(255,255,255,.28) !important;
}

.cp-color-trigger-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cp-color-trigger-swatch {
  width: 18px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(0,0,0,.16);
  display: none;
  box-sizing: border-box;
}

.cp-color-trigger-swatch.is-visible {
  display: inline-block;
}

.cp-color-trigger-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-color-trigger-arrow {
  margin-left: 12px;
  font-size: 20px;
  line-height: 1;
  color: #111;
  transform: translateY(-2px);
  transition: transform .18s ease;
}

.cp-color-custom-wrap.is-open .cp-color-trigger-arrow {
  transform: rotate(180deg) translateY(2px);
}

.cp-color-dropdown {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #f7f7f7;
  border: 1px solid rgba(0,0,0,.13);
  border-radius: 7px;
  box-shadow: 0 18px 38px rgba(0,0,0,.12);
  z-index: 5000;
  box-sizing: border-box;
  overflow: hidden;
}

.cp-color-custom-wrap.is-open .cp-color-dropdown {
  display: block;
}

.cp-color-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 32px;
  width: 12px;
  height: 12px;
  background: #f7f7f7;
  border-left: 1px solid rgba(0,0,0,.13);
  border-top: 1px solid rgba(0,0,0,.13);
  transform: rotate(45deg);
}

.cp-color-dropdown-inner {
  position: relative;
  max-height: 330px;
  padding: 10px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
}

.cp-color-option {
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #111;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  font-family: Poppins-Regular, Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.2;
  box-sizing: border-box;
  transition: background-color .15s ease, color .15s ease;
}

.cp-color-option:hover,
.cp-color-option.is-selected {
  background: rgba(0,0,0,.065);
}

.cp-color-option.is-selected {
  font-family: Poppins-Medium, Arial, sans-serif;
}

.cp-color-swatch {
  width: 15px;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--cp-swatch);
  border: 1px solid rgba(0,0,0,.16);
  box-sizing: border-box;
}

.cp-color-option[data-value="білий"] .cp-color-swatch,
.cp-color-option[data-value="білий меланж"] .cp-color-swatch {
  border-color: rgba(0,0,0,.22);
}

.cp-color-option-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 575px) {
  .cp-color-trigger {
    height: 62px !important;
    font-size: 17px !important;
    padding: 0 16px !important;
  }

  .cp-color-dropdown {
    position: static;
    margin-top: 8px;
    box-shadow: none;
  }

  .cp-color-dropdown::before {
    display: none;
  }

  .cp-color-dropdown-inner {
    max-height: 380px;
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .cp-color-option {
    min-height: 42px;
    font-size: 15px;
  }

  .cp-color-swatch {
    width: 18px;
    min-width: 18px;
    height: 18px;
  }
}

/* ===== /CAS PRINT COLOR DROPDOWN v1 ===== */


/* ===== CAS PRINT COLOR DROPDOWN v3 — details/summary open fix ===== */

.cp-color-details {
  position: relative !important;
  width: 100% !important;
  display: block !important;
}

.cp-color-details > summary {
  list-style: none !important;
}

.cp-color-details > summary::-webkit-details-marker {
  display: none !important;
}

.cp-color-details[open] .cp-color-trigger {
  border-color: rgba(0,0,0,.28) !important;
  background: rgba(255,255,255,.28) !important;
}

.cp-color-details[open] .cp-color-trigger-arrow {
  transform: rotate(180deg) translateY(2px) !important;
}

.cp-color-details .cp-color-dropdown {
  display: none !important;
}

.cp-color-details[open] .cp-color-dropdown {
  display: block !important;
}

/* чтобы старый JS-класс тоже продолжал работать, если он сработает */
.cp-color-custom-wrap.is-open .cp-color-dropdown {
  display: block !important;
}

/* ===== /CAS PRINT COLOR DROPDOWN v3 ===== */


/* ===== CAS PRINT COLOR DROPDOWN v4 selection polish ===== */
.cp-color-option {
  position: relative;
}

.cp-color-option.is-selected::after {
  content: "✓";
  margin-left: auto;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  color: #111;
}

.cp-color-trigger-swatch.is-visible {
  display: inline-block !important;
}
/* ===== /CAS PRINT COLOR DROPDOWN v4 ===== */


/* ===== CAS PRINT COLOR DROPDOWN v5 — selected state fix ===== */
.cp-color-trigger-swatch.is-visible {
  display: inline-block !important;
}

.cp-color-option.is-selected {
  background: rgba(0,0,0,.075) !important;
  font-family: Poppins-Medium, Arial, sans-serif !important;
}

.cp-color-option.is-selected::after {
  content: "✓";
  margin-left: auto;
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: #111;
}
/* ===== /CAS PRINT COLOR DROPDOWN v5 ===== */


/* ===== CAS PRINT MOBILE ONLY FIX — sizes 4 + 4 ===== */
/* Только мобильная версия. Десктоп не трогаем. */
@media (max-width: 760px) {

  /* Размеры: ровно 2 ряда по 4 плитки */
  .cp-size-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .cp-size-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 58px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    font-size: 17px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Чтобы блок параметров не разъезжался на телефоне */
  .cp-product-options {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

  /* Фасон на мобильном: две ровные плашки */
  .cp-fit-toggle {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .cp-fit-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 62px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  /* Цвет: плашка на всю ширину */
  .cp-color-custom-wrap,
  .cp-color-select-wrap,
  .cp-color-trigger {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Выпадающий список цветов на мобильном — аккуратный блок */
  .cp-color-dropdown {
    position: static !important;
    width: 100% !important;
    margin-top: 8px !important;
    box-shadow: none !important;
    border-radius: 8px !important;
  }

  .cp-color-dropdown::before {
    display: none !important;
  }

  .cp-color-dropdown-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-height: 520px !important;
    padding: 12px !important;
    gap: 6px 10px !important;
  }

  .cp-color-option {
    min-height: 42px !important;
    font-size: 14px !important;
    padding: 8px 8px !important;
  }

  .cp-color-swatch {
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
  }
}

/* Для совсем узких экранов оставляем те же 4 плитки в ряду, просто чуть компактнее */
@media (max-width: 390px) {
  .cp-size-grid {
    gap: 8px !important;
  }

  .cp-size-btn {
    height: 54px !important;
    font-size: 16px !important;
  }

  .cp-color-dropdown-inner {
    gap: 5px 8px !important;
  }

  .cp-color-option {
    font-size: 13px !important;
  }
}
/* ===== /CAS PRINT MOBILE ONLY FIX ===== */


/* ===== CAS PRINT MOBILE PRODUCT PAGE FIX v25 ===== */
/* Правки только для мобильной версии карточек товара */
@media (max-width: 760px) {
  .cp-product-options {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 24px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .cp-product-options .cp-option-block {
    margin-bottom: 26px !important;
  }

  .cp-product-options .cp-option-title {
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    line-height: 1.15 !important;
    font-size: 22px !important;
  }

  .cp-product-options .cp-size-grid {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .cp-product-options .cp-size-grid--hoodie-oversize {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cp-product-options .cp-size-grid-oversize,
  .cp-product-options .cp-size-grid--hoodie,
  .cp-product-options .cp-size-grid--sweatshirt {
    display: grid !important;
  }

  .cp-product-options .cp-size-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .cp-product-options .cp-fit-toggle {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  .cp-product-options .cp-fit-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 58px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

  .cp-product-options .cp-color-custom-wrap,
  .cp-product-options .cp-color-select-wrap,
  .cp-product-options .cp-color-details,
  .cp-product-options .cp-color-trigger {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .cp-buy-row {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-areas:
      "qtylabel qtycontrol"
      "cartbtn cartbtn" !important;
    column-gap: 12px !important;
    row-gap: 14px !important;
    align-items: center !important;
    justify-content: stretch !important;
    margin: 24px 0 22px 0 !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  .cp-buy-row .cp-qty-label {
    grid-area: qtylabel !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 46px !important;
    font-size: 22px !important;
    line-height: 1 !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  .cp-buy-row .cp-qty-control.wrap-num-product {
    grid-area: qtycontrol !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 46px !important;
    margin: 0 !important;
    grid-template-columns: 38px minmax(42px, 1fr) 38px !important;
    box-sizing: border-box !important;
  }

  .cp-buy-row .cp-qty-btn.btn-num-product-down,
  .cp-buy-row .cp-qty-btn.btn-num-product-up {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 46px !important;
  }

  .cp-buy-row .cp-qty-input.num-product {
    width: 100% !important;
    min-width: 42px !important;
    max-width: none !important;
    height: 46px !important;
    line-height: 46px !important;
  }

  .cp-buy-row .cp-add-cart-btn {
    grid-area: cartbtn !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    letter-spacing: .2px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .cp-info-actions {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  .cp-info-actions .cp-info-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 62px !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
  }
}

@media (max-width: 390px) {
  .cp-product-options {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .cp-product-options .cp-size-grid {
    gap: 10px 8px !important;
  }

  .cp-product-options .cp-size-btn {
    height: 54px !important;
    min-height: 54px !important;
    font-size: 16px !important;
  }

  .cp-buy-row {
    padding-left: 12px !important;
    padding-right: 12px !important;
    column-gap: 10px !important;
  }

  .cp-buy-row .cp-qty-label {
    font-size: 21px !important;
  }

  .cp-buy-row .cp-qty-control.wrap-num-product {
    max-width: none !important;
    grid-template-columns: 36px minmax(38px, 1fr) 36px !important;
  }

  .cp-buy-row .cp-qty-btn.btn-num-product-down,
  .cp-buy-row .cp-qty-btn.btn-num-product-up {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
  }

  .cp-buy-row .cp-add-cart-btn {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    font-size: 12.5px !important;
  }
}
/* ===== /CAS PRINT MOBILE PRODUCT PAGE FIX v26 ===== */


/* =====================================================================
   CAS PRINT MOBILE POPUP FINAL FIX
   ТІЛЬКИ МОБІЛЬНА ВЕРСІЯ: центрування модалок, вертикальна подвійна розмірка,
   кнопки керування знизу під вікном.
   ===================================================================== */
@media screen and (max-width: 767px) {
  html.cp-popup-lock,
  html.cp-popup-lock body {
    overflow: hidden !important;
  }

  #size-chart-modal.cp-center-popup,
  #color-options-modal.cp-center-popup,
  #size-chart-modal.size-chart-modal,
  #size-chart-modal.size-chart-modal1,
  #color-options-modal.color-options-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: max(18px, env(safe-area-inset-top)) 0 calc(120px + env(safe-area-inset-bottom)) 0 !important;
    background: rgba(0,0,0,.42) !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 2147483000 !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal.cp-center-popup[style*="flex"],
  #color-options-modal.cp-center-popup[style*="flex"] {
    display: flex !important;
  }

  #size-chart-modal .modal-content,
  #size-chart-modal .modal-content1,
  #size-chart-modal .modal-content2,
  #color-options-modal .modal-content,
  #color-options-modal .modal-content1,
  #color-options-modal .modal-content2,
  #size-chart-modal .cp-center-popup__content,
  #color-options-modal .cp-center-popup__content {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 34px) !important;
    max-height: calc(100dvh - 154px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    transform: none !important;
    transform-origin: top center !important;
    zoom: var(--cp-popup-zoom, 1) !important;
  }

  #size-chart-modal .image-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  #size-chart-modal img.hidden-image,
  #size-chart-modal img[hidden],
  #color-options-modal img.hidden-image,
  #color-options-modal img[hidden] {
    display: none !important;
  }

  #size-chart-modal .cp-popup-two-images img.cp-center-popup__image,
  #size-chart-modal .image-row img.image-1-2:not(.hidden-image) {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 82px) !important;
    max-height: calc((100dvh - 260px) / 2) !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    cursor: default !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .cp-popup-one-image img.cp-center-popup__image,
  #size-chart-modal .modal-content2 img.cp-center-popup__image,
  #color-options-modal img.cp-center-popup__image,
  #color-options-modal .modal-content1 img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 46px) !important;
    max-height: calc(100dvh - 245px) !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    cursor: default !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    width: auto !important;
    height: auto !important;
    margin: 12px auto 0 auto !important;
    padding: 0 !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    flex-shrink: 0 !important;
  }

  #size-chart-modal .cp-popup-tool,
  #color-options-modal .cp-popup-tool {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 7px !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.24) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 36px !important;
    line-height: 1 !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  #size-chart-modal .cp-popup-zoom-btn,
  #color-options-modal .cp-popup-zoom-btn {
    font-size: 0 !important;
  }

  #size-chart-modal .cp-popup-magnifier-icon,
  #color-options-modal .cp-popup-magnifier-icon {
    width: 24px !important;
    height: 24px !important;
    stroke: #111 !important;
    stroke-width: 2 !important;
    fill: none !important;
    pointer-events: none !important;
  }

  #size-chart-modal .cp-popup-magnifier-icon *,
  #color-options-modal .cp-popup-magnifier-icon * {
    pointer-events: none !important;
  }

  #size-chart-modal .cp-center-popup__image,
  #color-options-modal .cp-center-popup__image {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
  }

  #size-chart-modal.cp-popup-preopen,
  #color-options-modal.cp-popup-preopen {
    opacity: 0 !important;
  }

  #size-chart-modal.cp-popup-open,
  #color-options-modal.cp-popup-open {
    opacity: 1 !important;
  }
}

@media screen and (min-width: 768px) {
  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools {
    flex-direction: column !important;
  }
}
/* ===================== /CAS PRINT MOBILE POPUP FINAL FIX ===================== */

/* ===== CAS PRINT MOBILE POPUP SCROLL/ZOOM PATCH ===== */
@media screen and (max-width: 767px) {
  #size-chart-modal.cp-center-popup,
  #color-options-modal.cp-center-popup {
    align-items: flex-start !important;
    justify-content: center !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: max(18px, env(safe-area-inset-top)) 0 calc(130px + env(safe-area-inset-bottom)) 0 !important;
  }

  #size-chart-modal .cp-center-popup__content,
  #color-options-modal .cp-center-popup__content {
    transform: none !important;
    transform-origin: top center !important;
    zoom: var(--cp-popup-zoom, 1) !important;
    max-height: none !important;
    margin: 0 auto !important;
  }

  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    flex-direction: row !important;
    margin: 12px auto 0 auto !important;
    flex-shrink: 0 !important;
  }

  #size-chart-modal .cp-popup-one-image img.cp-center-popup__image,
  #size-chart-modal .modal-content2 img.cp-center-popup__image,
  #color-options-modal img.cp-center-popup__image,
  #color-options-modal .modal-content1 img {
    max-height: calc(100dvh - 245px) !important;
  }

  #size-chart-modal .cp-popup-two-images img.cp-center-popup__image,
  #size-chart-modal .image-row img.image-1-2:not(.hidden-image) {
    max-height: calc((100dvh - 260px) / 2) !important;
  }
}
/* ===== /CAS PRINT MOBILE POPUP SCROLL/ZOOM PATCH ===== */

/* ===== CAS PRINT UNIVERSAL MOBILE MODAL PATCH: all product pages ===== */
@media screen and (max-width: 767px) {
  html.cp-popup-lock,
  html.cp-popup-lock body {
    overflow: auto !important;
    position: static !important;
    height: auto !important;
  }

  #size-chart-modal,
  #color-options-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: max(18px, env(safe-area-inset-top)) 0 calc(130px + env(safe-area-inset-bottom)) 0 !important;
    background: rgba(0,0,0,.42) !important;
    z-index: 2147483000 !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  #size-chart-modal[style*="display: flex"],
  #color-options-modal[style*="display: flex"] {
    display: flex !important;
  }

  #size-chart-modal .modal-content,
  #size-chart-modal .modal-content1,
  #size-chart-modal .modal-content2,
  #color-options-modal .modal-content,
  #color-options-modal .modal-content1,
  #color-options-modal .modal-content2 {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: calc(100vw - 34px) !important;
    max-height: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
    transform-origin: top center !important;
    zoom: var(--cp-popup-zoom, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .image-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  #size-chart-modal img.hidden-image,
  #size-chart-modal img[hidden],
  #color-options-modal img.hidden-image,
  #color-options-modal img[hidden] {
    display: none !important;
  }

  #size-chart-modal .image-row img.image-1-2:not(.hidden-image),
  #size-chart-modal .cp-popup-two-images img.cp-center-popup__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 82px) !important;
    max-height: calc((100dvh - 260px) / 2) !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .modal-content2 img,
  #size-chart-modal .cp-popup-one-image img.cp-center-popup__image,
  #color-options-modal .modal-content1 img,
  #color-options-modal img.cp-center-popup__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 46px) !important;
    max-height: calc(100dvh - 245px) !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    order: 999 !important;
    gap: 18px !important;
    width: auto !important;
    height: auto !important;
    margin: 12px auto 0 auto !important;
    padding: 0 !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    flex-shrink: 0 !important;
  }

  #size-chart-modal .cp-popup-tool,
  #color-options-modal .cp-popup-tool {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 7px !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.24) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 36px !important;
    line-height: 1 !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  #size-chart-modal .cp-popup-zoom-btn,
  #color-options-modal .cp-popup-zoom-btn {
    font-size: 0 !important;
  }

  #size-chart-modal .cp-popup-magnifier-icon,
  #color-options-modal .cp-popup-magnifier-icon {
    width: 24px !important;
    height: 24px !important;
    stroke: #111 !important;
    stroke-width: 2 !important;
    fill: none !important;
    pointer-events: none !important;
  }
}
/* ===== /CAS PRINT UNIVERSAL MOBILE MODAL PATCH ===== */

/* ===== CAS PRINT MOBILE MODAL CENTER + CORRECT CONTROLS PATCH ===== */
@media screen and (max-width: 767px) {
  #size-chart-modal,
  #color-options-modal,
  #size-chart-modal.cp-center-popup,
  #color-options-modal.cp-center-popup {
    align-items: flex-start !important;
    justify-content: center !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 0 calc(28px + env(safe-area-inset-bottom)) 0 !important;
  }

  #size-chart-modal .modal-content,
  #size-chart-modal .modal-content1,
  #size-chart-modal .modal-content2,
  #color-options-modal .modal-content,
  #color-options-modal .modal-content1,
  #color-options-modal .modal-content2,
  #size-chart-modal .cp-center-popup__content,
  #color-options-modal .cp-center-popup__content {
    margin-left: auto !important;
    margin-right: auto !important;
    max-height: none !important;
    transform: none !important;
    transform-origin: top center !important;
    zoom: var(--cp-popup-zoom, 1) !important;
  }

  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    flex-direction: row !important;
    margin: 12px auto 0 auto !important;
  }
}
/* ===== /CAS PRINT MOBILE MODAL CENTER + CORRECT CONTROLS PATCH ===== */

/* ===== CAS PRINT MOBILE MODAL CENTERED GROUP + IMAGE-ONLY ZOOM ===== */
@media screen and (max-width: 767px) {
  #size-chart-modal,
  #color-options-modal,
  #size-chart-modal.cp-center-popup,
  #color-options-modal.cp-center-popup {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 0 calc(18px + env(safe-area-inset-bottom)) 0 !important;
    background: rgba(0,0,0,.42) !important;
    z-index: 2147483000 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  #size-chart-modal .modal-content,
  #size-chart-modal .modal-content1,
  #size-chart-modal .modal-content2,
  #color-options-modal .modal-content,
  #color-options-modal .modal-content1,
  #color-options-modal .modal-content2,
  #size-chart-modal .cp-center-popup__content,
  #color-options-modal .cp-center-popup__content {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: calc(100vw - 34px) !important;
    max-height: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    transform: none !important;
    transform-origin: center center !important;
    zoom: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .cp-popup-images-wrap,
  #color-options-modal .cp-popup-images-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
    transform-origin: center center !important;
    zoom: var(--cp-popup-zoom, 1) !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .image-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  #size-chart-modal img.hidden-image,
  #size-chart-modal img[hidden],
  #color-options-modal img.hidden-image,
  #color-options-modal img[hidden] {
    display: none !important;
  }

  #size-chart-modal .image-row img.image-1-2:not(.hidden-image),
  #size-chart-modal .cp-popup-two-images img.cp-center-popup__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 82px) !important;
    max-height: calc((100dvh - 260px) / 2) !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .modal-content2 img,
  #size-chart-modal .cp-popup-one-image img.cp-center-popup__image,
  #color-options-modal .modal-content1 img,
  #color-options-modal img.cp-center-popup__image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 46px) !important;
    max-height: calc(100dvh - 245px) !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    width: auto !important;
    height: auto !important;
    margin: 12px auto 0 auto !important;
    padding: 0 !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    flex-shrink: 0 !important;
    zoom: 1 !important;
  }

  #size-chart-modal .cp-popup-tool,
  #color-options-modal .cp-popup-tool {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 7px !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.24) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 36px !important;
    line-height: 1 !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    zoom: 1 !important;
  }
}
/* ===== /CAS PRINT MOBILE MODAL CENTERED GROUP + IMAGE-ONLY ZOOM ===== */

/* ===== CAS PRINT MOBILE ATTACHED CONTROL PANEL — VARIANT 6 ===== */
@media screen and (max-width: 767px) {
  #size-chart-modal .modal-content,
  #size-chart-modal .modal-content1,
  #size-chart-modal .modal-content2,
  #color-options-modal .modal-content,
  #color-options-modal .modal-content1,
  #color-options-modal .modal-content2,
  #size-chart-modal .cp-center-popup__content,
  #color-options-modal .cp-center-popup__content {
    gap: 0 !important;
    overflow: visible !important;
  }

  #size-chart-modal .cp-popup-images-wrap,
  #color-options-modal .cp-popup-images-wrap {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  #size-chart-modal .cp-popup-images-wrap > img:last-child,
  #color-options-modal .cp-popup-images-wrap > img:last-child,
  #size-chart-modal .image-row > img:last-child,
  #color-options-modal .image-row > img:last-child {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;

    margin: 0 auto 0 auto !important;
    padding: 0 !important;
    gap: 0 !important;

    background: rgba(226, 222, 216, 0.96) !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    border-top: 0 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.18) !important;

    overflow: hidden !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    flex-shrink: 0 !important;
    zoom: 1 !important;
  }

  #size-chart-modal .cp-popup-tool,
  #color-options-modal .cp-popup-tool {
    flex: 1 1 0 !important;

    width: auto !important;
    min-width: 0 !important;
    height: 52px !important;
    min-height: 52px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #111 !important;
    font-size: 34px !important;
    line-height: 1 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: relative !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    zoom: 1 !important;
  }

  #size-chart-modal .cp-popup-tool:not(:last-child)::after,
  #color-options-modal .cp-popup-tool:not(:last-child)::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 12px !important;
    bottom: 12px !important;
    width: 1px !important;
    background: rgba(0,0,0,.12) !important;
  }

  #size-chart-modal .cp-popup-tool:active,
  #color-options-modal .cp-popup-tool:active {
    background: rgba(0,0,0,.045) !important;
  }

  #size-chart-modal .cp-popup-magnifier-icon,
  #color-options-modal .cp-popup-magnifier-icon {
    width: 23px !important;
    height: 23px !important;
    stroke: #111 !important;
    stroke-width: 2 !important;
    fill: none !important;
    pointer-events: none !important;
  }

  #size-chart-modal .cp-popup-close,
  #color-options-modal .cp-popup-close {
    font-size: 32px !important;
    font-weight: 300 !important;
  }
}
/* ===== /CAS PRINT MOBILE ATTACHED CONTROL PANEL — VARIANT 6 ===== */

/* ===== CAS PRINT MOBILE WHITE CARD + INNER CONTROL BAR ===== */
@media screen and (max-width: 767px) {
  #size-chart-modal .modal-content,
  #size-chart-modal .modal-content1,
  #size-chart-modal .modal-content2,
  #color-options-modal .modal-content,
  #color-options-modal .modal-content1,
  #color-options-modal .modal-content2,
  #size-chart-modal .cp-center-popup__content,
  #color-options-modal .cp-center-popup__content {
    background: #fff !important;
    border-radius: 10px !important;
    padding: 8px !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.20) !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    gap: 0 !important;
  }

  #size-chart-modal .cp-popup-images-wrap,
  #color-options-modal .cp-popup-images-wrap {
    background: #fff !important;
    border-radius: 7px 7px 4px 4px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  #size-chart-modal .image-row {
    gap: 8px !important;
    background: #fff !important;
  }

  #size-chart-modal .cp-popup-images-wrap img,
  #color-options-modal .cp-popup-images-wrap img,
  #size-chart-modal .image-row img {
    border-radius: 6px !important;
    box-shadow: none !important;
  }

  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools {
    width: 100% !important;
    max-width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 8px auto 0 auto !important; /* белая проплешинка между картинкой и панелью */
    padding: 0 !important;
    background: rgba(226, 222, 216, .96) !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    border-radius: 0 0 7px 7px !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  #size-chart-modal .cp-popup-tool,
  #color-options-modal .cp-popup-tool {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #size-chart-modal .cp-popup-tool:not(:last-child)::after,
  #color-options-modal .cp-popup-tool:not(:last-child)::after {
    top: 12px !important;
    bottom: 12px !important;
    background: rgba(0,0,0,.14) !important;
  }
}
/* ===== /CAS PRINT MOBILE WHITE CARD + INNER CONTROL BAR ===== */

/* ===== CAS PRINT MOBILE CONTROL PANEL PRECISION ALIGNMENT ===== */
@media screen and (max-width: 767px) {
  #size-chart-modal .cp-popup-images-wrap,
  #color-options-modal .cp-popup-images-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .cp-popup-images-wrap > img,
  #color-options-modal .cp-popup-images-wrap > img,
  #size-chart-modal .image-row,
  #size-chart-modal .image-row > img,
  #color-options-modal .image-row,
  #color-options-modal .image-row > img {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools {
    width: 100% !important;
    max-width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 8px auto 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;

    border-radius: 7px !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: rgba(226, 222, 216, .96) !important;
    overflow: hidden !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    align-items: center !important;
    justify-items: center !important;
    gap: 0 !important;
  }

  #size-chart-modal .cp-popup-tool,
  #color-options-modal .cp-popup-tool {
    width: 100% !important;
    height: 50px !important;
    min-width: 0 !important;
    min-height: 50px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    line-height: 1 !important;
    text-align: center !important;
  }

  #size-chart-modal .cp-popup-tool:not(:last-child)::after,
  #color-options-modal .cp-popup-tool:not(:last-child)::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 11px !important;
    bottom: 11px !important;
    width: 1px !important;
    background: rgba(0,0,0,.14) !important;
  }

  #size-chart-modal .cp-popup-magnifier-icon,
  #color-options-modal .cp-popup-magnifier-icon {
    display: block !important;
    width: 23px !important;
    height: 23px !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  #size-chart-modal .cp-popup-close,
  #color-options-modal .cp-popup-close {
    font-size: 34px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
  }

  #size-chart-modal .cp-popup-close::first-letter,
  #color-options-modal .cp-popup-close::first-letter {
    line-height: 1 !important;
  }
}
/* ===== /CAS PRINT MOBILE CONTROL PANEL PRECISION ALIGNMENT ===== */

/* ===== CAS PRINT MOBILE MODAL FINAL POLISH: exact panel, centered icons, locked background ===== */
@media screen and (max-width: 767px) {
  html.cp-modal-hard-lock,
  html.cp-modal-hard-lock body {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  body.cp-modal-body-fixed {
    position: fixed !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    overflow: hidden !important;
  }

  #size-chart-modal,
  #color-options-modal,
  #size-chart-modal.cp-center-popup,
  #color-options-modal.cp-center-popup {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 0 calc(18px + env(safe-area-inset-bottom)) 0 !important;
    background: rgba(0,0,0,.42) !important;
    z-index: 2147483000 !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  #size-chart-modal .modal-content,
  #size-chart-modal .modal-content1,
  #size-chart-modal .modal-content2,
  #color-options-modal .modal-content,
  #color-options-modal .modal-content1,
  #color-options-modal .modal-content2,
  #size-chart-modal .cp-center-popup__content,
  #color-options-modal .cp-center-popup__content {
    width: fit-content !important;
    max-width: calc(100vw - 34px) !important;
    padding: 14px !important;
    background: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.20) !important;
    box-sizing: border-box !important;
    overflow: visible !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  #size-chart-modal .cp-popup-images-wrap,
  #color-options-modal .cp-popup-images-wrap {
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 7px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  #size-chart-modal .image-row {
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .cp-popup-images-wrap img,
  #color-options-modal .cp-popup-images-wrap img,
  #size-chart-modal .image-row img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 62px) !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .cp-popup-two-images img.cp-center-popup__image,
  #size-chart-modal .image-row img.image-1-2:not(.hidden-image) {
    max-height: calc((100dvh - 270px) / 2) !important;
  }

  #size-chart-modal .cp-popup-one-image img.cp-center-popup__image,
  #size-chart-modal .modal-content2 img.cp-center-popup__image,
  #color-options-modal img.cp-center-popup__image,
  #color-options-modal .modal-content1 img {
    max-height: calc(100dvh - 250px) !important;
  }

  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools {
    width: var(--cp-exact-tools-width, 100%) !important;
    max-width: var(--cp-exact-tools-width, 100%) !important;
    min-width: 0 !important;
    align-self: center !important;

    height: 50px !important;
    min-height: 50px !important;
    margin: 8px auto 0 auto !important;
    padding: 0 !important;

    background: rgba(226, 222, 216, .96) !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-items: center !important;
    gap: 0 !important;

    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 2147483647 !important;
    zoom: 1 !important;
  }

  #size-chart-modal .cp-popup-tool,
  #color-options-modal .cp-popup-tool {
    width: 100% !important;
    height: 50px !important;
    min-width: 0 !important;
    min-height: 50px !important;

    display: grid !important;
    place-items: center !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 0 !important;
    text-align: center !important;
    position: relative !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    zoom: 1 !important;
  }

  #size-chart-modal .cp-popup-close,
  #color-options-modal .cp-popup-close {
    font-size: 0 !important;
  }

  #size-chart-modal .cp-popup-close::before,
  #color-options-modal .cp-popup-close::before {
    content: "×" !important;
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 34px !important;
    font-weight: 300 !important;
    line-height: 26px !important;
    text-align: center !important;
    color: #111 !important;
    transform: translateY(-1px) !important;
  }

  #size-chart-modal .cp-popup-magnifier-icon,
  #color-options-modal .cp-popup-magnifier-icon {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
    margin: 0 !important;
    transform: none !important;
    stroke: #111 !important;
    stroke-width: 2 !important;
    fill: none !important;
    pointer-events: none !important;
  }

  #size-chart-modal .cp-popup-tool:not(:last-child)::after,
  #color-options-modal .cp-popup-tool:not(:last-child)::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 11px !important;
    bottom: 11px !important;
    width: 1px !important;
    background: rgba(0,0,0,.14) !important;
  }
}
/* ===== /CAS PRINT MOBILE MODAL FINAL POLISH ===== */

/* ===== CAS PRINT MOBILE CONTROL BAR PERFECT GEOMETRY ===== */
@media screen and (max-width: 767px) {
  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: center !important;
    justify-items: center !important;
    place-items: center !important;
    position: relative !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden !important;
  }

  /* Ровные разделители строго на 1/3 и 2/3 ширины плашки */
  #size-chart-modal .cp-popup-tools::before,
  #size-chart-modal .cp-popup-tools::after,
  #color-options-modal .cp-popup-tools::before,
  #color-options-modal .cp-popup-tools::after {
    content: "" !important;
    position: absolute !important;
    top: 11px !important;
    bottom: 11px !important;
    width: 1px !important;
    background: rgba(0,0,0,.14) !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  #size-chart-modal .cp-popup-tools::before,
  #color-options-modal .cp-popup-tools::before {
    left: 33.333333% !important;
  }

  #size-chart-modal .cp-popup-tools::after,
  #color-options-modal .cp-popup-tools::after {
    left: 66.666667% !important;
  }

  /* Отключаем старые разделители на кнопках, чтобы не было кривых линий */
  #size-chart-modal .cp-popup-tool::after,
  #color-options-modal .cp-popup-tool::after {
    display: none !important;
    content: none !important;
  }

  #size-chart-modal .cp-popup-tool,
  #color-options-modal .cp-popup-tool {
    width: 100% !important;
    height: 50px !important;
    min-width: 0 !important;
    min-height: 50px !important;
    display: grid !important;
    place-items: center !important;
    align-items: center !important;
    justify-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 0 !important;
    font-size: 0 !important;
    position: relative !important;
    z-index: 2 !important;
  }

  #size-chart-modal .cp-popup-magnifier-icon,
  #color-options-modal .cp-popup-magnifier-icon,
  #size-chart-modal .cp-popup-cross-icon,
  #color-options-modal .cp-popup-cross-icon {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    position: static !important;
    stroke: #111 !important;
    stroke-width: 2.15 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    fill: none !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
  }

  #size-chart-modal .cp-popup-close::before,
  #color-options-modal .cp-popup-close::before {
    display: none !important;
    content: none !important;
  }

  #size-chart-modal .cp-popup-close,
  #color-options-modal .cp-popup-close {
    font-size: 0 !important;
    line-height: 0 !important;
  }
}
/* ===== /CAS PRINT MOBILE CONTROL BAR PERFECT GEOMETRY ===== */

/* ===== CAS PRINT FINAL CONTROL BAR ALIGNMENT OVERRIDE ===== */
@media screen and (max-width: 767px) {
  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-items: center !important;
    place-items: center !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
    gap: 0 !important;
    position: relative !important;
    overflow: hidden !important;
  }

  #size-chart-modal .cp-popup-tools::before,
  #color-options-modal .cp-popup-tools::before {
    content: "" !important;
    position: absolute !important;
    left: 33.333333% !important;
    top: 11px !important;
    bottom: 11px !important;
    width: 1px !important;
    background: rgba(0,0,0,.14) !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  #size-chart-modal .cp-popup-tools::after,
  #color-options-modal .cp-popup-tools::after {
    content: "" !important;
    position: absolute !important;
    left: 66.666667% !important;
    top: 11px !important;
    bottom: 11px !important;
    width: 1px !important;
    background: rgba(0,0,0,.14) !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  #size-chart-modal .cp-popup-tool::before,
  #size-chart-modal .cp-popup-tool::after,
  #color-options-modal .cp-popup-tool::before,
  #color-options-modal .cp-popup-tool::after {
    display: none !important;
    content: none !important;
  }

  #size-chart-modal .cp-popup-tool,
  #color-options-modal .cp-popup-tool {
    width: 100% !important;
    height: 50px !important;
    min-width: 0 !important;
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    position: relative !important;
    z-index: 2 !important;
    line-height: 0 !important;
    font-size: 0 !important;
  }

  #size-chart-modal .cp-popup-magnifier-icon,
  #color-options-modal .cp-popup-magnifier-icon,
  #size-chart-modal .cp-popup-cross-icon,
  #color-options-modal .cp-popup-cross-icon {
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
    min-height: 25px !important;
    max-width: 25px !important;
    max-height: 25px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    position: static !important;
    stroke: #111 !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    fill: none !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
  }

  #size-chart-modal .cp-popup-close,
  #color-options-modal .cp-popup-close {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-indent: 0 !important;
  }
}
/* ===== /CAS PRINT FINAL CONTROL BAR ALIGNMENT OVERRIDE ===== */

/* ===== CAS PRINT DESKTOP ONLY FINAL: smaller popup + horizontal double size chart ===== */
@media screen and (min-width: 768px) {
  #size-chart-modal,
  #color-options-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 28px 0 56px 0 !important;
    background: rgba(0,0,0,.42) !important;
    z-index: 2147483000 !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    pointer-events: auto !important;
  }

  #size-chart-modal .modal-content,
  #size-chart-modal .modal-content1,
  #size-chart-modal .modal-content2,
  #color-options-modal .modal-content,
  #color-options-modal .modal-content1,
  #color-options-modal .modal-content2,
  #size-chart-modal .cp-center-popup__content,
  #color-options-modal .cp-center-popup__content {
    width: fit-content !important;
    max-width: min(72vw, 860px) !important;
    max-height: calc(100vh - 86px) !important;
    padding: 12px !important;
    background: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.20) !important;
    box-sizing: border-box !important;
    overflow: visible !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 0 !important;

    transform: none !important;
    zoom: 1 !important;
    pointer-events: auto !important;
  }

  #size-chart-modal .cp-popup-images-wrap,
  #color-options-modal .cp-popup-images-wrap {
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 7px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    pointer-events: none !important;
    transform: none !important;
    transform-origin: center center !important;
    zoom: var(--cp-popup-zoom, 1) !important;
  }

  /* Две размерные сетки обычных футболок на ПК — строго в ряд: unisex слева, жіноча справа */
  #size-chart-modal .cp-popup-two-images .image-row,
  #size-chart-modal .modal-content .image-row,
  #size-chart-modal .cp-center-popup__content .image-row {
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    box-sizing: border-box !important;
    overflow: visible !important;
    pointer-events: none !important;
  }

  #size-chart-modal img,
  #color-options-modal img {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
  }

  /* Две картинки: уменьшаем так, чтобы обе целиком влезали рядом */
  #size-chart-modal .cp-popup-two-images img.cp-center-popup__image,
  #size-chart-modal .image-row img.image-1-2:not(.hidden-image) {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: min(32vw, 390px) !important;
    max-height: calc(100vh - 150px) !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
  }

  /* Одиночные размерки/палитры — меньше, с отступом снизу от экрана */
  #size-chart-modal .cp-popup-one-image img.cp-center-popup__image,
  #size-chart-modal .modal-content2 img.cp-center-popup__image,
  #color-options-modal img.cp-center-popup__image,
  #color-options-modal .modal-content1 img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: min(48vw, 560px) !important;
    max-height: calc(100vh - 150px) !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
  }

  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-self: stretch !important;

    height: 46px !important;
    min-height: 46px !important;
    margin: 8px 0 0 0 !important;
    padding: 0 !important;

    background: rgba(226, 222, 216, .96) !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-items: center !important;
    gap: 0 !important;

    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
  }

  #size-chart-modal .cp-popup-tools::before,
  #color-options-modal .cp-popup-tools::before {
    content: "" !important;
    position: absolute !important;
    left: 33.333333% !important;
    top: 10px !important;
    bottom: 10px !important;
    width: 1px !important;
    background: rgba(0,0,0,.14) !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  #size-chart-modal .cp-popup-tools::after,
  #color-options-modal .cp-popup-tools::after {
    content: "" !important;
    position: absolute !important;
    left: 66.666667% !important;
    top: 10px !important;
    bottom: 10px !important;
    width: 1px !important;
    background: rgba(0,0,0,.14) !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  #size-chart-modal .cp-popup-tool,
  #color-options-modal .cp-popup-tool {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    position: relative !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    line-height: 0 !important;
    font-size: 0 !important;
  }

  #size-chart-modal .cp-popup-tool::before,
  #size-chart-modal .cp-popup-tool::after,
  #color-options-modal .cp-popup-tool::before,
  #color-options-modal .cp-popup-tool::after {
    display: none !important;
    content: none !important;
  }

  #size-chart-modal .cp-popup-magnifier-icon,
  #color-options-modal .cp-popup-magnifier-icon,
  #size-chart-modal .cp-popup-cross-icon,
  #color-options-modal .cp-popup-cross-icon {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    position: static !important;
    stroke: #111 !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    fill: none !important;
    pointer-events: none !important;
  }

  #size-chart-modal .cp-popup-close,
  #color-options-modal .cp-popup-close {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
  }
}
/* ===== /CAS PRINT DESKTOP ONLY FINAL ===== */

/* ===== CAS PRINT DESKTOP DOUBLE SIZE GAP + ZOOM DIRECTION FIX ===== */
@media screen and (min-width: 768px) {
  #size-chart-modal .cp-popup-two-images .image-row,
  #size-chart-modal .modal-content .image-row,
  #size-chart-modal .cp-center-popup__content .image-row {
    gap: 0 !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
  }

  #size-chart-modal .cp-popup-two-images img.cp-center-popup__image,
  #size-chart-modal .image-row img.image-1-2:not(.hidden-image) {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #size-chart-modal .image-row img.image-1-2:first-child,
  #size-chart-modal .image-row img.cp-center-popup__image:first-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  #size-chart-modal .image-row img.image-1-2:nth-child(2),
  #size-chart-modal .image-row img.cp-center-popup__image:nth-child(2) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }
}
/* ===== /CAS PRINT DESKTOP DOUBLE SIZE GAP + ZOOM DIRECTION FIX ===== */

/* ===== CAS PRINT DESKTOP ZOOM BUTTON CLICKABILITY FINAL ===== */
@media screen and (min-width: 768px) {
  #size-chart-modal .cp-popup-tools,
  #color-options-modal .cp-popup-tools,
  #size-chart-modal .cp-popup-tool,
  #color-options-modal .cp-popup-tool {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 2147483647 !important;
  }

  #size-chart-modal .cp-popup-magnifier-icon,
  #color-options-modal .cp-popup-magnifier-icon,
  #size-chart-modal .cp-popup-cross-icon,
  #color-options-modal .cp-popup-cross-icon,
  #size-chart-modal .cp-popup-magnifier-icon *,
  #color-options-modal .cp-popup-magnifier-icon *,
  #size-chart-modal .cp-popup-cross-icon *,
  #color-options-modal .cp-popup-cross-icon * {
    pointer-events: none !important;
  }
}
/* ===== /CAS PRINT DESKTOP ZOOM BUTTON CLICKABILITY FINAL ===== */


/* ===== CAS-PRINT homepage DTF infographic — fixed light version ===== */
.cas-dtf-story {
  width: 100%;
  background: #ECECEC;
  color: #303031;
  padding: 48px 0 48px;
  overflow: hidden;
}

.cas-dtf-inner {
  width: min(1380px, calc(100% - 76px));
  margin: 0 auto;
}

.cas-dtf-mainrow {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 0;
  border-bottom: 1px solid rgba(48,48,49,.18);
}

.cas-dtf-titlebox h2 {
  margin: 0;
  font-family: 'DIN Condensed', 'Montserrat', Arial, sans-serif;
  font-size: clamp(42px, 4.1vw, 70px);
  line-height: .94;
  letter-spacing: -.015em;
  text-transform: uppercase;
  color: #303031;
}

.cas-dtf-steps {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 4px;
}

.cas-dtf-step {
  min-width: 0;
}

.cas-dtf-icon {
  width: 58px;
  height: 58px;
  margin: 0 0 18px;
}

.cas-dtf-icon svg,
.cas-dtf-benefit-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: #303031;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cas-dtf-icon .cas-icon-fill {
  fill: rgba(48,48,49,.035);
}

.cas-dtf-icon svg {
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.35));
}

.cas-dtf-icon svg path,
.cas-dtf-icon svg circle {
  vector-effect: non-scaling-stroke;
}

.cas-dtf-arrow {
  display: block;
  padding-top: 17px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 26px;
  line-height: 1;
  color: rgba(48,48,49,.62);
  text-align: center;
}

.cas-dtf-step h3 {
  margin: 0 0 10px;
  font-family: 'DIN Condensed', 'Montserrat', Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  color: #303031;
}

.cas-dtf-step p {
  margin: 0;
  max-width: 210px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(48,48,49,.82);
}

.cas-dtf-textgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 32px 0 34px;
  border-bottom: 1px solid rgba(48,48,49,.16);
}

.cas-dtf-textgrid p {
  margin: 0;
  padding: 0 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(48,48,49,.86);
}

.cas-dtf-textgrid p:first-child {
  padding-left: 0;
}

.cas-dtf-textgrid p:not(:last-child) {
  border-right: 1px solid rgba(48,48,49,.18);
}

.cas-dtf-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 28px;
}

.cas-dtf-benefit {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 0 28px;
}

.cas-dtf-benefit:first-child {
  padding-left: 0;
}

.cas-dtf-benefit:not(:last-child) {
  border-right: 1px solid rgba(48,48,49,.18);
}

.cas-dtf-benefit-icon {
  width: 50px;
  height: 50px;
}

.cas-dtf-benefit h3 {
  margin: 0 0 8px;
  font-family: 'DIN Condensed', 'Montserrat', Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  color: #303031;
}

.cas-dtf-benefit p {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(48,48,49,.8);
}

@media (max-width: 1180px) {
  .cas-dtf-inner {
    width: min(100% - 44px, 960px);
  }

  .cas-dtf-mainrow {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cas-dtf-titlebox h2 {
    max-width: 760px;
  }

  .cas-dtf-textgrid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .cas-dtf-textgrid p {
    padding: 0 24px;
  }

  .cas-dtf-textgrid p:nth-child(odd) {
    padding-left: 0;
  }

  .cas-dtf-textgrid p:nth-child(2) {
    border-right: 0;
  }

  .cas-dtf-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .cas-dtf-benefit:nth-child(odd) {
    padding-left: 0;
  }

  .cas-dtf-benefit:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .cas-dtf-story {
    padding: 34px 0 40px;
  }

  .cas-dtf-inner {
    width: calc(100% - 24px);
  }

  .cas-dtf-mainrow {
    gap: 24px;
    padding-bottom: 24px;
  }

  .cas-dtf-titlebox h2 {
    font-size: clamp(36px, 11vw, 48px);
    line-height: .96;
  }

  .cas-dtf-steps {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }

  .cas-dtf-arrow {
    width: 1px;
    height: 26px;
    overflow: hidden;
    padding: 0;
    margin: 4px 0 8px 27px;
    background: rgba(48,48,49,.22);
    color: transparent;
  }

  .cas-dtf-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 16px;
    align-items: start;
    padding: 0;
  }

  .cas-dtf-icon {
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .cas-dtf-step h3 {
    font-size: 26px;
    margin-bottom: 7px;
  }

  .cas-dtf-step p {
    max-width: none;
    font-size: 13px;
    line-height: 1.55;
  }

  .cas-dtf-textgrid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 0;
  }

  .cas-dtf-textgrid p {
    padding: 0 !important;
    border-right: 0 !important;
    font-size: 13.2px;
    line-height: 1.62;
  }

  .cas-dtf-benefits {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 24px;
  }

  .cas-dtf-benefit {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 0 !important;
    border-right: 0 !important;
  }

  .cas-dtf-benefit-icon {
    width: 42px;
    height: 42px;
  }

  .cas-dtf-benefit h3 {
    font-size: 23px;
    margin-bottom: 6px;
  }

  .cas-dtf-benefit p {
    font-size: 12.8px;
  }
}
/* ===== /CAS-PRINT homepage DTF infographic — fixed light version ===== */

/* CAS-PRINT: нижний ряд преимуществ в этом блоке убран по задаче */
.cas-dtf-benefits { display: none !important; }

/* ===== CAS PRINT BONUS ROULETTE ===== */
.cas-bonus-header-btn{
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 0;
  background: transparent;
  color: #222;
  padding: 0;
  margin: 0 8px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.cas-bonus-header-btn svg{
  width: 28px;
  height: 28px;
  display: block;
  fill: currentColor;
}
.cas-bonus-header-btn .cas-bonus-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111;
  position: absolute;
  top: 3px;
  right: 2px;
  box-shadow: 0 0 0 2px #fff;
}
.cas-bonus-header-btn:hover{ color:#111; opacity:.82; }
@keyframes casBonusPulse{
  0%,100%{ transform: scale(1); }
  50%{ transform: scale(1.08); }
}
.cas-bonus-header-btn{ animation: casBonusPulse 2.8s ease-in-out infinite; }

.cas-bonus-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.38);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10050;
  padding: 18px;
  box-sizing: border-box;
}
.cas-bonus-overlay.is-open{ display:flex; }
.cas-bonus-card{
  width: min(920px, 96vw);
  min-height: 520px;
  background: linear-gradient(145deg,#ffffff 0%,#f4f4f4 100%);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.9);
  display: grid;
  grid-template-columns: 34% 66%;
  gap: 18px;
  position: relative;
  overflow: hidden;
  padding: 58px 54px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
}
.cas-bonus-close{
  position:absolute;
  top:18px;
  right:22px;
  width:34px;
  height:34px;
  border:0;
  background:transparent;
  font-size:34px;
  line-height:30px;
  color:#202020;
  cursor:pointer;
  opacity:.65;
  z-index:3;
}
.cas-bonus-close:hover{ opacity:1; }
.cas-bonus-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:0;
}
.cas-bonus-copy h2{
  margin:0 0 34px;
  font-size:42px;
  line-height:1.22;
  font-weight:800;
  letter-spacing:-.02em;
  color:#111;
}
.cas-bonus-copy p{
  margin:0 0 64px;
  font-size:25px;
  line-height:1.35;
  font-weight:400;
  color:#181818;
}
.cas-bonus-spin{
  min-width:240px;
  min-height:64px;
  border:0;
  border-radius:7px;
  background:#141414;
  color:#fff;
  font-size:21px;
  font-weight:800;
  letter-spacing:.02em;
  cursor:pointer;
  padding:0 30px;
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
}
.cas-bonus-spin:disabled{
  opacity:.75;
  cursor:default;
}
.cas-bonus-timer{
  display:flex;
  align-items:center;
  gap:13px;
  margin-top:auto;
  font-size:19px;
  color:#1a1a1a;
  white-space:nowrap;
}
.cas-bonus-clock{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:2px solid #222;
  border-radius:50%;
  font-size:20px;
  line-height:1;
}
.cas-bonus-machine{
  position:relative;
  min-height:390px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.cas-bonus-window{
  width:min(540px, 100%);
  height:280px;
  background:#111;
  border-radius:38px;
  padding:18px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  box-shadow: inset 0 0 0 9px #2a2a2a, inset 0 0 0 13px #3b3b3b, 0 16px 34px rgba(0,0,0,.22);
  border:1px solid #4b4b4b;
  position:relative;
  overflow:hidden;
}
.cas-bonus-option{
  position:relative;
  background:linear-gradient(160deg,#2c2c2c 0%,#171717 100%);
  border-left:1px solid rgba(255,255,255,.08);
  border-right:1px solid rgba(0,0,0,.55);
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.cas-bonus-option:first-child{ border-radius:26px 0 0 26px; }
.cas-bonus-option:last-child{ border-radius:0 26px 26px 0; }
.cas-bonus-option strong{
  font-size:43px;
  line-height:1;
  font-weight:800;
  margin-bottom:28px;
  letter-spacing:-.03em;
}
.cas-bonus-option span{
  font-size:21px;
  line-height:1.25;
  font-weight:400;
}
.cas-bonus-option.is-active{
  background:linear-gradient(160deg,#3b3b3b 0%,#202020 100%);
  transform:scale(1.045);
  box-shadow:0 0 0 3px rgba(255,255,255,.12), 0 0 24px rgba(255,255,255,.12);
  z-index:2;
}
.cas-bonus-pointer{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  z-index:2;
  width:0;
  height:0;
  border-left:15px solid transparent;
  border-right:15px solid transparent;
}
.cas-bonus-pointer-top{
  top:24px;
  border-top:30px solid #050505;
}
.cas-bonus-pointer-top::after{
  content:"";
  position:absolute;
  left:-12px;
  top:-1px;
  width:0;
  height:0;
  border-left:12px solid transparent;
  border-right:12px solid transparent;
  border-top:22px solid #fff;
}
.cas-bonus-pointer-bottom{
  bottom:22px;
  border-bottom:30px solid #050505;
}
.cas-bonus-pointer-bottom::after{
  content:"";
  position:absolute;
  left:-12px;
  bottom:-1px;
  width:0;
  height:0;
  border-left:12px solid transparent;
  border-right:12px solid transparent;
  border-bottom:22px solid #fff;
}
.cas-bonus-handle{
  position:absolute;
  right:-10px;
  top:95px;
  width:44px;
  height:82px;
  border-radius:22px;
  background:linear-gradient(90deg,#121212,#333,#0b0b0b);
  box-shadow:0 10px 22px rgba(0,0,0,.3);
  transition:transform .28s ease;
}
.cas-bonus-handle::before{
  content:"";
  position:absolute;
  left:18px;
  bottom:56px;
  width:9px;
  height:142px;
  border-radius:10px;
  background:linear-gradient(90deg,#090909,#333,#0b0b0b);
}
.cas-bonus-handle span{
  position:absolute;
  left:50%;
  top:-154px;
  transform:translateX(-50%);
  width:54px;
  height:54px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 28%,#555 0%,#171717 55%,#050505 100%);
  box-shadow:0 10px 18px rgba(0,0,0,.25);
}
.cas-bonus-handle.is-pulled{ transform:rotate(10deg) translateY(12px); }
.cas-bonus-result{
  position:absolute;
  left:50%;
  bottom:-8px;
  transform:translateX(-50%);
  min-height:28px;
  font-size:21px;
  line-height:1.3;
  font-weight:700;
  text-align:center;
  color:#111;
  white-space:nowrap;
}
.cas-bonus-overlay.has-result .cas-bonus-result{ animation: casBonusResult .28s ease; }
@keyframes casBonusResult{
  from{ opacity:0; transform:translateX(-50%) translateY(8px); }
  to{ opacity:1; transform:translateX(-50%) translateY(0); }
}

.popup-form-bonus-line,
.order-bonus-line{
  width:100%;
  margin:8px 0 4px;
  font-size:17px;
  line-height:1.25;
  font-weight:600;
  color:#333;
  text-align:left;
}
.order-bonus-line{
  text-align:right;
  margin:8px 0 0;
}

@media (max-width: 767px){
  .cas-bonus-header-btn{
    width:35px;
    height:35px;
    min-width:35px;
    margin:0 8px 0 0;
  }
  .cas-bonus-header-btn svg{
    width:27px;
    height:27px;
  }
  .cas-bonus-header-btn .cas-bonus-dot{
    top:3px;
    right:1px;
    width:8px;
    height:8px;
  }
  .cas-bonus-card{
    width:min(390px, 94vw);
    min-height:0;
    display:block;
    padding:26px 16px 22px;
    border-radius:20px;
  }
  .cas-bonus-close{
    top:8px;
    right:12px;
    font-size:30px;
  }
  .cas-bonus-copy{
    align-items:center;
    text-align:center;
  }
  .cas-bonus-copy h2{
    font-size:30px;
    line-height:1.18;
    margin:0 0 14px;
  }
  .cas-bonus-copy p{
    font-size:17px;
    line-height:1.32;
    margin:0 0 18px;
  }
  .cas-bonus-spin{
    order:3;
    min-width:190px;
    min-height:50px;
    font-size:16px;
    border-radius:6px;
    margin:18px auto 0;
  }
  .cas-bonus-timer{
    justify-content:center;
    margin-top:14px;
    font-size:14px;
    gap:8px;
  }
  .cas-bonus-clock{
    width:23px;
    height:23px;
    font-size:15px;
  }
  .cas-bonus-machine{
    min-height:218px;
    margin-top:14px;
  }
  .cas-bonus-window{
    width:calc(100% - 30px);
    height:148px;
    border-radius:22px;
    padding:10px;
    box-shadow: inset 0 0 0 5px #2a2a2a, inset 0 0 0 8px #3b3b3b, 0 12px 24px rgba(0,0,0,.22);
  }
  .cas-bonus-option:first-child{ border-radius:15px 0 0 15px; }
  .cas-bonus-option:last-child{ border-radius:0 15px 15px 0; }
  .cas-bonus-option strong{
    font-size:27px;
    margin-bottom:14px;
  }
  .cas-bonus-option span{
    font-size:12px;
    line-height:1.2;
  }
  .cas-bonus-pointer{
    border-left-width:10px;
    border-right-width:10px;
  }
  .cas-bonus-pointer-top{
    top:15px;
    border-top-width:20px;
  }
  .cas-bonus-pointer-top::after{
    left:-8px;
    border-left-width:8px;
    border-right-width:8px;
    border-top-width:14px;
  }
  .cas-bonus-pointer-bottom{
    bottom:16px;
    border-bottom-width:20px;
  }
  .cas-bonus-pointer-bottom::after{
    left:-8px;
    border-left-width:8px;
    border-right-width:8px;
    border-bottom-width:14px;
  }
  .cas-bonus-handle{
    right:0;
    top:61px;
    width:25px;
    height:48px;
    border-radius:14px;
  }
  .cas-bonus-handle::before{
    left:10px;
    bottom:32px;
    width:6px;
    height:76px;
  }
  .cas-bonus-handle span{
    width:34px;
    height:34px;
    top:-84px;
  }
  .cas-bonus-result{
    bottom:-5px;
    font-size:15px;
    white-space:normal;
    width:100%;
    padding:0 8px;
  }
}

@media (max-width: 380px){
  .cas-bonus-header-btn{
    width:31px;
    height:31px;
    min-width:31px;
    margin-right:5px;
  }
  .cas-bonus-header-btn svg{
    width:24px;
    height:24px;
  }
}
/* ===== /CAS PRINT BONUS ROULETTE ===== */
.order-total{
  flex-direction: column !important;
  align-items: flex-end !important;
}


/* CAS bonus final fixes */
.cas-bonus-header-btn{ width:26px!important; height: 26px!important; animation:casBonusBeat 1.6s ease-in-out infinite!important; transform-origin:center!important; }
.cas-bonus-header-btn svg{ width:24px!important; height: 24px!important; }
.cas-bonus-header-btn .cas-bonus-dot{ display:none!important; }
.popup-form-bonus-line,.order-bonus-line,.cas-order-bonus-line{ display:none!important; }
.cas-bonus-total-prize{ display:inline-flex!important; align-items:center!important; gap:6px!important; white-space:nowrap!important; font-weight:700!important; color:#111!important; }
.cas-bonus-total-prize svg{ width:18px!important; height:18px!important; fill:currentColor!important; flex:0 0 18px!important; display:inline-block!important; vertical-align:-3px!important; }
.cas-bonus-total-separator{ display:inline-block!important; margin:0 6px!important; color:#777!important; font-weight:500!important; }


/* ===== CAS PRINT: header icons align fix ===== */
header .wrap-icon-header{
  transform: translateX(-22px) !important;
}

.cas-bonus-header-btn{
  width:26px!important;
  height:26px!important;
}

.cas-bonus-header-btn svg{
  width:24px!important;
  height:24px!important;
}

@media (max-width: 991px){
  header .wrap-icon-header{
    transform: translateX(-12px) !important;
  }
}
/* ===== /CAS PRINT: header icons align fix ===== */


/* ===== CAS PRINT CHECKOUT MOBILE MICRO-SPACING FIX ===== */
@media screen and (max-width: 767px) {
  /* Чуть-чуть воздуха между товарами в окне оформления */
  .popup-form.show #popup-products,
  .popup-form[style*="display: block"] #popup-products,
  .popup-form[style*="display:block"] #popup-products,
  .popup-form-product #popup-products,
  #popup-products {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  .popup-form.show #popup-products .popup-product,
  .popup-form[style*="display: block"] #popup-products .popup-product,
  .popup-form[style*="display:block"] #popup-products .popup-product,
  .popup-form-product #popup-products .popup-product {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Чуть отодвинуть строку "Всього" от последнего товара */
  .popup-form-total,
  #order-total-price,
  #order-total,
  .order-total,
  .total-price-order {
    margin-top: 10px !important;
  }

  /* Сделать кнопки Viber/WhatsApp ближе к тексту "Як з вами зв'язатися?" */
  .contact-methods-list,
  .messenger-buttons,
  .contact-methods,
  .popup-form .messenger-buttons,
  .popup-form .contact-methods-list {
    margin-top: 12px !important;
  }

  /* Поджать только промежуток между заголовком "Коментарій" и полем */
  .checkout-comment-label,
  .comment-label,
  .checkout-comment-title,
  .comment-title {
    margin-bottom: 10px !important;
  }

  .checkout-extra-comment,
  .popup-form textarea,
  .popup-form-product textarea {
    margin-top: 0 !important;
  }
}
/* ===== /CAS PRINT CHECKOUT MOBILE MICRO-SPACING FIX ===== */

/* CAS PRINT — preview dropdown for T-shirts category */
.bottom-nav.cas-desktop-category-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.cas-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-right: 15px;
  margin: 0 15px;
  border-right: 1px solid #ccc;
}

.cas-nav-dropdown > .cas-nav-main {
  margin: 0;
  padding: 0;
  border-right: 0 !important;
}

.cas-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 118px;
  padding: 8px 0;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.14);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 2000;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.cas-nav-dropdown:hover .cas-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cas-nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.cas-nav-dropdown-menu a {
  display: block;
  margin: 0 !important;
  padding: 7px 16px !important;
  border-right: 0 !important;
  font-family: 'DIN Condensed';
  font-size: 18px !important;
  line-height: 1.1;
  color: #303031;
  text-align: center;
  white-space: nowrap;
}

.cas-nav-dropdown-menu a:hover {
  color: #000;
  background: #f2f2f2;
}

.main-menu-m .cas-mobile-submenu {
  background: #181818;
  padding: 0 0 8px 44px;
}

.main-menu-m .cas-mobile-submenu a {
  display: block;
  font-family: 'DIN Condensed', Poppins-Regular, sans-serif;
  font-size: 18px;
  color: #fff;
  line-height: 1.8;
  padding: 2px 0;
}

.main-menu-m .cas-mobile-submenu a:hover {
  color: #d7d7d7;
}


/* ===== CAS PRINT: global tshirt dropdown ===== */
@media (min-width: 992px) {
  .cas-tshirt-dropdown {
    position: relative !important;
    display: inline-block !important;
  }

  .cas-tshirt-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(8px) !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 286px !important;
    padding: 12px !important;
    background: #f2f2f2 !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.18) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 100010 !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  }

  .cas-tshirt-dropdown:hover .cas-tshirt-dropdown-menu,
  .cas-tshirt-dropdown:focus-within .cas-tshirt-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }

  .cas-tshirt-dropdown-menu::before {
    content: "" !important;
    position: absolute !important;
    top: -8px !important;
    left: 0 !important;
    right: 0 !important;
    height: 8px !important;
  }

  .cas-tshirt-card {
    display: block !important;
    color: #111 !important;
    text-decoration: none !important;
    padding: 0 !important;
    background: transparent !important;
    transition: transform .18s ease !important;
  }

  .cas-tshirt-card:hover {
    transform: translateY(-3px) !important;
  }

  .cas-tshirt-card-img {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / .88 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #f2f2f2 !important;
  }

  .cas-tshirt-card-img img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .cas-tshirt-card-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding-top: 7px !important;
  }

  .cas-tshirt-card-title {
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #111 !important;
    white-space: nowrap !important;
  }

  .cas-tshirt-card-arrow {
    font-size: 22px !important;
    line-height: 1 !important;
    color: #111 !important;
  }
}
/* ===== /CAS PRINT: global tshirt dropdown ===== */


/* ===== CAS PRINT FIX: mobile catalog/menu stability + T-shirt submenu ===== */
@media (max-width: 991px) {
  .menu-mobile {
    display: none;
    overflow: hidden;
  }

  .btn-show-menu-mobile,
  .hamburger {
    touch-action: manipulation;
  }

  .main-menu-m > li.cas-mobile-dropdown {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  .main-menu-m > li.cas-mobile-dropdown > a {
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
    padding-right: 5px !important;
    cursor: pointer !important;
  }

  .main-menu-m > li.cas-mobile-dropdown > .arrow-main-menu-m {
    position: static !important;
    display: inline-flex !important;
    width: auto !important;
    height: auto !important;
    padding: 8px 10px 8px 0 !important;
    margin-left: 0 !important;
    transform: none !important;
  }

  .main-menu-m > li.cas-mobile-dropdown > .cas-mobile-submenu {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}
/* ===== /CAS PRINT FIX ===== */

/* ===== CAS PRINT V5: mobile t-shirt cards final polish ===== */
@media (max-width: 991px) {
  .main-menu-m > li.cas-mobile-dropdown {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  .main-menu-m > li.cas-mobile-dropdown > a.cas-mobile-tshirt-trigger,
  .main-menu-m > li.cas-mobile-dropdown > a {
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
    padding: 8px 4px 8px 20px !important;
    cursor: pointer !important;
  }

  .main-menu-m > li.cas-mobile-dropdown > .arrow-main-menu-m {
    position: static !important;
    display: inline-flex !important;
    width: auto !important;
    height: auto !important;
    padding: 8px 0 8px 2px !important;
    margin-left: 0 !important;
    transform: none !important;
  }

  .main-menu-m > li.cas-mobile-dropdown > .cas-mobile-tshirt-submenu {
    flex: 0 0 100% !important;
    width: 100% !important;
    background: #181818 !important;
    padding: 8px 18px 16px 20px !important;
    margin: 0 !important;
  }

  .main-menu-m .cas-mobile-tshirt-submenu > li.cas-mobile-tshirt-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .main-menu-m .cas-mobile-tshirt-card,
  .main-menu-m .cas-mobile-submenu .cas-mobile-tshirt-card {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    color: #fff !important;
    background: transparent !important;
    line-height: normal !important;
    font-family: Poppins-Medium, Poppins-Regular, sans-serif !important;
  }

  .main-menu-m .cas-mobile-tshirt-imgwrap {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / .82 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background: #111 !important;
    border: 1px solid rgba(255,255,255,.22) !important;
  }

  .main-menu-m .cas-mobile-tshirt-imgwrap img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .main-menu-m .cas-mobile-tshirt-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 8px !important;
    padding: 7px 24px 0 24px !important;
    color: #fff !important;
  }

  .main-menu-m .cas-mobile-tshirt-title {
    font-family: Poppins-Medium, Poppins-Regular, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    color: #fff !important;
    white-space: nowrap !important;
  }

  .main-menu-m .cas-mobile-tshirt-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    color: #fff !important;
  }
}
/* ===== /CAS PRINT V5 ===== */

/* ===== CAS PRINT MENU FIX v40: stable tshirt thumbnails desktop/mobile ===== */
@media (min-width: 992px) {
  .cas-tshirt-dropdown-menu {
    width: 340px !important;
    gap: 14px !important;
    padding: 14px !important;
    overflow: visible !important;
  }
  .cas-tshirt-card-img {
    aspect-ratio: 1.25 / 1 !important;
    background: #f3f3f3 !important;
    overflow: hidden !important;
  }
  .cas-tshirt-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f3f3f3 !important;
  }
}

@media (max-width: 991px) {
  .main-menu-m > li.cas-mobile-dropdown > .cas-mobile-tshirt-submenu {
    display: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 10px 18px 18px 20px !important;
  }
  .main-menu-m > li.cas-mobile-dropdown.cas-open > .cas-mobile-tshirt-submenu {
    display: block !important;
  }
  .main-menu-m > li.cas-mobile-dropdown.cas-open > .arrow-main-menu-m {
    transform: rotate(90deg) !important;
  }
  .main-menu-m .cas-mobile-tshirt-submenu > li.cas-mobile-tshirt-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    overflow: visible !important;
  }
  .main-menu-m .cas-mobile-tshirt-imgwrap {
    aspect-ratio: 1.22 / 1 !important;
    background: #f3f3f3 !important;
    overflow: hidden !important;
  }
  .main-menu-m .cas-mobile-tshirt-imgwrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f3f3f3 !important;
  }
}
/* ===== /CAS PRINT MENU FIX v40 ===== */


/* ===== CAS PRINT MENU FIX v43: final dropdown thumbnails ===== */
@media (min-width: 992px) {
  .bottom-nav.cas-desktop-category-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  .bottom-nav .cas-tshirt-dropdown {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 15px !important;
    padding-right: 15px !important;
    border-right: 1px solid #ccc !important;
    overflow: visible !important;
  }

  .bottom-nav .cas-tshirt-dropdown > .cas-nav-main {
    margin: 0 !important;
    padding: 0 !important;
    border-right: 0 !important;
    font-family: 'DIN Condensed', Poppins-Regular, sans-serif !important;
    font-size: 23px !important;
    color: #303031 !important;
    text-decoration: none !important;
  }

  .bottom-nav .cas-tshirt-dropdown:hover > .cas-nav-main {
    color: #717fe0 !important;
  }

  .bottom-nav .cas-tshirt-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(8px) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 360px !important;
    padding: 14px !important;
    background: #f2f2f2 !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.18) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 100010 !important;
    overflow: visible !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  }

  .bottom-nav .cas-tshirt-dropdown:hover .cas-tshirt-dropdown-menu,
  .bottom-nav .cas-tshirt-dropdown:focus-within .cas-tshirt-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }

  .bottom-nav .cas-tshirt-card {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-right: 0 !important;
    color: #111 !important;
    text-decoration: none !important;
    background: transparent !important;
    min-width: 0 !important;
  }

  .bottom-nav .cas-tshirt-card-img {
    display: block !important;
    width: 100% !important;
    height: 104px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #f3f3f3 !important;
  }

  .bottom-nav .cas-tshirt-card-img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f3f3f3 !important;
  }

  .bottom-nav .cas-tshirt-card-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding-top: 8px !important;
  }

  .bottom-nav .cas-tshirt-card-title {
    font-family: 'DIN Condensed', Poppins-Regular, sans-serif !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #111 !important;
    white-space: nowrap !important;
  }

  .bottom-nav .cas-tshirt-card-arrow {
    font-size: 26px !important;
    line-height: 1 !important;
    color: #111 !important;
  }
}

@media (max-width: 991px) {
  .main-menu-m > li.cas-mobile-dropdown > .cas-mobile-tshirt-submenu {
    display: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 10px 18px 18px 20px !important;
    background: #181818 !important;
  }

  .main-menu-m > li.cas-mobile-dropdown.cas-open > .cas-mobile-tshirt-submenu {
    display: block !important;
  }

  .main-menu-m > li.cas-mobile-dropdown.cas-open > .arrow-main-menu-m {
    transform: rotate(90deg) !important;
  }

  .main-menu-m .cas-mobile-tshirt-submenu > li.cas-mobile-tshirt-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .main-menu-m .cas-mobile-tshirt-card {
    display: block !important;
    color: #fff !important;
    text-decoration: none !important;
  }

  .main-menu-m .cas-mobile-tshirt-imgwrap {
    display: block !important;
    width: 100% !important;
    height: 78px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #f3f3f3 !important;
  }

  .main-menu-m .cas-mobile-tshirt-imgwrap img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f3f3f3 !important;
  }

  .main-menu-m .cas-mobile-tshirt-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-top: 7px !important;
  }

  .main-menu-m .cas-mobile-tshirt-title {
    font-family: 'DIN Condensed', Poppins-Regular, sans-serif !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: #fff !important;
  }

  .main-menu-m .cas-mobile-tshirt-arrow {
    font-size: 24px !important;
    line-height: 1 !important;
    color: #fff !important;
  }
}
/* ===== /CAS PRINT MENU FIX v43 ===== */

/* ===== CAS PRINT MOBILE MENU PATCH v58 ===== */
.wrap-header-mobile {
  background-color: #ECECEC !important;
}

@media (max-width: 991px) {
  .main-menu-m > li.cas-mobile-tshirt-root > .cas-mobile-tshirt-submenu {
    background: #181818 !important;
    padding: 10px 20px 14px 20px !important;
    margin: 0 !important;
  }

  .main-menu-m > li.cas-mobile-tshirt-root:not(.cas-open) > .cas-mobile-tshirt-submenu {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .main-menu-m > li.cas-mobile-tshirt-root.cas-open > .cas-mobile-tshirt-submenu {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }

  .main-menu-m .cas-mobile-tshirt-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .main-menu-m .cas-mobile-tshirt-card {
    display: block !important;
    text-decoration: none !important;
    color: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .main-menu-m .cas-mobile-tshirt-imgwrap {
    display: block !important;
    width: 100% !important;
    height: 112px !important;
    border-radius: 13px !important;
    overflow: hidden !important;
    background: transparent !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  }

  .main-menu-m .cas-mobile-tshirt-imgwrap img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 13px !important;
    clip-path: inset(0 round 13px) !important;
  }

  .main-menu-m .cas-mobile-tshirt-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 7px !important;
  }

  .main-menu-m .cas-mobile-tshirt-title,
  .main-menu-m .cas-mobile-tshirt-arrow {
    color: #fff !important;
    line-height: 1 !important;
  }
}
/* ===== /CAS PRINT MOBILE MENU PATCH v58 ===== */


/* ===== CAS PRINT MOBILE MENU FINAL TUNE v58 ===== */
@media (max-width: 991px) {
  .wrap-header-mobile {
    background-color: #ECECEC !important;
  }

  .main-menu-m > li {
    margin: 0 !important;
    padding: 0 !important;
  }

  .main-menu-m > li > a,
  .main-menu-m > li.cas-mobile-tshirt-root > a.cas-mobile-tshirt-trigger {
    display: block !important;
    padding: 7px 20px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  .main-menu-m > li.cas-mobile-tshirt-root > .cas-mobile-tshirt-submenu {
    padding: 6px 20px 8px 20px !important;
    margin: 0 !important;
    background: #181818 !important;
  }

  .main-menu-m .cas-mobile-tshirt-cards {
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .main-menu-m .cas-mobile-tshirt-imgwrap {
    height: 112px !important;
    border-radius: 13px !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  .main-menu-m .cas-mobile-tshirt-imgwrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 18% !important;
    border-radius: 13px !important;
    clip-path: inset(0 round 13px) !important;
  }

  .main-menu-m .cas-mobile-tshirt-bottom {
    padding-top: 6px !important;
  }
}
/* ===== /CAS PRINT MOBILE MENU FINAL TUNE v58 ===== */

/* ===== CAS PRINT DESKTOP TSHIRT DROPDOWN RESTORE v59 ===== */
@media (min-width: 992px) {
  .bottom-nav.cas-desktop-tshirt-nav-fixed {
    overflow: visible !important;
  }

  .bottom-nav > .cas-desktop-tshirt-dropdown {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 15px !important;
    padding: 0 15px 0 0 !important;
    border-right: 1px solid #ccc !important;
    vertical-align: middle !important;
    overflow: visible !important;
    z-index: 100020 !important;
  }

  .bottom-nav > .cas-desktop-tshirt-dropdown > .cas-desktop-tshirt-main {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-right: 0 !important;
    font-family: 'DIN Condensed', Poppins-Regular, sans-serif !important;
    font-size: 23px !important;
    line-height: 1.2 !important;
    color: #303031 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  .bottom-nav > .cas-desktop-tshirt-dropdown:hover > .cas-desktop-tshirt-main,
  .bottom-nav > .cas-desktop-tshirt-dropdown:focus-within > .cas-desktop-tshirt-main {
    color: #717fe0 !important;
  }

  .bottom-nav > .cas-desktop-tshirt-dropdown > .cas-desktop-tshirt-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(8px) !important;
    width: 360px !important;
    box-sizing: border-box !important;
    padding: 14px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    background: #f2f2f2 !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.18) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 100050 !important;
    overflow: visible !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  }

  .bottom-nav > .cas-desktop-tshirt-dropdown > .cas-desktop-tshirt-menu::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -12px !important;
    height: 12px !important;
  }

  .bottom-nav > .cas-desktop-tshirt-dropdown:hover > .cas-desktop-tshirt-menu,
  .bottom-nav > .cas-desktop-tshirt-dropdown:focus-within > .cas-desktop-tshirt-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }

  .bottom-nav .cas-desktop-tshirt-card {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-right: 0 !important;
    color: #111 !important;
    text-decoration: none !important;
    background: transparent !important;
    min-width: 0 !important;
  }

  .bottom-nav .cas-desktop-tshirt-img {
    display: block !important;
    width: 100% !important;
    height: 112px !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #f3f3f3 !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  }

  .bottom-nav .cas-desktop-tshirt-img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 18% !important;
    border-radius: 10px !important;
    clip-path: inset(0 round 10px) !important;
    background: #f3f3f3 !important;
  }

  .bottom-nav .cas-desktop-tshirt-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding-top: 8px !important;
  }

  .bottom-nav .cas-desktop-tshirt-title {
    font-family: 'DIN Condensed', Poppins-Regular, sans-serif !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #111 !important;
    white-space: nowrap !important;
  }

  .bottom-nav .cas-desktop-tshirt-arrow {
    font-size: 28px !important;
    line-height: 1 !important;
    color: #111 !important;
  }
}
/* ===== /CAS PRINT DESKTOP TSHIRT DROPDOWN RESTORE v59 ===== */

/* ===== CAS PRINT DESKTOP TSHIRT DROPDOWN TUNE v60 ===== */
@media (min-width: 992px) {
  .bottom-nav .cas-desktop-tshirt-card {
    transition: transform .18s ease !important;
  }

  .bottom-nav .cas-desktop-tshirt-card:hover,
  .bottom-nav .cas-desktop-tshirt-card:focus {
    transform: translateY(-3px) !important;
  }

  .bottom-nav .cas-desktop-tshirt-img,
  .bottom-nav .cas-desktop-tshirt-img img {
    transition: transform .18s ease, box-shadow .18s ease !important;
  }

  .bottom-nav .cas-desktop-tshirt-card:hover .cas-desktop-tshirt-img,
  .bottom-nav .cas-desktop-tshirt-card:focus .cas-desktop-tshirt-img {
    box-shadow: 0 6px 14px rgba(0,0,0,.12) !important;
  }

  .bottom-nav .cas-desktop-tshirt-card:hover .cas-desktop-tshirt-img img,
  .bottom-nav .cas-desktop-tshirt-card:focus .cas-desktop-tshirt-img img {
    transform: scale(1.035) !important;
  }

  .bottom-nav .cas-desktop-tshirt-bottom {
    width: 78% !important;
    margin: 0 auto !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-top: 8px !important;
  }
}
/* ===== /CAS PRINT DESKTOP TSHIRT DROPDOWN TUNE v60 ===== */


/* ===== PENSIONER custom EST year ===== */
@font-face {
  font-family: 'College Block CAS';
  src: url('../fonts/College Block 2.0 D.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.cp-pensioner-year-block {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  column-gap: 20px;
  margin-top: 20px;
  margin-bottom: 26px;
}

.cp-pensioner-year-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 340px;
}

.cp-pensioner-print-preview {
  position: relative;
  width: 300px;
  min-height: 126px;
  border: 2px solid #d6d6d6;
  border-radius: 8px;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 12px 10px;
  color: #050505;
  overflow: hidden;
}

.cp-pensioner-fixed-print {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.cp-year-input-shell {
  position: absolute;
  left: 50.6%;
  top: 70.2%;
  width: 87px;
  height: 31px;
  transform: translateY(-1px);
  font-family: 'College Block CAS', Impact, 'Arial Black', sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: .015em;
}

.cp-pensioner-year-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #050505;
  font: inherit;
  line-height: 1;
  text-align: left;
  caret-color: #050505;
  -webkit-appearance: none;
  appearance: none;
  z-index: 3;
}

.cp-pensioner-year-input::-webkit-outer-spin-button,
.cp-pensioner-year-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cp-year-placeholder {
  position: absolute;
  left: 8px;
  top: -2px;
  pointer-events: none;
  color: #050505;
  opacity: .95;
  animation: cpYearBlink 1s steps(2, start) infinite;
  white-space: pre;
  z-index: 2;
}

.cp-pensioner-year-input:not(:placeholder-shown) + .cp-year-placeholder,
.cp-year-input-shell.is-filled .cp-year-placeholder {
  position: absolute;
  left: 8px;
  top: -2px;
  pointer-events: none;
  color: #050505;
  opacity: .95;
  animation: cpYearBlink 1s steps(2, start) infinite;
  white-space: pre;
  z-index: 2;
}

.cp-pensioner-year-hint {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.25;
  color: #777;
  text-align: center;
}

.cp-pensioner-year-input.is-invalid + .cp-year-placeholder,
.cp-year-input-shell.is-invalid .cp-year-placeholder {
  position: absolute;
  left: 8px;
  top: -2px;
  pointer-events: none;
  color: #050505;
  opacity: .95;
  animation: cpYearBlink 1s steps(2, start) infinite;
  white-space: pre;
  z-index: 2;
}

.cp-pensioner-print-preview.is-invalid {
  border-color: #c62828;
}

@keyframes cpYearBlink {
  0%, 45% { opacity: .95; }
  46%, 100% { opacity: .18; }
}

@media (max-width: 760px) {
  .cp-pensioner-year-block {
    grid-template-columns: 1fr;
    row-gap: 10px;
    margin-top: 18px;
    margin-bottom: 22px;
  }

  .cp-pensioner-year-wrap {
    align-items: flex-start;
    max-width: 100%;
  }

  .cp-pensioner-print-preview {
    width: min(100%, 300px);
    min-height: 116px;
  }

  .cp-year-input-shell {
    width: 76px;
    height: 29px;
    font-size: 28px;
  }

  .cp-pensioner-year-hint {
    text-align: left;
  }
}
/* ===== /PENSIONER custom EST year ===== */


/* ===== PENSIONER fake blinking caret ===== */
.cp-year-placeholder{
  display:none !important;
}

.cp-fake-caret{
  position:absolute;
  left:1px;
  top:2px;
  width:2px;
  height:28px;
  background:#050505;
  pointer-events:none;
  z-index:4;
  animation:cpFakeCaretBlink 1s steps(2,start) infinite;
}

.cp-year-input-shell.is-filled .cp-fake-caret,
.cp-year-input-shell.is-focused .cp-fake-caret{
  display:none !important;
}

@keyframes cpFakeCaretBlink{
  0%,45%{opacity:1;}
  46%,100%{opacity:0;}
}
/* ===== /PENSIONER fake blinking caret ===== */

@media (max-width: 760px) {
    .cp-pensioner-year-wrap{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cp-pensioner-print-preview{
        margin-left: auto;
        margin-right: auto;
    }

    .cp-pensioner-year-hint{
        text-align: center;
    }
}
/* ===== PENSIONER YEAR MOBILE: двигаем только цифры, курсор не трогаем ===== */
@media (max-width: 760px) {
  .cp-year-input-shell {
    position: absolute !important;
    transform: none !important;
  }

  .cp-pensioner-year-input {
    font-size: 28px !important;
    
    /* двигать сам год, НЕ бегунок */
    padding-left: 2px !important;
    padding-top: -2px !important;
    
    text-align: left !important;
    line-height: 1 !important;
  }
}
/* ===== PENSIONER YEAR SIZE OVERRIDE (MOBILE ONLY) ===== */
@media (max-width: 760px) {

  .cp-pensioner-year-input,
  #pensioner-year-input {
    font-size: 31px !important;      /* ← размер цифр */
    font-weight: 900 !important;
    line-height: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
    zoom: 1 !important;
    -webkit-text-size-adjust: 100% !important;
  }

}

/* ===== PENSIONER preview background ===== */
.cp-pensioner-print-preview{
    background: #ECECEC !important;
}

/* ===== PENSIONER MOBILE PROPORTIONAL SCALE FIX ===== */
/* Только мобильная версия: уменьшаем всю плашку PENSIONER/EST/год пропорционально */
@media (max-width: 760px) {
  .cp-pensioner-print-preview {
    width: 276px !important;
    min-height: 107px !important;
    padding: 11px 11px 9px !important;
    background: #ECECEC !important;
    box-sizing: border-box !important;
  }

  .cp-pensioner-fixed-print {
    width: 100% !important;
    height: auto !important;
  }

  .cp-year-input-shell {
    width: 70px !important;
    height: 27px !important;
    font-size: 28px !important;
    line-height: 1 !important;
    transform: none !important;
  }

  .cp-pensioner-year-input,
  #pensioner-year-input {
    font-size: 28px !important;
    line-height: 1 !important;
    height: 100% !important;
  }

  .cp-fake-caret {
    height: 26px !important;
    top: 2px !important;
  }
}
/* ===== /PENSIONER MOBILE PROPORTIONAL SCALE FIX ===== */

/* ===== PENSIONER PREVIEW - DESKTOP POSITION ===== */
@media (min-width: 761px) {
    .cp-pensioner-year-wrap{
        margin-left: -20%;
    }
}

@media (max-width:760px){

    .item-slick1{
        background-size: 110% auto !important;      /* масштаб */
        background-position: center -20px !important; /* вверх/вниз */
    }

}

/* MOBILE BANNER FINAL FIX */
@media (max-width:991px){
.section-slide,
.wrap-slick1,
.slick1,
.item-slick1{
height:405px!important;
min-height:405px!important;
overflow:hidden!important;
}
.item-slick1{
background-size:cover!important;
background-position:center top!important;
}
}


/* ================================================================
   NOVA POSHTA SELECT — compact style 6
   ================================================================ */
.np-checkout{
  position:relative;
  display:grid;
  gap:12px;
  width:100%;
  margin:0;
  overflow:visible;
}
.np-select{
  position:relative;
  width:100%;
  z-index:20;
}
.np-select + .np-select{ z-index:19; }
.np-select__label{
  display:block;
  margin:0 0 6px;
  color:#222;
  font-size:14px;
  line-height:1.2;
  font-weight:600;
}
.np-select__control{
  position:relative;
  display:flex;
  align-items:center;
  width:100%;
  min-height:48px;
  background:#fff;
  border:1px solid #d8d8d8;
  border-radius:7px;
  transition:border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
  box-sizing:border-box;
}
.np-select.is-open .np-select__control,
.np-select:focus-within .np-select__control{
  border-color:#111;
  box-shadow:0 0 0 1px #111;
}
.np-select.is-selected .np-select__control{ border-color:#bfc4bf; }
.np-select.is-disabled .np-select__control{
  background:#f5f5f5;
  border-color:#e3e3e3;
}
.np-select__input{
  width:100% !important;
  height:46px !important;
  min-height:46px !important;
  margin:0 !important;
  padding:0 46px 0 14px !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  color:#252525 !important;
  font:inherit !important;
  font-size:14px !important;
  line-height:46px !important;
  box-sizing:border-box !important;
}
.np-select__input::placeholder{ color:#8a8a8a !important; opacity:1; }
.np-select__input:disabled{ cursor:not-allowed; color:#999 !important; }
.np-select__toggle{
  position:absolute;
  right:0;
  top:0;
  width:44px;
  height:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
}
.np-select__toggle::before,
.np-select__toggle::after{
  content:"";
  position:absolute;
  top:50%;
  width:8px;
  height:1.5px;
  background:#333;
  transition:transform .18s ease;
}
.np-select__toggle::before{ right:20px; transform:translateY(-50%) rotate(45deg); }
.np-select__toggle::after{ right:14px; transform:translateY(-50%) rotate(-45deg); }
.np-select.is-open .np-select__toggle::before{ transform:translateY(-50%) rotate(-45deg); }
.np-select.is-open .np-select__toggle::after{ transform:translateY(-50%) rotate(45deg); }
.np-select.is-disabled .np-select__toggle::before,
.np-select.is-disabled .np-select__toggle::after{ background:#aaa; }
.np-select__menu{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 6px);
  display:none;
  max-height:245px;
  overflow:auto;
  overscroll-behavior:contain;
  background:#fff;
  border:1px solid #dedede;
  border-radius:7px;
  box-shadow:0 14px 34px rgba(0,0,0,.14);
  box-sizing:border-box;
}
.np-select.is-open .np-select__menu{ display:block; }
.np-select__option{
  display:block;
  width:100%;
  padding:11px 14px;
  border:0;
  border-bottom:1px solid #ededed;
  background:#fff;
  color:#222;
  text-align:left;
  cursor:pointer;
  box-sizing:border-box;
}
.np-select__option:last-child{ border-bottom:0; }
.np-select__option:hover,
.np-select__option.is-active{ background:#f4f4f4; }
.np-select__option-title{
  display:block;
  font-size:14px;
  line-height:1.25;
  font-weight:600;
}
.np-select__option-subtitle{
  display:block;
  margin-top:3px;
  color:#777;
  font-size:12px;
  line-height:1.3;
}
.np-select__status{
  padding:13px 14px;
  color:#777;
  font-size:13px;
  line-height:1.35;
}
.np-select__status.is-error{ color:#b42318; }
.np-checkout__error{
  display:none;
  margin-top:-5px;
  color:#b42318;
  font-size:12px;
  line-height:1.3;
}
.np-checkout.has-error .np-checkout__error{ display:block; }
.np-checkout.has-error .np-select__control{ border-color:#b42318; }

@media (max-width:767px){
  .np-checkout{ gap:10px; }
  .np-select__label{ font-size:13px; margin-bottom:5px; }
  .np-select__control{ min-height:46px; }
  .np-select__input{ height:44px !important; min-height:44px !important; line-height:44px !important; font-size:14px !important; }
  .np-select__menu{ max-height:220px; }
  .np-select__option{ padding:11px 12px; }
}


/* Center select arrows */
.select2-container--default .select2-selection--single .select2-selection__arrow,
.rs1-select2 .select2-container--default .select2-selection--single .select2-selection__arrow{
    top:50% !important;
    transform:translateY(-50%) !important;
    height:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

/* CAS NP arrow: true optical vertical centering */
.np-select__toggle{
  top:0 !important;
  bottom:0 !important;
  height:auto !important;
  display:block !important;
}
.np-select__toggle::before{
  content:"" !important;
  position:absolute !important;
  left:50% !important;
  right:auto !important;
  top:50% !important;
  width:10px !important;
  height:10px !important;
  background:transparent !important;
  border:0 !important;
  border-right:1.5px solid #333 !important;
  border-bottom:1.5px solid #333 !important;
  transform:translate(-50%, -68%) rotate(45deg) !important;
  transform-origin:center !important;
  transition:transform .18s ease !important;
  box-sizing:border-box !important;
}
.np-select__toggle::after{
  content:none !important;
  display:none !important;
}
.np-select.is-open .np-select__toggle::before{
  transform:translate(-50%, -32%) rotate(225deg) !important;
}
.np-select.is-disabled .np-select__toggle::before{
  border-color:#aaa !important;
}

/* ================================================================
   FIX: equal product cards on mobile (classic T-shirts catalogue)
   ================================================================ */
@media (max-width: 760px) {
  .row.isotope-grid.product-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 14px !important;
    row-gap: 28px !important;
    width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .row.isotope-grid.product-container > .isotope-item {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .row.isotope-grid.product-container .block2 {
    width: 100% !important;
    min-width: 0 !important;
  }

  .row.isotope-grid.product-container .block2-pic {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
  }

  .row.isotope-grid.product-container .block2-pic > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .row.isotope-grid.product-container .block2-txt,
  .row.isotope-grid.product-container .block2-txt-child1 {
    min-width: 0 !important;
  }
}
.popup-form {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.popup-form.show { display: block; }

.popup-form-inner {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 900px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    position: relative;
    top: 15%;
}

.popup-form-title{
    font-size: 20px;
    font-weight: bold;
    color: black;
}

.popup-exit {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}
.popup-exit img {
    width: 40px;
    height: 40px;
    position: relative;
    bottom: 13px;
}

/* ===== Form layout ===== */
.popup-form__form{
    display: flex;
    flex-direction: column;
    row-gap: 14px;
    margin-top: 8px;
}

/* Inputs look like clean text lines */
.popup-form__form input[type="text"],
.popup-form__form input[type="tel"]{
    width: 100%;
    border: none;
    border-bottom: 1px solid #d7d7d7;
    background: transparent;

    padding: 10px 0 8px 0;
    box-sizing: border-box;

    font-size: 16px;           /* одинаковый размер для всех 3 строк */
    line-height: 1.25;
    color: #6f6f6f;
    outline: none;
}

/* Placeholder — серый, одинаковый */
.popup-form__form input::placeholder{
    color: #9a9a9a;
    opacity: 1;
}

/* Subline under phone */
.popup-form__form .checkout-subline{
    margin-top: -8px;          /* подтягиваем под строку телефона */
    font-size: 14px;
    line-height: 1.2;
    color: #9a9a9a;
}

/* Submit button closer to fields */
.popup-form__form input[type='submit']{
    margin-top: 18px;
    width: 100%;
    padding: 14px 0;
    cursor: pointer;
    color: #6f6f6f;
    background-color: #d0d0d0;
    border: none;
}

/* Disable submit button when phone invalid */
.popup-form__form input[type='submit']:disabled,
.popup-form__form button[type='submit']:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== Phone validation UI ===== */
.phone-error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.25;
  color: #e74c3c;
}
/* ===== /Phone validation UI ===== */

/* ===== Premium order toast ===== */
.order-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2000;
  display: none;
  align-items: center;
  gap: 14px;

  padding: 16px 18px;
  min-width: 280px;
  max-width: 92vw;

  background: rgba(20, 20, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;

  color: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.order-toast.show { display: flex; animation: orderToastIn 180ms ease-out; }
.order-toast.hide { animation: orderToastOut 180ms ease-in forwards; }

.order-toast__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  flex: 0 0 auto;
}

.order-toast__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.order-toast__title { font-size: 18px; font-weight: 500; line-height: 1.25; }
.order-toast__subtitle { margin-top: 6px; font-size: 14px; line-height: 1.25; opacity: 0.75; }

@keyframes orderToastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes orderToastOut { from { opacity: 1; } to { opacity: 0; } }

/* Force-hide legacy green success bar */
.popup-order-sent { display: none !important; }

/* ===== FIX: align "Всього" (total) line with the rest of the checkout popup content ===== */
/* This covers both implementations: .total-price (checkout popup) and .order-total/#order-total-price (shopping-cart page). */
.popup-form .total-price,
.popup-form .order-total,
.popup-form #order-total-price,
.popup-form #total-price {
    display: block;
    width: 100%;
    box-sizing: border-box;

    /* force same left edge as other blocks inside popup */
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;

    text-align: left;
}

/* If your popup content is centered via an inner container, keep total inside the same centered width */
.popup-form .popup-form-inner .total-price,
.popup-form .popup-form-inner .order-total,
.popup-form .popup-form-inner #order-total-price {
    width: calc(100% - 80px);
    max-width: 760px;
    margin: 18px auto 0 !important;
}
/* ===== /FIX ===== */

/* ===== Checkout city field textarea ===== */
.popup-form__form textarea[name="comment"]{
    width: 100%;
    border: none;
    border-bottom: 1px solid #d7d7d7;
    background: transparent;
    padding: 4px 0 14px 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.2;
    color: #6f6f6f;
    outline: none;
    resize: none;
    min-height: 58px;
    overflow: hidden;
    font-family: inherit;
    margin-top: -4px;
}

.popup-form__form textarea[name="comment"]::placeholder{
    color: #9a9a9a;
    opacity: 1;
    white-space: pre-line;
}

@media (max-width: 767px){
  .popup-form__form textarea[name="comment"]{
    font-size: 16px !important;
    line-height: 1.25 !important;
    min-height: 38px !important;
    height: 38px !important;
    max-height: 38px !important;
    padding: 0 0 8px 0 !important;
    margin-top: 0 !important;
  }
}


@media (max-width: 767px){
  .popup-form__form textarea[name="comment"]{
    -webkit-text-size-adjust: 100% !important;
  }
}


/* ===== HARD FIX iPhone Safari focus zoom in checkout popup =====
   Safari zooms fields when calculated font-size is below 16px.
   Keep every checkout editable field at 16px and prevent text autoscaling.
*/
@media screen and (max-width: 768px) {
  html,
  body {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }

  .popup-form,
  .popup-form *,
  .popup-form__form,
  .popup-form__form * {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }

  .popup-form__form input[type="text"],
  .popup-form__form input[type="tel"],
  .popup-form__form input[type="search"],
  .popup-form__form input[type="email"],
  .popup-form__form input[type="number"],
  .popup-form__form textarea,
  .popup-form__form select,
  .popup-form__form textarea[name="comment"] {
    font-size: 16px !important;
    line-height: 1.25 !important;
    transform: none !important;
    zoom: 1 !important;
    -webkit-transform: translateZ(0) !important;
    appearance: none;
    -webkit-appearance: none;
  }

  .popup-form__form textarea[name="comment"]::placeholder {
    font-size: 16px !important;
    line-height: 1.25 !important;
  }
}
/* ===== /HARD FIX ===== */

