html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.card-link {
  text-decoration: none;
  color: inherit;
}
.card-link:hover .card {
  /* Add any hover effects you want for the card here */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.my-button {
  padding: 0.8rem 3rem;
  background: rgba(215, 168, 90, 0.8);
  border: 0;
  outline: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  border-radius: 2.5rem;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1040;
}
.modal-backdrop.custom-show {
  visibility: visible;
  opacity: 1;
}
.custom-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35rem;
  text-align: center;
  max-width: 500px;  
  background-color: #fff;
  padding: 20px;
  border-radius: 0.6rem;  
  border-color: red;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1050;
}

.custom-modal.custom-show {
  visibility: visible;
  opacity: 1;
}
.modal-content {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 10px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
}
.modal-header {
  grid-column: 1 / 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.close-button {
  background-color: #f0f0f0;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.modal-body {
  padding: 20px;
}

.form-group {
  margin-bottom: 10px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.category-image {
  height: 18rem; /* or whatever height you prefer */
  width: 18rem;
  object-fit: contain;
  object-position: center center;
}
.hidden {
  display: none !important;
}
.btn-icon-text {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none; /* For the <a> element */
  margin-right: 0.1rem;
  box-shadow: none;
}
.btn-icon-text:hover, .btn-icon-text:focus {
  text-decoration: none; /* For the <a> element */
  outline: none;
  box-shadow: none;
}
.btn-icon-text span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.navbar-btn {
  /*width: 1.5rem; !* Adjust this value based on your preference *!*/
  /*height: 0.5rem; !* Adjust this value based on your preference *!*/
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 2rem; /* Spacing between buttons */
}
.navbar-brand {
  display: flex;
  align-items: center;
  width: 173px;
  height: 43px;
}

.navbar-brand img {
  width: 43px;
  height: 43px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 5px; /* Отступ слева от изображения */
}
.brand-text p {
  margin: 0;
  font-size: 12px; /* Можно настроить */
}

.brand-text p:first-child {
  font-weight: bold; /* Выделение названия магазина */
}

.brand-text p:last-child {
  font-size: 10px; /* Меньший размер шрифта для 'Интернет-магазин' */
}

.my-container {
  max-width: 1320px;
  width: 95%;
  margin-top: 1rem;
}
.my-slider-wrapper {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.my-slider-wrapper::-webkit-scrollbar {
  display: none;
}

.my-image-item .my-img-items{
  flex: 0 0 auto; /* Prevents the items from shrinking */
  width: 325px;
  height: 400px;
  object-fit: cover;
}

.my-container .my-slider-scrollbar{
  height: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
.my-slider-scrollbar .my-scrollbar-track{
  height: 2px;
  width: 100%;
  background: #ccc;
  position: relative;
  border-radius: 4px;
}
.my-slider-scrollbar:hover .my-scrollbar-track{
  height: 4px;
}
.my-slider-scrollbar .my-scrollbar-thumb{
  position: absolute;
  height: 100%;
  width: 50%;
  background: #000;
  border-radius: inherit;
  cursor: grab;
}
.my-slider-scrollbar .my-scrollbar-track:active{
  cursor: grabbing;
  height: 8px;
  top: -3px;
}
.my-slider-scrollbar .my-scrollbar-thumb::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  bottom: -10px;
}
.my-slider-wrapper .slide-button {
  position: absolute;
  top: 65%;
  width: 50px;
  height: 50px;
  color: #fff;
  border: none;
  outline: none;
  background: black;
  font-size: 2.2rem;
  cursor: pointer;
  border-radius: 50%;
  transform: translateY(-50%);
}
.my-slider-wrapper .slide-button:hover{
  background: #258cfb;
}
@media (max-width: 768px) {
  .my-slider-wrapper .slide-button {
    top: 75%;
  }
}
.my-slider-wrapper .slide-button#prev-slide{
  left: -2px;
  display: none;
}
.my-slider-wrapper .slide-button#next-slide{
  right: -2px;
}
.my-image-item {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  width: 325px;
  margin: auto; /* Center the item if needed */
}
.my-image-item .my-img-items {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.my-image-item .card-body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  width: 100%; /* Ensure the card body takes the full width */
}

.my-image-item .card-title {
  font-size: 1rem; /* Adjust font size as needed */
  color: black; /* Set text color to black */
  text-align: center; /* Center the text */
}

.my-image-item a {
  text-decoration: none; /* Remove underline from links */
  color: inherit; /* Optional: Ensure the link color matches the surrounding text */
}

/* Стили для формы поиска */
.form-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

/* Стили для поля ввода */
.form-control {
  border: 2px solid #ddd; /* Серый бордюр */
  border-radius: 5px; /* Скругленные углы */
  padding: 10px;
  width: 100%; /* Ширина поля ввода */
  margin-right: 10px; /* Отступ справа */
}

/* Стили для кнопки поиска */
.btn-outline-success {
  border-color: #28a745; /* Зеленый бордюр */
  color: #28a745; /* Зеленый текст */
  border-radius: 5px; /* Скругленные углы */
  padding: 10px 20px; /* Паддинги */
  text-transform: uppercase; /* Текст в верхнем регистре */
  transition: all 0.3s ease; /* Плавное изменение стилей */
}

.btn-outline-success:hover,
.btn-outline-success:focus {
  background-color: #28a745; /* Зеленый фон при наведении/фокусе */
  color: white; /* Белый текст при наведении/фокусе */
}


