/* ==========================================================================
   SERVICE DETAIL PAGE - Modern Professional Design
   ========================================================================== */

/* Page Container â€“ no overflow so sticky works */
.service-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 24px;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

/* Grid parent for main + sidebar â€“ align-items prevents height restriction */
.service-detail-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 400px !important;
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
    overflow: visible;
}

.service-main {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    min-width: 0;
    grid-column: 1 !important;
    order: 1 !important;
}

/* ==========================================================================
   IMAGE GALLERY
   ========================================================================== */

/* Image Gallery - Desktop: Proper spacing from screen edges */
.image-gallery {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px 30px 0 30px;
    /* Top: 24px, Left: 30px, Right: 30px, Bottom: 0 (handled by margin-bottom) */
    box-sizing: border-box;
}

.service-hero-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    cursor: zoom-in;
    background: #F3F4F6;
}

.service-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.service-hero-image:hover img {
    transform: scale(1.02);
}

.image-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    /* Enable vertical scroll, hide scrollbar visually */
    overflow-y: auto !important;
    overflow-x: hidden;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari, Opera) */
.image-thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    width: 100%;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: #F3F4F6;
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: #5B6EF5;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   CAR SPECIFICATIONS (Car Rentals Only)
   ========================================================================== */

.car-specifications {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.spec-title {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-title i {
    color: #5B6EF5;
}

/* Desktop: Compact horizontal single-row layout */
.specs-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: space-between;
    align-items: stretch;
}

.spec-card {
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.spec-card:hover {
    border-color: #5B6EF5;
    box-shadow: 0 2px 8px rgba(91, 110, 245, 0.15);
    transform: translateY(-2px);
}

/* Smaller icons on desktop - reduced by ~33% */
.spec-icon {
    font-size: 16px;
    color: #5B6EF5;
    margin-bottom: 6px;
    transition: transform 0.3s ease;
}

.spec-card:hover .spec-icon {
    transform: scale(1.1);
}

/* Custom SVG icon for transmission spec — exact #5B6EF5 color via mask */
.transmission-icon {
    display: inline-block;
    height: 17.6px;
    width: 17.6px;
    background-color: #5B6EF5;
    -webkit-mask-image: url('/assets/images/transmission.svg');
    mask-image: url('/assets/images/transmission.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Values always visible */
.spec-value {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 2px;
    line-height: 1.3;
}

/* Labels hidden by default, appear on hover */
.spec-label {
    font-size: 10px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, height 0.3s ease, margin 0.3s ease;
    margin-top: 0;
}

/* Show labels on hover */
.spec-card:hover .spec-label {
    opacity: 1;
    height: auto;
    margin-top: 4px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
    background: white;
    border-radius: 12px;
    padding: 32px 32px 20px 32px;
    margin: 24px 30px 0 30px;
    border: 1px solid #E5E7EB;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E5E7EB;
    display: flex;
    align-items: center;
    gap: 8px;
}

.description-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 24px;
}

.description-text p {
    margin: 0 0 12px 0;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4B5563;
}

.feature-item i {
    color: #10B981;
    font-size: 16px;
}

/* ==========================================================================
   DETAILS SECTION - COMPACT BADGE STYLE
   ========================================================================== */

.details-section-compact {
    background: #F9FAFB;
    padding: 20px 24px;
    border-radius: 10px;
    margin: 24px 0;
    border: 1px solid #E5E7EB;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-subtitle i {
    color: #5B6EF5;
    font-size: 16px;
}

.details-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    color: #4B5563;
    font-weight: 500;
    transition: all 0.2s;
}

.detail-badge:hover {
    border-color: #5B6EF5;
    box-shadow: 0 2px 6px rgba(91, 110, 245, 0.1);
}

.detail-badge i {
    color: #5B6EF5;
    font-size: 15px;
    flex-shrink: 0;
}

/* Tour PDF block */
.tour-pdf-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tour-pdf-description {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.btn-tour-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 11px 16px;
    border-radius: 8px;
    background: #dc2626;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-tour-pdf:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

/* ==========================================================================
   BOOKING SIDEBAR (Sticky â€“ follows scroll, stays visible while scrolling)
   ========================================================================== */

.booking-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    height: fit-content;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    z-index: 99;
    display: block;
    align-self: start;
    grid-column: 2;
    order: 2;
}

/* Price Header - Outside Card */
.service-price-header {
    background: linear-gradient(135deg, #5B6EF5 0%, #4C5FE5 100%);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(91, 110, 245, 0.2);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.price-badge {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

.price-amount {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0;
}

.price-unit {
    display: inline-block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   Price Calculation Display - Redesigned
   ============================================ */

/* Override any styles from main.css - highest specificity */
.service-price-header .price-calculation,
.service-price-header #price-calculation {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    background-color: transparent !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    margin: 12px 0 0 0 !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2) !important;
    border: 2px solid #10b981 !important;
    border-width: 2px !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    width: auto !important;
    height: auto !important;
    z-index: auto !important;
}

/* Subtle background pattern */
.service-price-header .price-calculation::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.service-price-header .price-calculation .calc-summary {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Duration styling */
.service-price-header .price-calculation .calc-summary #days-count {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.service-price-header .price-calculation .calc-summary #days-count::before {
    content: '\f073';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
}

/* Total price styling */
.service-price-header .price-calculation .calc-summary #total-price-display {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Dollar sign pseudo-element removed — currency is now rendered dynamically via JS */

/* Animation when price updates */
@keyframes priceUpdate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.service-price-header .price-calculation.updating {
    animation: priceUpdate 0.4s ease-in-out;
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    .service-price-header .price-calculation {
        padding: 16px !important;
        margin: 16px 0 !important;
    }

    .service-price-header .price-calculation .calc-summary #days-count {
        font-size: 14px !important;
    }

    .service-price-header .price-calculation .calc-summary #total-price-display {
        font-size: 18px !important;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    .service-price-header .price-calculation {
        padding: 14px !important;
    }

    .service-price-header .price-calculation .calc-summary {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }

    .service-price-header .price-calculation .calc-summary #days-count {
        font-size: 13px !important;
    }

    .service-price-header .price-calculation .calc-summary #total-price-display {
        font-size: 16px !important;
    }
}

/* Booking Card – stays inside sticky sidebar */
.booking-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
}

/* TOUR OPERATOR (Business Type 1): Disable base sticky sidebar for this view
   so we can apply custom sticky behavior only to the map widget later. */
.service-detail-layout:has(.tour-itinerary-section) .booking-sidebar {
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    transform: none !important;
    height: auto;
}

.booking-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1px;
    padding-bottom: 7px;
    margin-top: 0px;
    border-bottom: 2px solid #F3F4F6;
}

.booking-header i {
    font-size: 20px;
    color: #5B6EF5;
}

.booking-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

@media (max-width: 767px) {
    .booking-header h3 {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

/* 2-Column Form Layout */
.booking-form-compact {
    display: grid;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 3px;
    margin-top: 19px;
    width: 100%;
    align-items: flex-start;
}

.form-row .form-group {
    min-width: 0;
}

.location-fields-container {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 0;
}

.booking-form-compact label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.booking-form-compact input[type="text"],
.booking-form-compact input[type="email"],
.booking-form-compact input[type="tel"],
.booking-form-compact input[type="number"]:not(.stepper-input),
.booking-form-compact input[type="date"],
.booking-form-compact input[type="time"],
.booking-form-compact textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #E5E7EB;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

.booking-form-compact input:focus:not(.stepper-input),
.booking-form-compact textarea:focus {
    border-color: #5B6EF5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 110, 245, 0.1);
}

.booking-form-compact textarea {
    resize: vertical;
    min-height: 70px;
}

.form-error {
    color: #EF4444;
    font-size: 13px;
    margin-top: 6px;
}

.btn-submit-booking {
    width: 100%;
    padding: 14px;
    background: #5B6EF5;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit-booking i {
    font-size: 16px;
}

.btn-submit-booking:hover {
    background: #4C5FE5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 110, 245, 0.3);
}

.btn-submit-booking:active {
    transform: translateY(0);
}

.booking-note {
    margin-top: 12px;
    padding: 10px 12px;
    background: #F0F9FF;
    border-radius: 6px;
    font-size: 12px;
    color: #0369A1;
    line-height: 1.5;
    text-align: center;
}

.booking-note strong {
    font-weight: 600;
}

/* Booking Extras Section (Car Rental Optional Extras) */
.booking-extras-section {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
    /* áƒ–áƒ”áƒ“áƒ/áƒ¥áƒ•áƒ”áƒ“áƒ áƒ“áƒáƒ•áƒ¢áƒáƒ•áƒ”áƒ—, áƒ’áƒ•áƒ”áƒ áƒ“áƒ”áƒ‘áƒ˜ 0 */
    border-radius: 10px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    /* áƒ›áƒœáƒ˜áƒ¨áƒ•áƒœáƒ”áƒšáƒáƒ•áƒáƒœáƒ˜áƒ, áƒ áƒáƒ› áƒ°áƒáƒ•áƒ”áƒ áƒ›áƒ áƒ™áƒ£áƒ—áƒ®áƒ”áƒ”áƒ‘áƒ¨áƒ˜ áƒáƒ  áƒ’áƒáƒ“áƒáƒ™áƒ•áƒ”áƒ—áƒáƒ¡ border-radius */
}

.booking-extras-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background-color 0.2s ease;
}

.booking-extras-toggle:hover {
    background-color: #f3f4f6;
}

.booking-extras-chevron {
    font-size: 12px;
    color: #6b7280;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.booking-extras-section:not(.collapsed) .booking-extras-chevron {
    transform: rotate(180deg);
}

.booking-extras-section.collapsed .booking-extras-content {
    display: none;
}

.booking-extras-content {
    padding: 0 0 10px 0;
    border-top: 1px solid #e5e7eb;
}

.booking-extras-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.booking-extras-title i.fa-plus-circle {
    color: #5B6EF5;
    font-size: 13px;
}

.booking-extras-subtitle {
    font-size: 11.5px;
    color: #6b7280;
    margin: 0 0 6px 0;
    padding: 0 12px 0 12px;
}

.booking-extras-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.booking-extra-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    /* áƒ’áƒáƒ•áƒáƒœáƒ£áƒšáƒ”áƒ— */
    margin-right: 0;
    /* áƒ’áƒáƒ•áƒáƒœáƒ£áƒšáƒ”áƒ— */
    padding: 8px 12px;
    /* áƒ“áƒáƒ•áƒáƒ›áƒáƒ¢áƒ”áƒ— áƒ¨áƒ˜áƒ“áƒ áƒ“áƒáƒ¨áƒáƒ áƒ”áƒ‘áƒ */
    transition: background-color 0.2s ease;
}

.booking-extra-item+.booking-extra-item {
    border-top: 1px dashed #e5e7eb;
}

.booking-extra-item:hover {
    background-color: #f3f4ff;
    /* áƒáƒ®áƒšáƒ áƒ”áƒ¡ áƒ¤áƒáƒœáƒ˜ áƒ‘áƒáƒšáƒáƒ›áƒ“áƒ” áƒ’áƒáƒ˜áƒ¨áƒšáƒ”áƒ‘áƒ */
}

.booking-extra-main {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    cursor: pointer;
}

.booking-extra-checkbox {
    width: auto;
    flex-shrink: 0;
}

.booking-extra-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #111827;
}

.booking-extra-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 2px;
}

.booking-extra-price {
    font-size: 12px;
    color: #4b5563;
}

.booking-extra-quantity {
    display: flex;
    align-items: center;
    gap: 4px;
}

.booking-extra-quantity label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

.booking-extra-quantity-input {
    width: 42px;
    padding: 3px 4px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 11.5px;
    text-align: center;
    transition: opacity 0.15s ease, transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.booking-extra-quantity-input:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.4;
    transform: scale(0.95);
}

.booking-extra-quantity-input:not(:disabled) {
    opacity: 1;
    transform: scale(1);
}

/* Price breakdown section */
.price-breakdown-section {
    border-top: 1px dashed #e5e7eb;
    margin-top: 8px;
    padding-top: 8px;
}

.price-breakdown-section .price-row {
    margin-bottom: 3px;
}

.price-breakdown-section .price-row .price-label,
.price-breakdown-section .price-row .price-value {
    font-size: 13px;
}

.price-breakdown-section .price-row.price-total .price-label,
.price-breakdown-section .price-row.price-total .price-value {
    font-size: 14px;
    font-weight: 700;
}

/* ==========================================================================
   VENDOR CARD
   ========================================================================== */

.vendor-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.vendor-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F3F4F6;
}

.vendor-header-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.vendor-header-link:hover .vendor-info h3 {
    color: #5B6EF5;
}

.vendor-logo {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    object-fit: contain;
    border: 2px solid #F3F4F6;
}

.vendor-info {
    flex: 1;
}

.vendor-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
    line-height: 1.4;
}

.vendor-type {
    display: none;
}

.vendor-category {
    display: none;
}

.vendor-description {
    font-size: 14px;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 16px;
}

.vendor-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vendor-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
}

.btn-call {
    background: #10B981;
    color: white;
}

.btn-call:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-1px);
}

.btn-email {
    background: #F3F4F6;
    color: #374151;
    border: 2px solid #E5E7EB;
}

.btn-email:hover {
    background: #E5E7EB;
    border-color: #D1D5DB;
}

/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */

.reviews-section {
    background: white;
    border-radius: 12px;
    padding: 32px;
    margin: 40px 0;
    border: 1px solid #E5E7EB;
}

/* Star Ratings Styling */
.rating-stars,
.review-rating,
.rating-label i {
    color: #ffc107 !important;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #E5E7EB;
}

.no-reviews {
    text-align: center;
    padding: 60px 20px;
}

.no-reviews-icon {
    font-size: 64px;
    margin-bottom: 16px;
    color: #D1D5DB;
}

.no-reviews h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}

.no-reviews p {
    font-size: 15px;
    color: #6B7280;
}

/* ==========================================================================
   RELATED SERVICES
   ========================================================================== */

.related-services-section {
    margin: 40px 0;
}

.related-services-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    display: inline-block;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    cursor: pointer;
    z-index: 10001;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1199px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .booking-sidebar {
        position: static !important;
        top: auto !important;
        order: 2;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile / tablet: disable sticky â€“ sidebar stacks normally (max-width: 991px) */
@media (max-width: 991px) {
    .booking-sidebar {
        position: relative !important;
        top: 0 !important;
    }
}

/* Mobile: disable sticky â€“ sidebar flows naturally (max-width: 768px) */
@media (max-width: 768px) {
    .booking-sidebar {
        position: static !important;
        top: auto !important;
    }

    .about-section {
        margin: 16px 0;
        padding: 20px 16px;
    }
}

/* ================================================== */
/* CAR RENTAL MOBILE OPTIMIZATION - January 2026     */
/* ================================================== */

@media (max-width: 767px) {
    .service-detail-container {
        padding: 20px 16px;
        overflow-x: hidden;
    }

    /* Breadcrumbs Compression - Mobile */
    .breadcrumbs {
        padding: 10px 12px !important;
        margin: 8px auto 8px auto !important;
        font-size: 11px !important;
        /* Force single line layout - prevent stacking */
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        /* CRITICAL - prevents line breaks */
        align-items: center !important;
        gap: 4px !important;
        overflow-x: auto !important;
        /* Allow horizontal scroll if too long */
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
    }

    /* All breadcrumb items inline */
    .breadcrumbs>span {
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        margin: 0 3px !important;
        font-size: 10px !important;
        flex-shrink: 0;
        /* Prevent shrinking */
    }

    /* Links inline */
    .breadcrumbs a {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline !important;
    }

    /* Separators inline */
    .breadcrumbs>span:not([itemprop]) {
        display: inline !important;
        margin: 0 4px !important;
        flex-shrink: 0;
    }

    /* Hide "Car Rental Tbilisi" breadcrumb on mobile - Simplify navigation */
    /* Using :has() selector to target breadcrumb containing "type=car-rental" link */
    /* This is more reliable than nth-child as it targets by content, not position */
    .breadcrumbs span[itemprop="itemListElement"]:has(a[href*="type=car-rental"]) {
        display: none;
    }

    /* Hide the separator span that comes immediately after "Car Rental Tbilisi" */
    .breadcrumbs span[itemprop="itemListElement"]:has(a[href*="type=car-rental"])+span {
        display: none;
    }

    /* Image Gallery - Mobile: stacked layout, full-width hero independent from thumbnails */
    .image-gallery {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        margin-bottom: 15px !important;
        padding: 20px 20px 0 20px !important;
        box-sizing: border-box !important;
    }

    .service-hero-image {
        width: 100% !important;
        height: 280px;
        margin: 0 0 12px 0;
    }

    .image-thumbnails {
        width: 100% !important;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        gap: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .thumbnail {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    /* Layout Reordering - Mobile */
    .service-detail-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        /* Override desktop grid gap: 40px */
        row-gap: 0 !important;
        column-gap: 0 !important;
    }

    /* Make service-main children direct flex children for ordering */
    .service-main {
        display: contents !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Reset any wrapper spacing */
    .detail-content-wrapper,
    .service-container {
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Image Gallery - MUST be first on mobile */
    .image-gallery {
        order: 1 !important;
    }

    /* Car Specifications - Second (right after gallery) on mobile */
    .car-specifications {
        order: 2 !important;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }

    /* Booking Sidebar - Mobile: disable sticky, flow naturally (order: 3) */
    .booking-sidebar {
        order: 3 !important;
        position: static !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 15px 0 !important;
    }

    /* Booking Form Optimization - Mobile */
    .service-price-header {
        padding: 12px 16px !important;
        margin: 12px 0 !important;
        border-radius: 12px;
    }

    /* Price Badge - Horizontal Layout - AGGRESSIVE OVERRIDE */
    .booking-sidebar .service-price-header .price-badge,
    .service-price-header .price-badge,
    .price-badge {
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        justify-content: center !important;
        gap: 6px !important;
        margin: 0 !important;
        margin-bottom: 10px !important;
        padding: 0 !important;
        text-align: center !important;
    }

    /* Price Amount - FORCE INLINE (scoped: avoid .price-amount elsewhere e.g. accommodation room cards) */
    .booking-sidebar .service-price-header .price-badge .price-amount,
    .service-price-header .price-badge .price-amount,
    .price-badge .price-amount,
    .service-price-header .price-amount,
    #display-price {
        display: inline !important;
        font-size: 26px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        color: white !important;
    }

    /* Price Unit - FORCE INLINE (scoped: avoid .price-unit elsewhere) */
    .booking-sidebar .service-price-header .price-badge .price-unit,
    .service-price-header .price-badge .price-unit,
    .price-badge .price-unit,
    .service-price-header .price-unit,
    #display-price-type {
        display: inline !important;
        font-size: 11px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        opacity: 0.9 !important;
        margin: 0 !important;
        padding: 0 !important;
        color: rgba(255, 255, 255, 0.85) !important;
    }

    /* Price Calculation - Compact - AGGRESSIVE OVERRIDE */
    .booking-sidebar .service-price-header .price-calculation,
    .service-price-header .price-calculation,
    .service-price-header #price-calculation,
    .price-calculation {
        padding: 10px 14px !important;
        border-radius: 8px !important;
        margin: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        display: block !important;
    }

    /* Calc Summary - FORCE HORIZONTAL */
    .booking-sidebar .service-price-header .price-calculation .calc-summary,
    .service-price-header .price-calculation .calc-summary,
    .price-calculation .calc-summary,
    .calc-summary {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Days Count - FORCE INLINE */
    .booking-sidebar .calc-summary #days-count,
    .service-price-header .calc-summary #days-count,
    .calc-summary #days-count,
    #days-count {
        display: inline-flex !important;
        align-items: center !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
        color: white !important;
    }

    /* Total Price Display - FORCE INLINE */
    .booking-sidebar .calc-summary #total-price-display,
    .service-price-header .calc-summary #total-price-display,
    .calc-summary #total-price-display,
    #total-price-display {
        display: inline-block !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
        color: white !important;
    }

    /* Remove extra margins from calc-summary children */
    .service-price-header .price-calculation .calc-summary>*,
    .calc-summary>* {
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .booking-card {
        padding: 16px !important;
        border-radius: 12px;
    }

    .booking-form-compact .form-group {
        margin-bottom: 12px;
    }

    .booking-form-compact label {
        font-size: 13px !important;
        margin-bottom: 6px !important;
    }

    .booking-form-compact input,
    .booking-form-compact textarea,
    .booking-form-compact select {
        font-size: 16px !important;
        /* Prevent iOS zoom on focus */
        padding: 10px 12px !important;
    }

    .btn-submit-booking {
        padding: 14px !important;
        font-size: 15px !important;
    }

    /* Booking Form - Stack Fields Vertically on Mobile */
    .booking-form-compact .form-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .booking-form-compact .form-row .form-group {
        width: 100% !important;
        flex: none !important;
        margin-bottom: 12px;
    }

    .booking-form-compact .form-row .form-group:last-child {
        margin-bottom: 0;
    }

    /* Ensure all inputs are full width on mobile */
    .booking-form-compact input[type="text"],
    .booking-form-compact input[type="email"],
    .booking-form-compact input[type="tel"],
    .booking-form-compact select,
    .booking-form-compact textarea {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* Better spacing for stacked form */
    .booking-form-compact .form-group {
        margin-bottom: 12px;
    }

    .booking-form-compact label {
        display: block;
        margin-bottom: 6px;
        font-size: 13px;
        font-weight: 500;
    }

    /* Car Specifications - Compact single row, scroll inside container only - Mobile */
    .car-specifications {
        padding: 12px 0 !important;
        overflow-x: hidden;
        min-width: 0;
        /* Margin is set above (margin: 15px 0) */
        /* Order is set above (order: 2) */
    }

    .spec-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
        padding: 0 !important;
        /* მხრებს არავინ „გაორმაგოს“ – ვიყენებთ container-ის padding-ს */
    }

    .specs-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        gap: 8px !important;
        padding: 0 0 4px 0 !important;
        /* თანაბარი left/right – მხოლოდ outer container-ის padding */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .specs-grid::-webkit-scrollbar {
        height: 3px;
    }

    .specs-grid::-webkit-scrollbar-thumb {
        background: #D1D5DB;
        border-radius: 2px;
    }

    .spec-card {
        /* 5 card-ს ვტევთ ეკრანზე: 2*12px padding + 4*8px gap = 56px */
        flex: 0 0 calc((100% - 56px) / 5) !important;
        width: calc((100% - 56px) / 5) !important;
        min-width: calc((100% - 56px) / 5) !important;
        padding: 8px 6px !important;
    }

    /* Hide mileage card on mobile — less important spec */
    .spec-card-mileage {
        display: none !important;
    }

    .spec-icon {
        font-size: 16px !important;
        margin-bottom: 2px !important;
    }

    .spec-value {
        font-size: 12px !important;
        margin-bottom: 1px !important;
    }

    .spec-label {
        font-size: 8px !important;
        opacity: 1 !important;
        /* Always visible on mobile (no hover) */
        height: auto !important;
        margin-top: 1px !important;
    }

    /* SEO Content Section - Fifth (after service content) */
    .seo-content-section {
        order: 5 !important;
    }

    /* Reviews Section - Sixth (after SEO content) */
    .reviews-section {
        order: 6 !important;
        margin: 15px 0 !important;
        padding: 20px 16px !important;
    }

    /* Service Content - Fourth on mobile (itinerary, details, etc.) */
    .service-content {
        order: 4 !important;
        margin-top: 15px !important;
        padding: 0 !important;
        /* Remove padding to allow full-width sections */
    }

    /* Tours only (mobile): keep itinerary right after about section.
       Move booking block below service content so no block appears in between. */
    .service-detail-layout:has(.tour-itinerary-section) .booking-sidebar {
        order: 5 !important;
    }

    /* Service Main - Reduce top spacing */
    .service-main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Additional spacing optimizations */
    .service-detail-container {
        padding: 20px 16px !important;
        overflow-x: hidden;
    }

    /* === COMPREHENSIVE SPACING RESET === */

    /* Remove all excessive margins from gallery elements */
    .service-images,
    .service-gallery,
    .service-hero {
        margin-bottom: 15px !important;
        padding-bottom: 0 !important;
    }

    /* Remove excessive padding from car specifications */
    .car-specifications .spec-title {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .car-specifications .specs-grid {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Remove excessive spacing from booking sidebar */
    .booking-sidebar>*:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Remove excessive spacing from price header */
    .service-price-header {
        margin-top: 0 !important;
    }

    /* Remove excessive spacing from booking card */
    .booking-card {
        margin-top: 0 !important;
    }

    /* Force consistent spacing between all major blocks using adjacent sibling selector */
    .service-detail-layout>*:not(:first-child) {
        margin-top: 15px !important;
    }

    /* Ensure first child has no top margin */
    .service-detail-layout>*:first-child {
        margin-top: 0 !important;
    }

    /* Section headers - reduce bottom margin */
    .section-title,
    .spec-title {
        margin-bottom: 12px !important;
    }

    /* About Section - Second on mobile (after gallery) */
    .about-section {
        order: 2 !important;
        margin: 16px 0 !important;
        padding: 20px 16px !important;
    }

    /* Details section spacing */
    .details-section-compact {
        margin: 15px 0 !important;
        padding: 16px !important;
    }

    /* SEO content section spacing */
    .seo-content-section {
        margin: 15px 0 !important;
        padding: 20px 16px !important;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .details-inline {
        flex-direction: column;
    }

    .detail-badge {
        width: 100%;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    /* ================================================== */
    /* TOUR SERVICE PAGE MOBILE OPTIMIZATION              */
    /* Business Type ID = 1 (Tours) - Mobile Only         */
    /* ================================================== */

    /* Section Title Typography - Mobile Optimization */
    .section-title {
        font-size: 18px !important;
        /* Reduced from 24px */
        font-weight: 700;
        line-height: 1.4 !important;
        /* Better readability */
        margin-bottom: 16px !important;
        /* Reduced from 20px */
        padding-bottom: 10px !important;
        /* Reduced from 12px */
    }

    .section-title i {
        font-size: 16px !important;
        /* Reduced icon size proportionally */
    }

    /* About Section Typography - Mobile Optimization */
    .about-section {
        padding: 20px 16px !important;
        /* Reduced from 32px */
    }

    .about-section .section-title {
        font-size: 18px !important;
        margin-bottom: 14px !important;
    }

    .description-text {
        font-size: 14px !important;
        /* Reduced from 15px */
        line-height: 1.7 !important;
        /* Optimal for mobile reading */
        color: #4B5563;
        margin-bottom: 20px !important;
        /* Reduced from 24px */
    }

    /* Vendor Card Repositioning - Move to Bottom on Mobile */
    /* Vendor card is inside booking-sidebar, so we need to reorder booking-sidebar children */
    .booking-sidebar {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Booking form comes first */
    .booking-sidebar>.service-price-header,
    .booking-sidebar>.booking-card {
        order: 1;
    }

    /* Vendor card - Mobile - Move to bottom of booking-sidebar */
    .booking-sidebar>.vendor-card {
        order: 999 !important;
        /* Force to bottom of booking-sidebar */
        margin-top: 20px !important;
    }

    /* Vendor Card Typography - Mobile Optimization */
    .vendor-card {
        padding: 20px 16px !important;
        /* Reduced from 24px */
        margin-top: 20px !important;
    }

    .vendor-info h3 {
        font-size: 16px !important;
        /* Reduced from 17px */
        line-height: 1.4 !important;
    }

    .vendor-description {
        font-size: 14px !important;
        /* Already 14px, ensure it's applied */
        line-height: 1.6 !important;
        /* Better readability */
    }

    .vendor-btn {
        font-size: 14px !important;
        /* Mobile-friendly button text */
        padding: 10px 14px !important;
    }

    /* Tour Itinerary Section - Mobile Optimization - Match vendor-card width */
    .tour-itinerary-section {
        margin: 15px 0 !important;
        order: 4 !important;
        /* After service-content (order: 5), before vendor-card */
        padding: 20px 0 !important;
        /* No horizontal padding - cards handle their own padding */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .tour-itinerary-section .section-title,
    .tour-itinerary-section h2 {
        font-size: 18px !important;
        /* Reduced for mobile */
        margin-bottom: 16px !important;
    }

    /* Tour itinerary timeline - Full Width */
    .tour-itinerary-section .itinerary-timeline {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Tour itinerary accordion items - Mobile Typography Optimization + Width Expansion */
    .tour-itinerary-section .itinerary-day {
        padding: 12px 16px !important;
        /* Reduced padding for mobile */
        margin-bottom: 10px !important;
        width: 100% !important;
        /* Force full width */
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .day-title,
    .day-header-content .day-title {
        font-size: 16px !important;
        /* Day titles - mobile optimized */
        line-height: 1.5 !important;
        font-weight: 600 !important;
    }

    .day-description,
    .day-description p {
        font-size: 14px !important;
        /* Day descriptions - mobile optimized */
        line-height: 1.7 !important;
        /* Optimal reading line-height */
    }

    .day-header-content {
        padding: 10px 0 !important;
        /* Reduced padding */
    }

    .day-content-wrapper {
        padding: 12px 0 !important;
        /* Reduced padding */
    }
}

@media (max-width: 575px) {
    .service-hero-image {
        height: 280px;
    }

    .image-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .thumbnail {
        height: 80px;
    }

    /* Even tighter spacing on small phones - Maintain proper edge spacing */
    .image-gallery {
        margin-bottom: 12px !important;
        padding: 15px 15px 0 15px !important;
        /* Slightly reduced but still maintains edge spacing */
    }

    .car-specifications {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
        padding: 12px 0 !important;
        /* side padding მაინც outer container-ზეა */
    }

    .booking-sidebar {
        margin: 12px 0 !important;
    }

    .service-content {
        margin-top: 12px !important;
    }

    .about-section,
    .details-section-compact,
    .seo-content-section {
        margin: 12px 0 !important;
    }

    /* Car Specifications - Small Mobile - Compact */
    .car-specifications {
        padding: 12px 0 !important;
        overflow-x: hidden;
        /* Margin is set above (margin: 12px 0) */
    }

    .spec-title {
        font-size: 16px !important;
        margin-bottom: 10px !important;
        padding: 0 !important;
    }

    .specs-grid {
        padding: 0 0 4px 0 !important;
        gap: 6px !important;
    }

    .spec-card {
        width: 68px !important;
        min-width: 68px !important;
        padding: 6px 4px !important;
    }

    .spec-icon {
        font-size: 15px !important;
        margin-bottom: 2px !important;
    }

    .spec-value {
        font-size: 11px !important;
    }

    .spec-label {
        font-size: 8px !important;
    }

    /* Booking Sidebar - Small Mobile - AGGRESSIVE OVERRIDE */
    .booking-sidebar .service-price-header,
    .service-price-header {
        padding: 10px 14px !important;
    }

    .booking-sidebar .price-badge,
    .service-price-header .price-badge,
    .price-badge {
        margin-bottom: 8px !important;
        gap: 5px !important;
    }

    .booking-sidebar .price-amount,
    .service-price-header .price-amount,
    .price-badge .price-amount,
    #display-price {
        font-size: 24px !important;
    }

    .booking-sidebar .price-unit,
    .service-price-header .price-unit,
    .price-badge .price-unit,
    #display-price-type {
        font-size: 10px !important;
    }

    .booking-sidebar .price-calculation,
    .service-price-header .price-calculation,
    .price-calculation {
        padding: 8px 12px !important;
    }

    .booking-sidebar #days-count,
    .service-price-header #days-count,
    .calc-summary #days-count,
    #days-count {
        font-size: 12px !important;
    }

    .booking-sidebar #total-price-display,
    .service-price-header #total-price-display,
    .calc-summary #total-price-display,
    #total-price-display {
        font-size: 13px !important;
    }

    .booking-card {
        padding: 16px !important;
    }

    .booking-form-compact input,
    .booking-form-compact textarea,
    .booking-form-compact select {
        font-size: 16px !important;
        /* Prevent zoom on iOS */
        padding: 10px !important;
    }
}

@media (max-width: 375px) {

    /* Breadcrumbs - Very Small Mobile (iPhone SE) */
    .breadcrumbs {
        padding: 8px 10px !important;
        margin: 8px auto !important;
        font-size: 10px !important;
    }

    .breadcrumbs span {
        font-size: 9px !important;
        margin: 0 2px !important;
    }

    .breadcrumbs a {
        max-width: 70px;
    }

    /* Car Specifications - Very Small Mobile */
    .car-specifications {
        padding: 10px 0 !important;
        margin: 10px 0 !important;
    }

    .spec-title {
        font-size: 15px !important;
        margin-bottom: 8px !important;
        padding: 0 12px;
    }

    .specs-grid {
        padding: 0 12px 4px 12px !important;
        gap: 6px !important;
    }

    .spec-card {
        width: 64px !important;
        min-width: 64px !important;
        padding: 6px 4px !important;
    }

    .spec-icon {
        font-size: 14px !important;
    }

    .spec-value {
        font-size: 10px !important;
    }

    .spec-label {
        font-size: 7px !important;
    }

    /* Booking Sidebar - Very Small Mobile */
    .service-price-header {
        padding: 12px 14px !important;
    }

    .booking-sidebar .price-amount,
    .service-price-header .price-amount,
    .price-badge .price-amount,
    #display-price {
        font-size: 22px !important;
    }

    .booking-sidebar .price-unit,
    .service-price-header .price-unit,
    .price-badge .price-unit,
    #display-price-type {
        font-size: 12px !important;
    }

    .booking-card {
        padding: 14px !important;
    }

    .booking-form-compact label {
        font-size: 12px !important;
    }

    .booking-form-compact input,
    .booking-form-compact textarea,
    .booking-form-compact select {
        font-size: 16px !important;
        /* Prevent zoom on iOS */
        padding: 10px !important;
    }

    .btn-submit-booking {
        padding: 12px !important;
        font-size: 14px !important;
    }
}

/* ==========================================================================
   WINE SHOP BOOKING FORM STYLES
   ========================================================================== */

/* Package Selection Cards */
.package-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-label i {
    color: #5B6EF5;
}

.package-options {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.package-card {
    position: relative;
    display: block;
    padding: 14px 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.package-card:hover {
    background: #f3f4f6;
    border-color: #5B6EF5;
}

.package-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.package-card input[type="radio"]:checked+.package-content {
    color: #5B6EF5;
}

.package-card:has(input:checked) {
    background: #eff6ff;
    border-color: #5B6EF5;
    box-shadow: 0 0 0 3px rgba(91, 110, 245, 0.1);
}

/* Fallback for browsers that don't support :has() */
.package-card.selected {
    background: #eff6ff;
    border-color: #5B6EF5;
    box-shadow: 0 0 0 3px rgba(91, 110, 245, 0.1);
}

.package-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.package-card:has(input:checked) .package-name,
.package-card.selected .package-name {
    color: #5B6EF5;
}

.package-desc {
    font-size: 12px;
    color: #6b7280;
}

.package-price {
    font-size: 16px;
    font-weight: 700;
    color: #5B6EF5;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-label:hover {
    background: #f3f4f6;
    border-color: #5B6EF5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 14px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-label span i {
    color: #5B6EF5;
}

.checkbox-label input:checked~span {
    color: #5B6EF5;
    font-weight: 500;
}

.checkbox-label:has(input:checked) {
    background: #eff6ff;
    border-color: #5B6EF5;
}

.checkbox-label.selected {
    background: #eff6ff;
    border-color: #5B6EF5;
}

/* Time Slot Select */
select.form-input {
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

select.form-input:focus {
    outline: none;
    border-color: #5B6EF5;
    box-shadow: 0 0 0 3px rgba(91, 110, 245, 0.1);
}

/* Responsive adjustments for package cards */
@media (max-width: 575px) {
    .package-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .package-price {
        align-self: flex-end;
    }
}

/* ==========================================================================
   SEO CONTENT SECTION (Car Rental)
   ========================================================================== */

.seo-content-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.seo-content-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 10px;
}

.seo-content-section h3 {
    color: #34495e;
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.seo-content {
    line-height: 1.8;
    color: #4a5568;
}

.seo-content p {
    margin-bottom: 15px;
}

.seo-content strong {
    color: #0066cc;
    font-weight: 600;
}

.seo-features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.seo-features-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.seo-features-list li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
    font-size: 1.2rem;
}

.seo-features-list li:last-child {
    border-bottom: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .seo-content-section {
        padding: 20px 15px;
    }

    .seo-content-section h2 {
        font-size: 1.4rem;
    }

    .seo-content-section h3 {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   TIME SELECT DROPDOWNS - CAR RENTAL BOOKING
   ========================================================================== */

/* Time dropdown styling */
.time-select {
    width: 100%;
    min-width: var(--booking-time-select-min);
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.time-select:hover {
    border-color: #cbd5e0;
}

.time-select:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.time-select:disabled {
    background-color: #f7fafc;
    color: #a0aec0;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Field hint text */
.field-hint {
    font-size: 12px;
    color: #718096;
    font-weight: normal;
    margin-left: 4px;
}

/* Loading state */
.time-select.loading {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z' opacity='.25'/%3E%3Cpath fill='%234299e1' d='M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z'%3E%3CanimateTransform attributeName='transform' type='rotate' dur='0.75s' values='0 12 12;360 12 12' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
    background-position: right 12px center;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .time-select {
        font-size: 16px;
        /* Prevent zoom on iOS */
        padding: 10px 14px;
    }
}

/* ==========================================================================
   CANCELLATION POLICY SECTION
   ========================================================================== */

/* Cancellation Policy Section - Compact Style */
.cancellation-policy-section {
    margin-bottom: 24px;
}

.cancellation-policy-section .cancellation-policy-content {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 16px 20px;
    border-radius: 8px;
    line-height: 1.7;
    color: #78350F;
    font-size: 14px;
    margin-top: 12px;
}

.cancellation-policy-content p {
    margin-bottom: 8px;
}

.cancellation-policy-content p:last-child {
    margin-bottom: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cancellation-policy-section .cancellation-policy-content {
        padding: 14px 16px;
        font-size: 13px;
        line-height: 1.6;
    }
}

/* ==========================================================================
   RENTAL PERIOD VALIDATION (Car Rental)
   ========================================================================== */

.rental-validation-container {
    margin-top: 12px;
    min-height: 0;
}

.rental-validation-message {
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 500;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
    animation: rentalValidationFadeIn 0.3s ease-in;
}

.rental-validation-error {
    background-color: #FEE2E2;
    border-left: 4px solid #E53E3E;
    color: #C53030;
}

.rental-validation-success {
    background-color: #F0FFF4;
    border-left: 4px solid #38A169;
    color: #276749;
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.rental-requirements-badge {
    display: none;
    /* Hidden: same info shown in validation message below */
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.rental-requirements-badge .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.rental-requirements-badge .badge-info {
    background-color: #DBEAFE;
    color: #1E40AF;
}

.rental-requirements-badge .badge-warning {
    background-color: #FEF3C7;
    color: #92400E;
}

.rental-requirements-badge .badge-secondary {
    background-color: #E5E7EB;
    color: #374151;
}

@keyframes rentalValidationFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   NATIVE DATE INPUT STYLING (Minimal)
   ============================================ */

.form-input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background-color: #ffffff;
    color: #2d3748;
    font-family: inherit;
    transition: all 0.3s ease;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    cursor: pointer;
}

.form-input[type="date"]:hover {
    border-color: #6366f1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.form-input[type="date"]:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Calendar Icon - MINIMAL STYLING ONLY */
.form-input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(40%) sepia(91%) saturate(2476%) hue-rotate(223deg) brightness(99%) contrast(93%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.form-input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.form-input[type="date"]::-moz-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(40%) sepia(91%) saturate(2476%) hue-rotate(223deg) brightness(99%) contrast(93%);
    opacity: 0.8;
}

.form-input[type="date"]::-moz-calendar-picker-indicator:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .form-input[type="date"] {
        font-size: 16px;
        padding: 12px;
    }
}

/* ============================================
   PARTICIPANTS STEPPER COMPONENT
   ============================================ */

.stepper-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    max-width: 140px;
}

.stepper-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    color: #5c59e8;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.stepper-btn:hover:not(:disabled) {
    background: #5c59e8;
    color: #fff;
}

.stepper-btn:disabled {
    background: #f0f0f0;
    color: #ccc;
    cursor: not-allowed;
}

.stepper-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.stepper-minus {
    border-right: 1px solid #e0e0e0;
}

.stepper-plus {
    border-left: 1px solid #e0e0e0;
}

input.stepper-input {
    width: 60px;
    height: 40px;
    border: none;
    border-radius: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: transparent;
    line-height: 1.2;
    appearance: textfield;
    -moz-appearance: textfield;
    outline: none;
    box-shadow: none;
}

input.stepper-input::-webkit-outer-spin-button,
input.stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 768px) {
    .stepper-control {
        max-width: 130px;
    }

    .stepper-btn {
        width: 40px;
        height: 40px;
    }

    input.stepper-input {
        width: 50px;
        height: 40px;
        font-size: 15px;
    }

    /* Mobile-only: place label and stepper inline for Participants (class-based) */
    .form-group-stepper-inline {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .form-group-stepper-inline label {
        margin-bottom: 0;
        flex: 0 0 40%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .form-group-stepper-inline .stepper-control {
        margin-top: 0;
        flex: 0 0 auto;
    }

    .form-group-stepper-inline .form-error {
        flex-basis: 100%;
        margin-top: 4px;
    }

    /* Date input inside inline group (Preferred Date) */
    .form-group-stepper-inline .form-input {
        flex: 0 0 35%;
        max-width: 45%;
        width: 100%;
    }

    /* Mobile-only: place label and stepper inline for Participants (automatic via :has) */
    .booking-form-compact .form-row .form-group:has(.stepper-control) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
    }

    .booking-form-compact .form-row .form-group:has(.stepper-control)>label {
        margin-bottom: 0;
        flex: 1 1 auto;
    }

    .booking-form-compact .form-row .form-group:has(.stepper-control)>.stepper-control {
        margin-top: 0;
        flex: 0 0 auto;
    }

    .booking-form-compact .form-row .form-group:has(.stepper-control) .form-error {
        flex-basis: 100%;
        margin-top: 4px;
    }
}
/* ==========================================================================
   NO DEPOSIT BADGE - Image Overlay (for Car Rentals)
   ========================================================================== */

.img-badge-no-deposit {
    position: absolute;
    top: 15px;
    left: 15px;
    right: auto;
    background-color: #28a745;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 6px;
    bottom: auto;
    left: 15px;
    width: auto;
    max-width: fit-content;
    height: auto;
    transition: all 0.3s ease;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.img-badge-no-deposit i {
    font-size: 11px;
}

.img-badge-no-deposit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Ensure image container has position relative for badge positioning */
.service-hero-image,
.car-rental-card-image-container {
    position: relative;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .img-badge-no-deposit {
        top: 10px;
        left: 10px;
        right: auto;
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .img-badge-no-deposit i {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .img-badge-no-deposit {
        top: 8px;
        left: 8px;
        right: auto;
        padding: 4px 8px;
        font-size: 10px;
        gap: 4px;
    }
    
    .img-badge-no-deposit i {
        font-size: 9px;
    }
}

/* ==========================================================================
   BADGE VISIBILITY FIXES - Ensure badge is always visible
   ========================================================================== */

/* Force badge visibility and prevent conflicts */
.img-badge-no-deposit {
    position: absolute !important;
    z-index: 5 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
    pointer-events: auto !important;
    transform: none !important;
    bottom: auto !important;
    left: 15px !important;
    right: auto !important;
    width: auto !important;
    max-width: fit-content !important;
    height: auto !important;
}

/* Ensure parent containers do not hide the badge */
.service-hero-image {
    position: relative !important;
    overflow: hidden !important;
}

/* Prevent any global styles from hiding the badge */
.img-badge-no-deposit * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* ==========================================================================
   MOBILE BADGE CONTAINER FIXES - Ensure badge stays within image bounds
   ========================================================================== */

@media (max-width: 768px) {
    .service-hero-image {
        position: relative !important;
        overflow: hidden !important;
    }
    
    .service-hero-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }
}

@media (max-width: 480px) {
    .service-hero-image {
        position: relative !important;
        overflow: hidden !important;
    }
    
    .service-hero-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }
}
