/**
 * Washin Auto - Car Detail Page Styles
 */

:root {
    --primary-color: var(--main-color);
    --primary-dark: #005d96;
    --primary-light: #e6f3ff;
    --accent-color: #ff6b35;
    --accent-dark: #e55a2b;
    --accent-light: #ffece5;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a68;
    --text-light: #6e7191;
    --bg-light: #f8f9fa;
    --bg-dark: #16213e;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --box-shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --transition-fast: all 0.3s ease;
    --transition-medium: all 0.5s ease;
    --transition-slow: all 0.8s ease;
    --font-primary: "Noto Sans", sans-serif;
    --font-secondary: "Oswald", sans-serif;
}

/* Common Styles */
.section-title {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.section-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 3px;
}

.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition-fast);
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-custom i {
    transition: var(--transition-fast);
}

.btn-custom:hover i {
    transform: translateX(5px);
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
}

.btn-primary-custom:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    opacity: 0;
    transition: var(--transition-fast);
    z-index: -1;
}

.btn-primary-custom:hover {
    box-shadow: 0 10px 20px rgba(0, 114, 186, 0.3);
    transform: translateY(-3px);
    color: var(--white);
}

.btn-primary-custom:hover:before {
    opacity: 1;
}

.btn-outline-primary-custom {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 114, 186, 0.2);
    transform: translateY(-3px);
}

.btn-outline-light-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light-custom:hover {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.required {
    color: #dc3545;
}

/* Car Detail Section */
.car-detail-section {
    padding: 60px 0;
    background-color: var(--white);
}

/* Car Detail Header */
.car-detail-header {
    /*margin-bottom: 40px;*/
    padding-bottom: 30px;
    /*border-bottom: 1px solid var(--gray-200);*/
}

.car-title-wrapper {
    padding-right: 20px;
}

.car-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.car-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    font-size: 15px;
}

.meta-item i {
    color: var(--primary-color);
}

.car-price-wrapper {
    background: linear-gradient(45deg, var(--primary-light), rgba(230, 243, 255, 0.5));
    border-radius: var(--border-radius-lg);
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.car-price-wrapper:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.car-price {
    /*margin-bottom: 15px;*/
}

.price-label {
    display: block;
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 5px;
}

.price-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

.price-value .btn-custom {
    display: block;
    font-size: 22px;
    font-weight: 500;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

.special-offer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-light);
    color: var(--accent-color);
    padding: 8px 15px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
}

.car-status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 14px;
}

.car-status.in-stock {
    background-color: #d4edda;
    color: #155724;
}

.car-status.sold {
    background-color: #f8d7da;
    color: #721c24;
}

.car-status.reserved {
    background-color: #fff3cd;
    color: #856404;
}

/* Car Gallery */
.car-gallery {
    margin-bottom: 40px;
}

.gallery-main {
    position: relative;
    margin-bottom: 15px;
}

.gallery-main-slider {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
}

.gallery-item {
    position: relative;
    height: 500px;
    overflow: hidden;
}

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

.gallery-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-gallery-action {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-gallery-action:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-thumbs {
    position: relative;
    overflow: hidden;
}

.gallery-thumbs-slider {
    padding: 5px;
}

.thumb-item {
    height: 100px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-fast);
    opacity: 0.7;
}

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

.swiper-slide-thumb-active .thumb-item {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

/* Car Overview */
.car-overview {
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.overview-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-light), rgba(230, 243, 255, 0.5));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.overview-content {
    display: flex;
    flex-direction: column;
}

.overview-content .label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.overview-content .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Car Description */
.car-description {
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
}

.description-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 0;
}

/* Car Features */
.car-features {
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
}

.features-tabs .nav-tabs {
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 20px;
}

.features-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    padding: 10px 20px;
    color: var(--text-medium);
    font-weight: 600;
    transition: var(--transition-fast);
    font-size: 14px;
}

.features-tabs .nav-link:hover {
    color: var(--primary-color);
}

.features-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: transparent;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-medium);
    font-size: 15px;
}

.features-list li i {
    color: var(--primary-color);
}

/* Car Specifications */
.car-specifications {
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
}

.accordion .card {
    border: none;
    margin-bottom: 15px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
}

.accordion .card-header {
    padding: 0;
    background-color: var(--bg-light);
    border-bottom: none;
}

.accordion .btn-link {
    width: 100%;
    text-align: left;
    color: var(--text-dark);
    font-weight: 600;
    padding: 15px 20px;
    text-decoration: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion .btn-link:hover {
    color: var(--primary-color);
}

.accordion .btn-link i {
    transition: var(--transition-fast);
}

.accordion .btn-link.collapsed i {
    transform: rotate(-90deg);
}

.accordion .card-body {
    padding: 20px;
}

.specs-table {
    width: 100%;
}

.specs-table tr {
    border-bottom: 1px solid var(--gray-200);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 12px 0;
}

.spec-name {
    color: var(--text-medium);
    width: 50%;
}

.spec-value {
    color: var(--text-dark);
    font-weight: 600;
}

/* Car Video */
.car-video {
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-md);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Sidebar Widgets */
.sidebar-widget {
    margin-bottom: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    overflow: hidden;
}

.car-detail-section .widget-title {
    padding: 20px 25px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    position: relative;
}

.car-detail-section .widget-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
}

.car-detail-section .widget-content {
    padding: 25px;
}

/* Query Form Widget */
.query-form-widget .form-group {
    margin-bottom: 20px;
}

.query-form-widget label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.query-form-widget .form-control {
    height: 50px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-300);
    padding: 10px 15px;
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.query-form-widget .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 114, 186, 0.1);
}

.query-form-widget textarea.form-control {
    height: auto;
}

.query-form-widget .form-check-label {
    font-size: 14px;
    color: var(--text-medium);
}

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

.form-response {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
}

.form-response.success {
    color: #28a745;
}

.form-response.error {
    color: #dc3545;
}

/* Contact Widget */
.contact-widget .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-widget .contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-light), rgba(230, 243, 255, 0.5));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .label {
    font-size: 14px;
    color: var(--text-light);
    /*margin-bottom: 5px;*/
}

.contact-info .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-info a.value {
    /*color: var(--primary-color);*/
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-info a.value:hover {
    color: var(--primary-dark);
}

/* Share Widget */
.social-share {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--border-radius-md);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    border: 2px solid;
}

.share-button.facebook {
    color: #1877f2;
    border-color: #1877f2;
}
.share-button.facebook:hover {
    background-color: #1877f2;
}

.share-button.twitter {
    color: #1da1f2;
    border-color: #1da1f2;
}
.share-button.twitter:hover {
    background-color: #1da1f2;
}

.share-button.whatsapp {
    color: #25d366;
    border-color: #25d366;
}
.share-button.whatsapp:hover {
    background-color: #25d366;
}

.share-button.email {
    color: #ea4335;
    border-color: #ea4335;
}
.share-button.email:hover {
    background-color: #ea4335;
}

.share-button:hover {
    transform: translateY(-3px);
    color: var(--white);
    box-shadow: var(--box-shadow-sm);
}

/* Calculator Widget */
.calculator-widget .form-group {
    margin-bottom: 15px;
}

.calculator-widget label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.calculator-widget .form-control {
    height: 45px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-300);
    padding: 10px 15px;
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.calculator-widget .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 114, 186, 0.1);
}

.calculator-result {
    margin-top: 20px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.result-item:last-child {
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 1px solid var(--gray-300);
}

.result-item .label {
    color: var(--text-medium);
}

.result-item .value {
    font-weight: 700;
    color: var(--text-dark);
}

.calculator-disclaimer {
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

/* Related Vehicles Section */
.related-vehicles-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(45deg, var(--primary-light), rgba(230, 243, 255, 0.5));
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--border-radius-md);
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-family: var(--font-secondary);
}

.section-title span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title span:after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 114, 186, 0.1);
    z-index: -1;
    border-radius: 4px;
}

.related-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Vehicle Card */
.vehicle-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-fast);
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-md);
}

.vehicle-status {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.status-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: var(--border-radius-md);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
}

.status-badge.new {
    background-color: #28a745;
}

.status-badge.sale {
    background-color: #dc3545;
}

.vehicle-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.1);
}

.vehicle-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition-fast);
}

.vehicle-card:hover .vehicle-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

.action-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.vehicle-content {
    padding: 25px;
}

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

.vehicle-brand {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 0;
}

.vehicle-rating {
    color: #ffc107;
    font-size: 14px;
}

.vehicle-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.vehicle-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.vehicle-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-medium);
}

.spec-item i {
    color: var(--primary-color);
    font-size: 16px;
}

.vehicle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.vehicle-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.vehicle-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.vehicle-link i {
    transition: var(--transition-fast);
}

.vehicle-link:hover {
    color: var(--primary-color);
}

.vehicle-link:hover i {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.cta-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cta-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-shapes .shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.cta-shapes .shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
}

.cta-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Gallery Modal */
.gallery-modal-item {
    height: 600px;
}

.gallery-modal-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Share Modal */
.share-modal-content {
    text-align: center;
}

.share-link {
    display: flex;
    margin-bottom: 20px;
}

.share-link input {
    flex: 1;
    height: 45px;
    border: 1px solid var(--gray-300);
    border-right: none;
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    padding: 10px 15px;
    font-size: 14px;
    color: var(--text-dark);
}

.share-link button {
    height: 45px;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    padding: 0 15px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: var(--border-radius-md);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.share-option:hover {
    transform: translateY(-5px);
    color: var(--white);
}

.share-option i {
    font-size: 24px;
}

.share-option span {
    font-size: 14px;
    font-weight: 600;
}

.share-option.facebook {
    background-color: #3b5998;
}

.share-option.twitter {
    background-color: #1da1f2;
}

.share-option.whatsapp {
    background-color: #25d366;
}

.share-option.linkedin {
    background-color: #0077b5;
}

.share-option.pinterest {
    background-color: #bd081c;
}

.share-option.email {
    background-color: #ea4335;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast-message {
    background-color: rgba(0, 114, 186, 0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast-message.show {
    transform: translateY(0);
    opacity: 1;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .gallery-item {
        height: 400px;
    }

    .overview-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .related-vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .car-title {
        font-size: 28px;
    }

    .car-price-wrapper {
        margin-top: 30px;
    }

    .gallery-item {
        height: 350px;
    }

    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        justify-content: center;
        margin-top: 30px;
    }

    .cta-content {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .car-detail-section {
        padding: 40px 0;
    }

    .car-title {
        font-size: 24px;
    }

    .car-meta {
        flex-direction: column;
        gap: 10px;
    }

    .gallery-item {
        height: 300px;
    }

    .thumb-item {
        height: 70px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .related-vehicles-grid {
        grid-template-columns: 1fr;
    }

    .cta-wrapper {
        padding: 40px 20px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .car-detail-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .car-title {
        font-size: 22px;
    }

    .price-value {
        font-size: 28px;
    }

    .gallery-item {
        height: 250px;
    }

    .car-overview,
    .car-description,
    .car-features,
    .car-specifications,
    .car-video {
        padding: 20px;
    }

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

    .features-tabs .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }

    .widget-title h3 {
        font-size: 18px;
    }

    .widget-content {
        padding: 20px;
    }

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

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