* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.backimage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/img/afghan.gif');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: sepia(0.1) saturate(2.1) brightness(0.8);
    opacity: 0.4;
    z-index: -1;
}

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

header {
    padding: 15px 0;
}

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

.logo {
    width: 175px;
    height: 175px;
    background-image: url('/static/img/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.header-actions {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
}

.cart-icon {
    position: relative;
    font-size: 24px;
    cursor: pointer;
}

.cart-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #cc2828;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-content {
    flex-grow: 1;
    padding: 30px 0;
}

.content {
    padding: 30px 0;
    flex-grow: 1;
}

.page-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #1a1a1a;
}

footer {
    padding: 20px 0;
    margin-top: 60px;
}

.footer-bottom {
    text-align: center;
    color: #141414;
    font-size: 14px;
}

.footer-documents {
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.documents-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.doc-link {
    color: #3f3e3e;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.doc-link:hover {
    color: #cc2828;
    text-decoration: underline;
}

.requisites {
    text-align: center;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.delivery-notice {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

.continue-shopping-btn {
    display: inline-block;
    background-color: #1a1a1a;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.continue-shopping-btn:hover {
    background-color: #cc2828;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-actions {
        position: static;
        margin-top: 10px;
    }
    
    .logo {
        width: 140px;
        height: 140px;
    }
    
    .documents-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .doc-link {
        font-size: 13px;
    }
    
    .requisites {
        font-size: 11px;
    }
    
    .continue-shopping-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .page-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .content {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .logo {
        width: 120px;
        height: 120px;
    }
    
    .cart-icon {
        font-size: 20px;
    }
    
    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: -6px;
        right: -6px;
    }
    
    .doc-link {
        font-size: 12px;
    }
    
    footer {
        margin-top: 40px;
        padding: 15px 0;
    }
}