/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Основные стили */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Set font weights */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    line-height: 1.2;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
}

/* Buttons */
.btn {
    font-weight: 500;
}

/* Навигация */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #000 !important;
    display: flex;
    align-items: center;
    padding: 0.3125rem 0;
}

.navbar-brand .me-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.navbar-brand svg {
    width: 20px;
    height: 20px;
    display: block;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #0d6efd !important;
}

/* Герой-секция */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    color: white;
    padding: 4rem 0;
    margin-top: 1rem;
}



/* Кнопки */
.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}


/* Футер */
footer {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #e9ecef;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Формы */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Иконки соцсетей */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #0d6efd;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #0d6efd;
    color: white;
    transform: translateY(-3px);
}

/* Кастомные стили для модального окна */
.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Стили для карты */
#map {
    width: 100%;
    height: 100%;
    min-height: 200px;
    border-radius: 8px;
}

/* Стили для уведомлений */
.alert {
    border: none;
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

/* Стили для иконок оплаты */
.payment-methods i {
    color: #6c757d;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0d6efd;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}

/* Анимация загрузки */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Product image transition */
.product-image {
    transition: opacity 0.3s ease-in-out;
}

.loading {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #0d6efd;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    display: none;
}
/* Герой баннер */
.hero-banner {
    background: transparent;
    display: flex;
    align-content: flex-end;
    justify-content: center;
    align-items: flex-end;
    /* border-bottom: 2px solid #80808042; */
    /* box-shadow: inset -1px -5px 2px 2px gray; */
    box-shadow: inset 0 -8px 8px -4px rgb(126 126 126 / 8%);
}
.hero-banner img {
    width: unset !important;
    margin-top: 3em;
}

.banner-overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
    .advantage-card {
        padding: 1rem 0.5rem !important;
    }
}
.font-medium {
    font-size: 1.7em;
}
/* Прочее */
.no-bullet {
    list-style: none;
    padding-left: 1em;
}
.no-bullet li{
    line-height: 2;
}
ul.wp-block-list.no-bullet strong {
    font-size: 18px;
}
.border-none{
    border: none !important;
}
/* Стили для модального окна заказа */
#orderModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
}

#orderModal .modal-header {
    background-color: #0d6efd;
    border-bottom: 1px solid #eee;
    color: white;
}

#orderModal .modal-title {
    font-weight: 600;
    width: 100%;
}

.order-summary {
    padding: 0;
    border-radius: 8px;
    margin-bottom: 20px;
}

#orderSuccess {
    transition: all 0.3s ease;
}
#orderModal .modal-body {
    padding: 3em;
}
.order-title {
    font-size: 18px;
}