.nav {
  width : 100%;
}

.home {
font-size : 30px;
display : inline-block;
}

.cre {
display : inline-block;
}

hr {
margin-bottom : 5px;
}
.exit {
margin-right : -8px;
}

.item-b {
margin-top : 10px;
}
body {
font-family : Rubik;
padding-bottom : 50px;
width: 100%;
background-color: white;
}
.title {
text-align : left;
display : block;
}
.nav {
width : 100%;
}
.cre {
display : inline-block;
}
.row {
      bs-gutter-x: 1.5rem;
}
hr {
margin-bottom : 5px;
}
.exit {
margin-right : -8px;
}
.item-b {
margin-top : 10px;
}
.title {
text-align : center;
display : block;
}
li a {
padding : 10px 15px;
margin : 5px;
}
textarea {
margin-bottom : 10px;
}
form {
margin-top : 20px;
}
.tr {
margin : 0 -7px 0 -7px;
}
.tr td {
margin-top : -10px;
}
.nav {
width : 100%;
}
.cre {
display : inline-block;
}


hr {
margin-top : -5px;
margin-bottom : 5px;
}
label {
margin-left : 5px;
font-size : 16px;
margin-top : 15px;
margin-bottom : 5px;
color : rgb(67, 67, 67);
}
.form-control {
outline : none;
}
.title {
color : rgb(67, 67, 67);
padding-bottom : 10px;
}

a img {
  width: 30px;
}
}
.logo {
width : 70px;
}
li a {
padding : 10px 15px;
margin : 5px;
}

.card {
  display: block;
  height: auto;
  border:0px;
}


.wrapper {
  background-color: white;
  border-radius: 5px;
  margin-top: 10px;
} 

.p8 {
  padding: 0px 8px 0px 8px;
}

.icons {
  width: 18px;
  height: 18px;
  margin-right: 5px;
}


.post_desc{
  font-weight: normal;
  margin-top: 10px;
  text-shadow: 0px 0px 1px  black;
  font-size: 14px;
}

.icon_title{
  font-size: 14px;
}

.categories {
  overflow: scroll; 
  overflow-x: auto;
  width: 100%;
  height: auto;
  scroll-padding-left: 0px;
  white-space:nowrap;
  margin-top: 15px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  background-color: wh;

} 
.categories::-webkit-scrollbar {
  display: none;
}
.categories > .top_items{
  padding: 8px 12px 13px 12px;
  margin-left: 3px;
  margin-right: 3px;
  text-shadow: 0px 0px 1px black;
  scroll-snap-align: center;
  width: 150px;
  white-space:word-break
  display: inline-block;
  font-family: rubik; 
  text-transform: uppercase;
  text-align: center;
  font-size: 14px;
  text-decoration: none;
  color: black;
}

*{
  transition: all 0.3s;
}
.active {
  border-radius: 6px 6px 0px 0px;
    box-shadow: 0px 15px 15px rgba(1,1,1,0.5);
    background-color:#fdca2c; 
    backdrop-filter: blur(5px);
}


.containers {
  overflow-x: scroll;
  white-space: nowrap;
  width: 100%; /* или фиксированная ширина */
}

.item {
  display: inline-block;
  width: 100px; /* фиксированная ширина элементов */
  height: 100px;
  margin: 5px;
}
*{
  text-decoration: none;
}

.cart-item{
  margin-right: 0px;
}

.top-wrap {  
  position: fixed; /* или sticky */
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 101%;
  z-index: 10;
  background-color: white;
  min-height: 100px;
  box-shadow: 0 2px 5px rgba(45,45,45,.3);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}




.top_bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 5px;
}

.top_bar_img {
  width: auto;
  height: 50px;
  margin-top: 15px;
}
.menu {
  width: 100%;
}

.buy-btn {
  position: fixed;
  bottom: 20px;
  display: block;
  width: 80%;
  left:10%;
  height: 46px;
  background-color: rgb(0,200,100);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  box-shadow: 0px 0px 5px rgba(11,11,11,.8);
  font-size: 18px;
}

.buck_img {
  width: 100px;
  height: 100px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.

.cart-title {
  text-shadow: 0px 0p 1px black;
  color: rgb(45,45,45);
  font-weight: normal;
}

.cart-titles {
  color: rgb(45,45,45,.8);
  font-weight: lighter;
  font-size: 18px;
  text-align: left;
}


.form-input {
  padding: 12px 20px; 
  font-size: 18px; 
  color: black; 
  border-radius: 5px; 
  border:1px solid silver;
}
.mb-2 label {
  margin-top: -20px;
  color: white;
  font-size: 16px;
}

.scroll {
   display: flex;                /* выстраиваем товары в ряд */
  overflow-x: auto;             /* включаем горизонтальный скролл */
  gap: 10px;                    /* отступы между карточками */
  scroll-behavior: smooth;      /* плавный скролл */
  padding-bottom: 10px;
  width: 100%;
}
.scroll .block {
  width: 160px;
}


.scroll::-webkit-scrollbar {
  display: none;
}


.sprite {
  width: 60px;
  height: 60px;
  background-image: url('../img/bg.jpg');
      display: inline-block;
      background-size: 600%;
  background-repeat: no-repeat;
  background-position: left 60% top 0%;
}
.bg_1  { background-position: left 0%   top 0%; }
.bg_2  { background-position: left 20%  top 0%; }
.bg_3  { background-position: left 40%  top 0%; }
.bg_4  { background-position: left 60%  top 0%; }
.bg_5  { background-position: left 80%  top 0%; }

.bg_6  { background-position: left 0%   top 20%; }
.bg_7  { background-position: left 20%  top 20%; }
.bg_8  { background-position: left 40%  top 20%; }
.bg_9  { background-position: left 60%  top 20%; }
.bg_10 { background-position: left 80%  top 20%; }

.bg_11 { background-position: left 0%   top 40%; }
.bg_12 { background-position: left 20%  top 40%; }
.bg_13 { background-position: left 40%  top 40%; }
.bg_14 { background-position: left 60%  top 40%; }
.bg_15 { background-position: left 80%  top 40%; }

.bg_16 { background-position: left 0%   top 60%; }
.bg_17 { background-position: left 20%  top 60%; }
.bg_18 { background-position: left 40%  top 60%; }
.bg_19 { background-position: left 60%  top 60%; }
.bg_20 { background-position: left 80%  top 60%; }

.bg_21 { background-position: left 0%   top 80%; }
.bg_22 { background-position: left 20%  top 80%; }
.bg_23 { background-position: left 40%  top 80%; }
.bg_24 { background-position: left 60%  top 80%; }
.bg_25 { background-position: left 80%  top 80%; }

.bg_26 { background-position: left 0%   top 100%; }
.bg_27 { background-position: left 20%  top 100%; }
.bg_28 { background-position: left 40%  top 100%; }
.bg_29 { background-position: left 60%  top 100%; }
.bg_30 { background-position: left 80%  top 100%; }

.bg_31 { background-position: left 0%   top 120%; }
.bg_32 { background-position: left 20%  top 120%; }
.bg_33 { background-position: left 40%  top 120%; }
.bg_34 { background-position: left 60%  top 120%; }
.bg_35 { background-position: left 80%  top 120%; }

.bg_36 { background-position: left 0%   top 140%; }


  .offcanvas-custom {
    width: 40vw !important;   /* 40% ширины экрана на компьютере */
    max-width: 500px;         /* максимум 500px */
    height: auto !important;  /* высота под контент (резиновая) */
    min-height: 100px;        /* минимальная высота */
    border-radius: 0 10px 10px 0;
    background-color: #fff;
  }

  /* На мобильных — 100% ширины */
  @media (max-width: 768px) {
    .offcanvas-custom {
      width: 100vw !important;
      max-width: 100%;
      border-radius: 0;
    }
  }

  .promo-block{
    width: 100%;
    height:100%;
    display: block;
    z-index: 5000;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(23,23,23,.4);
  }
  .product-item-text {
    color:rgba(34,34,34,.8);
    padding: 5px;
  }
  .product-item-val{
    text-shadow: 0px 0px 1px black;
    padding: 5px;
    text-align: right;
  }

  @keyframes cartFlash {
  0% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.2); filter: brightness(1.5); }
  100% { transform: scale(1); filter: brightness(1); }
}

.cart-text {
  color:black; 
  margin-top: 20px;
  font-size: 12px; 
  font-weight: lighter;
}




.navs {
   box-shadow: 0px 3px 3px silver;
   position: fixed;
   width: 100%;
   left: 0;
   bottom: 0;
   display: flex;
   justify-content: space-between;
   align-items: center;
   background-color: white;
   padding: 10px;
}
.navs div {
  width: 25%;
}

.whatsapp-button {
    position: fixed;
    right: 50px;
    bottom: 50px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background-color: #25D366;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='%23FFF' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3e%3c/svg%3e");    
    background-size: 50%; 
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.whatsapp-button:before,
.whatsapp-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid #25D366;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: border-animate 1.5s linear infinite;
    opacity: 0;
}
.whatsapp-button:after{
    animation-delay: .5s;
}
@keyframes border-animate
{
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}