* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --text-color: #333;
    --light-bg: #ecf0f1;
    --white: #ffffff;
    --gray: #95a5a6;
    --dark-gray: #7f8c8d;
}

body {
    font-family: 'Ubuntu Condensed', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* ========== ЛИПКОЕ МЕНЮ ========== */
.sticky-header {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

.logo a {
    display: block;
}

.logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
    font-weight: 500;
}

.main-nav a:hover,
.main-nav .active a {
    color: var(--accent-color);
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
	font-size: 18px;
}

.contact-item {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-item:hover {
    color: var(--accent-color);
}

.contact-item span {
    font-size: 17px;
}

.btn-callback {
    padding: 10px 20px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    /*border-radius: 5px;*/
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 15px;
}

.btn-callback:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 34px;
    cursor: pointer;
    color: var(--primary-color);
}

/* ========== КУРС ВАЛЮТ ========== */
.currency-bar {
    background: var(--light-bg);
    padding: 10px 0;
    width: 100%;
}

.currency-rates {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.currency-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--text-color);
}

.currency-item i {
    color: var(--accent-color);
}

.currency-update {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ========== СЛАЙДЕР ========== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 930px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #000000;
    /*text-shadow: 2px 2px 4px rgba(0,0,0,0.5);*/
    max-width: 800px;
    z-index: 2;
}

.slide-title {
    font-size: 75px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 0.7;
    text-transform: uppercase;
    animation: fadeInLeft 1s ease;
}

.slide-subtitle {
    font-size: 32px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInLeft 1s ease 0.2s both;
}

.slide-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    animation: fadeInLeft 1s ease 0.4s both;
    border: none;
    cursor: pointer;
}

.slide-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.3);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.5);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot:hover,
.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== СЕКЦИИ ========== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #2ecc71);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* ========== БЛОК О НАС ========== */
.about-section {
    padding: 100px 0;
    background: #f9f9f9;
    width: 100%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 20px;
    line-height: 1.8;
    color: #555;
}

.about-intro {
    font-size: 20px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature i {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.feature span {
    font-weight: 500;
    color: #333;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.9);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ========== ПОПУЛЯРНЫЕ ТОВАРЫ ========== */
.featured-products-section {
    padding: 100px 0;
    background: #fff;
    width: 100%;
}

.featured-products {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 40px;
}

.featured-product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.featured-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.featured-product-card.image-right {
    direction: rtl;
}

.featured-product-card.image-right .product-info {
    direction: ltr;
}

.product-media {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-product-card:not(.image-right) .product-media {
    border-radius: 20px 0 0 20px;
}

.featured-product-card.image-right .product-media {
    border-radius: 0 20px 20px 0;
}

.product-slider-mini {
    position: relative;
    width: 85%;
    height: 100%;
}

.product-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.product-slide.active {
    opacity: 1;
    visibility: visible;
}

.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-slider-controls {
    position: absolute;
    bottom: 20px;
    left: 15%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-control {
    width: 40px;
    height: 40px;
    background: #c3c3c3;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
}

.slider-control:hover {
    background: #959595;
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-info {
    padding: 40px;
}

.product-brand {
    font-size: 14px;
    color: var(--accent-color);
    /*text-transform: uppercase;*/
    letter-spacing: 1px;
    margin-bottom: 10px;
    /*font-weight: 600;*/
}

.product-name {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.product-name a:hover {
    color: var(--accent-color);
}

.product-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
}

.product-price-usd {
    font-size: 16px;
    color: #999;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 20px;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.btn-details {
    padding: 12px 30px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    /*border-radius: 5px;*/
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    border: 1px solid #d1d1d1;
}

.btn-details:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* ========== СТРАНИЦА ТОВАРА ========== */
.breadcrumbs {
    padding: 20px 0;
    background: #f8f9fa;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #666;
}

.page-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 48px;
    font-weight: 700;
}

.product-page {
    padding: 50px 0;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
    border-radius: 0px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
    
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #eee;
}

.main-image img {
    width: 90%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.thumbnail-grid img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 0px;
    border: 1px solid transparent;
}

.thumbnail-grid img:hover {
    opacity: 0.8;
    border-color: var(--accent-color);
}

.thumbnail-grid img.active {
    border-color: #d7d7d7;
}

.price-note {
    margin: 20px 0 10px;
    font-size: 14px;
    color: #999;
    font-style: italic;
}

.modifications {
    margin: 30px 0;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}

.modification-group {
    margin-bottom: 20px;
}

.modification-group:last-child {
    margin-bottom: 0;
}

.modification-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.modification-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.modification-group select:hover,
.modification-group select:focus {
    border-color: var(--accent-color);
    outline: none;
}

.final-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--success-color);
    margin: 30px 0;
    text-align: center;
    padding: 20px;
    background: #f0f9f0;
    border-radius: 10px;
}

.btn-order {
    width: 100%;
    padding: 15px;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-order:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.product-details {
    padding: 20px;
}

.product-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.product-specs {
    margin: 30px 0;
}

.product-specs h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: #f9f9f9;
    border-radius: 0px;
    overflow: hidden;
}

.spec-table tr {
    border-bottom: 1px solid #e1e8ed;
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 12px 15px;
}

.spec-table td:first-child {
    font-size: 17px;
    font-weight: 400;
    color: #333;
    width: 40%;
    background: #f0f0f0;
}

.spec-table td:last-child {
    color: #666;
}

/* ========== МОДАЛЬНОЕ ОКНО ЗАКАЗА ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    z-index: 1;
}

.modal-close:hover {
    color: #333;
    background: #e0e0e0;
}

.modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e8ed;
    border-radius: 0px;
    font-size: 15px;
    transition: all 0.3s;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

.modal-form .honeypot {
    display: none;
}

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

.order-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.order-summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.order-summary-item span {
    color: #666;
}

.order-summary-item strong {
    color: #f15656;
    font-size: 18px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 0px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

/* ========== POP-UP ========== */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2100;
    overflow-y: auto;
}

.popup-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.popup-content .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content .close:hover {
    color: #333;
}

.popup-content h2 {
    margin-bottom: 15px;
    color: var(--success-color);
}

.popup-content p {
    color: #666;
    line-height: 1.6;
}

/* ========== КОНТАКТЫ ========== */
.contacts-section {
    padding: 80px 0;
    background: var(--light-bg);
    width: 100%;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 0px;
    transition: all 0.3s;
}

.contact-info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info-item i {
    font-size: 24px;
    color: var(--accent-color);
}

.contact-info-item a,
.contact-info-item span {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
}

.contact-info-item a:hover {
    color: var(--accent-color);
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 0px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e1e8ed;
    border-radius: 0px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form .btn {
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
}

.contact-form .btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.file-label {
    width: 70%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s;
    justify-content: center;
}

.file-label:hover {
    background: #e0e0e0;
}

.file-label i {
    color: var(--accent-color);
}

#file {
    display: none;
}

/* ========== КАТАЛОГ ========== */
.catalog-page {
    padding: 50px 0;
    min-height: 500px;
}

.catalog-header {
    margin-bottom: 30px;
}

.catalog-header h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.filters {
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--light-bg);
    border: none;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: white;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

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

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-card img {
    width: 100%;
    height: 65%;
    object-fit: cover;
}

.product-card h3 {
    margin: 15px 15px 10px;
    font-size: 18px;
    color: #333;
}

.product-card .product-price-block {
    margin: 0 15px 15px;
}

/* ========== ФУТЕР ========== */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.back-to-top {
    position: absolute;
    left: 0;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border: none;
    border-radius: 5px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    font-size: 16px;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .slide-title {
        font-size: 48px;
    }
    
    .slide-subtitle {
        font-size: 24px;
    }
    
    .featured-product-card {
        gap: 30px;
    }
    
    .product-info {
        padding: 30px;
    }
    
    .product-name {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-contacts {
        order: 2;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide-content {
        left: 20px;
        right: 20px;
        text-align: center;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .slide-subtitle {
        font-size: 18px;
    }
    
    .slide-btn {
        padding: 10px 30px;
        font-size: 16px;
    }
    
    .about-content,
    .featured-product-card,
    .contacts-grid,
    .product-main {
        grid-template-columns: 1fr;
    }
    
    .featured-product-card.image-right {
        direction: ltr;
    }
    
    .featured-product-card:not(.image-right) .product-media,
    .featured-product-card.image-right .product-media {
        border-radius: 20px 20px 0 0;
    }
    
    .product-media {
        height: 300px;
    }
    
    .product-info {
        padding: 25px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-details,
    .btn-order {
        width: 100%;
        justify-content: center;
    }
    
    .product-main {
        padding: 20px;
    }
    
    .main-image {
        height: 300px;
    }
    
    .thumbnail-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .thumbnail-grid img {
        height: 90px;
    }
    
    .modal-content {
        width: 95%;
        padding: 30px 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .page-banner h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        position: static;
        margin-bottom: 15px;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 28px;
    }
    
    .slide-subtitle {
        font-size: 16px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .product-price {
        font-size: 28px;
    }
    
    .product-name {
        font-size: 22px;
    }
    
    .final-price {
        font-size: 28px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .thumbnail-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .currency-rates {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
}


/* ========== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ========== */

/* Кнопка "Смотреть весь каталог" */
.catalog-link {
    text-align: center;
    margin-top: 50px;
}

.btn-catalog {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    /*border-radius: 50px;*/
    font-size: 18px;
    /*font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);*/
}

/*.btn-catalog:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}
*/
.btn-catalog i {
    font-size: 20px;
    transition: transform 0.3s;
	display: none;
}

.btn-catalog:hover i {
    transform: translateX(5px);
}

/* Блок преимуществ с фоновым изображением */
.advantages-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    /*color: white;*/
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.advantages-section.with-bg-image {
    position: relative;
    background: none;
}

.advantages-section.with-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: rgba(0, 0, 0, 0.7);*/
    z-index: 1;
}

.advantages-section.with-bg-image .container {
    position: relative;
    z-index: 2;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.advantage-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.advantage-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.advantage-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-item p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Баннер категории на странице товара */
.category-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.category-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
}

.category-banner .container {
    position: relative;
    z-index: 1;
}

.category-banner h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.category-banner .category-name {
    font-size: 24px;
    opacity: 0.9;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

/* Исправленный Pop-up для заказа звонка */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup.show {
    display: block;
    opacity: 1;
}

.popup-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 0px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

.popup-content .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
}

.popup-content .close:hover {
    color: #333;
    background: #e0e0e0;
    transform: rotate(90deg);
}

.popup-content h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.popup-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #27ae60);
    border-radius: 3px;
}

.popup-content input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #e1e8ed;
    border-radius: 0px;
    font-size: 15px;
    transition: all 0.3s;
}

.popup-content input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

.popup-content .btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 0px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.popup-content .btn:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52,152,219,0.3);
}

/* Адаптивность для блока преимуществ */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-item {
        padding: 30px 20px;
    }
    
    .category-banner h1 {
        font-size: 32px;
    }
    
    .category-banner .category-name {
        font-size: 18px;
    }
    
    .popup-content {
        width: 95%;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .btn-catalog {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .advantage-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .advantage-item h3 {
        font-size: 20px;
    }
}


/* Стили для иконок преимуществ */
.advantage-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Делает иконку белой */
    transition: transform 0.3s;
}

.advantage-item:hover .advantage-icon img {
    transform: scale(1.1);
}

/* Если нужны цветные иконки, уберите filter */
.advantage-icon img.color-icon {
    filter: none;
}





/* Стили для выпадающих списков на странице товара */
.modification-group {
    margin-bottom: 20px;
}

.modification-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.modification-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modification-group select:hover {
    border-color: #3498db;
}

.modification-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

.modification-group select option {
    padding: 10px;
}

.final-price {
    font-size: 36px;
    font-weight: 700;
    color: #f9566b;
    margin: 30px 0;
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 0px;
    border: 1px solid #d5d5d5;
}

.btn-order {
    width: 50%;
    padding: 15px;
    background: #3abd71;
    color: #fbfafa;
    border: none;
    border-radius: 0px;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-order:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39,174,96,0.3);
}

.price-note {
    margin: 20px 0;
    font-size: 14px;
    color: #999;
    font-style: italic;
    text-align: center;
}




