@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
@import url("./assets/fonts/BebasNeueCyrillic/style.css");

/* VARIABLES */
:root {
  --main: #010101;
  --secondary: #e20030;
  --white: #fff;
  --gray: #a0a0a0;
  --open-sans: "Open Sans", sans-serif;
  --bebas: "Bebas Neue Cyrillic", sans-serif;
  --icons: #dd1c45;
  --price: #23856d;
}
/* VARIABLES END */

/* COMMON */
html,
body {
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  padding: 0;
  margin: 0;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cart-product{
    padding-bottom:5px;
    border-bottom:1px solid var(--secondary);
}



header.shdw{
  box-shadow: 0px 0px 4px 1px rgba(121, 121, 121, 0.3);
}

body::-webkit-scrollbar {
  display: none;
  width: 10px;
  background: var(--main);
}

body::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: var(--secondary);
}

body.show::-webkit-scrollbar {
  display: block;
}

header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.navbar-brand{
    width:100px;
    height:100px;
}

.offcanvas-title img{
       width:100px;
    height:100px; 
}

.navbar-brand img{
    width:100%;
    height:100%;
}

.title {
  color: var(--main);
  font-family: var(--bebas);
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.title-lg {
  color: var(--secondary);
  font-family: var(--bebas);
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; /* 52px */
}

.titleh4 {
  color: var(--white);
  font-family: var(--open-sans);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.titleh5 {
  color: var(--main);
  /* название товара */
  font-family: var(--open-sans);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.titleh6 {
  color: #929292;
  font-family: var(--open-sans);
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 150%; /* 24px */
}

.text-ellipsis {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: pre-line;
}

.price {
  color: var(--price);
}

.gray {
  color: var(--gray);
}

.btn-text {
  font-family: var(--open-sans);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  display: block;
}

/* COMMON END */

/* TOP NAV */

#topNav {
  background: var(--main);
}

#topOffcanvas,
#bottomOffcanvas {
  background: linear-gradient(180deg, #191a1c 0%, #000 100%);
}

.navbar-toggler {
  width: 32px;
  height: 32px;
  padding: 0;
}

.navbar-toggler img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-navbar-nav {
  margin-top: 25%;
  gap: 50px;
  margin-bottom: 100px;
}

.nav-link,
.dropdown-toggle,
.dropdown-item {
  text-decoration: none;
  color: var(--white);
  font-family: var(--open-sans);
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-transform: uppercase;
  transition: all 0.1s linear;
}

.nav-link.show {
  color: var(--white) !important;
}

.nav-link:focus,
.nav-link:hover {
  color: var(--white);
}

.top-nav-item:hover .nav-link,
.dropdown-toggle.show,
.dropdown-item:hover {
  color: var(--secondary);
  background-color: transparent;
}

.top-nav-item .active {
  color: var(--secondary);
  font-weight: 600;
}

.language {
  padding: 20px 35px;
  border-radius: 8px;
}

.language.active {
  background: var(--icons);
}
/* BOOTOM NAV */

.catalog-icon {
  width: 24px;
  height: 24px;
}

.dropdown-menu {
  transition: all 0.3s ease;
  border: 0;
  padding: 10px;
}
.categories {
  margin-top: 25%;
  justify-content: center;
  align-items: center;
}

.categories li {
  width: 100%;
  padding: 15px 0;
  text-align: start;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-toggle {
  position: relative;
}

.dropdown-toggle::after {
  content: url("./assets/images/dropdown-arrow.svg");
  border: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  transition: all 0.2s ease;
}

.dropdown-toggle.show::after {
  rotate: -180deg;
}

/* .dropdown-toggle::before{
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary);
    transition: all .2s ease;
}

.dropdown-toggle.show::before{
    width: 100%;
} */

.dropdown-menu.show {
  background-color: rgba(167, 167, 167, 0.123);
  backdrop-filter: blur(20px);
  gap: 10px;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.3s linear forwards;
}

.dropdown-menu .nav-link {
  display: block;
}

.dropdown-item:active {
  background: transparent;
  color: var(--main);
}

.search {
  position: relative;
}

.search img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  transition: all 0.3s ease;
}

.search input {
  position: absolute;
  right: 0;
  width: 0;
  transition: all 0.2s ease;
  visibility: hidden;
  border-radius: 10px;
  outline: none;
  box-shadow: none;
  padding: 5px 10px;
  border: 1px solid var(--icons);
  opacity: 0;
}

.search input.show {
  width: 90%;
  visibility: visible;
  opacity: 1;
  padding-left: 35px;
}

.search.show {
  width: 100%;
  padding: 0 10px;
}

.search.show img {
  left: 8%;
  animation: fadeIn 0.3s linear forwards;
}

.search,
.search,
.cart {
  width: 50px;
  height: 50px;
  cursor: pointer;
}

/* CART */

.cart {
  position: relative;
}

.cart .counter {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  font-family: var(--open-sans);
  color: var(--white);
  background-color: var(--icons);
  border-radius: 50%;
}

#cart .offcanvas-body {
  padding: 0;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
}

.cart-body {
  height: 85%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow: auto;
  padding: 16px 8px;
}

.cart-body::-webkit-scrollbar {
  width: 8px;
}

.cart-body::-webkit-scrollbar-thumb {
  background: #606060;
  border-radius: 15px;
}

.cart-product-info {
  display: grid;
  grid-template-columns: 100px 250px;
  gap: 8px;
}

.cart-count-button,
.count,
.cart-trash {
  padding: 0;
  margin: 0;
  outline: none;
  width: 30px;
  height: 30px;
  background: transparent;
  border-radius: 8px;
  border: 1px solid #e2e2e2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cart-count-button svg,
.cart-trash svg {
  width: 20px;
  height: 20px;
  fill: #606060;
}

.cart-count-button:hover,
.cart-count-button:hover svg {
  border-color: #606060;
  fill: #606060;
}

.cart-trash:hover svg,
.cart-trash:hover {
  cursor: pointer;
  fill: red;
  border-color: red;
}

.cart-count-button:disabled,
.count,
.cart-trash {
  border-color: #e2e2e2;
}

.cart-count-button:disabled svg {
  fill: #e2e2e2;
}

.count {
  width: 80px;
  color: #606060;
}

.cart-footer {
  padding: 20px 10px;
  border-top: 1px solid #e2e2e2;
}

.cart-order-btn {
  width: 100%;
  background: var(--secondary);
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.cart-order-btn:hover {
  transform: scale(1.03);
}

/* FOOTER */

footer {
  background-color: var(--main);
  padding: 60px 0;
}

footer ul {
  margin: 0;
}

.footer-body {
  gap: 70px;
}

.footer-nav {
  gap: 50px;
}

.contacts-links {
  gap: 40px;
}

.footer-contacts {
  gap: 20px;
}

.footer-nav-item:hover a {
  color: var(--secondary) !important;
}

.footer-contacts svg {
  width: 24px;
  height: 24px;
  fill: var(--icons);
}

.footer-social-links li {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  border-radius: 10px;
  border: 2px solid var(--icons);
  background: white;
  transition: all 0.3s ease;
}

.footer-social-links li a {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  padding: 1px;
}

.footer-social-links li:first-of-type a {
  padding: 4px;
  background: var(--icons);
}

.bi-instagram {
  width: 18px;
  height: 18px;
  color: white;
  transition: all 0.3s ease;
}

.footer-social-links li:hover {
  background: var(--icons);
}

.footer-social-links li:hover .bi-telegram,
.footer-social-links li:hover .bi-envelope,
.footer-social-links li:hover .bi-whatsapp {
  fill: white;
  background: var(--icons);
}

.bi-telegram,
.bi-envelope,
.bi-whatsapp {
  width: 24px;
  height: 24px;
  overflow: visible;
  fill: var(--icons);
  background: var(--white);

  transition: all 0.3s ease;
}

.counter.animate{
  animation: bounce2 1s ease-in-out;
}

.breadcrumbs{
    padding-top: 30px;
}

.breadcrumbs a{
  transition: all .3s ease;
}

.breadcrumbs a:hover{
  color: var(--secondary);
}

.product-card-btn {
    width: 100%;
    border: 1px solid var(--secondary);
    border-radius: 8px;
    background-color: white;
    padding: 8px 0;
    margin-top: 10px;
    transition: all 0.3s ease;
  }

  /* SWiPER */

.swiper-button-next img {
    rotate: -90deg;
  }
  .swiper-button-prev img {
    rotate: 90deg;
  }
  .swiper-button-next img,
  .swiper-button-prev img {
    width: 24px;
    height: 24px;
  }
  
  .swiper-button-next::after,
  .swiper-button-prev::after {
    content: "";
  }
  .container-btn-next {
    right: unset;
    left: 100%;
    top:unset;
    bottom:220px;
  }
  .container-btn-prev {
    left: unset;
    right: 100%;
       top:unset;
    bottom:220px;
  }
  

@keyframes bounce2 {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-20px);
    }
    60% {
      transform: translateY(-10px);
    }
  }
  
  .about {
    min-height: 100vh; /* Adjust as needed */
    padding: 50px 0 100px;
    gap: 30px;
}

.about img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}





@media (min-width:1280px) {
    .about{
        min-height: 60vh;
    }

   .about img{
    width: 585px;
    height: 585px;
   }
}
  


@media (min-width: 960px) {
    .title-lg {
      font-size: 100px;
      line-height: normal;
    }
  
    .titleh4 {
      font-size: 22px;
    }
  
  
    #topOffcanvas,
    #bottomOffcanvas {
      background: transparent;
    }
  
    #topOffcanvas .offcanvas-body {
      gap: 70px;
    }
  
    .top-navbar-nav {
      margin: 0;
      gap: 20px;
    }
  
    .categories {
      margin: 0;
      gap: 35px;
    }
  
    .language {
      padding: 10px 15px;
    }
  
    .dropdown-toggle,
    .dropdown-item {
      color: var(--main);
      font-weight: 700;
      line-height: normal;
      text-transform: uppercase;
      text-align: start;
    }
  
    .dropdown-menu.show {
      background: white;
      box-shadow: 0 0 2px 1px rgba(167, 167, 167, 0.7);
    }
  
    .title {
      font-size: 44px;
      font-weight: 400;
    }
    .footer-nav {
      gap: 25px;
    }
}  

@media (max-width: 960px) {
    .dropdown-toggle.show {
      font-weight: 400;
    }
  }
  
  @media (min-width: 1280px) {
    .categories {
      gap: 55px;
    }
  

  }
  