body {
  background-color: #060606;
  width: 100%;
  color: #ddd;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #ddd;
}

/* default font size */
.fa {
  font-size: 14px;
}

/* Override the bootstrap defaults */
h1 {
  font-size: 33px;
}

h2 {
  font-size: 27px;
}

h3 {
  font-size: 21px;
}

h4 {
  font-size: 15px;
}

h5 {
  font-size: 12px;
}

h6 {
  font-size: 10.2px;
}

a {
  color: #d32f2f;
  text-decoration: none;
}

a:hover {
  color: #b00020;
  text-decoration: none;
}

a:focus {
  color: inherit;
  text-decoration: none;
}

legend {
  padding: 7px 0px;
  color: #ddd;
  font-size: 18px;
}

label {
  font-weight: normal;
  font-size: 12px;
}

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: 12px;
}

.input-group input,
.input-group select,
.input-group .dropdown-menu,
.input-group .popover {
  font-size: 12px;
}

.input-group .input-group-addon {
  height: 30px;
  font-size: 12px;
}

/* Fix some bootstrap issues */
span.hidden-xs,
span.hidden-sm,
span.hidden-md,
span.hidden-lg {
  display: inline;
}

.table-bordered {
  border: 1px solid #444;
}

.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
  border: 1px solid #444;
}

.nav-tabs {
  margin-bottom: 15px;
}

div.required .control-label:before {
  content: '* ';
  color: #f00;
  font-weight: bold;
}

/* Gradent to all drop down menus */
.dropdown-menu li > a:hover {
  background-color: #3d3d3d;
  color: #d32f2f;
  text-decoration: none;
}

/* top */
#top {
  margin: 0 0 20px 0;
  border-bottom: 1px solid #e2e2e2;
  background-color: #444;
  padding: 4px 0px 3px 0;
  min-height: 40px;
}

#top .container {
  padding: 0 20px;
}

#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 {
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
  background-repeat: repeat-x;
  background-color: #229ac8;
  color: #ddd;
  text-shadow: none;
}

#top .btn-link,
#top-links li,
#top-links a {
  background-color: #444;
  color: #ddd;
  text-decoration: none;
}

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

#top-links .dropdown-menu {
  background-color: #444;
}

#top-links .dropdown-menu a {
  text-shadow: none;
}

#top-links .dropdown-menu a:hover {
  background-color: #3d3d3d;
  color: #fff;
}

#top .btn-link strong {
  font-size: 14px;
  line-height: 14px;
}

#top-links {
  padding-top: 6px;
}

#top-links a + a {
  margin-left: 15px;
}

@media (max-width: 767px) {
  #top {
    position: sticky;
    top: 0px;
    z-index: 1000;
  }
}

div.col-sm-4:has(> #logo) {
  width: 100%;
}

#logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#search {
  margin-bottom: 10px;
}

#search .input-lg {
  padding: 0 10px;
  height: 40px;
  line-height: 20px;
}

#search .btn-lg {
  border: none;
  /* line-height: 18px; */
  padding: 10px 35px;
  font-size: 15px;
  text-shadow: 0 1px 0 #fff;
}

/* cart */
#cart {
  margin-bottom: 10px;
}

#cart > .btn {
  color: #444;
  font-size: 12px;
  line-height: 18px;
  text-shadow: none;
}

#cart.open > .btn {
  box-shadow: none;
  background-image: none;
  background-color: #ddd;
  color: #666;
}

#cart.open > .btn:hover {
  color: #444;
}

#cart .dropdown-menu {
  z-index: 1001;
  background: #444;
}

#cart .dropdown-menu {
  background: whitesmoke;
  min-width: 100%;
  max-height: 800px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  color: #444;
}

@media (max-width: 478px) {
  #cart .dropdown-menu {
    width: 100%;
  }
}

#cart .dropdown-menu table {
  margin-bottom: 10px;
}

#cart .dropdown-menu table.table-bordered,
#cart .dropdown-menu table.table-bordered td {
  border: 1px solid #ddd;
}

#cart .dropdown-menu li > div {
  padding: 0 10px;
  min-width: 427px;
}

@media (max-width: 478px) {
  #cart .dropdown-menu li > div {
    min-width: 100%;
  }
}

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

/* menu */
/* #menu {
  border-color: #060606 #060606 #000000;
  background-color: #444;
  min-height: 40px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
} */

#menu {
  display: flex;
  position: sticky;
  top: 0;
  justify-content: flex-start;
  gap: 10px;
  z-index: 1000;
  margin: 0 auto 20px;
  border-bottom: 1px solid #eee;
  border-color: inherit;
  border-radius: 0;
  background: inherit;
  padding: 10px 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;

}

@media (max-width: 767px) {
  #menu {
    top: 44px;
  }
}


@media (min-width: 768px) {
  #menu {
    width: 720px;
  }
}


@media (max-width: 767px) {
  #menu {
    top: 44px;
  }
}

@media (min-width: 992px) {
  #menu {
    width: 940px;
  }
}

@media (min-width: 1200px) {
  #menu {
    width: 1140px;
  }
}


#menu::-webkit-scrollbar {
  height: 4px;
}

#menu::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background: #aaa;
}

.menu-wrapper {
  display: inline-flex;
  justify-content: center;
  margin: 0 auto;
  min-width: max-content;
}

.menu-item {
  display: inline-block;
  flex-shrink: 0;
  margin: 10px;
  border: 1px solid #444;
  border-radius: 5px;
  padding: 10px 15px;
  color: inherit;
  text-decoration: none;
}

.menu-item:hover {
  background: inherit;
}

/* content */
#content {
  min-height: 600px;
}

#product-category #content,
#product-product #tab-description,
#information-information #content {
  font-size: 13px;
}

/* footer */
footer {
  margin-top: 30px;
  border-top: 1px solid #ddd;
  background-color: #444;
  padding-top: 30px;
  color: #e2e2e2;
}

footer hr {
  border-top: none;
  border-bottom: 1px solid #666;
}

footer a {
  color: #ccc;
}

footer a:hover {
  color: #fff;
}

footer h5 {
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
}

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

.alert > .close {
  position: relative;
  top: -2px;
  right: 0px;
  color: inherit;
}

.alert-success {
  border-color: #666;
  background-color: #444;
  color: #ddd;
}

/* breadcrumb */
.breadcrumb {
  margin: 0 0 20px 0;
  border: 1px solid #444;
  background-color: #444;
  padding: 8px 0;
  overflow-x: scroll;
  scrollbar-width: none;
  color: #ddd;
  white-space: nowrap;
}

.breadcrumb i {
  font-size: 15px;
}

.breadcrumb > li {
  position: relative;
  /* text-shadow: 0 1px 0 #FFF; */
  padding: 0 20px;
  white-space: nowrap;
}

.breadcrumb > li + li:before {
  padding: 0;
  content: '';
}

.breadcrumb > li:after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  /* Added for IE9 */
  -o-transform: rotate(-45deg);
  display: block;
  position: absolute;
  top: -3px;
  right: -5px;
  transform: rotate(-45deg);
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  width: 26px;
  height: 26px;
  content: '';
}

.breadcrumb > li > a {
  color: inherit;
}

html[dir='rtl'] .breadcrumb > li::after {
  top: -3px;
  right: unset;
  left: -5px;
  border-top: 1px solid #ddd;
  border-right: unset;
  border-bottom: unset;
  border-left: 1px solid #ddd;
  width: 26px;
  height: 26px;
}

.pagination {
  margin: 0;
}

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

.btn {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.05);
  /* border: 1px solid #cccccc; */
  border-radius: 3px;
  padding: 7.5px 12px;
  font-size: 12px;
}

.btn-xs {
  font-size: 9px;
}

.btn-sm {
  font-size: 10.2px;
}

.btn-lg {
  padding: 10px 16px;
  font-size: 15px;
}

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

.btn-group > .btn-xs {
  font-size: 9px;
}

.btn-group > .btn-sm {
  font-size: 10.2px;
}

.btn-group > .btn-lg {
  font-size: 15px;
}

.btn-default {
  border-color: transparent;
  background-color: #444;
  color: #ddd;
}

.btn-default:hover {
  border-color: transparent;
  background-color: #666;
  color: #ddd;
}

.btn-default:active,
.btn-default.active,
.btn-default:focus,
.btn-default:active:focus {
  border-color: transparent;
  background-color: #ddd;
  color: #444;
}

.btn-default.disabled,
.btn-default[disabled] {
  background-color: #333;
  color: #666;
}

.btn-primary,
.btn-primary:hover {
  border-color: transparent;
  background-color: #ddd;
  color: #444;
}

.btn-primary.active,
.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.btn-primary.focus,
.btn-primary:focus {
  box-shadow: none;
  border-color: transparent;
  background-color: #ccc;
  color: #333;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary.disabled,
.btn-primary.disabled.focus,
.btn-primary.disabled:focus,
.btn-primary.disabled:hover,
.btn-primary[disabled],
.btn-primary[disabled].focus,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:hover {
  box-shadow: none;
  border-color: transparent;
  background-color: #444;
  color: #999;
}

.btn-warning {
  border-color: #f89406 #f89406 #ad6704;
  background-color: #faa732;
  color: #ddd;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.btn-warning:hover,
.btn-warning:active,
.btn-warning.active,
.btn-warning.disabled,
.btn-warning[disabled] {
  box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}

.btn-danger {
  border-color: #bd362f #bd362f #802420;
  background-color: #b00020;
  color: #ddd;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.btn-success {
  border-color: #51a351 #51a351 #387038;
  background-color: #5bb75b;
  color: #ddd;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.btn-info {
  border-color: #dc512c #dc512c #a2371a;
  background-color: #df5c39;
  color: #ddd;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.btn-info:hover,
.btn-info:active,
.btn-info.active,
.btn-info.disabled,
.btn-info[disabled] {
  background-image: none;
  background-color: #df5c39;
}

.btn-link {
  cursor: pointer;
  border-color: transparent !important;
  border-radius: 0;
  color: #23a1d1;
}

.btn-link,
.btn-link:active,
.btn-link.disabled,
.btn-link[disabled] {
  box-shadow: none;
  background-image: none;
  background-color: rgba(0, 0, 0, 0);
}

.btn-inverse {
  border-color: transparent;
  background-color: #ddd;
  color: #444;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-inverse.disabled,
.btn-inverse[disabled] {
  box-shadow: none;
  border-color: transparent;
  background-color: #444;
  color: #999;
}

/* list group */
.list-group a {
  border: 1px solid #060606;
  padding: 8px 12px;
  color: #ddd;
}

.list-group a.active,
.list-group a.focus,
.list-group a.active:hover,
.list-group a:hover {
  border: 1px solid #060606;
  background-color: #3d3d3d;
  color: inherit;
  /* text-shadow: 0 1px 0 #FFF; */
}

.list-group-item {
  border: 1px solid #060606;
  background-color: #444;
}

a.list-group-item:hover,
a.list-group-item:focus {
  background-color: #3d3d3d;
  color: inherit;
}

/* carousel */
.carousel-caption {
  color: #ddd;
  text-shadow: 0 1px 0 #000000;
}

.carousel-control .icon-prev:before {
  content: '\f053';
  font-family: FontAwesome;
}

.carousel-control .icon-next:before {
  content: '\f054';
  font-family: FontAwesome;
}

/* product list */
.product-thumb {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 20px;
  border: 1px solid #444;
  height: 100%;
  min-height: 330px;
  overflow: auto;
}

@media (max-width: 768px) {
  .product-thumb {
    margin-right: 30px;
    margin-left: 30px;
  }
}

.product-thumb .image {
  margin: 10px 10px 0 10px;
  background-color: #060606;
  text-align: center;
}

.product-thumb .image a {
  display: block;
}

.product-thumb .image a:hover {
  opacity: 0.8;
}

.product-thumb .image img {
  margin-right: auto;
  margin-left: auto;
}

.product-grid .product-thumb .image {
  float: none;
}

@media (min-width: 767px) {
  .product-list .product-thumb .image {
    float: left;
    padding: 0 15px;
  }
}

.product-thumb h4 {
  padding-top: 20px;
  padding-bottom: 20px;
  font-weight: bold;
}

.product-thumb .caption {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  padding: 0 20px;
  height: 100%;
  min-height: 60px;
}

.product-thumb .caption a {
  color: #ddd;
  font-size: large;
}

.product-thumb .caption .price {
  margin-top: auto;
}

.product-list .product-thumb .caption {
  margin-left: 230px;
}

@media (max-width: 1200px) {
  .product-grid .product-thumb .caption {
    /* min-height: 210px; */
    padding: 0 10px;
  }
}

@media (max-width: 767px) {
  .product-list .product-thumb .caption {
    margin-left: 0;
    padding: 0 10px;
    min-height: 0;
  }

  .product-grid .product-thumb .caption {
    min-height: 0;
  }
}

.product-thumb .collapsing,
.product-thumb .collapse.in {
  position: absolute;
  transform: translateY(-10px);
  opacity: 0;
  z-index: 10;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid #444;
  border-radius: 2px;
  background: #222;
  padding: 10px;

}

/* Плавне з'явлення */
.product-thumb .collapse.in {
  /* transform: translateY(0); */
  transform: translateY(-5px) scale(0.98);
  opacity: 1;
}

.product-thumb .rating {
  padding-bottom: 10px;
}

.rating .fa-stack {
  font-size: 8px;
}

.rating .fa-star-o {
  color: #999;
  font-size: 15px;
}

.rating .fa-star {
  color: #fc0;
  font-size: 15px;
}

.rating .fa-star + .fa-star-o {
  color: #e69500;
}

h2.price {
  margin: 0;
}

.product-thumb .price {
  padding-bottom: 10px;
  color: #d32f2f;
  font-weight: 600;
  font-size: x-large;
  text-align: right;
}


.product-thumb .price-new {
  font-weight: 600;
}

.product-thumb .price-old {
  margin-left: 10px;
  color: #999;
  font-size: smaller;
  text-decoration: line-through;

}

.product-thumb .price-tax {
  display: block;
  color: #999;
  font-size: 12px;
}

.product-thumb .button-group {
  margin-top: auto;
  /* border-top: 1px solid #444; */
  border-top: 1px solid #060606;
  background-color: #444;
  overflow: auto;
}

.product-thumb .button-group button {
  float: left;
  border: none;
  background-color: #444;
  width: 60%;
  color: #ddd;
  font-weight: bold;
  line-height: 38px;
  text-align: center;
  text-transform: uppercase;
}

.product-thumb .button-group button:hover {
  cursor: pointer;
  background-color: #ddd;
  color: #444;
  text-decoration: none;
}

.product-thumb .button-group button + button {
  /* border-left: 1px solid #444; */
  border-left: 1px solid #060606;
  width: 20%;
}

.product-list .product-thumb .button-group {
  border-left: 1px solid #060606;
}

@media (max-width: 768px) {
  .product-list .product-thumb .button-group {
    border-left: none;
  }
}

@media (max-width: 1200px) {

  .product-thumb .button-group button,
  .product-thumb .button-group button + button {
    width: 33.33%;
  }
}

@media (max-width: 767px) {

  .product-thumb .button-group button,
  .product-thumb .button-group button + button {
    width: 33.33%;
  }
}

.thumbnails {
  clear: both;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.thumbnails > li {
  margin-left: 20px;
}

.thumbnails {
  margin-left: -20px;
}

.thumbnails > img {
  width: 100%;
}

.image-additional a {
  display: block;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  padding: 5px;
}

.image-additional {
  max-width: 78px;
}

.thumbnails .image-additional {
  float: left;
  margin-left: 20px;
}

@media (min-width: 1200px) {

  #content .col-lg-2:nth-child(6n + 1),
  #content .col-lg-3:nth-child(4n + 1),
  #content .col-lg-4:nth-child(3n + 1),
  #content .col-lg-6:nth-child(2n + 1) {
    clear: left;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {

  #content .col-md-2:nth-child(6n + 1),
  #content .col-md-3:nth-child(4n + 1),
  #content .col-md-4:nth-child(3n + 1),
  #content .col-md-6:nth-child(2n + 1) {
    clear: left;
  }
}

@media (min-width: 768px) and (max-width: 991px) {

  #content .col-sm-2:nth-child(6n + 1),
  #content .col-sm-3:nth-child(4n + 1),
  #content .col-sm-4:nth-child(3n + 1),
  #content .col-sm-6:nth-child(2n + 1) {
    clear: left;
  }
}

#column-left {
  position: sticky;
  top: 20px;
}

/* fixed colum left + content + right*/
@media (min-width: 768px) {
  #column-left .product-layout .col-md-3 {
    width: 100%;
  }

  #column-left + #content .product-layout .col-md-3 {
    width: 50%;
  }

  #column-left + #content + #column-right .product-layout .col-md-3 {
    width: 100%;
  }

  #content + #column-right .product-layout .col-md-3 {
    width: 100%;
  }
}


.product-layout.product-grid.col-xs-6:nth-child(odd) {
  padding-right: 5px;
  padding-left: 10px;
}

.product-layout.product-grid.col-xs-6:nth-child(even) {
  padding-right: 10px;
  padding-left: 5px;
}


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

/* fixed mobile cart quantity input */
.input-group .form-control[name^='quantity'] {
  min-width: 50px;
}

/* 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;
}

html[dir='rtl'] .checkbox input[type='checkbox'],
html[dir='rtl'] .checkbox-inline input[type='checkbox'],
html[dir='rtl'] .radio input[type='radio'],
html[dir='rtl'] .radio-inline input[type='radio'] {
  position: absolute;
  margin-top: 4px\9;
  margin-right: -20px;
  margin-left: unset;
}

html[dir='rtl'] .input-group-btn:last-child > .btn {
  border-top-right-radius: 0;
  border-top-left-radius: 5px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 5px;
}

html[dir='rtl'] .input-group .form-control:first-child {
  border-top-right-radius: 5px;
  border-top-left-radius: unset;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: unset;
}

html[dir='rtl'] .container .row:first-child .col-sm-4,
html[dir='rtl'] .container .row:first-child .col-sm-5 {
  float: right;
}

html[dir='rtl'] #cart .dropdown-menu {
  right: auto;
  left: 0;
}

@media (min-width: 768px) {
  html[dir='rtl'] .navbar-nav {
    float: right;
    margin: 0;
  }

  html[dir='rtl'] .navbar-nav > li {
    float: right;
  }
}

.panel {
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  border-color: #060606;
  background-color: #444;
}

.panel-default > .panel-heading {
  border-color: #060606;
  background-color: #444;
  color: #ddd;
}

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

.well {
  border: 1px solid #444;
  background-color: inherit;
}

.thumbnail {
  border: 1px solid #060606;
  background-color: #060606;
}

a.thumbnail.active,
a.thumbnail:focus,
a.thumbnail:hover {
  border-color: #727272;
}

.nav-tabs > li > a {
  color: inherit;
}

.nav > li > a:focus,
.nav > li > a:hover {
  border-top-color: transparent;
  border-right-color: transparent;
  border-left-color: transparent;
  background-color: inherit;
  text-decoration: none;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  cursor: default;
  border-bottom-color: transparent;
  background-color: #060606;
  color: #ddd;
}

.collapse-header {
  -moz-box-align: center;
  -moz-box-pack: center;
  display: flex;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  appearance: none;
  transition: min-height 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  cursor: pointer;
  box-sizing: border-box;
  margin: 0px;
  outline: 0px;
  border: 0px none;
  border-radius: 0px;
  user-select: none;
  text-decoration: none;
}

.collapse-header-title {
  -moz-box-flex: 1;
  display: flex;
  flex-grow: 1;
}

.collapse-header-arrow {
  display: flex;
}

.swiper-viewport {
	background: #060606!important;
	border: 4px solid #111!important;
	border-radius: 2px!important;
	/* box-shadow: 0 1px 4px rgba(0,0,0,.2); */
}
