*,*::before,*::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
html, body {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}
body {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #272727;
  font-weight: 500;
}
a,a:visited,a:hover,a:active {
  text-decoration: none;
  color: #272727;
}
ul,ol,li {
  margin: 0;
}
h1{
  font-size: 24px;
}
h2{
  font-size: 20px;
}
h3{
  font-size: 18px;
}
h4{
  font-size: 16px;
}
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 1280px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 1024px) {
  .container {
    max-width: 760px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 600px;
  }
}
@media (max-width: 640px) {
  .container {
    max-width: 600px;
    padding: 0 10px;
  }
}

.products {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 10px;
  width: 100%;
}
@media (max-width: 1024px) {
  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .products {
    grid-template-columns: minmax(0, 1fr);
  }
}
.product {
  background: #faf8ff;
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  font-size: 14px;
  justify-content: space-between;
}
.product:hover {
  outline: 2px solid #f2f0f6;
}
.product__name {
  float: left;
  width: 100%;
  font-weight: 500;
  line-height: 20px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.product__name span {
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #4696EA;
  font-weight: 400;
}
.product__img {
  margin: 10px;
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}
.product__info {
  margin:0;
}

.header {
  padding: 20px 0;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  width: 60px;
  height: 60px;
}
.header__list {
  display: flex;
  list-style: none;
  gap: 20px;
  font-weight: 700;
}
@media (max-width: 1024px) {
  .header__list {
    display: none;
  }
}
.header__list a {
  color: #4696EA;
  font-weight: 500;
}
.header__list a:hover {
  color: #0D61AE;
  text-decoration: underline;
}

.navbar-toggle {
  display: none;
  width: 32px;
  height: 32px;
}
.navbar-toggle:hover {
  cursor: pointer;
}
@media (max-width: 1024px) {
  .navbar-toggle {
    display: block;
  }
}
.navbar__list {
  justify-content: center;
  list-style: none;
  display: flex;
  gap: 20px;
}
@media (max-width: 1024px) {
  .navbar__list {
    display: none;
  }
  .navbar__list.active {
    display: block;
    padding-left: 0;
  }
}
.navbar__item {
  font-size: 14px;
  display: flex;
  align-items: center;
}
.navbar__search-form {
  margin: 20px 0 20px;
  display: flex;
  justify-content: center;
  column-gap: 10px;
  height: 48px;
}
.navbar__search-form input {
  font-weight: 500;
  padding: 16px 20px;
  font-size: 14px;
  border: 2px solid #D9D9D9;
  color: #999999;
  border-radius: 4px;
  width: 747px;
}
.navbar__search-form input:focus {
  outline: none;
  border: 2px solid #c6c6c6;
}
.navbar__search-form input::placeholder {
  font-weight: 500;
  color: #999999;
  opacity: 1;
}
.navbar__search-form button {
  transition: 0.3s;
  background: #272727;
  outline: none;
  border: none;
  border-radius: 4px;
  padding: 16px 20px;
  color: #fff;
  font-weight: 600;
}
.navbar__search-form button:hover {
  cursor: pointer;
  background: #505050;
  transition: 0.3s;
}
.search-container{
  margin: 0;
  max-width: 500px;
  width: 100%;
  display: none;
}
#search-results {
  background-color:white;
  padding: 10px;
  border: 1px solid #ccc;
  position: absolute;
  width:90%;
  max-width:850px;
  z-index: 999;
}
.result-item {
  position: relative;
  padding: 4px;
  border-bottom: 1px solid #f1f1f1;
  cursor: pointer;
}
.result-item a {
  font-size: 0.9em;
  width: 100%;
  display:block;
  color:#333;
  text-decoration:none;
}
.result-item:hover {
  background-color: #f0f0f0;
}

.main{
  flex:1;
}
.main .slogan {
  margin-top: 30px;
  color: #fff;
  width: 100%;
  height: 330px;
}
.main .slogan .container {
  border-radius: 8px;
  height: 100%;
  background: #272727 url(../img/lines.png) no-repeat center;
  background-size: 1386px;
  display: flex;
  padding-left: 72px;
  align-items: center;
}
@media (max-width: 640px) {
  .main .slogan .container {
    padding: 20px;
    border-radius: 0;
  }
}
.main .slogan .txt {
  font-family: 'Arial', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
  letter-spacing: 0.5px;
  padding: 20px;
  text-align: center;
  animation: glow 3s ease-in-out infinite alternate;
}
@keyframes glow {
  from {
    text-shadow: 0 0 1px #fff, 0 0 2px #0ff, 0 0 3px #0ff;
  }
  to {
    text-shadow: 0 0 2px #fff, 0 0 3px #0ff, 0 0 5px #0ff;
  }
}
@media (max-width: 640px) {
  .main .slogan .txt {
    font-size: 32px;
  }
}
@media (max-width: 400px) {
  .main .slogan .txt {
    font-size: 26px;
  }
}
.main .categories {
  margin-top: 30px;
}
.main .categories .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 20px;
  row-gap: 10px;
}
@media (max-width: 1024px) {
  .main .categories .container {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .main .categories .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .navbar__search-form input{
    width:100%;
  }
  .navbar__search-form .box-container{
    width:100%;
  }
}
@media (max-width: 640px) {
  .main .categories .container {
    /*grid-template-columns: 1fr;*/
    grid-template-columns: repeat(2, 1fr);
  }
}
.main .categories .category {
  position: relative;
  height: 300px;
}
.main .categories .category:hover .category__title {
  background: #505050;
  transition: 0.3s;
  border-radius: 6px;
}
.main .categories .category__image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  object-fit: contain;
}
.main .categories .category__title {
  transition: 0.3s;
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  margin-right: auto;
  margin-left: auto;
  text-transform: capitalize;
  background: #272727;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}
@media (max-width: 640px) {
  .main .categories .category {
    height: 200px;
  }
  .main .categories .category__title {
    bottom: 15px;
  }
  .main .categories .container {
    column-gap: 10px;
  }
  .main .categories {
    margin-top: 10px;
  }
  .main .slogan {
    margin-top: 10px;
  }
}
.main .new {
  margin-top: 30px;
}
.main .new-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main .new-heading__title {
  color: #3c3b3b;
  text-transform: uppercase;
}
.main .new-heading__link {
  color: #4696EA;
  text-decoration: none;
}
.main .new-heading__link:hover {
  color: #0D61AE;
  text-decoration: underline;
}
.main .new__products {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1024px) {
  .main .new__products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .main .new__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .main .new__products {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
.main .contact {
  background: #272727;
  margin-top: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #fff;
}
.main .contact__title {
  text-transform: uppercase;
}
.main .contact-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 20px 14px;
  border-radius: 6px;
  width: 400px;
  row-gap: 10px;
}
@media (max-width: 1024px) {
  .main .contact-form {
    width: 100%;
  }
}
.main .contact-form label {
  color: #272727;
}
.main .contact-form__group {
  display: flex;
  flex-direction: column;
}
.main .contact-form__input {
  margin-top: 6px;
  font-weight: 500;
  border: 2px solid #D9D9D9;
  color: #999999;
  border-radius: 4px;
  font-size: 14px;
  padding: 6px;
  resize: none;
}
.main .contact-form__input:focus {
  outline: none;
  border: 2px solid #c6c6c6;
}
.main .contact-form__button {
  transition: 0.3s;
  background: #272727;
  outline: none;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  color: #fff;
  font-weight: 600;
}
.main .contact-form__button:hover {
  cursor: pointer;
  background: #505050;
  transition: 0.3s;
}

.subcats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 10px;
}
.subcats div{
  background: #faf8ff;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  align-items: center;
  display: flex;
}
.subcats img{
  width:50px;
  border-radius: 5px;
  margin-right:10px;
}
@media (max-width: 1024px) {
  .subcats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .subcats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .subcats {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer {
  margin-top: 30px;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}
.footer a:hover {
  text-decoration: underline;
}
.footer .container {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .footer .container {
    justify-content: center;
  }
}
.footer__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer__service {
  display: flex;
  flex-direction: column;
}
.footer__service strong {
  font-size: 18px;
}
.footer__service a:last-child {
  transition: 0.3s;
  background: #272727;
  outline: none;
  border: none;
  border-radius: 99px;
  padding: 6px;
  text-align: center;
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
}
.footer__service a:last-child:hover {
  cursor: pointer;
  background: #505050;
  transition: 0.3s;
}
.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding-left: 0;
}
@media (max-width: 768px) {
  .footer__list {
    display: none;
  }
}
.footer__list li:first-child {
  font-weight: 700;
  font-size: 18px;
  color: #0F172A;
}
.footer__bottom {
  margin-top: 30px;
  background: #272727;
  padding: 10px 0;
  color: #fff;
  font-size: 14px;
}
.footer__bottom div {
  display: flex;
  align-items: center;
}
.footer__bottom img {
  margin-right: 10px;
  height: 24px;
}

.product-page {
  margin-top: 30px;
}
.product-page__grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 4fr) 5fr;
  gap: 80px;
  height: 220px;
}
.product-page__left {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-page__left img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
}
.product-page__right {
  display: flex;
  flex-direction: column;
}
.product-page__shortinfo {
  border-top: 1px solid #E1E1E8;
  margin-top: 20px;
  padding-top: 20px;
  list-style: none;
  padding-left: 0;
  color: #64748B;
  font-weight: 400;
  font-size: 14px;
}
.product-page__shortinfo li {
  margin-top: 10px;
}
.product-page__shortinfo li strong {
  color: #000;
}
.product-page__shortinfo li strong a {
  color: #4696EA;
}
.product-page__shortinfo li strong a:hover {
  text-decoration: underline;
  color: #0D61AE;
}
.product-page__title {
  font-size: 24px;
}
.product-page__button {
  transition: 0.3s;
  background: #0077e4;
  outline: none;
  border: none;
  width: 150px;
  border-radius: 4px;
  padding: 14px 20px;
  color: #fff;
  font-weight: 500;
}
.product-page__button:hover {
  cursor: pointer;
  background: #0D61AE;
  transition: 0.3s;
}
.product-page__heading .container {
  padding-top: 30px;
  border-top: #505050 1px solid;
  display: flex;
  flex-direction: column;
}
.product-page__overview .container {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #E1E1E8;
}
.product-page__overview .container p {
  font-size: 14px;
}
.product-page__section-title {
  font-weight: 500;
  color: #0F172A;
  margin-bottom: 10px;
}
.product-page__contact .container {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #E1E1E8;
}
.product-page__contact .container form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
.product-page__contact .container form select {
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border: 2px solid #D9D9D9;
  border-radius: 4px;
  width: 100%;
}
.product-page__contact .container form select:focus {
  outline: none;
  border: 2px solid #c6c6c6;
}
.product-page__contact .container form input {
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border: 2px solid #D9D9D9;
  border-radius: 4px;
  width: 100%;
}
.product-page__contact .container form input:focus {
  outline: none;
  border: 2px solid #c6c6c6;
}
.product-page__contact .container form textarea {
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border: 2px solid #D9D9D9;
  border-radius: 4px;
  width: 100%;
}
.product-page__contact .container form textarea:focus {
  outline: none;
  border: 2px solid #c6c6c6;
}
.product-page__form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-page__recently-viewed .container {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #E1E1E8;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #505050;
}
.product-page__products-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1024px) {
  .product-page__products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .product-page__products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .product-page__products-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.dropdown {
  position: relative;
}
@media (min-width: 1024px) {
  .dropdown:hover .dropdown__content {
    display: flex;
    position: absolute;
    top: 32px;
    left: 0;
  }
}
.dropdown:hover .dropdown__button {
  cursor: pointer;
  color: #000;
  background: #F1F5F9;
  border-radius: 6px;
}
.dropdown__button {
  padding: 8px 16px;
  width: 100%;
  background: #fff;
  border: none;
  text-align: left;
  font-weight: 500;
}
.dropdown__button-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .dropdown__button-desktop {
    display: block;
  }
}
.dropdown__button-mobile {
  display: none;
}
@media (max-width: 1024px) {
  .dropdown__button-mobile {
    display: block;
  }
}
.dropdown__content {
  display: none;
  list-style: none;
  background: #fff;
  border: 1px solid #E1E1E8;
  border-radius: 4px;
  flex-direction: column;
  row-gap: 4px;
  padding: 0;
  white-space: nowrap;
  z-index: 55;
}
.dropdown__content a {
  padding: 8px 16px;
  display: block;
  width: 100%;
}
.dropdown__content a:hover {
  background: #F1F5F9;
  text-decoration: underline;
}
@media (max-width: 1024px) {
  .dropdown {
    position: inherit;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .dropdown-active .dropdown__content {
    margin-top: 4px;
    display: flex;
    row-gap: 4px;
    padding-left: 10px;
    border: none;
    width: 100%;
  }
  .dropdown-active .dropdown__content a {
    border-radius: 6px;
  }
  .dropdown-active .dropdown__button {
    background: #F1F5F9;
  }
}

.breadcrumbs { float: left; width: 100%; margin: 0; padding: 20px; list-style: none;border-top: #505050 2px solid;}
.breadcrumbs li { float: left; font-weight: 400; font-size: 14px; line-height: 16px; color: #0F172A; padding-right: 28px; margin: 0 12px 8px 0; background: url(../img/breadcrumbs_arrow.png) no-repeat top right; background-size: 16px;}
.breadcrumbs li:last-of-type { padding-right: 0; margin-right: 0; background: none;}
.breadcrumbs li a img { height: 16px; float: left;}
.breadcrumbs li a { color: #4696EA; text-decoration: none;}
.breadcrumbs li a:hover { color: #0D61AE; text-decoration: none;}

.pagination { display: inline-block; width: 100%; text-align: center; padding: 0; margin: 12px 0 32px; list-style: none; overflow: hidden; border: 1px solid #EEF0F4; border-radius: 6px;}
.pagination li { display: inline-block; margin: 12px 5px;}
.pagination li a { display: inline-block; }
.pagination li.page-item.active .page-link { background: #0F172A; color: #FFFFFF;}
.pagination li.page-item:hover .page-link { background: #0F172A; color: #FFFFFF;}
.pagination li .page-link { width: 36px; height: 36px; line-height: 36px; padding: 0; border: none; text-align: center; background: #EDEDED; border-radius: 18px!important; font-weight: 400; font-size: 14px; color: #0F172A; text-decoration: none; }

.details{
  width: 100%;
  margin-top:15px;
}
.details .right {
  float: right;
  width: 750px;
  margin: 0 0 32px 0;
  text-align: left;
}
.details .left {
  float: left;
  width: 400px;
  margin: 0 0 32px 70px;
}
.details .description {
  float: left;
  width: 100%;
  border-top: solid 1px #E1E1E8;
  padding: 20px 0 20px;
  text-align: left;
}
.details .description .section{
  margin-top:20px;
  font-size:14px;
}
.details .price {
  float: left;
  width: 100%;
  border-bottom: solid 1px #E1E1E8;
  padding-bottom: 24px;
  margin-bottom: 16px;
}
.details .price .button_blue {
  float: left;
  background: #0077E4;
  text-decoration: none;
  padding: 12px 33px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: #FFFFFF;
  margin-right: 20px;
}
.details .sell {
  float: left;
  width: 100%;
  margin: 0 0 24px;
  padding: 16px;
  list-style: none;
  background: rgba(12, 5, 66, 0.07);
  border-radius: 8px;
}
.details .info{
  color: #272727;
}
.details .info span{
  font-weight: 400;
  color: #64748B;
  margin-right: 5px;
}
.details .slider{
  width:400px;
}
@media (max-width: 1024px) {
  .details .left, .details .right {
    width:100%;
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .breadcrumbs{
    padding-left:0px;
  }
  .breadcrumbs li{
    padding-right:18px;
    margin-right:2px;
  }
}
@media (max-width: 640px) {

}
.slider img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.slider_thumbs {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 10px;
}
.slider_thumbs .thumb {
  width: 80px;
  height: 50px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  border-radius: 4px;
  border: 2px solid transparent;
}
.slider_thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider_thumbs .thumb:hover,
.slider_thumbs .thumb.active {
  opacity: 1;
  border-color: #007bff;
  box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.5);
}

.form{
  max-width: 500px;
  margin: 0;
  padding: 20px 0;
  font-family: sans-serif;
}
form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}
.form input[type="text"], .form select, .form textarea{
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.form button[type="submit"] {
  background-color: #337ab7;
  color: #fff;
  cursor: pointer;
  border: none;
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 4px;
}



