html {
  font-size: 62.5%; /* Це задали 1rem = 10px */
}

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  color: #666;
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 160rem;
  margin: 0 auto;
}

.container-header {
  max-width: 160rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (max-width: 806px) {
  .container-header {
    padding: 0;
  }
}

#column-left,
#column-right
{ width: 26rem; }

/* Прибираємо рамку тільки при кліку мишкою */
.btn:focus,
.btn:active,
.btn:focus:active {
  outline: none;
  box-shadow: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #444;
  margin-top: 1.5rem;
}
/* default font size */
.fa {
  font-size: 1.6rem;
}
/* Override the bootstrap defaults */
h1 {
  font-size: 3.3rem;
}
h2 {
  font-size: 2.7rem;
}
h3 {
  font-size: 2.1rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.2rem;
}
h6 {
  font-size: 1.1rem;
}
a {
  color: #23a1d1;
}
a:hover {
  text-decoration: none;
}
legend {
  font-size: 1.8rem;
  padding: 7px 0px;
}
label {
  font-size: 1.2rem;
  font-weight: normal;
}
select.form-control,
textarea.form-control,
input[type="text"].form-control,
input[type="password"].form-control,
input[type="datetime"].form-control,
input[type="datetime-local"].form-control,
input[type="date"].form-control,
input[type="month"].form-control,
input[type="time"].form-control,
input[type="week"].form-control,
input[type="number"].form-control,
input[type="email"].form-control,
input[type="url"].form-control,
input[type="search"].form-control,
input[type="tel"].form-control,
input[type="color"].form-control {
  font-size: 1.6rem;
}
.input-group input,
.input-group select,
.input-group .dropdown-menu,
.input-group .popover {
  font-size: 1.2rem;
}
.input-group .input-group-addon {
  font-size: 1.2rem;
  height: 3rem;
}
/* Fix some bootstrap issues */
span.hidden-xs,
span.hidden-sm,
span.hidden-md,
span.hidden-lg {
  display: inline;
}

.nav-tabs {
  margin-bottom: 1.5rem;
}
div.required .control-label:before {
  content: "* ";
  color: #f00;
  font-weight: bold;
}

/* ================= top ================== */
#top {
  background-color: #00425f;
}
#top #form-currency .currency-select,
#top #form-language .language-select {
  text-align: left;
}
#top #form-currency .currency-select:hover,
#top #form-language .language-select:hover {
  text-shadow: none;
  color: #fff;
  background-color: #229ac8;
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
  background-repeat: repeat-x;
}
#top .btn-link,
#top-links li,
#top-links a {
  color: #fff;
  text-decoration: none;
}
#top .btn-link:hover,
#top-links a:hover {
  color: #dcdcdc;
}
#top-links .dropdown-menu a {
  text-shadow: none;
}
#top-links .dropdown-menu a:hover {
  color: #fff;
}
#top .btn-link strong {
  font-size: 1.4rem;
  line-height: 1.4rem;
}
#top-links {
  padding-top: 6px;
}
#top-links a + a {
  margin-left: 1.5rem;
}
#top .navbar-nav > li > a {
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: #fff;
  font-size: 1.4rem;
}
#top .nav > li > a:focus,
#top .nav > li > a:hover {
  background-color: transparent;
  color: #dcdcdc;
}
@media (max-width: 806px) {
  #top {
    display: none;
  }
}
/* ================= Top END ============== */


/* ================= Header ============== */
header {
  background-color: #1a6fa0;
}
/* logo */
#logo {
  margin: 0;
}
#logo img {
  max-width: 20rem;
}
@media (min-width: 1251px) {
  .header-block {
    min-height: 64px;
    gap: 2rem;
    position: relative;
  }
}
@media (max-width: 806px) {
  .header-block {
    flex-direction: column-reverse;
    gap: 0;
  }
  .header-block-left {
    padding: 0.5rem 1.5rem;
  }
  .header-block-right {
    background-color: #00425f;
    padding: 0.5rem 1.5rem;
  }
}
.cart-compare-header {
  position: relative;
  border: none;
  background: none;
  margin-right: 1.2rem;
}
.header-icons,
header .caret,
#search-mobil,
.cart-compare-header i {
  font-size: 2.8rem;
  color: #fff;
}
.header-total {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background-color: #a9a41e;
  color: white;
  border-radius: 5rem;
  height: 2.4rem;
  width: 2.4rem;
  font-size: 1.2rem;
  font-weight: 600;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 806px) {
  .header-total {
    top: 0;
    right: -1.5rem;
  }
}
.header-phone {
  color: #fff;
  font-weight: 600;
}
.address-header {
  min-width: 22rem;
}
.address-header ul {
  list-style: none;
  padding: 1rem 1.5rem;
  margin-bottom: 0;
}
.header-cart-menu .table > tbody > tr > td {
  vertical-align: middle;
}
.lang-header > button {
  color: #fff;
  font-weight: 600;
}
.lang-header > button:hover,
.lang-header > button:focus {
  color: #e5e5e5;
  text-decoration: none;
}
.lang-header a,
.lang-header ul a {
  text-decoration: none;
}
.lang-header ul button:hover {
  text-decoration: none;
  color: #000;
}
.lang-header ul {
  min-width: 100%;
}
.language-select {
  text-align: left;
}
/* search */
#search {
  margin-bottom: 0;
  width: 100%;
}
#search input {
  height: 4rem;
  line-height: 2rem;
  padding: 0 1rem;
  border-top-left-radius: 3rem;
  border-bottom-left-radius: 3rem;
}
#search .btn {
  font-size: 1.6rem;
  line-height: 2rem;
  padding: 1rem 2rem;
  background: #00425f;
  color: #fff;
  border: none;
  border-top-right-radius: 3rem;
  border-bottom-right-radius: 3rem;
  transition: background 0.5s;
}
#search .input-group-btn {
  width: 5.4rem;
}
#search .btn:hover {
  background: #00293a;
}
.search-block {
  width: 100%;
}
/* мобільний пошук */
/* desktop */
@media (min-width: 992px) {
  .mobile-search {
    display: flex;
  }
}
/* mobile */
@media (max-width: 991px) {
  .mobile-search {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
  .mobile-search.active {
    display: flex;
  }
}
/* cart */
#cart {
  margin-bottom: 0;
}
#cart > .btn {
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: #fff;
}
#cart.open > .btn {
  background-image: none;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  color: #666;
  box-shadow: none;
  text-shadow: none;
}
#cart.open > .btn:hover {
  color: #444;
}
#cart .dropdown-menu {
  background: #fcfcfc;
  z-index: 1001;
}
#cart .dropdown-menu {
  overflow-y: auto;
  max-height: 80rem;
  scrollbar-width: thin;
  overflow-x: hidden;
  padding: 1.5rem;
}
/*@media (max-width: 478px) {*/
/*  #cart .dropdown-menu {*/
/*    width: 100%;*/
/*  }*/
/*}*/
#cart .dropdown-menu table {
  margin-bottom: 1rem;
}
#cart .dropdown-menu li > div {
  min-width: 42.7rem;
  padding: 0 10px;
}
@media (max-width: 478px) {
  #cart .dropdown-menu li > div {
    min-width: 100%;
  }
}
#cart .dropdown-menu li p {
  margin: 2rem 0;
}
/* ================= Header END ============== */


/* ================= Footer ============== */
footer {
  margin-top: 3rem;
  padding-top: 3rem;
  background-color: #303030;
  border-top: 1px solid #ddd;
  color: #e2e2e2;
}
footer hr {
  border-top: none;
  border-bottom: 1px solid #666;
}
footer a {
  color: #ccc;
}
footer a:hover {
  color: #fff;
}
footer h5 {
  font-family: "Open Sans", sans-serif;
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
}
/* ================= Footer END ============== */


/* ================ Content  ==================== */
main {
  min-height: 60rem;
}
.content { width: 100%; }
.breadcrumb {
  margin-top: 1rem;
  background-color: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}
.breadcrumb a {
    color: #444444;
}
.breadcrumb a:hover {
    color: #bf0000;
}
.pagination {
  margin: 0;
}
/* ================ Content END ================ */


/* buttons */
.buttons {
  margin: 1em 0;
}

/* Alert */
.alert {
  padding: 8px 14px 8px 14px;
}

/* carousel */
.carousel-caption {
  color: #fff;
  text-shadow: 0 1px 0 #000;
}
.carousel-control .icon-prev:before {
  content: "\f053";
  font-family: FontAwesome;
}
.carousel-control .icon-next:before {
  content: "\f054";
  font-family: FontAwesome;
}

.rating .fa-stack {
  font-size: 8px;
}
.rating .fa-star-o {
  color: #999;
  font-size: 1.5rem;
}
.rating .fa-star {
  color: #fc0;
  font-size: 1.5rem;
}
.rating .fa-star + .fa-star-o {
  color: #e69500;
}
h2.price {
  margin: 0;
}

/* =========== Сітка Товарів в Категорії ======== */
.product-thumb {
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  overflow-x: hidden;
  padding: 1.5rem;
}
.product-thumb:hover {
  box-shadow: 0px 1px 5px #666;
}
.product-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.product-thumb .caption h4 {
  font-weight: 600;
}
.product-thumb .rating {
  padding-bottom: 1rem;
}
.product-thumb .price {
  display: flex;
  gap:1rem;
  color: #c71313;
  font-weight: 600;
}
.product-thumb .price-old {
  color: #999;
  text-decoration: line-through;
}
.product-thumb .price-tax {
  color: #999;
  font-size: 1.2rem;
  display: block;
}
.product-thumb-cart {
  border: 2px solid #1a6fa0;
  border-radius: 0.4rem;
  overflow: auto;
}
.product-thumb-cart {
  /* width: 60%; */
  border: 2px solid #1a6fa0;
  border-radius: 0.8rem;
  background-color: transparent;
  align-self: center;
}
.product-thumb-cart:hover {
  background-color: #1a6fa0;
  text-decoration: none;
  cursor: pointer;
}
.product-thumb-cart .fa {
  /* line-height: 2.6rem; */
  font-size: 2.4rem;
  color: #1a6fa0;
  transition: all 0.3s;
}

.product-thumb-cart:hover .fa {
  color: #ffffff;
}

.card-servis-group {
  top:1rem;
  right: -100%;
  opacity: 0;
  transition: all 0.3s;
}
.product-thumb:hover .card-servis-group {
  right: 1rem;
  opacity: 1;
}
.btn-servis {
  border: none;
  border-radius: 0.4rem;
  padding: 0.7rem;
}
.btn-servis .fa {
  font-size: 2rem;
}
.product-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}
@media (max-width: 1460px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1230px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 550px) {
  .product-thumb .price {
    flex-direction: column;
    gap: 0;
  }
}
/* =========== Сітка Товарів в Категорії END ======== */


/* =========== Сторінка Товара ====================== */
.images-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.thumbnails {
  overflow: auto;
  clear: both;
  list-style: none;
  padding: 0;
  margin-bottom: 3rem;
}
.thumbnail {
  margin: 0;
}
.thumbnails > img {
  width: 100%;
}
.image-additional a {
  display: block;
  border: 1px solid #ddd;
  margin: 0;
}
.image-additional {
  max-width: 7.8rem;
}
/* =========== Сторінка Товара END ================== */



/* fixed mobile cart quantity input */
.input-group .form-control[name^="quantity"] {
  min-width: 5rem;
}

/* Missing focus and border color to overwrite bootstrap */
.btn-info:hover,
.btn-info:active,
.btn-info.active,
.btn-info.disabled,
.btn-info[disabled] {
  background-image: none;
  background-color: #df5c39;
}

/* fix oclabs */
.alert-dismissable .close,
.alert-dismissible .close {
  right: -1px;
}

/* ================= CATALOG MENU ================= */
.catalog-block {
  position: relative;
  display: flex;
  align-items: center;
}
/* Кнопка */
.catalog-block .btn {
  font-size: 1.6rem;
  border-radius: 3rem;
  background: #00425f;
  border: none;
  color: #fff;
  padding: 1rem 2rem;
  transition: background 0.5s;
}
.catalog-block .btn:hover {
  background: #00293a;
}
/* Вертикальне меню */
.menu-category {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Підкатегорії */
/* .dropdown-submenu {
  position: relative;
} */
.menu-category .dropdown-submenu > .submenu-columns {
  display: none; /* сховане спочатку */
  position: absolute;
  left: 100%; /* можна змінити на left:0; top:100% для вертикального меню */
  top: 0;
  min-height: 100%;
  z-index: 1000;
  width: auto;
  white-space: nowrap;
  background: #fff;
  padding: 1rem 0;
  margin: 0;
  border: 1px solid #ddd;
  min-width: 20rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex-wrap: nowrap;
}
.menu-category {
  padding: 1rem 0;
  min-width: 20rem;
}
.menu-category > li {
  padding: 5px 0;
}
/* .menu-category .dropdown-menu li > a:hover {
  background-color: transparent;
  background-image: none;
  color: #666;
} */
.menu-category li a {
  color: #666;
}
.menu-category li a:hover,
.menu-category-dropdown li ul li a:hover {
  color: #23a1d1;
  background-color: transparent;
}
.menu-category-div {
  padding: 3px 20px;
}
.menu-toggle-icon {
  display: none;
}
.menu-toggle-icon-desc {
  display: block;
}
/* Показати підменю при hover на десктоп*/
@media (min-width: 1251px) {
  .menu-category .dropdown-submenu:hover > .submenu-columns {
    display: flex;
  }
}
/* Колонки підменю */
.menu-category .submenu-columns ul {
  list-style: none;
  width: 100%;
  padding: 0;
}
.menu-category .submenu-columns li {
  padding: 0;
}
.menu-category .submenu-columns ul li a {
  padding: 0.5rem 2rem;
  display: block;
  color: #333;
  text-decoration: none;
  width: 25rem;
}
/* .menu-category .submenu-columns ul li a:hover {
  background-color: #f5f5f5;
} */

.btn-desctop-catalog {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* мобільне меню */
.btn-mobil-catalog {
  display: none;
  margin: 1rem 0;
}
@media (max-width: 1250px) {
  .header-block {
    position: static;
  }
  .btn-desctop-catalog {
    display: none;
  }
  .btn-mobil-catalog {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .catalog-block {
    position: static;
  }
  .menu-category {
    display: block;
    position: absolute;
    top: 0;
    left: -100%;
    width: 28rem;
    height: 100vh;
    transition: all 0.5s;
  }
  .menu-category.active {
    left: 0;
  }
  .menu-category > li {
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .menu-toggle-icon-desc {
    display: none;
  }
  .menu-toggle-icon {
    display: block;
    cursor: pointer;
  }
  .menu-category .submenu-columns {
    display: none;
  }
  .menu-category .submenu-columns.active {
    display: flex;
    flex-direction: column;
  }
  .menu-category .dropdown-submenu > .submenu-columns {
    position: relative;
    left: 0;
    top: 0;
  }
  .menu-category .dropdown-submenu > .submenu-columns {
    border: none;
    box-shadow: none;
  }
}

/* mobile close button */
.menu-close-btn {
  display: none;
  width: 100%;
  height: 32px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 2rem;
}
.menu-close-btn span {
  display: block;
  position: absolute;
  left: 90%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: #000;
  transition: transform 0.4s ease;
}
.menu-close-btn span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu-close-btn span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* анімація */
.menu-category.active .menu-close-btn span:first-child {
  transform: translate(-50%, -50%) rotate(225deg);
}
.menu-category.active .menu-close-btn span:last-child {
  transform: translate(-50%, -50%) rotate(-225deg);
}
/* показуємо тільки на мобільному */
@media (max-width: 1250px) {
  .menu-close-btn {
    display: block;
  }
}
/* ================= CATALOG MENU End ================= */



/* fixed product layouts used in left and right columns */
#column-left .product-layout, #column-right .product-layout {
	width: 100%;
}

.carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img {
  margin: 0 auto;
}
#common-home { margin-top: 2rem; }

/* ================= Модуль категорії на головній ================= */
.categories-home__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.categories-home__item {
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  overflow-x: hidden;  
  text-align: center;
}
.categories-home__item:hover {
  box-shadow: 0px 1px 5px #666;
}
.categories-home__image {
  width: 100%;
  height: auto;
  display: block;
}
.categories-home__name {
  display: block;
  padding: 1rem;
}
/* ================= Модуль категорії на головній End ================= */

.pagination-block {
    margin-top: 15px;
}

.header-user-block {
    display: flex;
    align-items: center;
}
.header-wishlist-block {
    display: block;
}
@media (max-width: 438px) {
    .header-user-block,
    .header-wishlist-block {
        display: none;
    }
}

.btn-group.open .dropdown-toggle {
    box-shadow: none !important;
}