/* Стили для мобильного меню */
.mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}
.mob-phone{
    display: none;
}

/* Скрытие мобильного меню на десктопе */
@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    transition: color 0.3s;
    position: relative;
}

.menu-item:hover {
    color: #007bff;
}
/*
.menu-item.active {
    color: #007bff;
}*/

.menu-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.cart-counter2 {
    position: absolute;
    top: 0px;
    right: 5px;
    background: #bf003f;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.cart-counter2.active {
    opacity: 1;
}

/* Контейнер для контактной кнопки */
.contact-container33 {
    position: fixed;
    bottom: 60px;
    right: 20px;
    text-align: center;
    z-index: 1000;
}

/* Кнопка контакта */
.contact-button {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: #333;
    border: none;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
}

.contact-button:hover {
    background-color: #555;
}

/* Анимация пульсации */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(51, 51, 51, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(51, 51, 51, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(51, 51, 51, 0);
    }
}

.pulse-animation {
    animation: pulse 1.5s infinite;
}

/* Список отделов */
.direction-options {
    display: none;
    flex-direction: column;
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border: 1px solid #ccc;
}

.contact-option,
.contact-option1,
.contact-option2,
.contact-option3,
.contact-option4,
.contact-option5 {
    width: 300px;
    height: 45px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    margin: 5px 0;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: background 0.3s;
    text-align: left;
}

.contact-option1::before,
.contact-option2::before,
.contact-option3::before,
.contact-option4::before,
.contact-option5::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('/img/1111.png') no-repeat center;
    background-size: cover;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    border: 1px solid #ccc;
}

.contact-option:hover {
    background: #ddd;
}

/* Социальные сети */
.contact-options {
    display: none;
    flex-direction: row;
    margin-top: 5px;
    gap: 10px;
}

.contact-option.social {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: background 0.3s;
}

.whatsapp {
    background-color: #25D366;
    text-decoration: none;
}

.telegram1 {
    background-color: #0088cc;
    text-decoration: none;
}

.chat {
    background-color: #ff5722;
    text-decoration: none;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .direction-options {
        right: -10px;
        width: 280px;
    }
    
    .contact-option,
    .contact-option1,
    .contact-option2,
    .contact-option3,
    .contact-option4,
    .contact-option5 {
        width: 260px;
        font-size: 12px;
    }
    
    .contact-container33 {
        bottom: 80px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .direction-options {
        right: -20px;
        width: 250px;
    }
    
    .contact-option,
    .contact-option1,
    .contact-option2,
    .contact-option3,
    .contact-option4,
    .contact-option5 {
        width: 230px;
        font-size: 11px;
    }
}

/* Стили для кнопки прокрутки вверх */
.scroll-up {
    position: fixed;
    bottom: 65px;
    right: 20px;
    width: 50px;
    height: 50px;
	left: 20px;
	padding: 0;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-up:hover {
    background: #555;
    transform: translateY(-2px);
}

.scroll-up.visible {
    opacity: 1;
    visibility: visible;
}
@media (max-width: 768px){
	.scroll-up {
        bottom: 87.5px;
        right: 15px;
        width: 45px;
        height: 45px;
		left:15px;
    }
}
/* Адаптивность для кнопки прокрутки */
@media (max-width: 768px) {
    
    .yandex-rating-wrapper{
        display: none;
    }
}
.conf {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Фрейм с рейтингом - слева */
.yandex-rating-wrapper {
    flex-shrink: 0;
    margin: 0;
    order: 1; /* Слева */
}

/* Текст - справа */
.conf p:first-child {
    flex: 1;
    margin: 0;
    order: 2; /* Справа */
    margin-bottom: 10px;
}

/* Телефон - можно скрыть или убрать */
.mob-phone {
    display: none; /* Скрываем телефон */
}


/* Общие стили для футера */
.footer {
    background: #f8f9fa;
    padding: 0px 0 20px;
}
.body-expand{
	position: absolute;
	bottom: 0;		
	left: 0;
	right: 0;
	top:0;	
}
.footer-bottom{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}
/*@media (min-height: 990px) {
	.footer {
		background: #f8f9fa;
		padding: 40px 0 20px;
		bottom: 0;
		position: absolute;
		left: 0;
		right: 0;
	}
	body{
		bottom: 0;
		position: absolute;
		left: 0;
		right: 0;
		top:0;
	}
}*/

.footer .wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer .block-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer .block {
    flex: 1;
    min-width: 250px;
}

.footer .cl-25 {
    flex: 0 0 25%;
}

.footer .cl-20 {
    flex: 0 0 20%;
}

.footer address {
    font-style: normal;
}

.footer .contacts {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.footer .contacts li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer .contacts a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer .contacts a:hover {
    color: #007bff;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: #007bff;
}

.footer .conf {
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.footer .conf a {
    color: #9D0034;
    text-decoration: none;
}

.footer .conf a:hover {
    text-decoration: underline;
}

/* Адаптивность для футера */
@media (max-width: 768px) {
    .footer .block-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer .block {
        min-width: auto;
    }
    
    .footer .cl-25,
    .footer .cl-20 {
        flex: 1;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    .mob-phone{
        display: block;
        font-size: 1.6em;
        margin: 0 auto;
        padding-bottom: 80px;
        
    }
    .footer .conf a{
        color: #222 !important;
    }
}

@media (max-width: 480px) {
    .footer .wrapper {
        padding: 0 15px;
    }
    
    .footer {
        padding: 20px 0 10px;
    }
}
