

        :root {
    /* New color scheme */
    --primary-color: #2b6cb0; /* Deep blue */
    --primary-dark: #2c5282; /* Darker blue for hover */
    --secondary-color: #f6ad55; /* Warm orange for accents */
    --error-color: #c53030; /* Red for errors */
    --text-color: #1a202c; /* Dark gray for text */
    --text-light: #4a5568; /* Lighter gray for secondary text */
    --bg-color: #edf2f7; /* Light gray background */
    --bg-light: #ffffff; /* White for cards and modals */
    --border-color: #e2e8f0; /* Light border color */
    --footer-bg: #1a202c; /* Dark footer */
    --footer-text: #e2e8f0; /* Light gray for footer text */

    /* Shadows and border radius */
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.15);
    --radius: 12px; /* Increased for softer corners */

    /* Transitions */
    --transition: all 0.2s ease-in-out;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    
    width: 100%;
    max-width: 1280px; /* Wider container for modern look */
    margin: 0 auto;
    padding: 0 24px;
}

.container-docs {
    width: 100%;
    max-width: 1280px; /* Wider container for modern look */
    margin: 0 auto;
    padding: 0 24px;
}

.container-docs > ul, ol {
    margin-left: 20px;
    margin-bottom: var(--element-margin);
}

.container-docs > .section {
    padding: 8px 0;
    margin-bottom: 10px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn--outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
.header {
    background-color: var(--bg-light);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-color);
}

.logo span {
    color: var(--primary-color);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav__link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon i {
    font-size: 24px;
    color: var(--text-color);
    transition: var(--transition);
}

.cart-icon:hover i {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    box-shadow: var(--shadow);
    padding: 24px;
    z-index: 999;
    display: none;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu__link {
    padding: 12px 0;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mobile-menu__link:hover {
    color: var(--primary-color);
}

.mobile-menu__link:last-child {
    border-bottom: none;
}

.mobile-cart {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.mobile-cart:hover {
    color: var(--primary-color);
}

.mobile-cart i {
    margin-right: 8px;
    font-size: 20px;
}

.mobile-cart-count {
    margin: 0 8px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
}

/* Main content */
.main {
    flex: 1;
    padding-top: 80px;
}

/* Hero section */
.hero {
    background: linear-gradient(0deg, var(--primary-color) 0%, var(--bg-color) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero__title {
    font-size: 40px;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.hero__subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 64px 0;
}

.section__title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-color);
    font-weight: 600;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* About section */
.about__content {
    max-width: 900px;
    margin: 0 auto;
}

.about__content p {
    margin-bottom: 16px;
    font-size: 16px;
}

.company-details {
    margin-top: 32px;
    padding: 24px;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.company-details h3 {
    margin-bottom: 16px;
    color: var(--primary-color);
    text-align: center;
    font-size: 20px;
}

.company-details p {
    margin-bottom: 8px;
    font-size: 14px;
}

.company-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.company-details a:hover {
    text-decoration: underline;
}

/* Catalog */
.catalog__filters {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.search-input {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.product-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card__content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card__title {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.product-card__description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
    flex-grow: 1;
}

.product-card__price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.product-card__btn {
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 48px 0 24px;
    margin-top: auto;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer__title {
    font-size: 16px;
    margin-bottom: 16px;
    color: white;
    font-weight: 600;
}

.footer__links {
    list-style: none;
}

.footer__link {
    color: var(--footer-text);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.footer__link:hover {
    color: white;
}

.footer__contacts {
    list-style: none;
}

.footer__contacts li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.footer__contacts i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer__bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #4a5568;
    color: var(--footer-text);
    font-size: 13px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    overflow-y: auto;
    padding: 16px;
}

.modal__content {
    background-color: var(--bg-light);
    margin: 40px auto;
    max-width: 800px;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    padding: 24px;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal__close:hover {
    color: var(--text-color);
}

.modal__title {
    margin-bottom: 24px;
    text-align: center;
    color: var(--text-color);
    font-size: 24px;
    font-weight: 600;
}

/* Product modal */
.product-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.product-modal__images {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-modal__main-image,
.product-modal__certificate {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.product-modal__main-image img,
.product-modal__certificate img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.zoom-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.zoom-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.product-modal__info {
    display: flex;
    flex-direction: column;
}

.product-modal__title {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.product-modal__price {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.product-modal__form {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.product-modal__section {
    margin-bottom: 16px;
}

.product-modal__section-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.expandable-content {
    position: relative;
}

.content-preview {
    max-height: 120px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: relative;
}

.content-preview.expanded {
    max-height: 1000px;
}

.content-preview:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.expand-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 4px;
    display: none;
    font-size: 14px;
    background-color: var(--bg-light);
    position: relative;
    z-index: 1;
}

.expand-btn:hover {
    text-decoration: underline;
}

.product-modal__actions {
    margin-top: auto;
    padding-top: 16px;
}

/* Image modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 3000;
    padding: 16px;
}

.image-modal__close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 36px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.image-modal__close:hover {
    color: var(--primary-color);
}

.image-modal__content {
    max-width: 95%;
    max-height: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Cart */
.cart-items {
    margin-bottom: 24px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item__info {
    flex-grow: 1;
}

.cart-item__name {
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 15px;
}

.cart-item__price {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
}

.cart-item__quantity {
    display: flex;
    align-items: center;
    margin: 0 16px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity-value {
    width: 36px;
    text-align: center;
    font-size: 14px;
}

.cart-item__remove {
    color: var(--text-light);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-item__remove:hover {
    color: var(--secondary-color);
}

.cart-total {
    text-align: right;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 24px;
}

.cart-total span {
    color: var(--primary-color);
}

.cart-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Forms */
.order-form {
    max-width: 450px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.2);
}

.form-group input::placeholder {
    color: #a0aec0;
    opacity: 1;
}

/* Form validation */
.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
    border-color: var(--error-color);
    box-shadow: 0 0 0 1px var(--error-color);
}

.form-group input.invalid:focus,
.form-group textarea.invalid:focus,
.form-group select.invalid:focus {
    box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.2);
}

.error-message {
    color: var(--error-color);
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.checkbox-group input {
    width: auto;
    margin-right: 8px;
}

.policy-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.policy-link:hover {
    text-decoration: underline;
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 16px;
    right: 16px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 4000;
    max-width: 350px;
    font-size: 14px;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive design */
@media (max-width: 992px) {
    .product-modal {
        grid-template-columns: 1fr;
    }

    .product-modal__images {
        order: 2;
    }

    .product-modal__info {
        order: 1;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section {
        padding: 48px 0;
    }

    .section__title {
        font-size: 28px;
    }

    .hero {
        padding: 100px 0 64px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 16px;
    }

    .footer__content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item__quantity {
        margin: 8px 0;
    }

    .cart-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .modal__content {
        padding: 16px;
    }
}
.product-disclaimer {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
    text-align: center;
    font-style: italic;
}


/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    text-decoration: underline;
}

/* Sections */
.section {
    margin-bottom: 30px;
}

/* Highlight boxes */
.highlight {
    background-color: var(--highlight-bg);
    padding: 15px;
    border-left: 3px solid var(--primary-color);
    margin: 15px 0;
    border-radius: var(--radius);
}

.notice-box {
    background-color: var(--notice-bg);
    padding: 15px;
    border-left: 4px solid var(--notice-border);
    margin: 20px 0;
    border-radius: 5px;
}

.header-notice {
    background-color: var(--highlight-bg);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

/* Operator info */
.operator-info {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--highlight-bg);
    border-radius: var(--radius);
}

.last-update {
    text-align: right;
    font-style: italic;
    color: #666;
    margin-top: 30px;
}

.product-disclaimer {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
    text-align: center;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    :root {
        --h1-size: 24px;
        --h2-size: 20px;
        --content-padding: 15px;
    }

    .header-notice {
        padding: 15px;
    }
}


/* Typography */
h1, h2, h3 {
    color: var(--primary-color);
    margin-top: 30px;
}

h1 {
    font-size: var(--h1-size);
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

h2 {
    font-size: var(--h2-size);
    margin-bottom: var(--element-margin);
}

h3 {
    font-size: var(--h3-size);
}

p, li {
    margin-bottom: 10px;
    font-size: var(--text-size);
}

/* Lists */
ul, ol {
    margin-bottom: var(--element-margin);
}

li {
    margin-bottom: 8px;
}

/* Cart page */
.cart-page {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.empty-cart {
    text-align: center;
    padding: 40px 0;
    color: var(--text-light);
}

@media (max-width: 576px) {
    .cart-page {
        padding: 16px;
    }
}

/* Checkout page */
.checkout-page {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.checkout-subtitle {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-color);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.checkout-cart {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: var(--radius);
}

.checkout-form {
    padding: 20px;
}

.empty-cart {
    text-align: center;
    padding: 40px 0;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .checkout-page {
        padding: 16px;
    }
    
    .checkout-cart,
    .checkout-form {
        padding: 16px;
    }
}