:root {
  --brand-color: #0b8925;
  --brand-color-ink: #1a1a1a;
  --header-muted: #6b6b6b;
  --header-border: #e8e8e8;
  --header-bg-soft: #f7f7f7;
  --font-sans: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Fallback when Shoper LESS/SFC cache is empty — restore layout rail + hide megamenu */
.container {
  max-width: 1180px !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.innermain.container,
.main .innermain {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.menu .innermenu .menu-list li > ul,
.menu .innermenu .menu-list li > .submenu > ul,
.menu .innermenu .menu-list.large.standard > li > .submenu > ul {
  display: none !important;
}

html,
body {
  font-family: var(--font-sans) !important;
}
.footer {
  background: none;
}
.wrap {
  background: url('/skins/store_user/store_033c0b92ded3ced1903cfbda7fe14bbb_15/images/user/bg2.jpg') no-repeat 50% 0 transparent;
}
.products.viewphot .product .productname {
 font-size:0,8em;
 height:3.6em;
 margin-bottom:0;
}


.box .boxhead>span,
.box .boxhead>h3,
.box .boxhead>h2,
.box .boxhead>h1 {
 font-size:1.2em;
 margin-top:0;
 font-weight:bold;
}

.box .boxhead>h2 {
  text-align: center;
}



#box_menu.box .boxhead,
#box_filter.box .boxhead {
  border: none;
  border-bottom: none;
  padding-bottom: 0;
}

#box_menu ul ul li,
#box_article_categories ul ul li {
  list-style-type: none;
}

.menu.row{
  position:sticky;
  top:0px;
  z-index:999;
  margin-bottom: 20px;
}
/* sort-and-view: visible on product lists — see MS Product list block below */
.search__content{z-index: 1000;}
.basket-contain {z-index:1000;}
.menu #rwd-menu li::after {
    position: absolute;
    right: 1em;
    top: 0;
    height: 28px;
    padding-left: 92%;
    padding-top: 1em;
}

@media screen and (max-width: 979px) and (min-width: 768px){
  .rwd header {
      background-image: none;
    background: #fff;
  }
  .menu.row{top: 0px;background: #fff;}
}

@media(max-width: 767px){
  .menu.row{position:sticky;top:0;background:#fff;padding:0;}
  header{position:static; background: #fff;}
}


.menu .innermenu {
  background-color: #ffffff;
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  padding: 0 5px; 
  width: 100%; 
  height: auto;
  overflow: visible; 
  margin-top:0;
  line-height: normal;
}


.menu .innermenu .menu-list li .h3-drop {
    font-size: 1.4em;
    margin-bottom: 0;
    line-height: normal;
}
.menu .innermenu .menu-list li ul li .h3-drop {
    font-size: 1em;
    margin: 0;
}

.menu .innermenu .menu-list li .h3-drop a {
    position: relative;
}


.menu .innermenu .menu-list li .h3-drop a {
      text-transform: uppercase;
      font-weight: 400;
}

.menu .innermenu .menu-list li ul li .h3-drop a {
    display: block;
    padding: 0.5em 1.3em;
}


.menu .innermenu .menu-list li ul li .h3-drop a {
    font-size: 1em;
}

.menu-list.large.standard {
  display: flex;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  align-content: flex-start !important;
  justify-content: flex-start !important;
  list-style: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important; 
  overflow: visible; 
  row-gap: 0;
}


.menu-list.large.standard > li {
    position: relative;
    line-height: 1.2;
}

.menu-list.large.standard > li > ul {
    position: absolute;
    top: 100%; 
    left: 0;
    z-index: 1010; 
    background-color: #ffffff; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: auto;
    min-width: 220px; 
    padding: 0;
}


.k_only_on_rwd{display:none;}
.k_icodown{display:none;}
.k_only_on_rwd h3 {
    font-size: 11pt;
    line-height: 11pt;
}
#turn-classic.rwd, #turn-classic{display:none !important;}
#shoper-foot{margin-top:10px;background: none;}


@keyframes k_point {
  0%   	{right: 15px;}
  25%  	{right: 10px;}
  50%  	{right: 15px;}
  75% 	{right: 10px;}
  100% 	{right: 15px;}
}

.k_arrow_right{
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
  	margin-top:-10px;
  	transition: all ease-in-out .5s;
  	animation-name: k_point; 
  	animation-duration: .8s;
  	color: #a19482;
}

ul.h3-drop .k_arrow_right{cursor:pointer;}


li.parent{cursor:pointer;}
p.h3-drop{position:relative;width:100%;}
.menu .innermenu .menu-list li ul li .h3-drop a{max-width:80%;}
.menu #rwd-menu{height:500px;overflow:scroll;}
#turn-classic{display: none !important;}

.menu #rwd-menu li a{width:100%;}
.menu #rwd-menu li.has-children > a{width:initial;}
#box_slider_42{display:none;}


@media screen and (max-width: 1200px){
  .menu .innermenu{height:auto;line-height:normal;}
	.menu .innermenu .menu-list{height:auto;float:none;text-align:left;}
	.menu .innermenu .menu-list li{float:none;}
  .menu .innermenu .menu-list.large.standard > li.parent:hover > .submenu > ul {top:0;}

}


@media(max-width: 998px){
 	.rwd-show-medium {display: block !important;}
    .rwd-hide-medium {display: none !important;}
  	.rwd .menu .innermenu li {padding: 0 12px;}
  	.rwd .menu .innermenu li a {
      display: block;
      font-size: 2.5em;
      padding: .18em 0;
      color: #d8d8d8;
      text-align: center;
      cursor: pointer;
  }
  .rwd .standard {display: none !important;}
  .rwd .small {display: block !important;}
  .leftcol{display:none;}
  .rwd .s-grid-9 {width: 100%;}
  .menu #rwd-menu {height: 1000%;overflow: scroll;}
  
  .menu .innermenu {
  box-shadow: none;
    margin-top: 10px;
  }
}

@media(max-width: 767px){
  .menu #rwd-menu {height: 800%;overflow: scroll;}
  .k_only_on_rwd{display:block;}
  .row::before, .box::before, .product::before, .s-row::before, .row::after, .box::after, .product::after, .s-row::after {order:1000;}
  .viewphot.products{display:grid;grid-template-columns:1fr 1fr;grid-gap: 10px;}
  .rwd .main #box_mainproducts .products.viewphot .product .product-inner-wrap {padding: 2%;}
  #box_slider_42{display:block;}
  #box_slider_37{display:none;}


  .rwd.wrap header.row:not(.ms-header) {display:grid;grid-template-columns: 3fr 1fr;padding-bottom:0;}
  .rwd.wrap header.row.ms-header {
    display: block !important;
    grid-template-columns: none !important;
    padding-bottom: 0 !important;
  }
  .rwd.wrap header.row:before{display:none;}
  .rwd.wrap header.row .login-bar.container{order:2;margin:0;}
  .rwd.wrap header.row .logo-bar.container{order:1;margin:0;min-height:unset;}
  .rwd.wrap header.row .login-bar span{display: none;}
  header .logo-bar .link-logo{margin-top:0;}
  /*.link-logo-img img{max-width:190px;}*/
  .menu #rwd-menu{background: #DEDEDE;overflow-x: hidden;width:92%;}
  .menu #rwd-menu li ul{background: #EFEDED;}
  .menu #rwd-menu li::after {color: #555;}


  .k_arrow_right{display: none;}
}


@media(max-width: 468px){
  .rwd.wrap header.row{padding-bottom:1em;}
  .search__mobile-btn{display:none;}
}









/*Menu ROCKFORD RWD*/

.k_rockford_menu{display:none;transition: all ease-in-out .4s;opacity:0;position:fixed;left:-100%;top:0;overflow-y: scroll;-ms-overflow-style: none; scrollbar-width: none; }
.k_rockford_menu::-webkit-scrollbar{display:none;}
.k_rockford_menu.k_open{width:100%;opacity:1;left:0;}
.k_mx_menu_rwd{display:none;margin-top:13px;transition: all ease-in-out .2s;color:#2f2f2f;}
.k_mx_menu_rwd:hover .k_mx_menu_rwd:after{color:@maincolor;}
.k_mx_menu_rwd:after {
    content: '\f0c9';
    font-size: 24pt;
    color: #D8D8D8;
    font-family: 'fontAwesome';
    text-align: center;
    width: 100%;
    display: inline-block;
    cursor: pointer;
}
.k_rockford_menu .submenu.level1{display:none;}
.k_rm_search h3 a.fa-search:before{padding-right:5px;}
.k_rm_search li{border-bottom:none !important;}
.search_focused .search__input-area {-webkit-box-shadow: none; box-shadow: none;}

.k_rockford_header {
    padding: 20px 5%;
    width: 90%;
    color: #757575;
    text-transform: capitalize;
    font-size: 12pt;
    background: #F4F4F4;
    text-align: left;
}
.k_rockford_close {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 16px 15px;
    font-size: 20pt;
    z-index: 9;
    color: #757575;
}
.k_rockford_tabselector{padding-right: 0;display: inline-block;font-weight:bold;cursor:pointer;}
.k_rockford_tabselector.active{color:var(--brand-color-ink);}
.k_rockford_tabselector.active:after{width:100%;height:3px;border:none;background:var(--brand-color);}
.k_rm_single_element{font-size:12pt;text-align:left;border-bottom:1px solid #ddd;display:block;}
.k_rm_wholetab{display:none;opacity:0;transition: all ease-in-out .4s;}
.k_rm_wholetab.active{display:block;opacity:1;}
.k_rm_acctab .k_rm_single_element:last-child{border-bottom:none;}
.k_rockford_menu{background: #fff;z-index:100000;height:100%;display:block;}
.k_rockford_menu a {
    color: #2f2f2f;
    font-weight: normal;
    font-size: 11pt;
    height: auto;
    width: 80%;
    display: inline-block;
    padding: 10px 5%;
    margin-right: 10%;
}
.k_rockford_menu .fa-search{padding: 15px 5%;}
.k_rm_acctab a{ padding: 10px 25px;}
.k_rockford_menu h3 {
  font-size: 11pt;
  color: #2f2f2f;
  text-transform: capitalize;
  padding: 0;
  margin: 0;
}
.k_rockford_menu li{display:block;margin-bottom:-1px;background:#fff;color:#2f2f2f;padding: 0;border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;}
.k_rockford_menu ul.level1 li h3 a{padding-left:10%;}
.k_rockford_menu ul.level1 li {background: #eee;}
.k_rockford_menu>a.k_rm_single_element {
    display: block;
    padding: 13px 20px;
    text-transform: capitalize;
    cursor: pointer;
}
.k_rockford_menu li.parent{position:relative;}
.k_icodown {
    display:none;
    position: absolute;
    right: 0;
    top: 0px;
    padding: 12px 0;
    width: 10%;
    text-align: center;
    transition: all ease-in-out .3s;
    cursor:pointer;
}
.k_invert_arrow{transform: rotate(180deg);}
.k_rockford_menu li.parent .k_icodown{display:block;}

.k_rockford_menu ul.level2 li{background:#d2d2d2;}
.k_rockford_menu .submenu.level2{display: none;}

@media(max-width: 998px){
    .k_lower_header .menu{display:none;}
    .k_mx_menu_rwd{display:inline-block;}
}

@media(max-width:768px){
    body.scroll_block{position: static;}
    .basket-step-border .innerbox{grid-template-columns: 1fr;}
   
    
    header .logo-bar .search-form .search-input{min-height:42px;}
    header .logo-bar .search__input {height: 40px;}
    .rwd footer .innerfooter ul.overall ul li:after{display:none;}
    .rwd footer .innerfooter ul li>ul li {background-color: unset;}
    .rwd footer .innerfooter ul li.head{border:none;}
    .small, #turn-classic.rwd{display:none !important;}
    #box_articlelistsmall .innerbox {grid-template-columns: 1fr;}
    .search_open-empty .search__content {opacity: 0;}
    .rwd header .logo-bar .search__container {
      margin-top: 0;
      z-index: 1001;
    }
    .rwd header.ms-header .logo-bar .search__container {
      position: static;
      min-width: 0 !important;
      max-width: 100% !important;
    }
    .rwd header.ms-header .logo-bar .search__container:has(.search_open),
    .rwd header.ms-header .logo-bar .search.search_open {
      position: relative;
      z-index: 1105;
      min-width: 0 !important;
      max-width: 100% !important;
      flex: 1 1 auto !important;
      overflow: visible !important;
    }
  
  iframe{max-width: 100%;}
  .product-tab table{max-width: 100%;width:auto!important;}
  .product-tab img{height:auto; max-width: 100%; }
}
/*EOF ROCKFORD RWD*/





header .login-bar .links li.register a::before, header .login-bar .links li.myaccount a::before {
    display: inline-block;
    content: "\F0C0";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.3em;
    color: #111;
    margin-right: 5px;
    vertical-align: middle;
}
header .login-bar .links li.register::before, header .login-bar .links li.myaccount::before{display: none;}
header .login-bar .links li.login a::before, header .login-bar .links li.logout a::before {
    display: inline-block;
    content: "\F13E";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.3em;
    color: #111;
    margin-right: 5px;
    vertical-align: middle;
}
header .login-bar .links li.login::before, header .login-bar .links li.logout::before{display: none;}

tr.k_tr_product, tr.k_tr_product td {
    transition: 0.5s;
}

tr.k_tr_product.blocked-category {
    -webkit-box-shadow: 0px 0px 0px 2px rgba(255, 0, 0, 1);
    -moz-box-shadow: 0px 0px 0px 2px rgba(255, 0, 0, 1);
    box-shadow: 0px 0px 0px 2px rgba(255, 0, 0, 1);
    position: relative;
}

.blocked-category-info {
    margin-top: 2em;
}

.blocked-category-info span {
    color: #ff0000;
}

.blocked-category-info ul {
    margin-top: 1em;
}

.blocked-category-info ul li a {
    font-weight: 600;
}

.blocked-category-info ul li a i.fa {
    margin-right: 10px;
}

.weight_limit {
    margin-top: 2em;
}

.weight_limit span {
    color: #ff0000;
}

#cart-options .buttons button.blocked {
    pointer-events: none;
    opacity: 0.5;
}

/*czyszczenie koszyka 12.01.2022*/
.clear-basket {
    margin-bottom: 0.7em;
    min-height: 79px;
    text-align: right;
}

.clear-basket .clear-type_switch {
    margin-top: 0.7em;
}

.clear-basket .clear-type_switch > span {
    font-size: 12px;
    font-style: italic;
    line-height: 24px;
    cursor: pointer;
}

.clear-basket .clear-type_switch label {
    position: relative;
    top: -2px;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin: 0 10px;
}

.clear-basket .clear-type_switch label input {
    opacity: 0;
    width: 0;
    height: 0;
}

.clear-basket .clear-type_switch label span.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    background-color: #F7F7F7;
    transition: 0.5s;
    border-radius: 24px;
}

.clear-basket .clear-type_switch label span.slider::before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    transition: 0.5s;
    border-radius: 50%;
}

.clear-basket .clear-type_switch label input:checked + span.slider {
    background-color: var(--brand-color);
}

.clear-basket .clear-type_switch label input:checked + span.slider::before {
    transform: translateX(26px);
}
/*eof czyszczenie*/
tr.k_tr_product a.prodremove.blocked {
    display: none;
}

.maxsote_hotbasket {
    height: 0;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.maxsote_hotbasket.mx-show {
    height: auto;
    overflow: visible;
    margin: 10px 0 !important;
    padding: 10px 0 !important;
    border: 2px solid rgb(3, 3, 3) !important;
}
.shop_product .f-row.clear.pt-1 .hint__content{
    z-index: 10;
}

.zk-desc {
  padding: 15px 0;
}

.zk-desc h1 {
  text-align: center;
}

.zk-desc h2 {
  text-align: center;
  padding: 13px 0;
  border-radius: 7px;
  background: #eee;
  font-weight: 400;
  margin: 25px auto;
  font-size: 1.3em;
  width: 100%;
}

.zk-desc {
  text-align: justify;
  font-size: 1.2em;
  line-height: 140%;
}

.zk-desc-img img {
  float: left;
  width: 275px;
  height: auto;
  padding-right: 20px;
  padding-bottom: 10px;
}

@media (max-width: 600px) {
  .zk-desc-img img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
  }
}

#cart-options .force-none{
  display: none !important;
}

#box_slider_37 .pageslider,
#box_slider_37 ul.slides,
#box_slider_37 ul.slides li {
    min-height: 197px;
}

#box_slider_42 .pageslider,
#box_slider_42 ul.slides,
#box_slider_42 ul.slides li {
    min-height: 360px;
}

.box-slider .pageslider {
    contain: layout;
}

.box-slider ul.slides li {
    contain: layout size;
}

.wrap.rwd .box_mamezi_product .product,
.products.viewphot .product,
#box_bestsellers .product,
#box_productoftheday .product,
#box_specialoffer .product,
#box_lastadded .product,
#box_recent .product,
[id*="box_recommendations_"] .product,
#box_fromCategory .product{
  .prodimage .img-wrap,
  .boximgsize{
    min-height: 0;
    height: auto;
    aspect-ratio: 1;
    width: 100%;
    display: block;
    img{
      max-height: 100%;
      height: auto;
      width: auto;
      object-fit: contain;
      aspect-ratio: 1;
    }
  }
  .prodimage{
    height: auto;
  }
}


// fixes shoper 12.03.2024

.products.viewphot .product .productname {
  height: auto;
}

// 26.09.2024

.nutrition-table {
        border-collapse: collapse;
        border: 1px solid black;
        width: 70%; 
    }
    .nutrition-table th, .nutrition-table td {
        border: 1px solid black;
        padding: 5px 10px;
    }
    .nutrition-table th {
        background-color: #f0f0f0; 
        text-align: center;
       white-space: nowrap;
    }
    .nutrition-table td {
        text-align: right;
    }
    .nutrition-table .left-align {
        text-align: left;
    }
  @media (max-width: 768px) {
        .nutrition-table th {
            white-space: normal;
        }
    }


div.shop-gallery-title {
opacity: 0;
  cursor: default;
}



// Strona produktu

.product-selgros-description,
.product-selgros-parameters,
.product-selgros-allergens,
.product-selgros-storage,
.product-selgros-nutritional,
.product-selgros-vitamins,
.product-selgros-info {
    background-color: #fff;
    padding: 0 0 20px;
    margin-bottom: 20px;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
}

.product-selgros-description h2,
.product-selgros-parameters h2,
.product-selgros-allergens h2,
.product-selgros-storage h2,
.product-selgros-nutritional h2,
.product-selgros-vitamins h2,
.product-selgros-info h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.product-selgros-description p,
.product-selgros-parameters p,
.product-selgros-allergens p,
.product-selgros-storage p,
.product-selgros-nutritional p,
.product-selgros-vitamins p,
.product-selgros-info p {
    line-height: 1.6;
    color: #666;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.product-selgros-description table,
.product-selgros-parameters table,
.product-selgros-allergens table,
.product-selgros-storage table,
.product-selgros-nutritional table,
.product-selgros-vitamins table,
.product-selgros-info table {
    width: 100%;
   height: 100%; 
    border-collapse: collapse;
    margin-bottom: 15px;
    table-layout: fixed;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-spacing: 0; 
}

.product-selgros-description table th,
.product-selgros-parameters table th,
.product-selgros-allergens table th,
.product-selgros-storage table th,
.product-selgros-nutritional table th,
.product-selgros-vitamins table th,
.product-selgros-info table th,
.product-selgros-description table td,
.product-selgros-parameters table td,
.product-selgros-allergens table td,
.product-selgros-storage table td,
.product-selgros-nutritional table td,
.product-selgros-vitamins table td,
.product-selgros-info table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    height: auto;
    min-width: 80px; 
    box-sizing: border-box;
    line-height: 1.5;
    hyphens: auto;
}

.product-selgros-description table th,
.product-selgros-parameters table th,
.product-selgros-allergens table th,
.product-selgros-storage table th,
.product-selgros-nutritional table th,
.product-selgros-vitamins table th,
.product-selgros-info table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

@media (max-width: 992px) {
    .product-selgros-description table th,
    .product-selgros-parameters table th,
    .product-selgros-allergens table th,
    .product-selgros-storage table th,
    .product-selgros-nutritional table th,
    .product-selgros-vitamins table th,
    .product-selgros-info table th,
    .product-selgros-description table td,
    .product-selgros-parameters table td,
    .product-selgros-allergens table td,
    .product-selgros-storage table td,
    .product-selgros-nutritional table td,
    .product-selgros-vitamins table td,
    .product-selgros-info table td {
        padding: 5px 6px;
        min-width: 60px;
        font-size: 0.75em;
    }
}

@media (max-width: 768px) {
    .product-selgros-description table,
    .product-selgros-parameters table,
    .product-selgros-allergens table,
    .product-selgros-storage table,
    .product-selgros-nutritional table,
    .product-selgros-vitamins table,
    .product-selgros-info table {
        display: table;
        overflow-x: auto;
        table-layout: auto;
        width: 100%;
        margin-bottom: 10px; /* Zmniejszenie marginesu */
    }

    .product-selgros-description table td,
    .product-selgros-parameters table td,
    .product-selgros-allergens table td,
    .product-selgros-storage table td,
    .product-selgros-nutritional table td,
    .product-selgros-vitamins table td,
    .product-selgros-info table td {
           display: table-cell;
        width: auto;
        padding: 5px; /* Zmniejszenie paddingu */
        font-size: 0.9em; /* Zmniejszenie rozmiaru tekstu */
        line-height: 1.4; /* SkrÃÂ³cenie odstÃâ¢pÃÂ³w miÃâ¢dzy liniami */
         height: 100%;
    }

    

    .product-selgros-description h2,
    .product-selgros-parameters h2,
    .product-selgros-allergens h2,
    .product-selgros-storage h2,
    .product-selgros-nutritional h2,
    .product-selgros-vitamins h2,
    .product-selgros-info h2 {
        font-size: 18px; 
        margin-bottom: 10px; 
    }
}

@media (max-width: 480px) {
    .product-selgros-description table td,
    .product-selgros-parameters table td,
    .product-selgros-allergens table td,
    .product-selgros-storage table td,
    .product-selgros-nutritional table td,
    .product-selgros-vitamins table td,
    .product-selgros-info table td {
        padding: 3px; /* Jeszcze mniejszy padding na bardzo maÃâych ekranach */
        font-size: 0.85em; /* Dalsze zmniejszenie rozmiaru tekstu */
        line-height: 1.3; /* Dalsze skrÃÂ³cenie odstÃâ¢pÃÂ³w miÃâ¢dzy liniami */
    }
}

/* GÃâÃÂ³wne style dla main-description */
.main-description {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    box-sizing: border-box;
}

.main-description h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.main-description p {
    line-height: 1.6;
    color: #666;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.main-description table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    table-layout: fixed;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-spacing: 0; 
}

.main-description table th,
.main-description table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    height: auto;
    min-width: 80px; 
    box-sizing: border-box;
    line-height: 1.5;
    hyphens: auto;
}

.main-description table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

/* ResponsywnoÃâºÃâ¡ dla Ãâºrednich ekranÃÂ³w */
@media (max-width: 992px) {
    .main-description table th,
    .main-description table td {
        padding: 5px 6px;
        min-width: 60px;
        font-size: 0.75em;
    }
}

@media (max-width: 768px) {
    .main-description table {
        display: table;
        overflow-x: auto;
        table-layout: auto;
        width: 100%;
        margin-bottom: 10px; 
    }

    .main-description table td {
        display: table-cell;
        width: auto;
        padding: 5px;
        font-size: 0.9em;
        line-height: 1.4;
        height: auto;
    }

    .main-description h2 {
        font-size: 18px; 
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .main-description table td {
        padding: 3px; 
        font-size: 0.85em;
        line-height: 1.3;
    }
}

/* GÃâÃÂ³wny kontener */
.main--product-description-mg {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Opis produktu */
.main--product-description-mg .product-desc p,
.main--product-description-mg p {
    line-height: 1.6;
    color: #666;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

/* NagÃâÃÂ³wki (np. sekcje warunkÃÂ³w, skÃâadnikÃÂ³w) */
.main--product-description-mg h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

/* Style dla tabeli (np. wartoÃâºci odÃÂ¼ywcze) */
.main--product-description-mg .nutritions-table table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    table-layout: fixed;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-spacing: 0;
}

.main--product-description-mg .nutritions-table table th,
.main--product-description-mg .nutritions-table table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    height: auto;
    min-width: 80px;
    box-sizing: border-box;
    line-height: 1.5;
    hyphens: auto;
}

.main--product-description-mg .nutritions-table table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

/* ResponsywnoÃâºÃâ¡ - ekrany Ãâºrednie */
@media (max-width: 992px) {
    .main--product-description-mg h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .main--product-description-mg p,
    .main--product-description-mg .nutritions-table table th,
    .main--product-description-mg .nutritions-table table td {
        padding: 5px 6px;
        font-size: 0.75em;
        min-width: 60px;
    }
}

/* ResponsywnoÃâºÃâ¡ - maÃâe ekrany */
@media (max-width: 768px) {
    .main--product-description-mg .nutritions-table table {
        display: table;
        overflow-x: auto;
        table-layout: auto;
        width: 100%;
        margin-bottom: 10px;
    }
    .main--product-description-mg .nutritions-table table td,
    .main--product-description-mg .nutritions-table table th {
        display: table-cell;
        width: auto;
        padding: 5px;
        font-size: 0.9em;
        line-height: 1.4;
        height: 100%;
    }
}

/* ResponsywnoÃâºÃâ¡ - bardzo maÃâe ekrany */
@media (max-width: 480px) {
    .main--product-description-mg .nutritions-table table td,
    .main--product-description-mg .nutritions-table table th {
        padding: 3px;
        font-size: 0.85em;
        line-height: 1.3;
    }
}




.resetcss h3 {
    font-size: 24px;
    margin: 0;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
}

.resetcss h3 + p,
.resetcss h3 + table {
    margin: 0 0 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

/* Stylizacja akapitÃÂ³w */
.resetcss h3 + p {
    line-height: 1.6;
}

/* Stylizacja tabeli (dla h3 + table) */
.resetcss h3 + table {
    width: 100%;
    border-collapse: collapse;
}

.resetcss h3 + table th,
.resetcss h3 + table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.resetcss h3 + table th {
    background-color: #f1f1f1;
    width: 30%;
}

.resetcss h3 + table td {
    width: 70%;
}

/* ResponsywnoÃâºÃâ¡ */
@media (max-width: 768px) {
    .resetcss h3 {
        font-size: 20px;
        padding: 15px;
    }
    .resetcss h3 + p,
    .resetcss h3 + table {
        padding: 15px;
    }
}




/* OPIS PRODUKTU Z PK */

/* OgÃÂ³lne style kontenera */
.main-product-description-pk {
    font-family: 'Roboto', sans-serif;
    color: #333;
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.6;
    padding: 0 15px;
}

/* Style dla nagÃâÃÂ³wkÃÂ³w */
.main-product-description-pk h3 {
    font-size: 1.4rem;
    margin: 20px 0 10px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}

/* Style dla akapitÃÂ³w */
.main-product-description-pk p {
    margin: 10px 0;
}

/* Tabela wartoÃâºci odÃÂ¼ywczych */
.nutritions-table {
    margin-top: 20px;
}

.nutritions-table table {
    width: 100%;
    border-collapse: collapse;
}

.nutritions-table th,
.nutritions-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 0.9rem;
}

.nutritions-table th {
    background-color: #f7f7f7;
}

/* Informacje o produkcie */
.product-info-pk p {
    margin: 5px 0;
}



/* Kontener gÃâÃÂ³wny */
.product-description {
    font-family: 'Roboto', Arial, sans-serif;
    color: #333;
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.6;
    padding: 0 15px;
    background: #fff;
}

/* NagÃâÃÂ³wki sekcji */
.product-description h3 {
    font-size: 1.4rem;
    margin: 24px 0 12px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 6px;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Akapity */
.product-description p {
    margin: 10px 0 14px 0;
    font-size: 1rem;
}

/* Tabele Ã¢â¬â ogÃÂ³lne ustawienia */
.product-description table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 22px;
    font-size: 0.97rem;
}

.product-description th,
.product-description td {
    padding: 8px 10px;
    border: 1px solid #e5e5e5;
    text-align: left;
    vertical-align: top;
}

.product-description th {
    background: #f7f7f7;
    font-weight: 600;
    width: 240px;
}

/* Oddzielenie podsekcji (opcjonalnie) */
.product-description__content>table:not(:last-child) {
    margin-bottom: 28px;
}

/* Responsive Ã¢â¬â dla wÃâ¦skich ekranÃÂ³w */
@media (max-width: 600px) {
    .product-description {
        padding: 0 5px;
        font-size: 0.98rem;
    }

    .product-description th,
    .product-description td {
        font-size: 0.95rem;
        padding: 6px 5px;
    }
}

/* WyrÃÂ³ÃÂ¼nienie alergenÃÂ³w Ã¢â¬Å¾TakÃ¢â¬Â i Ã¢â¬Å¾MoÃÂ¼e zawieraÃâ¡Ã¢â¬Â */
.product-description tr td {
    color: #333;
}

.product-description tr td:contains('Tak'),
.product-description tr td:contains('MoÃÂ¼e zawieraÃâ¡') {
    color: #c0392b;
    font-weight: 500;
}

/* MoÃÂ¼esz dodaÃâ¡ klasy do niektÃÂ³rych tabel np. dla wartoÃâºci odÃÂ¼ywczych: */
.product-description table:has(th:contains('Jednostka bÃâ¢dÃâ¦ca podstawÃâ¦ przeliczeÃâ')) {
    margin-top: 24px;
    background: #f9f9fd;
}



/* OPIS PRODUKTU Z PK */



span.ps-arrow-right,
span.ps-arrow-left,
.slider-nav-left,
.slider-nav-right{
  background-color: #ffffff !important;
  color: var(--brand-color-ink) !important;
  text-shadow: none !important;
  cursor: pointer;
  visibility: visible !important;
}

span.ps-arrow-right:hover,
span.ps-arrow-left:hover,
.slider-nav-left:hover,
.slider-nav-right:hover {
  color: var(--brand-color-ink) !important;
  text-shadow: none !important;
  transition: transform 0.2s ease;
}

.mini-baner-oferta {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: none;
    border: 1px solid var(--header-border);
    border-radius: 12px;
    overflow: hidden;
    margin: 0 0 12px 0;
}

.modul-banerow {
    display: flex;
    gap: 12px;
    width: 100%;
}

.baner-lewy, .baner-prawy {
    flex: 1;
    aspect-ratio: 800 / 210;
    box-shadow: none;
    border: 1px solid var(--header-border);
    border-radius: 12px;
    overflow: hidden;
}

.modul-banerow img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

@media (max-width: 767px) {
    .modul-banerow {
        flex-direction: column;
    }
    
    .baner-lewy, .baner-prawy {
        width: 100%;
    }
}

@media (max-width: 483px) {
    .mini-baner-oferta {
        margin: -20px 0 10px 0;
    }
}

.boxhead span {
  color: #000 !important;
  margin-top: 30px !important;
  margin-bottom: 20px !important;
  background-color: #eee;
  font-size: 22px !important;
}

.zk-desc h2 {
  border-radius: 0 !important;
}

.slider-nav-right, .slider-nav-left {
  background-color: #fff !important;
  color: var(--brand-color-ink) !important;
}

// SHOPER hotfix
@media (min-width:980px) {
.products.viewphot .product .productname {
  height: 55px;
}
}
@media (min-width:768px) {
.products.viewphot .product .productname {
  height: 75px;
}
}

@media (max-width: 768px) {
  .responsive-flex { 
    flex-direction: column !important;
    gap: 24px !important;
  }
  .transport-section {
    width: 100% !important;
    margin-right: 0 !important;
  }
}

/* W Siwek #2411096 aby przycisk "do kasy" w podglÃâ¦dzie koszyka z nagÃâÃÂ³wka, zawsze zajnowaÃâ jednÃâ¦ liniÃâ¢ */

.basket-contain .basket-summery a {
	width: auto;
}

/* koniec W Siwek #2411096 */

/* Searchbar 06.08.2025*/

.search-form {
  border: 2px solid #666;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .search-form {
    border: none !important;

  }
}

/* Searchbar 06.08.2025 */

/* Newsletter 12.08.2025 */
@keyframes pulse-highlight {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 0 4px rgba(11, 137, 37, 0.45);
  }
  100% {
    transform: scale(1);
  }
}

.highlight-animation {
  animation: pulse-highlight 0.8s ease-in-out;
}
/* Newsletter 12.08.2025 */

/* Toast koszyka â MS */
#toast-container {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 12000;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
  max-width: 360px;
}

@keyframes ms-toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast.ms-toast,
#toast-container .toast {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: max-content;
  max-width: 360px;
  box-sizing: border-box;
  padding: 12px 14px 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--header-border);
  border-left: 3px solid var(--brand-color);
  background: #fff;
  color: var(--brand-color-ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transform: translateY(0);
  animation: ms-toast-in 0.28s ease;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.toast.ms-toast.fade-out {
  opacity: 0 !important;
  transform: translateY(8px);
  animation: none;
}

.toast.ms-toast .ms-toast-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--header-muted, #6b6b6b);
}

.toast.ms-toast .ms-toast-name {
  display: block;
  font-weight: 600;
  color: var(--brand-color-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.toast.ms-toast.toast-success {
  border-left-color: var(--brand-color);
}

.toast.ms-toast.toast-remove,
.toast.ms-toast.toast-error {
  border-left-color: var(--brand-color-ink);
}

.toast.ms-toast.toast-remove .ms-toast-label,
.toast.ms-toast.toast-error .ms-toast-label {
  color: var(--brand-color-ink);
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 8px; 
}

.quantity-widget {
    display: flex;
    align-items: center;
    border: 1px solid var(--header-border);
    border-radius: 8px;
    overflow: hidden;
    width: -moz-fit-content;
    width: fit-content;
    height: 40px;
    background: #fff;
}

.quantity-widget .quantity-btn {
    background-color: transparent;
    border: none;
    border-radius: 0;
    width: 32px;
    height: 40px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0;
    color: var(--brand-color-ink);
    line-height: 40px;
    padding: 0;
}

.quantity-widget .quantity-btn:hover {
    background-color: var(--header-bg-soft);
}

.quantity-widget input.short {
    width: 36px;
    height: 40px;
    border: none;
    background-color: transparent;
    text-align: center;
    font-size: 14px;
    padding: 0 2px;
    -moz-appearance: textfield;
    color: var(--brand-color-ink);
    font-family: var(--font-sans);
}

.quantity-widget input.short:focus {
    outline: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.quantity-widget input.short::-webkit-inner-spin-button,
.quantity-widget input.short::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/*
.top-contact-bar {
    width: 100%;
    background-color: #f8f8f8;
    border-bottom: 1px solid #e7e7e7;
    padding: 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-contact-bar-content {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-contact-bar-content li a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.top-contact-bar-content li a:hover {
    text-decoration: underline;
} */

.top-contact-info {
    position: absolute;
    top: -40px; 
    left: 0;
    width: 100%;
   white-space: nowrap; 
    z-index: 10;        
}

.top-contact-info a {
    font-size: 13px;
  font-weight: 600;
    color: #000000;
    text-decoration: none;
    margin: 0 15px;
    text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.7);
}

.top-contact-info a:hover {
    text-decoration: underline;
}

#margin-custom_ {
  margin-bottom: 10px;
}

@media (max-width: 767px) {
    .top-contact-info {
        top: -15px; 
    }

    .top-contact-info a {
        margin: 0 10px;
    }
}
/* Toast | i +/- w koszyku | Info kontaktowe w nagÃâÃÂ³wku 25.08.2025 */

#edrone-onsite-popup-content,
.edrone-onsite-popup-content__content-wrapper,
.edrone-onsite-popup-elements-wrapper {
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  box-sizing: border-box !important;
}

/* Outer shell */
.edrone-onsite-popup-content__content-wrapper > div {
  width: 440px !important;
  max-width: 92vw !important;
  margin: 10px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Popup card — match #Newsletter_MG */
.edrone-onsite-popup-content__content-wrapper > div > div {
  background-color: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14) !important;
  overflow: hidden !important;
}

.edrone-onsite-popup-content__content-wrapper form > div[style*="padding"],
.edrone-onsite-popup-elements-wrapper {
  padding: 28px 24px !important;
  background: #fff !important;
}

.edrone-onsite-popup-content__content-wrapper [style*="padding: 36px"] {
  padding: 28px 24px !important;
}

/* Logo */
.edrone-onsite-popup-content__content-wrapper .edrone-onsite-image {
  max-width: 160px !important;
  height: auto !important;
  margin: 0 auto !important;
}

/* Title + subtitle */
.edrone-onsite-popup-content__content-wrapper .edrone-onsite-popup-content-text {
  padding: 8px 0 0 !important;
  background: transparent !important;
}

.edrone-onsite-popup-content__content-wrapper .edrone-onsite-popup-content-text__text-container {
  padding: 0 !important;
  border: none !important;
  margin: 0 !important;
}

.edrone-onsite-popup-content__content-wrapper .element-id-2 .edrone-onsite-popup-content-text__text-container p,
.edrone-onsite-popup-content__content-wrapper .element-id-2 .edrone-onsite-popup-content-text__text-container span,
.edrone-onsite-popup-content__content-wrapper .element-id-2 .edrone-onsite-popup-content-text__text-container strong {
  font-family: var(--font-sans) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--brand-color-ink) !important;
  line-height: 1.25 !important;
}

.edrone-onsite-popup-content__content-wrapper .element-id-3 .edrone-onsite-popup-content-text__text-container p,
.edrone-onsite-popup-content__content-wrapper .element-id-3 .edrone-onsite-popup-content-text__text-container span {
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--header-muted, #6b6b6b) !important;
  line-height: 1.45 !important;
}

.edrone-onsite-popup-content__content-wrapper .element-id-3 br {
  display: none !important;
}

/* Inputs — same language as newsletter float fields */
.edrone-onsite-popup-content__content-wrapper .edrone-onsite-input-wrapper {
  margin: 0 0 10px !important;
}

.edrone-onsite-popup-content__content-wrapper .edrone-onsite-input,
.edrone-onsite-popup-content__content-wrapper input.edrone-onsite-input {
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  box-sizing: border-box !important;
  padding: 16px 14px !important;
  text-align: left !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  -webkit-text-fill-color: var(--brand-color-ink) !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  outline: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.edrone-onsite-popup-content__content-wrapper .edrone-onsite-input:focus,
.edrone-onsite-popup-content__content-wrapper input.edrone-onsite-input:focus {
  border-color: var(--brand-color-ink) !important;
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.12) !important;
}

.edrone-onsite-popup-content__content-wrapper .edrone-onsite-input::placeholder {
  color: var(--header-muted, #6b6b6b) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--header-muted, #6b6b6b) !important;
}

/* Privacy link */
.edrone-onsite-popup-content__content-wrapper .element-id-8 .edrone-onsite-popup-content-text__text-container a,
.edrone-onsite-popup-content__content-wrapper .element-id-8 span {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
  text-underline-offset: 2px !important;
}

.edrone-onsite-popup-content__content-wrapper .element-id-8 a:hover,
.edrone-onsite-popup-content__content-wrapper .element-id-8 a:hover span {
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
}

/* CTA — jak buy button: brand + biały, hover ink + biały */
.edrone-onsite-popup-content__content-wrapper .edrone-onsite-popup-content-button-wrapper {
  padding: 8px 0 0 !important;
  background: transparent !important;
}

.edrone-onsite-popup-content__content-wrapper .edrone-onsite-popup-content-button,
.edrone-onsite-popup-content__content-wrapper button.edrone-onsite-popup-content-button {
  width: 100% !important;
  min-height: 48px !important;
  padding: 12px 18px !important;
  margin: 0 !important;
  border: 1px solid var(--brand-color) !important;
  border-radius: 8px !important;
  background: var(--brand-color) !important;
  background-color: var(--brand-color) !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

.edrone-onsite-popup-content__content-wrapper .edrone-onsite-popup-content-button p,
.edrone-onsite-popup-content__content-wrapper .edrone-onsite-popup-content-button span {
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.edrone-onsite-popup-content__content-wrapper .edrone-onsite-popup-content-button:hover,
.edrone-onsite-popup-content__content-wrapper .edrone-onsite-popup-content-button:focus-visible {
  background: var(--brand-color-ink) !important;
  background-color: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
  outline: none !important;
}

.edrone-onsite-popup-content__content-wrapper .edrone-onsite-popup-content-button:hover p,
.edrone-onsite-popup-content__content-wrapper .edrone-onsite-popup-content-button:hover span,
.edrone-onsite-popup-content__content-wrapper .edrone-onsite-popup-content-button:focus-visible p,
.edrone-onsite-popup-content__content-wrapper .edrone-onsite-popup-content-button:focus-visible span {
  color: #fff !important;
}

/* Close — same language as modal-close */
.edrone-onsite-popup-close-btn {
  top: 10px !important;
  right: 10px !important;
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  background: #fff !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

.edrone-onsite-popup-close-btn:hover,
.edrone-onsite-popup-close-btn:focus-visible {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--header-border) !important;
  outline: none !important;
}

.edrone-onsite-popup-close-btn svg {
  width: 18px !important;
  height: 18px !important;
}

.edrone-onsite-popup-close-btn svg path {
  fill: var(--brand-color-ink) !important;
}

@media (max-width: 767px) {
  .edrone-onsite-popup-content__content-wrapper > div {
    width: 92vw !important;
    max-width: 92vw !important;
    margin: 8px !important;
  }

  .edrone-onsite-popup-content__content-wrapper [style*="padding: 36px"] {
    padding: 22px 16px !important;
  }

  .edrone-onsite-popup-content__content-wrapper .element-id-2 .edrone-onsite-popup-content-text__text-container span,
  .edrone-onsite-popup-content__content-wrapper .element-id-2 .edrone-onsite-popup-content-text__text-container strong {
    font-size: 20px !important;
  }
}

/* Formularz Newsletter */
:root {
    --edrone-primary: #1a1a1a;
    --edrone-accent: #0b8925;
    --edrone-background: #ffffff;
    --edrone-border: #e8e8e8;
    --edrone-text-light: #fff;
    --edrone-text-dark: #1a1a1a;
    --edrone-success: #0b8925;
    --edrone-success-dark: #1a1a1a;
}

.edrone-form-container {
    background-color: var(--edrone-background);
    padding: 25px 30px;
    border: 1px solid var(--edrone-border);
    border-radius: 12px;
    text-align: center;
    max-width: 600px;
    margin: 20px auto;
    position: relative;
    box-shadow: none;
}

.edrone-form-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 5px 0; 
    color: var(--edrone-text-dark);
}

.edrone-form-subtitle {
    font-size: 16px; 
    color: #666; 
    margin: 0 0 20px 0; 
    line-height: 1.4;
}

.edrone-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edrone-form-input {
    padding: 12px 15px;
    border: 1px solid var(--edrone-border);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.edrone-form-input:focus {
    outline: none;
    border-color: var(--brand-color-ink);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.12);
}

.edrone-form-button {
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: var(--brand-color);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

body.shop_index .edrone-form-button {
  background: var(--brand-color) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  border: 1px solid var(--brand-color) !important;
}

/* Newsletter privacy â same as footer links */
.edrone-privacy-policy,
body.shop_index .edrone-privacy-policy {
  font-size: 13px !important;
  margin-top: 8px !important;
  text-align: center !important;
  font-family: var(--font-sans) !important;
}

.edrone-privacy-policy a,
body.shop_index .edrone-privacy-policy a {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  text-decoration: none !important;
  line-height: 1.7;
}

.edrone-privacy-policy a:hover,
body.shop_index .edrone-privacy-policy a:hover {
  color: var(--brand-color-ink) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
  text-underline-offset: 2px;
}

.edrone-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.edrone-modal-content {
    background-color: var(--edrone-background);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    animation: slideIn 0.3s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.edrone-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: color 0.2s;
}
.edrone-modal-close:hover {
    color: var(--edrone-primary);
}

.edrone-coupon-main-title {
    font-size: 24px;
    font-weight: 600;
    margin: 15px 0 0;
    color: var(--edrone-text-dark);
}

.edrone-coupon-divider {
    border: none;
    border-top: 1px solid var(--edrone-border);
    width: 80%;
    margin: 20px 0;
}

.edrone-coupon-text-info {
    font-size: 18px;
    color: var(--edrone-text-dark);
    margin: 0;
}

.edrone-coupon-code-box {
    display: flex;
    align-items: stretch;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.edrone-coupon-code-value {
    background-color: var(--edrone-success);
    color: var(--edrone-text-light);
    padding: 12px 20px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edrone-copy-coupon-button {
    background-color: var(--edrone-success-dark);
    color: var(--edrone-text-light);
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s;
    white-space: nowrap;
}
.edrone-copy-coupon-button:hover {
    background-color: #1e7e34;
}

.edrone-modal-closing {
    animation: fadeOut 0.3s forwards;
}

.edrone-modal-content-closing {
    animation: slideOut 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideIn {
    from { transform: translateY(-50px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateY(0) scale(1); opacity: 1; }
    to { transform: translateY(-50px) scale(0.9); opacity: 0; }
}
  
  .edrone-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 100px);
    background-color: var(--edrone-primary);
    color: var(--edrone-text-light);
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10001; 
    font-size: 15px;
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.edrone-toast.error {
    background-color: #d32f2f;
}

.edrone-toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}
  
#category_627, #category_792, #category_793 {
  display: none;
}
  
  .shop-gallery-inner {
    border: none !important;
  }
  
  .maxsote_app_wstazka {
    /* styles in MS promo block below */
  }

  
  
  
  .f-grid-12.img-wrap img,
  .boximgsize img {
    width: 100% !important;
    height: 100% !important;
  }
  
  
  
 .basket-product-list li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #eee !important;
}

.basket-product-list li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.basket-product-list li > img {
    width: 75px !important;
    height: 75px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    margin-right: 15px !important;
}

.basket-product-list li .mod_basket_prod_name {
    flex-grow: 1 !important;
    padding-right: 15px !important;
}

.basket-product-list li .product-info {
    flex-shrink: 0 !important;
    text-align: right;
    min-width: 80px;
}

.basket-product-list li .remove-product {
    flex-shrink: 0 !important;
    margin-left: 15px !important;
}

.basket-products {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 10px;
}
  
  .search__result-icon {
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0 !important;
}

.search__result-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
  

.row:has(> .availability):has(> .delivery) {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
}

.row:has(> .availability):has(> .delivery) > div {
    white-space: nowrap !important; 
}
  
a.btn.large.tablet.quickview {
  display: none !important;
}
  
 /* Accessability widget */
  .asw-widget,.asw-menu{
  }
  
 .row > .availability + .delivery {
    display: none;
}
  
.productlist .time {
    display: none;
}
  

.active-step {
  font-weight: 700 !important;
  color: #000 !important;
padding-bottom: 4px;
  border-bottom: 2px solid #bfb6a7;
}

/* MS checkout steps — kill legacy .active-step underline */
.basket-steps.ms-basket-steps ol li.active-step {
  padding-bottom: 0 !important;
  border-bottom: none !important;
  color: inherit !important;
}

li#category_789 { display: none; }



 /* === MEGASAM24 WELCOME LANDING PAGE === */
.ms-hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ms-hero-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.ms-hero-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 100%);
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 24px;
}
.ms-hero-top a {
  display: block;
  line-height: 0;
}
.ms-hero-logo {
  height: 64px;
  width: auto;
  display: block;
}
.ms-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}
.ms-coupon-wrap {
  display: flex;
  align-items: stretch;
  max-width: 500px;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 24px 72px rgba(0,0,0,0.55);
  transform: translateX(-18px);
}
.ms-coupon-left {
  background: #E8001D;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  border-radius: 16px 0 0 16px;
}
.ms-coupon-percent {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 1;
  color: #ffffff;
}
.ms-coupon-off {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ms-coupon-right {
  background: #ffffff;
  padding: 24px 24px 24px 28px;
  flex: 1;
  border-radius: 0 16px 16px 0;
  position: relative;
}
.ms-coupon-right::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 14px solid #E8001D;
}
.ms-coupon-welcome {
  font-size: 0.82rem;
  color: #888888;
  line-height: 1.55;
  margin-bottom: 14px;
}
.ms-coupon-welcome strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #111111;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ms-coupon-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #aaaaaa;
  font-weight: 700;
  margin-bottom: 6px;
}
.ms-coupon-code {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: #E8001D;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 16px;
}
.ms-coupon-btn {
  display: inline-block;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 8px;
}
.ms-strip {
  background: #111111;
  overflow: hidden;
  border-top: 2px solid #222222;
  border-bottom: 2px solid #222222;
}
.ms-strip-inner {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
}
.ms-strip-items {
  display: flex;
  flex-shrink: 0;
  animation: ms-marquee 36s linear infinite;
}
.ms-strip-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #EEEEEE;
  display: inline-flex;
  align-items: center;
  padding: 0 36px;
  flex-shrink: 0;
}
.ms-strip-item::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #E8001D;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}
@keyframes ms-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ms-categories {
  background: #111111;
  padding: 0;
}
.ms-categories-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}
.ms-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #555555;
  margin-bottom: 6px;
}
.ms-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 36px;
}
.ms-accent { color: #E8001D; }
.ms-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ms-cat-card {
  border-radius: 14px;
  overflow: hidden;
  background: #1A1A1A;
  border: 1.5px solid #2a2a2a;
}
.ms-cat-img-wrap {
  width: 100%;
  line-height: 0;
}
.ms-cat-img-wrap a {
  display: block;
  line-height: 0;
}
.ms-cat-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.ms-cat-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  text-transform: uppercase;
  padding: 10px 8px 12px;
  color: #ffffff;
}
.ms-cat-name a {
  color: #ffffff;
  text-decoration: none;
}
.ms-features {
  background: #EEEEEE;
  overflow: hidden;
  display: block;
  width: 100%;
  clear: both;
}
.ms-features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
  overflow: hidden;
}
.ms-features-grid {
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}
.ms-feature-wrap {
  display: block;
  width: 100%;
  margin-bottom: 24px;
  margin-left: 0;
  margin-right: 0;
  border-radius: 14px;
  overflow: hidden;
  clear: both;
}
.ms-feature-wrap:last-child {
  margin-bottom: 0;
}
.ms-feature-card {
  display: block;
  text-decoration: none;
  line-height: 0;
  width: 100%;
}
.ms-feature-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.ms-card-body {
  background: #111111;
  padding: 20px 24px 28px;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.ms-card-label {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.ms-label-red { background: #E8001D; color: #ffffff; }
.ms-label-dark { background: #333333; color: #ffffff; border: 1px solid rgba(255,255,255,0.15); }
.ms-label-light { background: #EEEEEE; color: #111111; }
.ms-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ms-card-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  line-height: 1.55;
}
.ms-card-link {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.2);
}
.ms-why {
  background: #ffffff;
  display: block;
  width: 100%;
  clear: both;
}
.ms-why-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
}
.ms-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.ms-why-card {
  background: #EEEEEE;
  border-radius: 14px;
  padding: 32px 24px;
  border-left: 4px solid #E8001D;
}
.ms-why-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}
.ms-why-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #111111;
}
.ms-why-desc {
  font-size: 0.88rem;
  color: #666666;
  line-height: 1.65;
}
.ms-recall {
  background: #111111;
  display: block;
  width: 100%;
  clear: both;
}
.ms-recall-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ms-recall-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 16px;
}
.ms-recall-title em {
  font-style: normal;
  color: #E8001D;
}
.ms-recall-p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 28px;
}
.ms-recall-code-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaaaaa;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.ms-recall-code {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  letter-spacing: 5px;
  color: #EEEEEE;
  background: rgba(255,255,255,0.06);
  border: 2px dashed #444444;
  padding: 14px 28px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 10px;
}
.ms-recall-save {
  font-size: 0.78rem;
  color: #888888;
  margin-bottom: 28px;
  display: block;
}
.ms-recall-cta {
  display: inline-block;
  background: #E8001D;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 10px;
}
.ms-recall-visual {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.ms-recall-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 400px;
}

@media (max-width: 768px) {
  .ms-hero {
    min-height: 100svh;
    align-items: flex-end;
  }
  .ms-hero-content {
    padding: 24px 16px 40px;
  }
  .ms-hero-top {
    height: 120px;
    padding-top: 16px;
  }
  .ms-hero-logo {
    height: 44px;
  }
  .ms-coupon-wrap {
    transform: none;
    max-width: 100%;
    flex-direction: column;
    border-radius: 12px;
  }
  .ms-coupon-left {
    border-radius: 12px 12px 0 0;
    min-width: unset;
    padding: 16px 24px;
    flex-direction: row;
    gap: 10px;
  }
  .ms-coupon-percent {
    font-size: 2rem;
  }
  .ms-coupon-off {
    font-size: 0.85rem;
  }
  .ms-coupon-right {
    border-radius: 0 0 12px 12px;
    padding: 16px 18px;
  }
  .ms-coupon-right::before {
    display: none;
  }
  .ms-coupon-welcome {
    font-size: 0.78rem;
  }
  .ms-coupon-code {
    font-size: 1.6rem;
  }
  .ms-coupon-btn {
    font-size: 0.85rem;
    padding: 9px 18px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .ms-strip-item {
    font-size: 0.78rem;
    padding: 0 20px;
    letter-spacing: 1px;
  }

  .ms-categories-inner {
    padding: 40px 12px;
  }
  .ms-section-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  .ms-cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .ms-cat-name {
    font-size: 0.72rem;
    padding: 7px 4px 9px;
  }

  .ms-features-inner {
    padding: 40px 12px;
  }
  .ms-feature-card img {
    height: 200px;
  }
  .ms-card-body {
    padding: 16px 16px 22px;
  }
  .ms-card-title {
    font-size: 1.4rem;
  }
  .ms-card-desc {
    font-size: 0.82rem;
  }
  .ms-card-label {
    font-size: 0.65rem;
  }
  .ms-feature-wrap {
    margin-bottom: 16px;
  }

  .ms-why-inner {
    padding: 40px 12px;
  }
  .ms-why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ms-why-card {
    padding: 22px 18px;
  }
  .ms-why-title {
    font-size: 1rem;
  }
  .ms-why-desc {
    font-size: 0.82rem;
  }

  .ms-recall-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 40px 12px;
  }
  .ms-recall-inner > div:first-child {
    order: 2;
    padding-top: 24px;
  }
  .ms-recall-visual {
    order: 1;
  }
  .ms-recall-visual img {
    max-height: 220px;
  }
  .ms-recall-title {
    font-size: 1.6rem;
  }
  .ms-recall-code {
    font-size: 1.8rem;
    letter-spacing: 3px;
    padding: 10px 18px;
  }
  .ms-recall-cta {
    font-size: 0.9rem;
    padding: 12px 24px;
    display: block;
    text-align: center;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .ms-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .ms-hero-content {
    padding: 20px 12px 32px;
  }
  .ms-categories-inner,
  .ms-features-inner,
  .ms-why-inner,
  .ms-recall-inner {
    padding-left: 10px;
    padding-right: 10px;
  }
  .ms-section-title {
    font-size: 1.4rem;
  }
}

.payment:has(input[disabled]) {
    cursor: not-allowed;
}

.payment:has(input[disabled]) * {
    pointer-events: none;
}
  
  
.product[data-product-id="106585"],
.product[data-product-id="106586"],
.product[data-product-id="106587"] {
    display: none !important;
}

/* === MS Header refresh === */

header.ms-header,
.rwd header.ms-header,
.rwd.wrap header.row.ms-header {
  background: #fff !important;
  background-image: none !important;
  border-top: none !important;
  padding: 0 !important;
  margin: 0;
}

.ms-topbar {
  width: 100%;
  background: var(--brand-color);
  border-bottom: 1px solid var(--brand-color);
  font-size: 13px;
  line-height: 1.3;
}

.ms-topbar-inner.container,
.ms-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding-top: 5px;
  padding-bottom: 5px;
  box-sizing: border-box;
  max-width: 1180px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.ms-topbar-left,
.ms-topbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.ms-topbar-left {
  justify-content: flex-start;
  margin-right: auto;
  text-align: left;
}

.ms-topbar-right {
  justify-content: flex-end;
  margin-left: auto;
  text-align: right;
}

.ms-topbar-link,
.ms-topbar-delivery {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}

.ms-topbar-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ms-topbar-link .fa,
.ms-topbar-delivery .fa {
  font-size: 13px;
  color: #fff;
}

.ms-topbar-delivery {
  color: #fff;
  font-weight: 600;
}

.ms-topbar-delivery .fa {
  color: #fff;
}

.ms-topbar-delivery:hover {
  color: #fff;
}

@media (min-width: 999px) {
  header.ms-header .login-bar {
    display: none !important;
  }
}

/* Main header row â keep .container viewport (1180px) */
.ms-header-main.logo-bar,
header.ms-header .logo-bar.ms-header-main {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  float: none !important;
  width: 100%;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-height: 72px;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  box-sizing: border-box;
  position: relative;
  overflow: visible !important;
  z-index: 1005;
}

header.ms-header {
  overflow: visible !important;
}

header.ms-header .logo-bar .link-logo,
header.ms-header .logo-bar .link-logo-img {
  float: none !important;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0 !important;
  max-width: 200px;
}

header.ms-header .logo-bar .link-logo img {
  max-height: 48px;
  width: auto;
  height: auto;
}

header.ms-header .logo-bar .top-contact-info,
header.ms-header #margin-custom_ {
  display: none !important;
}

/* Search */
header.ms-header .ms-header-main .search__container,
header.ms-header .ms-header-main .search-form {
  float: none !important;
  flex: 1 1 auto;
  width: auto !important;
  max-width: 560px;
  margin: 0 auto !important;
  position: relative;
  overflow: visible !important;
  z-index: 1100;
}

/* Kill L->R underline animation on search (skin .search-form:after) */
header.ms-header .search-form::after,
header.ms-header .search.search-form::after,
header.ms-header .search__container .search-form::after,
header.ms-header .ms-header-main .search-form:hover::after,
header.ms-header .search-form:hover::after,
header.ms-header .search-form:focus-within::after,
header.ms-header .search_focused::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  opacity: 0 !important;
  transition: none !important;
}

/* Pill only on the input row â NOT on whole form (that clipped suggestions) */
header.ms-header .search-form,
header.ms-header .search.search-form {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  box-shadow: none !important;
}

header.ms-header .search__input-area,
header.ms-header .search.search-form .search__input-area,
header.ms-header .js__search .search__input-area {
  border: 1px solid #cfcfcf !important;
  border-right: 1px solid #cfcfcf !important;
  border-radius: 8px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: none !important;
  padding-right: 0 !important;
}

header.ms-header .search__input-area > .search__input-area-item:last-child {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: stretch !important;
  align-self: stretch !important;
  flex: 0 0 auto !important;
}

header.ms-header .search__btn-search,
header.ms-header .search-form .search-btn,
header.ms-header .search-form .btn-red {
  background: var(--brand-color) !important;
  background-color: var(--brand-color) !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 48px !important;
  width: 48px !important;
  height: 42px !important;
  min-height: 42px !important;
  border-radius: 0 8px 8px 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: none !important;
}

header.ms-header .search__btn-search:hover,
header.ms-header .search-form .search-btn:hover,
header.ms-header .search__btn-search:focus,
header.ms-header .search__btn-search:active {
  color: #fff !important;
  background: var(--brand-color-ink) !important;
  background-color: var(--brand-color-ink) !important;
  transition: none !important;
}

header.ms-header .search__icon_size-l,
header.ms-header .search__btn-search .fa-search,
header.ms-header .search__btn-search .fa-search::before,
header.ms-header .search__icon_size-l::before {
  font-size: 15px !important;
  color: #fff !important;
}

header.ms-header .search_focused .search__input-area,
header.ms-header .search.search-form.search_focused .search__input-area,
header.ms-header .search__input:focus {
  border-color: #b0b0b0 !important;
  outline: none !important;
  box-shadow: none !important;
}

header.ms-header .search__input,
header.ms-header .search-form .search-input {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  font-size: 14px;
  color: var(--brand-color-ink);
}

/* Suggestions dropdown under search â hide empty floating shell */
header.ms-header .search__content {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 8px) !important;
  z-index: 1200 !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden;
  font-family: var(--font-sans);
  display: none;
}

header.ms-header .search_open .search__content:not(:empty),
header.ms-header .search.search_open .search__content:not(:empty) {
  display: block !important;
}

header.ms-header .search_open-empty .search__content,
header.ms-header .search.search_open-empty .search__content,
header.ms-header .search__content:empty {
  display: none !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Account + basket */
.ms-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
  flex: 0 0 auto;
  position: relative;
}

.ms-account {
  flex: 0 0 auto;
  order: -1;
  display: flex;
  align-items: center;
  height: 40px;
}

.ms-account-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--brand-color-ink);
  line-height: 1.2;
}

.ms-account-link:hover {
  text-decoration: none;
  color: var(--brand-color-ink);
}

.ms-account-link > .fa {
  font-size: 20px;
  line-height: 1;
  width: 22px;
  text-align: center;
  color: var(--brand-color);
  flex-shrink: 0;
}

.ms-account-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.ms-account-text strong {
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  line-height: 1.2;
}

.ms-account-text em {
  font-style: normal;
  font-size: 12px;
  color: var(--header-muted);
  font-weight: 400;
  line-height: 1.2;
}

header.ms-header .ms-header-actions .basket {
  float: none !important;
  position: relative;
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  width: auto !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  line-height: 1.2 !important;
  order: 1;
}

header.ms-header .ms-header-actions .basket > a.count {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
  background: none !important;
  border: none !important;
  text-decoration: none;
  color: var(--brand-color-ink);
  position: relative;
}

header.ms-header .ms-header-actions .basket > a.count > img.px1 {
  display: none !important;
}

header.ms-header .ms-header-actions .basket > a.count::before {
  content: "\f07a";
  font-family: FontAwesome;
  font-size: 20px;
  line-height: 1 !important;
  width: 22px;
  text-align: center;
  color: var(--brand-color);
  background: none !important;
  background-image: none !important;
  height: auto;
  margin: 0;
  padding: 0;
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: inline-block;
  flex-shrink: 0;
}

header.ms-header .ms-header-actions .basket > a.count[data-basket-count]::after {
  content: attr(data-basket-count);
  position: absolute;
  left: 12px;
  top: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--brand-color);
  color: #fff;
  border: none;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
}

header.ms-header .ms-header-actions .basket > a.count[data-basket-count="0"]::after,
header.ms-header .ms-header-actions .basket.empty-basket > a.count::after {
  display: none;
}

header.ms-header .ms-header-actions .basket > a.count .countlabel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  line-height: 1.2 !important;
  padding: 0;
  background: none;
  height: auto;
}

header.ms-header .ms-header-actions .basket .ms-basket-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--brand-color-ink);
  line-height: 1.2;
}

header.ms-header .ms-header-actions .basket .countlabel > b,
header.ms-header .ms-header-actions .basket .countlabel .sum,
header.ms-header .ms-header-actions .basket .countlabel .count {
  font-size: 12px;
  font-weight: 400;
  color: var(--header-muted);
  line-height: 1.2;
  display: block;
}

header.ms-header .ms-header-actions .basket .countlabel .count {
  display: none !important;
}

/* Pure CSS hover â skin JS slideUp kills the gap otherwise */
header.ms-header .ms-header-actions .basket-contain {
  position: absolute !important;
  right: 0 !important;
  left: auto !important;
  top: calc(100% - 4px) !important;
  z-index: 1100 !important;
  order: 1;
  float: none !important;
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none;
  overflow: visible !important;
  font-family: var(--font-sans);
  color: var(--brand-color-ink);
  height: auto !important;
  max-height: none !important;
  padding-top: 16px !important;
  margin: 0 !important;
  display: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

header.ms-header .ms-header-actions .basket:hover + .basket-contain:has(.basket-product-list li),
header.ms-header .ms-header-actions .basket-contain:has(.basket-product-list li):hover {
  display: block !important;
}

header.ms-header .ms-header-actions .basket-contain::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

header.ms-header .ms-header-actions .basket-contain .ms-basket-preview-panel {
  background: #fff;
  border: 1px solid var(--header-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.ms-basket-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--header-border);
  background: #fff;
}

.ms-basket-preview-head strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-color-ink);
  line-height: 1.2;
}

.ms-basket-preview-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--brand-color);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}

header.ms-header .ms-header-actions .basket-contain .basket-products {
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0;
  margin: 0;
  border: none !important;
  background: #fff;
}

header.ms-header .ms-header-actions .basket-contain .basket-product-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

header.ms-header .ms-header-actions .basket-contain .basket-product-list li {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px;
  margin: 0 !important;
  padding: 10px 16px !important;
  border-bottom: 1px solid var(--header-border) !important;
  position: relative;
}

header.ms-header .ms-header-actions .basket-contain .basket-product-list li:last-child {
  border-bottom: none !important;
  margin-bottom: 0 !important;
}

header.ms-header .ms-header-actions .basket-contain .ms-basket-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border: 1px solid var(--header-border);
  border-radius: 8px;
  background: #fafafa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

header.ms-header .ms-header-actions .basket-contain .ms-basket-thumb img,
header.ms-header .ms-header-actions .basket-contain .basket-product-list li > img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain !important;
  margin: 0 !important;
  display: block;
  pointer-events: none;
}

header.ms-header .ms-header-actions .basket-contain .product-name {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3;
  width: auto !important;
  max-width: 100%;
  max-height: calc(13px * 1.35 * 3);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--brand-color-ink);
  text-decoration: none;
  vertical-align: top;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

header.ms-header .ms-header-actions .basket-contain .ms-basket-item-body {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 0;
  overflow: hidden;
}

header.ms-header .ms-header-actions .basket-contain .product-name:hover {
  color: var(--brand-color-ink);
  text-decoration: underline;
}

header.ms-header .ms-header-actions .basket-contain .product-variant {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--header-muted);
}

header.ms-header .ms-header-actions .basket-contain .product-info {
  display: flex !important;
  align-items: center;
  gap: 4px;
  width: auto !important;
  padding: 0 !important;
  text-align: left !important;
  font-size: 12px;
  font-weight: 500 !important;
  color: var(--header-muted);
  line-height: 1.3;
}

header.ms-header .ms-header-actions .basket-contain .product-price {
  color: var(--brand-color-ink);
  font-weight: 600;
}

header.ms-header .ms-header-actions .basket-contain .ms-basket-times {
  color: var(--header-muted);
}

header.ms-header .ms-header-actions .basket-contain .remove-product {
  position: static !important;
  right: auto;
  top: auto;
  margin: 0 0 0 auto !important;
  font-size: 14px !important;
  line-height: 1;
  flex: 0 0 auto;
  align-self: center;
}

header.ms-header .ms-header-actions .basket-contain .remove-product a,
header.ms-header .ms-header-actions .basket-contain .ms-basket-remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--header-muted) !important;
  text-decoration: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
  white-space: nowrap;
  background: transparent;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

header.ms-header .ms-header-actions .basket-contain .remove-product a::before,
header.ms-header .ms-header-actions .basket-contain .ms-basket-remove::before {
  content: "\f014";
  font-family: FontAwesome;
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  speak: none;
  -webkit-font-smoothing: antialiased;
}

header.ms-header .ms-header-actions .basket-contain .ms-basket-remove .fa {
  display: none;
}

header.ms-header .ms-header-actions .basket-contain .remove-product a:hover,
header.ms-header .ms-header-actions .basket-contain .ms-basket-remove:hover {
  background: var(--brand-color) !important;
  border-color: var(--brand-color) !important;
  color: #fff !important;
  text-decoration: none !important;
  transform: scale(1.08);
}

header.ms-header .ms-header-actions .basket-contain .basket-summery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px 16px !important;
  background: var(--header-bg-soft) !important;
  color: var(--brand-color-ink) !important;
  border-top: 1px solid var(--header-border);
}

header.ms-header .ms-header-actions .basket-contain .basket-summery .basket-price {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  width: 100% !important;
  max-width: none !important;
  text-align: left !important;
  font-size: 13px !important;
  vertical-align: top;
}

header.ms-header .ms-header-actions .basket-contain .basket-summery .price-total,
header.ms-header .ms-header-actions .basket-contain .basket-summery .price-total-discount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

header.ms-header .ms-header-actions .basket-contain .basket-summery .price-total > span,
header.ms-header .ms-header-actions .basket-contain .basket-summery .price-total-discount > span {
  color: var(--header-muted);
  font-weight: 500;
  font-size: 13px;
}

header.ms-header .ms-header-actions .basket-contain .basket-summery .price-products,
header.ms-header .ms-header-actions .basket-contain .basket-summery .price-total {
  color: var(--brand-color-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

header.ms-header .ms-header-actions .basket-contain .basket-summery .price-total-discount .price-total {
  color: var(--brand-color-ink);
}

header.ms-header .ms-header-actions .basket-contain .ms-basket-checkout,
header.ms-header .ms-header-actions .basket-contain .basket-summery a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  border: 1px solid var(--brand-color) !important;
  background: var(--brand-color) !important;
  background-color: var(--brand-color) !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  vertical-align: middle;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease !important;
}

header.ms-header .ms-header-actions .basket-contain .ms-basket-checkout:hover,
header.ms-header .ms-header-actions .basket-contain .basket-summery a:hover {
  background: var(--brand-color-ink) !important;
  background-color: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
  text-decoration: none !important;
}

.ms-header-actions::before {
  content: "";
  width: 1px;
  height: 28px;
  background: var(--header-border);
  flex: 0 0 auto;
  align-self: center;
  order: 0;
  margin: 0 -2px;
}

/* === MS Menu (compact) === */

.menu.row {
  background: #fff;
  border-top: 1px solid var(--header-border);
  margin-bottom: 12px;
  box-shadow: none;
}

.menu .innermenu.container,
.menu .innermenu {
  background: #fff !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0;
  padding: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1180px !important;
  width: 100%;
  overflow: visible !important;
  line-height: normal !important;
}

.menu-list.large.standard {
  justify-content: flex-start !important;
  align-items: flex-start !important;
  align-content: flex-start !important;
  gap: 0 !important;
  row-gap: 0 !important;
  min-height: 0;
  overflow: visible !important;
  height: auto !important;
  border-bottom: none !important;
  line-height: 1.2 !important;
}

.menu-list.large.standard > li {
  float: none !important;
  position: relative;
  line-height: 1.2 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* kill skin hover bridge that creates a huge empty gap under categories */
.menu .innermenu .menu-list.large.standard > li.parent:hover::after,
.menu .innermenu .menu-list.large.standard > li.parent.opened::after {
  content: none !important;
  display: none !important;
  height: 0 !important;
}

.menu .innermenu .menu-list.large.standard > li > .submenu {
  position: absolute !important;
  left: 0 !important;
  top: 100% !important;
  width: auto !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  z-index: 1200;
}

.menu .innermenu .menu-list.large.standard > li > h3 {
  margin: 0 !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2 !important;
}

.menu .innermenu .menu-list.large.standard > li > h3 > a.mainlevel {
  display: inline-flex;
  align-items: center;
  padding: 8px 9px !important;
  color: var(--brand-color-ink);
  text-transform: none !important;
  font-weight: 600;
  letter-spacing: 0;
  border-bottom: none !important;
  transition: none !important;
  position: relative;
  line-height: 1.2 !important;
}

/* no L->R underline on menu links */
.menu .innermenu .menu-list a::after,
.menu .innermenu .menu-list.large.standard > li > h3 > a.mainlevel::after,
.menu .innermenu .menu-list.large.standard > li > h3 > a.mainlevel:hover::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  background: none !important;
  transition: none !important;
}

.menu .innermenu .menu-list.large.standard > li > h3 > a.mainlevel:hover,
.menu .innermenu .menu-list.large.standard > li.current > h3 > a.mainlevel,
.menu .innermenu .menu-list.large.standard > li.parent:hover > h3 > a.mainlevel {
  color: var(--brand-color-ink);
  text-decoration: none;
}

.menu .innermenu .menu-list.large.standard > li > h3 > a.mainlevel:hover span,
.menu .innermenu .menu-list.large.standard > li.current > h3 > a.mainlevel span {
  box-shadow: inset 0 -2px 0 var(--brand-color);
}

/* Top-level dropdown â flush under category, easy to enter with cursor */
.menu .innermenu .menu-list.large.standard > li.parent:hover > .submenu > ul,
.menu .innermenu .menu-list.large.standard > li.parent.opened > .submenu > ul {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: auto !important;
  min-width: 240px !important;
  z-index: 1200 !important;
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  line-height: 1.3 !important;
  font-family: var(--font-sans) !important;
}

/* invisible hover bridge so cursor doesn't lose the menu (L2 only) */
.menu .innermenu .menu-list.large.standard > li.parent:hover > .submenu > ul::before,
.menu .innermenu .menu-list.large.standard > li.parent.opened > .submenu > ul::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: -8px !important;
  height: 8px !important;
  width: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
  -webkit-transform: none !important;
}

/* Kill skin caret/triangle on L3+ side flyouts (rotated square ::before) */
.menu .innermenu .menu-list li.parent .submenu .parent > .submenu > ul::before,
.menu .innermenu .menu-list li.parent .submenu .parent:hover > .submenu > ul::before,
.menu .innermenu .menu-list li.parent .submenu .parent:focus-within > .submenu > ul::before,
.menu .innermenu .menu-list .parent .parent > div > ul::before,
.menu .innermenu .menu-list .parent .parent:hover > div > ul::before,
.menu .innermenu .menu-list .parent .parent:focus-within > div > ul::before,
.menu .innermenu .menu-list .submenu .submenu ul::before {
  content: none !important;
  display: none !important;
  border: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
  transform: none !important;
  -webkit-transform: none !important;
}

.menu .innermenu .menu-list.large.standard > li.parent:hover > .submenu > ul > li:first-child,
.menu .innermenu .menu-list.large.standard > li.parent.opened > .submenu > ul > li:first-child,
.menu .innermenu .menu-list .submenu ul > li:first-child {
  margin-top: 0 !important;
}

.menu .innermenu .menu-list.large.standard > li.parent:hover > .submenu > ul > li:last-child,
.menu .innermenu .menu-list.large.standard > li.parent.opened > .submenu > ul > li:last-child,
.menu .innermenu .menu-list .submenu ul > li:last-child {
  margin-bottom: 0 !important;
}

/* Nested levels: keep overflow visible so L3+ can show */
.menu .innermenu .menu-list li ul,
.menu .innermenu .menu-list .submenu,
.menu .innermenu .menu-list .submenu ul {
  overflow: visible !important;
}

.menu .innermenu .menu-list .submenu ul {
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  min-width: 220px;
  padding: 8px 0 !important;
  margin: 0 !important;
  background: #fff !important;
  font-family: var(--font-sans) !important;
}

/* L3+ side flyouts â restore skin behaviour (right: -100%) */
.menu .innermenu .menu-list li.parent .submenu .parent:hover > .submenu > ul,
.menu .innermenu .menu-list li.parent .submenu .parent:focus-within > .submenu > ul,
.menu .innermenu .menu-list .parent .parent:hover > div > ul,
.menu .innermenu .menu-list .parent .parent:focus-within > div > ul {
  display: inline-block !important;
  position: absolute !important;
  top: -1px !important;
  left: auto !important;
  right: -100% !important;
  width: 100% !important;
  min-width: 220px !important;
  min-height: 100%;
  z-index: 1210 !important;
  background: #fff !important;
  overflow: visible !important;
  padding: 8px 0 !important;
}

.menu .innermenu .menu-list li.parent .submenu .parent:hover > .submenu > ul.sub-right,
.menu .innermenu .menu-list .parent .parent:hover > div > ul.sub-right {
  right: 100% !important;
  left: auto !important;
}

/* Dropdown items â same language as #box_menu leftcol */
.menu .innermenu .menu-list .submenu ul > li,
.menu .innermenu .menu-list li ul > li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  font-family: var(--font-sans) !important;
  position: relative;
}

.menu .innermenu .menu-list li .h3-drop {
  font-size: 13.5px !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  position: relative;
  width: 100%;
}

.menu .innermenu .menu-list li .h3-drop a,
.menu .innermenu .menu-list li ul li .h3-drop a {
  display: block !important;
  text-transform: none !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  color: var(--brand-color-ink) !important;
  padding: 9px 36px 9px 16px !important;
  border: none !important;
  border-left: 3px solid transparent !important;
  border-radius: 0 !important;
  max-width: none !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  box-sizing: border-box;
}

.menu .innermenu .menu-list li .h3-drop a span,
.menu .innermenu .menu-list li ul li .h3-drop a span {
  color: inherit !important;
  font-family: inherit !important;
  box-shadow: none !important;
}

.menu .innermenu .menu-list li ul li .h3-drop a:hover,
.menu .innermenu .menu-list li .h3-drop a:hover,
.menu .innermenu .menu-list .submenu .parent:hover > .h3-drop > a,
.menu .innermenu .menu-list .submenu li:hover > .h3-drop > a {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-left-color: var(--brand-color) !important;
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
}

.menu .innermenu .menu-list .submenu ul > li.current > .h3-drop > a,
.menu .innermenu .menu-list .submenu ul > li.current_parent > .h3-drop > a {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-left-color: var(--brand-color) !important;
  font-weight: 800 !important;
}

.menu .innermenu .menu-list .submenu .k_arrow_right {
  color: var(--header-muted, #6b6b6b) !important;
  animation: none !important;
  right: 12px !important;
  font-size: 11px !important;
  margin-top: -6px !important;
}

.menu .innermenu .menu-list .submenu li:hover > .h3-drop .k_arrow_right,
.menu .innermenu .menu-list .submenu .parent:hover > .h3-drop .k_arrow_right {
  color: var(--brand-color-ink) !important;
}

.menu .innermenu .menu-list .submenu img.px1 {
  display: none !important;
}

.home-link-menu-li {
  display: none;
}

/* === MS Header / menu RWD === */

@media (max-width: 1200px) {
  .ms-topbar-inner.container,
  .ms-topbar-inner,
  header.ms-header .logo-bar.ms-header-main,
  .menu .innermenu.container,
  .menu .innermenu {
    max-width: 940px !important;
  }

  header.ms-header .ms-header-main .search__container,
  header.ms-header .ms-header-main .search-form {
    max-width: 400px;
  }

  .ms-account-text strong {
    font-size: 12px;
  }

  .ms-topbar-inner {
    gap: 10px;
  }

  .menu .innermenu .menu-list.large.standard > li > h3 > a.mainlevel {
    padding: 9px 7px !important;
  }
}

@media (max-width: 998px) {
  /* ââ Mobile header shell ââ */
  .ms-topbar {
    display: none !important;
  }

  header.ms-header .login-bar {
    display: none !important;
  }

  /* Desktop account/cart live in menu-mobile on tablet/phone â hide duplicates */
  header.ms-header .ms-header-actions {
    display: none !important;
  }

  header.ms-header,
  .rwd header.ms-header,
  .rwd.wrap header.row.ms-header {
    display: block !important;
    background: #fff !important;
    border-bottom: 1px solid var(--header-border);
    padding: 0 !important;
    margin: 0 !important;
  }

  header.ms-header .ms-header-main,
  header.ms-header .logo-bar.ms-header-main {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    min-height: 56px !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 8px 16px !important;
    box-sizing: border-box;
    float: none !important;
    width: 100% !important;
  }

  header.ms-header .logo-bar .link-logo,
  header.ms-header .logo-bar .link-logo-img {
    float: none !important;
    margin: 0 !important;
    max-width: 148px;
    flex: 0 0 auto;
  }

  header.ms-header .logo-bar .link-logo img,
  header.ms-header .logo-bar .link-logo-img img {
    max-height: 40px;
    width: auto;
  }

  /* Search: hidden by default under 998px (phone). Tablet re-enables at 768–998. */
  header.ms-header .ms-header-main .search__container,
  header.ms-header .ms-header-main .search-form,
  .rwd header.ms-header .logo-bar .search__container,
  .rwd header.ms-header .logo-bar .search {
    order: unset !important;
    flex: 0 0 auto !important;
    clear: none !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    margin: 0 !important;
    margin-top: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
    position: relative !important;
    display: none !important;
  }

  header.ms-header .ms-header-main .search__container.none,
  header.ms-header .ms-header-main .search-form.none {
    display: none !important;
  }

  /* Open: fill only remaining space next to logo — never push / overflow */
  header.ms-header .ms-header-main .search__container:has(.search_open),
  header.ms-header .ms-header-main .search.search_open,
  header.ms-header .ms-header-main .search-form.search_open {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    /* visible — dropdown results must escape the bar */
    overflow: visible !important;
    box-sizing: border-box !important;
    z-index: 1105 !important;
  }

  header.ms-header .ms-header-main .search.search_open .search__input-area,
  header.ms-header .ms-header-main .search-form.search_open .search__input-area {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  header.ms-header .ms-header-main .search.search_open .search__input,
  header.ms-header .ms-header-main .search-form.search_open .search__input {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  header.ms-header .ms-header-main .search.search_open .search__content,
  header.ms-header .ms-header-main .search-form.search_open .search__content,
  header.ms-header .ms-header-main .search_open .search__content:not(:empty) {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 6px) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    max-height: 60vh !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    z-index: 1200 !important;
  }

  header.ms-header .ms-header-main,
  header.ms-header .logo-bar.ms-header-main {
    overflow: visible !important;
  }

  /* Keep sticky icon bar under search suggestions */
  header.ms-header:has(.search_open) ~ .menu.row,
  body:has(header.ms-header .search_open) .menu.row {
    z-index: 900 !important;
  }

  header.ms-header .logo-bar .link-logo,
  header.ms-header .logo-bar .link-logo-img {
    flex-shrink: 0 !important;
  }

  .ms-account-text {
    display: none;
  }

  header.ms-header .ms-header-actions .basket .countlabel {
    display: none;
  }

  .ms-header-actions::before {
    display: none;
  }

  /* ââ Icon bar under logo (menu-mobile) ââ */
  .menu.row {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--header-border);
    box-shadow: none !important;
  }

  .menu .innermenu {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 8px !important;
    box-shadow: none !important;
    max-width: 1180px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .menu .innermenu .menu-mobile.rwd-show-medium {
    display: flex !important;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    min-height: 52px;
  }

  .menu .innermenu .menu-mobile > li.menu-mobile-li,
  .rwd .menu .innermenu .menu-mobile > li {
    flex: 1 1 0;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .menu .innermenu .menu-mobile > li > a,
  .rwd .menu .innermenu .menu-mobile > li > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: var(--brand-color-ink) !important;
    text-align: center;
    text-decoration: none !important;
    background: transparent !important;
  }
  .menu .innermenu .menu-mobile > li > a img {
    display: none !important;
  }

  .menu .innermenu .menu-mobile .k_mx_menu_rwd {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 0 !important;
    cursor: pointer;
  }

  .menu .innermenu .menu-mobile .k_mx_menu_rwd:after {
    content: "\f0c9";
    font-family: FontAwesome;
    font-size: 22px !important;
    color: var(--brand-color-ink) !important;
    line-height: 1;
    margin: 0;
  }

  .menu .innermenu .menu-mobile .small-cart > a {
    position: relative;
  }

  .menu .innermenu .menu-mobile .small-cart > a[data-basket-count]:not([data-basket-count="0"])::after {
    content: attr(data-basket-count);
    position: absolute;
    top: 8px;
    right: calc(50% - 18px);
    min-width: 18px;
    height: auto;
    min-height: 18px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--brand-color);
    color: #fff;
    border: none;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
    box-sizing: border-box;
  }

  .menu .innermenu .menu-mobile .small-cart > a[data-basket-count="0"]::after {
    display: none;
  }

  .k_mx_menu_rwd:after {
    color: var(--brand-color-ink) !important;
  }

  .k_rockford_tabselector.active {
    color: var(--brand-color-ink) !important;
  }

  .k_rockford_tabselector.active:after {
    border: none !important;
    border-bottom: none !important;
    background: var(--brand-color) !important;
    width: 100% !important;
    height: 3px !important;
  }
}

/* Tablet: search always visible next to logo — kill skin min-width:100% / crooked heights */
@media screen and (min-width: 768px) and (max-width: 998px) {
  .rwd header.ms-header .logo-bar .search__container,
  .rwd header .logo-bar .search__container,
  header.ms-header .ms-header-main .search__container,
  header.ms-header .ms-header-main .search-form,
  header.ms-header .ms-header-main .search {
    display: block !important;
    flex: 1 1 auto !important;
    clear: none !important;
    float: none !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    margin-top: 0 !important;
    position: relative !important;
  }

  header.ms-header .ms-header-main,
  header.ms-header .logo-bar.ms-header-main {
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  header.ms-header .ms-header-main .search__input-area,
  header.ms-header .ms-header-main .search.search-form .search__input-area,
  header.ms-header .ms-header-main .js__search .search__input-area {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  header.ms-header .ms-header-main .search__input-area-item:first-child {
    order: 1 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
  }

  header.ms-header .ms-header-main .search__input-area-item_grow,
  header.ms-header .ms-header-main .search__input-area-item:nth-child(2) {
    order: 2 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  header.ms-header .ms-header-main .search__input-area-item:last-child {
    order: 3 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  header.ms-header .ms-header-main .js__search-close-btn {
    display: none !important;
  }

  header.ms-header .ms-header-main .js__search-clear-btn:not(.none) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
  }

  header.ms-header .ms-header-main .search__input,
  header.ms-header .ms-header-main .search-form .search-input,
  header.ms-header .logo-bar .search-form .search-input,
  header .logo-bar .search-form .search-input {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }

  header.ms-header .ms-header-main .js__search-submit-btn,
  header.ms-header .ms-header-main .search__btn-search,
  header.ms-header .ms-header-main .search-form .btn-red,
  header.ms-header .ms-header-main .search-form .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 8px 8px 0 !important;
  }

  header.ms-header .ms-header-main .search__btn-search::before,
  header.ms-header .ms-header-main .js__search-submit-btn::before,
  header.ms-header .ms-header-main .search-form .btn::before {
    font-size: 15px !important;
    line-height: 1 !important;
  }
}

@media (max-width: 767px) {
  header.ms-header,
  .rwd header.ms-header {
    position: relative;
    background: #fff !important;
  }

  header.ms-header .ms-header-main,
  header.ms-header .logo-bar.ms-header-main {
    min-height: 52px !important;
    padding: 6px 12px !important;
  }

  header.ms-header .logo-bar .link-logo,
  header.ms-header .logo-bar .link-logo-img {
    max-width: 132px;
  }

  /* Open search in header row (not fullscreen) — width handled at 998px */
  header.ms-header .ms-header-main .search.search_open,
  header.ms-header .ms-header-main .search-form.search_open {
    display: block !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }

  /* Mobile open search: [← back] [input…] [X clear] — lupa ukryta */
  header.ms-header .search.search_open .search__input-area,
  header.ms-header .search-form.search_open .search__input-area,
  header.ms-header .js__search.search_open .search__input-area {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    position: relative !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    min-height: 42px !important;
  }

  /* Clear X — first in DOM, show on the right */
  header.ms-header .search.search_open .search__input-area-item:first-child,
  header.ms-header .search-form.search_open .search__input-area-item:first-child {
    order: 3 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    z-index: 4 !important;
  }

  header.ms-header .search.search_open .search__input-area-item.search__input-area-item_grow,
  header.ms-header .search.search_open .search__input-area-item:nth-child(2),
  header.ms-header .search-form.search_open .search__input-area-item:nth-child(2) {
    order: 2 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  /* Back + submit wrapper — last in DOM, back on the left */
  header.ms-header .search.search_open .search__input-area-item:last-child,
  header.ms-header .search-form.search_open .search__input-area-item:last-child {
    order: 1 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    min-width: 28px !important;
  }

  header.ms-header .search.search_open .js__search-close-btn,
  header.ms-header .search-form.search_open .js__search-close-btn {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 3 !important;
    color: var(--brand-color-ink) !important;
    font-size: 14px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
  }

  header.ms-header .search.search_open .js__search-close-btn::before,
  header.ms-header .search-form.search_open .js__search-close-btn::before {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  header.ms-header .search.search_open .js__search-clear-btn,
  header.ms-header .search-form.search_open .js__search-clear-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--brand-color-ink) !important;
    font-size: 14px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 5 !important;
  }

  header.ms-header .search.search_open .js__search-clear-btn.none,
  header.ms-header .search-form.search_open .js__search-clear-btn.none {
    display: none !important;
  }

  header.ms-header .search.search_open .js__search-clear-btn::before,
  header.ms-header .search-form.search_open .js__search-clear-btn::before {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  header.ms-header .search.search_open .js__search-submit-btn,
  header.ms-header .search.search_open .search__btn-search,
  header.ms-header .search-form.search_open .js__search-submit-btn,
  header.ms-header .search-form.search_open .search__btn-search {
    display: none !important;
  }

  .menu.row {
    margin-bottom: 6px !important;
  }
}

/* Rockford mobile menu */
.k_rockford_header {
  background: var(--header-bg-soft) !important;
  border-bottom: 1px solid var(--header-border);
}

.k_rockford_tabselector {
  position: relative;
  display: inline-block !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 18px 0 0 !important;
  padding: 0 0 8px !important;
  padding-right: 0 !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

.k_rockford_tabselector.active {
  color: var(--brand-color-ink) !important;
}

.k_rockford_tabselector.active:after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 3px !important;
  border: none !important;
  background: var(--brand-color) !important;
  box-sizing: border-box !important;
}

.k_rockford_menu li {
  border-color: var(--header-border) !important;
}

.k_rockford_menu ul.level1 li {
  background: #fafafa !important;
}

.k_rockford_menu ul.level2 li {
  background: #f3f3f3 !important;
}

.k_rockford_menu a:hover {
  color: var(--brand-color-ink);
}

.k_mx_menu_rwd:after {
  color: var(--brand-color-ink);
}

.k_rockford_close {
  color: var(--brand-color-ink) !important;
}

/* === end MS Header refresh === */

/* === MS Checkout === */

/* ââ Shared chrome ââ */
header.checkout.ms-checkout-header,
header.row.checkout.ms-checkout-header {
  background: #fff !important;
  border-bottom: 1px solid var(--header-border);
  padding: 12px 0 !important;
  margin: 0 0 24px !important;
  font-family: var(--font-sans);
}

header.ms-checkout-header .logo-bar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  float: none !important;
  max-width: 1180px;
  margin: 0 auto !important;
  padding: 0 16px;
  box-sizing: border-box;
}

header.ms-checkout-header .link-logo,
header.ms-checkout-header .link-logo-img {
  float: none !important;
  margin: 0 !important;
  max-width: 160px;
  flex: 0 0 auto;
}

header.ms-checkout-header .link-logo img {
  max-height: 44px;
  width: auto;
}

.basket-steps.ms-basket-steps {
  float: none !important;
  display: block !important;
  width: auto !important;
  flex: 1 1 auto;
  max-width: 640px;
  margin: 0 0 0 auto !important;
  font-family: var(--font-sans) !important;
}

.basket-steps.ms-basket-steps ol {
  display: flex !important;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  counter-reset: ms-step;
  background: transparent !important;
  border: none !important;
}

.basket-steps.ms-basket-steps ol li,
.basket-steps.ms-basket-steps ol li.mark-green,
.basket-steps.ms-basket-steps ol li.active-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  float: none !important;
  width: auto !important;
  flex: 1 1 0 !important;
  position: relative !important;
  text-align: center !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-bottom: none !important;
  background: transparent !important;
  font-weight: 600 !important;
  color: var(--header-muted, #6b6b6b) !important;
  box-shadow: none !important;
}

.basket-steps.ms-basket-steps ol li::before {
  content: counter(ms-step) !important;
  counter-increment: ms-step;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--header-muted, #6b6b6b) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  font-family: var(--font-sans) !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  border: 2px solid var(--header-border) !important;
  box-shadow: none !important;
  position: relative !important;
  z-index: 1 !important;
  float: none !important;
  clear: none !important;
}

.basket-steps.ms-basket-steps ol li::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 15px !important;
  left: 50% !important;
  right: auto !important;
  width: 100% !important;
  height: 2px !important;
  background: var(--header-border) !important;
  z-index: 0 !important;
  border: none !important;
}

.basket-steps.ms-basket-steps ol li:last-child::after {
  display: none !important;
}

.basket-steps.ms-basket-steps ol li span,
.basket-steps.ms-basket-steps ol li a,
.basket-steps.ms-basket-steps ol li a span {
  display: block !important;
  margin-top: 8px !important;
  padding: 0 !important;
  border: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  color: var(--header-muted, #6b6b6b) !important;
  text-decoration: none !important;
  font-family: var(--font-sans) !important;
  background: transparent !important;
}

.basket-steps.ms-basket-steps ol li a:hover span,
.basket-steps.ms-basket-steps ol li a:hover {
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
}

/* Completed steps */
.basket-steps.ms-basket-steps ol li.mark-green::before {
  content: "\2713" !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #fff !important;
  background: var(--brand-color) !important;
  border-color: var(--brand-color) !important;
  box-shadow: none !important;
}

.basket-steps.ms-basket-steps ol li.mark-green::after {
  background: var(--brand-color) !important;
}

.basket-steps.ms-basket-steps ol li.mark-green span,
.basket-steps.ms-basket-steps ol li.mark-green a,
.basket-steps.ms-basket-steps ol li.mark-green a span {
  color: var(--brand-color-ink) !important;
  font-weight: 700 !important;
}

/* Active step — bez czarnego wypełnienia kulki */
.basket-steps.ms-basket-steps ol li.active-step::before {
  background: #fff !important;
  border-color: var(--brand-color) !important;
  color: var(--brand-color-ink) !important;
  box-shadow: 0 0 0 3px rgba(11, 137, 37, 0.28) !important;
}

.basket-steps.ms-basket-steps ol li.active-step span,
.basket-steps.ms-basket-steps ol li.active-step a,
.basket-steps.ms-basket-steps ol li.active-step a span {
  color: var(--brand-color-ink) !important;
  font-weight: 800 !important;
}

/* Keep steps visible on small screens (override skin hide) */
@media (max-width: 480px) {
  .basket-steps.ms-basket-steps,
  header.ms-checkout-header .basket-steps.ms-basket-steps {
    display: block !important;
  }
}

/* ââ Global checkout controls ââ */
body[class*="shop_basket"] {
  font-family: var(--font-sans);
  color: var(--brand-color-ink);
}

body[class*="shop_basket"] .btn.btn-red:not(.search__btn-search):not(.search-btn),
body[class*="shop_basket"] .important.order,
body[class*="shop_basket"] .important.summary,
body[class*="shop_basket"] button.btn-red:not(.search__btn-search):not(.search-btn),
body[class*="shop_basket"] .btn.important:not(.search__btn-search),
body.shop_basket #cart-options.ms-cart-options .buttons .order,
body.shop_basket #cart-options.ms-cart-options .buttons .important.order {
  background: var(--brand-color) !important;
  background-image: none !important;
  border: 1px solid var(--brand-color) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  min-height: 44px !important;
  padding: 10px 20px !important;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease !important;
}

body[class*="shop_basket"] .btn.btn-red:not(.search__btn-search):not(.search-btn)::before,
body[class*="shop_basket"] .important.order::before,
body[class*="shop_basket"] .important.summary::before,
body[class*="shop_basket"] button.btn-red:not(.search__btn-search):not(.search-btn)::before {
  content: none !important;
  display: none !important;
}

body[class*="shop_basket"] .btn.btn-red:not(.search__btn-search):not(.search-btn) span,
body[class*="shop_basket"] .important.order span,
body[class*="shop_basket"] .important.summary span,
body[class*="shop_basket"] button.btn-red:not(.search__btn-search) span,
body[class*="shop_basket"] .btn.important:not(.search__btn-search) span {
  color: #fff !important;
  background: transparent !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  transition: color 0.18s ease !important;
}

body[class*="shop_basket"] .btn.btn-red:not(.search__btn-search):not(.search-btn):hover,
body[class*="shop_basket"] .btn.btn-red:not(.search__btn-search):not(.search-btn):focus-visible,
body[class*="shop_basket"] .important.order:hover,
body[class*="shop_basket"] .important.order:focus-visible,
body[class*="shop_basket"] .important.summary:hover,
body[class*="shop_basket"] button.btn-red:not(.search__btn-search):not(.search-btn):hover,
body.shop_basket #cart-options.ms-cart-options .buttons .order:hover,
body.shop_basket #cart-options.ms-cart-options .buttons .order:focus-visible,
body.shop_basket #cart-options.ms-cart-options .buttons .important.order:hover,
body.shop_basket #cart-options.ms-cart-options .buttons .important.order:focus-visible,
body.shop_basket #cart-options.ms-cart-options .buttons .btn.btn-red:hover,
body.shop_basket #cart-options.ms-cart-options .buttons .btn.btn-red:focus-visible {
  background: var(--brand-color-ink) !important;
  background-color: var(--brand-color-ink) !important;
  background-image: none !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body[class*="shop_basket"] .btn.btn-red:not(.search__btn-search):not(.search-btn):hover span,
body[class*="shop_basket"] .btn.btn-red:not(.search__btn-search):not(.search-btn):focus-visible span,
body[class*="shop_basket"] .important.order:hover span,
body[class*="shop_basket"] .important.order:focus-visible span,
body[class*="shop_basket"] .important.summary:hover span,
body.shop_basket #cart-options.ms-cart-options .buttons .order:hover span,
body.shop_basket #cart-options.ms-cart-options .buttons .order:focus-visible span,
body.shop_basket #cart-options.ms-cart-options .buttons .important.order:hover span,
body.shop_basket #cart-options.ms-cart-options .buttons .btn.btn-red:hover span {
  color: #fff !important;
  background: transparent !important;
}

/* Secondary buttons — Kontynuuj zakupy, Przelicz, Użyj, Wyczyść */
body[class*="shop_basket"] .btn.back,
body[class*="shop_basket"] a.btn.back,
body[class*="shop_basket"] .buttons .back .btn,
body[class*="shop_basket"] .buttons .back button,
body.shop_basket .clear-basket .mx-clear,
body.shop_basket #cart-options.ms-cart-options .recount .btn,
body.shop_basket #cart-options.ms-cart-options .promocode .btn,
body.shop_basket #cart-options.ms-cart-options .btn-remove-promocode {
  background: #fff !important;
  background-image: none !important;
  border: 1px solid var(--header-border) !important;
  color: var(--brand-color-ink) !important;
  border-radius: 8px !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  min-height: 40px !important;
  padding: 8px 16px !important;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}

body[class*="shop_basket"] .btn.back span,
body[class*="shop_basket"] .buttons .back .btn span,
body.shop_basket .clear-basket .mx-clear span,
body.shop_basket #cart-options.ms-cart-options .recount .btn span,
body.shop_basket #cart-options.ms-cart-options .promocode .btn span,
body.shop_basket #cart-options.ms-cart-options .promocode .btn .icon-ok,
body.shop_basket #cart-options.ms-cart-options .btn-remove-promocode span {
  color: var(--brand-color-ink) !important;
  background: transparent !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
}

body[class*="shop_basket"] .btn.back:hover,
body[class*="shop_basket"] a.btn.back:hover,
body[class*="shop_basket"] .buttons .back .btn:hover,
body.shop_basket .clear-basket .mx-clear:hover,
body.shop_basket #cart-options.ms-cart-options .recount .btn:hover,
body.shop_basket #cart-options.ms-cart-options .promocode .btn:hover,
body.shop_basket #cart-options.ms-cart-options .btn-remove-promocode:hover {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--brand-color-ink) !important;
  color: var(--brand-color-ink) !important;
  box-shadow: none !important;
}

body[class*="shop_basket"] .btn.back img.px1,
body.shop_basket .clear-basket .mx-clear img.px1,
body.shop_basket #cart-options.ms-cart-options .recount .btn img.px1,
body.shop_basket #cart-options.ms-cart-options .promocode .btn img.px1,
body[class*="shop_basket"] .important.order img.px1,
body[class*="shop_basket"] .btn.btn-red img.px1 {
  display: none !important;
}

/* Search submit stays brand on basket page (checkout btn rules otherwise paint it black) */
body[class*="shop_basket"] header.ms-header .search__btn-search,
body[class*="shop_basket"] header.ms-header .search-form .search-btn,
body[class*="shop_basket"] header.ms-header .search-form .btn-red {
  background: var(--brand-color) !important;
  background-color: var(--brand-color) !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff !important;
  min-height: 42px !important;
  padding: 0 !important;
  transform: none !important;
}

body[class*="shop_basket"] header.ms-header .search__btn-search .fa-search,
body[class*="shop_basket"] header.ms-header .search__icon_size-l,
body[class*="shop_basket"] header.ms-header .search__btn-search .fa-search::before,
body[class*="shop_basket"] header.ms-header .search__icon_size-l::before {
  color: #fff !important;
  background: transparent !important;
}

body[class*="shop_basket"] input[type="text"],
body[class*="shop_basket"] input[type="email"],
body[class*="shop_basket"] input[type="password"],
body[class*="shop_basket"] input[type="tel"],
body[class*="shop_basket"] input[type="number"],
body[class*="shop_basket"] select,
body[class*="shop_basket"] textarea {
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  box-shadow: none !important;
}

body[class*="shop_basket"] input:focus,
body[class*="shop_basket"] select:focus,
body[class*="shop_basket"] textarea:focus {
  border-color: var(--brand-color-ink) !important;
  outline: none !important;
}

body[class*="shop_basket"] .box.ms-basket-page,
body[class*="shop_basket"] .box.ms-checkout-panel {
  background: #fff;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px;
  box-shadow: none !important;
  overflow: hidden;
  font-family: var(--font-sans);
}

body[class*="shop_basket"] .ms-basket-page .boxhead,
body[class*="shop_basket"] .ms-checkout-panel .boxhead,
body[class*="shop_basket"] .ms-checkout-final .boxhead {
  background: transparent !important;
  border-bottom: none !important;
  padding: 16px 20px 8px !important;
  margin: 0 !important;
}

body[class*="shop_basket"] .ms-basket-page .boxhead h3,
body[class*="shop_basket"] .ms-checkout-panel .boxhead h3,
body[class*="shop_basket"] .ms-checkout-panel .boxhead span,
body[class*="shop_basket"] .ms-checkout-final .boxhead span {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body[class*="shop_basket"] .ms-basket-page .innerbox,
body[class*="shop_basket"] .ms-checkout-panel .innerbox {
  padding: 16px 20px 20px !important;
}

body[class*="shop_basket"] .alert,
body[class*="shop_basket"] .alert-info,
body[class*="shop_basket"] .alert-success,
body[class*="shop_basket"] .alert-warning,
body[class*="shop_basket"] .alert-error,
body.shop_basket .alert-info {
  border-radius: 10px !important;
  box-shadow: none !important;
  font-family: var(--font-sans) !important;
  padding: 14px 16px !important;
}

body[class*="shop_basket"] .alert-info,
body.shop_basket .alert-info {
  background: var(--header-bg-soft) !important;
  border: 1px solid var(--header-border) !important;
  color: var(--brand-color-ink) !important;
}

body[class*="shop_basket"] .alert-success {
  background: #f3fceb !important;
  border: 1px solid #c6e6a0 !important;
  color: var(--brand-color-ink) !important;
}

body[class*="shop_basket"] .alert-warning {
  background: #fff8e8 !important;
  border: 1px solid #ecd9a4 !important;
  color: var(--brand-color-ink) !important;
}

body[class*="shop_basket"] .alert-error {
  background: #fff1f0 !important;
  border: 1px solid #f0c2c0 !important;
  color: #8b1e1a !important;
}

body[class*="shop_basket"] .alert .close,
body[class*="shop_basket"] .alert .close span {
  color: var(--header-muted) !important;
}

/* ââ Step 1: product table ââ */
body.shop_basket #box_basketlist.ms-basket-page table.productlist {
  width: 100%;
  border-collapse: collapse;
  border: none !important;
  background: #fff;
}

body.shop_basket #box_basketlist.ms-basket-page table.productlist thead td {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--header-border) !important;
  border-left: none !important;
  border-right: none !important;
  color: var(--header-muted) !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 10px 12px !important;
}

body.shop_basket #box_basketlist.ms-basket-page table.productlist thead td.name,
body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody td.name {
  text-align: left !important;
}

body.shop_basket #box_basketlist.ms-basket-page table.productlist thead td.time,
body.shop_basket #box_basketlist.ms-basket-page table.productlist thead td.quantity,
body.shop_basket #box_basketlist.ms-basket-page table.productlist thead td.price,
body.shop_basket #box_basketlist.ms-basket-page table.productlist thead td.sum,
body.shop_basket #box_basketlist.ms-basket-page table.productlist thead td.actions,
body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody td.time,
body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody td.quantity,
body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody td.price,
body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody td.sum,
body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody td.actions {
  text-align: center !important;
}

body.shop_basket #box_basketlist.ms-basket-page table.productlist.zebra tbody tr,
body.shop_basket #box_basketlist.ms-basket-page table.productlist.zebra tbody tr:nth-child(even),
body.shop_basket #box_basketlist.ms-basket-page table.productlist.zebra tbody tr:nth-child(odd) {
  background: #fff !important;
}

body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody tr.k_tr_product td,
body.shop_basket #box_basketlist.ms-basket-page table.productlist td {
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: 1px solid var(--header-border) !important;
  padding: 14px 12px !important;
  vertical-align: middle !important;
  color: var(--brand-color-ink);
}

body.shop_basket #box_basketlist.ms-basket-page table.productlist .name a {
  color: var(--brand-color-ink) !important;
  font-weight: 600;
  text-decoration: none;
}

body.shop_basket #box_basketlist.ms-basket-page table.productlist .name a:hover {
  text-decoration: underline;
}

body.shop_basket #box_basketlist.ms-basket-page table.productlist .variant {
  display: block;
  color: var(--header-muted);
  font-size: 12px;
  margin-top: 2px;
}

body.shop_basket #box_basketlist.ms-basket-page table.productlist td.img img,
body.shop_basket #box_basketlist.ms-basket-page .ms-basket-product-thumb img {
  border-radius: 8px;
  border: 1px solid var(--header-border);
  display: block;
}

body.shop_basket #box_basketlist.ms-basket-page .ms-basket-product-thumb,
body.shop_basket #box_basketsummary .ms-basket-product-thumb {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
}

body.shop_basket #box_basketlist.ms-basket-page .ms-basket-product-thumb img,
body.shop_basket #box_basketsummary .ms-basket-product-thumb img {
  pointer-events: none;
}

body.shop_basket #box_basketlist.ms-basket-page table.productlist td.quantity {
  vertical-align: middle !important;
}

body.shop_basket #box_basketlist.ms-basket-page table.productlist td.quantity .quantity-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  vertical-align: middle;
}

body.shop_basket #box_basketlist.ms-basket-page table.productlist td.quantity .quantity-widget {
  display: inline-flex !important;
  align-items: center !important;
  height: 40px;
  margin: 0;
  vertical-align: middle;
}

body.shop_basket #box_basketlist.ms-basket-page table.productlist td.quantity .quantity-widget input.short,
body.shop_basket #box_basketlist.ms-basket-page table.productlist td.quantity input.short {
  height: 40px !important;
  line-height: 40px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  vertical-align: middle;
  box-sizing: border-box;
}

body.shop_basket #box_basketlist.ms-basket-page a.prodremove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  color: var(--header-muted) !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  box-sizing: border-box;
}

body.shop_basket #box_basketlist.ms-basket-page a.prodremove span,
body.shop_basket #box_basketlist.ms-basket-page a.prodremove .px1 {
  display: none !important;
}

body.shop_basket #box_basketlist.ms-basket-page a.prodremove .fa-times {
  color: inherit !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  background: none !important;
}

body.shop_basket #box_basketlist.ms-basket-page a.prodremove:hover {
  background: var(--header-bg-soft) !important;
  border-color: var(--header-border) !important;
  color: var(--brand-color-ink) !important;
}

/* ââ Step 1: cart options ââ */
body.shop_basket #cart-options.ms-cart-options {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  float: none !important;
  width: 100% !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  clear: both;
}

body.shop_basket #cart-options.ms-cart-options::after,
body.shop_basket #cart-options.ms-cart-options::before {
  display: none !important;
  content: none !important;
}

body.shop_basket #cart-options.ms-cart-options .delivery-container,
body.shop_basket #cart-options.ms-cart-options .payment-container,
body.shop_basket #cart-options.ms-cart-options .summary-container {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 16px !important;
  background: var(--header-bg-soft);
  border: 1px solid var(--header-border);
  border-radius: 12px;
  box-sizing: border-box;
}

body.shop_basket #cart-options.ms-cart-options .summary-container {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: stretch !important;
  align-self: stretch !important;
  height: 100% !important;
  min-height: 100% !important;
}

body.shop_basket #cart-options.ms-cart-options .summary-container > .promo-container,
body.shop_basket #cart-options.ms-cart-options .summary-container > .recount,
body.shop_basket #cart-options.ms-cart-options .summary-container > .deliveryhead,
body.shop_basket #cart-options.ms-cart-options .summary-container > .sum {
  float: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.shop_basket #cart-options.ms-cart-options .summary-container > .promo-container {
  margin-top: 0 !important;
  margin-bottom: auto !important;
  order: -1;
}

body.shop_basket #cart-options.ms-cart-options h5 {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
  text-transform: none !important;
}

body.shop_basket #cart-options.ms-cart-options .delivery,
body.shop_basket #cart-options.ms-cart-options .payment {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  margin: 0 0 8px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  box-shadow: none !important;
  position: relative;
  box-sizing: border-box !important;
}

body.shop_basket #cart-options.ms-cart-options .delivery .name,
body.shop_basket #cart-options.ms-cart-options .payment .name {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  max-width: none !important;
  width: auto !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.shop_basket #cart-options.ms-cart-options .delivery .name > label,
body.shop_basket #cart-options.ms-cart-options .payment .name > label {
  display: inline !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--brand-color-ink) !important;
  line-height: 1.35 !important;
  cursor: pointer !important;
}

body.shop_basket #cart-options.ms-cart-options .delivery .value,
body.shop_basket #cart-options.ms-cart-options .payment .value,
body.shop_basket #cart-options.ms-cart-options .delivery .cost,
body.shop_basket #cart-options.ms-cart-options .payment .cost {
  display: inline-block !important;
  float: none !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  text-align: right !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--brand-color-ink) !important;
}

/* JS filterBasket uses .force-none / .none — must beat display:flex !important above */
body.shop_basket #cart-options.ms-cart-options .delivery.force-none,
body.shop_basket #cart-options.ms-cart-options .payment.force-none,
body.shop_basket #cart-options.ms-cart-options .delivery.none,
body.shop_basket #cart-options.ms-cart-options .payment.none,
#cart-options .force-none,
#cart-options .delivery.force-none,
#cart-options .payment.force-none,
#cart-options .delivery.none,
#cart-options .payment.none {
  display: none !important;
}

/* Highlight the tile that actually holds the checked radio (supports nested "children") */
body.shop_basket #cart-options.ms-cart-options .delivery.selected,
body.shop_basket #cart-options.ms-cart-options .payment.selected {
  border-color: var(--header-border) !important;
  box-shadow: none !important;
}

body.shop_basket #cart-options.ms-cart-options .delivery:has(input[type="radio"]:checked),
body.shop_basket #cart-options.ms-cart-options .payment:has(input[type="radio"]:checked) {
  border-color: var(--brand-color-ink) !important;
  box-shadow: inset 3px 0 0 var(--brand-color) !important;
}

/* Parent containing a nested checked child â keep quiet; child gets the ring */
body.shop_basket #cart-options.ms-cart-options .payment:has(.payment input[type="radio"]:checked),
body.shop_basket #cart-options.ms-cart-options .delivery:has(.delivery input[type="radio"]:checked),
body.shop_basket #cart-options.ms-cart-options .payment.selected:has(.payment input[type="radio"]:checked),
body.shop_basket #cart-options.ms-cart-options .delivery.selected:has(.delivery input[type="radio"]:checked) {
  border-color: var(--header-border) !important;
  box-shadow: none !important;
}

body.shop_basket #cart-options.ms-cart-options .payment .payment:has(input[type="radio"]:checked),
body.shop_basket #cart-options.ms-cart-options .delivery .delivery:has(input[type="radio"]:checked) {
  border-color: var(--brand-color-ink) !important;
  box-shadow: inset 3px 0 0 var(--brand-color) !important;
}

body.shop_basket #cart-options.ms-cart-options .summary-container .sum,
body.shop_basket #cart-options.ms-cart-options .summary-container .total,
body.shop_basket #cart-options.ms-cart-options .summary-container strong {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans);
}

body.shop_basket #cart-options.ms-cart-options .promocode {
  margin-top: 0;
  margin-bottom: 14px !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  text-align: left !important;
}

body.shop_basket #cart-options.ms-cart-options .promocode .checkbox-wrap {
  top: 0 !important;
  margin: 0 !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
}

body.shop_basket #cart-options.ms-cart-options .promocode .checkbox-wrap label {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  top: 0 !important;
  cursor: pointer !important;
}

body.shop_basket #cart-options.ms-cart-options .promocode .checkbox-wrap label::after {
  left: 3px !important;
  top: 3px !important;
  width: 9px !important;
  height: 5px !important;
}

body.shop_basket #cart-options.ms-cart-options .promocode .desc {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  color: var(--brand-color-ink) !important;
}

body.shop_basket #cart-options.ms-cart-options .promocode .desc label {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
  position: static !important;
  top: auto !important;
}

body.shop_basket #cart-options.ms-cart-options .summary-container .sum .value {
  color: var(--brand-color-ink) !important;
  font-size: 1.35em !important;
  font-weight: 800 !important;
}

body.shop_basket #cart-options.ms-cart-options .buttons {
  grid-column: 1 / -1;
  float: none !important;
  width: 100% !important;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  clear: both !important;
}

body.shop_basket #cart-options.ms-cart-options .buttons .back,
body.shop_basket #cart-options.ms-cart-options .buttons .forward {
  float: none !important;
  display: inline-flex;
  margin: 0 !important;
}

/* ââ Step 2 auth ââ */
body.shop_basket_address #box_basketstep2,
body[class*="shop_basket"] #box_basketstep2.ms-checkout-panel,
body[class*="shop_basket"] #box_basketstep2 {
  border-radius: 12px !important;
  border: 1px solid var(--header-border) !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
}

body[class*="shop_basket"] #box_basketstep2 .basket-step-border {
  border: none !important;
  padding: 20px !important;
  margin: 0 !important;
  background: transparent !important;
}

/* Promo banner (often injected as h2 / .ms-login-promo) */
body[class*="shop_basket"] #box_basketstep2 h2,
body[class*="shop_basket"] #box_basketstep2 .ms-login-promo,
#box_login .ms-login-promo,
#box_login > h2 {
  border: 1px solid var(--header-border) !important;
  border-left: 3px solid var(--brand-color) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  margin: 16px 20px !important;
  text-align: left !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: var(--brand-color-ink) !important;
  background: var(--header-bg-soft, #f7f7f7) !important;
  box-shadow: none !important;
}

/* Social login — nagłówek w osobnej linii, przyciski pod spodem */
body[class*="shop_basket"] #box_basketstep2 .social-login-buttons {
  margin: 0 0 20px !important;
  padding: 0 0 20px !important;
  border-bottom: 1px solid var(--header-border) !important;
  text-align: left !important;
  clear: both !important;
}

body[class*="shop_basket"] #box_basketstep2 .social-login-buttons h3 {
  margin: 0 0 14px !important;
  padding: 0 0 6px !important;
  display: block !important;
  width: auto !important;
  max-width: max-content !important;
  border-bottom: 3px solid var(--brand-color) !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--brand-color-ink) !important;
  text-transform: none !important;
  float: none !important;
  clear: both !important;
}

body[class*="shop_basket"] #box_basketstep2 .social-login-buttons .btn,
body[class*="shop_basket"] #box_basketstep2 .social-login-buttons a.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  float: none !important;
  clear: none !important;
  min-height: 44px !important;
  margin: 0 8px 10px 0 !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  border: 1px solid var(--header-border) !important;
  background: #fff !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

body[class*="shop_basket"] #box_basketstep2 .social-login-buttons .btn:hover,
body[class*="shop_basket"] #box_basketstep2 .social-login-buttons a.btn:hover {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--brand-color-ink) !important;
  color: var(--brand-color-ink) !important;
}

body[class*="shop_basket"] #box_basketstep2 .social-login-buttons .btn-login-shoper_sso {
  background: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
}

body[class*="shop_basket"] #box_basketstep2 .social-login-buttons .btn-login-shoper_sso:hover {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

body[class*="shop_basket"] #box_basketstep2 .social-login-buttons .shoper_sso__logo_light {
  display: none !important;
}

body[class*="shop_basket"] #box_basketstep2 .social-login-buttons .shoper_sso__logo_dark {
  display: inline-block !important;
  vertical-align: middle !important;
}

body[class*="shop_basket"] #box_basketstep2 .social-login-buttons p,
body[class*="shop_basket"] #box_basketstep2 .social-login-buttons small {
  margin: 8px 0 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: var(--header-muted, #6b6b6b) !important;
}

/* Three columns — tylko divy-karty, NIE formy/przyciski z klasą .register/.login */
body[class*="shop_basket"] #box_basketstep2 .innerbox.r--l-flex {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

body[class*="shop_basket"] #box_basketstep2 .innerbox > div.register,
body[class*="shop_basket"] #box_basketstep2 .innerbox > div.basket-no-register,
body[class*="shop_basket"] #box_basketstep2 .innerbox > div.login {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 280px !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body[class*="shop_basket"] #box_basketstep2 .innerbox > div.register > .r--spacing-s,
body[class*="shop_basket"] #box_basketstep2 .innerbox > div.basket-no-register > .r--spacing-s {
  flex: 0 0 auto !important;
}

body[class*="shop_basket"] #box_basketstep2 h3 {
  margin: 0 0 12px !important;
  padding: 0 0 8px !important;
  display: block !important;
  width: auto !important;
  max-width: max-content !important;
  align-self: flex-start !important;
  border: none !important;
  border-bottom: 3px solid var(--brand-color) !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  box-sizing: border-box !important;
}

body[class*="shop_basket"] #box_basketstep2 h3 img.px1 {
  display: none !important;
}

body[class*="shop_basket"] #box_basketstep2 p,
body[class*="shop_basket"] #box_basketstep2 li {
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: var(--brand-color-ink) !important;
}

body[class*="shop_basket"] #box_basketstep2 p {
  margin: 0 0 10px !important;
  color: var(--header-muted, #6b6b6b) !important;
}

body[class*="shop_basket"] #box_basketstep2 ul {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}

body[class*="shop_basket"] #box_basketstep2 ul li {
  position: relative !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 0 8px !important;
  padding: 0 0 0 16px !important;
  color: var(--brand-color-ink) !important;
}

body[class*="shop_basket"] #box_basketstep2 ul li::marker {
  content: none !important;
  font-size: 0 !important;
}

body[class*="shop_basket"] #box_basketstep2 ul li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.55em !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: var(--brand-color) !important;
  border: none !important;
  box-shadow: none !important;
}

body[class*="shop_basket"] #box_basketstep2 .form-line {
  margin: 0 0 12px !important;
}

body[class*="shop_basket"] #box_basketstep2 .form-line > label {
  display: none !important;
}

body[class*="shop_basket"] #box_basketstep2 .ms-float-field {
  width: 100% !important;
  margin: 0 0 12px !important;
}

body[class*="shop_basket"] #box_basketstep2 .shaded_inputwrap.inline {
  border: none !important;
  background: transparent !important;
  overflow: visible !important;
  width: auto !important;
  display: block !important;
}

body[class*="shop_basket"] #box_basketstep2 .shaded_inputwrap.inline a,
body[class*="shop_basket"] #box_basketstep2 a[href*="passremind"] {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--brand-color-ink) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
  text-underline-offset: 2px !important;
}

body[class*="shop_basket"] #box_basketstep2 .innerbox > div > form.register,
body[class*="shop_basket"] #box_basketstep2 .innerbox > div > form.order,
body[class*="shop_basket"] #box_basketstep2 .innerbox > div > form.login {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  margin: auto 0 0 !important;
  padding: 12px 0 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body[class*="shop_basket"] #box_basketstep2 button.btn.btn-red,
body[class*="shop_basket"] #box_basketstep2 button.btn.important,
body[class*="shop_basket"] #box_basketstep2 button.btn.btn-red.important,
body[class*="shop_basket"] #box_basketstep2 button.btn.important.register {
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--brand-color) !important;
  background-image: none !important;
  border: 1px solid var(--brand-color) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body[class*="shop_basket"] #box_basketstep2 button.btn.btn-red span,
body[class*="shop_basket"] #box_basketstep2 button.btn.important span,
body[class*="shop_basket"] #box_basketstep2 button.btn.important.register span {
  color: #fff !important;
  background: transparent !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body[class*="shop_basket"] #box_basketstep2 button.btn.btn-red:hover,
body[class*="shop_basket"] #box_basketstep2 button.btn.important:hover,
body[class*="shop_basket"] #box_basketstep2 button.btn.important.register:hover {
  background: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
}

body[class*="shop_basket"] #box_basketstep2 button.btn.btn-red:hover span,
body[class*="shop_basket"] #box_basketstep2 button.btn.important:hover span,
body[class*="shop_basket"] #box_basketstep2 button.btn.important.register:hover span {
  color: #fff !important;
}

body[class*="shop_basket"] #box_basketstep2 button.btn.btn-red img.px1 {
  display: none !important;
}

@media (max-width: 979px) {
  body[class*="shop_basket"] #box_basketstep2 .innerbox.r--l-flex {
    flex-direction: column !important;
  }

  body[class*="shop_basket"] #box_basketstep2 .innerbox > div.register,
  body[class*="shop_basket"] #box_basketstep2 .innerbox > div.basket-no-register,
  body[class*="shop_basket"] #box_basketstep2 .innerbox > div.login {
    flex: 1 1 auto !important;
    width: 100% !important;
  }
}

/* —— Address form (#box_basketaddress) —— */
body[class*="shop_basket"] #box_basketaddress.ms-checkout-panel,
body[class*="shop_basket"] #box_basketaddress {
  overflow: visible !important;
}

body[class*="shop_basket"] #box_basketaddress .basket-step-border {
  border: none !important;
  border-radius: 0 !important;
  padding: 4px 4px 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[class*="shop_basket"] #box_basketaddress .innerbox {
  padding: 20px !important;
}

body[class*="shop_basket"] #box_basketaddress .f-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
}

body[class*="shop_basket"] #box_basketaddress .f-grid-6,
body[class*="shop_basket"] #box_basketaddress .client-add-info.f-grid-6 {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  flex: 1 1 340px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body[class*="shop_basket"] #box_basketaddress .client-data,
body[class*="shop_basket"] #box_basketaddress .client-address,
body[class*="shop_basket"] #box_basketaddress .client-address-different,
body[class*="shop_basket"] #box_basketaddress .client-add-info > table {
  margin: 0 0 24px !important;
}

body[class*="shop_basket"] #box_basketaddress h4.separator,
body[class*="shop_basket"] #box_basketaddress h4 {
  margin: 0 0 16px !important;
  padding: 0 0 8px !important;
  width: auto !important;
  max-width: max-content !important;
  border: none !important;
  border-bottom: 3px solid var(--brand-color) !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  background: transparent !important;
}

body[class*="shop_basket"] #box_basketaddress h4:not(.different) {
  display: block !important;
}

/* BasketHandler toggles h4.different — never force display here */
body[class*="shop_basket"] #box_basketaddress h4.different {
  max-width: max-content !important;
}

body[class*="shop_basket"] #box_basketaddress h4 img.px1 {
  display: none !important;
}

body[class*="shop_basket"] #box_basketaddress table,
body[class*="shop_basket"] #box_basketaddress table.maindata,
body[class*="shop_basket"] #box_basketaddress table.address,
body[class*="shop_basket"] #box_basketaddress table.address-different {
  width: 100% !important;
  border: none !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

body[class*="shop_basket"] #box_basketaddress table tr {
  display: block !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  border: none !important;
  background: transparent !important;
}

body[class*="shop_basket"] #box_basketaddress table tr.none,
body[class*="shop_basket"] #box_basketaddress table tr[style*="display: none"] {
  display: none !important;
  margin: 0 !important;
}

body[class*="shop_basket"] #box_basketaddress table td {
  display: block !important;
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  border: none !important;
  vertical-align: top !important;
  box-sizing: border-box !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
}

/* Label cell: ukryty gdy float label przejął tekst; zostaje dla selectów / hintów telefonu */
body[class*="shop_basket"] #box_basketaddress table td.label {
  margin: 0 0 6px !important;
  color: var(--brand-color-ink) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

body[class*="shop_basket"] #box_basketaddress table td.label:has(> label.ms-float-native-hidden):not(:has(.select__phone-container:not(.none))) {
  display: none !important;
  margin: 0 !important;
}

body[class*="shop_basket"] #box_basketaddress table td.label > label {
  display: inline-block !important;
  margin: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--brand-color-ink) !important;
}

body[class*="shop_basket"] #box_basketaddress table td.label > label.ms-float-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body[class*="shop_basket"] #box_basketaddress em.color {
  color: var(--brand-color-ink) !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

body[class*="shop_basket"] #box_basketaddress .ms-float-field {
  width: 100% !important;
  margin: 0 !important;
}

body[class*="shop_basket"] #box_basketaddress .shaded_inputwrap,
body[class*="shop_basket"] #box_basketaddress .shaded_textareawrap {
  display: block !important;
  width: 100% !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body[class*="shop_basket"] #box_basketaddress .shaded_inputwrap input,
body[class*="shop_basket"] #box_basketaddress .shaded_textareawrap textarea {
  width: 100% !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  box-sizing: border-box !important;
}

body[class*="shop_basket"] #box_basketaddress .shaded_inputwrap input {
  height: 56px !important;
  padding: 16px 14px !important;
  font-size: 16px !important;
}

body[class*="shop_basket"] #box_basketaddress select,
body[class*="shop_basket"] #box_basketaddress select.input,
body[class*="shop_basket"] #box_basketaddress select.text-big {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 0 40px 0 14px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 54px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
}

body[class*="shop_basket"] #box_basketaddress select:focus {
  border-color: var(--brand-color-ink) !important;
  outline: none !important;
}

/* Radio: osoba / firma */
body[class*="shop_basket"] #box_basketaddress tr.address_type td.input {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 18px !important;
}

body[class*="shop_basket"] #box_basketaddress .radio-wrap,
body[class*="shop_basket"] #box_basketaddress .checkbox-wrap {
  position: relative !important;
  top: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
}

body[class*="shop_basket"] #box_basketaddress .radio-wrap {
  border-radius: 999px !important;
}

body[class*="shop_basket"] #box_basketaddress .radio-wrap input,
body[class*="shop_basket"] #box_basketaddress .checkbox-wrap input {
  position: absolute !important;
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
}

body[class*="shop_basket"] #box_basketaddress .radio-wrap label,
body[class*="shop_basket"] #box_basketaddress .checkbox-wrap label {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  top: 0 !important;
  cursor: pointer !important;
  background: transparent !important;
  border: none !important;
}

body[class*="shop_basket"] #box_basketaddress .radio-wrap input:checked + label,
body[class*="shop_basket"] #box_basketaddress .checkbox-wrap input:checked + label {
  background: var(--brand-color) !important;
  border-radius: inherit !important;
}

body[class*="shop_basket"] #box_basketaddress .checkbox-wrap input:checked + label::after {
  content: "" !important;
  position: absolute !important;
  left: 5px !important;
  top: 2px !important;
  width: 5px !important;
  height: 9px !important;
  border: solid #fff !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
  box-sizing: border-box !important;
}

body[class*="shop_basket"] #box_basketaddress .radio-wrap input:checked + label::after {
  content: "" !important;
  position: absolute !important;
  left: 5px !important;
  top: 5px !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: #fff !important;
}

body[class*="shop_basket"] #box_basketaddress td.input > label,
body[class*="shop_basket"] #box_basketaddress td.input_checkbox > label {
  display: inline !important;
  margin: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: var(--brand-color-ink) !important;
  cursor: pointer !important;
  vertical-align: middle !important;
}

/* Gwiazdka wymagana: nie w osobnej komórce nad tekstem, tylko przy labelu */
body[class*="shop_basket"] #box_basketaddress td.label_checkbox {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

body[class*="shop_basket"] #box_basketaddress tr.additional-fields:has(td.label_checkbox em.color) td.input_checkbox > label[for]::before {
  content: "* " !important;
  font-weight: 800 !important;
  color: var(--brand-color-ink) !important;
}

body[class*="shop_basket"] #box_basketaddress tr.different_address td.input,
body[class*="shop_basket"] #box_basketaddress tr.additional-fields td.input_checkbox,
body[class*="shop_basket"] #box_basketaddress tr.vat_eu td.input {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

body[class*="shop_basket"] #box_basketaddress tr.additional-fields td.input_checkbox > label,
body[class*="shop_basket"] #box_basketaddress tr.vat_eu td.input > label {
  flex: 1 1 auto !important;
}

body[class*="shop_basket"] #box_basketaddress td.input a,
body[class*="shop_basket"] #box_basketaddress td.input_checkbox a {
  color: var(--brand-color-ink) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
  text-underline-offset: 2px !important;
}

body[class*="shop_basket"] #box_basketaddress .hint,
body[class*="shop_basket"] #box_basketaddress .hint__content {
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: var(--header-muted, #6b6b6b) !important;
}

body[class*="shop_basket"] #box_basketaddress .select__phone-container {
  margin-top: 8px !important;
}

body[class*="shop_basket"] #box_basketaddress .select__phone {
  height: 40px !important;
  line-height: 38px !important;
  font-size: 14px !important;
  padding-left: 42px !important;
}

body[class*="shop_basket"] #box_basketaddress .bottombuttons {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 8px 0 0 !important;
  padding: 20px 0 0 !important;
  border-top: 1px solid var(--header-border) !important;
  float: none !important;
  clear: both !important;
  text-align: left !important;
}

body[class*="shop_basket"] #box_basketaddress .bottombuttons .btn.back {
  order: 1 !important;
  float: none !important;
  margin: 0 !important;
}

body[class*="shop_basket"] #box_basketaddress .bottombuttons .important.summary,
body[class*="shop_basket"] #box_basketaddress .bottombuttons button.important {
  order: 2 !important;
  float: none !important;
  margin: 0 0 0 auto !important;
  min-width: 180px !important;
}

body[class*="shop_basket"] #box_basketaddress .bottombuttons button img.px1 {
  display: none !important;
}

body[class*="shop_basket"] #box_basketaddress .basket-step-border > div > span {
  display: block !important;
  margin: 4px 0 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  color: var(--header-muted, #6b6b6b) !important;
}

body[class*="shop_basket"] #box_basketshipping .basket-step-border {
  border: 1px solid var(--header-border) !important;
  border-radius: 12px;
  padding: 16px !important;
  background: #fff;
}

body[class*="shop_basket"] #box_basketshipping h4 {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-bottom: 1px solid var(--header-border);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

@media (max-width: 979px) {
  body[class*="shop_basket"] #box_basketaddress .f-row {
    flex-direction: column !important;
    gap: 8px !important;
  }

  body[class*="shop_basket"] #box_basketaddress .f-grid-6,
  body[class*="shop_basket"] #box_basketaddress .client-add-info.f-grid-6 {
    flex: 1 1 auto !important;
    width: 100% !important;
  }

  body[class*="shop_basket"] #box_basketaddress .bottombuttons {
    flex-direction: column-reverse !important;
  }

  body[class*="shop_basket"] #box_basketaddress .bottombuttons .important.summary,
  body[class*="shop_basket"] #box_basketaddress .bottombuttons button.important,
  body[class*="shop_basket"] #box_basketaddress .bottombuttons .btn.back {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* —— Summary step3 —— */
body[class*="shop_basket"] #box_basketsummary table.productlist,
body[class*="shop_basket"] #box_basketsummary.ms-checkout-panel table.productlist {
  width: 100% !important;
  border-collapse: collapse !important;
  border: none !important;
  background: #fff !important;
}

body[class*="shop_basket"] #box_basketsummary table.productlist thead td,
body[class*="shop_basket"] #box_basketsummary.ms-checkout-panel table.productlist thead td {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--header-border) !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  color: var(--header-muted) !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  padding: 10px 12px !important;
}

body[class*="shop_basket"] #box_basketsummary table.productlist thead td.name,
body[class*="shop_basket"] #box_basketsummary table.productlist tbody td.name,
body[class*="shop_basket"] #box_basketsummary.ms-checkout-panel table.productlist thead td.name,
body[class*="shop_basket"] #box_basketsummary.ms-checkout-panel table.productlist tbody td.name {
  text-align: left !important;
}

body[class*="shop_basket"] #box_basketsummary table.productlist thead td.time,
body[class*="shop_basket"] #box_basketsummary table.productlist thead td.quantity,
body[class*="shop_basket"] #box_basketsummary table.productlist thead td.price,
body[class*="shop_basket"] #box_basketsummary table.productlist thead td.sum,
body[class*="shop_basket"] #box_basketsummary table.productlist tbody td.time,
body[class*="shop_basket"] #box_basketsummary table.productlist tbody td.quantity,
body[class*="shop_basket"] #box_basketsummary table.productlist tbody td.price,
body[class*="shop_basket"] #box_basketsummary table.productlist tbody td.sum,
body[class*="shop_basket"] #box_basketsummary.ms-checkout-panel table.productlist thead td.time,
body[class*="shop_basket"] #box_basketsummary.ms-checkout-panel table.productlist thead td.quantity,
body[class*="shop_basket"] #box_basketsummary.ms-checkout-panel table.productlist thead td.price,
body[class*="shop_basket"] #box_basketsummary.ms-checkout-panel table.productlist thead td.sum {
  text-align: center !important;
}

body[class*="shop_basket"] #box_basketsummary table.productlist.zebra tbody tr,
body[class*="shop_basket"] #box_basketsummary table.productlist.zebra tbody tr:nth-child(even),
body[class*="shop_basket"] #box_basketsummary table.productlist.zebra tbody tr:nth-child(odd),
body[class*="shop_basket"] #box_basketsummary.ms-checkout-panel table.productlist.zebra tbody tr,
body[class*="shop_basket"] #box_basketsummary.ms-checkout-panel table.productlist.zebra tbody tr:nth-child(even) {
  background: #fff !important;
}

body[class*="shop_basket"] #box_basketsummary table.productlist td,
body[class*="shop_basket"] #box_basketsummary.ms-checkout-panel table.productlist td {
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: 1px solid var(--header-border) !important;
  padding: 14px 12px !important;
  color: var(--brand-color-ink) !important;
  vertical-align: middle !important;
  font-family: var(--font-sans) !important;
}

body[class*="shop_basket"] #box_basketsummary table.productlist .name a,
body[class*="shop_basket"] #box_basketsummary.ms-checkout-panel table.productlist .name a {
  color: var(--brand-color-ink) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body[class*="shop_basket"] #box_basketsummary table.productlist .name a:hover {
  text-decoration: underline !important;
}

body[class*="shop_basket"] #box_basketsummary table.productlist td.img img,
body[class*="shop_basket"] #box_basketsummary .ms-basket-product-thumb img {
  border-radius: 8px !important;
  border: 1px solid var(--header-border) !important;
  display: block !important;
}

body[class*="shop_basket"] #box_basketsummary .address-box,
body[class*="shop_basket"] #box_basketsummary .s-grid-6,
body[class*="shop_basket"] #box_basketsummary .box {
  border-color: var(--header-border);
}

body[class*="shop_basket"] #box_basketsummary h4,
body[class*="shop_basket"] #box_basketsummary h5 {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
}

/* —— Done / finished (#box_basketfinal) —— */
body[class*="shop_basket"] #box_basketfinal.ms-checkout-final,
body[class*="shop_basket"] #box_basketfinal {
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: visible !important;
}

body[class*="shop_basket"] #box_basketfinal.ms-checkout-final .boxhead,
body[class*="shop_basket"] #box_basketfinal .boxhead {
  text-align: center !important;
  border-bottom: none !important;
  padding: 28px 24px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body[class*="shop_basket"] #box_basketfinal.ms-checkout-final .boxhead span,
body[class*="shop_basket"] #box_basketfinal .boxhead span {
  display: inline-block !important;
  max-width: max-content !important;
  margin: 0 auto !important;
  padding: 0 0 8px !important;
  border: none !important;
  border-bottom: 3px solid var(--brand-color) !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

body[class*="shop_basket"] #box_basketfinal.ms-checkout-final .boxhead span::before,
body[class*="shop_basket"] #box_basketfinal .boxhead span::before {
  content: "\f00c" !important;
  font-family: FontAwesome !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  margin: 0 auto 12px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--brand-color) !important;
  font-size: 28px !important;
  font-weight: 400 !important;
}

body[class*="shop_basket"] #box_basketfinal.ms-checkout-final .boxhead img.px1,
body[class*="shop_basket"] #box_basketfinal .boxhead img.px1 {
  display: none !important;
}

body[class*="shop_basket"] #box_basketfinal.ms-checkout-final .innerbox,
body[class*="shop_basket"] #box_basketfinal .innerbox {
  padding: 20px 28px 32px !important;
  text-align: center !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  overflow: visible !important;
}

body[class*="shop_basket"] #box_basketfinal .innerbox > p,
body[class*="shop_basket"] #box_basketfinal .innerbox p {
  margin: 0 0 12px !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  color: var(--brand-color-ink) !important;
  text-align: center !important;
}

body[class*="shop_basket"] #box_basketfinal .innerbox > p:first-of-type,
body[class*="shop_basket"] #box_basketfinal .innerbox > p:first-of-type strong {
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: var(--brand-color-ink) !important;
}

body[class*="shop_basket"] #box_basketfinal .innerbox strong {
  font-weight: 700 !important;
  color: var(--brand-color-ink) !important;
}

body[class*="shop_basket"] #box_basketfinal .innerbox a {
  color: var(--brand-color-ink) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
  text-underline-offset: 2px !important;
}

body[class*="shop_basket"] #box_basketfinal.ms-checkout-final h4,
body[class*="shop_basket"] #box_basketfinal.ms-checkout-final .paystatus,
body[class*="shop_basket"] #box_basketfinal h4,
body[class*="shop_basket"] #box_basketfinal .paystatus {
  margin: 0 0 14px !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

/* Payment CTA — never hide gateway forms / pay buttons */
body[class*="shop_basket"] #box_basketfinal form,
body[class*="shop_basket"] #box_basketfinal .innerbox form {
  display: block !important;
  visibility: visible !important;
  margin: 16px 0 !important;
  overflow: visible !important;
}

body[class*="shop_basket"] #box_basketfinal button.btn,
body[class*="shop_basket"] #box_basketfinal button.important,
body[class*="shop_basket"] #box_basketfinal .btn.btn-red,
body[class*="shop_basket"] #box_basketfinal a.btn,
body[class*="shop_basket"] #box_basketfinal form button,
body[class*="shop_basket"] #box_basketfinal form input[type="submit"],
body[class*="shop_basket"] #box_basketfinal input.important,
body[class*="shop_basket"] #box_basketfinal a.important {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  margin: 16px 0 8px !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  border: 1px solid var(--brand-color) !important;
  background: var(--brand-color) !important;
  background-image: none !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

body[class*="shop_basket"] #box_basketfinal button.btn::before,
body[class*="shop_basket"] #box_basketfinal button.important::before,
body[class*="shop_basket"] #box_basketfinal .btn.btn-red::before,
body[class*="shop_basket"] #box_basketfinal a.important::before {
  content: none !important;
  display: none !important;
}

body[class*="shop_basket"] #box_basketfinal button.btn span,
body[class*="shop_basket"] #box_basketfinal button.important span,
body[class*="shop_basket"] #box_basketfinal a.btn span {
  color: #fff !important;
  background: transparent !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
}

body[class*="shop_basket"] #box_basketfinal button.btn:hover,
body[class*="shop_basket"] #box_basketfinal button.important:hover,
body[class*="shop_basket"] #box_basketfinal .btn.btn-red:hover,
body[class*="shop_basket"] #box_basketfinal a.btn:hover,
body[class*="shop_basket"] #box_basketfinal form button:hover,
body[class*="shop_basket"] #box_basketfinal form input[type="submit"]:hover,
body[class*="shop_basket"] #box_basketfinal a.important:hover {
  background: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
}

body[class*="shop_basket"] #box_basketfinal button.btn:hover span,
body[class*="shop_basket"] #box_basketfinal button.important:hover span,
body[class*="shop_basket"] #box_basketfinal a.btn:hover span {
  color: #fff !important;
}

body[class*="shop_basket"] #box_basketfinal button img.px1 {
  display: none !important;
}

@media (max-width: 767px) {
  body[class*="shop_basket"] #box_basketfinal.ms-checkout-final .innerbox,
  body[class*="shop_basket"] #box_basketfinal .innerbox {
    padding: 16px 16px 24px !important;
  }

  body[class*="shop_basket"] #box_basketfinal.ms-checkout-final .boxhead,
  body[class*="shop_basket"] #box_basketfinal .boxhead {
    padding: 20px 16px 0 !important;
  }

  body[class*="shop_basket"] #box_basketfinal button.btn,
  body[class*="shop_basket"] #box_basketfinal button.important,
  body[class*="shop_basket"] #box_basketfinal a.btn,
  body[class*="shop_basket"] #box_basketfinal form button {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* —— Mobile —— */
@media (max-width: 998px) {
  header.ms-checkout-header .logo-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .basket-steps.ms-basket-steps {
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
  }

  body.shop_basket #cart-options.ms-cart-options {
    grid-template-columns: 1fr !important;
  }

  body.shop_basket #cart-options.ms-cart-options .summary-container > .promo-container {
    margin-bottom: 16px !important;
  }

  body.shop_basket #cart-options.ms-cart-options .promocode {
    margin-bottom: 16px !important;
  }

  body.shop_basket #cart-options.ms-cart-options .buttons {
    justify-content: stretch;
  }

  body.shop_basket #cart-options.ms-cart-options .buttons .order,
  body.shop_basket #cart-options.ms-cart-options .buttons .back,
  body[class*="shop_basket"] .btn.btn-red:not(.search__btn-search):not(.search-btn),
  body[class*="shop_basket"] .btn.back {
    width: 100%;
    text-align: center;
  }

  body.shop_basket #cart-options.ms-cart-options .buttons .order,
  body.shop_basket #cart-options.ms-cart-options .buttons .order span {
    color: #fff !important;
  }
}

@media (max-width: 767px) {
  .basket-steps.ms-basket-steps ol li span {
    font-size: 10px !important;
  }

  .basket-steps.ms-basket-steps ol li:not(.active-step):not(.mark-green) span {
    display: none !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist thead {
    display: none;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody {
    display: block;
    width: 100% !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product {
    display: grid !important;
    grid-template-columns: 56px 1fr auto auto !important;
    grid-template-areas:
      "img name actions actions"
      "img price qty sum";
    gap: 6px 10px !important;
    align-items: start !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--header-border) !important;
    min-height: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody td.quantity,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody td.sum,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody td.actions,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody tr.k_tr_product td,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody tr.k_tr_product td.img,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody tr.k_tr_product td.name,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody tr.k_tr_product td.quantity,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody tr.k_tr_product td.sum,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody tr.k_tr_product td.price,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody tr.k_tr_product td.actions {
    display: block !important;
    border: none !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    text-align: left !important;
    float: none !important;
    vertical-align: top !important;
  }

  /* skin hides .large under 480px — force thumb visible */
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.img,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.img.large {
    grid-area: img !important;
    display: block !important;
    width: 56px !important;
    min-width: 56px !important;
    align-self: start !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.img .ms-basket-product-thumb,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.img img {
    display: block !important;
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    object-fit: contain !important;
    border: 1px solid var(--header-border) !important;
    border-radius: 8px !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.name {
    grid-area: name !important;
    min-width: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    align-self: start !important;
    padding-top: 2px !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.name a {
    font-size: 13px !important;
    line-height: 1.3 !important;
    text-align: left !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.name .variant {
    font-size: 11px !important;
    margin-top: 1px !important;
    text-align: left !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody tr.k_tr_product td.quantity {
    grid-area: qty !important;
    align-self: start !important;
    justify-self: end !important;
    text-align: left !important;
    white-space: nowrap !important;
    padding-right: 4px !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.quantity .quantity-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    width: auto !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.quantity .quantity-widget {
    display: inline-flex !important;
    align-items: center !important;
    height: 32px !important;
    width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.quantity .quantity-widget .quantity-btn {
    width: 28px !important;
    height: 32px !important;
    line-height: 32px !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.quantity .quantity-widget input.short,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.quantity input.short,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.quantity input[type="number"].short,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.quantity input[type="text"].short {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 2px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    flex-shrink: 0 !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.quantity .shaded_inputwrap {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.price,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.price.rwd-hide-small {
    display: block !important;
    grid-area: price !important;
    justify-self: start !important;
    align-self: start !important;
    text-align: left !important;
    font-size: 13px !important;
    line-height: 32px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tbody tr.k_tr_product td.sum {
    grid-area: sum !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 32px !important;
    text-align: right !important;
    justify-self: end !important;
    align-self: start !important;
    white-space: nowrap !important;
    border-left: 1px solid var(--header-border) !important;
    padding-left: 14px !important;
    margin-left: 6px !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.sum em {
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 32px !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.actions {
    grid-area: actions !important;
    justify-self: end !important;
    align-self: start !important;
    text-align: right !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.actions a.prodremove {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.time {
    display: none !important;
  }
}

@media (max-width: 480px) {
  /* Override skin .large { display:none } that hid basket thumbs */
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.img.large,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.img {
    display: block !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.quantity .quantity-widget input.short,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.quantity input.short {
    width: 36px !important;
    text-align: center !important;
  }

  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.sum,
  body.shop_basket #box_basketlist.ms-basket-page table.productlist tr.k_tr_product td.sum * {
    text-align: right !important;
  }
}

/* === end MS Checkout === */

/* === MS Login page (#box_login) === */
#box_login.ms-login-panel,
#box_login {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
}

#box_login .social-login-buttons {
  margin: 0 !important;
  padding: 20px 20px 0 !important;
  border: none !important;
  text-align: left !important;
  clear: both !important;
}

#box_login .social-login-buttons h3 {
  margin: 0 0 14px !important;
  padding: 0 0 6px !important;
  display: block !important;
  width: auto !important;
  max-width: max-content !important;
  border-bottom: 3px solid var(--brand-color) !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--brand-color-ink) !important;
  text-transform: none !important;
  float: none !important;
  clear: both !important;
}

#box_login .social-login-buttons .btn,
#box_login .social-login-buttons a.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  float: none !important;
  min-height: 44px !important;
  margin: 0 8px 10px 0 !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  border: 1px solid var(--header-border) !important;
  background: #fff !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

#box_login .social-login-buttons .btn:hover,
#box_login .social-login-buttons a.btn:hover {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--brand-color-ink) !important;
  color: var(--brand-color-ink) !important;
}

#box_login .social-login-buttons .btn-login-shoper_sso {
  background: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
}

#box_login .social-login-buttons .btn-login-shoper_sso:hover {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

#box_login .innerbox {
  padding: 20px !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

#box_login .f-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 16px !important;
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
}

#box_login .login-inner.f-grid-6,
#box_login .register-inner.f-grid-6,
#box_login form.login-inner,
#box_login .register-inner {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  flex: 1 1 280px !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
}

#box_login form.login-inner fieldset,
#box_login .register-form fieldset {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

#box_login .login-head,
#box_login .register-head,
#box_login h3.login-head,
#box_login h3.register-head {
  margin: 0 0 16px !important;
  padding: 0 0 8px !important;
  display: block !important;
  width: auto !important;
  max-width: max-content !important;
  border: none !important;
  border-bottom: 3px solid var(--brand-color) !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  background: transparent !important;
}

#box_login .login-head img.px1,
#box_login .register-head img.px1 {
  display: none !important;
}

#box_login .login-head span,
#box_login .register-head span {
  color: inherit !important;
  font: inherit !important;
}

#box_login .login-inner > fieldset > label,
#box_login label.ms-float-native-hidden,
#box_login .ms-float-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#box_login .ms-float-field {
  width: 100% !important;
  margin: 0 0 12px !important;
}

#box_login .login-inner input[type="text"],
#box_login .login-inner input[type="password"],
#box_login .login-inner input[type="email"] {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#box_login .register-inner > p {
  margin: 0 0 10px !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: var(--header-muted, #6b6b6b) !important;
}

#box_login ul.register-addons {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
}

#box_login ul.register-addons li {
  position: relative !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 0 8px !important;
  padding: 0 0 0 16px !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: var(--brand-color-ink) !important;
}

#box_login ul.register-addons li::marker {
  content: none !important;
  font-size: 0 !important;
}

#box_login ul.register-addons li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.55em !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: var(--brand-color) !important;
  border: none !important;
  box-shadow: none !important;
}

#box_login .register-form {
  margin: auto 0 0 !important;
  padding-top: 12px !important;
  width: 100% !important;
}

#box_login button.btn,
#box_login .btn.btn-red,
#box_login .btn.register,
#box_login .btn.login {
  width: 100% !important;
  min-height: 44px !important;
  margin: 8px 0 0 !important;
  padding: 10px 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--brand-color) !important;
  background-image: none !important;
  border: 1px solid var(--brand-color) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

#box_login button.btn::before,
#box_login .btn.register::before,
#box_login .btn.login::before {
  content: none !important;
  display: none !important;
}

#box_login button.btn span,
#box_login .btn.register span,
#box_login .btn.login span {
  color: #fff !important;
  background: transparent !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#box_login button.btn:hover,
#box_login .btn.btn-red:hover,
#box_login .btn.register:hover,
#box_login .btn.login:hover {
  background: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
}

#box_login button.btn:hover span,
#box_login .btn.register:hover span,
#box_login .btn.login:hover span {
  color: #fff !important;
}

#box_login button.btn img.px1 {
  display: none !important;
}

#box_login .login-inner fieldset > p {
  margin: 12px 0 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: var(--header-muted, #6b6b6b) !important;
}

#box_login .login-inner fieldset > p a {
  color: var(--brand-color-ink) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
  text-underline-offset: 2px !important;
}

@media (max-width: 979px) {
  #box_login .f-row {
    flex-direction: column !important;
  }

  #box_login .login-inner.f-grid-6,
  #box_login .register-inner.f-grid-6,
  #box_login form.login-inner,
  #box_login .register-inner {
    flex: 1 1 auto !important;
    width: 100% !important;
  }

  #box_login .ms-login-promo,
  #box_login > h2 {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
}

/* === MS Customer panel (#box_panel) === */
#box_panel.ms-panel,
#box_panel {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
}

#box_panel .boxhead {
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 20px 20px 0 !important;
  margin: 0 !important;
}

#box_panel .boxhead > span {
  display: inline-block !important;
  max-width: max-content !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 0 8px !important;
  border: none !important;
  border-bottom: 3px solid var(--brand-color) !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

#box_panel .innerbox {
  padding: 20px !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

#box_panel h4.separator,
#box_panel h4 {
  clear: both !important;
  float: none !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 28px 0 14px !important;
  padding: 0 0 8px !important;
  border: none !important;
  border-bottom: 3px solid var(--brand-color) !important;
  background: transparent !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

#box_panel h4.first.separator {
  margin-top: 0 !important;
}

#box_panel h4.separator:has(+ ul.loyalty) {
  margin-top: 28px !important;
}

/* Tylko „Ustawienia konta” (.no-border) — bez limonkowej kreski; reszta h4 zostaje */
#box_panel h4.separator.no-border,
#box_panel h4.no-border {
  border: none !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

#box_panel .innerbox > p.name,
#box_panel p.name {
  margin: 0 0 4px !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--brand-color-ink) !important;
  line-height: 1.35 !important;
}

#box_panel .innerbox > p.mail,
#box_panel p.mail {
  margin: 0 0 16px !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--header-muted, #6b6b6b) !important;
  line-height: 1.4 !important;
}

#box_panel a.btn,
#box_panel a.button,
#box_panel .btn.spanhover,
#box_panel .button.spanhover {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  min-height: 44px !important;
  margin: 0 10px 10px 0 !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  border: 1px solid var(--header-border) !important;
  background: #fff !important;
  background-image: none !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

#box_panel a.btn::before,
#box_panel a.button::before,
#box_panel .btn.spanhover::before {
  content: none !important;
  display: none !important;
}

#box_panel a.btn img.px1,
#box_panel a.button img.px1 {
  display: none !important;
}

#box_panel a.btn span,
#box_panel a.button span {
  color: inherit !important;
  background: transparent !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

#box_panel a.btn:hover,
#box_panel a.button:hover,
#box_panel .btn.spanhover:hover {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--brand-color-ink) !important;
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
}

/* Panel ambasadora — primary CTA */
#box_panel p.show-partner-panel,
#box_panel p.show-partner-panel.btn,
#box_panel p.show-partner-panel.editaddresses {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  clear: both !important;
  min-height: 44px !important;
  margin: 20px 0 0 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  border: 1px solid var(--brand-color) !important;
  background: var(--brand-color) !important;
  background-image: none !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: background-color 0.18s ease, border-color 0.18s ease !important;
}

#box_panel p.show-partner-panel span {
  color: #fff !important;
  background: transparent !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  line-height: 1.2 !important;
}

#box_panel p.show-partner-panel:hover,
#box_panel p.show-partner-panel.btn:hover,
#box_panel p.show-partner-panel.editaddresses:hover {
  background: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
  text-decoration: none !important;
}

#box_panel p.show-partner-panel:hover span {
  color: #fff !important;
}

#box_panel a.editprofile,
#box_panel a.editprofile.btn,
#box_panel a.editprofile.btn.spanhover,
#box_panel a.allorders,
#box_panel a.allorders.btn,
#box_panel a.allorders.btn.spanhover,
#box_panel a.editaddresses,
#box_panel a.editaddresses.btn,
#box_panel a.editaddresses.btn.spanhover {
  background: var(--brand-color) !important;
  background-color: var(--brand-color) !important;
  background-image: none !important;
  border-color: var(--brand-color) !important;
  color: #fff !important;
}

#box_panel a.editprofile span,
#box_panel a.editprofile.btn span,
#box_panel a.allorders span,
#box_panel a.allorders.btn span,
#box_panel a.editaddresses span,
#box_panel a.editaddresses.btn span {
  color: #fff !important;
  background: transparent !important;
}

#box_panel a.editprofile:hover,
#box_panel a.editprofile.btn:hover,
#box_panel a.editprofile.btn.spanhover:hover,
#box_panel a.allorders:hover,
#box_panel a.allorders.btn:hover,
#box_panel a.allorders.btn.spanhover:hover,
#box_panel a.editaddresses:hover,
#box_panel a.editaddresses.btn:hover,
#box_panel a.editaddresses.btn.spanhover:hover {
  background: var(--brand-color-ink) !important;
  background-color: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
}

#box_panel a.editprofile:hover span,
#box_panel a.editprofile.btn:hover span,
#box_panel a.allorders:hover span,
#box_panel a.allorders.btn:hover span,
#box_panel a.editaddresses:hover span,
#box_panel a.editaddresses.btn:hover span {
  color: #fff !important;
}

#box_panel ul.address {
  list-style: none !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  float: none !important;
  clear: both !important;
}

#box_panel ul.address li {
  list-style: none !important;
  flex: 1 1 260px !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  float: none !important;
  display: block !important;
}

#box_panel ul.address li b.title {
  display: block !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 0 12px !important;
  padding: 0 0 6px !important;
  border: none !important;
  border-bottom: 2px solid var(--brand-color) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: var(--brand-color-ink) !important;
  line-height: 1.3 !important;
}

#box_panel ul.address li p,
#box_panel ul.address li b:not(.title) {
  margin: 0 0 4px !important;
  padding: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: var(--brand-color-ink) !important;
}

#box_panel ul.loyalty {
  list-style: none !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  float: none !important;
}

#box_panel ul.loyalty li {
  list-style: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  float: none !important;
}

#box_panel ul.loyalty p.sum {
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 10px !important;
  background: var(--header-bg-soft, #f7f7f7) !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--brand-color-ink) !important;
}

#box_panel ul.loyalty p.sum b {
  font-weight: 800 !important;
  color: var(--brand-color-ink) !important;
}

#box_panel a.loyaltylist {
  width: auto !important;
  max-width: 100% !important;
  text-align: left !important;
  justify-content: flex-start !important;
  text-decoration: none !important;
}

#box_panel table.orders,
#box_panel table.table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: none !important;
  margin: 0 0 16px !important;
  background: #fff !important;
}

#box_panel table.orders thead th,
#box_panel table.orders thead td,
#box_panel table.table thead th {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--header-border) !important;
  color: var(--header-muted, #6b6b6b) !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  padding: 10px 12px !important;
  text-align: left !important;
}

#box_panel table.orders thead th.sum,
#box_panel table.orders thead th.status,
#box_panel table.orders thead th.parcels,
#box_panel table.orders thead th.quantity,
#box_panel table.orders thead th.points {
  text-align: center !important;
}

#box_panel table.orders tbody td,
#box_panel table.table tbody td {
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: 1px solid var(--header-border) !important;
  padding: 12px !important;
  vertical-align: middle !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  color: var(--brand-color-ink) !important;
  background: #fff !important;
}

#box_panel table.orders tbody td.sum,
#box_panel table.orders tbody td.status,
#box_panel table.orders tbody td.parcels,
#box_panel table.orders tbody td.quantity,
#box_panel table.orders tbody td.points {
  text-align: center !important;
}

#box_panel table.orders tbody tr.odd td,
#box_panel table.orders tbody tr.even td {
  background: #fff !important;
}

#box_panel table.orders a {
  color: var(--brand-color-ink) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
  text-underline-offset: 2px !important;
}

#box_panel table.orders .smalldate,
#box_panel table.orders .date {
  display: block !important;
  margin-top: 2px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--header-muted, #6b6b6b) !important;
}

#box_panel .innerbox > .row {
  float: none !important;
  clear: both !important;
  margin: 0 0 8px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

@media (max-width: 767px) {
  #box_panel .innerbox {
    padding: 16px !important;
  }

  #box_panel a.btn,
  #box_panel a.button,
  #box_panel p.show-partner-panel {
    width: 100% !important;
    margin-right: 0 !important;
  }

  #box_panel ul.address {
    flex-direction: column !important;
  }

  #box_panel ul.address li {
    flex: 1 1 auto !important;
    width: 100% !important;
  }

  #box_panel table.orders,
  #box_panel table.orders thead,
  #box_panel table.orders tbody,
  #box_panel table.orders tr,
  #box_panel table.orders th,
  #box_panel table.orders td {
    display: block !important;
    width: 100% !important;
  }

  #box_panel table.orders thead {
    display: none !important;
  }

  #box_panel table.orders tbody tr {
    margin: 0 0 12px !important;
    padding: 12px !important;
    border: 1px solid var(--header-border) !important;
    border-radius: 10px !important;
  }

  #box_panel table.orders tbody td {
    border: none !important;
    padding: 4px 0 !important;
    text-align: left !important;
  }
}

/* === MS Loyalty tooltip + #box_loyalty === */
.tooltip {
  position: relative !important;
  display: inline-block !important;
  font-family: var(--font-sans) !important;
  vertical-align: baseline !important;
}

.tooltip .tooltip-pointer,
.tooltip .color_highlight.tooltip-pointer {
  display: inline-block !important;
  cursor: pointer !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
  text-underline-offset: 3px !important;
  background: transparent !important;
}

.tooltip .tooltip-pointer:hover,
.tooltip .color_highlight.tooltip-pointer:hover {
  color: var(--brand-color-ink) !important;
  text-decoration-color: var(--brand-color-ink) !important;
}

.tooltip .tooltip-container {
  position: absolute !important;
  display: none !important;
  left: 0 !important;
  right: auto !important;
  top: 100% !important;
  margin-top: 10px !important;
  z-index: 40 !important;
  min-width: 280px !important;
  max-width: 360px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--brand-color-ink) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1) !important;
  box-sizing: border-box !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

.tooltip .tooltip-pointer:hover + .tooltip-container,
.tooltip:hover .tooltip-container,
.tooltip:focus-within .tooltip-container {
  display: block !important;
}

.tooltip .tooltip-container::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: -7px !important;
  left: 18px !important;
  right: auto !important;
  width: 12px !important;
  height: 12px !important;
  border: none !important;
  border-top: 1px solid var(--header-border) !important;
  border-left: 1px solid var(--header-border) !important;
  background: #fff !important;
  transform: rotate(45deg) !important;
  box-shadow: none !important;
}

.tooltip .tooltip-container ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tooltip .tooltip-container li {
  list-style: none !important;
  position: relative !important;
  margin: 0 0 12px !important;
  padding: 0 0 0 14px !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

.tooltip .tooltip-container li:last-child {
  margin-bottom: 0 !important;
}

.tooltip .tooltip-container li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.5em !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: var(--brand-color) !important;
}

.tooltip .tooltip-container li strong {
  display: block !important;
  margin: 0 0 4px !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: var(--brand-color-ink) !important;
  line-height: 1.3 !important;
}

#box_loyalty {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: visible !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
}

#box_loyalty .boxhead {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 20px 20px 0 !important;
  margin: 0 !important;
}

#box_loyalty .boxhead h3 {
  display: inline-block !important;
  max-width: max-content !important;
  margin: 0 !important;
  padding: 0 0 8px !important;
  border: none !important;
  border-bottom: 3px solid var(--brand-color) !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

#box_loyalty .boxhead h3 img.px1 {
  display: none !important;
}

#box_loyalty .innerbox {
  padding: 16px 20px 20px !important;
}

#box_loyalty .innerbox > .mb-2 > .r--fs-xl,
#box_loyalty .r--fs-xl {
  display: block !important;
  margin: 0 0 10px !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--brand-color-ink) !important;
}

#box_loyalty .loyalty_filter {
  margin-top: 16px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 10px !important;
  background: var(--header-bg-soft, #f7f7f7) !important;
  font-family: var(--font-sans) !important;
}

#box_loyalty .loyalty_filter b {
  margin-right: 10px !important;
  font-weight: 700 !important;
  color: var(--brand-color-ink) !important;
}

#box_loyalty .loyalty_filter label {
  margin-right: 14px !important;
  font-weight: 500 !important;
  color: var(--brand-color-ink) !important;
  cursor: pointer !important;
}

@media (max-width: 767px) {
  .tooltip .tooltip-container {
    left: 0 !important;
    right: auto !important;
    min-width: 0 !important;
    max-width: 280px !important;
    width: 280px !important;
  }
}

/* === MS Password change (#box_passchange) === */
#box_passchange.ms-panel,
#box_passchange {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  max-width: 560px !important;
}

#box_passchange .boxhead {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 20px 20px 0 !important;
  margin: 0 !important;
}

#box_passchange .boxhead > span {
  display: inline-block !important;
  max-width: max-content !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 0 8px !important;
  border: none !important;
  border-bottom: 3px solid var(--brand-color) !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

#box_passchange .innerbox {
  padding: 20px !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

#box_passchange form,
#box_passchange fieldset {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

#box_passchange fieldset > label,
#box_passchange label.ms-float-native-hidden,
#box_passchange .ms-float-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#box_passchange .ms-float-field {
  width: 100% !important;
  margin: 0 0 14px !important;
}

#box_passchange .shaded_inputwrap {
  display: block !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

#box_passchange .shaded_inputwrap input {
  width: 100% !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 16px 14px !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  color: var(--brand-color-ink) !important;
  box-sizing: border-box !important;
}

#box_passchange em.color {
  color: var(--brand-color-ink) !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

#box_passchange fieldset > div:not(.bottombuttons):not(.ms-float-field):not(.shaded_inputwrap) {
  margin: 4px 0 16px !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  color: var(--header-muted, #6b6b6b) !important;
}

#box_passchange ul.error,
#box_passchange ul.input_error {
  margin: -8px 0 12px !important;
  padding: 0 !important;
  list-style: none !important;
  color: #b00020 !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
}

#box_passchange .bottombuttons {
  float: none !important;
  clear: both !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  text-align: left !important;
  border: none !important;
}

#box_passchange button.btn,
#box_passchange button.btn.save {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  min-height: 44px !important;
  min-width: 140px !important;
  margin: 0 !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  border: 1px solid var(--brand-color) !important;
  background: var(--brand-color) !important;
  background-color: var(--brand-color) !important;
  background-image: none !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

#box_passchange button.btn::before,
#box_passchange button.btn.save::before {
  content: none !important;
  display: none !important;
}

#box_passchange button.btn img.px1 {
  display: none !important;
}

#box_passchange button.btn span,
#box_passchange button.btn.save span {
  color: #fff !important;
  background: transparent !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

#box_passchange button.btn:hover,
#box_passchange button.btn.save:hover {
  background: var(--brand-color-ink) !important;
  background-color: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
}

#box_passchange button.btn:hover span,
#box_passchange button.btn.save:hover span {
  color: #fff !important;
}

@media (max-width: 767px) {
  #box_passchange {
    max-width: none !important;
  }

  #box_passchange button.btn,
  #box_passchange button.btn.save {
    width: 100% !important;
  }
}

/* === MS Addresses list (#box_addresses) === */
#box_addresses.ms-panel,
#box_addresses {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
}

#box_addresses .boxhead {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 20px 20px 0 !important;
  margin: 0 !important;
}

#box_addresses .boxhead > span {
  display: inline-block !important;
  max-width: max-content !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 0 8px !important;
  border: none !important;
  border-bottom: 3px solid var(--brand-color) !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

#box_addresses .innerbox {
  padding: 20px !important;
}

#box_addresses ul.addresses {
  list-style: none !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  float: none !important;
}

#box_addresses ul.addresses li,
#box_addresses ul.addresses li.even,
#box_addresses ul.addresses li.odd {
  list-style: none !important;
  flex: 1 1 280px !important;
  float: none !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

#box_addresses ul.addresses li p {
  margin: 0 0 4px !important;
  padding: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: var(--brand-color-ink) !important;
}

#box_addresses ul.addresses li p.name {
  font-size: 16px !important;
  font-weight: 800 !important;
  margin-bottom: 8px !important;
}

#box_addresses ul.addresses li .links {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 14px !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--header-border) !important;
}

#box_addresses ul.addresses li .links a.btn,
#box_addresses ul.addresses li .links a.edit,
#box_addresses ul.addresses li .links a.remove,
#box_addresses ul.addresses li .links a.btn.spanhover,
#box_addresses ul.addresses li .links a.edit.btn.spanhover {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  border: 1px solid var(--header-border) !important;
  background: #fff !important;
  background-image: none !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

#box_addresses ul.addresses li .links a.btn::before,
#box_addresses ul.addresses li .links a.edit::before,
#box_addresses ul.addresses li .links a.remove::before,
#box_addresses ul.addresses li .links a.btn.spanhover::before,
#box_addresses ul.addresses li .links a.btn.spanhover::after {
  content: none !important;
  display: none !important;
}

#box_addresses ul.addresses li .links a.btn img.px1 {
  display: none !important;
}

#box_addresses ul.addresses li .links a.btn span,
#box_addresses ul.addresses li .links a.edit span,
#box_addresses ul.addresses li .links a.remove span {
  color: inherit !important;
  background: transparent !important;
  text-transform: none !important;
  transition: none !important;
}

#box_addresses ul.addresses li .links a.edit:hover,
#box_addresses ul.addresses li .links a.remove:hover,
#box_addresses ul.addresses li .links a.btn:hover,
#box_addresses ul.addresses li .links a.btn.spanhover:hover,
#box_addresses ul.addresses li .links a.edit.btn.spanhover:hover {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--brand-color-ink) !important;
  color: var(--brand-color-ink) !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

#box_addresses ul.addresses li .links em.default,
#box_addresses ul.addresses li .links em.shipping {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: var(--header-bg-soft, #f7f7f7) !important;
  border: 1px solid var(--header-border) !important;
  font-style: normal !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--brand-color-ink) !important;
  line-height: 1.3 !important;
}

#box_addresses ul.addresses li .links em.default {
  border-color: var(--brand-color) !important;
  background: #fff !important;
}

#box_addresses ul.addresses li .links em img.px1 {
  display: none !important;
}

#box_addresses a.add.btn,
#box_addresses a.add.btn-red,
#box_addresses a.add.btn.btn-red,
#box_addresses a.add.btn.spanhover,
#box_addresses a.add.btn.btn-red.spanhover {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  border: 1px solid var(--brand-color) !important;
  background: var(--brand-color) !important;
  background-color: var(--brand-color) !important;
  background-image: none !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
  transition: none !important;
}

#box_addresses a.add.btn::before,
#box_addresses a.add.btn-red::before,
#box_addresses a.add.btn.spanhover::before,
#box_addresses a.add.btn.btn-red.spanhover::before,
#box_addresses a.add.btn::after,
#box_addresses a.add.btn.spanhover::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

#box_addresses a.add.btn img.px1 {
  display: none !important;
}

#box_addresses a.add.btn span,
#box_addresses a.add.btn-red span,
#box_addresses a.add.btn.btn-red span,
#box_addresses a.add.btn.spanhover span,
#box_addresses a.add.btn.btn-red.spanhover span {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  color: #fff !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  line-height: inherit !important;
  transform: none !important;
  transition: none !important;
}

#box_addresses a.add.btn:hover,
#box_addresses a.add.btn:focus-visible,
#box_addresses a.add.btn-red:hover,
#box_addresses a.add.btn-red:focus-visible,
#box_addresses a.add.btn.btn-red:hover,
#box_addresses a.add.btn.btn-red:focus-visible,
#box_addresses a.add.btn.spanhover:hover,
#box_addresses a.add.btn.spanhover:focus-visible,
#box_addresses a.add.btn.btn-red.spanhover:hover,
#box_addresses a.add.btn.btn-red.spanhover:focus-visible {
  background: var(--brand-color-ink) !important;
  background-color: var(--brand-color-ink) !important;
  background-image: none !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

#box_addresses a.add.btn:hover span,
#box_addresses a.add.btn:focus-visible span,
#box_addresses a.add.btn-red:hover span,
#box_addresses a.add.btn-red:focus-visible span,
#box_addresses a.add.btn.btn-red:hover span,
#box_addresses a.add.btn.btn-red:focus-visible span,
#box_addresses a.add.btn.spanhover:hover span,
#box_addresses a.add.btn.spanhover:focus-visible span,
#box_addresses a.add.btn.btn-red.spanhover:hover span,
#box_addresses a.add.btn.btn-red.spanhover:focus-visible span {
  color: #fff !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  transition: none !important;
}

/* === MS Address edit (#box_address) === */
#box_address.ms-panel,
#box_address {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  max-width: 720px !important;
}

#box_address .boxhead {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 20px 20px 0 !important;
  margin: 0 !important;
}

#box_address .boxhead > span {
  display: inline-block !important;
  max-width: max-content !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 0 8px !important;
  border: none !important;
  border-bottom: 3px solid var(--brand-color) !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

#box_address .boxhead img.px1 {
  display: none !important;
}

#box_address .innerbox {
  padding: 20px !important;
}

#box_address form,
#box_address fieldset {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

#box_address table.address-handler {
  width: 100% !important;
  border: none !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

#box_address table.address-handler tr {
  display: block !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  border: none !important;
  background: transparent !important;
}

#box_address table.address-handler tr.hide-state {
  display: none !important;
}

#box_address table.address-handler td {
  display: block !important;
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  border: none !important;
  box-sizing: border-box !important;
}

#box_address table.address-handler td.label {
  margin: 0 0 6px !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--brand-color-ink) !important;
}

#box_address table.address-handler td.label:has(> label.ms-float-native-hidden) {
  display: none !important;
  margin: 0 !important;
}

#box_address table.address-handler td.label > label.ms-float-native-hidden,
#box_address label.ms-float-native-hidden,
#box_address .ms-float-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#box_address .ms-float-field {
  width: 100% !important;
  margin: 0 !important;
}

#box_address .shaded_inputwrap {
  display: block !important;
  width: 100% !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

#box_address .shaded_inputwrap input {
  width: 100% !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 16px 14px !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  color: var(--brand-color-ink) !important;
  box-sizing: border-box !important;
}

#box_address select {
  display: block !important;
  width: 100% !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 0 40px 0 14px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 54px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
}

#box_address select:focus {
  border-color: var(--brand-color-ink) !important;
  outline: none !important;
}

#box_address table.address-handler td.hint {
  margin-top: 6px !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--header-muted, #6b6b6b) !important;
  line-height: 1.35 !important;
}

#box_address em.color {
  color: var(--brand-color-ink) !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

#box_address fieldset > div:not(.bottombuttons) {
  margin: 4px 0 16px !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  color: var(--header-muted, #6b6b6b) !important;
}

#box_address .bottombuttons {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  float: none !important;
  clear: both !important;
  margin: 8px 0 0 !important;
  padding: 16px 0 0 !important;
  border-top: 1px solid var(--header-border) !important;
  text-align: left !important;
}

#box_address .bottombuttons button.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

#box_address .bottombuttons button.btn::before {
  content: none !important;
  display: none !important;
}

#box_address .bottombuttons button.btn img.px1 {
  display: none !important;
}

#box_address .bottombuttons button.btn.undo {
  order: 1 !important;
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  color: var(--brand-color-ink) !important;
}

#box_address .bottombuttons button.btn.undo span {
  color: var(--brand-color-ink) !important;
  background: transparent !important;
}

#box_address .bottombuttons button.btn.undo:hover {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--brand-color-ink) !important;
}

#box_address .bottombuttons button.btn.save,
#box_address .bottombuttons button.btn.btn-red.important.save {
  order: 2 !important;
  margin-left: auto !important;
  min-width: 140px !important;
  background: var(--brand-color) !important;
  background-color: var(--brand-color) !important;
  background-image: none !important;
  border: 1px solid var(--brand-color) !important;
  color: #fff !important;
}

#box_address .bottombuttons button.btn.save span,
#box_address .bottombuttons button.btn.btn-red.important.save span {
  color: #fff !important;
  background: transparent !important;
}

#box_address .bottombuttons button.btn.save:hover,
#box_address .bottombuttons button.btn.btn-red.important.save:hover {
  background: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
}

#box_address .bottombuttons button.btn.save:hover span,
#box_address .bottombuttons button.btn.btn-red.important.save:hover span {
  color: #fff !important;
}

@media (max-width: 767px) {
  #box_addresses ul.addresses {
    flex-direction: column !important;
  }

  #box_addresses ul.addresses li {
    flex: 1 1 auto !important;
    width: 100% !important;
  }

  #box_addresses a.add.btn {
    width: 100% !important;
  }

  #box_address {
    max-width: none !important;
  }

  #box_address .bottombuttons {
    flex-direction: column-reverse !important;
  }

  #box_address .bottombuttons button.btn {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* === MS Profile edit (#box_useredit) === */
#box_useredit.ms-panel,
#box_useredit {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  max-width: 560px !important;
}

#box_useredit .boxhead {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 20px 20px 0 !important;
  margin: 0 !important;
}

#box_useredit .boxhead > span {
  display: inline-block !important;
  max-width: max-content !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 0 8px !important;
  border: none !important;
  border-bottom: 3px solid var(--brand-color) !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

#box_useredit .boxhead img.px1 {
  display: none !important;
}

#box_useredit .innerbox {
  padding: 20px !important;
}

#box_useredit form,
#box_useredit fieldset {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

#box_useredit fieldset > label[for="mail_input"],
#box_useredit fieldset > label[for="name_input"],
#box_useredit fieldset > label[for="surname_input"],
#box_useredit fieldset > label[for="newsletter_input"],
#box_useredit label.ms-float-native-hidden,
#box_useredit .ms-float-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#box_useredit .ms-float-field {
  width: 100% !important;
  margin: 0 0 14px !important;
}

#box_useredit .shaded_inputwrap {
  display: block !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

#box_useredit .shaded_inputwrap:has(.checkbox-wrap) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 0 16px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 10px !important;
  background: var(--header-bg-soft, #f7f7f7) !important;
  overflow: visible !important;
}

#box_useredit .shaded_inputwrap input[type="text"],
#box_useredit .shaded_inputwrap input[type="email"],
#box_useredit .shaded_inputwrap input[type="password"] {
  width: 100% !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 16px 14px !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  color: var(--brand-color-ink) !important;
  box-sizing: border-box !important;
}

#box_useredit .checkbox-wrap {
  position: relative !important;
  top: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

#box_useredit .checkbox-wrap input {
  position: absolute !important;
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
}

#box_useredit .checkbox-wrap label {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  cursor: pointer !important;
  background: transparent !important;
  border: none !important;
}

#box_useredit .checkbox-wrap input:checked + label {
  background: var(--brand-color) !important;
  border-radius: 3px !important;
}

#box_useredit .checkbox-wrap input:checked + label::after {
  content: "" !important;
  position: absolute !important;
  left: 5px !important;
  top: 2px !important;
  width: 5px !important;
  height: 9px !important;
  border: solid #fff !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
  box-sizing: border-box !important;
}

#box_useredit .shaded_inputwrap > label[for],
#box_useredit .input > label[for],
#box_useredit .clear .input > label {
  display: inline !important;
  flex: 1 1 220px !important;
  margin: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: var(--brand-color-ink) !important;
  cursor: pointer !important;
}

#box_useredit .shaded_inputwrap > label[for] a,
#box_useredit .input > label[for] a {
  color: var(--brand-color-ink) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
  text-underline-offset: 2px !important;
}

#box_useredit h4.separator {
  margin: 20px 0 14px !important;
  padding: 0 0 8px !important;
  max-width: max-content !important;
  border: none !important;
  border-bottom: 3px solid var(--brand-color) !important;
  background: transparent !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

#box_useredit .clear,
#box_useredit .witherror {
  clear: both !important;
  float: none !important;
  margin: 0 0 14px !important;
}

#box_useredit .clear .input,
#box_useredit .witherror .input {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

#box_useredit .check-label {
  flex: 0 0 auto !important;
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  color: var(--brand-color-ink) !important;
}

#box_useredit em.color {
  color: var(--brand-color-ink) !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

#box_useredit fieldset > div:not(.bottombuttons):not(.ms-float-field):not(.shaded_inputwrap):not(.clear):not(.witherror) {
  margin: 4px 0 16px !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  color: var(--header-muted, #6b6b6b) !important;
}

#box_useredit ul.error,
#box_useredit ul.input_error {
  margin: -8px 0 12px !important;
  padding: 0 !important;
  list-style: none !important;
  color: #b00020 !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
}

#box_useredit .bottombuttons {
  float: none !important;
  clear: both !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  text-align: left !important;
  border: none !important;
}

#box_useredit button.btn,
#box_useredit button.btn.save {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  min-height: 44px !important;
  min-width: 140px !important;
  margin: 0 !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  border: 1px solid var(--brand-color) !important;
  background: var(--brand-color) !important;
  background-color: var(--brand-color) !important;
  background-image: none !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

#box_useredit button.btn::before,
#box_useredit button.btn.save::before {
  content: none !important;
  display: none !important;
}

#box_useredit button.btn img.px1 {
  display: none !important;
}

#box_useredit button.btn span,
#box_useredit button.btn.save span {
  color: #fff !important;
  background: transparent !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

#box_useredit button.btn:hover,
#box_useredit button.btn.save:hover {
  background: var(--brand-color-ink) !important;
  background-color: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
}

#box_useredit button.btn:hover span,
#box_useredit button.btn.save:hover span {
  color: #fff !important;
}

@media (max-width: 767px) {
  #box_useredit {
    max-width: none !important;
  }

  #box_useredit button.btn,
  #box_useredit button.btn.save {
    width: 100% !important;
  }
}

/* === MS Homepage === */

/* ââ Shared homepage chrome ââ */
body.shop_index {
  font-family: var(--font-sans);
  color: var(--brand-color-ink);
}

body.shop_index .main,
body.shop_index .innermain {
  font-family: var(--font-sans);
}

/* ââ Hero slider ââ */
body.shop_index .box-slider,
body.shop_index #box_slider_37,
body.shop_index #box_slider_42 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.shop_index .box-slider .innerbox,
body.shop_index #box_slider_37 .innerbox,
body.shop_index #box_slider_42 .innerbox {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

body.shop_index .box-slider .pageslider,
body.shop_index .box-slider ul.slides,
body.shop_index .box-slider ul.slides li,
body.shop_index #box_slider_37 .pageslider,
body.shop_index #box_slider_37 ul.slides,
body.shop_index #box_slider_37 ul.slides li,
body.shop_index #box_slider_42 .pageslider,
body.shop_index #box_slider_42 ul.slides,
body.shop_index #box_slider_42 ul.slides li {
  border-radius: 12px !important;
  overflow: hidden !important;
}

body.shop_index .box-slider .pageslider,
body.shop_index #box_slider_37 .pageslider,
body.shop_index #box_slider_42 .pageslider {
  position: relative;
  border: none !important;
  box-shadow: none !important;
  box-sizing: border-box;
  margin-bottom: 0 !important;
}

body.shop_index .box-slider ul.slides li img,
body.shop_index #box_slider_37 ul.slides li img,
body.shop_index #box_slider_42 ul.slides li img {
  border-radius: 12px !important;
  display: block;
}

body.shop_index span.ps-arrow-left,
body.shop_index span.ps-arrow-right {
  color: var(--brand-color-ink) !important;
  text-shadow: none !important;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--header-border);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  box-sizing: border-box;
}

body.shop_index span.ps-arrow-left:hover,
body.shop_index span.ps-arrow-right:hover {
  background: #fff;
  border-color: var(--brand-color-ink);
  text-shadow: none !important;
}

/* ââ 3 banners ââ */
body.shop_index .mini-baner-oferta {
  box-shadow: none !important;
  border-radius: 12px;
  overflow: hidden;
  margin: 4px 0 12px 0 !important;
  border: 1px solid var(--header-border);
}

body.shop_index .modul-banerow {
  gap: 12px !important;
  margin: 0 0 24px 0;
}

body.shop_index .modul-banerow .baner-lewy,
body.shop_index .modul-banerow .baner-prawy {
  box-shadow: none !important;
  border-radius: 12px;
  border: 1px solid var(--header-border);
  overflow: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

body.shop_index .modul-banerow .baner-lewy:hover,
body.shop_index .modul-banerow .baner-prawy:hover,
body.shop_index .mini-baner-oferta:hover {
  opacity: 0.96;
}

body.shop_index .modul-banerow img,
body.shop_index .mini-baner-oferta img {
  border-radius: 0;
}

/* —— Carousel boxheads — one separator only (lime underline) —— */
body.shop_index #box_lastadded .boxhead,
body.shop_index #box_specialoffer .boxhead,
body.shop_index #box_bestsellers .boxhead,
body.shop_index [id^="box_recommendations_"] .boxhead {
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  padding: 8px 0 12px !important;
  margin: 0 0 8px !important;
  box-shadow: none !important;
  text-align: center !important;
}

body.shop_index #box_lastadded .boxhead > span,
body.shop_index #box_specialoffer .boxhead > span,
body.shop_index #box_bestsellers .boxhead > span,
body.shop_index [id^="box_recommendations_"] .boxhead > span,
body.shop_index #box_lastadded .boxhead > span a,
body.shop_index #box_specialoffer .boxhead > span a,
body.shop_index #box_bestsellers .boxhead > span a,
body.shop_index [id^="box_recommendations_"] .boxhead > span a,
body.shop_index #box_lastadded .boxhead h2,
body.shop_index #box_specialoffer .boxhead h2,
body.shop_index #box_bestsellers .boxhead h2 {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  padding: 0 0 8px !important;
  display: inline-block;
  box-shadow: inset 0 -3px 0 var(--brand-color);
  text-decoration: none !important;
}

body.shop_index #box_lastadded .boxhead > span a:hover,
body.shop_index #box_specialoffer .boxhead > span a:hover,
body.shop_index #box_bestsellers .boxhead > span a:hover {
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
}

/* ââ Product cards in homepage carousels (compact â more per row) ââ */
body.shop_index #box_lastadded .product,
body.shop_index #box_specialoffer .product,
body.shop_index #box_bestsellers .product,
body.shop_index [id^="box_recommendations_"] .product,
body.shop_product #box_productrelated .product,
#box_productrelated .related-product-card {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  padding: 8px !important;
  box-sizing: border-box;
  font-family: var(--font-sans);
  margin: 0 5px !important;
}

body.shop_index #box_lastadded .product .img-wrap,
body.shop_index #box_specialoffer .product .img-wrap,
body.shop_index #box_bestsellers .product .img-wrap,
body.shop_index #box_lastadded .product .prodimage,
body.shop_index #box_specialoffer .product .prodimage,
body.shop_index #box_bestsellers .product .prodimage,
body.shop_index #box_lastadded .product .mainimgsize,
body.shop_index #box_specialoffer .product .mainimgsize,
body.shop_index #box_bestsellers .product .mainimgsize,
body.shop_product #box_productrelated .product .img-wrap,
body.shop_product #box_productrelated .product .prodimage {
  margin: 0 0 6px !important;
}

body.shop_index #box_lastadded .product .img-wrap img,
body.shop_index #box_specialoffer .product .img-wrap img,
body.shop_index #box_bestsellers .product .img-wrap img,
body.shop_index #box_lastadded .product .prodimage img,
body.shop_index #box_specialoffer .product .prodimage img,
body.shop_index #box_bestsellers .product .prodimage img,
body.shop_index #box_lastadded .product .mainimgsize img,
body.shop_index #box_specialoffer .product .mainimgsize img,
body.shop_index #box_bestsellers .product .mainimgsize img,
body.shop_index #box_lastadded .product a > img,
body.shop_index #box_specialoffer .product a > img,
body.shop_index #box_bestsellers .product a > img,
body.shop_product #box_productrelated .product .img-wrap img,
body.shop_product #box_productrelated .product .prodimage img {
  max-height: 110px !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* MEGA RABATY — real markup uses .boximgsize (not .img-wrap); stop square 100% blow-up */
body.shop_index #box_specialoffer .product .boximgsize {
  aspect-ratio: auto !important;
  width: 100% !important;
  height: auto !important;
  max-height: 110px !important;
  min-height: 0 !important;
  margin: 0 0 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.shop_index #box_specialoffer .product .boximgsize img {
  max-height: 110px !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
}

body.shop_index #box_lastadded .product .productnamewrap,
body.shop_index #box_specialoffer .product .productnamewrap,
body.shop_index #box_bestsellers .product .productnamewrap,
body.shop_index [id^="box_recommendations_"] .product .productnamewrap,
body.shop_product #box_productrelated .product .productnamewrap {
  padding: 4px 2px !important;
  margin: 10px 0 !important;
  min-height: calc(12.5px * 1.3 * 3) !important;
  height: calc(12.5px * 1.3 * 3) !important;
  max-height: calc(12.5px * 1.3 * 3) !important;
  overflow: hidden !important;
  box-sizing: content-box !important;
  text-align: center !important;
}

body.shop_index #box_lastadded .product .productname,
body.shop_index #box_specialoffer .product .productname,
body.shop_index #box_bestsellers .product .productname,
body.shop_index [id^="box_recommendations_"] .product .productname,
body.shop_index #box_lastadded .product .productname a,
body.shop_index #box_specialoffer .product .productname a,
body.shop_index #box_bestsellers .product .productname a,
body.shop_product #box_productrelated .product .productname,
body.shop_product #box_productrelated .product .productname a,
body.shop_product #box_productrelated .product strong.productname {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 12.5px !important;
  line-height: 1.3 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-height: calc(12.5px * 1.3 * 3);
  word-break: break-word;
  text-align: center !important;
}

body.shop_index #box_lastadded .product .productname a:hover,
body.shop_index #box_specialoffer .product .productname a:hover,
body.shop_index #box_bestsellers .product .productname a:hover,
body.shop_product #box_productrelated .product .productname a:hover {
  text-decoration: underline !important;
}

body.shop_index #box_lastadded .product .price,
body.shop_index #box_specialoffer .product .price,
body.shop_index #box_bestsellers .product .price,
body.shop_index [id^="box_recommendations_"] .product .price,
body.shop_product #box_productrelated .product .price {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  margin: 4px 0 6px !important;
  padding: 0 2px !important;
  font-size: 13px !important;
  /* room for: price + Cena regularna + NajniÅ¼sza cena */
  min-height: 72px !important;
  height: 72px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

body.shop_index #box_lastadded .product .price p,
body.shop_index #box_specialoffer .product .price p,
body.shop_index #box_bestsellers .product .price p,
body.shop_index #box_lastadded .product .price .price__regular,
body.shop_index #box_specialoffer .product .price .price__regular,
body.shop_index #box_bestsellers .product .price .price__regular,
body.shop_index #box_lastadded .product .price .price__omnibus,
body.shop_index #box_specialoffer .product .price .price__omnibus,
body.shop_index #box_bestsellers .product .price .price__omnibus,
body.shop_product #box_productrelated .product .price p,
body.shop_product #box_productrelated .product .price .price__regular,
body.shop_product #box_productrelated .product .price .price__omnibus,
body.shop_product #box_productrelated .product .price .f-row {
  display: block !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  color: var(--header-muted) !important;
  text-align: center !important;
}

body.shop_index #box_lastadded .product .price .price__regular,
body.shop_index #box_specialoffer .product .price .price__regular,
body.shop_index #box_bestsellers .product .price .price__regular,
body.shop_product #box_productrelated .product .price .price__regular {
  white-space: nowrap !important;
}

body.shop_index #box_lastadded .product .price .price__regular del,
body.shop_index #box_specialoffer .product .price .price__regular del,
body.shop_index #box_bestsellers .product .price .price__regular del,
body.shop_product #box_productrelated .product .price .price__regular del,
body.shop_index #box_lastadded .product .price .price__regular .price__inactive,
body.shop_index #box_specialoffer .product .price .price__regular .price__inactive,
body.shop_index #box_bestsellers .product .price .price__regular .price__inactive,
body.shop_product #box_productrelated .product .price .price__regular .price__inactive {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

body.shop_index #box_lastadded .product .price p:first-child,
body.shop_index #box_specialoffer .product .price p:first-child,
body.shop_index #box_bestsellers .product .price p:first-child,
body.shop_product #box_productrelated .product .price p:first-child {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--brand-color-ink) !important;
  margin-bottom: 4px !important;
}

/* bare <em> inherits skin 1.4em (~18px) â force home CTA size */
body.shop_index #box_lastadded .product .price em,
body.shop_index #box_specialoffer .product .price em,
body.shop_index #box_bestsellers .product .price em,
body.shop_index [id^="box_recommendations_"] .product .price em,
body.shop_product #box_productrelated .product .price em,
body.shop_index #box_lastadded .product .price em.color,
body.shop_index #box_specialoffer .product .price em.color,
body.shop_index #box_bestsellers .product .price em.color,
body.shop_index [id^="box_recommendations_"] .product .price em.color,
body.shop_product #box_productrelated .product .price em.color {
  color: var(--brand-color-ink) !important;
  font-style: normal !important;
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

body.shop_index #box_lastadded .product .price del,
body.shop_index #box_specialoffer .product .price del,
body.shop_index #box_bestsellers .product .price del,
body.shop_product #box_productrelated .product .price del {
  color: var(--header-muted) !important;
  font-weight: 500;
  text-align: center !important;
}

body.shop_product #box_productrelated .product .price .label-price,
body.shop_product #box_productrelated .product .price .tax-additional-info,
body.shop_product #box_productrelated .product .price .unit-price-container,
body.shop_product #box_productrelated .product .price .price-netto,
body.shop_product #box_productrelated .product .price .hint,
body.shop_product #box_productrelated .product .price .price__additional-info {
  display: none !important;
}

/* —— MS primary button: brand → black on hover —— */
.ms-btn-primary,
body.shop_index .product button.addtobasket.btn.btn-red,
body.shop_index .product .addtobasket.btn.btn-red,
#box_lastadded .product button.addtobasket.btn.btn-red,
#box_specialoffer .product button.addtobasket.btn.btn-red,
#box_bestsellers .product button.addtobasket.btn.btn-red,
[id^="box_recommendations_"] .product button.addtobasket.btn.btn-red,
body.shop_product button.addtobasket.btn.btn-red,
body.shop_product .addtobasket.btn.btn-red,
#box_mainproducts .product button.addtobasket.btn.btn-red,
#box_mainproducts .product .addtobasket.btn.btn-red,
body.shop_product_list .product button.addtobasket.btn.btn-red,
body.shop_product_list .product .addtobasket.btn.btn-red,
.modal .ask-for-product button.btn,
#box_mailfriend button.btn,
.edrone-form-button,
body.shop_index .edrone-form-button {
  background-color: var(--brand-color) !important;
  background-image: none !important;
  border: 1px solid var(--brand-color) !important;
  border-radius: 8px !important;
  color: #fff !important;
  text-shadow: none !important;
  box-shadow: none !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease !important;
}

.ms-btn-primary::before,
body.shop_index .product button.addtobasket.btn.btn-red::before,
body.shop_index .product .addtobasket.btn.btn-red::before,
#box_lastadded .product button.addtobasket.btn.btn-red::before,
#box_specialoffer .product button.addtobasket.btn.btn-red::before,
#box_bestsellers .product button.addtobasket.btn.btn-red::before,
[id^="box_recommendations_"] .product button.addtobasket.btn.btn-red::before,
body.shop_product button.addtobasket.btn.btn-red::before,
body.shop_product .addtobasket.btn.btn-red::before,
#box_mainproducts .product button.addtobasket.btn.btn-red::before,
#box_mainproducts .product .addtobasket.btn.btn-red::before,
body.shop_product_list .product button.addtobasket.btn.btn-red::before,
.modal .ask-for-product button.btn::before,
#box_mailfriend button.btn::before,
.edrone-form-button::before,
body.shop_index .edrone-form-button::before {
  content: none !important;
  display: none !important;
}

body.shop_index .product button.addtobasket.btn.btn-red span,
#box_lastadded .product button.addtobasket.btn.btn-red span,
#box_specialoffer .product button.addtobasket.btn.btn-red span,
#box_bestsellers .product button.addtobasket.btn.btn-red span,
[id^="box_recommendations_"] .product button.addtobasket.btn.btn-red span,
body.shop_product button.addtobasket.btn.btn-red span,
#box_mainproducts .product button.addtobasket.btn.btn-red span,
body.shop_product_list .product button.addtobasket.btn.btn-red span,
.modal .ask-for-product button.btn span,
#box_mailfriend button.btn span,
.ms-btn-primary span {
  color: #fff !important;
  background: transparent !important;
  transition: color 0.18s ease !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  line-height: inherit !important;
}

.ms-btn-primary:hover,
.ms-btn-primary:focus-visible,
body.shop_index .product button.addtobasket.btn.btn-red:hover,
body.shop_index .product button.addtobasket.btn.btn-red:focus-visible,
body.shop_index .product .addtobasket.btn.btn-red:hover,
#box_lastadded .product button.addtobasket.btn.btn-red:hover,
#box_lastadded .product button.addtobasket.btn.btn-red:focus-visible,
#box_specialoffer .product button.addtobasket.btn.btn-red:hover,
#box_specialoffer .product button.addtobasket.btn.btn-red:focus-visible,
#box_bestsellers .product button.addtobasket.btn.btn-red:hover,
#box_bestsellers .product button.addtobasket.btn.btn-red:focus-visible,
[id^="box_recommendations_"] .product button.addtobasket.btn.btn-red:hover,
body.shop_product button.addtobasket.btn.btn-red:hover,
body.shop_product button.addtobasket.btn.btn-red:focus-visible,
body.shop_product .addtobasket.btn.btn-red:hover,
#box_mainproducts .product button.addtobasket.btn.btn-red:hover,
#box_mainproducts .product button.addtobasket.btn.btn-red:focus-visible,
#box_mainproducts .product .addtobasket.btn.btn-red:hover,
body.shop_product_list .product button.addtobasket.btn.btn-red:hover,
body.shop_product_list .product button.addtobasket.btn.btn-red:focus-visible,
.modal .ask-for-product button.btn:hover,
.modal .ask-for-product button.btn:focus-visible,
#box_mailfriend button.btn:hover,
#box_mailfriend button.btn:focus-visible {
  background-color: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.edrone-form-button:hover,
body.shop_index .edrone-form-button:hover {
  background-color: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.shop_index .product button.addtobasket.btn.btn-red:hover span,
body.shop_index .product button.addtobasket.btn.btn-red:focus-visible span,
#box_lastadded .product button.addtobasket.btn.btn-red:hover span,
#box_specialoffer .product button.addtobasket.btn.btn-red:hover span,
#box_bestsellers .product button.addtobasket.btn.btn-red:hover span,
[id^="box_recommendations_"] .product button.addtobasket.btn.btn-red:hover span,
body.shop_product button.addtobasket.btn.btn-red:hover span,
body.shop_product .addtobasket.btn.btn-red:hover span,
#box_mainproducts .product button.addtobasket.btn.btn-red:hover span,
#box_mainproducts .product button.addtobasket.btn.btn-red:focus-visible span,
body.shop_product_list .product button.addtobasket.btn.btn-red:hover span,
.modal .ask-for-product button.btn:hover span,
.modal .ask-for-product button.btn:focus-visible span,
#box_mailfriend button.btn:hover span,
#box_mailfriend button.btn:focus-visible span,
.ms-btn-primary:hover span {
  color: #fff !important;
}

.edrone-form-button:hover {
  color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
  .ms-btn-primary,
  body.shop_index .product button.addtobasket.btn.btn-red,
  body.shop_product button.addtobasket.btn.btn-red,
  .edrone-form-button,
  body.shop_index .edrone-form-button,
  .ms-btn-primary span,
  body.shop_index .product button.addtobasket.btn.btn-red span,
  body.shop_product button.addtobasket.btn.btn-red span {
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
    transform: none !important;
  }
  .ms-btn-primary:hover,
  body.shop_index .product button.addtobasket.btn.btn-red:hover,
  body.shop_product button.addtobasket.btn.btn-red:hover,
  .edrone-form-button:hover,
  body.shop_index .edrone-form-button:hover,
  .ms-btn-primary:hover span,
  body.shop_index .product button.addtobasket.btn.btn-red:hover span,
  body.shop_product button.addtobasket.btn.btn-red:hover span {
    transform: none !important;
  }
}

/* Equal-height cards â inline-flex; JS sets equal card height so CTA stays pinned */
#box_lastadded .product,
#box_specialoffer .product,
#box_bestsellers .product,
[id^="box_recommendations_"] .product,
body.shop_index #box_lastadded .product,
body.shop_index #box_specialoffer .product,
body.shop_index #box_bestsellers .product,
.slider .slider-wrap .product,
body.shop_product #box_productrelated .product,
#box_productrelated .related-product-card {
  display: inline-flex !important;
  flex-direction: column !important;
  vertical-align: top !important;
  /* height set in JS â no height:auto !important (was fighting equal-height + clipping CTA) */
  min-height: 0;
  box-sizing: border-box !important;
  float: none !important;
  border-bottom: none !important;
}

/* Product link must NOT cover buy / qty */
#box_lastadded .product > a,
#box_specialoffer .product > a,
#box_bestsellers .product > a,
[id^="box_recommendations_"] .product > a,
.slider .slider-wrap .product > a,
body.shop_product #box_productrelated .product > a {
  flex: 0 0 auto !important;
  position: relative;
  z-index: 0;
}

#box_lastadded .product .productnamewrap,
#box_specialoffer .product .productnamewrap,
#box_bestsellers .product .productnamewrap,
#box_lastadded .product .price,
#box_specialoffer .product .price,
#box_bestsellers .product .price,
body.shop_product #box_productrelated .product .productnamewrap,
body.shop_product #box_productrelated .product .price {
  flex: 0 0 auto;
}

/* CTA slot at bottom â buy / mx_app_ilosc; height grows with content (no hard clip) */
#box_lastadded .product .basket,
#box_specialoffer .product .basket,
#box_bestsellers .product .basket,
[id^="box_recommendations_"] .product .basket,
#box_lastadded .product form.basket-box,
#box_specialoffer .product form.basket-box,
#box_bestsellers .product form.basket-box,
body.shop_product #box_productrelated .product .basket,
body.shop_product #box_productrelated .product .related-product-basket {
  margin-top: auto !important;
  width: 100%;
  min-height: 44px !important;
  height: auto !important;
  position: relative;
  z-index: 5;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

#box_lastadded .product fieldset,
#box_specialoffer .product fieldset,
#box_bestsellers .product fieldset,
[id^="box_recommendations_"] .product fieldset,
body.shop_product #box_productrelated .product fieldset {
  position: relative;
  z-index: 5;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* mx_app_ilosc â brand look (plugin keeps display:none until after buy â DO NOT set display) */
.product .mx_app_ilosc {
  width: 140px !important;
  max-width: 100% !important;
  height: 40px !important;
  position: relative !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
}

.product .mx_app_ilosc .mx_ilosc_input {
  width: 50px !important;
  height: 38px !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--brand-color-ink) !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.product .mx_app_ilosc .mx_ilosc_input::-webkit-inner-spin-button,
.product .mx_app_ilosc .mx_ilosc_input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product .mx_app_ilosc .mx_minus,
.product .mx_app_ilosc .mx_plus {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 32px !important;
  border: none !important;
  border-radius: 6px !important;
  background: var(--header-bg-soft) !important;
  color: var(--brand-color-ink) !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  text-align: center !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

.product .mx_app_ilosc .mx_minus {
  left: 4px !important;
}

.product .mx_app_ilosc .mx_plus {
  right: 4px !important;
}

.product .mx_app_ilosc .mx_minus::before,
.product .mx_app_ilosc .mx_plus::before {
  display: block !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  line-height: 32px !important;
  text-align: center !important;
}

.product .mx_app_ilosc .mx_minus::before {
  content: "-" !important;
}

.product .mx_app_ilosc .mx_plus::before {
  content: "+" !important;
}

.product .mx_app_ilosc .mx_minus:hover,
.product .mx_app_ilosc .mx_plus:hover {
  background: #ececec !important;
}

/* Carousel nav â white chip + dark CSS chevrons (skin PNGs are light; `background:` was wiping them) */
span.ps-arrow-right,
span.ps-arrow-left,
.slider-nav-left,
.slider-nav-right,
body.shop_index #box_lastadded .slider-nav-left,
body.shop_index #box_lastadded .slider-nav-right,
body.shop_index #box_specialoffer .slider-nav-left,
body.shop_index #box_specialoffer .slider-nav-right,
body.shop_index #box_bestsellers .slider-nav-left,
body.shop_index #box_bestsellers .slider-nav-right,
body.shop_index [id^="box_recommendations_"] .slider-nav-left,
body.shop_index [id^="box_recommendations_"] .slider-nav-right,
#box_lastadded .slider-nav-left,
#box_lastadded .slider-nav-right,
#box_specialoffer .slider-nav-left,
#box_specialoffer .slider-nav-right,
#box_bestsellers .slider-nav-left,
#box_bestsellers .slider-nav-right {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  color: transparent !important;
  text-shadow: none !important;
  visibility: visible !important;
  width: 40px !important;
  height: 40px !important;
  margin-top: -20px !important;
  z-index: 5;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
}

.slider-nav-left:hover,
.slider-nav-right:hover,
body.shop_index #box_lastadded .slider-nav-left:hover,
body.shop_index #box_lastadded .slider-nav-right:hover,
body.shop_index #box_specialoffer .slider-nav-left:hover,
body.shop_index #box_specialoffer .slider-nav-right:hover,
body.shop_index #box_bestsellers .slider-nav-left:hover,
body.shop_index #box_bestsellers .slider-nav-right:hover,
body.shop_index [id^="box_recommendations_"] .slider-nav-left:hover,
body.shop_index [id^="box_recommendations_"] .slider-nav-right:hover,
#box_lastadded .slider-nav-left:hover,
#box_lastadded .slider-nav-right:hover,
#box_specialoffer .slider-nav-left:hover,
#box_specialoffer .slider-nav-right:hover,
#box_bestsellers .slider-nav-left:hover,
#box_bestsellers .slider-nav-right:hover,
span.ps-arrow-left:hover,
span.ps-arrow-right:hover {
  border-color: var(--brand-color-ink) !important;
  background: #fff !important;
  background-color: #fff !important;
  box-shadow: none !important;
}

.slider-nav-left::before,
.slider-nav-right::before,
#box_lastadded .slider-nav-left::before,
#box_lastadded .slider-nav-right::before,
#box_specialoffer .slider-nav-left::before,
#box_specialoffer .slider-nav-right::before,
#box_bestsellers .slider-nav-left::before,
#box_bestsellers .slider-nav-right::before,
span.ps-arrow-left::before,
span.ps-arrow-right::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 10px !important;
  height: 10px !important;
  border: solid var(--brand-color-ink) !important;
  border-width: 0 0 2px 2px !important;
  background: none !important;
  color: transparent !important;
  opacity: 1 !important;
  box-sizing: border-box !important;
}

.slider-nav-left::before,
#box_lastadded .slider-nav-left::before,
#box_specialoffer .slider-nav-left::before,
#box_bestsellers .slider-nav-left::before,
span.ps-arrow-left::before {
  transform: translate(-35%, -50%) rotate(45deg) !important;
}

.slider-nav-right::before,
#box_lastadded .slider-nav-right::before,
#box_specialoffer .slider-nav-right::before,
#box_bestsellers .slider-nav-right::before,
span.ps-arrow-right::before {
  transform: translate(-65%, -50%) rotate(-135deg) !important;
}

.slider-nav-left::after,
.slider-nav-right::after,
#box_lastadded .slider-nav-left::after,
#box_lastadded .slider-nav-right::after,
span.ps-arrow-left::after,
span.ps-arrow-right::after {
  content: none !important;
  display: none !important;
}

body.shop_index #box_lastadded,
body.shop_index #box_specialoffer,
body.shop_index #box_bestsellers,
body.shop_index [id^="box_recommendations_"] {
  margin-bottom: 36px;
  padding-bottom: 0;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

body.shop_index #box_lastadded .innerbox,
body.shop_index #box_specialoffer .innerbox,
body.shop_index #box_bestsellers .innerbox,
body.shop_index [id^="box_recommendations_"] .innerbox,
body.shop_index .box.slider .innerbox,
.box.slider#box_lastadded .innerbox,
.box.slider#box_specialoffer .innerbox,
.box.slider#box_bestsellers .innerbox,
.box.slider .innerbox {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  /* ~1px border of cards was clipped â tiny pad inside same carousel container */
  padding-bottom: 4px !important;
  margin-bottom: 0 !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
  box-sizing: border-box !important;
}

@supports not (overflow-x: clip) {
  body.shop_index .box.slider .innerbox,
  .box.slider .innerbox {
    overflow: visible !important;
  }
}

/* Wrap grows with cards; +slack in JS covers the 1px border */
body.shop_index #box_lastadded.box.slider .slider-wrap,
body.shop_index #box_specialoffer.box.slider .slider-wrap,
body.shop_index #box_bestsellers.box.slider .slider-wrap,
body.shop_index [id^="box_recommendations_"].box.slider .slider-wrap,
.box.slider#box_lastadded .slider-wrap,
.box.slider#box_specialoffer .slider-wrap,
.box.slider#box_bestsellers .slider-wrap,
.box.slider .slider-wrap {
  max-height: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* ââ Newsletter (Edrone) ââ */
body.shop_index #box_custom41 {
  margin: 28px 0;
}

body.shop_index #Newsletter_MG.edrone-form-container,
body.shop_index .edrone-form-container {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  max-width: 640px;
  padding: 28px 24px !important;
  font-family: var(--font-sans) !important;
}

body.shop_index .edrone-form-title {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  font-size: 22px !important;
}

body.shop_index .edrone-form-subtitle {
  color: var(--header-muted) !important;
  font-family: var(--font-sans) !important;
}

body.shop_index .edrone-form-input {
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
}

body.shop_index .edrone-form-input:focus {
  border-color: var(--brand-color-ink) !important;
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.12) !important;
}

body.shop_index .edrone-form-button {
  background: var(--brand-color) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  border: 1px solid var(--brand-color) !important;
}

/* ââ SEO Custom blocks (not newsletter) ââ */
body.shop_index .box_custom:not(#box_custom41) {
  margin: 24px 0 32px;
  padding: 20px 0;
  border-top: 1px solid var(--header-border);
  font-family: var(--font-sans);
  color: var(--brand-color-ink);
}

/* Admin HTML hr-divs in Custom boxes (e.g. #box_custom48) â caused double line with border-top */
body.shop_index .box_custom div[style*="height: 1px"],
body.shop_index .box_custom div[style*="height:1px"],
body.shop_index .box_custom div[style*="height: 1px;"],
body.shop_index #box_custom48 > div {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

/* Separator-only custom boxes: keep a single line, no fat empty padding */
body.shop_index #box_custom48,
body.shop_index .box_custom.resetcss:not(#box_custom41):not(:has(h1, h2, h3, p, a, img, ul, ol, table, form, iframe)) {
  margin: 16px 0;
  padding: 0;
  border-top: 1px solid var(--header-border);
  border-bottom: none;
  min-height: 0;
}

body.shop_index .box_custom:not(#box_custom41) .innerbox,
body.shop_index .box_custom:not(#box_custom41) .boxcontent {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 15px;
  color: var(--brand-color-ink);
}

body.shop_index .box_custom:not(#box_custom41) h1,
body.shop_index .box_custom:not(#box_custom41) h2,
body.shop_index .box_custom:not(#box_custom41) h3 {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  margin: 0 0 12px !important;
  line-height: 1.25;
}

body.shop_index .box_custom:not(#box_custom41) a {
  color: var(--brand-color-ink);
  text-decoration: underline;
  text-decoration-color: var(--brand-color);
  text-underline-offset: 2px;
}

body.shop_index .box_custom:not(#box_custom41) p {
  margin: 0 0 12px;
  color: var(--header-muted);
}

/* ââ Footer ââ */
footer.footer,
.footer.row {
  background: #fff !important;
  border-top: 1px solid var(--header-border) !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  margin-top: 24px;
  padding-top: 28px !important;
  padding-bottom: 24px !important;
}

footer.footer .innerfooter,
.footer .innerfooter {
  background: transparent !important;
}

footer.footer .innerfooter .head,
.footer .innerfooter .head {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  text-transform: none !important;
  margin-bottom: 10px !important;
  background: transparent !important;
}

footer.footer .innerfooter a,
.footer .innerfooter a {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  text-decoration: none !important;
  line-height: 1.7;
}

footer.footer .innerfooter a:hover,
.footer .innerfooter a:hover {
  color: var(--brand-color-ink) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
  text-underline-offset: 2px;
}

footer.footer .userfooter,
.footer .userfooter {
  color: var(--header-muted) !important;
  font-size: 12px;
  border-top: 1px solid var(--header-border);
  margin-top: 20px;
  padding-top: 16px;
}

/* ââ Mobile ââ */
@media (max-width: 767px) {
  body.shop_index .box-slider .pageslider,
  body.shop_index .box-slider ul.slides,
  body.shop_index .box-slider ul.slides li,
  body.shop_index .box-slider ul.slides li img,
  body.shop_index #box_slider_37 .pageslider,
  body.shop_index #box_slider_42 .pageslider {
    border-radius: 12px !important;
  }

  body.shop_index span.ps-arrow-left,
  body.shop_index span.ps-arrow-right {
    width: 34px;
    height: 34px;
    line-height: 34px;
  }

  body.shop_index #box_lastadded .boxhead > span,
  body.shop_index #box_specialoffer .boxhead > span,
  body.shop_index #box_bestsellers .boxhead > span,
  body.shop_index #box_lastadded .boxhead > span a,
  body.shop_index #box_specialoffer .boxhead > span a,
  body.shop_index #box_bestsellers .boxhead > span a {
    font-size: 18px !important;
  }

  body.shop_index .product button.addtobasket.btn.btn-red,
  body.shop_index .product .addtobasket.btn.btn-red {
    width: 100%;
    text-align: center;
  }

  body.shop_index .edrone-form-container {
    margin-left: 12px;
    margin-right: 12px;
    padding: 20px 16px !important;
  }

  body.shop_index .box_custom:not(#box_custom41) {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ââ Floating labels: left, vertically centered; active â up + mild shrink ââ */
.ms-float-field {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 12px;
}

.ms-float-field > input,
.ms-float-field > textarea,
.ms-float-field .edrone-form-input {
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  box-sizing: border-box !important;
  padding: 16px 14px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  color: var(--brand-color-ink) !important;
  background: #fff !important;
  box-shadow: none !important;
  line-height: 1.2 !important;
  transition: padding 0.2s ease;
}

.ms-float-field > textarea {
  height: auto !important;
  min-height: 120px !important;
  padding-top: 20px !important;
  padding-bottom: 12px !important;
  resize: vertical;
}

.ms-float-field .ms-float-label {
  position: absolute;
  left: 14px;
  right: auto;
  top: 50%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--header-muted);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 28px);
  transform: translateY(-50%) scale(1);
  transform-origin: left center;
  transition: top 0.2s ease, transform 0.2s ease, color 0.2s ease;
  will-change: transform;
}

.ms-float-field .ms-float-label.is-required {
  font-weight: 500;
}

.ms-float-field.is-active .ms-float-label,
.ms-float-field:focus-within .ms-float-label,
.ms-float-field:has(> input:-webkit-autofill) .ms-float-label,
.ms-float-field:has(> input:autofill) .ms-float-label,
.ms-float-field:has(> textarea:-webkit-autofill) .ms-float-label,
.ms-float-field:has(> textarea:autofill) .ms-float-label {
  transform: translateY(calc(-50% - 12px)) scale(0.72);
  color: var(--header-muted);
  font-weight: 600;
}

/* Textarea: label sits near top border (not mid-field) */
.ms-float-field:has(> textarea) .ms-float-label {
  top: 18px;
  transform: translateY(0) scale(1);
  transform-origin: left top;
}

.ms-float-field:has(> textarea).is-active .ms-float-label,
.ms-float-field:has(> textarea):focus-within .ms-float-label,
.ms-float-field:has(> textarea:-webkit-autofill) .ms-float-label,
.ms-float-field:has(> textarea:autofill) .ms-float-label {
  top: 8px;
  transform: translateY(0) scale(0.72);
}

.ms-float-field.is-active > input,
.ms-float-field:focus-within > input,
.ms-float-field.is-active .edrone-form-input,
.ms-float-field:focus-within .edrone-form-input,
.ms-float-field > input:-webkit-autofill,
.ms-float-field > input:autofill,
.ms-float-field .edrone-form-input:-webkit-autofill {
  padding: 22px 14px 8px !important;
}

.ms-float-field.is-active > textarea,
.ms-float-field:focus-within > textarea,
.ms-float-field > textarea:-webkit-autofill,
.ms-float-field > textarea:autofill {
  padding: 28px 14px 12px !important;
}

/* Chrome autofill fires animationstart — JS listens for this name */
@keyframes ms-float-on-autofill {
  from {
    opacity: 0.99;
  }
  to {
    opacity: 1;
  }
}

.ms-float-field > input:-webkit-autofill,
.ms-float-field > textarea:-webkit-autofill,
.ms-float-field .edrone-form-input:-webkit-autofill {
  animation-name: ms-float-on-autofill;
  animation-duration: 0.001s;
}

.ms-float-field:focus-within > input,
.ms-float-field:focus-within > textarea,
.ms-float-field:focus-within .edrone-form-input {
  border-color: var(--brand-color-ink) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.12) !important;
}

.ms-float-field > input::placeholder,
.ms-float-field > textarea::placeholder,
.ms-float-field .edrone-form-input::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

.edrone-form .ms-float-field {
  margin-bottom: 0;
}

/* ââ Scroll to top (.up) â hide at top of page ââ */
.up {
  position: fixed !important;
  right: 20px !important;
  bottom: 24px !important;
  z-index: 120 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  line-height: 0 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.up.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.up a.btn,
.up a.btn.fa,
.up a.btn.fa-2x,
.up a.btn.fa-angle-up,
.up .btn.fa-angle-up {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: var(--brand-color-ink) !important;
  background-color: var(--brand-color-ink) !important;
  background-image: none !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16) !important;
  text-shadow: none !important;
  text-decoration: none !important;
  text-transform: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
  vertical-align: middle !important;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.up a.btn::before,
.up a.btn.fa::before,
.up a.btn.fa-angle-up::before,
.up .btn.fa-angle-up::before {
  font-family: FontAwesome !important;
  content: "\f106" !important;
  font-size: 22px !important;
  font-weight: normal !important;
  font-style: normal !important;
  line-height: 1 !important;
  color: #fff !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  speak: none;
}

.up a.btn::after,
.up .btn::after {
  content: none !important;
  display: none !important;
}

.up a.btn:hover,
.up a.btn.fa-angle-up:hover,
.up .btn.fa-angle-up:hover,
.up a.btn:focus,
.up a.btn:active {
  background: #2a2a2a !important;
  background-color: #2a2a2a !important;
  background-image: none !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-2px);
}

.up a.btn span,
.up .btn span,
.up img.px1 {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  font-size: 0 !important;
}

@media (max-width: 767px) {
  .up {
    right: 12px !important;
    bottom: 16px !important;
  }

  .up a.btn,
  .up a.btn.fa-angle-up,
  .up .btn.fa-angle-up {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
  }

  .up a.btn::before,
  .up .btn.fa-angle-up::before {
    font-size: 20px !important;
  }
}

/* === end MS Homepage === */

/* === MS Product card lift (global) === */
body.shop_index #box_lastadded .product,
body.shop_index #box_specialoffer .product,
body.shop_index #box_bestsellers .product,
body.shop_index [id^="box_recommendations_"] .product,
.products.viewphot .product,
.related-product-card,
#box_productrelated .product {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  will-change: transform;
}

body.shop_index #box_lastadded .product:hover,
body.shop_index #box_specialoffer .product:hover,
body.shop_index #box_bestsellers .product:hover,
body.shop_index [id^="box_recommendations_"] .product:hover,
.products.viewphot .product:hover,
.related-product-card:hover,
#box_productrelated .product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  border-color: var(--header-border) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.shop_index #box_lastadded .product,
  body.shop_index #box_specialoffer .product,
  body.shop_index #box_bestsellers .product,
  body.shop_index [id^="box_recommendations_"] .product,
  .products.viewphot .product,
  .related-product-card,
  #box_productrelated .product {
    transition: none !important;
  }
  body.shop_index #box_lastadded .product:hover,
  body.shop_index #box_specialoffer .product:hover,
  body.shop_index #box_bestsellers .product:hover,
  body.shop_index [id^="box_recommendations_"] .product:hover,
  .products.viewphot .product:hover,
  .related-product-card:hover,
  #box_productrelated .product:hover {
    transform: none !important;
  }
}

/* Listing cards â MS chrome (with lift above) */
.products.viewphot .product {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  font-family: var(--font-sans) !important;
}

/* === MS Flash alerts (global) === */
.container[live-messages],
div.container[live-messages] {
  margin: 12px auto 8px !important;
  max-width: 1180px;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.alert,
.alert.alert-success,
.alert.alert-info,
.alert.alert-warning,
.alert.alert-error,
.alert-success.alert,
.alert-info.alert,
.alert-warning.alert,
.alert-error.alert {
  position: relative !important;
  border-radius: 12px !important;
  border-width: 1px !important;
  border-style: solid !important;
  box-shadow: none !important;
  font-family: var(--font-sans) !important;
  padding: 14px 44px 14px 16px !important;
  margin: 10px 0 !important;
  color: var(--brand-color-ink) !important;
  background: #fff !important;
  border-color: var(--header-border) !important;
  border-left: 3px solid var(--header-border) !important;
}

.alert .row,
.alert .row p,
.alert p {
  margin: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: inherit !important;
}

.alert-success.alert,
.alert.alert-success {
  background: #f3fceb !important;
  border-color: #c6e6a0 !important;
  border-left-color: var(--brand-color) !important;
  color: var(--brand-color-ink) !important;
}

.alert-info.alert,
.alert.alert-info {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--header-border) !important;
  border-left-color: var(--brand-color-ink) !important;
  color: var(--brand-color-ink) !important;
}

.alert-warning.alert,
.alert.alert-warning {
  background: #fff8e8 !important;
  border-color: #ecd9a4 !important;
  border-left-color: #d4a017 !important;
  color: var(--brand-color-ink) !important;
}

.alert-error.alert,
.alert.alert-error {
  background: #fff1f0 !important;
  border-color: #f0c2c0 !important;
  border-left-color: #c44 !important;
  color: #8b1e1a !important;
}

.alert .close,
.alert .close.icon-remove {
  position: absolute !important;
  top: 10px !important;
  right: 12px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--header-muted, #6b6b6b) !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: lowercase !important;
  cursor: pointer !important;
  padding: 4px 6px !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
}

.alert .close span {
  color: var(--header-muted, #6b6b6b) !important;
  font-size: 12px !important;
}

.alert .close:hover,
.alert .close:hover span {
  color: var(--brand-color-ink) !important;
}

.alert .close img.px1 {
  display: none !important;
}

/* === MS PDP === */
body.shop_product {
  font-family: var(--font-sans);
  color: var(--brand-color-ink);
}

body.shop_product #box_productfull {
  font-family: var(--font-sans);
  color: var(--brand-color-ink);
}

body.shop_product #box_productfull .boxhead {
  text-align: left !important;
}

body.shop_product #box_productfull .boxhead > h1.name,
body.shop_product #box_productfull h1.name,
body.shop_product #box_productfull .productname,
body.shop_product #box_productfull .productnamewrap .productname,
body.shop_product #box_productfull h1.productname,
body.shop_product #box_productfull .productnamewrap {
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  color: var(--brand-color-ink) !important;
  font-size: 26px !important;
  line-height: 1.25 !important;
  margin: 0 0 12px !important;
  text-align: left !important;
  display: block !important;
  width: 100% !important;
}

/* ââ PDP main offer box ââ */
body.shop_product #box_productfull .innerbox.product-main-box {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
  font-family: var(--font-sans) !important;
}

body.shop_product #box_productfull .product-main-box .maininfo,
body.shop_product #box_productfull .product-main-box .bottomborder {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.shop_product #box_productfull .product-main-box .bottomborder {
  padding: 0 !important;
  margin: 0 !important;
}

/* Gallery â keep skin layout/zoom; only light chrome */
body.shop_product #box_productfull .productimg .mainimg,
body.shop_product #box_productfull .productimg .mainimgsize {
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
  /* do NOT force overflow/display on img â ImageZoom / innerzoom needs skin layout */
}

body.shop_product #box_productfull .productimg .otherimg a,
body.shop_product #box_productfull .productimg .otherimg .img-wrap {
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.shop_product #box_productfull .productimg ul.tags {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 3 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  pointer-events: none !important;
}

body.shop_product #box_productfull .productimg ul.tags li {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: var(--brand-color) !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: lowercase !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Thumbnails */
body.shop_product #box_productfull .productimg .smallgallery {
  margin-top: 10px !important;
}

body.shop_product #box_productfull .productimg .smallgallery li {
  margin: 0 8px 8px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

body.shop_product #box_productfull .productimg .smallgallery a.gallery {
  display: block !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  padding: 4px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: border-color 0.15s ease;
}

body.shop_product #box_productfull .productimg .smallgallery a.gallery:hover,
body.shop_product #box_productfull .productimg .smallgallery a.gallery.current {
  border-color: var(--brand-color) !important;
  box-shadow: inset 0 0 0 1px var(--brand-color);
}

body.shop_product #box_productfull .productimg .smallgallery a.gallery img {
  display: block !important;
  margin: 0 auto !important;
  border-radius: 4px !important;
}

/* Availability + shipping */
body.shop_product #box_productfull .availability.row,
body.shop_product #box_productfull .product-main-box > .maininfo .availability {
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: none !important;
  font-family: var(--font-sans) !important;
}

/* kill clearfix ::before/::after â as flex items they create a left âindentâ */
body.shop_product #box_productfull .availability.row::before,
body.shop_product #box_productfull .availability.row::after,
body.shop_product #box_productfull .availability .row::before,
body.shop_product #box_productfull .availability .row::after,
body.shop_product #box_productfull .availability .row.availability::before,
body.shop_product #box_productfull .availability .row.availability::after,
body.shop_product #box_productfull .delivery::before,
body.shop_product #box_productfull .delivery::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.shop_product #box_productfull .availability .row.availability,
body.shop_product #box_productfull .availability .delivery,
body.shop_product #box_productfull .row > .availability + .delivery,
body.shop_product #box_productfull .delivery {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 6px 8px !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: none !important;
  white-space: nowrap !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  width: auto !important;
  max-width: 100% !important;
  text-indent: 0 !important;
}

body.shop_product #box_productfull .availability > .row {
  margin: 0 !important;
  padding: 0 !important;
  text-indent: 0 !important;
}

body.shop_product #box_productfull .availability .first,
body.shop_product #box_productfull .delivery .first,
body.shop_product #box_productfull .availability .second,
body.shop_product #box_productfull .delivery .second {
  float: none !important;
  clear: none !important;
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  text-indent: 0 !important;
}

body.shop_product #box_productfull .availability .first,
body.shop_product #box_productfull .delivery .first {
  color: var(--header-muted, #6b6b6b) !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  margin-right: 0 !important;
}

body.shop_product #box_productfull .availability .second,
body.shop_product #box_productfull .delivery .second {
  color: var(--brand-color-ink) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

/* Price block */
body.shop_product #box_productfull .product-main-box .basket > .price,
body.shop_product #box_productfull .bottomborder .basket > .price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 8px 12px !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: none !important;
  font-family: var(--font-sans) !important;
}

body.shop_product #box_productfull .price .price-name {
  display: none !important;
}

body.shop_product #box_productfull .price em.main-price,
body.shop_product #box_productfull .price em.color,
body.shop_product #box_productfull .price em.main-price.color {
  font-style: normal !important;
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  font-size: 30px !important;
  line-height: 1.15 !important;
  color: var(--brand-color-ink) !important;
  margin: 0 !important;
}

body.shop_product #box_productfull .price del {
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--header-muted, #6b6b6b) !important;
  text-decoration: line-through !important;
}

body.shop_product #box_productfull .basket > .f-row.clear.pt-1,
body.shop_product #box_productfull .product-main-box .basket > .f-row.clear.pt-1 {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 16px !important;
  padding: 10px 12px !important;
  background: var(--header-bg-soft, #f7f7f7) !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  color: var(--header-muted, #6b6b6b) !important;
  box-sizing: border-box !important;
}

body.shop_product #box_productfull .basket > .f-row.clear.pt-1 strong.js__omnibus-price,
body.shop_product #box_productfull .js__omnibus-price {
  color: var(--brand-color-ink) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline !important;
  width: auto !important;
  float: none !important;
}

body.shop_product #box_productfull .hint,
body.shop_product #box_productfull .hint__content {
  font-family: var(--font-sans) !important;
  color: var(--header-muted, #6b6b6b) !important;
}

body.shop_product #box_productfull .hint .icon-help {
  color: var(--header-muted, #6b6b6b) !important;
}

body.shop_product #box_productfull .addtobasket-container,
body.shop_product #box_productfull fieldset.addtobasket-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 12px !important;
  margin-top: 4px !important;
  padding: 0 !important;
  border: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.shop_product #box_productfull .addtofav {
  display: inline-block !important;
  margin: 12px 0 28px !important;
  padding: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
  border: none !important;
  background: transparent !important;
}

body.shop_product #box_productfull .addtofav img.px1 {
  display: none !important;
}

body.shop_product #box_productfull .addtofav:hover {
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
  text-underline-offset: 2px;
}

/* Meta card â only outer wrapper (avoid double border on nested .productdetails-more) */
body.shop_product #box_productfull .productdetails-more-details {
  margin-top: 20px !important;
  padding: 14px 16px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  clear: both !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.shop_product #box_productfull .productdetails-more {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.shop_product #box_productfull .productdetails-more .row,
body.shop_product #box_productfull .productdetails-more .evaluation,
body.shop_product #box_productfull .productdetails-more .manufacturer,
body.shop_product #box_productfull .productdetails-more .code {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: none !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-family: var(--font-sans) !important;
  text-indent: 0 !important;
}

/* kill clearfix ::before/::after — as flex items they create a left indent */
body.shop_product #box_productfull .productdetails-more.row::before,
body.shop_product #box_productfull .productdetails-more.row::after,
body.shop_product #box_productfull .productdetails-more .row::before,
body.shop_product #box_productfull .productdetails-more .row::after,
body.shop_product #box_productfull .productdetails-more .evaluation::before,
body.shop_product #box_productfull .productdetails-more .evaluation::after,
body.shop_product #box_productfull .productdetails-more .manufacturer::before,
body.shop_product #box_productfull .productdetails-more .manufacturer::after,
body.shop_product #box_productfull .productdetails-more .code::before,
body.shop_product #box_productfull .productdetails-more .code::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.shop_product #box_productfull .productdetails-more .evaluation {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px 8px !important;
  float: none !important;
  width: auto !important;
  max-width: 100% !important;
}

body.shop_product #box_productfull .productdetails-more .row:last-child {
  margin-bottom: 0 !important;
}

body.shop_product #box_productfull .productdetails-more em,
body.shop_product #box_productfull .productdetails-more .vote-message {
  font-style: normal !important;
  font-weight: 500 !important;
  color: var(--header-muted, #6b6b6b) !important;
  margin-right: 0 !important;
  float: none !important;
}

body.shop_product #box_productfull .productdetails-more .code span {
  font-weight: 600 !important;
  color: var(--brand-color-ink) !important;
}

body.shop_product #box_productfull .votestars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  vertical-align: middle !important;
  float: none !important;
  margin: 0 !important;
  width: auto !important;
}

/* Links â footer style (brand, ask, recommend, fav) */
body.shop_product #box_productfull .productdetails-more a.brand,
body.shop_product #box_productfull .manufacturer a,
body.shop_product #box_productfull ul.links-q li a,
body.shop_product #box_productfull .addtofav {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

body.shop_product #box_productfull .productdetails-more a.brand:hover,
body.shop_product #box_productfull .manufacturer a:hover,
body.shop_product #box_productfull ul.links-q li a:hover,
body.shop_product #box_productfull .addtofav:hover {
  color: var(--brand-color-ink) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
  text-underline-offset: 2px;
}

/* === MS multipack badge === */
.multipack-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  max-width: 100% !important;
  margin: 10px 0 !important;
  padding: 10px 12px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-left: 3px solid var(--brand-color) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  transform: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

.multipack-badge:hover,
.multipack-badge:focus-visible {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--header-border) !important;
  border-left-color: var(--brand-color) !important;
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;
}

.multipack-badge .ico {
  display: none !important;
}

.multipack-badge__tag {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 36px !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  background: var(--brand-color) !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
}

.multipack-badge__text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  color: inherit !important;
  font-weight: 700 !important;
}

.product .multipack-badge,
.related-product-card .multipack-badge,
.multipack-badge--compact {
  width: 100% !important;
  max-width: 100% !important;
  margin: 6px 0 !important;
  padding: 5px 7px !important;
  font-size: 11px !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-left: 3px solid var(--brand-color) !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

#box_lastadded .product .multipack-badge,
#box_specialoffer .product .multipack-badge,
#box_bestsellers .product .multipack-badge,
[id^="box_recommendations_"] .product .multipack-badge,
#box_productrelated .product .multipack-badge,
.box.slider .product .multipack-badge {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 6 !important;
  pointer-events: auto !important;
}

.product .multipack-badge:hover,
.product .multipack-badge:focus-visible,
.related-product-card .multipack-badge:hover,
.related-product-card .multipack-badge:focus-visible,
.multipack-badge--compact:hover,
.multipack-badge--compact:focus-visible,
#box_mainproducts .product .multipack-badge:hover,
#box_mainproducts .product .multipack-badge:focus-visible {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--header-border) !important;
  border-left-color: var(--brand-color) !important;
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;
}

.product .multipack-badge__tag,
.related-product-card .multipack-badge__tag,
.multipack-badge--compact .multipack-badge__tag {
  min-width: 28px !important;
  padding: 3px 5px !important;
  font-size: 10px !important;
  border-radius: 5px !important;
}

.product .multipack-badge__text,
.related-product-card .multipack-badge__text,
.multipack-badge--compact .multipack-badge__text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.shop_product #box_productfull .multipack-badge {
  margin: 12px 0 !important;
  padding: 11px 14px !important;
  font-size: 14px !important;
}

body.shop_product #box_productfull ul.links-q {
  list-style: none !important;
  margin: 14px 0 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid var(--header-border) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 18px !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  clear: both !important;
  box-sizing: border-box !important;
}

body.shop_product #box_productfull ul.links-q li {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  font-family: var(--font-sans) !important;
}

body.shop_product #box_productfull ul.links-q li a img.px1 {
  display: none !important;
}

@media (max-width: 767px) {
  body.shop_product #box_productfull .price em.main-price,
  body.shop_product #box_productfull .price em.color,
  body.shop_product #box_productfull .price em.main-price.color {
    font-size: 24px !important;
  }
}

/* Tabs / module heads on PDP */
body.shop_product #box_productfull .boxhead,
body.shop_product .product-modules .boxhead,
body.shop_product #box_productrelated .boxhead {
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 8px 0 12px !important;
  margin: 0 0 12px !important;
}

body.shop_product #box_productfull .boxhead > span,
body.shop_product .product-modules .boxhead > span,
body.shop_product #box_productrelated .boxhead > span,
body.shop_product #box_productrelated .boxhead h2,
body.shop_product #box_productrelated .boxhead h3 {
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  color: var(--brand-color-ink) !important;
  text-transform: none !important;
  border-bottom: 3px solid var(--brand-color) !important;
  display: inline-block !important;
  padding-bottom: 6px !important;
  line-height: 1.3 !important;
}

body.shop_product #box_productfull .tab-navigation,
body.shop_product #box_productfull .tabs,
body.shop_product #box_productfull .product-tabs {
  border-bottom: 1px solid var(--header-border) !important;
  font-family: var(--font-sans) !important;
}

body.shop_product #box_productfull .tab-navigation a,
body.shop_product #box_productfull .tabs a,
body.shop_product #box_productfull .product-tabs a {
  font-family: var(--font-sans) !important;
  color: var(--header-muted, #6b6b6b) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: none !important;
  background: transparent !important;
}

body.shop_product #box_productfull .tab-navigation a.active,
body.shop_product #box_productfull .tabs a.active,
body.shop_product #box_productfull .product-tabs .active a,
body.shop_product #box_productfull .tab-navigation li.active a {
  color: var(--brand-color-ink) !important;
  box-shadow: inset 0 -3px 0 var(--brand-color) !important;
}

body.shop_product #box_productfull .innerbox,
body.shop_product .product-modules .innerbox {
  font-family: var(--font-sans);
  color: var(--brand-color-ink);
}

body.shop_product #box_productrelated {
  margin-top: 28px !important;
  overflow: visible !important;
}

body.shop_product #box_productrelated .carousel-container {
  overflow: visible !important;
  padding: 0 10px 8px !important;
  box-sizing: border-box !important;
}

body.shop_product #box_productrelated .innerbox.product-related {
  gap: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 12px 0 32px !important;
  align-items: stretch !important;
  box-sizing: border-box !important;
}

body.shop_product #box_productrelated .product.related-product-card {
  flex: 0 0 180px !important;
  width: 180px !important;
  max-width: 180px !important;
  float: none !important;
  text-align: center !important;
  padding: 8px !important;
  margin: 0 5px !important;
  overflow: visible !important;
  height: auto !important;
  box-sizing: border-box !important;
}

body.shop_product #box_productrelated .product .price {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  margin: 4px 0 6px !important;
  padding: 0 2px !important;
  font-size: 13px !important;
  min-height: 72px !important;
  height: 72px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

body.shop_product #box_productrelated .product .price p,
body.shop_product #box_productrelated .product .price .price__regular,
body.shop_product #box_productrelated .product .price .price__omnibus,
body.shop_product #box_productrelated .product .price .f-row {
  display: block !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  color: var(--header-muted) !important;
  text-align: center !important;
}

body.shop_product #box_productrelated .product .price .price__regular {
  white-space: nowrap !important;
}

body.shop_product #box_productrelated .product .price .price__regular del,
body.shop_product #box_productrelated .product .price .price__regular .price__inactive {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  color: var(--header-muted) !important;
  white-space: nowrap !important;
}

body.shop_product #box_productrelated .product .price p:first-child,
body.shop_product #box_productrelated .product .price p:first-child em,
body.shop_product #box_productrelated .product .price em.color {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: var(--brand-color-ink) !important;
  margin-bottom: 4px !important;
}

body.shop_product #box_productrelated .product fieldset {
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  min-height: 0 !important;
  height: auto !important;
  gap: 6px !important;
}

body.shop_product #box_productrelated .product .prodimage,
body.shop_product #box_productrelated .product .prodimage .img-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 110px !important;
  max-height: none !important;
  margin: 0 0 6px !important;
}

body.shop_product #box_productrelated .product .prodimage img {
  max-height: 110px !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  aspect-ratio: auto !important;
  margin: 0 auto !important;
  display: block !important;
}

body.shop_product #box_productrelated .product .basket {
  margin-top: auto !important;
  width: 100% !important;
}

body.shop_product #box_productrelated .product .basket form {
  width: 100% !important;
  margin: 0 !important;
}

body.shop_product #box_productrelated .product .basket .addtobasket,
body.shop_product #box_productrelated .product .basket .btn.btn-red {
  width: 100% !important;
  max-width: none !important;
  min-height: 40px !important;
}

body.shop_product #box_productrelated .carousel-arrow {
  position: absolute !important;
  top: 50% !important;
  margin-top: -20px !important;
  transform: none !important;
  width: 40px !important;
  height: 40px !important;
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  color: transparent !important;
  font-size: 0 !important;
  padding: 0 !important;
  z-index: 10 !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

body.shop_product #box_productrelated .carousel-arrow::before {
  content: "" !important;
  display: block !important;
  width: 10px !important;
  height: 10px !important;
  border: solid var(--brand-color-ink) !important;
  border-width: 0 0 2px 2px !important;
  box-sizing: border-box !important;
  background: none !important;
}

body.shop_product #box_productrelated .carousel-arrow-left::before {
  transform: translateX(2px) rotate(45deg) !important;
}

body.shop_product #box_productrelated .carousel-arrow-right::before {
  transform: translateX(-2px) rotate(-135deg) !important;
}

body.shop_product #box_productrelated .carousel-arrow:hover {
  border-color: var(--brand-color-ink) !important;
  background: #fff !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  body.shop_product #box_productfull .boxhead > h1.name,
  body.shop_product #box_productfull h1.name,
  body.shop_product #box_productfull .productname,
  body.shop_product #box_productfull h1.productname {
    font-size: 20px !important;
    text-align: left !important;
  }
}

/* PDP quantity + buy â one row */
body.shop_product #box_productfull .quantity_wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-sans) !important;
  vertical-align: middle;
  flex: 0 0 auto !important;
}

body.shop_product #box_productfull .quantity_wrap .quantity_name {
  display: none !important;
}

body.shop_product #box_productfull .quantity_wrap .number-wrap {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #fff !important;
  height: 40px !important;
  box-sizing: border-box !important;
}

body.shop_product #box_productfull .quantity_wrap input.short,
body.shop_product #box_productfull .quantity_wrap input[name="quantity"] {
  width: 52px !important;
  min-width: 52px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--brand-color-ink) !important;
  -moz-appearance: textfield;
}

body.shop_product #box_productfull .quantity_wrap input.short::-webkit-outer-spin-button,
body.shop_product #box_productfull .quantity_wrap input.short::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.shop_product #box_productfull .quantity_wrap .unit {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--header-muted, #6b6b6b) !important;
}

body.shop_product #box_productfull .form-basket .button_wrap {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
}

body.shop_product #box_productfull .form-basket .button_wrap .addtobasket {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 40px !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 0 16px !important;
  line-height: 1 !important;
}

body.shop_product #box_productfull .form-basket .button_wrap .addtobasket span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

/* PDP description / params table */
body.shop_product .main__product__description,
body.shop_product .resetcss.fr-view .main__product__description,
body.shop_product #box_productfull .innerbox .resetcss {
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

body.shop_product .main__product__description h3,
body.shop_product .resetcss.fr-view h3,
body.shop_product .resetcss h3,
body.shop_product .resetcss.fr-view h2,
body.shop_product .resetcss h2,
body.shop_product .product-selgros-parameters h2,
body.shop_product .product-selgros-allergens h2,
body.shop_product .product-selgros-storage h2,
body.shop_product .product-selgros-nutritional h2,
body.shop_product .product-selgros-vitamins h2,
body.shop_product .product-selgros-info h2,
body.shop_product .product-selgros-description h2 {
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  color: var(--brand-color-ink) !important;
  margin: 24px 0 12px !important;
  padding: 0 0 8px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 3px solid var(--brand-color) !important;
  display: inline-block !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
}

body.shop_product .main__product__description h3:first-child,
body.shop_product .resetcss.fr-view h3:first-child,
body.shop_product .resetcss h3:first-child,
body.shop_product .resetcss.fr-view h2:first-child,
body.shop_product .resetcss h2:first-child,
body.shop_product .product-selgros-parameters h2:first-child,
body.shop_product .product-selgros-allergens h2:first-child,
body.shop_product .product-selgros-storage h2:first-child,
body.shop_product .product-selgros-nutritional h2:first-child,
body.shop_product .product-selgros-vitamins h2:first-child,
body.shop_product .product-selgros-info h2:first-child {
  margin-top: 0 !important;
}

body.shop_product .main__product__description p,
body.shop_product .resetcss.fr-view p {
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 0 12px !important;
}

/* kill old âcard around h3+contentâ â only paragraphs; tables keep their own border */
body.shop_product .resetcss h3 + p,
body.shop_product .resetcss.fr-view h3 + p,
body.shop_product .main__product__description h3 + p {
  margin: 0 0 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.shop_product .main__product__description table,
body.shop_product .resetcss.fr-view table,
body.shop_product .resetcss table,
body.shop_product #box_productfull .innerbox table,
body.shop_product .main__product__description h3 + table,
body.shop_product .resetcss.fr-view h3 + table,
body.shop_product .resetcss h3 + table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 8px 0 20px !important;
  padding: 0 !important;
  font-family: var(--font-sans) !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.shop_product .main__product__description table th,
body.shop_product .main__product__description table td,
body.shop_product .resetcss.fr-view table th,
body.shop_product .resetcss.fr-view table td,
body.shop_product #box_productfull .innerbox table th,
body.shop_product #box_productfull .innerbox table td {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  padding: 12px 14px !important;
  border: none !important;
  border-bottom: 1px solid var(--header-border) !important;
  text-align: left !important;
  vertical-align: top !important;
  color: var(--brand-color-ink) !important;
  background: transparent !important;
}

body.shop_product .main__product__description table tr:last-child th,
body.shop_product .main__product__description table tr:last-child td,
body.shop_product .resetcss.fr-view table tr:last-child th,
body.shop_product .resetcss.fr-view table tr:last-child td {
  border-bottom: none !important;
}

body.shop_product .main__product__description table th,
body.shop_product .resetcss.fr-view table th,
body.shop_product #box_productfull .innerbox table th {
  width: 38% !important;
  font-weight: 700 !important;
  background: var(--header-bg-soft, #f7f7f7) !important;
  color: var(--brand-color-ink) !important;
}

body.shop_product .main__product__description table tr:nth-child(even) td,
body.shop_product .resetcss.fr-view table tr:nth-child(even) td {
  background: #fafafa !important;
}

/* Related carousel chrome (card content styles shared with homepage above) */
body.shop_product #box_productrelated .innerbox.product-related {
  gap: 0 !important;
}

/* ââ MS sidebar category menu ââ */
.leftcol #box_menu.box,
#box_menu.box {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  font-family: var(--font-sans) !important;
  margin-bottom: 16px !important;
}

#box_menu .boxhead {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--header-border) !important;
  box-shadow: none !important;
  padding: 14px 16px 12px !important;
  margin: 0 !important;
}

#box_menu .boxhead > span,
#box_menu .boxhead > h2,
#box_menu .boxhead > h3 {
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  color: var(--brand-color-ink) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  padding: 0 0 6px !important;
  display: inline-block !important;
  border-bottom: 3px solid var(--brand-color) !important;
  line-height: 1.3 !important;
  background: transparent !important;
}

#box_menu .boxhead img.px1 {
  display: none !important;
}

#box_menu .innerbox {
  padding: 8px 0 !important;
  background: #fff !important;
  border: none !important;
}

#box_menu ul.standard,
#box_menu ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#box_menu ul li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

#box_menu ul li a {
  display: block !important;
  padding: 9px 16px !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: none !important;
  border-left: 3px solid transparent !important;
  background: transparent !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#box_menu ul li a:hover {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-left-color: var(--brand-color) !important;
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
}

#box_menu ul li.current > a,
#box_menu ul li.current_parent > a {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-left-color: var(--brand-color) !important;
  color: var(--brand-color-ink) !important;
  font-weight: 800 !important;
}

#box_menu ul ul,
#box_menu ul.level_1,
#box_menu ul li ul {
  list-style: none !important;
  margin: 0 0 4px !important;
  padding: 0 0 0 8px !important;
  border-left: none !important;
  background: transparent !important;
}

#box_menu ul ul li a,
#box_menu ul.level_1 li a {
  padding: 7px 14px 7px 20px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: var(--header-muted, #6b6b6b) !important;
}

#box_menu ul ul li a:hover,
#box_menu ul.level_1 li a:hover {
  color: var(--brand-color-ink) !important;
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-left-color: var(--brand-color) !important;
}

#box_menu ul ul li.current > a,
#box_menu ul.level_1 li.current > a {
  color: var(--brand-color-ink) !important;
  font-weight: 700 !important;
  background: rgba(11, 137, 37, 0.12) !important;
  border-left-color: var(--brand-color) !important;
}

/* ââ MS breadcrumbs ââ */
.breadcrumbs,
.breadcrumbs .innerbreadcrumbs {
  font-family: var(--font-sans) !important;
  color: var(--header-muted, #6b6b6b) !important;
}

.breadcrumbs .innerbreadcrumbs {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.breadcrumbs .breadcrumb-home {
  color: var(--header-muted, #6b6b6b) !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  text-decoration: none !important;
  line-height: 1.5 !important;
}

.breadcrumbs .breadcrumb-home:hover {
  color: var(--brand-color-ink) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
  text-underline-offset: 2px;
}

.breadcrumbs .breadcrumb-home img.px1 {
  opacity: 0.7;
  filter: grayscale(1);
}

.breadcrumbs .breadcrumb-home span {
  font-family: var(--font-sans) !important;
  color: inherit !important;
}

.breadcrumbs ul.path,
.breadcrumbs .path {
  font-family: var(--font-sans) !important;
}

.breadcrumbs .path li {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--header-muted, #6b6b6b) !important;
}

.breadcrumbs .path li a {
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  line-height: 1.5 !important;
}

.breadcrumbs .path li a:hover {
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
}

.breadcrumbs .path li a span[itemprop="name"],
.breadcrumbs .path li span[itemprop="name"] {
  color: inherit !important;
  font-family: inherit !important;
}

.breadcrumbs .path li a:hover span[itemprop="name"] {
  text-decoration: underline !important;
  text-decoration-color: var(--brand-color) !important;
  text-underline-offset: 2px;
}

.breadcrumbs .path li span.raq {
  color: var(--header-muted, #6b6b6b) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  margin: 0 0.45em 0 0 !important;
  text-decoration: none !important;
  pointer-events: none;
  opacity: 0.7;
}

.breadcrumbs .path li.last,
.breadcrumbs .path li.last > span:not(.raq) {
  color: var(--header-muted, #6b6b6b) !important;
  font-weight: 600 !important;
}

/* ââ MS fullscreen product gallery ââ */
.mask {
  background-color: rgba(26, 26, 26, 0.55) !important;
  background-image: none !important;
}

.shop-gallery {
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
}

.shop-gallery .shop-gallery-skin {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18) !important;
  padding-bottom: 1.25em !important;
  overflow: visible !important;
}

.shop-gallery .shop-gallery-title {
  opacity: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  pointer-events: none !important;
}

.shop-gallery .shop-gallery-inner {
  margin: 1.25em 1.5em 0 !important;
  border: none !important;
  border-top: none !important;
}

.shop-gallery .shop-gallery-img-container {
  padding: 0 3em !important;
  background: #fff !important;
}

.shop-gallery .shop-gallery-img {
  border-radius: 8px !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

.shop-gallery .shop-gallery-nav {
  background: transparent !important;
}

.shop-gallery .shop-gallery-nav::after {
  border-color: var(--brand-color-ink) !important;
  width: 14px !important;
  height: 14px !important;
  border-width: 2px 0 0 2px !important;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.shop-gallery .shop-gallery-nav:hover::after {
  border-color: var(--brand-color-ink) !important;
}

.shop-gallery .shop-gallery-nav-prev:hover::after {
  transform: rotate(-45deg) translate(-2px, 0) !important;
}

.shop-gallery .shop-gallery-nav-next:hover::after {
  transform: rotate(135deg) translate(-2px, 0) !important;
}

.shop-gallery .shop-gallery-close,
.shop-gallery .shop-gallery-resize {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  font-size: 0 !important;
  line-height: 0 !important;
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  background: #fff !important;
  color: var(--brand-color-ink) !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

.shop-gallery .shop-gallery-close {
  right: 12px !important;
  top: 12px !important;
}

.shop-gallery .shop-gallery-resize {
  left: 12px !important;
  top: 12px !important;
}

.shop-gallery .shop-gallery-close::after {
  content: "\00d7" !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  font-family: var(--font-sans) !important;
  margin: 0 !important;
  line-height: 1 !important;
  color: var(--brand-color-ink) !important;
}

.shop-gallery .shop-gallery-close:hover,
.shop-gallery .shop-gallery-close:focus-visible,
.shop-gallery .shop-gallery-resize:hover,
.shop-gallery .shop-gallery-resize:focus-visible {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--header-border) !important;
  color: var(--brand-color-ink) !important;
  outline: none !important;
}

.shop-gallery .shop-gallery-resize::before {
  display: inline-block !important;
  font-family: "FontAwesome" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-size: 15px !important;
  line-height: 1 !important;
  color: var(--brand-color-ink) !important;
  -webkit-font-smoothing: antialiased;
}

.shop-gallery .shop-gallery-preview {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0.75em auto 0 !important;
  padding: 0.75em 1.5em 0.25em !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
}

.shop-gallery .shop-gallery-item-preview {
  width: 64px !important;
  height: 64px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  padding: 4px !important;
  margin-right: 8px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden !important;
}

.shop-gallery .shop-gallery-item-preview img {
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

.shop-gallery .shop-gallery-item-preview:hover,
.shop-gallery .shop-gallery-item-preview.active {
  border-color: var(--brand-color) !important;
  box-shadow: inset 0 0 0 1px var(--brand-color) !important;
}

.shop-gallery .shop-gallery-mini-prev,
.shop-gallery .shop-gallery-mini-next {
  color: var(--brand-color-ink) !important;
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
}

.shop-gallery .shop-gallery-mini-prev:hover,
.shop-gallery .shop-gallery-mini-next:hover {
  border-color: var(--brand-color-ink) !important;
}

.shop-gallery-loader {
  border-color: var(--header-border) !important;
  border-top-color: var(--brand-color) !important;
}

@media (max-width: 767px) {
  .shop-gallery .shop-gallery-skin {
    border-radius: 10px !important;
  }

  .shop-gallery .shop-gallery-close,
  .shop-gallery .shop-gallery-resize {
    top: 8px !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
  }

  .shop-gallery .shop-gallery-close {
    right: 8px !important;
  }

  .shop-gallery .shop-gallery-resize {
    left: 8px !important;
  }

  .shop-gallery .shop-gallery-inner {
    margin: 3em 0.75em 0 !important;
  }

  .shop-gallery .shop-gallery-img-container {
    padding: 0 2em !important;
  }
}

/* === MS Shoper modal (ask about product etc.) === */
/* Never style bare .modal â hidden shells stay in DOM as inline-block and break layout */
.modal.modal-hidden,
.modal.modal-not-visible {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.modal.modal-visible {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  max-width: 96vw !important;
  max-height: 92vh !important;
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14) !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  padding-bottom: 0 !important;
  z-index: 10050 !important;
}

/* Ask-about-product: fixed width */
.modal.modal-visible:has(.ask-for-product) {
  width: 440px !important;
  max-width: 92vw !important;
}

/* Autopay / bank picker — let content define width, stay centered */
.modal.modal-visible:has(.op__container) {
  width: auto !important;
  max-width: 720px !important;
}

.modal.modal-visible:has(.op__container) .modal-body {
  max-width: 100% !important;
  max-height: 80vh !important;
  overflow: auto !important;
  box-sizing: border-box !important;
}

.modal.modal-visible .modal-header {
  background: #fff !important;
  color: var(--brand-color-ink) !important;
  border-bottom: 1px solid var(--header-border) !important;
  margin-bottom: 0 !important;
  padding: 16px 20px !important;
  align-items: center !important;
  gap: 12px !important;
}

.modal.modal-visible .modal-header h3 {
  display: inline-block !important;
  max-width: max-content !important;
  font-family: var(--font-sans) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--brand-color-ink) !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 0 8px !important;
  text-transform: none !important;
  flex: 0 1 auto !important;
  flex-basis: auto !important;
  border-bottom: 3px solid var(--brand-color) !important;
  box-sizing: border-box !important;
}

.modal.modal-visible .modal-header h3::after {
  content: none !important;
  display: none !important;
}

.modal.modal-visible .modal-close {
  flex: 0 0 auto !important;
  flex-basis: auto !important;
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  text-align: center !important;
  color: var(--brand-color-ink) !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
  border: 1px solid transparent !important;
  box-sizing: border-box !important;
}

.modal.modal-visible .modal-close:hover,
.modal.modal-visible .modal-close:focus-visible {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--header-border) !important;
  outline: none !important;
}

.modal.modal-visible .modal-close-txt {
  display: none !important;
}

.modal.modal-visible .modal-close::after {
  content: "\00d7" !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  margin: 0 !important;
  top: 0 !important;
  color: var(--brand-color-ink) !important;
}

.modal.modal-visible .modal-body {
  padding: 18px 20px 20px !important;
  overflow-y: auto !important;
  max-height: 560px !important;
  box-sizing: border-box !important;
}

/* Alert / confirm dialogs (np. „Proszę wybrać punkt odbioru”) */
.modal.modal-alert.modal-visible {
  width: auto !important;
  min-width: 300px !important;
  max-width: 92vw !important;
  height: auto !important;
  text-align: center !important;
}

.modal.modal-alert.modal-visible .modal-header {
  margin-bottom: 0 !important;
  justify-content: center !important;
}

.modal.modal-alert.modal-visible .modal-header h3 {
  flex-basis: auto !important;
  text-align: center !important;
}

.modal.modal-alert.modal-visible .modal-body {
  padding: 16px 24px 8px !important;
  max-height: none !important;
  overflow: visible !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  color: var(--brand-color-ink) !important;
}

.modal.modal-visible .modal-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 8px 20px 20px !important;
  margin: 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.modal.modal-visible .modal-footer .btn,
.modal.modal-visible .modal-footer a.btn,
.modal.modal-visible .modal-footer a.btn.btn-red,
.modal.modal-alert.modal-visible .modal-footer .btn,
.modal.modal-alert.modal-visible .modal-footer a.btn,
.modal.modal-alert.modal-visible .modal-footer a.btn.btn-red,
body[class*="shop_basket"] .modal.modal-visible .modal-footer a.btn.btn-red,
body[class*="shop_basket"] .modal.modal-alert .modal-footer a.btn.btn-red {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 96px !important;
  min-height: 40px !important;
  height: 40px !important;
  max-height: 40px !important;
  padding: 0 24px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  border: 1px solid var(--brand-color) !important;
  background: var(--brand-color) !important;
  background-image: none !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: none !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: background-color 0.18s ease, border-color 0.18s ease !important;
}

.modal.modal-visible .modal-footer .btn::before,
.modal.modal-visible .modal-footer a.btn::before,
.modal.modal-visible .modal-footer a.btn.btn-red::before,
body[class*="shop_basket"] .modal.modal-visible .modal-footer a.btn.btn-red::before {
  content: none !important;
  display: none !important;
}

.modal.modal-visible .modal-footer .btn:hover,
.modal.modal-visible .modal-footer a.btn:hover,
.modal.modal-visible .modal-footer a.btn.btn-red:hover,
body[class*="shop_basket"] .modal.modal-visible .modal-footer a.btn.btn-red:hover {
  background: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
}

.modal.modal-visible .ask-for-product {
  max-width: none !important;
  width: 100% !important;
  font-family: var(--font-sans) !important;
}

.modal.modal-visible .ask-for-product form.multirow,
.modal.modal-visible .ask-for-product fieldset {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Float labels cover copy - hide native labels */
.modal.modal-visible .ask-for-product .edition-form-field > label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.modal.modal-visible .ask-for-product .edition-form-field {
  position: relative !important;
  margin: 0 0 4px !important;
}

.modal.modal-visible .ask-for-product .ms-float-field {
  margin-bottom: 12px !important;
}

.modal.modal-visible .ask-for-product > form > fieldset > label,
.modal.modal-visible .ask-for-product fieldset > label:not([for]) {
  display: block !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--header-muted, #6b6b6b) !important;
  line-height: 1.4 !important;
  margin: 4px 0 10px !important;
}

.modal.modal-visible .ask-for-product fieldset > div > span {
  display: block !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--header-muted, #6b6b6b) !important;
  margin: 0 0 14px !important;
}

.modal.modal-visible .ask-for-product em.color {
  color: var(--brand-color-ink) !important;
  font-style: normal !important;
  font-weight: 700 !important;
}

.modal.modal-visible .ask-for-product ul.error,
.modal.modal-visible .ask-for-product .row.error {
  list-style: none !important;
  margin: -6px 0 12px !important;
  padding: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  color: #b42318 !important;
}

.modal.modal-visible .ask-for-product .row {
  margin: 0 !important;
  padding: 0 !important;
}

.modal.modal-visible .ask-for-product button.btn {
  width: 100% !important;
  min-height: 44px !important;
  height: auto !important;
  padding: 10px 16px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.modal.modal-visible .ask-for-product button.btn img.px1 {
  display: none !important;
}

.modal.modal-visible .ask-for-product button.btn span {
  font-size: 14px !important;
  font-weight: 700 !important;
}

@media (max-width: 767px) {
  .modal.modal-visible:has(.ask-for-product) {
    width: 92vw !important;
    max-width: 92vw !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
  }

  .modal.modal-visible .modal-body {
    padding: 16px !important;
    max-height: 70vh !important;
  }
}

/* === MS Panel ambasadora (#appPanel in Shoper modal) === */
.modal.modal-visible:has(#appPanel) {
  width: 720px !important;
  max-width: 96vw !important;
  height: auto !important;
  max-height: 90vh !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.modal.modal-visible:has(#appPanel) .modal-body {
  max-height: 78vh !important;
  padding: 16px 20px 24px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.modal.modal-visible #appPanel,
.modal.modal-visible #appPanel.app-container {
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.modal.modal-visible #appPanel .container-full,
.modal.modal-visible #appPanel .row,
.modal.modal-visible #appPanel .col-12,
.modal.modal-visible #appPanel .col-max,
.modal.modal-visible #appPanel .col-auto,
.modal.modal-visible #appPanel .col-3,
.modal.modal-visible #appPanel .col-6 {
  box-sizing: border-box !important;
  max-width: 100% !important;
}

.modal.modal-visible #appPanel .box {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  padding: 16px !important;
  margin: 0 0 14px !important;
  overflow: hidden !important;
}

.modal.modal-visible #appPanel .box.mt-1.mb-0 {
  margin-bottom: 14px !important;
}

.modal.modal-visible #appPanel .header.row {
  border-bottom: 1px solid var(--header-border) !important;
  margin-bottom: 14px !important;
  padding-bottom: 14px !important;
}

.modal.modal-visible #appPanel h3,
.modal.modal-visible #appPanel .name h3 {
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--brand-color-ink) !important;
  line-height: 1.3 !important;
  margin: 0 0 10px !important;
  text-transform: none !important;
}

.modal.modal-visible #appPanel .name h3 {
  display: inline-block !important;
  max-width: max-content !important;
  padding: 0 0 6px !important;
  border-bottom: 3px solid var(--brand-color) !important;
  margin-bottom: 12px !important;
}

.modal.modal-visible #appPanel .referral-link,
.modal.modal-visible #appPanel .descReflink {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--brand-color-ink) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  word-break: break-word !important;
}

.modal.modal-visible #appPanel .descReflink {
  color: var(--header-muted, #6b6b6b) !important;
  font-weight: 600 !important;
  margin-right: 6px !important;
}

.modal.modal-visible #appPanel .tag,
.modal.modal-visible #appPanel .tag.tag_v2,
.modal.modal-visible #appPanel .tag_v2 {
  display: inline-block !important;
  max-width: 100% !important;
  padding: 8px 12px !important;
  margin: 4px 0 !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background: var(--header-bg-soft, #f7f7f7) !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  word-break: break-all !important;
  box-sizing: border-box !important;
}

.modal.modal-visible #appPanel .tag.added-item,
.modal.modal-visible #appPanel .tagAlert {
  display: block !important;
}

.modal.modal-visible #appPanel .tagAlert {
  margin: 0 0 8px !important;
  color: var(--header-muted, #6b6b6b) !important;
  font-weight: 500 !important;
}

/* Tabs: app uses .disabled = active tab */
.modal.modal-visible #appPanel .btn,
.modal.modal-visible #appPanel button.btn,
.modal.modal-visible #appPanel .btn.btn_bg,
.modal.modal-visible #appPanel button.btn_bg {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 8px 16px !important;
  margin: 0 0 8px 0 !important;
  border-radius: 8px !important;
  border: 1px solid var(--brand-color) !important;
  background: var(--brand-color) !important;
  background-image: none !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

.modal.modal-visible #appPanel .btn:hover,
.modal.modal-visible #appPanel button.btn:hover,
.modal.modal-visible #appPanel .btn.btn_bg:hover,
.modal.modal-visible #appPanel button.btn_bg:hover {
  background: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
}

.modal.modal-visible #appPanel .btnActions,
.modal.modal-visible #appPanel button.btnActions {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  color: var(--brand-color-ink) !important;
}

.modal.modal-visible #appPanel .btnActions:hover,
.modal.modal-visible #appPanel button.btnActions:hover {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--brand-color-ink) !important;
  color: var(--brand-color-ink) !important;
}

.modal.modal-visible #appPanel .btnActions.disabled,
.modal.modal-visible #appPanel button.btnActions.disabled {
  background: var(--brand-color) !important;
  border-color: var(--brand-color) !important;
  color: #fff !important;
  opacity: 1 !important;
  pointer-events: none !important;
  cursor: default !important;
}

.modal.modal-visible #appPanel .row.text-right {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  text-align: left !important;
}

.modal.modal-visible #appPanel .filter.row,
.modal.modal-visible #appPanel #filterFormArea {
  border-bottom: 1px solid var(--header-border) !important;
  padding-bottom: 12px !important;
  margin-bottom: 4px !important;
}

.modal.modal-visible #appPanel .label,
.modal.modal-visible #appPanel label.label {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--header-muted, #6b6b6b) !important;
  margin: 0 !important;
}

.modal.modal-visible #appPanel input.control,
.modal.modal-visible #appPanel input.date-control,
.modal.modal-visible #appPanel input.text,
.modal.modal-visible #appPanel .control {
  min-height: 40px !important;
  padding: 8px 12px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.modal.modal-visible #appPanel input.control:focus,
.modal.modal-visible #appPanel input.date-control:focus,
.modal.modal-visible #appPanel .control:focus {
  border-color: var(--brand-color) !important;
  outline: none !important;
}

.modal.modal-visible #appPanel .ms-float-field {
  margin: 0 !important;
}

.modal.modal-visible #appPanel .summary,
.modal.modal-visible #appPanel .summary-content .box {
  background: var(--header-bg-soft, #f7f7f7) !important;
}

.modal.modal-visible #appPanel .commisions-value,
.modal.modal-visible #appPanel .summary-value,
.modal.modal-visible #appPanel .f-size-1 {
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--brand-color-ink) !important;
  line-height: 1.4 !important;
}

.modal.modal-visible #appPanel .commisions-value.total-commisions {
  font-size: 16px !important;
  font-weight: 800 !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  text-align: left !important;
}

.modal.modal-visible #appPanel .summary-value {
  padding: 12px !important;
  border-radius: 8px !important;
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  text-align: left !important;
  flex: 1 1 140px !important;
}

.modal.modal-visible #appPanel .paid-commisions {
  background: var(--brand-color) !important;
  border-radius: 4px 0 0 4px !important;
  min-height: 8px !important;
  padding: 0 !important;
}

.modal.modal-visible #appPanel .unpaid-commisions {
  background: #cfe8d4 !important;
  border-radius: 0 4px 4px 0 !important;
  min-height: 8px !important;
  padding: 0 !important;
}

.modal.modal-visible #appPanel .orders,
.modal.modal-visible #appPanel .payout-history,
.modal.modal-visible #appPanel .reflinks-list {
  margin-top: 8px !important;
}

.modal.modal-visible #appPanel .col_grow,
.modal.modal-visible #appPanel .no_data {
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--header-muted, #6b6b6b) !important;
  text-align: left !important;
}

.modal.modal-visible #appPanel .appMessageBox {
  border-color: var(--brand-color) !important;
  background: #f4faf6 !important;
  color: var(--brand-color-ink) !important;
  font-weight: 600 !important;
}

.modal.modal-visible #appPanel table.table,
.modal.modal-visible #appPanel #partnerPlans {
  width: 100% !important;
  border-collapse: collapse !important;
  border: none !important;
  background: #fff !important;
  font-family: var(--font-sans) !important;
}

.modal.modal-visible #appPanel table.table thead th,
.modal.modal-visible #appPanel #partnerPlans thead th {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--header-border) !important;
  color: var(--header-muted, #6b6b6b) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  padding: 10px 12px !important;
  text-align: left !important;
}

.modal.modal-visible #appPanel table.table tbody td,
.modal.modal-visible #appPanel #partnerPlans tbody td {
  border: none !important;
  border-bottom: 1px solid var(--header-border) !important;
  padding: 12px !important;
  font-size: 14px !important;
  color: var(--brand-color-ink) !important;
  background: #fff !important;
  vertical-align: middle !important;
}

.modal.modal-visible #appPanel table.table-zebra tbody tr:nth-child(even) td {
  background: var(--header-bg-soft, #f7f7f7) !important;
}

.modal.modal-visible #appPanel .link,
.modal.modal-visible #appPanel .link_btn,
.modal.modal-visible #appPanel .delete {
  color: var(--brand-color) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

.modal.modal-visible #appPanel .border-bottom {
  border-bottom-color: var(--header-border) !important;
}

.modal.modal-visible #appPanel .text-right {
  text-align: left !important;
}

@media (max-width: 767px) {
  .modal.modal-visible:has(#appPanel) {
    width: 96vw !important;
    max-width: 96vw !important;
    max-height: 92vh !important;
  }

  .modal.modal-visible:has(#appPanel) .modal-body {
    max-height: 80vh !important;
    padding: 12px 14px 18px !important;
  }

  .modal.modal-visible #appPanel .btn,
  .modal.modal-visible #appPanel button.btn {
    width: 100% !important;
  }

  .modal.modal-visible #appPanel .row.text-right {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .modal.modal-visible #appPanel .col-6 {
    width: 100% !important;
    flex: 1 1 100% !important;
  }

  .modal.modal-visible #appPanel input.control,
  .modal.modal-visible #appPanel input.date-control {
    width: 100% !important;
  }
}

/* === MS recommend-to-friend (#box_mailfriend) === */
#box_mailfriend.box {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  font-family: var(--font-sans) !important;
  color: var(--brand-color-ink) !important;
  max-width: 520px !important;
  margin: 0 0 24px !important;
  box-sizing: border-box !important;
}

#box_mailfriend .boxhead {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--header-border) !important;
  box-shadow: none !important;
  padding: 16px 20px 14px !important;
  margin: 0 !important;
  text-align: left !important;
}

#box_mailfriend .boxhead h3 {
  font-family: var(--font-sans) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--brand-color-ink) !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  text-transform: none !important;
  display: block !important;
}

#box_mailfriend .boxhead h3::after {
  content: "" !important;
  display: block !important;
  width: 40px !important;
  height: 3px !important;
  margin-top: 10px !important;
  background: var(--brand-color) !important;
  border-radius: 2px !important;
}

#box_mailfriend .boxhead h3 img.px1 {
  display: none !important;
}

#box_mailfriend .innerbox {
  padding: 20px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

#box_mailfriend form.multirow,
#box_mailfriend fieldset {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  max-width: 100% !important;
}

#box_mailfriend label.ms-float-native-hidden,
#box_mailfriend .ms-float-native-hidden,
.ask-for-product label.ms-float-native-hidden,
.ask-for-product .ms-float-native-hidden,
#box_basketstep2 label.ms-float-native-hidden,
#box_basketstep2 .ms-float-native-hidden,
#box_basketaddress label.ms-float-native-hidden,
#box_basketaddress .ms-float-native-hidden,
#box_login label.ms-float-native-hidden,
#box_login .ms-float-native-hidden,
#box_passchange label.ms-float-native-hidden,
#box_passchange .ms-float-native-hidden,
#box_address label.ms-float-native-hidden,
#box_address .ms-float-native-hidden,
#box_useredit label.ms-float-native-hidden,
#box_useredit .ms-float-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#box_mailfriend .ms-float-field {
  margin-bottom: 14px !important;
  max-width: 100% !important;
}

/* Fallback if float JS has not run yet */
#box_mailfriend .shaded_inputwrap {
  display: block !important;
  margin: 0 0 14px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

#box_mailfriend .shaded_inputwrap input[type="text"],
#box_mailfriend .shaded_inputwrap input[type="email"] {
  width: 100% !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 16px 14px !important;
  border: none !important;
  box-shadow: none !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  color: var(--brand-color-ink) !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

#box_mailfriend ul.error,
#box_mailfriend ul.row.error {
  list-style: none !important;
  margin: -6px 0 12px !important;
  padding: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  color: #b42318 !important;
}

#box_mailfriend button.btn.send,
#box_mailfriend button.btn {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 44px !important;
  margin: 6px 0 0 !important;
  padding: 10px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

#box_mailfriend button.btn img.px1 {
  display: none !important;
}

#box_mailfriend button.btn span {
  font-size: 14px !important;
  font-weight: 700 !important;
}

@media (max-width: 767px) {
  #box_mailfriend.box {
    max-width: none !important;
    border-radius: 12px !important;
  }

  #box_mailfriend .innerbox {
    padding: 16px !important;
  }
}

/* === MS Product list (category / listing) === */

/* —— denser product grid (was ~3 × s-grid-3) —— */
#box_mainproducts .products.viewphot.s-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
  margin-left: 0 !important;
  width: 100% !important;
  float: none !important;
  box-sizing: border-box !important;
}

#box_mainproducts .products.viewphot.s-row::before,
#box_mainproducts .products.viewphot.s-row::after {
  display: none !important;
  content: none !important;
}

#box_mainproducts .products.viewphot .product,
#box_mainproducts .products.viewphot .product.s-grid-3,
#box_mainproducts .products.viewphot .product.s-grid-2,
#box_mainproducts .products.viewphot .product.s-grid-4 {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

#box_mainproducts .products.viewphot .product::before,
#box_mainproducts .products.viewphot .product::after {
  display: none !important;
  content: none !important;
}

#box_mainproducts .products.viewphot .product .product-inner-wrap {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

#box_mainproducts .products.viewphot .product a.prodname {
  display: block !important;
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 8px 0 6px !important;
  padding: 0 !important;
  max-height: 52px !important;
  overflow: hidden !important;
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
  font-family: var(--font-sans) !important;
}

#box_mainproducts .products.viewphot .product a.prodname:hover,
#box_mainproducts .products.viewphot .product a.prodname:focus-visible,
#box_mainproducts .products.viewphot .product a.prodname:hover .productname,
#box_mainproducts .products.viewphot .product a.prodname:focus-visible .productname {
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  color: var(--brand-color-ink) !important;
}

#box_mainproducts .products.viewphot .product .productname {
  display: block !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--brand-color-ink) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-decoration: none !important;
  word-break: break-word !important;
}

#box_mainproducts .products.viewphot .product .prodimage .img-wrap,
#box_mainproducts .products.viewphot .product .prodimage span {
  min-height: 0 !important;
}

#box_mainproducts .products.viewphot .product .prodimage img {
  max-width: 100% !important;
  height: auto !important;
  transform: none !important;
  -webkit-transform: none !important;
  transition: none !important;
}

/* Kill skin zoom-out on image hover (scale .95) */
.products.viewphot .product .prodimage:hover img,
#box_mainproducts .products.viewphot .product .prodimage:hover img,
.product .prodimage:hover img,
.related-product-card .prodimage:hover img {
  transform: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  transition: none !important;
}

#box_mainproducts .products.viewphot .product .price,
#box_mainproducts .products.viewphot .product .buttons {
  position: relative !important;
  z-index: 2 !important;
  flex-shrink: 0 !important;
  background: #fff !important;
}

#box_mainproducts .products.viewphot .product .multipack-badge {
  position: relative !important;
  z-index: 2 !important;
  flex-shrink: 0 !important;
}

#box_mainproducts .products.viewphot .product .price {
  padding-top: 6px !important;
  margin-top: auto !important;
}

@media (max-width: 979px) {
  #box_mainproducts .products.viewphot.s-row {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 767px) {
  #box_mainproducts .products.viewphot.s-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  #box_mainproducts .products.viewphot .product,
  #box_mainproducts .products.viewphot .product.s-grid-3 {
    padding: 8px !important;
  }
}

/* —— category boxhead + sort —— */
#box_mainproducts > .boxhead {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px 16px !important;
  float: none !important;
  margin: 0 0 14px !important;
  padding: 0 0 14px !important;
  border: none !important;
  border-bottom: 1px solid var(--header-border) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--font-sans) !important;
}

#box_mainproducts > .boxhead::before,
#box_mainproducts > .boxhead::after {
  display: none !important;
  content: none !important;
}

#box_mainproducts .category-name,
#box_mainproducts h1.category-name {
  float: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 0 6px !important;
  display: inline-block !important;
  align-self: center !important;
  font-family: var(--font-sans) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: var(--brand-color-ink) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border-bottom: 3px solid var(--brand-color) !important;
  background: transparent !important;
  text-align: left !important;
}

#box_mainproducts .sort-and-view,
body.shop_product_list .sort-and-view {
  display: block !important;
  float: none !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  text-align: right !important;
  font-family: var(--font-sans) !important;
  background: transparent !important;
  line-height: 1.2 !important;
}

#box_mainproducts .sort-and-view .sortlinks {
  float: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  line-height: 1.2 !important;
}

#box_mainproducts .products-sort-container {
  display: inline-block !important;
  position: relative !important;
  vertical-align: middle !important;
  background: transparent !important;
  line-height: 1.2 !important;
}

#box_mainproducts .products-active-sort {
  display: inline-flex !important;
  align-items: center !important;
  float: none !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 32px 0 12px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 36px !important;
  color: var(--brand-color-ink) !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  position: relative !important;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
}

#box_mainproducts .products-active-sort,
#box_mainproducts .products-active-sort * {
  font-size: 13px !important;
  line-height: 1.2 !important;
  color: var(--brand-color-ink) !important;
}

#box_mainproducts .products-active-sort span {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  display: inline !important;
  font-weight: 600 !important;
}

#box_mainproducts .products-active-sort::after {
  content: "" !important;
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  width: 6px !important;
  height: 6px !important;
  border-right: 2px solid var(--brand-color-ink) !important;
  border-bottom: 2px solid var(--brand-color-ink) !important;
  transform: translateY(-60%) rotate(45deg) !important;
  background: none !important;
}

#box_mainproducts .products-active-sort:hover,
#box_mainproducts .products-active-sort:focus,
#box_mainproducts .products-active-sort:active {
  border-color: var(--brand-color-ink) !important;
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  color: var(--brand-color-ink) !important;
}

#box_mainproducts .products-sort-options {
  text-align: left !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  z-index: 30 !important;
  min-width: 200px !important;
  width: auto !important;
  top: 100% !important;
  left: 0 !important;
  margin-top: 4px !important;
  padding: 6px 0 !important;
  overflow: hidden !important;
}

#box_mainproducts .products-sort-options a {
  display: block !important;
  padding: 8px 14px !important;
  line-height: 1.35 !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
  background: transparent !important;
  border-left: 3px solid transparent !important;
}

#box_mainproducts .products-sort-options a b {
  font-weight: 600 !important;
  background: transparent !important;
}

#box_mainproducts .products-sort-options a:hover {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-left-color: var(--brand-color) !important;
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
}

#box_mainproducts .products-sort-options a.active-sort,
#box_mainproducts .products-sort-options a:hover.active-sort {
  background: rgba(11, 137, 37, 0.12) !important;
  border-left-color: var(--brand-color) !important;
  color: var(--brand-color-ink) !important;
}

#box_mainproducts > .boxhead > .search-info:not(:has(*)),
#box_mainproducts > .boxhead > .paginator:not(:has(*)) {
  display: none !important;
}

#box_mainproducts .search-info,
#box_mainproducts .paginator {
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

/* Listing buy buttons — full-width CTA like carousels */
#box_mainproducts .product .buttons,
#box_mainproducts .product .buttons.f-row {
  margin-top: auto !important;
  width: 100% !important;
  float: none !important;
  display: block !important;
}

#box_mainproducts .product .buttons::before,
#box_mainproducts .product .buttons::after {
  display: none !important;
  content: none !important;
}

#box_mainproducts .product form.basket,
#box_mainproducts .product .basket {
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}

#box_mainproducts .product .basket fieldset {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  width: 100% !important;
  display: block !important;
}

#box_mainproducts .product .basket .shaded_inputwrap,
#box_mainproducts .product .basket input.short,
#box_mainproducts .product .basket .unit {
  display: none !important;
}

#box_mainproducts .product button.addtobasket.btn.btn-red,
#box_mainproducts .product .addtobasket.btn.btn-red {
  width: 100% !important;
  max-width: none !important;
  min-height: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

/* Plugin hides buy button after add (inline display:none) — do not override */
#box_mainproducts .product button.addtobasket.btn.btn-red[style*="display: none"],
#box_mainproducts .product .addtobasket.btn.btn-red[style*="display: none"],
body.shop_product_list .product button.addtobasket.btn.btn-red[style*="display: none"],
body.shop_product_list .product .addtobasket.btn.btn-red[style*="display: none"] {
  display: none !important;
}

#box_mainproducts .product button.addtobasket.btn.btn-red img.px1 {
  display: none !important;
}

#box_mainproducts .product button.addtobasket.btn.btn-red span {
  font-size: 13px !important;
  font-weight: 700 !important;
}

@media (max-width: 767px) {
  #box_mainproducts > .boxhead {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  #box_mainproducts .sort-and-view,
  body.shop_product_list .sort-and-view {
    width: 100% !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  #box_mainproducts .products-sort-container,
  #box_mainproducts .products-active-sort {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* —— #box_filter (Opcje przeglądania) —— */
.leftcol #box_filter.box,
#box_filter.box {
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: visible !important;
  font-family: var(--font-sans) !important;
  margin-bottom: 16px !important;
}

#box_filter .boxhead {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--header-border) !important;
  box-shadow: none !important;
  padding: 14px 16px 12px !important;
  margin: 0 !important;
}

#box_filter .boxhead > span,
#box_filter .boxhead > h2,
#box_filter .boxhead > h3 {
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  color: var(--brand-color-ink) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  padding: 0 0 6px !important;
  display: inline-block !important;
  border-bottom: 3px solid var(--brand-color) !important;
  line-height: 1.3 !important;
  background: transparent !important;
}

#box_filter .boxhead img.px1 {
  display: none !important;
}

#box_filter .innerbox,
#box_filter .innerbox.f-row {
  padding: 12px 16px 14px !important;
  background: #fff !important;
  border: none !important;
  margin: 0 !important;
  float: none !important;
  display: block !important;
}

#box_filter .innerbox::before,
#box_filter .innerbox::after {
  display: none !important;
  content: none !important;
}

#box_filter .multiselect,
#box_filter .group-filter {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  margin: 0 0 10px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  line-height: 1.3 !important;
  background-color: #fff !important;
  background-image: none !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: var(--brand-color-ink) !important;
  cursor: pointer !important;
  position: relative !important;
  box-sizing: border-box !important;
}

#box_filter .multiselect:last-child,
#box_filter .group-filter:last-child {
  margin-bottom: 0 !important;
}

#box_filter .multiselect:hover,
#box_filter .multiselect.selected,
#box_filter .group-filter:hover,
#box_filter .group-filter.selected {
  background: #fff !important;
  background-image: none !important;
  border-color: var(--brand-color-ink) !important;
  color: var(--brand-color-ink) !important;
}

#box_filter .multiselect > span,
#box_filter .group-filter > span {
  display: block !important;
  padding: 10px 36px 10px 12px !important;
  position: relative !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

#box_filter .multiselect > span::after,
#box_filter .group-filter > span::after {
  content: "" !important;
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 2px solid var(--brand-color-ink) !important;
  border-bottom: 2px solid var(--brand-color-ink) !important;
  transform: translateY(-60%) rotate(45deg) !important;
}

#box_filter .multiselect ul,
#box_filter .group-filter ul {
  position: absolute !important;
  left: -1px !important;
  right: -1px !important;
  top: 100% !important;
  margin: 4px 0 0 !important;
  padding: 6px 0 !important;
  background: #fff !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  z-index: 40 !important;
  max-height: 220px !important;
  overflow-y: auto !important;
}

#box_filter .multiselect ul li,
#box_filter .group-filter ul li {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: var(--brand-color-ink) !important;
  background: transparent !important;
}

#box_filter .multiselect ul li a,
#box_filter .group-filter ul li a {
  display: block !important;
  padding: 8px 12px !important;
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
  border-left: 3px solid transparent !important;
  font-weight: 500 !important;
}

#box_filter .multiselect ul li:hover,
#box_filter .multiselect ul li.selected,
#box_filter .group-filter ul li:hover,
#box_filter .group-filter ul li.selected {
  background: var(--header-bg-soft, #f7f7f7) !important;
}

#box_filter .multiselect ul li:hover a,
#box_filter .multiselect ul li.selected a,
#box_filter .group-filter ul li:hover a,
#box_filter .group-filter ul li.selected a {
  border-left-color: var(--brand-color) !important;
  color: var(--brand-color-ink) !important;
  background: transparent !important;
}

#box_filter .multiselect ul li a em,
#box_filter .group-filter ul li a em {
  color: var(--header-muted, #6b6b6b) !important;
  font-style: normal !important;
  font-weight: 500 !important;
}

#box_filter .multiselect ul li.showmore,
#box_filter .group-filter ul li.showmore {
  padding: 8px 12px !important;
  font-weight: 700 !important;
  color: var(--brand-color-ink) !important;
  border-top: 1px solid var(--header-border) !important;
}

#box_filter .multiselect ul li.priceinput,
#box_filter #filter_price ul li.priceinput {
  padding: 10px 12px !important;
  cursor: default !important;
  background: #fff !important;
}

#box_filter .priceinput .fromto {
  display: inline-block !important;
  min-width: 24px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--header-muted, #6b6b6b) !important;
}

#box_filter .priceinput input.short,
#box_filter #filterprice1,
#box_filter #filterprice2 {
  width: 100% !important;
  max-width: 100% !important;
  height: 36px !important;
  margin: 4px 0 10px !important;
  padding: 6px 10px !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  color: var(--brand-color-ink) !important;
  box-sizing: border-box !important;
}

#box_filter .priceinput .bottombuttons {
  margin-top: 4px !important;
}

#box_filter .priceinput .bottombuttons .btn,
#box_filter #filterprice {
  width: 100% !important;
  min-height: 36px !important;
  border-radius: 8px !important;
  border: none !important;
  background: var(--brand-color) !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  cursor: pointer !important;
}

#box_filter .priceinput .bottombuttons .btn:hover,
#box_filter #filterprice:hover {
  background: var(--brand-color-ink) !important;
}

#box_filter .priceinput .bottombuttons .btn img.px1 {
  display: none !important;
}

#box_filter .priceinput .bottombuttons .btn span {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

/* === MS Paginator === */
.floatcenterwrap {
  text-align: center !important;
  margin: 20px 0 12px !important;
  padding: 0 !important;
  font-family: var(--font-sans) !important;
  clear: both !important;
}

.floatcenterwrap .paginator,
ul.paginator {
  list-style: none !important;
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-sans) !important;
}

.floatcenterwrap .paginator li,
ul.paginator > li {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  color: var(--brand-color-ink) !important;
}

.floatcenterwrap .paginator li.stick,
ul.paginator > li.stick {
  display: none !important;
}

.floatcenterwrap .paginator li a,
.floatcenterwrap .paginator li > span,
ul.paginator > li a,
ul.paginator > li > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  border: 1px solid var(--header-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--brand-color-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.floatcenterwrap .paginator li a:hover,
.floatcenterwrap .paginator li a:focus-visible,
ul.paginator > li a:hover,
ul.paginator > li a:focus-visible {
  background: var(--header-bg-soft, #f7f7f7) !important;
  border-color: var(--brand-color-ink) !important;
  color: var(--brand-color-ink) !important;
  text-decoration: none !important;
  outline: none !important;
}

.floatcenterwrap .paginator li.selected > span,
ul.paginator > li.selected > span {
  background: var(--brand-color-ink) !important;
  border-color: var(--brand-color-ink) !important;
  color: #fff !important;
}

/* disabled prev («) */
.floatcenterwrap .paginator li.first > span,
ul.paginator > li.first > span {
  opacity: 0.4 !important;
  cursor: default !important;
  background: #fff !important;
  color: var(--brand-color-ink) !important;
}

/* ellipsis */
.floatcenterwrap .paginator li > span:only-child,
ul.paginator > li > span:only-child {
  /* keep default pill; ellipsis stays light */
}

.floatcenterwrap .paginator li:not(.selected):not(.first):not(.last) > span {
  border-color: transparent !important;
  background: transparent !important;
  min-width: 28px !important;
  color: var(--header-muted, #6b6b6b) !important;
  font-weight: 600 !important;
  cursor: default !important;
}

/* === MS Promo badges (listing + cards) === */
.product ul.tags,
.related-product-card ul.tags,
#box_mainproducts .product ul.tags {
  position: absolute !important;
  top: 8px !important;
  left: 10px !important;
  right: auto !important;
  width: auto !important;
  max-width: 65% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  z-index: 8 !important;
  text-align: left !important;
  pointer-events: none !important;
}

.product ul.tags li,
.related-product-card ul.tags li,
#box_mainproducts .product ul.tags li {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 4px 9px !important;
  border: none !important;
  border-radius: 999px !important;
  background: var(--brand-color) !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-transform: lowercase !important;
  letter-spacing: 0.02em !important;
  box-shadow: none !important;
}

.product ul.tags li.promo,
.related-product-card ul.tags li.promo,
#box_mainproducts .product ul.tags li.promo {
  background: var(--brand-color) !important;
  color: #fff !important;
}

.product ul.tags li.new,
.related-product-card ul.tags li.new,
#box_mainproducts .product ul.tags li.new {
  background: var(--brand-color-ink) !important;
  color: #fff !important;
}

.product ul.tags li span,
.related-product-card ul.tags li span {
  color: inherit !important;
  font: inherit !important;
  background: transparent !important;
}

/* % discount ribbon — under „promocja” (app injects heavy inline styles) */
.product .maxsote_app_wstazka,
.related-product-card .maxsote_app_wstazka,
a.prodimage .maxsote_app_wstazka,
.maxsote_app_wstazka {
  position: absolute !important;
  top: 8px !important;
  left: 0 !important;
  right: auto !important;
  width: auto !important;
  min-width: 40px !important;
  height: auto !important;
  line-height: 1 !important;
  padding: 5px 8px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  background: var(--brand-color-ink) !important;
  background-color: var(--brand-color-ink) !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-align: center !important;
  z-index: 9 !important;
  box-shadow: none !important;
  transform: none !important;
  -webkit-transform: none !important;
  box-sizing: border-box !important;
}

.product:has(ul.tags li.promo) .maxsote_app_wstazka,
.product:has(ul.tags li.promo) a.prodimage .maxsote_app_wstazka,
.related-product-card:has(ul.tags li.promo) .maxsote_app_wstazka {
  top: 24px !important;
  left: 0 !important;
  right: auto !important;
}

/* Promo price on listing cards */
#box_mainproducts .product .price,
.products.viewphot .product .price {
  font-family: var(--font-sans) !important;
}

#box_mainproducts .product .price em,
.products.viewphot .product .price em {
  color: var(--brand-color-ink) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  font-size: 15px !important;
}

#box_mainproducts .product .price del,
.products.viewphot .product .price del {
  display: inline-block !important;
  margin-left: 6px !important;
  color: var(--header-muted, #6b6b6b) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
}

/* Search lupa — always white (last in file so nothing in user.css wins over it) */
.search__btn-search,
.search__btn-search.btn,
.search__btn-search.btn-red,
button.search-btn.search__btn-search,
.js__search-submit-btn,
header.ms-header .search-form .btn,
header .logo-bar .search-form .btn {
  color: #fff !important;
  transition: none !important;
}

.search__btn-search .fa,
.search__btn-search .fa-search,
.search__btn-search .search__icon,
.search__btn-search .search__icon_size-l,
.search__btn-search span,
.search__btn-search .fa:before,
.search__btn-search .fa::before,
.search__btn-search .fa-search:before,
.search__btn-search .fa-search::before,
.search__btn-search .search__icon:before,
.search__btn-search .search__icon::before,
.search__btn-search .search__icon_size-l:before,
.search__btn-search .search__icon_size-l::before,
header.ms-header .search__btn-search.btn.btn-red .fa.fa-search.search__icon_size-l,
header.ms-header .search__btn-search.btn.btn-red .fa.fa-search.search__icon_size-l:before,
header.ms-header .search__btn-search.btn.btn-red .fa.fa-search.search__icon_size-l::before {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  background: transparent !important;
}

/* Skin draws the lupa on the BUTTON itself (.search-form .btn::before) and hides the span */
header.ms-header .search-form .btn::before,
header.ms-header .search-form .search-btn::before,
header.ms-header .search-form .btn-red::before,
header.ms-header .search__btn-search::before,
header.ms-header .js__search-submit-btn::before,
header .logo-bar .search-form .btn::before,
.search-form .btn::before,
.search-form .search-btn::before,
.search__btn-search.btn::before,
.js__search-submit-btn.btn::before {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

/* Mobile open search: [← back | input | X] — lupa ukryta */
@media screen and (max-width: 767px) {
  .rwd header.ms-header .search_open .search__input-area,
  header.ms-header .search_open .search__input-area,
  header.ms-header .search.search_open .search__input-area,
  header.ms-header .search-form.search_open .search__input-area {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .rwd header.ms-header .search_open .search__input-area-item:first-child,
  header.ms-header .search_open .search__input-area-item:first-child {
    order: 3 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 4 !important;
  }

  .rwd header.ms-header .search_open .search__input-area-item:nth-child(2),
  .rwd header.ms-header .search_open .search__input-area-item_grow,
  header.ms-header .search_open .search__input-area-item:nth-child(2),
  header.ms-header .search_open .search__input-area-item_grow {
    order: 2 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .rwd header.ms-header .search_open .search__input-area-item:last-child,
  header.ms-header .search_open .search__input-area-item:last-child {
    order: 1 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    min-width: 28px !important;
  }

  .rwd header.ms-header .search_open .js__search-close-btn,
  header.ms-header .search_open .js__search-close-btn {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    z-index: 3 !important;
    color: var(--brand-color-ink) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
  }

  .rwd header.ms-header .search_open .js__search-close-btn::before,
  header.ms-header .search_open .js__search-close-btn::before {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .rwd header.ms-header .search_open .js__search-clear-btn,
  header.ms-header .search_open .js__search-clear-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--brand-color-ink) !important;
    font-size: 14px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 5 !important;
  }

  .rwd header.ms-header .search_open .js__search-clear-btn.none,
  header.ms-header .search_open .js__search-clear-btn.none {
    display: none !important;
  }

  .rwd header.ms-header .search_open .js__search-clear-btn::before,
  header.ms-header .search_open .js__search-clear-btn::before {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .rwd header.ms-header .search_open .js__search-submit-btn,
  .rwd header.ms-header .search_open .search__btn-search,
  header.ms-header .search_open .js__search-submit-btn,
  header.ms-header .search_open .search__btn-search {
    display: none !important;
    visibility: hidden !important;
  }
}

/* BasketHandler .hide() on h4.different — never force visible */
body[class*="shop_basket"] #box_basketaddress h4.different.hide,
body[class*="shop_basket"] #box_basketaddress h4.different[style*="display: none"] {
  display: none !important;
}
