/* Основные переменные */
:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --primary-light: #a1cbef;
    --secondary-color: #2c3e50;
    --secondary-light: #34495e;
    --accent-color: #e74c3c;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-color: #ffffff;
    --bg-light: #f5f8fa;
    --bg-dark: #e1e8ed;
    --border-color: #ddd;
    --border-radius: 6px;
    --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Montserrat', var(--font-main);
}

/* Сброс стилей */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Контейнер */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn svg {
    margin-right: 0.5rem;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    color: white;
}

.secondary-btn {
    background-color: var(--bg-light);
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
}

.secondary-btn:hover {
    background-color: var(--bg-dark);
    color: var(--secondary-color);
}

.tertiary-btn {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.tertiary-btn:hover {
    background-color: var(--bg-light);
}

/* Хедер */
header {
    background-color: white;
    box-shadow: var(--shadow-small);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-icon svg {
    width: 24px;
    height: 24px;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 20px;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Герой-секция */
.hero {
    background: linear-gradient(to right, #3498db, #2c3e50);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Секция преимуществ */
.advantages {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.advantages h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.advantage-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.advantage-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.advantage-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.cta-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.cta-banner h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.cta-banner .btn {
    background-color: white;
    color: var(--primary-color);
}

.cta-banner .btn:hover {
    background-color: var(--bg-light);
}

/* Секция о продуктах */
.about-products {
    padding: 4rem 0;
}

.about-products h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Секция продуктов */
.products {
    padding: 4rem 0;
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.product-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.25rem;
}

.product-rating {
    padding: 0 1.5rem 0.5rem;
    display: flex;
    align-items: center;
}

.stars {
    color: var(--warning-color);
    margin-right: 0.5rem;
}

.rating-count {
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.product-features {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.product-features span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.product-description {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.product-price {
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-lighter);
    font-size: 1rem;
}

.product-actions {
    display: flex;
    padding: 0 1.5rem 1.5rem;
    gap: 0.75rem;
}

.product-actions .btn {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
}

/* Секция подписки */
.subscription {
    padding: 4rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.subscription h2 {
    margin-bottom: 1rem;
}

.subscription p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.subscription-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.subscription-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.subscription-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.subscription-counter {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Футер */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    max-height: 50px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0;
}

address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

address p {
    margin-bottom: 0.5rem;
}

address a {
    color: rgba(255, 255, 255, 0.7);
}

address a:hover {
    color: white;
}

/* Cookie баннер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1.5rem;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h4 {
    margin-bottom: 0.5rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-content a {
    font-size: 0.9rem;
}

/* Уведомление */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    max-width: 400px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
}

.notification-content svg {
    margin-right: 1rem;
    color: var(--success-color);
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-lighter);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
}

/* Страница продукта */
.product-details {
    padding: 3rem 0;
}

.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.product-image {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

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

.product-image:hover img {
    transform: scale(1.02);
}

.product-info h1 {
    margin-bottom: 1rem;
}

.product-info .product-rating {
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-info .product-price {
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-info .price {
    font-size: 2rem;
}

.product-info .old-price {
    font-size: 1.2rem;
}

.discount {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 0.75rem;
}

.product-features {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.product-features h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.quantity {
    margin-bottom: 1.5rem;
}

.quantity label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    width: fit-content;
}

.quantity-btn {
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--bg-dark);
}

#quantity {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 1rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.product-guarantee {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-guarantee svg {
    color: var(--success-color);
    margin-right: 0.75rem;
}

.product-description {
    margin-bottom: 4rem;
}

.product-description h2 {
    margin-bottom: 2rem;
}

.product-description p {
    margin-bottom: 1.5rem;
}

.product-description h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.product-description ul, 
.product-description ol {
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.feature-icon {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-item h4 {
    margin-bottom: 0.5rem;
}

.feature-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.tech-specs {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.tech-specs tr:nth-child(odd) {
    background-color: var(--bg-light);
}

.tech-specs td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.tech-specs td:first-child {
    font-weight: 500;
    width: 40%;
}

.project-types {
    margin: 2rem 0;
}

.project-type {
    margin-bottom: 2rem;
}

.project-type h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-type p {
    margin-bottom: 0.5rem;
}

.project-type p:last-child {
    margin-bottom: 0;
}

.warning-box {
    background-color: rgba(243, 156, 18, 0.1);
    border-left: 4px solid var(--warning-color);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 2rem 0;
}

.warning-box h4 {
    color: var(--warning-color);
    margin-bottom: 0.5rem;
}

.warning-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.product-reviews {
    margin-bottom: 4rem;
}

.product-reviews h2 {
    margin-bottom: 2rem;
}

.review-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.rating-breakdown {
    display: flex;
    gap: 3rem;
}

.rating-stars {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-stars .stars {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.rating-average {
    font-size: 1.5rem;
    font-weight: 600;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rating-label {
    width: 30px;
    text-align: right;
    font-size: 0.9rem;
}

.bar-container {
    width: 150px;
    height: 10px;
    background-color: var(--bg-dark);
    border-radius: 5px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: var(--warning-color);
}

.rating-count {
    font-size: 0.9rem;
    color: var(--text-light);
}

.review-items {
    margin-bottom: 2rem;
}

.review-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info h4 {
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: 0.9rem;
    color: var(--text-lighter);
}

.review-content p {
    margin-bottom: 0;
}

.review-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.review-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-color);
    transition: var(--transition);
}

.review-pagination a:hover,
.review-pagination a.active {
    background-color: var(--primary-color);
    color: white;
}

.review-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.related-products {
    margin-bottom: 2rem;
}

.related-products h2 {
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

/* Страница корзины */
.cart-section {
    padding: 3rem 0;
}

.cart-section h1 {
    margin-bottom: 2.5rem;
    text-align: center;
}

.cart-empty {
    text-align: center;
    padding: 3rem 0;
}

.cart-empty svg {
    color: var(--text-lighter);
    margin-bottom: 1.5rem;
}

.cart-empty h2 {
    margin-bottom: 1rem;
}

.cart-empty p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cart-items {
    display: none;
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 40px;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.cart-product, .cart-price, .cart-quantity, .cart-total {
    padding: 0 1rem;
}

.cart-product-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 40px;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-product-info {
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-right: 1.5rem;
}

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

.cart-product-name h3 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.cart-product-price, .cart-product-total {
    padding: 0 1rem;
    font-weight: 500;
}

.cart-product-quantity {
    padding: 0 1rem;
}

.cart-quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    width: fit-content;
}

.cart-quantity-btn {
    background: var(--bg-light);
    border: none;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.cart-quantity-btn:hover {
    background: var(--bg-dark);
}

.cart-quantity-input {
    width: 40px;
    height: 30px;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
}

.cart-product-remove {
    padding: 0 1rem;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--text-lighter);
    cursor: pointer;
    transition: var(--transition);
}

.remove-btn:hover {
    color: var(--accent-color);
}

.cart-summary {
    margin-top: 3rem;
    display: flex;
    justify-content: flex-end;
}

.cart-totals {
    width: 400px;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.subtotal, .shipping, .total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.total {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    width: 400px;
}

.recommended-products {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.recommended-products h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Страница оформления заказа */
.checkout-section {
    padding: 3rem 0;
}

.checkout-section h1 {
    margin-bottom: 2.5rem;
    text-align: center;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.checkout-form h2,
.checkout-summary h2 {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.checkout-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.form-submit {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.checkout-products {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item-info {
    display: flex;
    align-items: center;
}

.checkout-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-right: 1rem;
}

.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-name h3 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.checkout-item-qty {
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkout-item-price {
    font-weight: 500;
}

.checkout-totals {
    padding-top: 1.5rem;
}

.checkout-security {
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.security-icon {
    margin-right: 1.5rem;
    color: var(--success-color);
}

.security-text h4 {
    margin-bottom: 0.25rem;
}

.security-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Страница успешного заказа */
.success-section {
    padding: 3rem 0;
}

.success-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--success-color);
}

.success-message h1 {
    margin-bottom: 1.5rem;
}

.success-message p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.next-steps {
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.next-steps h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-item {
    text-align: center;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.step-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.step-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.step-item h3 {
    margin-bottom: 1rem;
}

.step-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Страница контактов */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-icon {
    margin-right: 1.5rem;
    color: var(--primary-color);
}

.info-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-content p {
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

.social-links h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-items {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: white;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--text-light);
    transition: var(--transition);
}

.faq-item.active .toggle-btn {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* Страница о нас */
.about-story {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.about-content h2 {
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    margin-bottom: 1.5rem;
}

.values-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-content: start;
}

.stat-item {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    color: var(--text-light);
}

.mission-vision {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.mission-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
}

.mission-item h2 {
    margin-bottom: 1.5rem;
}

.mission-item p {
    margin-bottom: 1.5rem;
}

.mission-item p:last-child {
    margin-bottom: 0;
}

.team-section {
    padding: 4rem 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.team-member h3 {
    margin-bottom: 0.25rem;
}

.team-member p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.team-member p:nth-child(3) {
    font-weight: 500;
    color: var(--primary-color);
}

.team-member .social-links {
    justify-content: center;
    margin-top: 1rem;
}

.team-member .social-links a {
    background-color: var(--bg-light);
    color: var(--text-light);
}

.partners-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.partners-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.partner-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-small);
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.partner-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.partner-item h3 {
    margin-bottom: 0.75rem;
}

.partner-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.testimonials {
    padding: 4rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
}

.testimonial-item {
    text-align: center;
    display: none;
}

.testimonial-item.active {
    display: block;
}

.testimonial-content {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: var(--bg-light) transparent transparent;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--text-light);
    margin-bottom: 0;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot.active {
    background-color: var(--primary-color);
}

.cta-section {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-buttons .primary-btn {
    background-color: white;
    color: var(--primary-color);
}

.cta-buttons .primary-btn:hover {
    background-color: var(--bg-light);
}

.cta-buttons .secondary-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.cta-buttons .secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Адаптивность */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-grid,
    .contact-grid,
    .checkout-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 2rem;
    }
    
    nav ul li {
        margin: 0 0 1.5rem 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1002;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .advantages-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-product-item {
        grid-template-columns: 1fr;
        padding: 1.5rem 0;
        text-align: center;
    }
    
    .cart-product-info {
        flex-direction: column;
        margin-bottom: 1rem;
    }
    
    .cart-product-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .cart-product-quantity,
    .cart-product-price,
    .cart-product-total,
    .cart-product-remove {
        padding: 0.5rem 0;
    }
    
    .cart-quantity-control {
        margin: 0 auto;
    }
    
    .cart-summary {
        flex-direction: column;
        align-items: center;
    }
    
    .cart-totals,
    .cart-actions {
        width: 100%;
    }
    
    .checkout-form form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .subscription-form {
        flex-direction: column;
    }
    
    .subscription-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .subscription-form .btn {
        border-radius: var(--border-radius);
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
        margin-top: 0.75rem;
    }
    
    .success-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
}
