/*
Theme Name: Filtrų pasaulis e-shop
Version: 1.09
Author: Webrom
Author URI: https://webrom.lt
Text Domain: webrom-theme
Domain Path: /languages
*/

:root {
  --white1: #ffffff;
  --blue1: #1f74b7;
  --blue2: #e9f2f8;
  --hoverBlue: #165a91;
  --red1: #c1272d;
  --green1: #098649;
  --black1: #151515;
  --black2: #3a3a3a;
  --greyBorder: #dfdede;
  --grey1: #dfdede;
  --grey2: #828282;
  --greyBackground1: #fafafa;
  --yellow1: #f5a623;
}

/* Admin bar gives margin */
html {
  margin-top: 0px !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  font-family: "OpenSans-Regular";
}

.logo-div img {
  max-width: 180px;
  width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: var(--black1);
}

/* Woocommerce form errors */
.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li {
  background-color: var(--red1);
  color: var(--white1);
  border-radius: 6px;
  font-family: "OpenSans-SemiBold";
  display: inline-block;
  position: relative;
  padding: 12px 20px 12px 38px !important;
  font-size: 14px;
  margin-inline: 6px;
  margin-bottom: 6px;
}
.woocommerce-error li a {
  color: var(--white1);
}
/* Woocommerce messages*/
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border-top: none;
}

.woocommerce-error li {
  position: relative;
  color: var(--white1);
}

.woocommerce-message::before {
  color: var(--white1);
  left: 1em;
}

.woocommerce-notices-wrapper .woocommerce-error {
  text-align: left;
  margin-bottom: 55px;
}

.woocommerce-error {
  background-color: transparent;
  border-top: none;
  outline: none;
  border-radius: 6px;
  font-size: 14px;
  padding: 0;
}
.woocommerce-error .wc-forward,
.woocommerce-message .restore-item {
  color: var(--white1);
  padding-left: 5px;
}
.woocommerce-error::before {
  content: "";
}

.woocommerce-message {
  font-family: "OpenSans-SemiBold";
  padding: 12px 20px 12px 38px;
  margin: 0 0 40px;
  position: relative;
  background-color: var(--blue1);
  border: 1px solid var(--blue1);
  border-radius: 6px;
  color: var(--white1);
  display: inline-block;
  outline: none;
  font-size: 14px;
}
.woocommerce-Input.full-input {
  padding: 14.5px 48px 14.5px 16px !important;
}
/* Input hover */
.woocommerce-form-row input:hover {
  border: 1px solid var(--blue1);
  color: var(--black1);
}
/* Input focus */
.woocommerce-form-row input:focus {
  border: 1px solid var(--hoverBlue);
  color: var(--black1);
}
.woocommerce-error li::before {
  z-index: 1;
  background-image: url("assets/icons/error-message-icon.png");
}
.select2-container {
  width: auto;
}
.woocommerce-message::before {
  content: "";
  height: 20px;
  width: 20px;
  background-size: contain;
  background-image: url("assets/icons/success-message-icon.png");
}

.woocommerce-message li::before,
.woocommerce-error li::before {
  content: "";
  color: unset;
  height: 20px;
  width: 20px;
  top: 50%;
  left: 10px;
  background-size: contain;
  background-position: center;
  z-index: 1;
  transform: translateY(-50%);
  display: inline-block;
  position: absolute;
  background-image: url("assets/icons/error-message-icon.png");
}

.woocommerce form .show-password-input::before, .woocommerce-page form .show-password-input::before {
  display: none;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.woocommerce form .form-row .input-text:focus, .woocommerce form .form-row select:focus {
  border-color: var(--blue1);
}

.woocommerce form .woocommerce-Input.input-text:not(:placeholder-shown) {
  border: 1px solid var(--blue1);
}

/* For Firefox */
input[type=number] {
  -moz-appearance: textfield;
  -webkit-appearance: none;
  border: none;
}
input:focus {
  outline: none;
}

ul,
ol,
li {
  color: var(--black1);
}

.container {
  max-width: 1440px;
  margin: auto;
  width: 100%;
  padding: 0 50px;
  position: relative;
}

.container-fluid {
  width: 100%;
  margin: auto;
  padding: 0;
}

/* Woocommerce price showing HTML styles */

ins span.woocommerce-Price-amount, .product-prices > span.woocommerce-Price-amount {
  color: var(--blue1);
}

del:has(span.woocommerce-Price-amount) {
  text-decoration-color: var(--grey2);
  text-decoration-thickness: 0px;
}

ins:has(span.woocommerce-Price-amount) {
  text-decoration: none;
}

del span.woocommerce-Price-amount {
  color: var(--grey2);
}

.h1,
h1 {
  font-size: 56px;
  line-height: 66px;
  font-weight: 600;
  font-family: "OpenSans-SemiBold";
}

.h2,
h2 {
  font-size: 32px;
  line-height: 37px;
  font-weight: 600;
  font-family: "OpenSans-SemiBold";
}

.h3,
h3 {
  font-size: 26px;
  line-height: 30px;
  font-weight: 600;
  font-family: "OpenSans-SemiBold";
}

.h4,
h4 {
  font-size: 22px;
  line-height: 25px;
  font-weight: 600;
  font-family: "OpenSans-SemiBold";
}

.h5,
h5 {
  font-size: 20px;
  line-height: 23px;
  font-weight: 600;
  font-family: "OpenSans-SemiBold";
}

.h6,
h6 {
  font-size: 16px;
  line-height: 18px;
  font-weight: 600;
  font-family: "OpenSans-SemiBold";
}

.body1 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  font-family: "OpenSans-SemiBold";
}

.body2 {
  font-size: 14px;
  line-height: 19px;
  font-weight: 400;
  font-family: "OpenSans-Regular";
}

.body3 {
  font-size: 18px;
  line-height: 25px;
  font-weight: 600;
  font-family: "OpenSans-SemiBold";
}

.body4 {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  font-family: "OpenSans-SemiBold";
}

.body5 {
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  font-family: "OpenSans-Regular";
}

.body6 {
  font-size: 20px;
  line-height: 27px;
  font-weight: 700;
  font-family: "OpenSans-Bold";
}

.btn1 {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  font-family: "OpenSans-SemiBold";
}

.btn2 {
  font-size: 14px;
  line-height: 19px;
  font-weight: 500;
  font-family: "OpenSans-Medium";
}

.caption1 {
  font-size: 14px;
  line-height: 19px;
  font-weight: 400;
  font-family: "OpenSans-Regular";
}
.caption2 {
  font-size: 14px;
  line-height: 19px;
  font-weight: 700;
  font-family: "OpenSans-Bold";
}
.caption3 {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  font-family: "OpenSans-Regular";
}
.caption4 {
  font-size: 14px;
  line-height: 19px;
  font-weight: 600;
  font-family: "OpenSans-SemiBold";
}
.caption5 {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  font-family: "OpenSans-SemiBold";
}
.caption6 {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  font-family: "OpenSans-Regular";
}
.caption7 {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  font-family: "OpenSans-SemiBold";
}

@media (max-width: 992px) {
  .for-desktop {
    display: none;
  }
}
@media (max-width: 768px) {
  .h1,
  h1 {
    font-size: 32px;
    line-height: 42px;
    font-weight: 600;
    font-family: "OpenSans-SemiBold";
  }
  
  .h2,
  h2 {
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
    font-family: "OpenSans-SemiBold";
  }
  
  .h3,
  h3 {
    font-size: 20px;
    line-height: 23px;
    font-weight: 600;
    font-family: "OpenSans-SemiBold";
  }
  
  .h4,
  h4 {
    font-size: 19px;
    line-height: 22px;
    font-weight: 600;
    font-family: "OpenSans-SemiBold";
  }
  
  .h5,
  h5 {
    font-size: 18px;
    line-height: 21px;
    font-weight: 600;
    font-family: "OpenSans-SemiBold";
  }
  
  .h6,
  h6 {
    font-size: 16px;
    line-height: 18px;
    font-weight: 600;
    font-family: "OpenSans-SemiBold";
  }
  .body1 {
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    font-family: "OpenSans-SemiBold";
  }
  
  .body2 {
    font-size: 14px;
    line-height: 19px;
    font-weight: 400;
    font-family: "OpenSans-Regular";
  }
  
  .body3 {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    font-family: "OpenSans-SemiBold";
  }
  
  .body4 {
    font-size: 14px;
    line-height: 19px;
    font-weight: 600;
    font-family: "OpenSans-SemiBold";
  }
  
  .body5 {
    font-size: 14px;
    line-height: 19px;
    font-weight: 500;
    font-family: "OpenSans-Medium";
  }
  
  .body6 {
    font-size: 18px;
    line-height: 25px;
    font-weight: 700;
    font-family: "OpenSans-Bold";
  }
  
  .btn1 {
    font-size: 14px;
    line-height: 19px;
    font-weight: 600;
    font-family: "OpenSans-SemiBold";
  }
  .btn2 {
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    font-family: "OpenSans-Medium";
  }
  
  .caption1 {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    font-family: "OpenSans-Regular";
  }
  .caption2 {
    font-size: 14px;
    line-height: 19px;
    font-weight: 700;
    font-family: "OpenSans-Bold";
  }
  .caption3 {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    font-family: "OpenSans-Regular";
  }
  .caption4 {
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    font-family: "OpenSans-SemiBold";
  }
  .caption5 {
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    font-family: "OpenSans-SemiBold";
  }
  
  .caption6 {
    font-size: 11px;
    line-height: 15px;
    font-weight: 600;
    font-family: "OpenSans-Regular";
  }

  .caption7 {
    font-size: 11px;
    line-height: 15px;
    font-weight: 600;
    font-family: "OpenSans-SemiBold";
  }
  
  .container {
    padding: 0 20px;
  }
  
  /* Woocommerce form errors */
  .woocommerce-error li,
  .woocommerce-info li,
  .woocommerce-message li {
    padding: 8px 8px 8px 36px !important;
  }
}
