@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
body {
  font-family: "Inter", sans-serif;
  font-weight: 500;

  font-size: 12px;
  line-height: 20px;
  width: 100%;
  --main-color: #fad247;
  --hover-color: #dab442;
  --font-color: #353f47;
  color: #353f47;
}
button {
  color: var(--font-color) !important;
}

header {
  margin-top: 12px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #353f47;
}
/* default font size */
.fa {
  font-size: 18px;
}

a {
  color: #353f47 !important;
  text-decoration: none;
}
/* 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;
}

li.dropdown-button::marker {
  display: none;
}

.fa {
  min-width: 18px;
  text-align: center;
}

legend {
  font-size: 18px;
  padding: 7px 0px;
}
label {
  font-size: 1.6rem;
  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.6rem;
}
.input-group .input-group-addon {
  font-size: 1.6rem;
  height: 30px;
}
/* Fix some bootstrap issues */
span.hidden-xs,
span.hidden-sm,
span.hidden-md,
span.hidden-lg {
  display: inline;
}

.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 {
  text-decoration: none;
  color: var(--font-color);
  background-color: var(--main-color);
}
/* top */
#top {
  background-color: #eeeeee;
  border-bottom: 1px solid #e2e2e2;
  padding: 4px 0px 3px 0;
  margin: 0 0 20px 0;
  min-height: 40px;
}
#top .container {
  padding: 0 20px;
}

button.currency-select {
  border: none;
  min-width: 140px;
  font-size: 1.6rem;
  height: 20px;
  text-align: start;
  background-color: inherit;
  color: #353f47;
}

button.language-select {
  border: none;
  min-width: 140px;
  font-size: 1.6rem;
  height: 20px;
  text-align: start;
  background-color: inherit;
}
.dropdown-menu li {
  min-height: 30px;
  display: flex;
  justify-content: start;
  align-items: center;
}

.dropdown-menu li:first-child,
.dropdown-menu button:first-child,
.dropdown-menu a:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.language-select img {
  vertical-align: baseline;
}

.dropdown-menu li:last-child,
.dropdown-menu button:last-child,
.dropdown-menu a:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.dropdown-menu li:hover {
  background-color: var(--main-color);
  color: var(--font-color) !important;
}

.form-horizontal {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  color: #666;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: #333;
  background-color: #f8f8f8;
}

.tab-btn.active {
  color: var(--main-color);
  border-bottom-color: var(--main-color);
  font-weight: 600;
}

.tabs-content {
  position: relative;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#top .btn-link,
#top-links li,
#top-links a {
  color: #888;
  text-shadow: 0 1px 0 #fff;
  text-decoration: none;
}
#top .btn-link:hover,
#top-links a:hover {
  color: #444;
}
#top-links .dropdown-menu a {
  text-shadow: none;
}
#top-links .dropdown-menu a:hover {
  color: #fff;
}
#top .btn-link strong {
  font-size: 14px;
  line-height: 14px;
}
#top-links {
  padding-top: 6px;
}
#top-links a + a {
  margin-left: 15px;
}
/* logo */

/* search */

/* cart */
#cart {
  margin-bottom: 10px;
}
#cart > .btn {
  font-size: 12px;
  line-height: 18px;
  color: #fff;
}
#cart.open > .btn {
  background-image: none;
  background-color: #ffffff;
  border: 1px solid #e6e6e6;
  color: #666;
  box-shadow: none;
  text-shadow: none;
}
#cart.open > .btn:hover {
  color: #444;
}
#cart .dropdown-menu {
  background: #eee;
  z-index: 1001;
}
#cart .dropdown-menu {
  min-width: 100%;
  overflow-y: auto;
  max-height: 800px;
  scrollbar-width: thin;
  overflow-x: hidden;
}
@media (max-width: 478px) {
  #cart .dropdown-menu {
    width: 100%;
  }
}
#cart .dropdown-menu table {
  margin-bottom: 10px;
}
#cart .dropdown-menu li > div {
  min-width: 427px;
  padding: 0 10px;
}
@media (max-width: 478px) {
  #cart .dropdown-menu li > div {
    min-width: 100%;
  }
}
#cart .dropdown-menu li p {
  margin: 20px 0;
}
/* menu */
#menu {
  min-height: 40px;
}
#menu .nav > li > a {
  color: #fff;
  padding: 10px 15px 10px 15px;
  min-height: 15px;
  background-color: transparent;
}
/* #menu .nav > li > a:hover,
#menu .nav > li.open > a {
  background-color: rgba(0, 0, 0, 0.1);
} */
#menu .dropdown-inner {
  display: table;
}
#menu .dropdown-inner ul {
  display: table-cell;
}
#menu .dropdown-inner a {
  min-width: 160px;
  display: block;
  padding: 3px 10px;
  clear: both;
  color: #333333;
  font-size: 12px;
}
#menu .dropdown-inner li a:hover {
  color: var(--font-color) !important;
}
#menu .see-all {
  display: block;
  min-width: 160px;
  padding: 3px 10px;
  clear: both;
  color: #333333;
  font-size: 12px;
}

#menu .see-all:hover {
  text-decoration: none;
  border-radius: 8px;
  color: var(--font-color) !important;
  background-color: var(--main-color);
}
#menu #category {
  float: left;
  padding-left: 15px;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
#menu .btn-navbar {
  font-size: 16px;
  color: #fff;
  padding: 2px 18px;
  float: right;
  background-color: #229ac8;
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
  background-repeat: repeat-x;
  border-color: #1f90bb #1f90bb #145e7a;
}
#menu .btn-navbar:hover,
#menu .btn-navbar:focus,
#menu .btn-navbar:active,
#menu .btn-navbar.disabled,
#menu .btn-navbar[disabled] {
  color: #ffffff;
  background-color: #229ac8;
}
@media (min-width: 768px) {
  #menu .dropdown:hover .dropdown-menu {
    display: block;
  }
}
@media (max-width: 767px) {
  #menu {
    border-radius: 4px;
  }
  #menu div.dropdown-inner > ul.list-unstyled {
    display: block;
  }
  #menu div.dropdown-menu {
    margin-left: 0 !important;
    padding-bottom: 10px;
    background-color: rgba(0, 0, 0, 0.1);
  }
  #menu .dropdown-inner {
    display: block;
  }
  #menu .dropdown-inner a {
    width: 100%;
    color: #fff;
  }
  #menu .dropdown-menu a:hover,
  #menu .dropdown-menu ul li a:hover {
    background: rgba(0, 0, 0, 0.1);
  }
  #menu .see-all {
    margin-top: 0;
    border: none;
    border-radius: 0;
    color: #fff;
  }
}
/* content */
#content {
  min-height: 600px;
}
/* footer */
footer {
  margin-top: 30px;
  padding-top: 30px;
  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: 13px;
  font-weight: bold;
  color: #fff;
}
/* alert */
.alert {
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 8px;
}

.alert-success > a {
  color: #16a34a !important;
}
/* breadcrumb */
.breadcrumb {
  height: 50px;
  padding: 14px 16px;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
  margin-left: 12px;
  margin-right: 12px;
}
.breadcrumb i {
  font-size: 20px;
}
.breadcrumb > li {
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
  font-family: "Inter", "sans-serif";
  font-weight: 500;
  font-size: 16px;
}

.breadcrumb > li:first-child {
  padding: 0 20px 0 0;
}
.breadcrumb > li + li:before {
  content: "";
  padding: 0;
}
.breadcrumb > li:after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  right: -5px;
  width: 26px;
  height: 26px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
html[dir="rtl"] .breadcrumb > li::after {
  top: -3px;
  left: -5px;
  width: 26px;
  height: 26px;
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
  right: unset;
  border-right: unset;
  border-bottom: unset;
}
.pagination {
  margin: 0;
}
/* buttons */
.buttons {
  margin: 1em 0;
}
.btn {
  padding: 7.5px 12px;
  font-size: 12px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.05);
}
.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;
}

.product-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: start;
  align-items: center;
  width: max-content;
}

.product-actions-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: max-content;
}
.btn-default {
  color: #777;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #e7e7e7;
  background-image: linear-gradient(to bottom, #eeeeee, #dddddd);
  background-repeat: repeat-x;
  border-color: #dddddd #dddddd #b3b3b3 #b7b7b7;
}
.btn-primary {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #229ac8;
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
  background-repeat: repeat-x;
  border-color: #1f90bb #1f90bb #145e7a;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  background-color: #1f90bb;
  background-position: 0 -15px;
}
.btn-warning {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #faa732;
  background-image: linear-gradient(to bottom, #fbb450, #f89406);
  background-repeat: repeat-x;
  border-color: #f89406 #f89406 #ad6704;
}
.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 {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #da4f49;
  background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
  background-repeat: repeat-x;
  border-color: #bd362f #bd362f #802420;
}
.btn-danger:hover,
.btn-danger:active,
.btn-danger.active,
.btn-danger.disabled,
.btn-danger[disabled] {
  box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-success {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #5bb75b;
  background-image: linear-gradient(to bottom, #62c462, #51a351);
  background-repeat: repeat-x;
  border-color: #51a351 #51a351 #387038;
}
.btn-success:hover,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
  box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-info {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #df5c39;
  background-image: linear-gradient(to bottom, #e06342, #dc512c);
  background-repeat: repeat-x;
  border-color: #dc512c #dc512c #a2371a;
}
.btn-info:hover,
.btn-info:active,
.btn-info.active,
.btn-info.disabled,
.btn-info[disabled] {
  background-image: none;
  background-color: #df5c39;
}
.btn-link {
  border-color: rgba(0, 0, 0, 0);
  cursor: pointer;
  color: #23a1d1;
  border-radius: 0;
}
.btn-link,
.btn-link:active,
.btn-link[disabled] {
  background-color: rgba(0, 0, 0, 0);
  background-image: none;
  box-shadow: none;
}
.btn-inverse {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #363636;
  background-image: linear-gradient(to bottom, #444444, #222222);
  background-repeat: repeat-x;
  border-color: #222222 #222222 #000000;
}
.btn-inverse:hover,
.btn-inverse:active,
.btn-inverse.active,
.btn-inverse.disabled,
.btn-inverse[disabled] {
  background-color: #222222;
  background-image: linear-gradient(to bottom, #333333, #111111);
}
/* list group */
.list-group a {
  border: 1px solid #dddddd;
  color: #888888;
  padding: 8px 12px;
}
.list-group a.active,
.list-group a.active:hover,
.list-group a:hover {
  color: #444444;
  background: #eeeeee;
  border: 1px solid #dddddd;
  text-shadow: 0 1px 0 #fff;
}
/* carousel */
.carousel-caption {
  color: #ffffff;
  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 {
  border: 1px solid rgb(243 244 246);
  margin-bottom: 20px;
  border-radius: 10px;
  padding: 12px;
  overflow: auto;
  transition: all 0.2s ease-in-out;
}

.product-page {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  padding: 12px;
  background-color: #fff;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.product-left {
  width: 40%;
}

.product-right {
  width: 60%;
}

.product-thumb:hover {
  border-color: rgb(208, 208, 208);
}

.form-group {
}

.review {
  border: 1px solid;
  border-color: rgb(229 231 235);
  background-color: rgb(249 250 251);
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  font-family: "Inter", "sans-serif";
}
.review:focus-visible {
  border-color: var(--main-color) !important;
  outline: none;
}

.star {
  font-size: 0px;
  color: #ddd;
  cursor: pointer;
  transition: color 0.2s;
  margin: 0px 0px;
}
.star-y {
  color: #fad247;
}
.star:hover,
.star.active {
  color: #fad247;
}

.star:hover ~ .star {
  color: #ddd;
}

.star-rating {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.new-header-container {
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
  padding: 14px 16px !important;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.new-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.common-container {
  margin-top: 10px;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 16px;
}

.product-thumb .image {
  text-align: center;
}
.product-thumb .image a {
  display: block;
}
.product-thumb .image img {
  margin-left: auto;
  margin-right: auto;
}
.product-grid .product-thumb .image {
  float: none;
}
@media (min-width: 767px) {
  .product-list .product-thumb .image {
    float: left;
    padding: 0 6px;
  }
}
.product-thumb h4 {
  font-weight: bold;
  min-height: 50px;
  overflow: hidden;
}
.product-thumb .caption {
  height: 80px;
}

a.product-title {
  color: #444444;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Для WebKit браузеров */
  -webkit-box-orient: vertical;
  line-clamp: 3; /* Стандартное свойство */

}
a.product-title:hover {
  color: #091c64;
}

.quanity {
  color: #091c64;
  float: right;
  text-align: end;
}

.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 {
    min-height: 0;
    margin-left: 0;
    padding: 0 10px;
  }
  .product-grid .product-thumb .caption {
    min-height: 0;
  }
}
/* .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 {
  color: #444;
  font-size: 16px;
  margin-bottom: 10px;
  background-color: #f2f2f2;
  border-radius: 6px;
  width: max-content;
  padding: 10px;
}
.product-thumb .price-new {
  font-weight: 600;
}
.product-thumb .price-old {
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
}
.product-thumb .price-tax {
  color: #999;
  font-size: 12px;
  display: block;
}
.product-thumb .button-group {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow: auto;
}
.product-list .product-thumb .button-group {
  border-left: 1px solid #ddd;
}
@media (max-width: 768px) {
  .product-list .product-thumb .button-group {
    border-left: none;
  }
}

.dropdown-button {
  text-wrap: nowrap;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 11.2px;
  padding-bottom: 11.2px;
  max-height: 48px;
  border-radius: 8px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  color: var(--font-color);
  background: var(--main-color);
  transition: all 100ms linear;
  border: none;
  font-size: 1.6rem;
  position: relative;
}

.dropdown-button:hover {
  background-color: var(--hover-color) !important;
}

.btn-std {
  text-wrap: nowrap;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 11.2px;
  padding-bottom: 11.2px;
  max-height: 48px;
  border-radius: 8px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  color: var(--font-color) !important;
  background: var(--main-color) !important;
  transition: all 100ms linear;
  border: none;
  font-size: 1.6rem;
  outline: none !important;
  text-decoration: none !important;
}

.btn-std:hover {
  background-color: var(--hover-color) !important;
}

.search {
  border: 1px solid;
  border-color: rgb(229 231 235);
  background-color: rgb(249 250 251);
}

.search:hover {
  border-color: var(--main-color);
}

.search-comp {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  min-width: 250px;
}

.search-input {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  height: 42px;
  width: 80%;
}

.search-btn {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  height: 42px;
  width: 20%;
}

input {
  font-family: "Inter", "sans-serif" !important;
  font-size: 16px !important;
  padding-left: 15px;
  color: black !important;
  font-weight: 500;
}

input:focus-visible {
  border-color: var(--main-color) !important ;
  outline: none;
}

.product-thumb .button-group button {
  text-wrap: nowrap;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 11.2px;
  padding-bottom: 11.2px;
  max-height: 48px;
  border-radius: 8px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  color: var(--font-color);
  background: var(--main-color);
  transition: all 100ms linear;
  border: none;
  font-size: 1.6rem;
}

.product-thumb .button-group button:hover {
  background: var(--hover-color);
}

.thumbnails {
  overflow: auto;
  clear: both;
  list-style: none;
  padding: 0;
  margin: 0;
}
.thumbnails > li {
  margin-left: 20px;
}
.thumbnails {
  margin-left: -20px;
}
.thumbnails > img {
  width: 100%;
  min-height: 700px;
}
.image-additional a {
  margin-bottom: 20px;
  padding: 5px;
  display: block;
  border: 1px solid #ddd;
}
.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;
  }
}

/* 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-bottom-right-radius: 0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
html[dir="rtl"] .input-group .form-control:first-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-left-radius: unset;
  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 {
  left: 0;
  right: auto;
}
@media (min-width: 768px) {
  html[dir="rtl"] .navbar-nav {
    float: right;
    margin: 0;
  }

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

.products-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 16px;
}

.attributes {
  display: flex;
  flex-direction: row;
  justify-content: start;
  gap: 12px;
}

.attribute {
  background-color: var(--main-color);
  border-radius: 6px;
  padding: 3px 5px;
  color: var(--font-color);
}

.quantity-selector {
  display: flex;
  align-items: center;
  max-width: 140px;
  font-family: Arial, sans-serif;
  flex-shrink: 0;
}

.quantity-btn {
  width: 42px;
  height: 42px;
  background-color: var(--main-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s ease;
  user-select: none;
}

.quantity-btn:hover:not(:disabled) {
  background-color: var(--hover-color);
}

.quantity-btn:active:not(:disabled) {
  background-color: var(--hover-color);
}

.quantity-btn:disabled {
  background-color: var(--main-color);
  opacity: 50%;
  cursor: not-allowed;
}

.quantity-input {
  width: 42px;
  height: 42px;
  border: 1px solid #dee2e6;
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 16px;
  outline: none;
  padding: 0;
  margin: 0;
  color: #000000 !important;
}

.quantity-input:focus {
  border-color: #dee2e6;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
}

.minus-btn {
  border-radius: 8px 0 0 8px;
}

.plus-btn {
  border-radius: 0 8px 8px 0;
}

.rating-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: max-content;
}
.rating {
  display: flex;
  flex-direction: row;
  gap: 6px;
  width: max-content;
}

.nav.navbar-nav {
  background-color: #fff !important;
}
.nav > li {
  background-color: transparent;
  border-bottom: 2px solid rgb(229 231 235);
}

.nav > li:hover {
  border-bottom: 2px solid var(--main-color);
}

.nav > li:hover a.parent-category {
  color: var(--main-color) !important;
}

.parent-category {
  font-size: 16px;
  color: #353f47;
}

.parent-category.active {
  color: var(--main-color) !important;
}

.nav > li.active {
  border-bottom: 2px solid var(--main-color);
}

.sort-comp {
  display: flex;
  flex-direction: row;
  justify-content: start;
  width: max-content;
}

.sort-label {
  height: 42px;
  width: 168px;
  padding: 10px 14px;
  background-color: var(--main-color);
  color: var(--font-color);
  font-size: 16px;
  border-radius: 8px 0 0 8px;
}

.sort-form {
  height: 42px;
  width: 252px;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-left: none;
  text-align: center;
  font-size: 16px;
  outline: none;
  margin: 0;
  border-radius: 0 8px 8px 0;
}
.sort-form.sm {
  width: 52px;
}

.sort-label.sm {
  width: 130px;
}

.sort-form:focus {
  border-color: #dee2e6;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
}

.sort-container {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 12px;
  flex-direction: row;
}

.form-sections {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.page-title {
  text-align: center;
  font-size: 20px;
  margin: 14px;
}

.account-exists {
  text-align: center;
}

.content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.main-content {
  width: 450px;
  height: auto;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background-color: #fff;
  padding: 24px;
}

.special-link {
  color: var(--main-color) !important;
  text-decoration: underline;
}

.form-input {
  background-color: #f9fafb;
  padding: 12px;
  border-radius: 8px;
  background-color: rgba(243, 244, 246, 0.7);
  outline: none;
  border: 1px solid #e5e7eb;
  color: #1a202c;
  width: 100%;
  transition-property: all;
  transition-duration: 100ms;
}

.form-input:hover {
  border-color: var(--main-color);
}

.form-input:focus {
  border-color: var(--main-color);
}

.form-input:disabled {
  cursor: not-allowed;
}

.form-row {
  width: 100%;
}

/* input[type='checkbox'] {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  margin: 0;
  padding: 0;
  border-color: #353f47;
  color: #353f47;
  width: 1.15em;
  height: 1.15em;
  border-radius: 0.25em;

  display: grid;
  place-content: center;
}

input[type='checkbox']::before {
  content: '';
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: 50ms transform ease-in-out;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);

  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type='checkbox']:checked::before {
  transform: scale(1);
}

input[type='checkbox']:disabled {
  border-color: #45484bb0;
  color: #45484bb0;
  cursor:not-allowed;
} */

.submit-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.forgotten-link {
  color: #353f47;
  font-size: 16px;
}

.forgotten-link:hover {
  color: var(--main-color);
  text-decoration: underline;
}

.account {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.btn-cart {
  width: 42px;
  height: 42px;
  background-color: var(--main-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s ease;
  user-select: none;
}

#checkout-cart td,
#checkout-cart table,
#checkout-cart .table,
#checkout-cart tr {
  font-size: 16px !important;
}
.table-wrapper {
  border-radius: 10px;
  overflow: hidden;
  display: inline-block;
}

table {
  border-collapse: collapse;
  margin: 0;
}

.quantity-btn.left {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.quantity-btn.right {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

#common-home.container .alert {
  margin: 20px -15px 12px -15px;
}

#input-coupon.form-control {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

#button-coupon.btn.btn-primary {
  background-color: var(--main-color) !important;
  color: var(--font-color) !important;
  border: none !important;
  background-image: none !important;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

#input-voucher.form-control {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

#button-voucher.btn.btn-primary {
  background-color: var(--main-color) !important;
  color: var(--font-color) !important;
  border: none !important;
  background-image: none !important;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

#input-payment-firstname {
  padding: 8.5px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 4px;
}

#input-payment-lastname {
  padding: 8.5px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 4px;
}

#input-payment-company {
  padding: 8.5px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 4px;
}

#input-payment-address-1 {
  padding: 8.5px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 4px;
}

#input-payment-address-2 {
  padding: 8.5px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 4px;
}

#input-payment-city {
  padding: 8.5px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 4px;
}

#input-payment-postcode {
  padding: 8.5px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 4px;
}

select#input-payment-country {
  padding: 8.5px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 4px;
}

select#input-payment-zone {
  padding: 8.5px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 4px;
}

label[for="input-payment-firstname"] {
  display: none;
}

label[for="input-payment-lastname"] {
  display: none;
}

label[for="input-payment-company"] {
  display: none;
}
label[for="input-payment-address-1"] {
  display: none;
}
label[for="input-payment-address-2"] {
  display: none;
}
label[for="input-payment-city"] {
  display: none;
}

label[for="input-payment-postcode"] {
  display: none;
}

label[for="input-payment-country"] {
  display: none;
}
label[for="input-payment-zone"] {
  display: none;
}

#button-payment-address {
  background-color: var(--main-color) !important;
  color: var(--font-color) !important;
  border: none !important;
  background-image: none !important;
  border-radius: 8px;
}

#button-payment-method {
  background-color: var(--main-color) !important;
  color: var(--font-color) !important;
  border: none !important;
  background-image: none !important;
  border-radius: 8px;
}

#button-confirm {
  background-color: var(--main-color) !important;
  color: var(--font-color) !important;
  border: none !important;
  background-image: none !important;
  border-radius: 8px;
}

.btn-primary {
  background-color: var(--main-color) !important;
  background-image: none !important;
  border: none;
}

i.fa.fa-user {
  color: var(--font-color) !important;
}
