/* === GOOGLE FONTS (New Modern Tech Theme) === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Inter:wght@400;600&display=swap');

/* === CSS VARIABLES (New Theme: "Modern Tech") === */
:root {
    --primary-color: #4A6FA5; /* Спокійний, технологічний синій */
    --accent-color: #3DD598;  /* Яскравий зелений для CTA */
    --secondary-color: #333333; /* Темний графіт для тексту */
    --background-color: #F9FAFB; /* Дуже світлий, майже білий фон */
    --white-color: #ffffff;
    --border-color: #E5E7EB; /* Світла рамка */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* === BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--secondary-color);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 600;
}

/* === LANDING PAGE STYLES (REDESIGNED) === */
.header {
    background-color: var(--white-color);
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--primary-color);
}
.main-title {
    font-size: 2.6em;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.3;
    text-align: center;
}
.article-meta {
    text-align: center;
    color: #9CA3AF;
    font-size: 0.9em;
    margin-bottom: 25px;
}
.intro-box {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}
.intro-box .quote {
    font-size: 1.2em;
    font-style: italic;
    color: #4B5563;
    margin-bottom: 15px;
}
.reason-block {
    margin-top: 40px;
    padding: 0;
}
.reason-block h2 {
    font-size: 2em;
    margin-bottom: 15px;
}
.reason-block .customer-quote {
    background-color: #F0F9FF;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
}
.final-cta-section {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
}
.final-cta-section h3 {
    font-size: 2em;
}
.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 18px 35px;
    font-size: 1.2em;
    font-weight: 700;
    font-family: var(--font-body);
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(61, 213, 152, 0.2);
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(61, 213, 152, 0.3);
}

/* === STICKY CARD & LAYOUT (REDESIGNED) === */
.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); 
    gap: 40px; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    align-items: flex-start;
}
.sidebar {
    position: sticky;
    top: 20px;
}
.product-card {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}
.product-card .rating-header {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 5px;
}
.product-card .rating {
    justify-content: center;
}
.product-card .card-cta-button {
    display: block;
    width: 100%;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 18px;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.product-card .card-cta-button:hover {
    background-color: #35c088;
}
.guarantee-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(74, 111, 165, 0.9); /* Прозорий синій */
    color: var(--white-color);
    border-radius: 50px;
    padding: 8px 15px;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.benefits-list li { font-size: 1.05em; }

/* === FOOTER (REDESIGNED) === */
.manufacturer-footer {
    background-color: var(--white-color);
    padding: 40px 20px;
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}
.manufacturer-footer .button-container { display: flex; justify-content: center; gap: 30px; }
.manufacturer-footer .footer-button {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.manufacturer-footer .footer-button:hover { text-decoration: underline; }

/* === ENHANCED CART PAGE STYLES === */
.cart-container { display: flex; flex-wrap: wrap; gap: 40px; max-width: 1100px; margin-top: 30px; align-items: flex-start; }
.checkout-form { flex: 2; background: var(--white-color); padding: 30px 40px; border-radius: 8px; border: 1px solid var(--border-color); box-shadow: 0 4px 25px rgba(0,0,0,0.05); }
.order-summary { flex: 1; background: var(--white-color); padding: 30px; border-radius: 8px; border: 1px solid var(--border-color); box-shadow: 0 4px 25px rgba(0,0,0,0.05); height: fit-content; }
/* Progress Bar */
.progress-bar { display: flex; align-items: center; justify-content: space-between; list-style: none; margin-bottom: 40px; padding: 0; }
.progress-bar li { flex: 1; text-align: center; color: #9CA3AF; position: relative; font-size: 0.9em; text-transform: uppercase; font-weight: 600; }
.progress-bar li .step { width: 30px; height: 30px; line-height: 30px; border-radius: 50%; background-color: var(--white-color); border: 2px solid var(--border-color); display: block; margin: 0 auto 10px auto; color: #9CA3AF; font-weight: 700; }
.progress-bar li:not(:last-child)::after { content: ''; position: absolute; top: 15px; left: 50%; width: 100%; height: 2px; background-color: var(--border-color); z-index: -1; }
.progress-bar li.completed .step { background-color: var(--primary-color); border-color: var(--primary-color); color: var(--white-color); }
.progress-bar li.completed:after { background-color: var(--primary-color); }
.progress-bar li.active .step { border-color: var(--primary-color); color: var(--primary-color); }
.progress-bar li.active { color: var(--primary-color); }
/* Form Styles */
.form-section-title { font-family: var(--font-heading); font-size: 1.3em; margin-top: 30px; margin-bottom: 15px; padding-bottom: 5px; border-bottom: 1px solid var(--border-color); }
.form-group label { font-weight: 600; font-size: 0.9em; margin-bottom: 8px; }
.form-group input, .form-group select { background-color: #F9FAFB; border: 1px solid var(--border-color); border-radius: 6px; padding: 14px; font-size: 1em; width: 100%; }
.form-group input:focus, .form-group select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.15); outline: none; }
.form-row { display: flex; gap: 20px; }
/* Order Summary */
.order-summary h3 { font-size: 1.5em; display: flex; align-items: center; gap: 10px; }
.summary-divider { border: 0; height: 1px; background-color: var(--border-color); margin: 20px 0; }
.summary-item.total { font-size: 1.5em; color: var(--secondary-color); padding-top: 20px; border-top: 2px solid var(--secondary-color); }
.secure-payment { font-size: 0.9em; display: flex; align-items: center; justify-content: center; gap: 8px; color: #6B7280; }
.success-message { border: 1px solid var(--border-color); box-shadow: 0 4px 25px rgba(0,0,0,0.05); }

/* === Unchanged but necessary styles === */
.rating .stars { color: #FBBF24; }
.footer-disclaimer { text-align: center; font-size: 0.8em; color: #9CA3AF; margin-top: 40px; }
.summary-item { display: flex; justify-content: space-between; margin-bottom: 12px; }
.cart-product-image { border-radius: 6px; margin-bottom: 20px; }
.benefits-list { list-style: none; padding: 0; margin-bottom: 25px; text-align: left; }
.benefits-list li { display: flex; align-items: center; margin-bottom: 15px; }
.benefits-list .checkmark { display: inline-block; width: 24px; height: 24px; background-color: var(--accent-color); border-radius: 50%; color: var(--secondary-color); text-align: center; line-height: 24px; font-weight: 700; margin-right: 15px; flex-shrink: 0; }
.rating { display: flex; gap: 10px; font-weight: 600; }

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) { .page-layout { grid-template-columns: 1fr; } .sidebar { position: static; margin-top: 40px; } .product-card { margin: 0 auto; max-width: 450px; } }
@media (max-width: 768px) { .main-title { font-size: 2.2em; } .cart-container { flex-direction: column; } .form-row { flex-direction: column; gap: 0; } .checkout-form { padding: 20px; } }