/*
Theme Name: Demirkol Auto Theme
Theme URI: DemirkolAutos.NL
Author: Custom DEMIKOL AUTOS Theme
Description: Custom high-fidelity car dealership theme.
Version: 1.2
*/

/* NOTE: Layout utilities are handled by Tailwind (loaded in functions.php).
   This file contains custom component styles.
*/

body {
    font-family: 'Outfit', sans-serif;
}

/* --- Global Logo Override --- */
/* Ensure logo remains consistent across all pages (home, shop, products, etc.) */
/* Override Tailwind classes and any inline styles */
.logo-img,
.site-logo,
header .logo,
.header-logo {
    max-width: 320px !important;
    width: auto !important;
    height: auto !important;
}

/* Override Tailwind height classes specifically */
.logo-img.h-20,
.logo-img.md\:h-48 {
    height: auto !important;
}

/* Override WooCommerce image max-width for logo specifically */
.woocommerce .logo-img,
.woocommerce-page .logo-img,
.woocommerce header .logo-img,
.woocommerce-page header .logo-img {
    max-width: 320px !important;
    width: auto !important;
    height: auto !important;
}

/* --- Mobile Menu --- */
#mobile-menu { 
    transition: max-height 0.3s ease-in-out; 
    max-height: 0; 
    overflow: hidden; 
}
#mobile-menu.open { 
    max-height: 400px; 
}

/* --- Sticky Sidebar --- */
.sticky-sidebar { 
    position: -webkit-sticky; 
    position: sticky; 
    top: 100px; 
}

/* --- Car Features Grid --- */
.wcc-spec-block { 
    display: grid; 
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 8px; 
    border-top: 1px solid #e5e7eb; 
    padding-top: 12px; 
    margin-top: 12px; 
    font-size: 0.85rem; 
    color: #64748b; 
}
@media (max-width: 350px) { 
    .wcc-spec-block { grid-template-columns: 1fr; } 
}

.car-spec { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}
.car-spec i, .car-spec svg { 
    color: #0073aa; 
    width: 16px; 
    height: 16px; 
    flex-shrink: 0; 
}
.wcc-icon { 
    fill: currentColor; 
    display: inline-block; 
    vertical-align: middle; 
}

/* --- License Plate Frame --- */
.wcc-numberplate-frame {
    background-image: url('https://demirkolautos.nl/wp-content/plugins/woo-cars-catalog/assets/images/wcc-plate-background.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%; 
    max-width: 220px; 
    height: 50px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0 10px 0 35px; 
    border: none; 
    border-radius: 4px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.15); 
    margin: 0 auto;
}

.wcc-kenteken-input { 
    width: 100%; 
    background: transparent; 
    border: none; 
    text-align: center; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 1.2rem; 
    color: #1f2937; 
    outline: none; 
    font-family: "D-DIN", "DIN 1451", "Outfit", monospace; 
    letter-spacing: 1px; 
    height: 100%; 
    margin-top: 1px; 
}
.wcc-kenteken-input::placeholder { 
    color: #6b7280; 
    opacity: 0.6; 
}

/* --- Showroom Filters --- */
.showroom-filter-widget h3 { 
    font-weight: 700; 
    margin-bottom: 1rem; 
    color: #0f172a; 
    font-size: 1.125rem; 
}
.showroom-filter-widget ul li { 
    margin-bottom: 0.5rem; 
}
.showroom-filter-widget ul li a { 
    color: #64748b; 
    transition: color 0.2s; 
}
.showroom-filter-widget ul li a:hover { 
    color: #0073aa; 
}

/* --- Service Lists --- */
.service-list { 
    list-style: none !important; 
    padding-left: 0 !important; 
    margin: 0;
}
.service-list li { 
    position: relative !important; 
    padding-left: 1.75rem !important; 
    margin-bottom: 0.625rem; 
    line-height: 1.6;
    list-style: none !important;
}
.service-list li::before { 
    content: "\f00c"; 
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; 
    position: absolute; 
    left: 0; 
    top: 0.15em;
    color: #0073aa;
    font-size: 0.9rem;
    width: auto;
    display: inline-block;
}

/* --- Forms --- */
.wcc-exchange-box input[readonly] { 
    background-color: #f8fafc; 
    cursor: not-allowed; 
    color: #94a3b8; 
    border-color: #e2e8f0; 
}

/* --- Pagination --- */
.page-numbers {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    border-radius: 8px;
    background-color: #f1f5f9;
    color: #0f172a !important; 
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    gap: 0.5rem;
}

.page-numbers.current {
    background-color: #0073aa !important;
    color: white !important;
    border-color: #0073aa !important;
}

.page-numbers:hover,
a.page-numbers:hover {
    background-color: #0073aa !important;
    color: white !important;
    border-color: #0073aa !important;
    text-decoration: none !important;
}

/* Fix icon size/alignment */
.page-numbers i {
    font-size: 0.8em;
    margin-top: 1px; /* Optical alignment */
}

/* ========================================
   WOO CARS CATALOG PLUGIN INTEGRATION
   ======================================== */

/* Booking form container */
.wcc-booking-container {
    max-width: none;
}

.wcc-booking-form-wrapper {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
}

/* Step indicators */
.wcc-booking-steps {
    background: linear-gradient(135deg, #0f172a 0%, #0073aa 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 16px 16px 0 0;
}

.wcc-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.wcc-step.active {
    color: white;
}

.wcc-step-number {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.wcc-step.active .wcc-step-number {
    background: #0073aa;
}

.wcc-step-label {
    font-size: 0.85rem;
    font-weight: 600;
    display: none;
}

@media (min-width: 640px) {
    .wcc-step-label {
        display: block;
    }
}

/* Form content */
.wcc-booking-form {
    padding: 2rem;
}

.wcc-form-step h3 {
    color: #0f172a;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Form inputs */
.wcc-form-group {
    margin-bottom: 1.5rem;
}

.wcc-form-group label {
    display: block;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.wcc-form-group input[type="text"],
.wcc-form-group input[type="email"],
.wcc-form-group input[type="tel"],
.wcc-form-group input[type="date"],
.wcc-form-group select,
.wcc-form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e7ff;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: white;
    color: #0f172a;
}

.wcc-form-group input:focus,
.wcc-form-group select:focus,
.wcc-form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

/* Service cards */
.wcc-service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.wcc-service-card {
    position: relative;
    cursor: pointer;
}

.wcc-service-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.wcc-service-card input[type="radio"]:checked + .wcc-service-content {
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
    color: white;
    border-color: #0073aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.wcc-service-content {
    background: #f8fafc;
    border: 2px solid #e0e7ff;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.wcc-service-content:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.15);
}

.wcc-service-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.wcc-service-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.wcc-service-desc {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Calendar integration */
.wcc-calendar-widget {
    background: white;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wcc-calendar-btn {
    background: #0073aa !important;
    border: none;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.wcc-calendar-btn:hover:not(:disabled) {
    background: #005177 !important;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.2);
    transform: translateY(-1px);
}

.wcc-calendar-btn:disabled {
    background: #cbd5e0 !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.wcc-calendar-day.available {
    background: #e0f2fe;
    color: #0073aa;
    border: 1px solid #bae6fd;
}

.wcc-calendar-day.available:hover {
    background: #bae6fd;
    border-color: #0073aa;
}

.wcc-calendar-day.available.selected {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.wcc-calendar-day.limited {
    background: #fef3c7;
    color: #92400e;
    border-color: #fbbf24;
}

.wcc-calendar-day.disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Buttons */
.wcc-btn {
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
}

.wcc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.wcc-btn:active {
    transform: translateY(0);
}

.wcc-btn-secondary {
    background: #f8fafc;
    color: #0073aa;
    border: 2px solid #0073aa;
}

.wcc-btn-secondary:hover {
    background: #e0f2fe;
}

/* Form messages */
.wcc-form-message {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-weight: 500;
}

.wcc-form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.wcc-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Summary/Confirmation */
.wcc-summary-box {
    background: #f8fafc;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.wcc-summary-section h4 {
    color: #0073aa;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.wcc-summary-value {
    color: #0f172a;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 640px) {
    .wcc-booking-form {
        padding: 1.5rem;
    }
    
    .wcc-form-step h3 {
        font-size: 1.5rem;
    }
    
    .wcc-service-options {
        grid-template-columns: 1fr;
    }
    
    .wcc-booking-steps {
        padding: 1rem;
    }
    
    /* Service list mobile fix - ensure checkmark doesn't overlap text */
    .service-list li {
        padding-left: 1.5rem !important;
        margin-bottom: 0.5rem;
        line-height: 1.5;
        font-size: 0.95rem;
    }
    
    .service-list li::before {
        font-size: 0.8rem;
        top: 0.2em;
    }
}

/* =============================================
   BOOKING FORM STEPPER REDESIGN
   ============================================= */

/* Stepper Container */
.wcc-booking-steps {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%) !important;
    padding: 32px 40px !important;
    gap: 0 !important;
    position: relative;
}

/* Individual Step */
.wcc-step {
    flex: 1;
    text-align: center;
    position: relative;
    color: rgba(255, 255, 255, 0.4) !important;
    font-weight: 500;
    z-index: 1;
}

/* Connector Line Between Steps */
.wcc-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15) !important;
    z-index: 0;
    transition: background 0.4s ease;
}

/* Active/Completed connector line */
.wcc-step.active::after,
.wcc-step.completed::after {
    background: #0073aa !important;
}

/* Step Number Circle */
.wcc-step-number {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    margin: 0 auto 10px !important;
    border: 3px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    position: relative;
    z-index: 2;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease;
    line-height: 1 !important;
}

/* Active Step Number */
.wcc-step.active .wcc-step-number {
    background: #0073aa !important;
    color: white !important;
    border-color: #0073aa !important;
    box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.3), 0 4px 12px rgba(0, 115, 170, 0.4) !important;
    transform: scale(1.1);
}

/* Completed Step Number - with checkmark */
.wcc-step.completed .wcc-step-number {
    background: #10b981 !important;
    color: white !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2) !important;
}

/* Hide number on completed, show checkmark */
.wcc-step.completed .wcc-step-number::before {
    content: '✓';
    font-size: 18px;
    font-weight: bold;
}

/* Active/Completed Step Text */
.wcc-step.active,
.wcc-step.completed {
    color: white !important;
}

/* Step Label */
.wcc-step-label {
    display: block;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.8px !important;
    margin-top: 4px;
    opacity: 0.9;
}

/* Form Wrapper Styling */
.wcc-booking-form-wrapper {
    background: white !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden;
}

/* Form Content Area */
.wcc-booking-form {
    padding: 40px !important;
}

/* Service Cards Grid */
.wcc-service-options {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
}

/* Service Card Styling */
.wcc-service-card {
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 24px 16px !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
    background: #fafafa !important;
}

.wcc-service-card:hover {
    border-color: #0073aa !important;
    background: #f0f9ff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.15);
}

.wcc-service-card input:checked + .wcc-service-content {
    /* Parent card styling when selected */
}

.wcc-service-card:has(input:checked) {
    border-color: #0073aa !important;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15), 0 4px 12px rgba(0, 115, 170, 0.2) !important;
}

.wcc-service-icon {
    font-size: 32px !important;
    margin-bottom: 12px !important;
}

.wcc-service-title {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #0f172a !important;
    margin-bottom: 4px;
}

.wcc-service-desc {
    font-size: 12px !important;
    color: #64748b !important;
}

/* Form Buttons */
.wcc-btn-next,
.wcc-btn-submit {
    background: linear-gradient(135deg, #0073aa 0%, #005d8a 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3) !important;
}

.wcc-btn-next:hover,
.wcc-btn-submit:hover {
    background: linear-gradient(135deg, #005d8a 0%, #004a6e 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 115, 170, 0.4) !important;
}

.wcc-btn-back {
    background: transparent !important;
    color: #64748b !important;
    border: 2px solid #e5e7eb !important;
    padding: 14px 32px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
}

.wcc-btn-back:hover {
    border-color: #0073aa !important;
    color: #0073aa !important;
    background: #f0f9ff !important;
}

/* Form Navigation */
.wcc-form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

/* Form Headers */
.wcc-booking-form h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
}

/* Input Fields */
.wcc-booking-form input[type="text"],
.wcc-booking-form input[type="email"],
.wcc-booking-form input[type="tel"],
.wcc-booking-form select,
.wcc-booking-form textarea {
    border: 2px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
    background: #fafafa !important;
}

.wcc-booking-form input:focus,
.wcc-booking-form select:focus,
.wcc-booking-form textarea:focus {
    border-color: #0073aa !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1) !important;
    outline: none !important;
}

/* Labels */
.wcc-booking-form label {
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 8px !important;
    display: block;
}

/* Date/Time Picker Styling */
.wcc-datetime-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .wcc-booking-steps {
        padding: 20px 16px !important;
        flex-wrap: wrap;
        gap: 8px !important;
    }
    
    .wcc-step {
        flex: 0 0 48%;
        margin-bottom: 12px;
    }
    
    .wcc-step:not(:last-child)::after {
        display: none;
    }
    
    .wcc-step-number {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
    
    .wcc-step-label {
        font-size: 10px !important;
    }
    
    .wcc-service-options {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .wcc-booking-form {
        padding: 24px 16px !important;
    }
    
    .wcc-form-navigation {
        flex-direction: column;
        gap: 12px;
    }
    
    .wcc-btn-next,
    .wcc-btn-back,
    .wcc-btn-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .wcc-service-options {
        grid-template-columns: 1fr !important;
    }
    
    .wcc-step {
        flex: 0 0 100%;
    }
}

/* =============================================
   BOOKING FORM - NAVIGATION BUTTONS FIX
   ============================================= */

/* Navigation Container - Always visible */
.wcc-form-navigation {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 40px !important;
    padding-top: 28px !important;
    border-top: 2px solid #f1f5f9 !important;
    gap: 16px;
}

/* Primary Button (Next) */
.wcc-btn.wcc-btn-primary,
#next-btn {
    background: linear-gradient(135deg, #0073aa 0%, #005d8a 100%) !important;
    color: white !important;
    border: none !important;
    padding: 16px 40px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.35) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wcc-btn.wcc-btn-primary:hover,
#next-btn:hover {
    background: linear-gradient(135deg, #005d8a 0%, #004a6e 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 115, 170, 0.45) !important;
}

/* Secondary Button (Back/Previous) */
.wcc-btn.wcc-btn-secondary,
#prev-btn {
    background: white !important;
    color: #374151 !important;
    border: 2px solid #d1d5db !important;
    padding: 16px 40px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wcc-btn.wcc-btn-secondary:hover,
#prev-btn:hover {
    border-color: #0073aa !important;
    color: #0073aa !important;
    background: #f0f9ff !important;
    transform: translateY(-2px) !important;
}

/* Success Button (Submit) */
.wcc-btn.wcc-btn-success,
#submit-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    border: none !important;
    padding: 16px 48px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wcc-btn.wcc-btn-success:hover,
#submit-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.45) !important;
}

/* Service Cards - Improved Grid */
.wcc-service-options {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 20px;
}

/* Service Card - Better Sizing */
.wcc-service-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 28px 20px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    background: white !important;
    min-height: 140px;
    text-align: center;
}

.wcc-service-card:hover {
    border-color: #0073aa !important;
    background: #f8fbff !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0, 115, 170, 0.15) !important;
}

.wcc-service-card:has(input:checked) {
    border-color: #0073aa !important;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
    box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.12), 0 8px 24px rgba(0, 115, 170, 0.2) !important;
    transform: translateY(-2px) !important;
}

.wcc-service-content {
    text-align: center;
}

.wcc-service-icon {
    font-size: 40px !important;
    margin-bottom: 14px !important;
    display: block;
}

.wcc-service-title {
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #0f172a !important;
    margin-bottom: 6px;
}

.wcc-service-desc {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.4;
}

/* Hide radio buttons inside cards */
.wcc-service-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Responsive - Tablet */
@media (max-width: 900px) {
    .wcc-service-options {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
    .wcc-service-options {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .wcc-service-card {
        padding: 20px 12px !important;
        min-height: 120px;
    }
    
    .wcc-service-icon {
        font-size: 32px !important;
    }
    
    .wcc-service-title {
        font-size: 14px !important;
    }
    
    .wcc-service-desc {
        font-size: 11px !important;
    }
    
    .wcc-form-navigation {
        flex-direction: column-reverse !important;
        gap: 12px !important;
    }
    
    .wcc-btn.wcc-btn-primary,
    .wcc-btn.wcc-btn-secondary,
    .wcc-btn.wcc-btn-success,
    #next-btn,
    #prev-btn,
    #submit-btn {
        width: 100% !important;
        padding: 14px 24px !important;
    }
}

@media (max-width: 400px) {
    .wcc-service-options {
        grid-template-columns: 1fr !important;
    }
}

/* =============================================
   BOOKING FORM - CARD FIXES (Clean Selection)
   ============================================= */

/* Remove card-in-card effect - cleaner selection */
.wcc-service-card {
    position: relative;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px 16px !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    background: #ffffff !important;
    min-height: 130px;
    box-shadow: none !important;
}

/* Simple hover - just border change */
.wcc-service-card:hover {
    border-color: #0073aa !important;
    background: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Selected state - light blue border, very subtle background */
.wcc-service-card:has(input:checked) {
    border-color: #0073aa !important;
    border-width: 2px !important;
    background: #f8fbff !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Add checkmark icon for selected card */
.wcc-service-card:has(input:checked)::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 10px;
    width: 22px;
    height: 22px;
    background: #0073aa;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Service content - clean styling */
.wcc-service-content {
    text-align: center;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.wcc-service-icon {
    font-size: 36px !important;
    margin-bottom: 10px !important;
    display: block;
    line-height: 1;
}

.wcc-service-title {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #1e293b !important;
    margin-bottom: 4px;
    background: transparent !important;
}

.wcc-service-desc {
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.3;
    background: transparent !important;
}

/* Ensure inner elements have no card-like styling */
.wcc-service-card * {
    box-shadow: none !important;
}

/* Navigation - ensure visible with proper spacing */
.wcc-form-navigation {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 32px !important;
    padding-top: 24px !important;
    border-top: 1px solid #e2e8f0 !important;
    gap: 16px;
}

/* Make sure buttons show when needed (override any inline display:none on visible states) */
#next-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

#next-btn::after {
    content: '→';
    font-size: 18px;
}

#prev-btn::before {
    content: '←';
    font-size: 18px;
    margin-right: 8px;
}

/* When JS sets display:none, respect it */
#prev-btn[style*="display: none"],
#next-btn[style*="display: none"],
#submit-btn[style*="display: none"] {
    display: none !important;
}

/* =============================================
   BOOKING FORM - FINAL CLEAN DESIGN
   ============================================= */

/* Stepper Header - Blue gradient */
.wcc-booking-steps {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 50%, #0369a1 100%) !important;
    padding: 40px 60px 35px !important;
    gap: 0 !important;
    position: relative;
    border-radius: 16px 16px 0 0 !important;
}

/* Step Item */
.wcc-step {
    flex: 1;
    text-align: center;
    position: relative;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 500;
    z-index: 1;
}

/* Connector Line */
.wcc-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    left: 55%;
    width: 90%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3) !important;
    z-index: 0;
}

.wcc-step.active::after,
.wcc-step.completed::after {
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Step Number Circle */
.wcc-step-number {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 46px !important;
    height: 46px !important;
    margin: 0 auto 12px !important;
    border: 3px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    position: relative;
    z-index: 2;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.3s ease;
    line-height: 1 !important;
}

/* Active Step */
.wcc-step.active .wcc-step-number {
    background: white !important;
    color: #0284c7 !important;
    border-color: white !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Completed Step */
.wcc-step.completed .wcc-step-number {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #0284c7 !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
}

.wcc-step.active,
.wcc-step.completed {
    color: white !important;
}

/* Step Label */
.wcc-step-label {
    display: block;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.8px !important;
    font-weight: 600 !important;
}

/* Form Wrapper */
.wcc-booking-form-wrapper {
    background: white !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
}

/* Form Content */
.wcc-booking-form {
    padding: 40px 50px 30px !important;
}

.wcc-booking-form h3 {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-bottom: 30px !important;
}

/* Service Cards Grid - 3 per row */
.wcc-service-options {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 0 !important;
}

/* Service Card */
.wcc-service-card {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 24px 16px !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    background: #ffffff !important;
    min-height: 140px;
    text-align: center;
    box-shadow: none !important;
}

.wcc-service-card:hover {
    border-color: #0284c7 !important;
    background: #f8fbff !important;
}

/* Selected Card */
.wcc-service-card:has(input:checked) {
    border-color: #0284c7 !important;
    background: #f0f9ff !important;
    box-shadow: none !important;
}

/* Hide radio */
.wcc-service-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Service Content */
.wcc-service-content {
    text-align: center;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.wcc-service-icon {
    font-size: 38px !important;
    margin-bottom: 12px !important;
    display: block;
    line-height: 1;
}

.wcc-service-title {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #1e293b !important;
    margin-bottom: 4px;
}

.wcc-service-desc {
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.4;
}

/* =============================================
   NAVIGATION BUTTONS - Always Visible
   ============================================= */

.wcc-form-navigation {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 40px !important;
    padding: 24px 0 0 !important;
    border-top: 1px solid #e5e7eb !important;
}

/* Back Button */
.wcc-btn.wcc-btn-secondary,
#prev-btn {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

.wcc-btn.wcc-btn-secondary:hover,
#prev-btn:hover {
    background: #e2e8f0 !important;
    color: #334155 !important;
}

/* Next Button */
.wcc-btn.wcc-btn-primary,
#next-btn {
    background: #0284c7 !important;
    color: white !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3) !important;
}

.wcc-btn.wcc-btn-primary:hover,
#next-btn:hover {
    background: #0369a1 !important;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4) !important;
}

/* Submit Button */
.wcc-btn.wcc-btn-success,
#submit-btn {
    background: #16a34a !important;
    color: white !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3) !important;
}

.wcc-btn.wcc-btn-success:hover,
#submit-btn:hover {
    background: #15803d !important;
}

/* Arrow icons */
#next-btn::after {
    content: '→';
    font-size: 16px;
}

#prev-btn::before {
    content: '←';
    font-size: 16px;
}

/* Respect JS hide/show */
#prev-btn[style*="display: none"],
#next-btn[style*="display: none"],
#submit-btn[style*="display: none"] {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .wcc-booking-steps {
        padding: 24px 20px !important;
    }
    
    .wcc-step-label {
        font-size: 9px !important;
    }
    
    .wcc-step-number {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }
    
    .wcc-service-options {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .wcc-booking-form {
        padding: 24px 20px !important;
    }
    
    .wcc-form-navigation {
        flex-direction: column-reverse !important;
        gap: 12px;
    }
    
    #next-btn, #prev-btn, #submit-btn,
    .wcc-btn.wcc-btn-primary,
    .wcc-btn.wcc-btn-secondary,
    .wcc-btn.wcc-btn-success {
        width: 100% !important;
        justify-content: center;
    }
}

@media (max-width: 500px) {
    .wcc-service-options {
        grid-template-columns: 1fr !important;
    }
    
    .wcc-step:not(:last-child)::after {
        display: none;
    }
}

/* Logo Image Override - Fix WCC plugin global img rule */
.logo-img {
    max-width: 320px !important;
    width: auto !important;
}
