/* DEFAULT VARIABLES SET */
:root {
  --tso-color-main: #24b9d7;
  --tso-color-main-second: #f39d72;
  --tso-color-gray-light: #f2f2f2;
  --tso-color-white: #ffffff;
  --tso-color-black: #000000;
  --tso-color-gray-dark: #333333;
  --tso-color-gray-darker: #232323;
}
/* GLOBAL */
#module-b4n_three_step_order-checkout .content-bottom-wrapper,
#module-b4n_three_step_order-checkout footer#footer,
#module-b4n_three_step_order-checkout .breadcrumb-list {
  display: none;
}
#module-b4n_three_step_order-checkout #columns {
  margin-bottom: 120px;
}
#module-b4n_three_step_order-checkout #checkout-right .cart_navigation.one-button {
  justify-content: flex-end;
}
#module-b4n_three_step_order-checkout #checkout-right .cart_navigation {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
}
#module-b4n_three_step_order-checkout .cart_navigation::before,
#module-b4n_three_step_order-checkout .cart_navigation::after {
  display: none;
}
#module-b4n_three_step_order-checkout .cart_navigation .btn {
  transition: all .2s;
  display: flex;
  align-items: center;
}
#module-b4n_three_step_order-checkout .button.button-medium span {
  border: none;
}
#module-b4n_three_step_order-checkout .cart_navigation .btn:hover {
  text-decoration: none;
  transform: scale(1.05);
}
#module-b4n_three_step_order-checkout .cart_navigation .btn-next {
  flex-grow: 1;
}
#module-b4n_three_step_order-checkout h1.page-heading,
#module-b4n_three_step_order-authentication h1.page-heading {
  display: none;
}
#module-b4n_three_step_order-checkout .form-group.form-error input,
#module-b4n_three_step_order-checkout .foxentry-input-invalid {
  background: none;
  border: 2px solid #dc3545;
  color: #dc3545;
  background-image: url(../../img/error.svg);
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: right 7px center;
}
#module-b4n_three_step_order-checkout .form-group.form-ok input:not(.foxentry-input-invalid) {
  background: none;
  border: 2px solid #28a745;
  background-image: url(../../img/checked.svg);
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: right 7px center;
}
#checkout-left {
  border-right: 1px solid #e8e8e8;
}
#module-b4n_three_step_order-checkout .foxentry-input-icon {
  display: none!important;
}
#module-b4n_three_step_order-checkout #heurekaTabright,
#module-b4n_three_step_order-checkout .retino-badge-panel  {
  display: none!important;
}

/* LOGIN PAGE */

#login-page-form .lost_password {
  margin-bottom: 22px!important;
}
#login-page-form .btn-default:hover {
  color: #fff;
}

/* STEPS */

#tso-order-step {
  display: flex;
  justify-content: space-around;
  position: relative;
  margin-bottom: 62px;
  margin-top: 32px;
}
#tso-order-step  .step span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 600;
  gap: 10px;
}
#tso-order-step  .step span em {
  width: 55px;
  height: 55px;
  line-height: 55px;
  background-color: var(--tso-color-gray-light);
  color: var(--tso-color-white);
  border-radius: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
}
#tso-order-step  .step.active span em,
#tso-order-step  .step a:hover span em {
  background-color: var(--tso-color-black);
  color: var(--tso-color-main);
}
#tso-order-step  .step a:hover {
  text-decoration: none;
}
.tso-order-step__progress {
  position: relative;
  top: 62px;
  width: 69%;
  height: 4px;
  background-color: #f5f5f5;
  margin: 0 auto;
}

/* PRODUCT LINE */

#cart_summary tbody td {
  padding: 9px 8px 11px 18px;
}
#cart_summary >tbody tr {
  border-bottom: 1px solid #e8e8e8;
}
#cart_summary >tbody tr:last-of-type {
  border: none;
}

#cart_summary {
  border-color: #d6d4d4;
  border: none;
  margin-top: 18px;
}
#cart_summary th {
  background: #e8e8e8;
  color: #000;
}
#cart_summary .cart_unit,
#cart_summary .cart_total {
  white-space: nowrap;
}
#cart_summary tr th,
#cart_summary tr td {
  border: none;
}
#cart_summary thead th {
  padding: 12px 8px;
}
#cart_summary a.cart_quantity_delete {
  display: block;
  width: 12px;
  height: 12px;
  background-image: url(../../img/close.svg);
  background-size: 12px;
  background-position: center center;
}
a.price_discount_delete {
  display: block;
  width: 12px;
  height: 12px;
  background-image: url(../../img/close.svg);
  background-size: 12px;
  background-position: center center;
}
#cart_summary .cart_avail .label-success {
  background: none;
  color: #31A560;
  font-size: 15px;
}
#cart_summary .cart_avail .label-danger {
  background: none;
  color: #f3515c;
  font-size: 15px;
}
#cart_summary .cart_avail .label-warning {
  background: none;
  color: #fe9126;
  font-size: 15px;
}
#cart-summary-lite-table td.price {
  font-weight: 700;
  color: #000;
}
#cart_summary .cart_quantity_button a i {
  color: #000;
  font-size: 8px;
}
#cart_summary .cart_quantity .cart_quantity_input {
  color: #000;
}
#cart_summary .cart_discount_price {
  white-space: nowrap;
}

/* PRODUCT LINE MOBILE */

@media(max-width: 768px) {
  #checkout-left,
  #checkout-right  {
    border: none;
    margin: 0;
    padding: 0;
  }
  #module-b4n_three_step_order-checkout #order-detail-content {
    border: none;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary tr {
    display: flex;
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  #module-b4n_three_step_order-checkout #order-detail-content {
    border: none;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary tr {
    border: none;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary td::before {
    content: unset;
  }
  .cart_unit li.price::after {
    content: ' / ks';
    font-size: 12px;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary td.cart_avail {
    display: block;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary td.cart_delete {
    right: 0;
    top: 0;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary .cart_product {
    flex-basis: 110px;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary .cart_product img {
    max-width: 100%;
    height: auto;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary .cart_description {
    flex-basis: 55%;
    width: 55%;
    text-align: left;
    margin-right: auto;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary tr {
    flex-direction: row;
    justify-content: space-around;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary .cart_unit {
    order: 2;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary .cart_total {
    order: 3;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary td.cart_unit {
    min-height: unset;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary .cart_avail {
    flex-basis: 100%;
    text-align: left;
    padding-left: 110px;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary .cart_unit {
    width: unset;
    padding: 0;
    margin: 0;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary .cart_quantity {
    width: unset;
    padding: 0;
  }
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary .cart_total {
    min-height: unset;
    padding: 0;
    margin: 0;
    width: unset;
}
  #module-b4n_three_step_order-checkout #order-detail-content #cart_summary .price {
  width: unset;
  }
}

/* VOUCHER */

#voucher fieldset {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
#voucher fieldset > p {
  margin: 0;
}
#discount_name {
  height: 42px;
  padding: 0 17px;
  color: #000;
  font-weight: 300;
  width: 270px!important;
  margin: 0!important;
}
#voucher button {
  background-color: var(--tso-color-main);
  color: #000;
  position: relative;
  top: 0;
  height: 42px;
  flex-grow: 1;
  font-weight: 700;
}

#voucher button span {
  border: none;
}

/* Loader */
div.loader {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.9;
  filter: alpha(opacity=90);
  -moz-opacity: 0.9;
  -ms-filter: "alpha(opacity=90)";
  z-index: 9999;
  background: #fff;
}

div.loader.on {
  display: block;
}

div.loader.off {
  display: none !important;
}

.spinner {
  height: 50px;
  width: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px -25px 0 0;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  -webkit-animation: rotation .3s infinite linear;
  -moz-animation: rotation .3s infinite linear;
  -o-animation: rotation .3s infinite linear;
  animation: rotation .3s infinite linear;
}
@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(359deg);
  }
}
@-moz-keyframes rotation {
  from {
    -moz-transform: rotate(0deg);
  }

  to {
    -moz-transform: rotate(359deg);
  }
}
@-o-keyframes rotation {
  from {
    -o-transform: rotate(0deg);
  }

  to {
    -o-transform: rotate(359deg);
  }
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

/* Carrier + Payments */

#carriers-content,
#payments-content {
  padding: 0 12px;
}

#carriers-list,
#payments-list {
  display: flex;
  flex-direction: column;
}
#carriers-list .carrier-item label,
#payments-list .payment-item label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#carriers-list .carrier-item .item-logo,
#payments-list .payment-item .item-logo {
  flex-basis: 40px;
}
#carriers-list .carrier-item .item-name,
#payments-list .payment-item .item-name {
  flex-basis: calc(60% - 40px);
}
#carriers-list .carrier-item .item-price,
#payments-list .payment-item .item-price {
  flex-basis: 20%;
  text-align: right;
}
h3.tso-title {
  background-color: #e8e8e8;
  color: #000;
  font-size: 16px;
  padding: 12px 18px;
  font-family: 'Exo 2';
  margin-bottom: 24px;
  font-weight: 700;
}
h3.tso-title.summary {
  background-image: url(../../img/detail.svg);
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: left 10px center;
  padding-left: 45px;
}
h3.tso-title.carrier {
  background-image: url(../../img/product.svg);
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: left 10px center;
  padding-left: 45px;
}
h3.tso-title.payment {
  background-image: url(../../img/coins.svg);
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: left 10px center;
  padding-left: 45px;
}
h3.tso-title.contact-info {
  background-image: url(../../img/user--bk.svg);
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: left 10px center;
  padding-left: 45px;
}
h3.tso-title.delivery-address {
  background-image: url(../../img/product.svg);
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: left 10px center;
  padding-left: 45px;
}
h4.tso-title {
  font-family: 'Exo 2';
}
.country-select__wrapper {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-left: 18px;
}

/* Carriers */
select#id_country {
  border: 1px solid #000;
  color: #000;
  height: 42px;
  text-align: center;
  flex-basis: 400px;
}
#carriers-content select#id_country {
  flex-basis: 270px;
  flex-grow: 1;
}
#carriers-list .carrier-item .item-name {
  font-weight: 700;
  font-size: 16px;
}
#carriers-list .carrier-item .item-name .item-description {
  font-weight: 400;
  font-size: 14px;
}
#carriers-list .carrier-item {
  border-bottom: 1px solid #d6d4d4;
  padding: 14px 12px;
  transition: all .2s;
}
#carriers-list .carrier-item:last-of-type {
  border: none;
}
#carriers-list .carrier-item:has(input[type="radio"]:checked) {
  background: var(--tso-color-main-second);
}
#carriers-list .carrier-item:hover {
  cursor: pointer;
  background-color: #f6f6f6;
}
button#open-gls-ps-widget {
  font-family: 'Exo 2';
  font-size: 16px;
  font-weight: 500;
  border: none;
  background-color: #061ab1;
  padding: 10px 20px;
}
button#open-packeta-widget {
  font-family: 'Exo 2';
  font-size: 16px;
  font-weight: 500;
  background-color: #ba1b02;
  border: none;
  padding: 10px 20px;
}


/* Payments */
#payments-list .payment-item .item-name {
  font-weight: 700;
  font-size: 16px;
}
#payments-list .payment-item .item-name span {
  font-weight: 400;
  font-size: 14px;
}
#payments-list .payment-item {
  border-bottom: 1px solid #d6d4d4;
  padding: 14px 12px;
  transition: all .2s;
}
#payments-list .payment-item:hover {
  cursor: pointer;
  background-color: #f6f6f6;
}
#payments-list .payment-item:has(input[type="radio"]:checked) {
  background: var(--tso-color-main-second);
}
#payments-list .payment-item:last-of-type {
  border: none;
}

/* HOOK_SHOPPING_CART */

#module-b4n_three_step_order-checkout #HOOK_SHOPPING_CART .box {
  background: none;
  padding: 20px;
}
#module-b4n_three_step_order-checkout #HOOK_SHOPPING_CART .checkbox {
  margin: 0;
}
#module-b4n_three_step_order-checkout #HOOK_SHOPPING_CART .checkbox {
  display: flex;
  gap: 10px;
  align-items: center;
}
#module-b4n_three_step_order-checkout #HOOK_SHOPPING_CART .checkbox label {
  margin: 0;
  padding: 0;
  color: #000;
}
#module-b4n_three_step_order-checkout #loyalty {
  background: none;
  padding: 20px;
  margin: 32px 0;
}
p#loyalty {
  text-align: justify;
}

/* CUSTOM CHECKBOXES */

#module-b4n_three_step_order-checkout input[type="checkbox"]{
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: #000;
  width: 21px;
  height: 21px;
  border: 2px solid #000;
  border-radius: none;
  transform: translateY(-0.075em);
}
#module-b4n_three_step_order-checkout input[type="checkbox"] {
  display: grid;
  place-content: center;
}

#module-b4n_three_step_order-checkout input[type="checkbox"]::before {
  content: "";
  width:  21px;
  height:  21px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: #000;
  background-image: url(../../img/check-mark.svg);
  background-position: center center;
  background-size: 12px;
  background-repeat: no-repeat;
}

#module-b4n_three_step_order-checkout input[type="checkbox"]:checked::before {
  transform: scale(1);
}

/* CUSTOM RADIOS */

#module-b4n_three_step_order-checkout input[type="radio"]{
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: #000;
  width: 25px;
  height: 25px;
  border: 2px solid #000;
  border-radius: 100%;
  transform: translateY(-0.075em);
  min-height: unset!important;
}
#module-b4n_three_step_order-checkout input[type="radio"] {
  display: grid;
  place-content: center;
}

#module-b4n_three_step_order-checkout input[type="radio"]::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid #000;
  border-radius: 100%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: #000;
}

#module-b4n_three_step_order-checkout input[type="radio"]:checked::before {
  transform: scale(1);
}

/* CART RIGHT SUMMARY */

#checkout-right {

}
#checkout-right .cart-right-description {
  flex-basis: 300px;
}
#cart-right-items .cart-right-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 30px;
  margin-bottom: 7px;
  border-bottom: 1px solid #e8e8e8;
  padding: 7px 0;
}
#cart-right-items .cart-right-item:last-of-type {
  border: none;
}
#cart-right-summary, #cart-right-delivery-payment {
  padding: 24px 0;
  margin-top: 32px;
  border-top: 2px solid #e8e8e8;
  border-bottom: 2px solid #e8e8e8;
  text-align: left;
}

#cart-right-delivery-payment {
  padding-bottom: 0px !important;
  border-bottom: none !important;
}

#cart-right-summary > div, #cart-right-delivery-payment > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0;
}

#cart-right-summary > div.unvisible {
  display: none !important;
}

#cart-right-summary > div .price {
  font-weight: 700;
}
.cart-right-total {
  white-space: nowrap;
}
.product-image {
  flex-basis: 98px;
}
#cart-right-items .product-image {
  flex-basis: 70px;
}
#cart-right-items .product-image img {
  max-width: 100%;
  height: auto;
}
#cart-right-items .cart-right-ref {
  font-size: 12px;
  margin-top: 5px;
}
#cart-right-items .cart-right-product-name,
#cart-right-items .cart-right-quantity {
  font-size: 13px;
  line-height: 1.3;
}
#cart-right-items .price {
  font-weight: 700;
  font-size: 14px;
}

/* ADRESSES STEP-3 */

.form-group:has(input[type="checkbox"]) {
  display: flex;
  gap: 12px;
  align-items: center;
}
#checkout-right .conditions-form {
  margin: 24px 0;
  padding: 14px;
  background-color: #f5f5f5;
}
#addressess-content input[type=text],
#addressess-content input[type=password] {
  height: 42px;
  max-width: 370px;
}
#addressess-content select {
  height: 34px;
  max-width: 370px;
}
#user-login-form-button {
  margin: 14px 0;
  background-image: url(../../img/user.svg);
  background-repeat: no-repeat;
  background-position: left 7px center;
  background-size: 24px;
  padding-left: 24px;
}
.contact-info__wrapper {
  display: flex;
  justify-content: flex-start;
  gap: 24px 0;
  flex-wrap: wrap;
}
.contact-info__wrapper > div.form-group {
  flex-basis: 50%;
  margin: 0;
}
.contact-info__wrapper > div.form-group:has(input[type="checkbox"]) {
  flex-basis: 100%;
  order: 2;
  margin-top: -10px;
}
.contact-info__wrapper > div#password-input {
  order: 1;
}
#module-b4n_three_step_order-checkout div.form-group:has(input[type="text"]) label,
#module-b4n_three_step_order-checkout div.form-group:has(input[type="password"]) label {
  text-transform: uppercase;
}
#address-details div.form-group:has(input[type="text"]) {
  width: 50%;
  float: left;
}
#address-details div.form-group:has(select) {
  clear: both;
}
/* hide default order steps on order confirmation */
ul#order_step {
  display: none;
}
.country-select-desc {
  font-size: 14px;
  max-width: 370px;
}
.country-select-desc a {
  text-decoration: underline;
}
.js-tso-parent-focus .btn {
  height: 42px;
}

/* MOBILE TSO */
@media (max-width: 768px) {
  #tso-order-step  .step span em {
    width: 35px;
    height: 35px;
    line-height: 35px;
    background-color: #f5f5f5;
    color: #d6d4d4;
    border-radius: 100%;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
  }
  #tso-order-step .step span {
    font-size: 1.3rem;
    font-weight: 600;
    gap: 5px;
  }
  #tso-order-step {
    margin-bottom: 31px;
    margin-top: 16px;
  }
  .tso-order-step__progress {
    top: 36px;
  }
  #discount_name {
    width: unset!important;
  }
  #carriers-content {
    padding: 0;
  }
  .contact-info__wrapper {
    justify-content: space-between;
  }
  .contact-info__wrapper > div.form-group {
    flex-basis: 47%;
  }
  #address-details div.form-group:has(input[type="text"]) {
    width: 47%;
  }
  #address-details div.form-group:has(input[type="text"]):nth-child(even) {
    float: right;
  }
}

/* BX SLIDER */

#tso-cpa-bx-wrapper {
  clear: both;
  width: 100%;
  display: block;
  float: left;
}
#tso-cpa-bx-wrapper .product_section {
  display: flex;
  justify-content: center;
}

#tso-cpa-bx-wrapper .bx-controls-direction a {
  width: 40px;
  height: 40px;
  margin-top: -35px;
}
#tso-cpa-bx-wrapper .bx-controls-direction a::before {
  font-size: 40px;
  line-height: 40px;
  color: #252525;
  font-weight: bold;
}
#tso-cpa-bx-wrapper .bx-controls-direction a:hover::before {
  color: var(--tso-color-main)!important;
}
@media (min-width: 1600px) {
  .bx-prev {
    left: -30px;
  }
  .bx-next {
    right: -30px;
  }
}
#b4n_home_featured .bx-viewport {
  height: auto!important;
}
