/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: url('backkground.jpg') center center/cover no-repeat fixed;
    color: #2c3e50;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Premium Header Styles */
.header {
    background: linear-gradient(135deg, #2d5016 0%, #3e6b1f 50%, #4a7c23 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-top {
    background: rgba(45, 80, 22, 0.8);
    color: #ecf0f1;
    font-size: 13px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.location i {
    color: #7fb069;
}

.header-links {
    display: flex;
    gap: 24px;
}

.header-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.header-link:hover {
    color: #7fb069;
    transform: translateY(-1px);
}

.header-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: linear-gradient(90deg, #7fb069, #6b9b47);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header-link:hover::after {
    width: 100%;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn {
    color: #ecf0f1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: rgba(127, 176, 105, 0.2);
    transform: translateY(-2px);
    color: #7fb069;
}

.registration {
    color: #95a5a6;
    font-size: 12px;
    font-weight: 500;
}

.cart {
    color: #ecf0f1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(39, 174, 96, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cart:hover {
    background: rgba(39, 174, 96, 0.3);
    transform: translateY(-2px);
}

.cart-total {
    font-size: 11px;
    color: #a3e4d7;
}

.header-main {
    padding: 24px 0;
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 200px; /* Ограничиваем максимальную ширину */
    /* Кроссбраузерные фильтры */
    -webkit-filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(243, 156, 18, 0.3));
    -moz-filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(243, 156, 18, 0.3));
    filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(243, 156, 18, 0.3));
    /* Кроссбраузерные transitions */
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    /* Кроссбраузерные border-radius */
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    /* Кроссбраузерные backdrop-filter */
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    /* Обеспечиваем правильное отображение SVG */
    display: block;
    object-fit: contain;
    /* Fallback для старых браузеров без поддержки SVG */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-img:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(243, 156, 18, 0.5));
    -moz-filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(243, 156, 18, 0.5));
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(243, 156, 18, 0.5));
    background: rgba(255, 255, 255, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.delivery-info {
    font-size: 14px;
    color: #bdc3c7;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}


.hero-slider {
    padding: 40px 0;
    background: rgba(248, 249, 250, 0.3);
    backdrop-filter: blur(2px);
}

.slider-container {
    display: flex;
    gap: 30px;
    align-items: center;
}

.slider-wrapper {
    flex: 2;
    background: linear-gradient(135deg, #2d5016 0%, #3e6b1f 50%, #4a7c23 100%);
    border-radius: 20px;
    height: 350px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.slider-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="premium" patternUnits="userSpaceOnUse" width="40" height="40"><rect width="40" height="40" fill="transparent"/><circle cx="20" cy="20" r="1" fill="%23f39c12" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23premium)"/></svg>') repeat;
    opacity: 0.5;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

.promo-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7fb069 0%, #6b9b47 100%);
    border: 4px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(127, 176, 105, 0.4);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.promo-text {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.promo-percent {
    font-size: 52px;
    display: block;
    margin-top: 8px;
    font-weight: 900;
}

.buy-btn {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-btn:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(39, 174, 96, 0.4);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.dot.active {
    background: #f39c12;
    border-color: #f39c12;
    transform: scale(1.2);
}

.promo-banners {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banner {
    background: rgba(62, 107, 31, 0.9);
    color: #fff;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.banner-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #7fb069;
}

.banner-content p {
    font-size: 13px;
    line-height: 1.5;
    color: #bdc3c7;
    font-weight: 500;
}

/* Premium Products Section */
.products-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(3px);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    color: #2c3e50;
    font-weight: 700;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #7fb069, #6b9b47);
    border-radius: 2px;
}

.show-all {
    background: linear-gradient(135deg, #7f8c8d 0%, #95a5a6 100%);
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(127, 140, 141, 0.3);
}

.show-all:hover {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 140, 141, 0.4);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(232, 244, 248, 0.8);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7fb069, #6b9b47, #5a8235);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #7fb069;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #fff;
    padding: 8px 16px;
    font-size: 11px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-card:nth-child(1) .product-badge {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.product-card:nth-child(2) .product-badge {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.product-card:nth-child(6) .product-badge {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.product-image {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-rating {
    margin-bottom: 15px;
}

.stars {
    color: #7fb069;
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-title {
    font-size: 17px;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.product-description {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
    font-weight: 500;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.current-price {
    color: #27ae60;
    font-size: 22px;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(39, 174, 96, 0.2);
}

.order-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.order-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f4e79 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}

.cookie-notice-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.cookie-notice-float.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
}

.cookie-content a {
    color: #7fb069;
    text-decoration: none;
    font-weight: 600;
}

.accept-btn {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.accept-btn:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(243, 156, 18, 0.3);
    backdrop-filter: blur(10px);
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: linear-gradient(135deg, #2d5016 0%, #3e6b1f 50%, #4a7c23 100%);
    color: #fff;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #7fb069;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #7fb069;
}

.close {
    color: #bdc3c7;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: #7fb069;
    background: rgba(127, 176, 105, 0.1);
    transform: rotate(90deg);
}

/* Auth Form Styles */
.auth-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8f4f8;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    color: #2c3e50;
}

.form-group input:focus {
    outline: none;
    border-color: #7fb069;
    box-shadow: 0 0 0 3px rgba(127, 176, 105, 0.1);
    transform: translateY(-2px);
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.3);
    margin-bottom: 20px;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.auth-switch {
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
    margin: 0;
}

.auth-switch a {
    color: #7fb069;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: #6b9b47;
}

/* Cart Modal Styles */
.cart-modal-content {
    max-width: 600px;
}

.cart-items {
    padding: 25px;
    max-height: 400px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    color: #7f8c8d;
    font-size: 16px;
    padding: 40px 20px;
    margin: 0;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e8f4f8;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 5px;
    margin-right: 15px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 16px;
}

.cart-item-price {
    color: #27ae60;
    font-weight: 700;
    font-size: 18px;
}

.cart-item-remove {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
}

.cart-item-remove:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: scale(1.05);
}

.cart-footer {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 2px solid #7fb069;
}

.cart-total {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.checkout-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Checkout Modal Styles */
.checkout-modal-content {
    max-width: 700px;
}

.checkout-content {
    padding: 30px;
}

.order-summary h3 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #7fb069;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.checkout-item-info {
    flex: 1;
}

.checkout-item-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.checkout-item-price {
    color: #27ae60;
    font-weight: 700;
    font-size: 18px;
}

.payment-options {
    margin-top: 30px;
}

.payment-option {
    background: #fff;
    border: 2px solid #e8f4f8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-option:hover {
    border-color: #7fb069;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.payment-option.selected {
    border-color: #7fb069;
    background: rgba(127, 176, 105, 0.05);
}

.payment-option-info {
    flex: 1;
}

.payment-option-title {
    font-weight: 700;
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 5px;
}

.payment-option-description {
    color: #7f8c8d;
    font-size: 14px;
}

.payment-option-amount {
    color: #27ae60;
    font-weight: 700;
    font-size: 18px;
}

/* Payment Modal Styles */
.payment-modal-content {
    max-width: 500px;
}

.payment-content {
    padding: 30px;
    text-align: center;
}

.payment-info {
    margin-bottom: 30px;
}

.payment-info h3 {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.payment-info p {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 20px;
}

.payment-amount {
    font-size: 28px;
    color: #27ae60;
    font-weight: 900;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 10px;
}

.qr-container {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.qr-code {
    margin-bottom: 20px;
}

.qr-code img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.payment-status p {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.payment-timer {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    min-width: 100px;
}

.payment-success {
    color: #27ae60;
    font-size: 18px;
    font-weight: 700;
}

.payment-failed {
    color: #e74c3c;
    font-size: 18px;
    font-weight: 700;
}

/* Consultation Button Styles */
.checkout-consultation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.consultation-btn {
    /* Fallback background для старых браузеров */
    background-color: #0088cc;
    background: -webkit-linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    background: -moz-linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    background: -o-linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    color: #fff;
    border: none;
    border: 0; /* Дополнительный сброс для IE */
    padding: 15px 25px;
    border-radius: 50px;
    -webkit-border-radius: 50px; /* Safari/Chrome старые версии */
    -moz-border-radius: 50px; /* Firefox старые версии */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    /* Кроссбраузерные transitions */
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: -webkit-flex; /* Safari */
    display: -moz-flex; /* Firefox старые версии */
    display: -ms-flexbox; /* IE 10 */
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    /* Кроссбраузерные box-shadow */
    -webkit-box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    -moz-box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    /* Убираем outline для всех браузеров */
    outline: none;
    outline: 0;
    /* Убираем системные стили кнопки */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.consultation-btn:hover {
    background-color: #0099dd; /* Fallback */
    background: -webkit-linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    background: -moz-linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    background: -o-linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    background: linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    -moz-box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.consultation-btn:active {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    -webkit-box-shadow: 0 2px 10px rgba(0, 136, 204, 0.3);
    -moz-box-shadow: 0 2px 10px rgba(0, 136, 204, 0.3);
    box-shadow: 0 2px 10px rgba(0, 136, 204, 0.3);
}

.consultation-btn i {
    font-size: 18px;
}

/* Consultation note for military card */
.product-consultation-note {
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 10px;
    border-left: 4px solid #f39c12;
}

.consultation-text {
    color: #e67e22;
    font-weight: 600;
    font-size: 14px;
    font-style: italic;
}

/* Consultation button for card */
.consultation-btn-card {
    /* Fallback background для старых браузеров */
    background-color: #0088cc;
    background: -webkit-linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    background: -moz-linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    background: -o-linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    color: #fff;
    border: none;
    border: 0; /* IE fallback */
    padding: 14px 28px;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    /* Кроссбраузерные transitions */
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Кроссбраузерные box-shadow */
    -webkit-box-shadow: 0 6px 20px rgba(0, 136, 204, 0.3);
    -moz-box-shadow: 0 6px 20px rgba(0, 136, 204, 0.3);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.3);
    /* Flexbox с поддержкой старых браузеров */
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 8px;
    /* Убираем системные стили */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    outline: 0;
}

.consultation-btn-card:hover {
    background-color: #0099dd; /* Fallback */
    background: -webkit-linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    background: -moz-linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    background: -o-linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    background: linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
    -moz-box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
}

.consultation-btn-card:active {
    -webkit-transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
    -webkit-box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    -moz-box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.consultation-btn-card i {
    font-size: 16px;
}

/* Consultation Modal Styles */
.consultation-modal-content {
    max-width: 550px;
}

.consultation-modal-body {
    padding: 30px;
}

.consultation-info {
    text-align: center;
    margin-bottom: 30px;
}

.consultation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.consultation-icon i {
    font-size: 36px;
    color: #fff;
}

.consultation-info h3 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.consultation-description {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 15px;
}

.consultation-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

.telegram-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.telegram-prefix {
    position: absolute;
    left: 16px;
    color: #0088cc;
    font-weight: 700;
    font-size: 16px;
    z-index: 2;
}

.telegram-input-wrapper input {
    padding-left: 35px !important;
    font-family: 'Courier New', monospace;
}

.input-help {
    color: #6c757d;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.consultation-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8f4f8;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    color: #2c3e50;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.consultation-form textarea:focus {
    outline: none;
    border-color: #0088cc;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
    transform: translateY(-2px);
}

.consultation-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.consultation-actions .btn-primary,
.consultation-actions .btn-secondary {
    flex: 1;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Product Modal Styles */
.product-modal-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.product-modal-body {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: #fff;
}

.product-modal-image {
    flex: 0 0 300px;
    display: flex;
    align-items: flex-start;
}

.product-modal-image img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-modal-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.product-modal-rating .stars {
    color: #7fb069;
    font-size: 18px;
}

.product-modal-description h3,
.product-modal-features h3,
.product-modal-guarantee h3,
.product-modal-timing h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #7fb069;
    display: inline-block;
}

.product-modal-description p,
.product-modal-guarantee p,
.product-modal-timing p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

.product-modal-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-modal-features li {
    color: #555;
    font-size: 15px;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.product-modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #27ae60;
    font-weight: bold;
    font-size: 16px;
}

.product-modal-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px 30px;
    border-top: 2px solid #7fb069;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.product-modal-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-label {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
}

.price-value {
    color: #27ae60;
    font-size: 28px;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(39, 174, 96, 0.2);
}

.product-modal-actions {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    white-space: nowrap;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f4e79 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(149, 165, 166, 0.3);
    white-space: nowrap;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #7f8c8d 0%, #6c7b7d 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(149, 165, 166, 0.4);
}

/* Payment Actions Styles */
.payment-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.payment-link-btn {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    width: 100%;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    text-decoration: none;
}

.payment-link-btn:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.payment-link-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.3);
}

.payment-link-btn i {
    font-size: 16px;
}

/* Premium Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-top {
        padding: 8px 0;
        font-size: 12px;
    }
    
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-links {
        display: none; /* Скрываем ссылки на мобильных для экономии места */
    }
    
    .user-actions {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .login-btn {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 15px;
    }
    
    .registration {
        font-size: 11px;
    }
    
    .header-main {
        padding: 15px 0;
    }
    
    .header-main-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo-img {
        height: 60px;
        padding: 8px;
    }
    
    .delivery-info {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .search-input {
        width: 280px;
    }
    
    .hero-slider {
        padding: 25px 0;
    }
    
    .slider-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .slider-wrapper {
        height: 250px;
        border-radius: 15px;
    }
    
    .promo-circle {
        width: 160px;
        height: 160px;
        margin-bottom: 20px;
    }
    
    .promo-text {
        font-size: 16px;
    }
    
    .promo-percent {
        font-size: 36px;
        margin-top: 5px;
    }
    
    .buy-btn {
        padding: 12px 28px;
        font-size: 14px;
        border-radius: 25px;
    }
    
    .promo-banners {
        gap: 15px;
    }
    
    .banner {
        padding: 20px 18px;
        border-radius: 12px;
    }
    
    .banner-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .banner-content p {
        font-size: 12px;
    }
    
    .products-section {
        padding: 40px 0;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .show-all {
        padding: 10px 20px;
        font-size: 12px;
        align-self: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .product-card {
        padding: 20px;
        min-height: 380px;
        border-radius: 15px;
    }
    
    .product-badge {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 10px;
        border-radius: 15px;
    }
    
    .product-image img {
        height: 140px;
        padding: 12px;
        border-radius: 10px;
    }
    
    .product-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .product-description {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .consultation-btn-card {
        padding: 12px 20px;
        font-size: 13px;
        border-radius: 25px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-notice-float {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 20px;
        border-radius: 12px;
    }
    
    .cookie-content p {
        font-size: 13px;
    }
    
    .accept-btn {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .feedback-btn {
        position: fixed;
        bottom: 25px;
        right: 25px;
        transform: none;
        border-radius: 50px;
        padding: 18px;
        font-size: 0;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .feedback-btn:hover {
        transform: scale(1.1);
    }
    
    .feedback-btn::after {
        content: "💬";
        font-size: 24px;
    }
    
    /* Modal General Mobile Styles */
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-width: none;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 15px 20px;
        border-radius: 15px 15px 0 0;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .close {
        font-size: 28px;
        width: 35px;
        height: 35px;
    }
    
    /* Auth Form Mobile Styles */
    .auth-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input {
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .auth-btn {
        padding: 12px;
        font-size: 14px;
        border-radius: 8px;
        margin-bottom: 15px;
    }
    
    .auth-switch {
        font-size: 13px;
    }
    
    /* Product Modal Mobile Styles */
    .product-modal-content {
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .product-modal-body {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .product-modal-image {
        flex: none;
        align-self: center;
        width: 100%;
        max-width: 250px;
    }
    
    .product-modal-image img {
        height: 180px;
        padding: 15px;
        border-radius: 12px;
    }
    
    .product-modal-info {
        gap: 18px;
    }
    
    .product-modal-description h3,
    .product-modal-features h3,
    .product-modal-guarantee h3,
    .product-modal-timing h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .product-modal-description p,
    .product-modal-guarantee p,
    .product-modal-timing p {
        font-size: 14px;
    }
    
    .product-modal-features li {
        font-size: 14px;
        padding: 6px 0;
    }
    
    .product-modal-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }
    
    .product-modal-actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 25px;
    }
    
    /* Consultation Modal Mobile Styles */
    .consultation-modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .consultation-modal-body {
        padding: 20px;
    }
    
    .consultation-info {
        margin-bottom: 25px;
    }
    
    .consultation-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .consultation-icon i {
        font-size: 28px;
    }
    
    .consultation-info h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .consultation-description {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .consultation-form {
        padding: 18px;
        border-radius: 12px;
    }
    
    .consultation-form .form-group {
        margin-bottom: 18px;
    }
    
    .consultation-form label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .telegram-input-wrapper input {
        font-size: 14px;
    }
    
    .consultation-form textarea {
        font-size: 14px;
        padding: 10px 14px;
        border-radius: 8px;
        min-height: 70px;
    }
    
    .consultation-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }
    
    .consultation-actions .btn-primary,
    .consultation-actions .btn-secondary {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .header-top {
        padding: 6px 0;
    }
    
    .header-main {
        padding: 12px 0;
    }
    
    .logo-img {
        height: 50px;
        padding: 6px;
    }
    
    .user-actions {
        gap: 8px;
    }
    
    .login-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .registration {
        font-size: 10px;
    }
    
    .delivery-info {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .hero-slider {
        padding: 20px 0;
    }
    
    .slider-wrapper {
        height: 220px;
        border-radius: 12px;
    }
    
    .promo-circle {
        width: 140px;
        height: 140px;
        margin-bottom: 15px;
    }
    
    .promo-text {
        font-size: 15px;
    }
    
    .promo-percent {
        font-size: 32px;
    }
    
    .buy-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
    
    .banner {
        padding: 15px;
    }
    
    .banner-content h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .banner-content p {
        font-size: 11px;
    }
    
    .products-section {
        padding: 30px 0;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .section-header {
        margin-bottom: 25px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card {
        padding: 18px;
        min-height: 360px;
        border-radius: 12px;
    }
    
    .product-badge {
        top: 10px;
        left: 10px;
        padding: 5px 10px;
        font-size: 9px;
    }
    
    .product-image img {
        height: 120px;
        padding: 10px;
    }
    
    .product-title {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .product-description {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .consultation-btn-card {
        padding: 10px 18px;
        font-size: 12px;
        border-radius: 20px;
    }
    
    .consultation-btn-card i {
        font-size: 14px;
    }
    
    .product-consultation-note {
        padding: 10px;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .consultation-text {
        font-size: 13px;
    }
    
    /* Mobile Modal Optimizations */
    .modal-content {
        margin: 2% auto;
        width: 98%;
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .close {
        font-size: 24px;
        width: 30px;
        height: 30px;
    }
    
    .auth-form {
        padding: 15px;
    }
    
    .consultation-modal-body {
        padding: 15px;
    }
    
    .consultation-icon {
        width: 50px;
        height: 50px;
    }
    
    .consultation-icon i {
        font-size: 24px;
    }
    
    .consultation-info h3 {
        font-size: 18px;
    }
    
    .consultation-form {
        padding: 15px;
    }
    
    .product-modal-body {
        padding: 15px;
    }
    
    .product-modal-image {
        max-width: 200px;
    }
    
    .product-modal-image img {
        height: 150px;
        padding: 12px;
    }
    
    .cookie-notice-float {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 15px;
        border-radius: 10px;
    }
    
    .cookie-content p {
        font-size: 12px;
    }
    
    .accept-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Увеличиваем размер кликабельных элементов для touch */
    .login-btn,
    .registration,
    .consultation-btn-card,
    .order-btn,
    .buy-btn,
    .auth-btn,
    .accept-btn,
    .btn-primary,
    .btn-secondary {
        min-height: 44px; /* Рекомендуемый размер для touch */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .product-card {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(127, 176, 105, 0.2);
    }
    
    .product-card:active {
        transform: translateY(-2px) scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .consultation-btn-card:active,
    .buy-btn:active,
    .auth-btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* Убираем hover эффекты на touch устройствах */
    .product-card:hover::before {
        transform: scaleX(0);
    }
    
    .product-card:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .consultation-btn-card:hover,
    .buy-btn:hover,
    .auth-btn:hover {
        transform: none;
    }
}

/* Viewport Meta Optimizations */
@media screen and (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Предотвращаем горизонтальный скролл */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Оптимизируем прокрутку */
    .modal-content {
        -webkit-overflow-scrolling: touch;
    }
    
    .product-modal-content,
    .consultation-modal-content {
        -webkit-overflow-scrolling: touch;
    }
}

/* Специальные стили для Internet Explorer */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .consultation-btn,
    .consultation-btn-card {
        /* IE не поддерживает gap, используем margin для иконок */
        gap: 0;
    }
    
    .consultation-btn i,
    .consultation-btn-card i {
        margin-right: 8px;
    }
    
    /* IE не поддерживает flexbox полностью */
    .consultation-btn,
    .consultation-btn-card {
        text-align: center;
        vertical-align: middle;
    }
}

/* Стили для старых версий Safari (до iOS 9) */
@supports not (display: flex) {
    .consultation-btn,
    .consultation-btn-card {
        display: block;
        text-align: center;
        line-height: 1.4;
    }
    
    .consultation-btn i,
    .consultation-btn-card i {
        display: inline-block;
        margin-right: 5px;
        vertical-align: middle;
    }
}

/* Fallback для браузеров без поддержки transform */
@supports not (transform: translateY(-2px)) {
    .consultation-btn:hover,
    .consultation-btn-card:hover {
        margin-top: -2px;
        margin-bottom: 2px;
    }
    
    .consultation-btn:active,
    .consultation-btn-card:active {
        margin-top: 0;
        margin-bottom: 0;
    }
}

/* Стили для браузеров без поддержки linear-gradient */
.no-cssgradients .consultation-btn,
.no-cssgradients .consultation-btn-card {
    background-color: #0088cc;
    background-image: none;
}

.no-cssgradients .consultation-btn:hover,
.no-cssgradients .consultation-btn-card:hover {
    background-color: #0099dd;
}

/* Специальные стили для логотипа */
/* Fallback для браузеров без поддержки SVG */
.no-svg .logo-img {
    background-image: url('avangard_logo_color.png'); /* Нужно будет добавить PNG версию */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px; /* Скрываем alt текст */
}

/* Стили для старых версий IE */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .logo-img {
        /* IE не поддерживает backdrop-filter и некоторые фильтры */
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        /* Упрощенная тень для IE */
        -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='#333333', Positive='true')";
        filter: none; /* Стандартное свойство для совместимости */
    }
    
    .logo-img:hover {
        /* Упрощенное масштабирование для IE */
        -ms-transform: scale(1.1);
        transform: scale(1.1); /* Стандартное свойство для совместимости */
        zoom: 1.1; /* Fallback для старых IE */
    }
}

/* Стили для браузеров без поддержки transform */
@supports not (transform: scale(1.1)) {
    .logo-img:hover {
        /* Альтернативное масштабирование через width/height */
        width: 110%;
        height: auto;
    }
}

/* Стили для браузеров без поддержки фильтров */
@supports not (filter: drop-shadow(0 0 0 black)) {
    .logo-img {
        /* Альтернативная тень через box-shadow */
        -webkit-box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
        -moz-box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    }
    
    .logo-img:hover {
        -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        -moz-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }
} 