/* Основные настройки */
:root {
    --primary-color: #3a5ae8;
    --secondary-color: #64ecaa;
    --accent-color: #ff7d50;
    --dark-color: #1a213d;
    --light-color: #f5f7fc;
    --gray-color: #75809a;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

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

a:hover {
    color: var(--secondary-color);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.required {
    color: var(--danger-color);
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

/* Кнопки */
.cta-button,
.checkout-button,
.buy-now-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #2a3fcc);
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 15px rgba(58, 90, 232, 0.3);
}

.cta-button:hover,
.checkout-button:hover,
.buy-now-btn:hover {
    background: linear-gradient(135deg, #4568ff, #3a5ae8);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(58, 90, 232, 0.4);
    color: white;
}

.cta-secondary,
.details-button {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 10px 24px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.cta-secondary:hover,
.details-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.add-to-cart,
.add-to-cart-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #4ad893);
    color: var(--dark-color);
    padding: 10px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.add-to-cart:hover,
.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #5beeb2, #64ecaa);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 236, 170, 0.3);
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 28px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Эффект при наведении на кнопку */
.cta-button, .checkout-button, .buy-now-btn, .add-to-cart, .add-to-cart-btn {
    position: relative;
    overflow: hidden;
}

.cta-button::before, .checkout-button::before, .buy-now-btn::before, .add-to-cart::before, .add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
}

.cta-button:hover::before, .checkout-button:hover::before, .buy-now-btn:hover::before, .add-to-cart:hover::before, .add-to-cart-btn:hover::before {
    left: 100%;
}

/* Шапка */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 600;
    color: var(--dark-color);
    position: relative;
}

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

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

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

.cart-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-link #cart-count {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    line-height: 20px;
    text-align: center;
}

/* Герой-секция */
.hero {
    background: linear-gradient(135deg, var(--dark-color), #2a3168);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Секция преимуществ */
.benefits {
    padding: 80px 0;
    background-color: white;
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.benefit-card .icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.benefit-card h3 {
    margin-bottom: 15px;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

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

/* Секция с детальной информацией */
.detailed-info {
    padding: 80px 0;
    background-color: var(--light-color);
}

.detailed-info h2 {
    text-align: center;
    margin-bottom: 40px;
}

.detailed-info p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--gray-color);
    line-height: 1.7;
}

.info-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.info-block {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.info-block h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.history {
    margin-top: 50px;
}

.history h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

/* Секция с продуктами */
.products {
    padding: 80px 0;
    background-color: white;
}

.products h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

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

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

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

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.25rem;
}

.product-card .price {
    padding: 0 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-card p {
    padding: 0 20px;
    margin-bottom: 20px;
    color: var(--gray-color);
}

.product-actions {
    display: flex;
    padding: 0 20px 20px;
    gap: 10px;
}

.product-actions a,
.product-actions button {
    flex: 1;
}

/* Подвал */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 150px;
    margin-bottom: 20px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

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

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-consent.visible {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cookie-content p {
    flex: 2;
    min-width: 300px;
    margin-right: 20px;
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-buttons button {
    padding: 8px 15px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

#accept-cookies {
    background-color: var(--primary-color);
    color: white;
}

#accept-cookies:hover {
    background-color: #2a3fcc;
}

#customize-cookies {
    background-color: var(--light-color);
    color: var(--dark-color);
}

#customize-cookies:hover {
    background-color: #e1e5f2;
}

#decline-cookies {
    background-color: transparent;
    border: 1px solid var(--gray-color);
    color: var(--gray-color);
}

#decline-cookies:hover {
    background-color: var(--gray-color);
    color: white;
}

/* Страница "О нас" */
.page-header {
    background: linear-gradient(135deg, var(--dark-color), #2a3168);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 15px;
}

.about-story {
    padding: 80px 0;
    background-color: white;
}

.story-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.story-text {
    flex: 2;
    min-width: 300px;
}

.story-image {
    flex: 1;
    min-width: 300px;
}

.about-mission {
    padding: 80px 0;
    background-color: var(--light-color);
}

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

.mission-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.mission-card .icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team {
    padding: 80px 0;
    background-color: white;
}

.team h2, .team-intro {
    text-align: center;
}

.team-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--gray-color);
}

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

.team-member {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3, .team-member p {
    padding: 0 20px;
}

.team-member h3 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.team-member p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-member p:nth-of-type(2) {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: rgba(58, 90, 232, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.certifications {
    padding: 80px 0;
    background-color: var(--light-color);
}

.certifications h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.certification-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.certification-card .icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Страница контактов */
.contact-content {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item .icon {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-text h3 {
    margin-bottom: 5px;
}

.contact-social h3 {
    margin-bottom: 15px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
}

.faq {
    padding: 80px 0;
    background-color: var(--light-color);
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Страница продукта */
.product-detail {
    padding: 80px 0;
    background-color: white;
}

.product-detail-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 80px;
}

.product-image {
    flex: 1;
    min-width: 300px;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    color: var(--gray-color);
}

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

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

.product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    display: flex;
    color: var(--accent-color);
}

.rating-count {
    color: var(--gray-color);
}

.product-short-desc {
    margin-bottom: 30px;
}

.product-features {
    margin-bottom: 30px;
}

.product-features ul {
    list-style: disc;
    padding-left: 20px;
}

.product-features li {
    margin-bottom: 10px;
}

.quantity {
    margin-bottom: 20px;
}

.quantity label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.quantity-control {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn.minus {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.quantity-btn.plus {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.quantity input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    font-size: 1rem;
}

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

.add-to-cart-btn, .buy-now-btn {
    flex: 1;
}

.product-meta {
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.delivery-info, .guarantee-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.delivery-info .icon, .guarantee-info .icon {
    color: var(--primary-color);
}

.product-description, .product-specs, .product-reviews, .related-products {
    margin-bottom: 80px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th, .specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.specs-table th {
    background-color: var(--light-color);
    font-weight: 600;
}

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

.reviews-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.rating-large {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.rating-large .stars {
    justify-content: center;
    margin-bottom: 10px;
}

.reviews-count {
    color: var(--gray-color);
}

.rating-bars {
    flex: 2;
    min-width: 300px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-label {
    width: 80px;
}

.bar-container {
    flex: 1;
    height: 10px;
    background-color: var(--light-color);
    border-radius: 5px;
    margin: 0 15px;
}

.bar {
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 5px;
}

.rating-percent {
    width: 40px;
    text-align: right;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-item {
    display: flex;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.reviewer {
    flex: 0 0 80px;
}

.avatar {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 10px;
}

.reviewer-name {
    text-align: center;
    font-size: 0.9rem;
}

.review-content {
    flex: 1;
}

.review-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

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

.review-content h4 {
    margin-bottom: 10px;
}

.related-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Страница корзины */
.cart-section {
    padding: 80px 0;
    background-color: white;
}

.cart-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

#cart-items {
    flex: 2;
    min-width: 300px;
}

.cart-header {
    display: flex;
    background-color: var(--light-color);
    padding: 15px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    font-weight: 600;
}

.cart-item {
    display: flex;
    padding: 20px 15px;
    border-bottom: 1px solid #ddd;
    align-items: center;
}

.cart-column {
    flex: 1;
}

.product-info {
    flex: 2;
}

.product-remove {
    flex: 0 0 50px;
    text-align: right;
}

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

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

.cart-empty {
    text-align: center;
    padding: 50px 0;
}

.empty-icon {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.cart-empty h2 {
    margin-bottom: 10px;
}

.cart-empty p {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.cart-summary {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    align-self: flex-start;
}

.cart-summary h3 {
    margin-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.25rem;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #ddd;
}

.checkout-button {
    width: 100%;
    margin-bottom: 15px;
}

.clear-cart-button {
    width: 100%;
    background: none;
    border: 1px solid var(--gray-color);
    color: var(--gray-color);
    padding: 12px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.clear-cart-button:hover {
    background-color: var(--gray-color);
    color: white;
}

.why-trust-us {
    padding: 80px 0;
    background-color: var(--light-color);
}

.why-trust-us h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.trust-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.trust-item .icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.suggested-products {
    padding: 80px 0;
    background-color: white;
}

.suggested-products h2 {
    text-align: center;
    margin-bottom: 50px;
}

/* Страница оформления заказа */
.checkout-section {
    padding: 80px 0;
    background-color: white;
}

.checkout-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.checkout-form-container {
    flex: 2;
    min-width: 300px;
}

.checkout-form-container h2 {
    margin-bottom: 30px;
}

.order-summary {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    align-self: flex-start;
}

.order-summary h2 {
    margin-bottom: 30px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.order-totals {
    margin-top: 30px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.order-row.total {
    font-weight: 700;
    font-size: 1.25rem;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #ddd;
}

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.secure-icon {
    color: var(--primary-color);
}

/* Страница успешного оформления заказа */
.success-section {
    padding: 80px 0;
    background-color: white;
}

.success-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.success-icon {
    color: var(--success-color);
    margin-bottom: 30px;
}

.success-message {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.success-info {
    color: var(--gray-color);
    margin-bottom: 40px;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.next-steps {
    padding: 80px 0;
    background-color: var(--light-color);
}

.next-steps h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.step-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    padding-top: 60px;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.recommended-products {
    padding: 80px 0;
    background-color: white;
}

.recommended-products h2 {
    text-align: center;
    margin-bottom: 50px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header .container {
        flex-direction: column;
        padding-top: 10px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .benefits, .products, .about-story, .about-mission, .team, .certifications, .contact-content, .faq, .product-detail, .cart-section, .checkout-section, .success-section, .next-steps, .recommended-products, .why-trust-us, .suggested-products, .detailed-info {
        padding: 50px 0;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-remove {
        align-self: flex-end;
    }
    
    .success-actions {
        flex-direction: column;
    }
}
