:root {
    --bg-primary: #F5F1ED;
    --bg-dark: #2D1B1B;
    --text-primary: #3D2817;
    --text-light: #6B5B52;
    --accent-primary: #8B3A3A;
    --accent-secondary: #A89080;
    --accent-gold: #D4AF37;
}

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

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

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

header.header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary) !important;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin-left: 1.5rem;
    transition: color 220ms ease;
}

.nav-link:hover {
    color: var(--accent-primary) !important;
}

.btn-catalog {
    background-color: var(--accent-primary);
    color: white !important;
    border: 2px solid var(--accent-primary);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: all 200ms ease;
    border-radius: 4px;
}

.btn-catalog:hover {
    background-color: transparent;
    color: var(--accent-primary) !important;
    transform: scale(1.02);
}

.btn-primary-cta {
    background-color: var(--accent-primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 200ms ease;
}

.btn-primary-cta:hover {
    background-color: #A84545;
    transform: scale(1.02);
}

.btn-outline-cta {
    background-color: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 200ms ease;
}

.btn-outline-cta:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: scale(1.02);
}

.btn-primary {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transition: all 200ms ease;
}

.btn-primary:hover {
    background-color: #A84545;
    border-color: #A84545;
    transform: scale(1.02);
}

.btn-outline-primary {
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    transition: all 200ms ease;
}

.btn-outline-primary:hover {
    background-color: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: scale(1.02);
}

.btn-small {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 3px;
    transition: all 200ms ease;
}

.product-link:hover .btn-small {
    background-color: var(--accent-primary);
    color: white;
}

.hero {
    background-color: var(--bg-dark);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-wrap: balance;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.featured-product-card {
    background-color: #ffffff;
    color: var(--text-primary);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 200ms ease;
}

.featured-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.featured-image {
    margin-bottom: 1.5rem;
}

.featured-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 200ms ease;
}

.featured-product-card:hover .featured-image img {
    transform: scale(1.02);
}

.featured-product-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.featured-product-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.featured-product-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-top: 1rem;
}

.quick-sections {
    padding: 60px 0;
    background-color: #ffffff;
}

.quick-section-card {
    text-align: left;
    transition: all 200ms ease;
    border: 1px solid #E8E0D8;
    padding: 1.5rem;
    border-radius: 6px;
}

.quick-section-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(139, 58, 58, 0.1);
}

.quick-section-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    transition: transform 200ms ease;
}

.quick-section-card:hover img {
    transform: scale(1.02);
}

.quick-section-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.quick-section-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.mini-guide {
    padding: 60px 0;
    background-color: #FDFBF8;
}

.mini-guide h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
}

.guide-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.guide-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--accent-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.guide-item h4 {
    color: var(--accent-primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.guide-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.featured-products {
    padding: 60px 0;
    background-color: white;
}

.featured-products h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
}

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

.product-card {
    border: 1px solid #E8E0D8;
    border-radius: 6px;
    overflow: hidden;
    transition: all 200ms ease;
    background-color: white;
}

.product-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 6px 16px rgba(139, 58, 58, 0.12);
    transform: translateY(-4px);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 1rem;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 200ms ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-card .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-top: 0.8rem;
}

.faq {
    padding: 60px 0;
    background-color: #FDFBF8;
}

.faq h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
}

.faq-item {
    margin-bottom: 2.5rem;
}

.faq-item h4 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer {
    background-color: var(--bg-dark);
    color: #D8CCC4;
    padding: 60px 0 20px;
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer p {
    color: #D8CCC4;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #D8CCC4;
    text-decoration: none;
    transition: color 200ms ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer hr {
    border-color: #4A3535;
    margin: 2rem 0;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #B8A89C;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.footer-bottom strong {
    color: var(--accent-gold);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    color: white;
    padding: 1.5rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-banner .btn {
    background-color: var(--accent-primary);
    border: none;
    white-space: nowrap;
}

.cookie-banner .btn:hover {
    background-color: #A84545;
}

.catalog-intro {
    padding: 50px 0;
    background-color: white;
    border-bottom: 1px solid #E8E0D8;
}

.catalog-intro h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.catalog-intro p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

.section-switcher {
    padding: 2rem 0;
    background-color: white;
    border-bottom: 1px solid #E8E0D8;
}

.switcher-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.switcher-btn {
    background-color: transparent;
    border: 2px solid var(--accent-secondary);
    color: var(--text-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 200ms ease;
}

.switcher-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.switcher-btn.active {
    background-color: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.products-section {
    padding: 60px 0;
    background-color: white;
}

.catalog-usage {
    padding: 60px 0;
    background-color: #FDFBF8;
}

.catalog-usage h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.usage-list {
    list-style: none;
    counter-reset: item;
}

.usage-list li {
    counter-increment: item;
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.usage-list li:before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: -2px;
    background-color: var(--accent-primary);
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.about-hero {
    padding: 50px 0;
    background-color: var(--bg-dark);
    color: white;
    border-bottom: 1px solid #4A3535;
}

.about-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-hero .lead {
    font-size: 1.05rem;
    line-height: 1.6;
}

.about-content {
    padding: 60px 0;
    background-color: white;
}

.about-block {
    margin-bottom: 3rem;
}

.about-block h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 3px solid var(--accent-primary);
    padding-bottom: 0.8rem;
}

.about-list {
    list-style-position: inside;
    color: var(--text-light);
    line-height: 1.8;
}

.about-list li {
    margin-bottom: 1rem;
}

.about-list strong {
    color: var(--text-primary);
}

.contact-section {
    padding: 60px 0;
    background-color: white;
}

.contact-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-section .lead {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    background-color: #FDFBF8;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #E8E0D8;
}

.contact-form .form-group label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 1px solid var(--accent-secondary);
    padding: 0.65rem 1rem;
    border-radius: 4px;
    color: var(--text-primary);
    transition: border-color 200ms ease;
}

.contact-form .form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 0.2rem rgba(139, 58, 58, 0.1);
}

.contact-form .form-check-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form .form-check-label a {
    color: var(--accent-primary);
    text-decoration: none;
}

.contact-form .form-check-label a:hover {
    text-decoration: underline;
}

.contact-info {
    background-color: var(--bg-dark);
    color: white;
    padding: 2.5rem;
    border-radius: 8px;
}

.contact-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 1rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.contact-item p {
    color: #D8CCC4;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent-gold);
    text-decoration: none;
}

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

.thank-you-section {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.thank-you-content .lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.thank-you-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.back-to-home {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.legal-section {
    padding: 60px 0;
    background-color: white;
}

.legal-section h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.last-updated {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
    color: var(--text-light);
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 0.8rem;
}

.legal-content a {
    color: var(--accent-primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.product-detail {
    padding: 60px 0;
    background-color: white;
}

.product-detail-image {
    margin-bottom: 2rem;
}

.product-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 200ms ease;
}

.product-detail-image:hover img {
    transform: scale(1.02);
}

.product-detail h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-align: justify;
}

.product-specs {
    margin-bottom: 3rem;
    background-color: #FDFBF8;
    padding: 2rem;
    border-radius: 8px;
}

.product-specs h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.spec-item {
    background-color: white;
    padding: 1.2rem;
    border-radius: 6px;
    border-left: 4px solid var(--accent-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.spec-label {
    display: block;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.spec-value {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.product-price {
    margin-bottom: 2rem;
}

.price-label {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.btn-place-order {
    width: 100%;
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.back-link {
    margin-top: 2rem;
}

.back-link a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 200ms ease;
}

.back-link a:hover {
    color: #A84545;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .faq .row > div {
        margin-bottom: 2rem;
    }

    .cookie-banner {
        padding: 1rem;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .switcher-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .contact-section .row > div {
        margin-bottom: 2rem;
    }

    .back-to-home {
        flex-direction: column;
    }

    .back-to-home .btn {
        width: 100%;
    }

    .hero {
        padding: 50px 0;
    }

    .quick-sections {
        padding: 40px 0;
    }

    .featured-products {
        padding: 40px 0;
    }

    .mini-guide {
        padding: 40px 0;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer .row > div {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .featured-products h2,
    .mini-guide h2,
    .faq h2 {
        font-size: 1.5rem;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    .product-card .price {
        font-size: 1.1rem;
    }

    .legal-content h2 {
        font-size: 1.2rem;
    }

    .product-detail h1 {
        font-size: 1.5rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .price-value {
        font-size: 2rem;
    }
}
