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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: #ffffff;
}

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

/* Top Bar */
.top-bar {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.phone {
    color: #2c2c2c;
    font-weight: 500;
}

.hours {
    color: #666;
}

.callback-btn {
    background: transparent;
    border: 1px solid #2c2c2c;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.callback-btn:hover {
    background: #2c2c2c;
    color: white;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #2c2c2c;
    letter-spacing: 3px;
    text-decoration: none;
    transition: color 0.3s;
    font-family: 'Arial Black', sans-serif;
}

.logo a:hover {
    color: #666;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #2c2c2c;
    font-size: 14px;
    transition: color 0.3s;
    font-weight: 400;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #999;
    border-bottom: 2px solid #2c2c2c;
    padding-bottom: 2px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 2px;
    background: #2c2c2c;
    transition: 0.3s;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.cart-btn {
    background: transparent;
    border: 1px solid #e0e0e0;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.cart-btn:hover {
    border-color: #2c2c2c;
}

.cart-count {
    font-size: 12px;
    font-weight: bold;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: #2c2c2c;
    text-align: center;
    padding: 180px 20px 100px;
    margin-top: 123px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.hero-btn {
    background: #2c2c2c;
    color: white;
    padding: 15px 40px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.hero-btn:hover {
    background: #000;
}

/* Products Section */
.products-section {
    padding: 100px 20px 80px;
    background: #fff;
    margin-top: 60px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    font-weight: 300;
    color: #2c2c2c;
    letter-spacing: 1px;
}

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

.product-card {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 0;
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    object-fit: cover;
    /*background: #f5f5f5;*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: #ddd;
}

.product-info {
    padding: 20px;
}

.product-brand {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 16px;
    margin: 10px 0;
    font-weight: 400;
    color: #2c2c2c;
}

.product-color {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.product-prices {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px 0;
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: #2c2c2c;
}

.product-old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.product-discount {
    background: #ff4444;
    color: white;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 3px;
}

.product-status {
    font-size: 12px;
    color: #4caf50;
    margin-top: 5px;
}

.buy-btn {
    width: 100%;
    background: #2c2c2c;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: 10px;
}

.buy-btn:hover {
    background: #000;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: #f5f5f5;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* Info Section */
.info-section {
    padding: 80px 20px;
    background: #fff;
}

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

.info-card {
    padding: 30px;
    border: 1px solid #e0e0e0;
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 500;
}

.info-card p {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background: #f5f5f5;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info-block p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    background: #2c2c2c;
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.contact-form button:hover {
    background: #000;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-col p,
.footer-col a {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    color: #999;
    font-size: 13px;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2c2c2c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: #000;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

/* Buy Modal */
.buy-modal-content {
    max-width: 450px;
    padding: 35px;
}

.buy-modal-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #2c2c2c;
    font-weight: 500;
}

.buy-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.buy-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.buy-form input {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.buy-form input:focus {
    outline: none;
    border-color: #2c2c2c;
}

.buy-submit-btn {
    width: 100%;
    background: #2c2c2c;
    color: white;
    padding: 14px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s;
    margin-top: 10px;
}

.buy-submit-btn:hover {
    background: #000;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #2c2c2c;
}

/* Page Content Styles */
.page-content {
    padding: 180px 20px 80px;
    min-height: 60vh;
}

.page-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 300;
    color: #2c2c2c;
}

.content-block {
    margin-bottom: 50px;
}

.content-block h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 400;
    color: #2c2c2c;
}

.content-block h3 {
    font-size: 20px;
    margin: 20px 0 10px;
    font-weight: 500;
    color: #2c2c2c;
}

.content-block p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.content-block ul {
    margin: 20px 0;
    padding-left: 20px;
}

.content-block ul li {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.brand-list, .product-categories, .features-list, .delivery-list, .terms-list, .return-list, .security-list {
    list-style: none;
    padding: 0;
}

.brand-list li, .product-categories li, .features-list li, .delivery-list li, .terms-list li, .return-list li, .security-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.advantage-card {
    padding: 30px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.advantage-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.advantage-card p {
    color: #666;
    font-size: 14px;
}

/* Delivery Page */
.delivery-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.delivery-option {
    padding: 30px;
    border: 1px solid #e0e0e0;
}

.delivery-option h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #2c2c2c;
}

.delivery-option ul {
    list-style: none;
    padding: 0;
}

.delivery-option ul li {
    padding: 8px 0;
    color: #666;
}

.payment-terms h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.faq-item {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

.faq-item h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

/* Contacts Page */
.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 40px;
}

.contact-item h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #2c2c2c;
}

.contact-item p {
    margin-bottom: 5px;
    color: #666;
}

.contact-item a {
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-description {
    font-size: 14px;
    color: #999 !important;
    margin-top: 5px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c2c2c;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    background: #2c2c2c;
    color: white;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #000;
}

/* Reviews Page */
.reviews-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.stat-item p {
    color: #666;
    font-size: 14px;
}

.stars {
    color: #ffc107;
    font-size: 20px;
    margin-top: 10px;
}

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

.review-card {
    padding: 30px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.review-author h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.review-date {
    font-size: 13px;
    color: #999;
}

.review-rating {
    color: #ffc107;
    font-size: 18px;
}

.review-product {
    font-size: 14px;
    color: #2c2c2c;
    font-weight: 500;
    margin-bottom: 15px;
}

.review-text {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.leave-review-section {
    margin-top: 60px;
    padding: 40px;
    background: #f5f5f5;
}

.leave-review-section h2 {
    text-align: center;
    margin-bottom: 10px;
}

.leave-review-section p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-input input {
    display: none;
}

.rating-input label {
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #ffc107;
}

/* Payment Page */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.payment-method {
    padding: 30px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.payment-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.payment-method h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.payment-method p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.payment-method ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.payment-method ul li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.payment-method ul li:last-child {
    border-bottom: none;
}

/* Mobile */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    .contacts-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header {
        top: 0;
    }

    .header-content {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 15px 0;
    }

    .burger {
        display: flex;
    }

    .nav {
        width: 100%;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transition: right 0.3s;
        gap: 15px;
    }

    .nav-menu.active {
        right: 0;
    }

    .products-section {
        margin-top: 60px;
        padding: 80px 20px 60px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .product-image {
        height: 200px;
        font-size: 50px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .buy-modal-content {
        padding: 25px;
        width: 95%;
    }

    .buy-modal-content h2 {
        font-size: 24px;
    }

    .buy-subtitle {
        font-size: 13px;
    }
}