/*
Theme Name: Vintage Cars Theme
Author: theme_3
Description: Custom WordPress theme for Vintage Cars site
Version: 1.0
*//* =============== GLOBAL =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
body {
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
}

/* =============== HEADER =============== */
header {
    background-color: #ffffff;
    color: #333;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- Desktop: meniu centrat cu logo în mijloc --- */
.main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.main-nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: #ffcc00;
}

.logo-item img {
    height: 40px;
    width: auto;
    transition: transform 0.3s;
}

.logo-item img:hover {
    transform: scale(1.05);
}

/* --- Mobil: doar logo centrat + hamburger --- */
.header-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-logo img {
    height: 36px;
    width: auto;
}

/* Hamburger menu button */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Meniu mobil */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 1.5rem 0;
    display: none;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 1px solid #eee;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu ul {
    list-style: none;
    width: 100%;
    text-align: center;
}

.mobile-menu ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: color 0.3s;
}

.mobile-menu ul li a:hover {
    color: #ffcc00;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 767px) {
    /* Ascunde meniul desktop */
    .main-nav {
        display: none;
    }

    /* Arată header-ul mobil */
    .header-mobile {
        display: flex;
    }

    /* Centrăm doar logo-ul pe mobil */
    .mobile-logo {
        margin: 0 auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Butonul hamburger rămâne în dreapta */
    .mobile-menu-toggle {
        margin-left: auto;
        position: relative;
        z-index: 1001;
    }
}

@media (min-width: 768px) {
    /* Ascunde header-ul mobil */
    .header-mobile {
        display: none;
    }

    /* Meniul mobil nu se afișează */
    .mobile-menu {
        display: none !important;
    }
}

/* =============== FOOTER =============== */
footer {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 3rem 2rem 1.5rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ffcc00;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 0.8rem;
}
.footer-column ul li a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-column ul li a:hover {
    color: #ffcc00;
}
.footer-column p {
    margin-bottom: 0.8rem;
    color: #000000;
}
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #000000;
}

/* =============== PAGE HEADERS =============== */
.page-header {
    background-color: #2c3e50;
    color: white;
    padding: 120px 2rem 60px;
    text-align: center;
}
.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.page-header p {
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Alternate hero styles */
.hero {
    display: flex;
    flex-direction: column;
    margin-top: 70px;
}
.hero-section {
    height: 33.33vh;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
}
.hero-section:hover {
    height: 40vh;
}
.hero-section:not(:hover) {
    height: 30vh;
}
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.hero-section:hover .hero-image {
    transform: scale(1.05);
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
}
.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.hero-content .hero-btn {
    display: inline-block;
    background-color: #000000c0;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #000000;
    text-shadow: none;
}
.hero-content .hero-btn:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

/* Specific hero backgrounds */
.page-header.hero-bg-1 {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1576675466969-38eeae4b41f6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.page-header.hero-bg-2 {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1572017932224-6d2b47d91d1d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.page-header.hero-bg-3 {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* =============== ABOUT =============== */
.about-content {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.about-section {
    margin-bottom: 4rem;
}
.about-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 0.5rem;
}
.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #ffcc00;
}
.about-section p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.value-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}
.value-card:hover {
    transform: translateY(-10px);
}
.value-icon {
    background-color: #ffcc00;
    color: #2c3e50;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}
.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}
.member-image {
    height: 250px;
    overflow: hidden;
}
.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.team-member:hover .member-image img {
    transform: scale(1.1);
}
.member-info {
    padding: 1.5rem;
}
.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}
.member-info p {
    color: #7f8c8d;
    margin-bottom: 1rem;
}
.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.member-social a {
    color: #2c3e50;
    transition: color 0.3s;
}
.member-social a:hover {
    color: #ffcc00;
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #ffcc00;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}
.timeline-content .year {
    color: #ffcc00;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ffcc00;
    border: 4px solid white;
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}
.timeline-item:nth-child(odd)::after {
    right: -10px;
}
.timeline-item:nth-child(even)::after {
    left: -10px;
}

/* =============== CATALOG =============== */
.catalog-section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.catalog-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}
.filter-sidebar {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}
.filter-group {
    margin-bottom: 1.5rem;
}
.filter-group h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    color: #2c3e50;
}
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.filter-option input {
    margin-right: 0.5rem;
}
.price-range {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.price-inputs {
    display: flex;
    gap: 0.5rem;
}
.price-inputs input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.filter-btn {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    width: 100%;
    margin-bottom: 0.5rem;
}
.filter-btn:hover {
    background-color: #1a252f;
}
.reset-btn {
    background-color: #95a5a6;
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    width: 100%;
}
.reset-btn:hover {
    background-color: #7f8c8d;
}
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.sort-options select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.product-image {
    height: 300px;
    overflow: hidden;
    flex-shrink: 0;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-category {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}
.product-description {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    flex-grow: 1;
}
.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}
.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}
.btn {
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
.btn-primary {
    background-color: #ffcc00;
    color: #2c3e50;
}
.btn-primary:hover {
    background-color: #e6b800;
}
.btn-secondary {
    background-color: #2c3e50;
    color: white;
}
.btn-secondary:hover {
    background-color: #1a252f;
}
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 0.5rem;
}
.pagination a {
    display: inline-block;
    padding: 0.7rem 1rem;
    background-color: white;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: 1px solid #ddd;
}
.pagination a.active,
.pagination a:hover {
    background-color: #2c3e50;
    color: white;
}
<?php
/*
Template Name: Tractor Catalog
*/
get_header();

$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;

$args = array(
    'post_type'      => 'vehicle',
    'posts_per_page' => 6,
    'post_status'    => 'publish',
    'orderby'        => 'date',
    'order'          => 'DESC',
    'paged'          => $paged
);

$vehicle_query = new WP_Query($args);

$makes = $models = $transmissions = $engines = $years = array();

if ($vehicle_query->have_posts()) {
    while ($vehicle_query->have_posts()) {
        $vehicle_query->the_post();
        $makes[]        = get_field('make') ?: '';
        $models[]       = get_field('model') ?: '';
        $transmissions[]= get_field('transmission') ?: '';
        $engines[]      = get_field('engine') ?: '';
        $years[]        = get_field('year') ?: '';
    }
    wp_reset_postdata();
}

function unique_non_empty_sorted($arr) {
    return array_values(array_unique(array_filter($arr)));
}

$makes = unique_non_empty_sorted($makes);
$models = unique_non_empty_sorted($models);
$transmissions = unique_non_empty_sorted($transmissions);
$engines = unique_non_empty_sorted($engines);
$years = unique_non_empty_sorted($years);
sort($years);
?>

<style>
.catalog-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://www.loadkingmfg.com/wp-content/uploads/2022/05/Blackout-Dump-Truck.jpg') center/cover no-repeat;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

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

.catalog-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.catalog-hero p {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 700px;
 }
@media (max-width: 768px) {
    .catalog-container {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
/* =============== CONTACT & LOCATIONS =============== */
.contact-section {
    padding: 5rem 2rem;
    margin: 0 auto;
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 0.5rem;
}
.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #ffcc00;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-icon {
    background-color: #ffcc00;
    color: #2c3e50;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}
.contact-text h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}
.contact-text p {
    color: #7f8c8d;
}
.business-hours h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}
.hours-list {
    list-style: none;
}
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}
.hours-list li:last-child {
    border-bottom: none;
}
.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.contact-form h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 0.5rem;
}
.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #ffcc00;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ffcc00;
    background-color: white;
}
.form-group textarea {
    min-height: 150px;
    resize: vertical;
}
.submit-btn {
    background-color: #ffcc00;
    color: #2c3e50;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    width: 100%;
    font-size: 1.1rem;
}
.submit-btn:hover {
    background-color: #e6b800;
}
.locations-section {
    padding: 3rem 2rem;
    background-color: #2c3e50;
    color: white;
}
.locations-container {
    max-width: 1900px;
    margin: 0 auto;
}
.locations-header {
    text-align: center;
    margin-bottom: 3rem;
}
.locations-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.locations-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.location-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.location-image {
    height: 200px;
    overflow: hidden;
}
.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.location-card:hover .location-image img {
    transform: scale(1.05);
}
.location-info {
    padding: 1.5rem;
}
.location-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffcc00;
}
.location-details p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.location-details i {
    color: #ffcc00;
    margin-top: 0.2rem;
}
.location-btn {
    display: inline-block;
    background-color: #ffcc00;
    color: #2c3e50;
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
    width: 100%;
}
.location-btn:hover {
    background-color: #e6b800;
}
.map-section {
    padding: 0;
    margin: 3rem 0 0;
    width: 100%;
}

.map-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 450px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.full-width-map {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 500px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0;
}

.contact-map {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 550px;
    border: none;
}

/* Responsive: reduce height on mobile */
@media (max-width: 768px) {
    .contact-map iframe {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .contact-map iframe {
        height: 180px;
    }
}
/* =============== FINANCING =============== */
.financing-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.financing-section {
    margin-bottom: 3rem;
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.financing-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ffcc00;
}
.financing-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}
.financing-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.financing-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.financing-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.financing-section th,
.financing-section td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}
.financing-section th {
    background-color: #f5f5f5;
    font-weight: bold;
}
.financing-section tr:hover {
    background-color: #f9f9f9;
}
.highlight-box {
    background-color: #fff9e6;
    border-left: 4px solid #ffcc00;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 5px 5px 0;
}
.calculator {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
}
.calculator h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}
.calculator-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.calculator-result {
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1.5rem;
    display: none;
}
.calculator-result h4 {
    margin-bottom: 1rem;
    color: #ffcc00;
}
.calculator-result p {
    margin-bottom: 0.5rem;
}
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}
.cta-section {
    background-color: #2c3e50;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 2rem;
}
.cta-section h2 {
    margin-bottom: 1.5rem;
    color: #ffcc00;
}
.cta-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* =============== PRIVACY & TERMS & POLICIES =============== */
.privacy-content,
.terms-container,
.policy-container,
.shipping-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}
.privacy-section,
.terms-section,
.policy-section,
.shipping-section {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}
.privacy-section h2,
.terms-section h2,
.policy-section h2,
.shipping-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ffcc00;
}
.privacy-section h3,
.terms-section h3,
.policy-section h3,
.shipping-section h3 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem;
}
.privacy-section p,
.terms-section p,
.policy-section p,
.shipping-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}
.privacy-section ul,
.privacy-section ol,
.terms-section ul,
.terms-section ol,
.policy-section ul,
.shipping-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.privacy-section li,
.terms-section li,
.policy-section li,
.shipping-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.info-table,
.legal-table,
.shipping-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.info-table th,
.info-table td,
.legal-table th,
.legal-table td,
.shipping-table th,
.shipping-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}
.info-table th,
.legal-table th,
.shipping-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}
.info-table tr:hover,
.legal-table tr:hover,
.shipping-table tr:hover {
    background-color: #f9f9f9;
}
.warning-box,
.highlight-box {
    background-color: #fff8e1;
    border-left: 4px solid #ffcc00;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.info-box {
    background-color: #e8f4fd;
    border-left: 4px solid #3498db;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.privacy-update {
    background-color: #e8f4fd;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #3498db;
}
.privacy-update h4 {
    color: #3498db;
    margin-bottom: 0.5rem;
}
.contact-privacy {
    background-color: #2c3e50;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}
.contact-privacy h3 {
    color: #ffcc00;
    margin-bottom: 1rem;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.step {
    text-align: center;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}
.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #ffcc00;
    color: #2c3e50;
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 1rem;
}
.step h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}
.shipping-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.shipping-option {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.shipping-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.option-icon {
    font-size: 2.5rem;
    color: #ffcc00;
    margin-bottom: 1rem;
}
.option-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 1rem 0;
}
.last-updated {
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    text-align: center;
}
.terms-nav {
    position: sticky;
    top: 90px;
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}
.terms-nav h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}
.terms-nav ul {
    list-style: none;
}
.terms-nav li {
    margin-bottom: 0.8rem;
}
.terms-nav a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.terms-nav a:hover {
    color: #ffcc00;
}
.terms-nav i {
    font-size: 0.8rem;
    color: #ffcc00;
}

/* =============== PRODUCT DETAIL =============== */
.breadcrumb {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: #e9ecef;
    font-size: 0.9rem;
    color: #6c757d;
}
.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: #495057;
}
.breadcrumb span {
    color: #495057;
    font-weight: 500;
}

.product-section {
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .product-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    overflow: hidden;
}

.main-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    background: #f8f9fa;
}

.main-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%; /* Redus pentru a preveni overflow */
    overflow: hidden;
}

.main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Schimbat din cover în contain */
    transition: transform 0.5s ease;
    background: #f8f9fa;
}

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

.image-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.main-image-container:hover .image-controls {
    opacity: 1;
}

.control-btn {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.control-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.fullscreen-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.thumbnail-container {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    max-width: 100%;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.thumbnail.active,
.thumbnail:hover {
    opacity: 1;
    border-color: #ffcc00;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
    overflow: hidden;
}

.product-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    font-weight: 700;
    word-wrap: break-word;
}

.product-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #27ae60;
    margin: 0;
}

.product-description {
    line-height: 1.6;
    color: #555;
    font-size: 1rem;
    margin: 0;
    max-width: 100%;
    word-wrap: break-word;
}

.product-features {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.product-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: #495057;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li i {
    color: #ffcc00;
    width: 16px;
    text-align: center;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 140px;
    box-sizing: border-box;
}

.btn-primary {
    background: linear-gradient(135deg, #ffcc00, #e6b800);
    color: #2c3e50;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e6b800, #cc9900);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2980b9, #1f6397);
    transform: translateY(-2px);
}

/* Lightbox Styles - Corectat pentru telefon */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
    box-sizing: border-box;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
}

.lightbox-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-image-container {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 1rem;
    box-sizing: border-box;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.lightbox-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    pointer-events: none;
}

.lightbox-controls .control-btn {
    pointer-events: all;
    background-color: rgba(0, 0, 0, 0.7);
    width: 45px;
    height: 45px;
}

.lightbox-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    justify-content: center;
    background: #2d2d2d;
    border-top: 1px solid #404040;
    max-width: 100%;
}

.lightbox-thumbnail {
    width: 60px;
    height: 45px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.lightbox-thumbnail.active,
.lightbox-thumbnail:hover {
    opacity: 1;
    border-color: #ffcc00;
}

.lightbox-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specifications Section */
.specs-section {
    padding: 2rem;
    background: #f8f9fa;
    margin-top: 2rem;
    max-width: 100%;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}

.specs-container {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.specs-table th,
.specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    word-wrap: break-word;
    box-sizing: border-box;
}

.specs-table th {
    background: #2c3e50;
    color: white;
    font-weight: 600;
    width: 35%;
    font-size: 0.9rem;
}

.specs-table td {
    color: #495057;
    font-weight: 500;
    width: 65%;
}

/* Related Products Section */
.related-section {
    padding: 2rem;
    background: white;
    max-width: 100%;
    overflow: hidden;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    max-width: 100%;
}

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

.product-card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-content {
    padding: 1.2rem;
}

.product-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
    word-wrap: break-word;
}

.product-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 1rem;
}

.product-card-btn {
    display: block;
    text-align: center;
    background: #ffcc00;
    color: #2c3e50;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.product-card-btn:hover {
    background: #e6b800;
}

/* Responsive Design - Corectat pentru telefon */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 0.8rem 1rem;
        margin-top: 1rem;
        font-size: 0.8rem;
    }
    
    .product-section {
        padding: 1rem;
    }
    
    .product-container {
        gap: 1.5rem;
    }
    
    .main-image {
        padding-bottom: 45%; /* Mai mic pe telefon */
    }
    
    .image-controls {
        opacity: 1;
        padding: 0 0.5rem;
    }
    
    .control-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .thumbnail {
        width: 70px;
        height: 50px;
    }
    
    .product-title {
        font-size: 1.4rem;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
    
    .product-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .specs-section,
    .related-section {
        padding: 1.5rem 1rem;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        min-width: auto;
    }
    
    /* Lightbox corectat pentru telefon */
    .lightbox {
        padding: 0.5rem;
    }
    
    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .lightbox-image-container {
        padding: 0.5rem;
    }
    
    .lightbox-controls .control-btn {
        width: 35px;
        height: 35px;
    }
    
    .lightbox-thumbnail {
        width: 50px;
        height: 40px;
    }
    
    .lightbox-close {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        top: 0.3rem;
        right: 0.3rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-card-image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .main-image {
        padding-bottom: 40%; /* Cel mai mic pe telefoane mici */
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .product-price {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .specs-table {
        display: block;
        overflow-x: auto;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .lightbox-thumbnail {
        width: 45px;
        height: 35px;
    }
}

/* Focus styles for accessibility */
.control-btn:focus,
.btn:focus,
.lightbox-close:focus {
    outline: 2px solid #ffcc00;
    outline-offset: 2px;
}

/* Prevenim overflow-ul global */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}
/* =============== FAQ =============== */
.faq-section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}
.faq-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}
.faq-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #7f8c8d;
}
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}
.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 1.1rem;
    color: #2c3e50;
}
.faq-question i {
    transition: transform 0.3s;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    color: #7f8c8d;
}
.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* =============== COOKIE BANNER =============== */
.cookie-preferences {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: none;
}
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.cookie-text {
    flex: 1;
    min-width: 300px;
}
.cookie-actions {
    display: flex;
    gap: 1rem;
}
.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid #ffcc00;
}
.btn-outline:hover {
    background-color: #ffcc00;
    color: #2c3e50;
}

/* =============== RESPONSIVE =============== */
@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }

    nav ul {
        display: flex;
        list-style: none;
    }

    nav ul li {
        margin-left: 1.5rem;
    }

    nav ul li a {
        color: #333; /* Text negru */
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

    nav ul li a:hover {
        color: #ffcc00;
    }

    .logo i {
        display: none; /* Ascunde iconița hamburger pe desktop */
    }
}
@media (min-width: 768px) {
    .logo {
        cursor: default;
    }
    .logo i {
        display: none;
    }
    .mobile-menu {
        display: none !important;
    }
    nav ul {
        display: flex;
        list-style: none;
    }
    nav ul li {
        margin-left: 1.5rem;
    }
    nav ul li a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }
    nav ul li a:hover {
        color: #ffcc00;
    }
    .terms-container {
        grid-template-columns: 300px 1fr;
    }
    .hero {
        flex-direction: row;
        height: 100vh;
        margin-top: 0;
    }
    .hero-section {
        flex: 1;
        height: 100%;
    }
    .hero-section:hover {
        flex: 2;
        height: 100%;
    }
    .hero-section:not(:hover) {
        flex: 0.8;
        height: 100%;
    }
}
@media (max-width: 1024px) {
    .catalog-container {
        grid-template-columns: 1fr;
    }
    .filter-sidebar {
        position: static;
    }
    .contact-container,
    .policy-container,
    .terms-container,
    .shipping-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item::after {
        left: 21px;
    }
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-actions {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .page-header h1,
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8rem;
    }
    .page-header {
        padding: 100px 1.5rem 40px;
    }
    .about-content,
    .financing-content,
    .privacy-content,
    .policy-container,
    .terms-container,
    .shipping-container {
        padding: 2rem 1.5rem;
    }
    .about-section,
    .financing-section,
    .privacy-section,
    .policy-section,
    .terms-section,
    .shipping-section {
        padding: 1.5rem;
    }
    .calculator-form,
    .shipping-options,
    .process-steps {
        grid-template-columns: 1fr;
    }
    .footer-content,
    .faq-section,
    .locations-section {
        grid-template-columns: 1fr;
    }
    .product-title {
        font-size: 1.5rem;
    }
    .product-price {
        font-size: 1.5rem;
    }
    .action-buttons {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    header {
        padding: 1rem;
    }
    .page-header {
        padding: 90px 1rem 30px;
        height: auto;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .hero-content h2 {
        font-size: 1.5rem;
    }
    .contact-section,
    .locations-section,
    .faq-section,
    .financing-content,
    .privacy-content,
    .policy-container,
    .terms-container,
    .shipping-container {
        padding: 3rem 1rem;
    }
    .contact-form,
    .map-section {
        padding: 1.5rem;
    }
    .product-grid,
    .related-grid,
    .shipping-options {
        grid-template-columns: 1fr;
    }
    .breadcrumb {
        margin-top: 70px;
        padding: 1rem;
        font-size: 0.8rem;
    }
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    .cookie-actions .btn {
        width: 100%;
    }
}