/* FONTS */

@font-face {
  font-display: swap;
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 300;
  src: url("../../fonts/Gilroy-Light.woff") format("woff");
}

@font-face {
  font-display: swap;
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 400;
  src: url("../../fonts/Gilroy-Regular.woff") format("woff");
}

@font-face {
  font-display: swap;
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 800;
  src: url("../../fonts/Gilroy-ExtraBold.woff") format("woff");
}

/* BASE STYLES */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body,
ul {
  margin: 0;
}

body {
  color: #000;
  font-family: "Gilroy", sans-serif;
  font-size: 16px;
  background-color: #f5f5f5;
  line-height: 2;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

ul,
td,
input {
  padding: 0;
}

ul {
  list-style-type: none;
}

address {
  font-style: normal;
}

a {
  display: inline-block;
}

img,
button,
input {
  user-select: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration,
select {
  -webkit-appearance: none;
}

input:focus,
select:focus {
  outline: none;
}

button,
input,
font {
  font-family: inherit;
}

textarea {
  resize: none;
}

font,
label {
  font-size: inherit;
}

@media screen and (min-width: 993px) {
  html {
    scroll-behavior: smooth;
  }
}

/* UTILITES */

.visually-hidden,
.no-scroll {
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
}

.no-scroll {
  height: 100vh;
}

/* WRAPPER */

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* PAGE */

.page {
  flex: 1 1 auto;
}

/* CONTAINER */

.container {
  width: 100%;
  max-width: 1400px;
  padding: 0 15px;
  margin: 0 auto;
}

@media screen and (min-width: 993px) {
  .container {
    padding: 0 30px;
  }
}

/* --------------------------------------FOR PAGES--------------------------------------- */

/* TELEPHONE */

.telephone {
  line-height: 1.2;
  position: relative;
}

.telephone::before {
  content: attr(data-title);
  position: absolute;
  left: 0;
  white-space: nowrap;
}

.telephone:hover::before {
  font-weight: 800;
}

.telephone:first-child {
  margin-right: 20px;
}

.telephone > span {
  color: transparent;
}

@media screen and (max-width: 767px) {
  .telephone {
    display: none;
  }
}

/* FOR FORMS */

.control-label {
  margin-bottom: 15px;
}

.form-control,
.checkbox-inline,
.radio-inline {
  line-height: 1.2;
}

.form-control {
  border-radius: 15px;
  font-size: 16px !important;
  border: 1px solid #e3e3e3;
  box-shadow: none;
  color: inherit;
  height: 46px;
  padding: 12px 22px;
}

textarea.form-control {
  height: 106px;
}

/* BUTTONS */

.btn {
  padding: 16px 25px;
  font-size: inherit !important;
  border-radius: 15px;
  box-shadow: none;
  border: none;
  line-height: 1.2;
  text-shadow: none;
  background-image: none;
  background-repeat: no-repeat;
  text-wrap-mode: wrap;
  text-align: center;
  transition: all 0.5s;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
  outline: none;
}

.btn-primary.focus,
.btn-primary:focus,
.btn-primary:hover,
.btn-secondary,
.btn-inverse:hover {
  background-color: #0bcd87;
}

.btn-inverse {
  color: inherit !important;
  background-color: #f1f1f1;
}

.btn-inverse:hover {
  background-image: none;
}

.btn-primary,
.btn-secondary {
  font-weight: 800;
}

.btn-primary {
  background-color: #026ef9;
}

.btn-secondary,
.btn-inverse:hover {
  color: #fff !important;
}

.buttons {
  margin: 10px 0 0;
}

@media screen and (max-width: 767px) {
  .buttons {
    margin: 0;
  }
}

@media screen and (max-width: 600px) {
  .btn,
  .buttons div {
    width: 100%;
  }

  .buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}

/* SECTION */

.section {
  padding-top: 50px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .section-title {
    margin-bottom: 15px !important;
    font-size: 20px;
  }
}

/* LINKS */

a:hover,
a:focus {
  color: inherit;
}

.link-hover,
.link-hover::before {
  white-space: nowrap;
}

.link-hover {
  position: relative;
}

.link-hover::before {
  content: attr(data-title);
  position: absolute;
  left: 0;
}

.link-hover:hover::before {
  font-weight: 800;
}

.link-hover > span {
  color: transparent;
}

/* PRODUCT */

.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 0;
}

.product-thumb,
.product-thumb .price,
.product-thumb__buttons {
  display: flex;
}

.product-thumb,
.product-thumb__buttons {
  flex-direction: column;
  gap: 20px;
  background-color: #fff;
}

.product-thumb {
  border: none;
  padding: 30px;
  border-radius: 15px;
  height: 100%;
}

.product-thumb:not(.product-layout .product-thumb),
.product-thumb .price {
  margin-bottom: 0;
}

.product-thumb .caption {
  padding: 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.product-thumb a,
.product-thumb .price {
  font-weight: 800;
}

.product-thumb a {
  font-size: 18px;
  line-height: 1.61;
  flex: 1 1 auto;
}

.product-thumb .price,
.product-thumb .price-old {
  color: inherit;
}

.product-thumb .price {
  font-size: 20px;
  line-height: 1.2;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.product-thumb .price-new {
  color: #026ef9;
}

.product-thumb .price-old {
  margin-left: 0;
}

.product-thumb__buttons {
  border-top: none;
}

.product-thumb__buttons button {
  font-weight: 400;
  width: 100%;
}

.category-description {
  margin-top: 20px;
}

.category-description ul {
  list-style-type: disc;
  padding-left: 20px;
}

@media screen and (max-width: 1200px) {
  .product-grid .product-thumb .caption {
    padding: 0;
    min-height: auto;
  }
}

@media screen and (max-width: 767px) {
  .product-thumb,
  .product-thumb__buttons {
    gap: 15px;
  }

  .product-thumb,
  .product-thumb a {
    margin-bottom: 15px;
  }

  .product-thumb {
    padding: 20px;
  }
}

/* OWL CAROUSEL */

.owl-theme .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 5px;
  background: #d9d9d9;
}

/* SWIPER */

.swiper-viewport,
.swiper-pagination-bullet {
  box-shadow: none !important;
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: #d9d9d9 !important;
  border-radius: 25px !important;
}

/* BREADCRUMB */

.breadcrumb {
  margin: 0 0 15px;
  padding: 20px 0 5px 0;
  border: none;
  background-color: transparent;
  white-space: nowrap;
  overflow-x: auto;
}

.breadcrumb > li {
  text-shadow: none;
  padding: 0 0 0 15px;
}

.breadcrumb > li:first-child {
  padding-left: 0;
}

.breadcrumb > li:after,
.breadcrumb > li:last-child svg {
  display: none;
}

.breadcrumb a {
  line-height: 1.2;
  margin-right: 15px;
}

@media screen and (max-width: 767px) {
  .breadcrumb {
    margin: 0 0 5px 0;
    padding: 20px 0 10px;
  }
}

/* LOGO */

#logo {
  margin: 0;
}

.logo,
.logo span {
  line-height: 1.2;
}

.logo {
  font-size: 14px;
  font-weight: 300;
}

.logo span {
  color: #026ef9;
  font-size: 38px;
  font-weight: 800;
}

@media screen and (max-width: 600px) {
  #logo img {
    width: 103px;
  }
}

/* CONTENT */

#content p:last-child {
  margin-bottom: 0;
}

/* PAGINATION */

.pagination,
.pagination > li {
  display: flex;
  justify-content: center;
}

.pagination {
  gap: 10px;
  margin-top: 30px;
}

.pagination > li {
  align-items: center;
  text-align: center;
}

.pagination > li > a,
.pagination > li > span {
  padding: 8px;
  line-height: 1.2;
  color: inherit;
  background-color: #fff;
  border: none;
  height: 34px;
  width: 35px;
  border-radius: 5px;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
  color: #fff;
  background-color: #026ef9;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  background-color: #026ef9;
}

@media screen and (max-width: 767px) {
  .pagination {
    margin-top: 0;
  }
}

/* SORTING */

.sorting {
  display: flex;
  justify-content: flex-end;
}

.sorting .input-group {
  margin-bottom: 30px;
  height: 45px;
}

.sorting .input-group-addon {
  padding: 0 15px 0 0;
  color: inherit;
  background-color: transparent;
  border: none;
  font-size: 14px;
}

.sorting .form-control {
  height: 100%;
  border-radius: 15px;
  max-width: 233px;
}

.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn,
.input-group-btn:first-child > .btn:not(:first-child),
.input-group-btn:last-child > .btn-group > .btn,
.input-group-btn:last-child > .dropdown-toggle {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

@media screen and (max-width: 767px) {
  .sorting {
    justify-content: flex-start;
  }

  .sorting .input-group {
    margin-bottom: 15px;
  }

  .sorting .form-control {
    font-size: 14px !important;
  }
}

/* IMAGE */

.img-thumbnail {
  line-height: 1.2;
  background-color: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 15px;
}

/* ALERT */

.alert-message {
  position: fixed;
  top: 20px;
  width: 100%;
  z-index: 100000;
  left: 50%;
  transform: translateX(-50%);
}

.alert {
  background-color: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 15px;
  position: relative;
  padding: 8px 30px 8px 14px;
}

.alert .close {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.alert a:hover {
  font-weight: 800;
}

/* TABLE */

.table-responsive {
  padding: 20px;
  border: 1px solid #e3e3e3;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-radius: 15px;
}

.table-responsive > div {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.table-row {
  display: flex;
  gap: 15px;
}

.table-row .form-control {
  height: 50px;
}

.table-row a:hover {
  font-weight: 800;
}

.table-products {
  flex-direction: column;
  display: flex;
  gap: 20px;
}

@media screen and (max-width: 767px) {
  .table-row {
    width: 100%;
    justify-content: space-between;
  }
}

/* POPUP */

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.popup-content,
.popup-close {
  position: absolute;
}

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

.popup-content {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
}

.popup-close {
  top: 0;
  right: 15px;
  font-size: 18px;
  cursor: pointer;
}

.popup-title,
.popup-text {
  margin-bottom: 20px;
}

.popup-title {
  text-transform: none;
  font-size: 22px;
}

.popup-text {
  padding: 20px;
  background-color: #f1f1f1;
  border-radius: 15px;
}

.popup-text p:last-child,
.popup-message {
  margin-bottom: 0;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup-message {
  display: none;
  line-height: 1.2;
}

@media screen and (max-width: 767px) {
  .popup-content {
    padding: 20px;
  }
}

/* HEADER */

.header {
  background-color: #fff;
}

/* HEADER TOP */

#top,
#top-links {
  display: flex;
}

#top {
  background-color: transparent;
  border-bottom: 1px solid #e3e3e3;
  padding: 15px 0px 15px 0;
  margin: 0 0 15px 0;
  align-items: center;
  justify-content: space-between;
}

.header-top-right {
  line-height: 1.2;
}

#top-links {
  gap: 30px;
  flex-grow: 1;
  padding-top: 0;
}

#top .btn-link,
#top-links li,
#top-links a,
#top .btn-link:hover,
#top-links a:hover {
  color: inherit;
}

#top .btn-link,
#top-links li,
#top-links a {
  text-shadow: none;
  text-decoration: none;
}

@media screen and (max-width: 1023px) {
  #top-links {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  #top {
    padding: 10px 0px 10px 0;
    margin: 0 0 10px 0;
  }

  .header-top-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
  }
}

/* DROPDOWN */

.btn-group > .btn,
.btn-group > .dropdown-menu,
.btn-group > .popover {
  font-size: inherit;
}

.dropdown-menu,
#top #form-currency .currency-select:hover,
#top #form-language .language-select:hover,
.dropdown-menu li > a:hover {
  border-radius: 15px;
}

.dropdown-menu {
  border: 1px solid #e3e3e3;
  box-shadow: none;
  padding: 0;
  font-size: 16px;
  min-width: 80px;
}

#top #form-currency .currency-select,
#top #form-language .language-select,
.dropdown-menu > li > a {
  text-align: center;
  padding: 5px;
}

#top #form-currency .currency-select:hover,
#top #form-language .language-select:hover,
.dropdown-menu li > a:hover {
  background-color: #026ef9;
  background-image: none;
  background-repeat: no-repeat;
}

.dropdown-menu > li > a {
  line-height: 1.5;
  color: inherit;
  height: 33px;
  padding: 5px 20px;
}

/* DROPDOWN FOR BUYER */

.for-customers__btn {
  background-color: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media screen and (max-width: 767px), (min-width: 1024px) {
  .header__customers {
    display: none;
  }
}

/* DROPDOWN TELEPHONE */

.dropdown-telephone {
  display: none;
}

.dropdown-telephone__btn {
  white-space: nowrap;
  padding: 0;
  background-color: transparent;
  border: none;
  display: flex;
  gap: 5px;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .dropdown-telephone {
    display: block;
  }
}

/* LANGUAGE */

.language-btn {
  padding: 0;
  border: none;
  margin-left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* HEADER BOTTOM */

.header-bottom {
  display: flex;
  gap: 15px 30px;
  padding-bottom: 15px;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .header-bottom {
    padding-bottom: 10px;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 499px) {
  .header-bottom {
    position: relative;
  }
}

/* MOBILE MENU */

.menu-burger {
  height: 21px;
}

.menu-burger__btn {
  background-color: transparent;
  padding: 0;
  border: none;
  height: 21px;
}

.menu-burger__btn svg:nth-child(2) {
  display: none;
}

.menu-burger__btn.active svg:nth-child(1) {
  display: none;
}

.menu-burger__btn.active svg:nth-child(2) {
  display: block;
}

.mobile-menu {
  position: absolute;
  width: 100vw;
  height: 0;
  background-color: #fff;
  z-index: 999;
  left: -15px;
  overflow: hidden;
  opacity: 0;
  transition: height 0.5s ease-in-out, opacity 0.5s ease-in-out;
  border-top: 1px solid #e3e3e3;
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}

.mobile-menu.open {
  height: calc(100svh - 113px);
  opacity: 1;
}

.mobile-menu__search {
  padding: 15px;
  border-bottom: 1px solid #e3e3e3;
}

.mobile-menu__list {
  padding: 15px 15px 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  line-height: 1.2;
}

.mobile-menu__list a:hover {
  font-weight: 800;
}

.mobile-menu__footer {
  padding: 20px 15px;
}

.mobile-menu__footer-list {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-direction: column;
}

.mobile-menu__footer-list li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mobile-menu__footer-list .fa {
  font-size: 30px;
  color: #026ef9;
  width: 30px;
}

.mobile-menu__footer-list address {
  margin-bottom: 0;
  line-height: 32px;
}

.mobile-menu__socials {
  gap: 15px;
  display: flex;
  margin-bottom: 20px;
}

.mobile-menu__socials .fa {
  font-size: 25px;
  color: #000;
}

@media screen and (min-width: 767px) {
  .menu-burger {
    display: none;
  }
}

/* MENU */

#menu {
  background-color: transparent;
  background-image: none;
  background-repeat: no-repeat;
  border: none;
  min-height: 50px;
  max-width: 256px;
  flex-grow: 1;
  position: relative;
}

.menu__btn {
  width: 100%;
  height: 50px;
  min-width: 147px;
}

.menu__btn.open {
  border-radius: 15px 15px 0 0;
}

@media screen and (max-width: 767px) {
  .menu {
    order: 1;
    width: 100%;
  }

  #menu {
    max-width: none;
  }
}

/* MENU CATALOG */

.menu-catalog {
  position: absolute;
  width: 100%;
  border-radius: 0px 0px 15px 15px;
  border-right: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
  border-left: 1px solid #e3e3e3;
  background: #fff;
  padding: 15px 20px 3px;
  z-index: 10;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.menu-catalog.open {
  opacity: 1;
  overflow: visible;
}

.menu-catalog__list li {
  margin-bottom: 12px;
  line-height: 1.2;
}

.menu-catalog__list a:hover {
  font-weight: 800;
}

/* SEARCH */

#search,
#search-mobile {
  margin-bottom: 0;
  position: relative;
  flex-grow: 1;
}

.search-input {
  height: 50px;
  padding: 17px 27px;
  border-radius: 15px;
  font-size: 14px;
}

.search-btn {
  background-color: transparent;
  border: 0;
  padding: 0;
  position: absolute;
  top: 16px;
  right: 16px;
}

@media screen and (max-width: 767px) {
  .header-bottom > #search {
    display: none;
  }
}

/* CART */

#cart {
  margin-bottom: 0;
  height: 50px;
  margin-left: auto;
}

#cart > .btn {
  float: right;
  padding: 14px 15px;
  font-size: 12px;
  text-wrap-mode: nowrap;
  height: 100%;
}

#cart.open > .btn {
  background-color: #0bcd87;
  border: none;
  color: #fff !important;
}

#cart .dropdown-menu {
  background: #fff;
  padding: 20px;
  line-height: 1.2;
  max-height: 477px;
  margin: 10px 0 0;
}

#cart .dropdown-menu li > div {
  padding: 0;
}

.cart__products {
  max-height: 310px;
  overflow-y: auto;
}

.cart__image {
  flex-shrink: 0;
}

.cart__image .img-thumbnail {
  border-radius: 5px;
}

.cart__caption {
  flex: 1 1 auto;
}

.cart__name:hover {
  font-weight: 800;
}

.cart__info,
.cart__totals {
  display: flex;
}

.cart__info {
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.cart__total {
  white-space: nowrap;
}

.cart__remove-btn {
  background-color: transparent;
  border: none;
  padding: 0;
}

.cart__totals {
  margin-bottom: 15px;
  justify-content: space-between;
}

#cart .dropdown-menu li p {
  margin: 0;
}

@media screen and (min-width: 768px) {
  #cart,
  #cart > .btn {
    width: 100%;
  }

  #cart {
    max-width: 182px;
  }
}

@media screen and (max-width: 499px) {
  #cart {
    position: static;
  }

  #cart .dropdown-menu {
    top: 50%;
    margin: 0;
  }
}

/* ITEM CARDS */

.item-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.item-card {
  border-radius: 15px;
  background-color: #fff;
  padding: 30px;
  transition: transform 0.3s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
}

.item-card:hover {
  transform: translateY(-5px);
}

.item-card__title {
  margin-bottom: 15px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

/* FOOTER */

footer,
footer a,
footer a:hover {
  color: inherit !important;
}

footer {
  margin-top: 50px;
  padding-top: 0;
  background-color: transparent;
  border-top: none;
  line-height: 1.2;
  padding-bottom: 30px;
}

.footer-container,
.footer-contacts,
footer .list-unstyled,
.footer-info {
  display: flex;
}

.footer-contacts,
footer .list-unstyled {
  flex-direction: column;
}

.footer-container {
  padding-top: 20px;
  border-top: 1px solid #e3e3e3;
  gap: 20px;
}

.footer-info {
  gap: 30px;
}

.footer-info,
.footer-map {
  flex-basis: 50%;
}

.footer-contacts {
  gap: 20px;
}

.footer-info__section {
  flex-basis: calc((100% - 40px) / 3);
}

footer p,
.footer-link-map,
footer a:hover {
  font-weight: 800;
}

footer p {
  margin-bottom: 15px;
}

footer .list-unstyled {
  gap: 10px;
}

footer address {
  margin-bottom: 10px;
}

.footer-link-map {
  font-size: 14px;
}

.footer-map {
  padding-right: 0;
}

.footer-map__iframe {
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

@media screen and (max-width: 991px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-info,
  .footer-map {
    flex-basis: 100%;
  }
}

@media screen and (max-width: 600px) {
  .footer-info {
    flex-direction: column;
  }

  .footer-info__section {
    flex-basis: 100%;
  }
}

/* ------------------------------------------------HOME--------------------------------------- */

/* SLIDESHOW */

.slideshow .swiper-container {
  border-radius: 15px;
}

.slideshow.swiper-viewport {
  margin: 25px 0 0;
  border: 1px solid #f9f9f9;
  border-radius: 15px;
}

#slideshow0 .swiper-slide {
  display: flex;
  justify-content: flex-end;
}

#slideshow0 .slideshow-inner {
  left: 50px;
  bottom: 45px;
}

#slideshow1 {
  aspect-ratio: 1 / 1;
}

#slideshow1 .slideshow-inner {
  left: 50%;
  bottom: 40%;
  transform: translate(-50%, 50%);
}

.slideshow-inner {
  position: absolute;
}

.slideshow-inner .btn {
  text-wrap-mode: nowrap;
}

.slideshow-title {
  font-size: 31px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.2;
}

.slideshow .swiper-pagination {
  bottom: 20px;
}

@media screen and (max-width: 767px) {
  .slideshow.swiper-viewport {
    margin: 15px 0 0;
  }
}

@media screen and (min-width: 601px) {
  .slideshow.swiper-viewport:has(#slideshow1) {
    margin: 0;
  }

  #slideshow1,
  .slideshow1 {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .slideshow.swiper-viewport:has(#slideshow0) {
    margin: 0;
  }

  #slideshow0,
  .slideshow0 {
    display: none;
  }

  .slideshow-title {
    text-align: center;
  }
}

/* CONSULTATION */

.consultation {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  margin-top: 50px;
}

.consultation .section-title {
  margin-bottom: 15px;
}

.consultation__text {
  margin-bottom: 30px;
  line-height: 1.2;
}

.consultation__form {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.consultation__input,
.consultation__form .btn {
  width: 100%;
}

.consultation__input .form-control {
  height: 51px;
}

.consultation__input .popup-message {
  margin-top: 10px;
}

@media screen and (max-width: 767px) {
  .consultation__form {
    flex-direction: column;
  }
}

/* CATEGORIES */

.home-categories-container,
.home-category {
  display: flex;
}

.home-categories-container {
  flex-wrap: wrap;
  gap: 20px;
}

.home-category {
  flex-basis: calc((100% - 60px) / 4);
  border-radius: 15px;
  background-color: #fff;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

.home-category:hover {
  background-color: #e2efff;
}

.home-category:hover .home-category__name {
  font-weight: 800;
}

.home-category img {
  width: 160px;
}

.home-category__name {
  line-height: 1.2;
  margin-top: 15px;
  text-align: center;
}

@media screen and (max-width: 788px) {
  .home-category {
    flex-basis: calc((100% - 40px) / 3);
  }
}

@media screen and (max-width: 600px) {
  .home-category {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media screen and (max-width: 425px) {
  .home-category {
    flex-basis: 100%;
  }
}

/* CAROUSEL */

.carousel.swiper-viewport {
  margin: 0 0 33px;
  background: transparent;
  border: none;
}

.carousel .swiper-slide {
  border-radius: 15px;
  background-color: #fff;
  padding: 46px 22px;
  height: 125px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FEATURES */

.feature {
  flex-basis: calc((100% - 60px) / 3);
}

@media screen and (max-width: 992px) {
  .feature {
    flex-basis: 100%;
  }
}

/* ------------------------------------------INFORMATION--------------------------------- */

#information-information {
  line-height: 2.22;
}

#information-information .section-title {
  margin-bottom: 24px;
}

#information-information #content ul:not(.about-section ul) {
  list-style-type: disc;
  padding-left: 20px;
}

/* ------------------------------------------------CATEGORY, SPECIAL, MANUFACTURER------------------------------------------ */

#product-category .section-title,
#product-search .section-title,
#product-manufacturer .section-title {
  margin-bottom: 20px;
}

#product-manufacturer #content a:hover {
  font-weight: 800;
}

/* ---------------------------------------------PRODUCT----------------------------------------------------- */

.product-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.product-section {
  padding-top: 32px;
}

.product-section .product-title:nth-child(n + 3) {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e3e3e3;
}

#description ol {
  padding: 0 0 0 17px;
}

#description ul {
  padding: 0 0 0 17px;
  list-style-type: disc;
}

#description ul:not(:last-child) {
  margin-bottom: 10px;
}

.product-attributes {
  display: flex;
  gap: 2%;
}

.product-attributes__name {
  width: 29%;
}

.product-attributes__text {
  width: 69%;
}

.product-attributes__text.only {
  width: 100%;
}

.product-attributes + .product-attributes {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e3e3e3;
}

@media screen and (max-width: 767px) {
  .product-attributes {
    flex-direction: column;
  }

  .product-attributes__name,
  .product-attributes__text {
    width: 100%;
  }
}

/* THUMBNAILS */

.product-images {
  padding-right: 20px;
}

.thumbnails,
.thumbnails .image-additional {
  margin-left: 0;
}

.thumbnails .image-additional {
  max-width: 208px;
}

.thumbnail,
.image-additional a {
  padding: 0;
  border: none;
}

.thumbnail {
  margin-bottom: 23px;
  position: relative;
  border-radius: 15px;
}

.thumbnail img {
  border-radius: 15px;
}

.in-stock {
  position: absolute;
  top: 13px;
  right: 13px;
  border-radius: 5px;
  background-color: #0bcd87;
  padding: 8px 23px;
  color: #fff;
  line-height: 1;
}

.additional-images {
  display: flex;
  gap: 17px;
  margin-bottom: 55px;
}

@media screen and (max-width: 767px) {
  .thumbnails .image-additional {
    flex-basis: calc((100% - 30px) / 3);
    max-width: none;
  }

  .thumbnail,
  .additional-images,
  .image-additional a {
    margin-bottom: 15px;
  }

  .additional-images {
    gap: 15px;
  }
}

/* RIGHT */

.product,
.product__info,
.product-buttons {
  display: flex;
}

.product,
.product__info {
  flex-direction: column;
}

.product {
  gap: 25px;
}

.product__name,
.product__info li span {
  text-transform: uppercase;
}

.product__name,
.product-price li {
  font-size: 24px;
}

.product__name,
.product-price li,
.product-buttons .btn-inverse,
.product-description__btn {
  font-weight: 800;
}

.product__name {
  line-height: 1.4;
  margin-bottom: 0;
}

.product__info {
  gap: 14px;
}

.product__info li {
  line-height: 1.5;
}

.product__info a:hover {
  font-weight: 800;
}

.product__text {
  margin-bottom: 0;
}

.product-price {
  display: flex;
  gap: 10px;
}

.product-price li {
  line-height: 1.2;
}

.product-price__special {
  color: #026ef9;
}

.product-buttons {
  flex-wrap: wrap;
  gap: 20px 22px;
}

.product-buttons__buy-btn {
  flex-basis: calc((100% - 22px) / 2);
}

.product-description__content {
  line-height: 1.88;
}

.product-description__btn {
  margin-top: 15px;
  position: relative;
}

.product-description__btn::before,
.product-description__btn::after {
  content: "";
  width: 5px;
  height: 1px;
  background-color: #000;
  position: absolute;
  top: 50%;
  right: -15px;
}

.product-description__btn::before {
  transform: translateY(-50%) rotate(-45deg);
  margin-right: -3px;
}

.product-description__btn::after {
  transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 992px) {
  .product-buttons__buy-btn {
    flex-basis: 100%;
  }
}

@media screen and (max-width: 767px) {
  .product {
    gap: 20px;
  }

  .product-buttons {
    gap: 15px;
  }

  .product-description {
    display: none;
  }
}

/* -------------------------------------------------CONTACT------------------------------------------- */

#information-contact .section-title {
  margin-bottom: 33px;
}

.contact-section,
.contact-link-map,
.contact-title {
  line-height: 1.2;
}

.contact-section {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.contact-section address,
.contact-title {
  margin-bottom: 0;
}

.contact-title,
.contact-link-map {
  font-weight: 800;
}

.contact-link-map {
  font-size: 14px;
}

.form-horizontal .contact-title {
  margin-bottom: 20px;
}

.contact-map {
  width: 100%;
  margin-top: 20px;
  height: 365px;
}

@media screen and (max-width: 767px) {
  .contact-section {
    margin-bottom: 15px;
  }
}

/* ---------------------------------------------CART----------------------------------------------- */

.cart-cell {
  width: 200px;
  flex-shrink: 0;
}

.cart-cell .input-group-btn .btn {
  width: 66px;
}

.panel {
  box-shadow: none;
}

.panel-group .panel,
.panel-heading {
  border-radius: 15px;
}

.panel-group .panel + .panel {
  margin-top: 15px;
}

.panel-default,
.panel-default > .panel-heading,
.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-color: #e3e3e3;
}

.panel-default > .panel-heading {
  color: inherit;
  background-color: #fff;
}

.panel-group .panel-heading + .panel-collapse > .list-group,
.panel-group .panel-heading + .panel-collapse > .panel-body {
  border-top: 1px solid #e3e3e3;
}

#accordion .input-group-btn {
  font-size: inherit;
}

#accordion .btn {
  text-wrap-mode: nowrap;
}

#accordion .form-control {
  height: 51px;
}

.cart-totals {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media screen and (max-width: 767px) {
  #accordion .input-group-btn {
    width: 100%;
  }

  #checkout-cart .buttons {
    margin-top: 15px;
  }

  #accordion .input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  #accordion .input-group .form-control:first-child {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
  }

  #accordion .input-group-btn:last-child > .btn {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
  }

  #accordion .btn {
    text-wrap-mode: wrap;
  }
}

/* ------------------------------------------SEARCH------------------------------------- */

.search-field,
.search-checkboxes {
  margin-bottom: 20px;
}

.search-checkboxes {
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  #input-search,
  .search-checkboxes {
    margin-bottom: 15px;
  }

  .search-checkboxes {
    margin-top: 15px;
  }
}

@media screen and (max-width: 600px) {
  .checkbox-inline + .checkbox-inline {
    margin-left: 0;
  }
}

/* ---------------------------------------LOGIN----------------------------------------- */

.well {
  border-radius: 15px;
  box-shadow: none;
}

.form-group a:hover {
  font-weight: 800;
}

/* ----------------------------------------REGISTER------------------------------------------ */

#account-register a:hover {
  font-weight: 800;
}

.radio-inline input[type="radio"] {
  margin-top: 4px;
}

@media screen and (min-width: 768px) {
  .form-horizontal .control-label {
    text-align: left;
  }
}

@media screen and (max-width: 600px) {
  #account-register .buttons .btn {
    margin-top: 15px;
  }

  .buttons span {
    white-space: nowrap;
  }
}

/* ---------------------------ACCOUNT------------------------------------------ */

#account-account .section-title {
  margin-bottom: 20px;
}

#account-account a:hover {
  font-weight: 800;
}

#account-account .list-unstyled {
  margin-bottom: 20px;
}

/* ---------------------------------ADDRESS---------------------------------------------- */

#account-address .table-responsive {
  gap: 20px;
}

#account-address form {
  overflow-x: auto;
}

#account-address form + form {
  padding-top: 20px;
  border-top: 1px solid #e3e3e3;
}

.address-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.address-info {
  flex-grow: 1;
}

/* -------------------------------------------------ORDER--------------------------------------- */

.order-cell {
  width: 13.5%;
  flex-shrink: 0;
  min-width: 124px;
}

@media screen and (max-width: 767px) {
  .order-table {
    overflow-x: auto;
  }
}

/* -------------------------------------------ONEPCHECKOUT---------------------------------- */

@media screen and (max-width: 619px) {
  .cart-item-prod-name,
  .cart-item .product-model {
    padding-left: 0;
  }

  .cart-item .cart-item-price-quantity {
    gap: 15px;
  }
}

/* -----------------------------------------------ABOUT COMPANY------------------------------------------------ */

/* ABOUT COMPANY */

.about-section {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-section img,
.about-section__info {
  width: 50%;
}

.about-section img {
  border-radius: 15px;
}

.about-info-title {
  font-size: 30px;
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.about-info-list {
  line-height: 2;
}

.about-info-list li {
  margin-bottom: 15px;
}

.about-info-list i {
  color: #026ef9;
  padding-right: 15px;
  font-size: 20px;
}

@media screen and (min-width: 768px) {
  .about-section img {
    max-height: 540px;
    max-width: 540px;
  }
}

@media screen and (max-width: 767px) {
  .about-section {
    flex-direction: column;
    gap: 20px;
  }

  .about-section img,
  .about-section__info {
    width: 100%;
  }

  .about-info-title {
    font-size: 20px;
  }

  .about-info-list {
    font-size: 16px;
  }
}

/* COUNTERS */

.counters {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.counter {
  flex-basis: calc((100% - 60px) / 3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.2;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
}

.counter span {
  font-size: 50px;
  margin-bottom: 15px;
  color: #026ef9;
}

@media screen and (max-width: 767px) {
  .counters {
    flex-direction: column;
  }
}

/* WORK STEPS */

.work-step {
  flex-basis: calc((100% - 90px) / 4);
}

@media screen and (max-width: 1200px) {
  .work-step {
    padding: 30px 20px;
  }
}

@media screen and (max-width: 992px) {
  .work-step {
    flex-basis: calc((100% - 30px) / 2);
  }
}

@media screen and (max-width: 767px) {
  .work-step {
    flex-basis: 100%;
  }
}

/* -----------------------------------------CALLBACK BUTTON---------------------------------- */

.page-callback-btn {
  position: fixed;
  bottom: 50px;
  right: 63px;
  border-radius: 15px;
  background-color: #026ef9;
  padding: 14px;
  border: none;
  width: 50px;
  height: 50px;
  transition: background-color 0.5s;
}

.page-callback-btn:hover {
  background-color: #0bcd87;
}
