* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #FFFFFF;
    color: #1a1a1a;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

header {
    background: #1A1A1A;
    color: white;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #000;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    position: relative;
    z-index: 2000;
    margin-top: 8px;
}

.obrazok {
    height: 110px;
    width: auto;
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
}

nav a:hover {
    color: #757575;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2000;
}

.cart-btn {
    background: #333;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 4px;
    background: white;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    background: #000;
}

.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 1s;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    padding: 20px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.btn-primary {
    background: white;
    color: black;
    padding: 12px 24px;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
}

.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-title,
.section-title-2 {
    text-align: center;
    margin: 40px 0;
    font-size: 2rem;
    font-weight: 800;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border: 1px solid #eee;
}

.card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.card-body {
    padding: 20px;
    text-align: center;
}

.price {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 10px 0;
}

.btn-buy {
    background: #1A1A1A;
    color: white;
    padding: 12px;
    display: block;
    font-weight: bold;
    text-align: center;
}

footer {
    background: #1A1A1A;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
}

.contact-grid,
.cart-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #1A1A1A;
    margin-bottom: 15px;
}

.info-box {
    background: #1A1A1A;
    color: white;
    padding: 40px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    background: #1A1A1A;
    color: white;
    padding: 15px;
    text-align: left;
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
}

.product-cell {
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-cell img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.cart-summary {
    background: #f9f9f9;
    padding: 30px;
    border: 2px solid #1A1A1A;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 2px solid #1A1A1A;
    font-size: 1.3rem;
    font-weight: 800;
}

@media (max-width: 900px) {
    header {
        height: 80px;
    }
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: 100%;
        background: #1A1A1A;
        transition: 0.4s;
        display: block;
        transform: none;
    }
    nav.active {
        left: 0;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
    }
    .hamburger {
        display: flex;
    }
    .logo {
        margin-top: 5px;
    }
    .obrazok {
        height: 70px;
    }
    .cart-table,
    .cart-table thead,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }
    .cart-table thead {
        display: none;
    }
    .cart-table tr {
        border-bottom: 2px solid #000;
        padding: 15px 0;
    }
    .cart-table td {
        text-align: center;
        border: none;
        padding: 5px;
    }
    .product-cell {
        flex-direction: column;
    }
    .contact-grid,
    .cart-wrapper {
        grid-template-columns: 1fr;
    }
}