/**
 * Main CSS file for CipAuto theme
 */

 :root {
    --primary-color: #3B00DD;
    --secondary-color: #4cdeb6;
    --light-bg: #f8f9fa;
    --gradient-start: #f0f0ff;
    --gradient-end: #ffffff;
    --dark-text: #333;
    --light-text: #777;
    --green-accent: #4cdeb6;
    --font-primary: 'Jost', sans-serif;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

body {
    background-color: #ffffff;
    color: var(--dark-text);
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

ol, ul {
    padding-left: 24px;
    margin-bottom: 24px;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#page {
    overflow-x: hidden;
}

/* Header and Background Gradient */
.header-bg-gradient {
    /* background: linear-gradient(to bottom, var(--gradient-start) 0%, var(--gradient-end) 100%); */
    background: linear-gradient(180deg, rgba(59, 0, 221, 0.30) 0%, rgba(59, 0, 221, 0.00) 100%);
    display: flex;
    width: 100%;
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    z-index: 9999;
    position: relative;
}

/* Header Styles */
.site-header {
    display: flex;
    padding: 10px 10px 10px 13px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0px 2px 8px 0px rgba(0, 112, 224, 0.10);
    backdrop-filter: blur(2px);
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Stilizare pentru logo */
.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 40px;
    width: auto;
}

.site-title {
    margin: 0;
}

.site-title a {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 22px;
    text-decoration: none;
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.primary-menu-container {
    margin-left: auto;
}

#primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#primary-menu li {
    margin: 0 15px;
}

#primary-menu a {
    color: #000;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s;
    padding: 0.1em 0;
    height: 1.2em;
    line-height: 1;

    display: flex;
    padding: 8px 4px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: relative;
}

#primary-menu li.current_page_item > a,
#primary-menu li.current-menu-item > a {
    font-weight: bold;
}

#primary-menu li.current_page_item > a:after, 
#primary-menu li.current-menu-item > a:after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 10px);
    height: 5px;
    background-image: url('data:image/svg+xml;utf8,<svg width="106" height="5" viewBox="0 0 106 5" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 4C30.5862 1.15988 82.5862 0.686574 105 1.15992" stroke="%23FF005D" stroke-linecap="round"/></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#primary-menu a:hover {
    color: var(--primary-color);
}

.menu-icon {
    width: 20px;
    height: 20px;
    aspect-ratio: 1/1;
}

/* Language and Search */
.nav-actions {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.catalog-button-mobile {
    display: none;
    align-items: center;
    background: rgba(59, 0, 221, .05);
    gap: 6px;
    padding-top: 13px;
    padding-right: 12px;
    padding-bottom: 13px;
    padding-left: 12px;
    border-radius: 6px;
}

.catalog-button-mobile a {
    font-family: Jost;
    font-weight: 800;
    font-size: 12px;
    line-height: 100%;
    text-decoration: none;
    color: #000000;
    align-items: center;
    display: flex;
    gap: 6px;
}

.language-switcher {
    display: flex;
    gap: 8px;
}

.lang-selector {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    background: #F3F3F3;
    color: #3B00DD;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    transition: all 0.3s ease;
}

.lang-selector:hover,
.lang-selector.active {
    background: #3B00DD;
    color: #FFF;
}

.search-btn {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    margin-left: 8px;

    background: rgba(59, 0, 221, .05);
    gap: 6px;
    padding-top: 13px;
    padding-right: 12px;
    padding-bottom: 13px;
    padding-left: 12px;
    border-radius: 6px;
}

.search-btn:hover {
    background: rgba(59, 0, 221, .05);
}

.search-btn svg {
    width: 14px;
    height: 14px;
}

.search-btn svg path {
    fill: #3B00DD;
}


/* Breadcrumb */
.breadcrumb {
    display: flex;
    width: 100%;
    max-width: 1320px;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 17px;
    height: 9px;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='9' viewBox='0 0 17 9' fill='none'%3E%3Cpath opacity='0.3' d='M12.1897 0.180664C12.0777 0.180691 11.9683 0.214117 11.8755 0.276664C11.7826 0.339212 11.7106 0.428036 11.6685 0.531773C11.6264 0.63551 11.6162 0.749442 11.6393 0.858991C11.6623 0.968541 11.7175 1.06873 11.7978 1.14673L14.5876 3.93652H0.570511C0.495973 3.93547 0.421969 3.94924 0.3528 3.97704C0.28363 4.00483 0.220674 4.0461 0.167591 4.09843C0.114509 4.15077 0.072357 4.21314 0.0435864 4.28191C0.0148158 4.35068 0 4.42448 0 4.49902C0 4.57357 0.0148158 4.64737 0.0435864 4.71614C0.072357 4.78491 0.114509 4.84728 0.167591 4.89961C0.220674 4.95195 0.28363 4.99322 0.3528 5.02101C0.421969 5.04881 0.495973 5.06258 0.570511 5.06152H14.5876L11.7978 7.85132C11.7438 7.90315 11.7007 7.96523 11.671 8.03393C11.6413 8.10263 11.6257 8.17656 11.6249 8.25139C11.6241 8.32623 11.6383 8.40046 11.6666 8.46975C11.6949 8.53903 11.7367 8.60198 11.7896 8.6549C11.8426 8.70782 11.9055 8.74964 11.9748 8.77793C12.0441 8.80622 12.1183 8.8204 12.1931 8.81964C12.268 8.81888 12.3419 8.80319 12.4106 8.7735C12.4793 8.74381 12.5414 8.70071 12.5932 8.64673L16.3432 4.89673C16.4487 4.79123 16.5079 4.64818 16.5079 4.49902C16.5079 4.34986 16.4487 4.20681 16.3432 4.10132L12.5932 0.351318C12.5408 0.297324 12.4781 0.254398 12.4087 0.225085C12.3394 0.195772 12.2649 0.180667 12.1897 0.180664Z' fill='black'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.breadcrumb-item:has(+ .breadcrumb-logo)::after {
    display: none !important;
}

.breadcrumb-link {
    color: #3B00DD;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-current {
    color: #000;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.breadcrumb-logo {
    margin-left: auto
}

.breadcrumb-brand-logo {
    width: 16px;
    height: 16px;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;

    background: rgba(59, 0, 221, .05);
    padding-top: 13px;
    padding-right: 12px;
    padding-bottom: 13px;
    padding-left: 12px;
    border-radius: 6px;
    margin-left: 8px;
    height: 40px;
}

.menu-toggle:hover {
    background: rgba(59, 0, 221, .05);
}

.menu-toggle-bars {
    display: block;
    width: 16px;
    height: 1px;
    background-color: #3B00DD;
    position: relative;
    transition: background-color 0.3s;
}

.menu-toggle-bars:before,
.menu-toggle-bars:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #3B00DD;
    left: 0;
    transition: transform 0.3s;
}

.menu-toggle-bars:before {
    top: -8px;
}

.menu-toggle-bars:after {
    bottom: -8px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars {
    background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars:before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars:after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Mobile Menu */
.mobile-menu,
.search-form {
    display: none;
    padding: 16px;
    padding-top: 26px;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 100;
    border-radius: 10px;
    margin: 0 auto;
    margin-top: -25px;
    max-width: 1320px;
    background: rgba(245, 245, 245, 0.95);
    box-shadow: 0px 2px 8px 0px rgba(0, 112, 224, 0.10);
    backdrop-filter: blur(2px);
    z-index: 9998;
}

.mobile-menu.active,
.search-form.active {
    display: block;
}

.mobile-menu-shadow {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #3B00DD;
    z-index: 999;
    display: none;
}

body.menu-open,
body.search-open {
    overflow: hidden;
}

body.menu-open .mobile-menu-shadow,
body.search-open .mobile-menu-shadow {
    display: block;
    opacity: 0.95;
}

.mobile-search-bar {
    background: white;
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.is-form-style {
    width: 100%;
}

.mobile-search-bar input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    outline: none;
    font-size: 14px;
    padding: 11px 12px !important;
    color: #666;
}

.mobile-search-bar svg {
    width: 18px;
    height: 18px;
    color: #3B00DD;
}

.mobile-search-icon {
    display: flex;
    padding: 12px;
}

#mobile-menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

#mobile-menu-items li {
    margin: 10px 0;
}

#mobile-menu-items a {
    color: #000;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    display: block;
    padding: 8px 0;
}

.search-results-wrapper {
    display: none; /* ✅ Ascuns by default */
    margin-top: 16px;
}

.search-suggestions-wrapper {
    display: block; /* ✅ Vizibil by default */
}

.suggestions-title {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 12px 0;
}

.suggestions-title .section-title {
    font-weight: 800;
}

.search-suggestions,
.search-results {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .search-suggestions,
    .search-results {
        gap: 8px;
        grid-template-columns: repeat(2, 1fr);
    }

    .suggestions-title .section-title {
        font-size: 20px;
    }
}

.suggestion-item {
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    border-radius: 100px;
    padding: 8px 8px 8px 16px;
    color: #3B00DD;
    font-size: 13px;
    font-weight: 400;
    align-items: center;
    cursor: pointer;
}

.search-results a.search-result-card {
    display: flex;
    gap: 8px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 12px;
    color: #000000;
    font-size: 10px;
    font-weight: 700;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.search-results a.search-result-card .search-result-title {
    font-size: 12px;
    font-weight: 800;
}

.search-results a.search-result-card .search-result-meta span {
    font-weight: 400;
}

.search-result-image {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background-size: 120%;
    background-position: left bottom;
    border-radius: 100px;
    overflow: hidden;
}

.search-result-image img {
    display: none;
}

.suggestion-item img {
    width: 18px;
    height: 18px;
}

.advanced-filters-btn-search,
.see-more-btn {
    margin-top: 16px;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
}

.search-result-info {
    flex: 1; /* ✅ Ia tot spațiul rămas */
    min-width: 0; /* ✅ Permite text overflow */
}

.search-result-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.search-result-meta {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Menu Items Grid - 2 COLOANE */
.mobile-menu-container {
    margin: 16px 0;
}

#mobile-menu-items.primary-menu {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 15px;
   list-style: none;
   margin: 0;
   padding: 0;
}

#mobile-menu-items.primary-menu li {
   margin: 0;
}

#mobile-menu-items.primary-menu a {
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 16px 15px;
   background: white;
   border-radius: 10px;
   text-decoration: none;
   color: #000000;
   font-weight: 700;
   font-size: 12px;
   transition: all 0.3s ease;
}

#mobile-menu-items.primary-menu a:hover {
   transform: translateY(-2px);
   box-shadow: 0 8px 25px rgba(59, 0, 221, 0.15);
   border-color: #3B00DD;
}

#mobile-menu-items .menu-icon svg {
   width: 22px;
   height: 22px;
   color: #3B00DD;
   flex-shrink: 0;
}

.mobile-contact {
    background: white;
    border-radius: 10px;
    padding: 8px;
    padding-right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-contact-social {
    display: flex;
    gap: 6px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-btn.telegram {
    background: #019CE6;
}

.social-btn.viber {
    background: #703CAB;
}

.social-btn.whatsapp {
    background: #24A812;
}

.social-btn.phone {
    background: #3B00DD;
}

.mobile-contact-info {
    flex: 1;
    text-align: right;
}

.mobile-contact-phone {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}

.mobile-contact-hours {
    font-size: 10px;
    color: #000000;
}

/* Mobile Address card */
.mobile-address {
   background: white;
   border-radius: 10px;
   padding: 20px;
   margin-top: 16px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 15px;
}

.address-left {
   display: flex;
   align-items: center;
   gap: 12px;
}

.address-icon {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}

.address-icon svg {
   width: 20px;
   height: 20px;
}

.address-label {
   font-size: 13px;
   font-weight: bold;
   color: #000000;
}

.address-right {
   text-align: right;
   flex: 1;
}

.address-street {
   font-size: 13px;
   font-weight: 800;
   color: #000000;
   margin-bottom: 2px;
}

.address-city {
   font-size: 10px;
   color: #000000;
}

.address-arrow {
   width: 40px;
   height: 40px;
   background: #f0f0f0;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}

.address-arrow svg {
   width: 20px;
   height: 20px;
}


.mobile-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.mobile-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #3B00DD;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

.mobile-languages {
    display: flex;
    gap: 10px;
}

.lang-btn {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background: #3B00DD;
    color: white;
}

/* Vehicle Details Section */
.vehicle-details {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.vehicle-info {
    flex: 1;
    min-width: 300px;
}

.vehicle-price {
    background-color: var(--green-accent);
    padding: 15px;
    border-radius: 10px;
    color: white;
    min-width: 230px;
    margin-left: 20px;
    text-align: center;
}

.brand-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.vehicle-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.vehicle-title-text {
    margin-left: 15px;
}

.vehicle-year {
    font-size: 2rem;
    font-weight: 500;
    margin-left: 15px;
    margin-bottom: 20px;
}

.vehicle-specs {
    display: flex;
    margin: 20px 0;
    font-size: 1rem;
    color: var(--dark-text);
}

.spec-item {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid #ddd;
}

.spec-item:last-child {
    border-right: none;
}

.spec-value {
    font-weight: 700;
}

.spec-label {
    font-weight: 400;
}

.product-code {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 10px;
}

/* Price Section */
.price-main {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.price-monthly {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.price-details {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.contact-label {
    margin-right: 15px;
    font-size: 0.9rem;
}

.contact-buttons {
    display: flex;
}

.contact-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--green-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: var(--primary-color);
}

.contact-phone {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: block;
    margin-top: 5px;
}

.contact-center {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Gallery Section */
.gallery-section {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.main-image {
    flex: 2;
    min-width: 300px;
    margin-right: 20px;
    overflow: hidden;
    border-radius: 10px;
}

.main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.image-thumbnails {
    display: flex;
    margin-top: 15px;
    overflow-x: auto;
}

.thumbnail {
    width: 120px;
    height: 80px;
    margin-right: 10px;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.thumbnail-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 300px;
}

.thumbnail-row {
    display: flex;
    margin-bottom: 15px;
}

.gallery-thumbnail {
    flex: 1;
    margin-right: 15px;
    border-radius: 10px;
    overflow: hidden;
    height: 150px;
}

.gallery-thumbnail:last-child {
    margin-right: 0;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-thumbnail:hover img {
    transform: scale(1.05);
}

.see-all-btn {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    height: 150px;
}

/* Advantages Section */
.advantages-section {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 30px;
}

.advantage-card {
    flex: 1;
    min-width: 180px;
    background-color: var(--green-accent);
    margin-right: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantage-card:last-child {
    margin-right: 0;
}

.advantage-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.advantage-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.advantage-desc {
    font-size: 0.9rem;
    text-align: center;
}

/* Main content area */
.site-main {
    padding: 30px 0;
}

/* Entry styles */
.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    color: var(--dark-text);
    margin-bottom: 10px;
    font-weight: 700;
}

.entry-title a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s;
}

.entry-title a:hover {
    color: var(--primary-color);
}

.entry-meta {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.entry-meta > span {
    margin-right: 15px;
}

.entry-thumbnail {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.entry-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    margin-bottom: 20px;
    line-height: 1.6;
}

.entry-content p {
    margin-bottom: 15px;
}

.read-more-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
}

.read-more-link:hover {
    background-color: var(--dark-text);
}

.entry-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
    color: var(--light-text);
    font-size: 0.9rem;
}

.entry-footer > span {
    display: block;
    margin-bottom: 5px;
}

/* Footer styles */
.site-footer {
    background-color: #F3F3F3;
    padding: 48px 0;
}

.footer-widgets {
    margin-bottom: 30px;
}

.footer-widget-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-widget {
    flex: 1;
    min-width: 200px;
    margin: 0 15px 20px;
}

.footer-widget:first-child {
    margin-left: 0;
}

.footer-widget:last-child {
    margin-right: 0;
}

.footer-widget .widget-title {
    color: var(--dark-text);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.site-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    margin-bottom: 10px;
}

.footer-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.footer-navigation li {
    margin-left: 20px;
}

.footer-navigation a {
    text-decoration: none;
    color: var(--dark-text);
    transition: color 0.3s;
}

.footer-navigation a:hover {
    color: var(--primary-color);
}

/* Buttons and Form Elements */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover {
    background-color: var(--dark-text);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
    color: var(--dark-text);
    border: 1px solid #000000;
    border-radius: 4px;
    padding: 8px 12px;
    padding-right: 8px;
    font-family: var(--font-primary);
    font-weight: 400;
    width: 100%;
}

.view-all-link-mobile {
    display: none;
    margin-bottom: 12px;
    width: 100%;
}

.view-all-link-desktop {
    display: inline-block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .site-branding {
        flex: 1;
    }
    
    .nav-actions {
        /* order: 3; */
        margin-left: auto;
        display: none;
    }
    
    .footer-widget {
        min-width: 150px;
    }
    
    #primary-menu li {
        margin: 0 5px;
    }

    #page > .container {
        padding: 0 24px;
    }

    .mobile-menu,
    .search-form {
        margin: 0 12px;
        margin-top: -25px;
    }

}

@media (max-width: 768px) {
    .nav-actions {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .catalog-button-mobile {
        display: flex;
    }

    .lang-selector {
        display: none;
    }

    .mobile-languages .lang-selector {
        display: flex;
        border-radius: 100px;
        background-color: #ffffff;
    }

    .mobile-languages .lang-selector:hover,
    .mobile-languages .lang-selector.active {
        background: #3B00DD;
        color: #FFF;
    }
    
    .primary-menu-container {
        display: none;
    }
    
    .mobile-menu.active,
    .search-form.active {
        display: block;
    }
    
    .vehicle-details {
        flex-direction: column;
    }

    .vehicle-price {
        margin-left: 0;
        margin-top: 20px;
    }

    .gallery-section {
        flex-direction: column;
    }

    .main-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .advantage-card {
        min-width: 150px;
        margin-right: 10px;
    }
    
    .site-info {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-navigation ul {
        justify-content: center;
    }
    
    .footer-navigation li {
        margin: 0 10px;
    }
    
    .footer-widget-area {
        flex-direction: column;
    }
    
    .footer-widget {
        margin: 0 0 30px 0;
    }

    .view-all-link-mobile {
        display: inline-block;
    }

    .view-all-link-desktop {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-bg-gradient {
        padding: 12px;
    }

    .site-header {
        margin: 0;
    }
    
    .advantage-card {
        min-width: 100%;
        margin-right: 0;
    }
    
    .vehicle-title {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .vehicle-title-text {
        margin-left: 0;
        margin-top: 10px;
    }

    #page > .container {
        padding: 0 12px;
    }
}

/* Footer Styles */
.footer-container {
    max-width: 1320px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr auto;
    gap: 40px;
    align-items: start;
    position: relative;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-two {
    margin-top: 55px;
}

.footer-contact {
    min-width: 290px;
}

.footer-title {
    font-family: 'Jost', sans-serif;
    color: #000;
    margin-bottom: 32px;
    font-weight: 800;
    font-size: 24px;
    line-height: 100%;
}

/* Footer Menu Styles */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: #3B00DD;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #4f46e5;
    text-decoration: none;
}

/* Contact Info Styles */
.footer-contact .contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    color: #3B00DD;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item span,
.contact-item a {
    color: #3B00DD;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.contact-item a:hover {
    color: #4f46e5;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 34px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    color: #3B00DD;
    background-color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #3B00DD;
    color: white;
    border-color: #3B00DD;
}

.social-icon:hover svg path {
    fill: #ffffff
}

.footer-logo-mobile {
    display: none;
}

/* Google Maps */
.footer-map {
    grid-column: 4;
}

.map-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #f8f9fa;
    border: solid 1px #ffffff;
}

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

.map-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    max-width: 220px;
}

.map-info h4 {
    margin: 0 0 4px 0;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    line-height: 1.3;
}

.view-larger-map {
    color: #3B00DD;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-larger-map:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* Vertical Logo SVG */
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-logo-svg {
    height: 240px;
    width: auto;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 32px;
}

.footer-bottom p {
    margin: 0;
    color: #000;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.footer-bottom a {
    text-decoration: none;
}

.footer-terms-devider {
    display: inline-block;
    width: 8px;
}

.despre-sidebar {
    margin-bottom: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-map {
        grid-column: 1 / -1;
        order: 3;
    }
    
    .map-overlay {
        max-width: 180px;
        padding: 8px 12px;
    }
    
    .map-info h4 {
        font-size: 13px;
    }
    
    .view-larger-map {
        font-size: 11px;
    }

    .footer-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        /* grid-template-columns: 1fr; */
        gap: 24px;
    }

    .footer-contact {
        min-width: auto;
    }

    .footer-menu {
        gap: 6px;
    }

    .footer-content > *:nth-child(1) { order: 2; } /* Prima coloană -> poziția 2 */
    .footer-content > *:nth-child(2) { order: 3; margin-top: 0; } /* A doua coloană -> poziția 3 */
    .footer-content > *:nth-child(3) { order: 1; } /* A treia coloană -> poziția 1 (prima) */
    .footer-content > *:nth-child(4) { 
        order: 4; 
        grid-column: 1 / -1; /* Full width (span ambele coloane) */
    }
    .footer-content > *:nth-child(5) { order: 5; } /* A cincea coloană */

    .footer-content {
        grid-template-columns: 1fr 1fr; /* 2 coloane */
        grid-template-rows: auto auto auto; /* 3 rânduri */
    }
    
    /* Reordonează coloanele */
    .footer-content > *:nth-child(1) { 
        order: 2;
        grid-column: 2; /* Coloana dreapta */
        grid-row: 1; /* Rând 1 */
    }
    .footer-content > *:nth-child(2) { 
        order: 3;
        grid-column: 2; /* Coloana dreapta (sub coloana 1) */
        grid-row: 2; /* Rând 2 */
    }
    .footer-content > *:nth-child(3) { 
        order: 1;
        grid-column: 1; /* Coloana stânga */
        grid-row: 1 / 3; /* Span 2 rânduri (ocupa rândul 1 și 2) */
    }
    .footer-content > *:nth-child(4) { 
        order: 4;
        grid-column: 1 / -1; /* Full width */
        grid-row: 3; /* Rând 3 */
    }
    .footer-content > *:nth-child(5) { 
        order: 5;
        grid-column: 1 / -1; /* Full width */
    }

    
    .footer-map {
        grid-column: 1;
        order: 3;
    }
    
    .map-container {
        border-radius: 8px;
    }
    
    .map-container iframe {
        height: 180px;
    }
    
    .vertical-logo-svg {
        height: 100px;
        width: auto;
    }
    
    .site-footer {
        padding: 40px 0 20px;
    }

    .footer-container {
        padding: 0 12px;
    }

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

    .footer-bottom p {
        font-size: 10px;
    }

    .footer-logo-mobile {
        display: block;
        margin-top: 60px;
    }
}

@media (max-width: 480px) {

    .custom-logo {
        max-height: 26px;
    }

    .footer-content {
        gap: 12px;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .footer-menu a,
    .contact-item span,
    .contact-item a {
        font-size: 14px;
    }
    
    .map-container iframe {
        height: 240px;
    }
    
    .map-overlay {
        top: 8px;
        left: 8px;
        max-width: 160px;
        padding: 6px 10px;
    }
    
    .map-info h4 {
        font-size: 12px;
    }
    
    .view-larger-map {
        font-size: 10px;
    }

    .footer-logo {
        display: none;
    }
    
    .vertical-logo-svg {
        transform: rotate(90deg);
        transform-origin: center;
    }

    .footer-container {
        padding: 0 12px;
    }
}

/* Single Post Layout */
.single-post-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    overflow: visible;
    min-height: 100vh;
}

.single-post-content {
    flex: 1;
    min-width: 0;
}

.single-post-sidebar {
    flex-shrink: 0;
    flex-grow: 0;
    width: 312px;
    max-width: 312px;
    min-height: 100vh;
    height: fit-content;
    margin-bottom: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .single-post-layout {
        flex-direction: column;
    }
    
    .single-post-content,
    .single-post-sidebar {
        width: 100%;
        flex: 1 1 auto;
        max-width: max-content;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .single-post-content .post-header,
    .single-post-content .post-content {
        padding: 0 24px;
    }
}

@media (max-width: 480px) {
    .single-post-content .post-header,
    .single-post-content .post-content {
        padding: 0;
    }
}