.car-single-detail {
}
.car-breadcrumb {
font-size: 12px;
color: #999;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.car-breadcrumb a {
color: #999;
text-decoration: none;
}
.car-breadcrumb a:hover {
color: #333;
}
.car-detail-container {
display: flex;
gap: 40px;
align-items: flex-start;
}
.car-detail-left {
flex: 1;
display: flex;
flex-direction: column;
justify-content: start;
align-items: start;
gap: 20px;
}
.car-detail-right {
flex: 0 0 350px;
} .car-main-image {
margin-bottom: 20px;
}
.car-main-image img {
width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
} .car-gallery-container {
position: relative;
width: 100%;
}
.car-main-image {
position: relative;
width: 100%;
height: 400px;
overflow: hidden;
border-radius: 8px;
background: #f5f5f5;
}
.car-main-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.car-main-image:hover img {
transform: scale(1.05);
} .image-counter {
position: absolute;
bottom: 15px;
right: 15px;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 5px 10px;
border-radius: 15px;
font-size: 12px;
font-weight: 500;
} .fullscreen-btn {
position: absolute;
top: 15px;
right: 15px;
background: rgba(0, 0, 0, 0.7);
color: white;
border: none;
padding: 8px 12px;
border-radius: 6px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s ease;
}
.fullscreen-btn:hover {
background: rgba(0, 0, 0, 0.9);
} .car-gallery-thumbs {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-top: 15px;
overflow: hidden;
}
.gallery-thumb {
width: 70px;
height: 50px;
overflow: hidden;
border-radius: 6px;
cursor: pointer;
border: 2px solid transparent;
transition: all 0.3s ease;
position: relative;
}
.gallery-thumb:hover {
border-color: #007cba;
transform: translateY(-2px);
}
.gallery-thumb.active {
border-color: #007cba;
box-shadow: 0 0 0 1px #007cba;
}
.gallery-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.gallery-show-more {
display: flex;
align-items: center;
justify-content: center;
width: 70px;
height: 50px;
background: rgba(0, 124, 186, 0.1);
border: 2px dashed #007cba;
border-radius: 6px;
color: #007cba;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.gallery-show-more:hover {
background: rgba(0, 124, 186, 0.2);
} .car-lightbox {
display: none;
position: fixed;
z-index: 10000;
left: 0;
top: 0;
width: 100%;
height: 100%;
height: 100vh;
height: 100dvh;
background-color: rgba(0, 0, 0, 0.95);
backdrop-filter: blur(5px);
padding: 0;
box-sizing: border-box;
overflow: hidden;
}
.car-lightbox.active {
display: flex;
align-items: center;
justify-content: center;
}
.lightbox-content {
position: relative;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 10px;
box-sizing: border-box;
}
.lightbox-image-container {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.lightbox-close {
position: fixed;
top: 10px;
right: 10px;
color: white;
font-size: 32px;
font-weight: bold;
cursor: pointer;
z-index: 10002;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(0, 0, 0, 0.6);
transition: all 0.3s ease;
border: 2px solid rgba(255, 255, 255, 0.2);
line-height: 1;
}
.lightbox-close:hover {
background: rgba(0, 0, 0, 0.8);
border-color: rgba(255, 255, 255, 0.4);
transform: scale(1.1);
}
.lightbox-close:active {
transform: scale(0.95);
}
#lightbox-image {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
object-fit: contain;
border-radius: 4px;
box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
user-select: none;
transition: opacity 0.3s ease;
} .lightbox-nav {
position: fixed;
top: 50%;
transform: translateY(-50%);
width: 100%;
left: 0;
display: flex;
justify-content: space-between;
pointer-events: none;
padding: 0 10px;
z-index: 10001;
box-sizing: border-box;
}
.lightbox-prev,
.lightbox-next {
background: rgba(0, 0, 0, 0.6);
color: white;
border: 2px solid rgba(255, 255, 255, 0.2);
padding: 15px 18px;
font-size: 24px;
cursor: pointer;
border-radius: 50%;
transition: all 0.3s ease;
pointer-events: auto;
user-select: none;
line-height: 1;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
}
.lightbox-prev:hover,
.lightbox-next:hover {
background: rgba(0, 0, 0, 0.8);
border-color: rgba(255, 255, 255, 0.4);
transform: scale(1.1);
}
.lightbox-prev:active,
.lightbox-next:active {
transform: scale(0.95);
} .lightbox-counter {
position: fixed;
bottom: 15px;
left: 50%;
transform: translateX(-50%);
color: white;
background: rgba(0, 0, 0, 0.6);
padding: 10px 18px;
border-radius: 25px;
font-size: 15px;
font-weight: 500;
z-index: 10001;
border: 2px solid rgba(255, 255, 255, 0.2);
} @media (max-width: 768px) {
.car-main-image {
height: 300px;
}
.gallery-thumb {
width: 60px;
height: 45px;
}
.gallery-show-more {
width: 60px;
height: 45px;
font-size: 11px;
} .lightbox-content {
padding: 5px;
}
.lightbox-close {
top: 8px;
right: 8px;
width: 42px;
height: 42px;
font-size: 28px;
background: rgba(0, 0, 0, 0.7);
}
.lightbox-prev,
.lightbox-next {
width: 42px;
height: 42px;
padding: 0;
font-size: 22px;
background: rgba(0, 0, 0, 0.7);
}
.lightbox-nav {
padding: 0 8px;
}
#lightbox-image {
max-width: 100%;
max-height: 100%;
}
.lightbox-counter {
bottom: 12px;
font-size: 14px;
padding: 8px 14px;
background: rgba(0, 0, 0, 0.7);
}
} @media (max-width: 900px) and (orientation: landscape) {
.lightbox-content {
padding: 3px;
}
.lightbox-close {
top: 5px;
right: 5px;
width: 38px;
height: 38px;
font-size: 24px;
}
.lightbox-prev,
.lightbox-next {
width: 38px;
height: 38px;
font-size: 20px;
}
#lightbox-image {
max-width: 100%;
max-height: 100%;
}
.lightbox-counter {
bottom: 8px;
font-size: 13px;
padding: 6px 12px;
}
.lightbox-nav {
padding: 0 5px;
}
} @media (max-height: 400px) and (orientation: landscape) {
.lightbox-content {
padding: 2px;
}
.lightbox-close {
top: 3px;
right: 3px;
width: 32px;
height: 32px;
font-size: 20px;
}
.lightbox-prev,
.lightbox-next {
width: 32px;
height: 32px;
font-size: 18px;
}
#lightbox-image {
max-width: 100%;
max-height: 100%;
}
.lightbox-counter {
font-size: 11px;
padding: 4px 8px;
bottom: 5px;
}
.lightbox-nav {
padding: 0 3px;
}
} .car-price-box {
background: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 12px;
padding: 25px;
position: sticky;
top: 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.price-section {
text-align: center;
margin-bottom: 25px;
padding-bottom: 20px;
border-bottom: 1px solid #f0f0f0;
}
.price-badge {
background: #fff100;
color: #000;
padding: 8px 16px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
display: inline-block;
margin-bottom: 10px;
}
.price-main {
font-size: 32px;
font-weight: 700;
color: #333;
margin-bottom: 5px;
}
.price-without-vat {
font-size: 14px;
color: #666;
}
.vin-section {
margin-bottom: 25px;
text-align: center;
padding-bottom: 20px;
border-bottom: 1px solid #f0f0f0;
}
.vin-section .label {
display: block;
font-size: 12px;
color: #666;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 5px;
}
.vin-section .value {
font-weight: 600;
color: #333;
}
.car-specs-grid {
margin-bottom: 25px;
}
.spec-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 0;
border-bottom: 1px solid #f5f5f5;
}
.spec-row:last-child {
border-bottom: none;
}
.spec-label {
font-size: 12px;
color: #666;
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 500;
}
.spec-value {
font-weight: 600;
color: #333;
text-align: right;
}
.inquiry-section h3 {
font-size: 18px;
font-weight: 600;
color: #333;
margin-bottom: 10px;
}
.inquiry-section p {
font-size: 14px;
color: #666;
line-height: 1.5;
} .car-specifications {
background: none;
padding: 0;
width: 100%;
}
.car-specifications h2 {
font-size: 24px;
font-weight: 600;
color: #333;
margin-bottom: 15px;
} .car-features {
margin-bottom: 30px;
width: 100%;
}
.car-features h2 {
font-size: 24px;
font-weight: 600;
color: #333;
margin-bottom: 20px;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
width: 100%;
}
.feature-item {
display: flex;
align-items: center;
gap: 10px;
}
.feature-icon {
color: #fff100;
font-weight: bold;
font-size: 16px;
}
.feature-text {
font-size: 14px;
color: #333;
} .car-description {
width: 100%;
}
.car-description h2 {
font-size: 24px;
font-weight: 600;
color: #333;
margin-bottom: 20px;
}
.description-content {
font-size: 14px;
line-height: 1.6;
color: #000;
} .car-contact-info {
background: #f8f9fa;
padding: 30px;
border-radius: 8px;
margin-bottom: 30px;
width: 100%;
}
.contact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 25px;
}
.contact-item {
display: flex;
align-items: flex-start;
gap: 15px;
}
.contact-icon {
width: 40px;
height: 40px;
background: #fff100;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.contact-details {
flex: 1;
}
.contact-label {
font-size: 12px;
color: #666;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 5px;
}
.contact-value {
font-weight: 600;
color: #333;
font-size: 14px;
line-height: 1.4;
} @media (max-width: 480px) { .car-detail-container {
flex-direction: column;
}
.car-detail-left,
.car-detail-right {
width: 100%;
}
.car-price-box {
position: static;
margin-top: 20px;
}
}