@font-face {
    font-family: 'Fontik'; 
    src: url('../fonts/SofiaSans-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #c9c9c9;
    color: #333333;
    font-family: 'Fontik', sans-serif !important; 
}

button, input, select, textarea, .btn {
    font-family: 'Fontik', sans-serif !important;
}

.navbar {
    background-color: #ffffff !important;
    border-bottom: 4px solid #009e46 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.navbar-light .navbar-nav .nav-link, .navbar-nav .nav-link {
    color: #444444 !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-nav .nav-link:hover {
    color: #009e46 !important;
}
.navbar-brand {
    color: #cc0033 !important;
    font-weight: 900 !important;
    font-size: 26px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/glav.png') center/cover;
    padding: 100px 20px;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.hero-banner h1 { 
    color: #ffffff; 
    font-weight: 900; 
    text-transform: uppercase; 
}
.hero-banner p { 
    color: #dddddd; 
}

.card-corporate {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card-corporate:hover {
    border-color: #009e46;
    box-shadow: 0 5px 15px rgba(0, 158, 70, 0.15);
    transform: translateY(-2px);
}
.product-img-placeholder {
    height: 200px;
    background: #f0f0f0;
    color: #009e46;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 50px;
    border-bottom: 1px solid #e0e0e0;
}
.price-tag {
    font-size: 1.5rem; 
    font-weight: 900;
    color: #cc0033;
}

.form-control, .input-group-text {
    border-radius: 0;
    border-color: #cccccc;
}
.form-control:focus {
    border-color: #009e46;
    box-shadow: 0 0 0 0.2rem rgba(0, 158, 70, 0.25);
}

.btn-claas-green {
    background-color: #009e46;
    color: #ffffff;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 700;
}
.btn-claas-green:hover { 
    background-color: #00873c; 
    color: white; 
}

.btn-claas-outline {
    background-color: transparent !important;
    color: #009e46 !important;
    border: 2px solid #009e46 !important;
    border-radius: 4px !important;
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.3s ease !important;
}
.btn-claas-outline:hover { 
    background-color: #009e46 !important;
    color: #ffffff !important;
}

.btn-claas-red {
    background-color: #cc0033;
    color: #ffffff;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 700;
}
.btn-claas-red:hover { 
    background-color: #b3002d; 
    color: white; 
}

.table-corporate thead { 
    background-color: #009e46; 
    color: white; 
}
.table-corporate th { 
    border: none; 
}

.alert:empty, div[id^="w"]:empty { 
    display: none !important; 
}
main > .container, .wrap > .container { 
    padding-top: 100px !important; 
    margin-top: 0 !important; 
}
header { 
    border-bottom: none !important; 
}

.minimal-cart-form {
    display: flex;
    align-items: stretch;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.minimal-cart-form:hover, .minimal-cart-form:focus-within {
    border-color: #009e46;
}
.minimal-qty-input {
    width: 60px !important;
    border: none !important;
    background-color: transparent !important;
    text-align: center;
    font-weight: bold;
    color: #333;
    padding: 0 5px;
    -moz-appearance: textfield;
}
.minimal-qty-input::-webkit-outer-spin-button,
.minimal-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.minimal-qty-input:focus {
    box-shadow: none !important;
    outline: none;
}
.btn-minimal-buy {
    background-color: transparent;
    color: #009e46;
    border: none;
    border-left: 1px solid #e0e0e0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    padding: 8px 16px;
    transition: all 0.2s;
    border-radius: 0;
}
.btn-minimal-buy:hover {
    background-color: #009e46;
    color: #ffffff;
}
.qty-btn {
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0 10px;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover {
    color: #009e46;
    background-color: #f0f0f0;
}
.qty-btn:focus {
    outline: none;
}

.trust-badges-section {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 30px 0;
    margin-bottom: 40px;
}
.trust-badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #444;
}
.trust-badge-icon {
    font-size: 2.2rem;
    color: #009e46;
    line-height: 1;
}
.trust-badge-text {
    text-align: left;
}
.trust-badge-title {
    font-weight: 700;
    font-size: 15px;
    margin: 0;
    text-transform: uppercase;
    color: #333;
}
.trust-badge-subtitle {
    font-size: 12px;
    color: #777;
    margin: 0;
}

.footer-corporate {
    background-color: #222222;
    color: #cccccc;
    padding: 60px 0 30px;
    border-top: 4px solid #009e46;
}
.footer-title {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 16px;
    letter-spacing: 1px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #009e46;
}
.footer-contact i {
    color: #009e46;
    margin-right: 10px;
}
.footer-social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.2s;
}
.footer-social-icon:hover {
    background-color: #009e46;
    color: #ffffff;
}
.footer-bottom {
    background-color: #1a1a1a;
    padding: 20px 0;
    color: #777777;
    font-size: 14px;
}

/* ========== УЛУЧШЕННЫЕ ОТЗЫВЫ ========== */
.reviews-section {
    background-color: #f8f9fa;
    padding: 40px 0 20px;
    border-radius: 20px;
    margin-top: 40px;
}
.reviews-section .card-corporate {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.reviews-section .card-corporate:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.review-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #009e46, #006f30);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    flex-shrink: 0;
}
.review-meta {
    flex: 1;
}
.review-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #222;
}
.review-date {
    font-size: 0.75rem;
    color: #888;
}
.review-stars {
    margin-bottom: 16px;
}
.review-stars i {
    font-size: 1.1rem;
    margin-right: 2px;
}
.review-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
    margin-bottom: 20px;
    flex-grow: 1;
    font-style: normal;
    border-left: 3px solid #009e46;
    padding-left: 16px;
}
.review-product-link {
    font-size: 0.8rem;
    color: #009e46;
    text-decoration: none;
    border-top: 1px solid #eee;
    padding-top: 12px;
    margin-top: 8px;
    display: inline-block;
    width: 100%;
}
.review-product-link:hover {
    color: #cc0033;
    text-decoration: underline;
}

/* ========== АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ (УВЕЛИЧЕН ТЕКСТ) ========== */
@media (max-width: 768px) {
    body {
        font-size: 16px; /* увеличен базовый размер */
    }
    main > .container {
        padding-top: 80px !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .hero-banner {
        padding: 50px 15px;
    }
    .hero-banner h1 {
        font-size: 1.8rem;
    }
    .hero-banner .lead {
        font-size: 1.2rem;
    }
    .navbar-brand {
        font-size: 20px !important;
    }
    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 8px 12px !important;
    }
    .btn-claas-green, .btn-claas-outline, .btn-claas-red {
        font-size: 14px;
        padding: 8px 16px;
    }
    .card-corporate {
        margin-bottom: 15px;
    }
    .card-corporate .card-body {
        padding: 15px;
    }
    .price-tag {
        font-size: 1.3rem;
    }
    .minimal-cart-form .minimal-qty-input {
        width: 50px !important;
        font-size: 14px;
    }
    .minimal-cart-form .qty-btn {
        padding: 0 12px;
        font-size: 1.3rem;
    }
    .minimal-cart-form .btn-minimal-buy {
        padding: 8px 14px;
        font-size: 14px;
    }
    .trust-badges-section {
        padding: 20px 0;
    }
    .trust-badge-item {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
        min-height: 70px;
        padding: 5px 0;
    }
    .trust-badge-icon {
        font-size: 2rem;
        width: 45px;
        text-align: center;
        flex-shrink: 0;
    }
    .trust-badge-text {
        flex: 1;
    }
    .trust-badge-title {
        font-size: 15px;
        margin-bottom: 3px;
    }
    .trust-badge-subtitle {
        font-size: 12px;
    }
    .footer-corporate {
        padding: 40px 0 20px;
    }
    .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .footer-contact li {
        font-size: 14px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .footer-links li a {
        font-size: 14px;
    }
    .reviews-section {
        padding: 20px 0;
    }
    .review-avatar {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .review-name {
        font-size: 1rem;
    }
    .review-text {
        font-size: 0.95rem;
        padding-left: 12px;
    }
    .review-stars i {
        font-size: 1rem;
    }
    .table-corporate {
        font-size: 14px;
    }
    .table-corporate th, .table-corporate td {
        padding: 8px 4px;
    }
    .table-corporate .btn-sm {
        font-size: 12px;
        padding: 4px 8px;
    }
    .accordion-button {
        font-size: 15px;
        padding: 12px;
    }
    .accordion-body {
        font-size: 14px;
        padding: 12px;
    }
    .card-corporate.p-5 {
        padding: 20px !important;
    }
    .card-corporate.p-5 h2 {
        font-size: 1.5rem;
    }
    .col-md-4.mb-4 {
        margin-bottom: 15px;
    }
    .card-corporate.p-3.text-center {
        padding: 12px !important;
    }
    .card-corporate.p-3.text-center i {
        font-size: 2rem !important;
    }
    .card-corporate.p-3.text-center h3 {
        font-size: 1rem;
    }
    .card-corporate.p-3.text-center p {
        font-size: 0.9rem;
    }
    .map-section iframe {
        min-height: 250px;
    }
    .card-corporate.p-2 iframe {
        min-height: 250px;
    }
    /* Формы входа/регистрации */
    .site-login .form-control, .site-signup .form-control {
        font-size: 16px;
    }
    .btn-lg {
        font-size: 16px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    .hero-banner h1 {
        font-size: 1.5rem;
    }
    .hero-banner .lead {
        font-size: 1rem;
    }
    .trust-badge-icon {
        font-size: 1.6rem;
        width: 40px;
    }
    .trust-badge-title {
        font-size: 14px;
    }
    .trust-badge-subtitle {
        font-size: 11px;
    }
    .btn-claas-green, .btn-claas-outline, .btn-claas-red {
        font-size: 13px;
        padding: 6px 12px;
    }
    .price-tag {
        font-size: 1.2rem;
    }
}