body{
    min-width: 320px;
}
header .logo {
    max-width: 85px;
}
.header-contacts{
    display: flex;
    align-items: center;
    justify-content:space-between;
    flex-wrap: wrap;
    column-count: 2;

}
.header-contacts-item{
    flex: 0 0 50%;
}
.header-contact-link{
    display: flex;
    align-items: center;

    color: #212529;
    text-decoration: none;
    font-size: 0.775rem;
}
.header-contact-link:not(first-child){
    margin-bottom: 5px;
}
.header-contact-link .fa{
    width: 25px;
    text-align: center;
}
.header-contact-link .fa-mobile{
    font-size: 22px;
}
.header-contact-link .fa-whatsapp{
font-size: 18px;
color: #24d366;
}
.header-contact-link .fa-telegram{
    font-size: 16px;
color: #1d93cd;
}
.top-bar{
    background: rgb(228, 63, 63);
}
.menu-dropdown__link{
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    outline: none;
}
.menu-dropdown__link:hover{
    color: #ccc;
}
.menu-dropdown__icon{
    display: inline-block;
    margin-right: 10px;
}
.search-form{
    position: relative;
}
.search-form__submit{
    position: absolute;
    top: 1px;
    right: 10px;
    background: #fff;
    border: 0;
}

.categories {
    position: relative;
}

.categories .card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    width: 90%; 
    margin: 10px auto; 
}

.categories .card:hover {
    box-shadow: 0 0 15px rgba(144, 238, 144, 0.8); /* зеленая подсветка */
    transform: scale(1.03); 
}

.categories .card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px; 
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0) 100%); /* насыщенный белый внизу с плавным переходом в прозрачность */
    color: black;
}

.categories .card:hover .card-body {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0) 100%);
    color: white;
}

.categories-product-link {
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 10px 15px; 
    font-size: 16px; 
    color: black;
    transition: color 0.3s ease-in-out;
}

.card:hover .categories-product-link {
    color: white;
}

.category-product-count {
    position: absolute;
    top: -12px; 
    right: 8px; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px; 
    height: 30px; 
    background: #fff;
    font-size: 14px; 
    color: #960000;
    border-radius: 50%;
    border: 3px solid #FF8C00; 
    transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}

.our-advantages-card__icon svg{
    width: 64px;
    margin-right: 10px;
}

    
.new-prroducts-slider .card{
    border: 0;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    padding-bottom: 10px;
}
.product-link{
    text-decoration: none;
    color: #212529;
}
.product-name{
    text-align: center;
    font-size:16px;

}
.old-price{
    font-size: 12px;
}
.new-price{
    font-size: 16px;
    font-weight: 600;
    color: brown;
}
.copyright{
    font-size: 12px;
    margin: 0;
}
.swiper-button-next, .swiper-button-prev{
    color: #a6a6a6;
}

.card {
    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    white-space: normal; 
    word-wrap: break-word; 
}

.product-price {
    font-size: 18px;
    color: #ff7f00;
}

.new-price {
    color: #ff0000; 
}

.btn-custom {
    background-color: #28a745; 
    color: white;
    font-weight: bold;
    font-size: 0.775rem !important;
    border: 2px solid #28a745; 
    border-radius: 30px;
    padding: 10px 5px !important;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-custom:hover {
    background-color: white;
    color: #28a745;
    border-color: #28a745;
    transform: scale(1.05);
}

.btn-custom:focus, .btn-custom:active {
    outline: none;
}
.search-result{
    min-height: 90vh;
}
@media(min-width: 768px){
    .header-contact-link{
        font-size: 1rem;
        justify-content: center;
    }
    .menu-dropdown__link{
        font-size: 22px;
    }
    .old-price{
        font-size: 14px;
    }
    .new-price{
        font-size: 18px;
        font-weight: 600;
        color: brown;
    }
    .categories-product-link{
        font-size: 20px;
        padding: 20px 10px;
    }
    .category-product-count{
        top: -22px;
        font-size: 18px;
        width: 45px;
        height: 45px; 
    }
    .btn-custom {
        font-size: 0.9rem !important;
        padding: 10px 20px !important;
    }
}
/* оранжевая кнопка */
.quick-buy-btn {
  background: linear-gradient(135deg, #ff4d4d, #ff944d);
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255, 77, 77, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.quick-buy-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-20deg);
  transition: 0.5s;
  z-index: 0;
}

.quick-buy-btn:hover::before {
  left: 200%;
}

.quick-buy-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 77, 77, 0.6);
}

.quick-buy-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px rgba(255, 77, 77, 0.3);
}

.btn-no-stock {
    background-color: #e0e0e0;
    color: #888888;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid #cccccc;
    border-radius: 12px;
    padding: 12px 20px;
    text-align: center;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.95;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-no-stock:hover {
    background-color: #f5f5f5;
    color: #d32f2f;
    border-color: #d32f2f;
    box-shadow: inset 0 0 12px rgba(211, 47, 47, 0.2);
}

/* форма отправки */
#quickBuyModal .modal-content {
    border-radius: 20px;
    border: none;
    padding: 30px 25px 25px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
}


#quickBuyModal .modal-header {
    position: relative;
    padding: 0;
    border: none;
    display: block;
}


#quickBuyModal .btn-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    filter: grayscale(100%) brightness(1.3);
    transition: 0.2s;
}

#quickBuyModal .btn-close:hover {
    filter: none;
}


#quickBuyModal .modal-title {
    padding-top: 40px;
    padding-bottom: 20px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    width: 100%;
    display: block;
}


#quickBuyModal #quickBuyModalProduct {
    font-weight: 600;
    color: #ff6f00;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 20px;
}


#quickBuyModal .form-label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #444;
}


#quickBuyModal .form-control {
    border-radius: 14px;
    border: 1px solid #ccc;
    padding: 12px 16px;
    font-size: 1rem;
    background-color: #fafafa;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#quickBuyModal .form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
    background-color: #fff;
}


#quickBuyModal .form-error {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #d32f2f;
    font-weight: 500;
    text-align: center;
}


#quickBuyModal #submit-quick-buy {
    background: linear-gradient(135deg, #ff6f00, #ff8f00);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    padding: 14px 0;
    width: 100%;
    box-shadow: 0 6px 18px rgba(255, 111, 0, 0.25);
    transition: all 0.3s ease;
}

#quickBuyModal #submit-quick-buy:hover {
    background: linear-gradient(135deg, #e65100, #ff6f00);
    transform: scale(1.02);
    box-shadow: 0 8px 22px rgba(255, 111, 0, 0.35);
}

#quickBuyModal #submit-quick-buy:active {
    transform: scale(0.98);
}


#quickBuyModal .modal-footer {
    border: none;
    padding-top: 10px;
    padding-bottom: 0;
}
