/* ============================================
   PRODUCT PAGE CSS
   Premium Car Dealership Theme
   Version: 2.3.0 - ALL BUGS FIXED
   ============================================ */

/* ============================================
   PAGE STRUCTURE - Theme Overrides
============================================= */
.row,
.columns_wrap {
    margin-left: 0;
    margin-right: 0 !important;
}

a.trx_addons_scroll_to_top.trx_addons_icon-up.scroll_to_top_style_default.inited.show {
    display: none!important;
}
/* ============================================
   MAIN GALLERY SWIPER
============================================= */
.gallery-section {
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.mainGallerySwiper {
    width: 100%;
}

.mainGallerySwiper .swiper-slide {
    opacity: 0.5;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mainGallerySwiper .swiper-slide-active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 85vh;
    object-fit: cover;
    display: block;
}

.mainGallerySwiper .swiper-button-next,
.mainGallerySwiper .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    transition: background 0.3s ease;
}

.mainGallerySwiper .swiper-button-next:hover,
.mainGallerySwiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}

.mainGallerySwiper .swiper-button-next::after,
.mainGallerySwiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* ============================================
   PRODUCT INFO BAR
============================================= */
.product-info-bar {
    background-color: #000;
}

.product-breadcrumb .breadcrumb {
    font-size: 12px;
    margin-bottom: 10px;
    background: transparent;
    padding: 0;
}

.product-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.product-breadcrumb .breadcrumb-item.active {
    color: #fff;
    font-weight: 600;
}

.product-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.year-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.product-title {
    font-size: 40px;
    font-weight: 800;
    margin: 5px 0 10px;
    line-height: 1.2;
    color: #fff;
    text-transform: unset !important;
}

.product-price.car-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-price .price-label {
    font-size: 12px;
    font-weight: 500;
    display: none;
}

.product-price .price-amount {
    font-size: 34px;
    font-weight: 700;
}

/* Quick Specs */
.quick-specs {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.spec-item svg {
    width: 30px;
    height: 30px;
}

.spec-item {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.spec-item img {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    filter: invert(1);
}

.spec-item .spec-content {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 20px;
    margin-bottom: -3px;
    margin-top: 10px;
}

.spec-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.btn-group-custom {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.compare-button a.compare.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3)!important;
    color: #fff;
    text-transform: capitalize;
}

.woocommerce .product .compare:before {
    content: ''!important;
    margin: 0!important;
    background-image: url(https://dev.thriftdeals.in/wp-content/uploads/2024/11/compare-1.svg);
    border-radius: 5px;
    padding: 9px;
    background-size: contain;
    background-repeat: no-repeat;
    height: auto;
    filter: invert(1);
}

.btn-group-custom a.compare.button:hover {
    background: rgba(255, 255, 255, 0.1)!important;
    border-color: #fff;
    color: #fff;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-action svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ============================================
   DESKTOP BOOKING SECTION
============================================= */
.desktop-booking-wrapper {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-section {
    max-width: 100%;
}

.booking-header {
    margin-bottom: 25px;
}

.booking-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.booking-title svg {
    color: #ea0a0b;
}

.booking-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 15px;
}

/* Advance Payment Options */
.advance-payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.advance-option {
    position: relative;
    cursor: pointer;
}

.advance-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.advance-option .option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 100px;
}

.advance-option:hover .option-content {
    border-color: #ea0a0b;
    background: rgba(234, 10, 11, 0.1);
}

.advance-option input:checked + .option-content,
.advance-option.selected .option-content {
    border-color: #d6d6d6;
    background: rgba(234, 10, 11, 0.15);
}

.advance-option .option-price {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.advance-option .option-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.advance-option .option-check {
    position: absolute;
    top: 10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: #d6d6d6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.advance-option input:checked ~ .option-check {
    opacity: 1;
    transform: scale(1);
}

.advance-option.out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
}

.advance-option.out-of-stock .option-content {
    background: rgba(255, 255, 255, 0.02);
}

.advance-option .option-stock {
    font-size: 11px;
    color: #dc3545;
    margin-top: 5px;
}

/* Balance Info */
.balance-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.balance-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-row:last-child {
    border-bottom: none;
}

.balance-row .balance-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.balance-row .balance-value {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
}

.balance-row.advance-row .balance-value {
    color: #ea0a0b;
}

.balance-row.balance-due {
    background: rgba(234, 10, 11, 0.1);
    margin: 10px -20px -20px;
    padding: 15px 20px;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid rgba(234, 10, 11, 0.3);
}

.balance-row.balance-due .balance-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.balance-row.balance-due .balance-value {
    color: #ea0a0b;
    font-size: 18px;
}

/* Reserve Button - Silver Gradient */
.btn-reserve-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    padding: 16px 30px;
    color: #000 !important;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    background: linear-gradient(45deg, #999 5%, #fff 10%, #ccc 30%, #ddd 50%, #ccc 70%, #fff 80%, #999 95%);
}

.btn-reserve-now svg {
    color: #000000;
    filter: invert(1);
}

.btn-reserve-now .woocommerce-Price-amount bdi {
    color: #000000 !important;
}

.btn-reserve-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-reserve-now:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-reserve-now span {
    color: #000 !important;
    font-weight: bold;
}

.btn-reserve-now .btn-price {
    opacity: 0.9;
    color: #000 !important;
    font-weight: bold;
}

.btn-reserve-now.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #6c757d;
}

/* ============================================
   MOBILE BOTTOM BAR
============================================= */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

.mobile-bottom-bar .mobile-cart-form {
    flex: 1;
    display: flex;
}

.mobile-bottom-bar .btn-reserve {
    flex: 1;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(45deg, #999 5%, #fff 10%, #ccc 30%, #ddd 50%, #ccc 70%, #fff 80%, #999 95%) !important;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-bottom-bar .btn-reserve:hover {
    transform: translateY(-2px);
}

.mobile-bottom-bar .btn-reserve span {
    color: #000 !important;
}

.mobile-bottom-bar .btn-reserve svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: invert(1);
}

.call-trigger-btn {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 1px solid #ea0a0b;
    background-color: #ea0a0b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.call-trigger-btn:hover {
    transform: scale(1.05);
}

.call-trigger-btn svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

/* ============================================
   OVERLAY
============================================= */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   CALL OPTIONS PANEL
============================================= */
.call-options-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: #000;
    padding: 40px 25px 30px;
    z-index: 1001;
    border-radius: 20px 20px 0 0;
    transition: bottom 0.4s ease;
}

.call-options-panel.active {
    bottom: 0;
}

.close-btn {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background-color: #333;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: translateX(-50%) rotate(90deg);
}
.close-btn svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

.call-options-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.call-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s ease;
    flex: 1;
}

.call-option:hover {
    transform: translateY(-5px);
    color: #fff;
}

.call-option .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.call-option .icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.call-option .icon.whatsapp {
    background-color: #25D366;
}

.call-option .icon.mail {
    background-color: #EA4335;
}

.call-option .icon.video {
    background-color: #4285F4;
}

.call-option .icon.call {
    background-color: #ea0a0b;
}

.call-option .label {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: #fff;
}

/* ============================================
   MOBILE BOOKING MODAL
============================================= */
#bookingModal .modal-content {
    background-color: #1a1a1a;
    border: none;
    border-radius: 20px 20px 0 0;
    color: #fff;
}

#bookingModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 20px 15px;
}

#bookingModal .modal-header-content {
    flex: 1;
}

#bookingModal .modal-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

#bookingModal .modal-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 5px 0 0;
}

#bookingModal .modal-body {
    padding: 15px 20px 30px;
}

#bookingModal .btn-close {
    filter: invert(1);
    opacity: 0.7;
}

/* Car Info in Modal */
.booking-modal-car-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.car-thumbnail {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.car-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-details {
    flex: 1;
}

.car-details .car-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #fff;
}

.car-price-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.car-price-display .price-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.car-price-display .price-value {
    font-size: 18px;
    font-weight: 700;
    color: #ea0a0b;
}

/* Section Title in Modal */
.mobile-booking-form .section-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    color: #fff;
}

/* Mobile Advance Options */
.mobile-advance-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.mobile-advance-option {
    cursor: pointer;
}

.mobile-advance-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mobile-advance-option .option-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.mobile-advance-option:hover .option-card {
    border-color: #ea0a0b;
}

.mobile-advance-option input:checked + .option-card,
.mobile-advance-option.selected .option-card {
    border-color: #ea0a0b;
    background: rgba(234, 10, 11, 0.1);
}

.option-radio-circle {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.mobile-advance-option input:checked + .option-card .option-radio-circle {
    border-color: #ea0a0b;
    background: #ea0a0b;
}

.mobile-advance-option input:checked + .option-card .option-radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
}

.option-info {
    flex: 1;
}

.option-amount {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.option-desc {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 3px;
}

.option-unavailable {
    font-size: 12px;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
}

.mobile-advance-option.out-of-stock {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Payment Summary */
.payment-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.summary-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.summary-row span:first-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.summary-row span:last-child {
    font-weight: 600;
    font-size: 15px;
    color: #fff;
}

.summary-row.highlight {
    background: rgba(234, 10, 11, 0.15);
    margin: 10px -20px;
    padding: 12px 20px;
}

.summary-row.highlight span:first-child {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.summary-row.highlight span:last-child {
    color: #ea0a0b;
    font-size: 18px;
}

.summary-row.balance {
    background: rgba(255, 193, 7, 0.15);
    margin: 0 -20px -20px;
    padding: 15px 20px;
    border-radius: 0 0 14px 14px;
}

.summary-row.balance span:first-child {
    color: #ffc107;
    font-weight: 500;
}

.summary-row.balance span:last-child {
    color: #ffc107;
    font-size: 17px;
}

/* Mobile Reserve Button */
.btn-mobile-reserve {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 25px;
    background: linear-gradient(45deg, #999 5%, #fff 10%, #ccc 30%, #ddd 50%, #ccc 70%, #fff 80%, #999 95%) !important;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-mobile-reserve:hover {
    transform: translateY(-2px);
}

.btn-mobile-reserve:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-mobile-reserve .btn-icon {
    display: flex;
}

.btn-mobile-reserve .btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-mobile-reserve .btn-text {
    font-size: 14px;
    opacity: 0.9;
    color: #000 !important;
}

.btn-mobile-reserve .btn-price {
    font-size: 20px;
    font-weight: 700;
    color: #000 !important;
}

/* ============================================
   CF7 MODAL
============================================= */
#cf7Modal .modal-content {
    background-color: #1a1a1a;
    border: none;
    color: #fff;
}

#cf7Modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
}

#cf7Modal .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

#cf7Modal .modal-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 5px 0 0;
}

#cf7Modal .modal-body {
    padding: 20px;
}

#cf7Modal .wpcf7-form input[type="text"],
#cf7Modal .wpcf7-form input[type="email"],
#cf7Modal .wpcf7-form input[type="tel"],
#cf7Modal .wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
}

#cf7Modal .wpcf7-form input:focus,
#cf7Modal .wpcf7-form textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ea0a0b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(234, 10, 11, 0.2);
}

#cf7Modal .wpcf7-form input::placeholder,
#cf7Modal .wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#cf7Modal .wpcf7-submit {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(45deg, #999 5%, #fff 10%, #ccc 30%, #ddd 50%, #ccc 70%, #fff 80%, #999 95%);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#cf7Modal .wpcf7-submit:hover {
    transform: translateY(-2px);
}

/* ============================================
   SECTION HEADER
============================================= */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    padding-right: 20px;
    white-space: nowrap;
    color: #fff;
}

.section-line {
    flex: 1;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    min-width: 50px;
}

/* ============================================
   TABS
============================================= */
.product-tabs {
    margin: 40px 0;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    gap: 5px;
}

.tab-buttons button {
    flex: 1;
    min-width: 120px;
    padding: 15px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px 8px 0 0;
}

.tab-buttons button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.tab-buttons button svg {
    width: 30px;
    height: 30px;
}

.tab-buttons button.active {
    color: #000 !important;
    background: linear-gradient(45deg, #999 5%, #fff 10%, #ccc 30%, #ddd 50%, #ccc 70%, #fff 80%, #999 95%) !important;
}

.tab-buttons button.active svg {
    color: #000;
    filter: invert(1);
}

.tab-content {
    display: none;
    padding: 30px 25px;
    background-color: #2a2a2a;
    border-radius: 0 0 12px 12px;
    color: #fff;
    line-height: 1.8;
}

.tab-content.active {
    display: block;
}

.tab-content p {
    margin: 0 0 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-content p:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* ============================================
   CAR SUMMARY SECTION
============================================= */
.car-summary-section {
    background-color: #111;
    color: #fff;
}

.product-description {
    margin-bottom: 40px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   RELATED CARDS SECTION
============================================= */
.related-card.is-sold::before {
    content: "";
    background-image: url('https://dev.thriftdeals.in/wp-content/uploads/2026/01/booked.webp');
    z-index: 999;
    border-radius: 5px;
    position: absolute;
    top: 0px;
    left: -5px;
    width: 110px;
    background-size: contain;
    background-repeat: no-repeat;
    height: auto;
    color: #fff;
    padding: 23px 30px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.related-cars-section {
    background-color: #111;
    color: #fff;
}

.related-card {
    position: relative;
    background-color: #232323;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.related-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.related-card-link:hover {
    color: inherit;
}

.reg-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
}

.card-slider {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.slider-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-images img.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.related-card:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.slider-btn.prev-btn {
    left: 10px;
}

.slider-btn.next-btn {
    right: 10px;
}

.card-header-info {
    padding: 15px;
    background: #232323;
}

.card-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

h3.car-name {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.btn-whatsapp {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    background: #25D366;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.btn-whatsapp svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.card-header-info .car-price {
    font-size: 20px;
    font-weight: 700;
    color: #ea0a0b;
    margin: 8px 0 0;
}

.card-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-specs .spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: #232323;
    text-align: center;
}

.card-specs .spec svg {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
    opacity: 0.7;
    color: #fff;
}

.card-specs .spec .label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.card-specs .spec .value {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

/* ============================================
   COMPARE SECTION
============================================= */
.compare-section {
    background-color: #000;
    color: #fff;
}

.compare-section .container {
    max-width: 1200px;
}

.compare-header .arrow-icon svg {
    color: rgba(255, 255, 255, 0.5);
}

.compare-header .section-title {
    font-size: 32px;
    color: #fff;
    padding-right: 0;
}

.compare-header .section-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

.compare-card {
    background-color: #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
}

.compare-image {
    height: 100%;
    min-height: 220px;
}

.compare-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compare-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.compare-details .year-badge {
    background: #ea0a0b;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    display: inline-block;
    width: fit-content;
}

.compare-details .car-title {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
    color: #fff;
    line-height: 1.3;
}

.compare-details .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.compare-details .car-price {
    font-size: 18px;
    font-weight: 600;
    color: #ea0a0b;
}

.compare-details .specs-grid {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.compare-details .spec-item {
    flex: 1;
    min-width: 60px;
    padding: 0;
    border: none;
    text-align: center;
}

.compare-details .spec-item svg {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
    color: #fff;
    opacity: 0.7;
}

.compare-details .spec-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    display: block;
    margin-top: 5px;
}

.compare-details .spec-value {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    display: block;
}

.btn-compare {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    width: fit-content;
    background-color: #000 !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-compare:hover {
    background-color: #ea0a0b !important;
    border-color: #ea0a0b;
    color: #fff !important;
}

.btn-compare.added {
    background-color: #28a745 !important;
    border-color: #28a745;
    color: #fff !important;
}

.btn-compare svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   CALCULATOR SECTION
============================================= */
.cars-calculator-section {
    background-color: #111;
    color: #fff;
}

.calculator-card {
    background-color: #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
}

.calculator {
    background: #2a2a2a;
}

.calculator-indicative {
    font-size: 28px;
    margin-bottom: 40px;
    color: #fff;
}

.calculator-indicative b {
    color: #ea0a0b;
}

.slider-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.range-value {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.emi-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    outline: none;
}

.emi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ea0a0b;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.emi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.emi-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ea0a0b;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.calculator-btn {
    color: #000 !important;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    background: linear-gradient(45deg, #999 5%, #fff 10%, #ccc 30%, #ddd 50%, #ccc 70%, #fff 80%, #999 95%);
    border-radius: 8px;
}

.calculator-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.calculator-description {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
}

.calculator-description h2 {
    color: #fff;
    font-weight: 700;
}

.calculator-description small {
    color: rgba(255, 255, 255, 0.7);
}

.calculator-description h4 {
    color: #ea0a0b;
}

.calculator-description hr {
    border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   PORTFOLIO SECTION (BRANDS)
============================================= */
.portfolio-section {
    background-color: #111;
    color: #fff;
}

.portfolio-section .container {
    max-width: 1200px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
    text-decoration: none;
}

.brand-item:nth-child(8n) {
    border-right: none;
}

.brand-item:nth-last-child(-n+8) {
    border-bottom: none;
}

.brand-item img {
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.brand-item:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.no-brands {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    grid-column: 1 / -1;
    padding: 40px;
}

/* ============================================
   TOAST STYLES
============================================= */
.toast-container {
    z-index: 1080;
}

.toast {
    border-radius: 50px;
}

.fallback-toast {
    font-family: inherit;
}

/* ============================================
   RESPONSIVE - Mobile (max-width: 767px)
============================================= */
@media (max-width: 767px) {
    
    /* Body padding for mobile bottom bar */
    body.single-product {
        padding-bottom: 85px;
    }
    
    /* Gallery */
    .slide-image img {
        height: 45vh;
    }
    
    .mainGallerySwiper .swiper-slide {
        opacity: 1;
    }
    
    .mainGallerySwiper .swiper-button-next,
    .mainGallerySwiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .mainGallerySwiper .swiper-button-next::after,
    .mainGallerySwiper .swiper-button-prev::after {
        font-size: 14px;
    }
    
    /* Product Info */
    .product-info-bar {
        padding: 20px 15px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-price .price-amount {
        font-size: 24px;
    }
    
    /* Quick Specs */
    .quick-specs {
        flex-wrap: wrap;
        border-left: none;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .spec-item {
        flex: 0 0 calc(50% - 5px);
        padding: 12px 8px;
    }
    
    .spec-item svg {
        width: 24px;
        height: 24px;
    }
    
    .spec-label {
        font-size: 11px;
        margin-top: 5px;
    }
    
    .spec-value {
        font-size: 14px;
    }
    
    /* Action Buttons */
    .action-buttons {
        margin-top: 15px;
    }
    
    .btn-group-custom {
        flex-wrap: wrap;
    }
    
    .btn-action {
        padding: 8px 12px;
        font-size: 12px;
        flex: 1;
        min-width: 140px;
    }
    
    /* Desktop Booking - Hide on mobile */
    .desktop-booking-wrapper {
        display: none;
    }
    
    /* Section Header */
    .section-header {
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 22px;
        text-wrap: auto;
    }
    
    /* Tabs */
    .tab-buttons {
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 0;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-buttons button {
        flex: 0 0 auto;
        min-width: 100px;
        padding: 12px 15px;
        font-size: 12px;
    }
    
    .tab-buttons button svg {
        width: 16px;
        height: 16px;
    }
    
    .tab-content {
        padding: 20px 15px;
    }
    
    /* Related Cards */
    .card-slider {
        height: 180px;
    }
    
    h3.car-name {
        font-size: 18px;
    }
    
    .card-header-info .car-price {
        font-size: 18px;
    }
    
    .card-specs .spec {
        padding: 12px 8px;
    }
    
    .card-specs .spec svg {
        width: 20px;
        height: 20px;
    }
    
    .card-specs .spec .label {
        font-size: 9px;
    }
    
    .card-specs .spec .value {
        font-size: 11px;
    }
    
    /* Compare Section */
    .compare-header .section-title {
        font-size: 24px;
    }
    
    .compare-image {
        min-height: 180px;
    }
    
    .compare-details {
        padding: 20px;
    }
    
    .compare-details .car-title {
        font-size: 18px;
    }
    
    .compare-details .specs-grid {
        display: flex;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .compare-details .spec-item {
        min-width: auto;
    }
    
    /* Calculator */
    .calculator-indicative {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .calculator {
        padding: 20px !important;
    }
    
    /* Brands Grid */
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .brand-item:nth-child(8n) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .brand-item:nth-child(4n) {
        border-right: none;
    }
    
    .brand-item:nth-last-child(-n+8) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .brand-item:nth-last-child(-n+4) {
        border-bottom: none;
    }
    
    .brand-item {
        padding: 20px 10px;
    }
    
    .brand-item img {
        max-height: 40px;
    }
    
    /* Mobile Bottom Bar */
    .mobile-bottom-bar {
        padding: 12px 15px;
    }
    
    .mobile-bottom-bar .btn-reserve {
        height: 48px;
        font-size: 14px;
    }
    
    .call-trigger-btn {
        width: 48px;
        height: 48px;
    }
    
    /* Call Options Panel */
    .call-options-panel {
        padding: 35px 20px 25px;
    }
    
    .call-options-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .call-option {
        margin-bottom: 15px;
    }
    
    .call-option .icon {
        width: 45px;
        height: 45px;
    }
    
    .call-option .icon svg {
        width: 20px;
        height: 20px;
    }
    
    .call-option .label {
        font-size: 11px;
    }
    
    /* Mobile Modal */
    #bookingModal .modal-dialog {
        margin: 0;
        max-width: 100%;
    }
    
    #bookingModal .modal-content {
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
    }
    
    .option-amount {
        font-size: 16px;
    }
    
    .btn-mobile-reserve .btn-price {
        font-size: 18px;
    }
    
    /* Toast position */
    .toast-container {
        margin-bottom: 100px !important;
    }
}

/* ============================================
   RESPONSIVE - Tablet (768px - 1023px)
============================================= */
@media (min-width: 768px) and (max-width: 1023px) {
    
    body.single-product {
        padding-bottom: 85px;
    }
    
    .slide-image img {
        height: 55vh;
    }
    
    .product-title {
        font-size: 32px;
    }
    
    .product-price .price-amount {
        font-size: 28px;
    }
    
    .quick-specs {
        flex-wrap: wrap;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .spec-item {
        flex: 0 0 calc(25% - 8px);
    }
    
    .desktop-booking-wrapper {
        display: none;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .tab-buttons button {
        padding: 14px 18px;
        font-size: 13px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .brand-item:nth-child(8n) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .brand-item:nth-child(4n) {
        border-right: none;
    }
    
    .brand-item:nth-last-child(-n+8) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .brand-item:nth-last-child(-n+4) {
        border-bottom: none;
    }
    
    .calculator-indicative {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .compare-details .specs-grid {
        flex-wrap: wrap;
    }
    
    .compare-details .spec-item {
        flex: 0 0 calc(50% - 8px);
        margin-bottom: 10px;
    }
}

/* ============================================
   RESPONSIVE - Laptop (1024px - 1439px)
============================================= */
@media (min-width: 1024px) and (max-width: 1439px) {
    
    .slide-image img {
        height: 70vh;
    }
    
    .product-title {
        font-size: 36px;
    }
    
    .spec-value {
        font-size: 16px;
    }
    
    .advance-payment-options {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .brands-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .calculator-indicative {
        font-size: 26px;
    }
}

/* ============================================
   RESPONSIVE - Large screens (1440px+)
============================================= */
@media (min-width: 1440px) {
    
    .slide-image img {
        height: 90vh;
    }
    
    .product-title {
        font-size: 44px;
    }
    
    .product-price .price-amount {
        font-size: 38px;
    }
    
    .spec-value {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .advance-payment-options {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .calculator-indicative {
        font-size: 32px;
    }
    
    h3.car-name {
        font-size: 26px;
    }
    
    .card-slider {
        height: 250px;
    }
}

/* ============================================
   UTILITY & ACCESSIBILITY
============================================= */
html {
    scroll-behavior: smooth;
}

/* Focus states */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #ea0a0b;
    outline-offset: 2px;
}

.advance-option input:focus-visible + .option-content,
.mobile-advance-option input:focus-visible + .option-card {
    outline: 2px solid #ea0a0b;
    outline-offset: 2px;
}

/* Hide scrollbar for horizontal scroll */
.tab-buttons::-webkit-scrollbar {
    height: 3px;
}

.tab-buttons::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.tab-buttons::-webkit-scrollbar-thumb {
    background: #ea0a0b;
    border-radius: 3px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .related-card,
    .compare-card,
    .calculator-card {
        border: 2px solid #fff;
    }
    
    .advance-option .option-content,
    .mobile-advance-option .option-card {
        border-width: 2px;
    }
}

/* Print styles */
@media print {
    .mobile-bottom-bar,
    .call-options-panel,
    .overlay,
    .swiper-button-next,
    .swiper-button-prev,
    .slider-btn,
    .btn-whatsapp,
    .btn-compare,
    .btn-action,
    .desktop-booking-wrapper,
    #bookingModal,
    #cf7Modal,
    .toast-container {
        display: none !important;
    }
    
    .product-info-bar,
    .car-summary-section,
    .related-cars-section,
    .compare-section,
    .cars-calculator-section,
    .portfolio-section {
        background-color: #fff !important;
        color: #000 !important;
    }
    
    .section-title,
    .product-title,
    h3.car-name,
    .spec-value,
    .compare-details .car-title {
        color: #000 !important;
    }
}