:root {
    --bp-primary: #059669;
    --bp-primary-dark: #047857;
    --bp-secondary: #1f2937;
    --bp-text: #1f2937;
    --bp-text-light: #6b7280;
    --bp-bg-light: #f9fafb;
    --bp-border: #e5e7eb;
    --bp-white: #ffffff;
    --bp-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --bp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--bp-text);
    line-height: 1.6;
    background-color: var(--bp-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bp-bg-light);
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--bp-text);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--bp-text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background-color: var(--bp-primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.2), 0 2px 4px -1px rgba(5, 150, 105, 0.1);
}

.btn-primary:hover {
    background-color: var(--bp-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.3), 0 4px 6px -2px rgba(5, 150, 105, 0.1);
}

.btn-secondary {
    background-color: var(--bp-secondary);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--bp-primary);
    box-shadow: var(--bp-shadow);
}

.btn-white:hover {
    background-color: #f9fafb;
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--bp-primary);
    border-color: white;
}

.btn-outline-danger {
    background-color: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
}

.btn-outline-danger:hover {
    background-color: #fef2f2;
    color: #dc2626;
    border-color: #dc2626;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--bp-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--bp-text);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--bp-primary);
}

.nav-btn {
    display: none;
}

.mobile-only {
    display: none;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--bp-text);
}

@media (min-width: 769px) {
    .nav-btn {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--bp-shadow);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-only {
        display: block;
        width: 100%;
    }
    .nav-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #064e3b, #059669);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--bp-border);
    transition: all 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--bp-shadow-lg);
    border-color: var(--bp-primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #ecfdf5;
    color: var(--bp-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--bp-primary);
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--bp-text);
}

.feature-card p {
    color: var(--bp-text-light);
}

/* About/Detail Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-sidebar {
    position: sticky;
    top: 100px; /* Space for navbar */
    height: fit-content;
}

.price-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--bp-shadow-lg);
    border: 1px solid var(--bp-border);
    overflow: hidden;
    padding: 0;
}

.price-header {
    background: var(--bp-primary);
    color: white;
    padding: 24px;
    text-align: center;
}

.price-header h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
    color: white;
}

.price-header p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.price-items {
    padding: 24px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--bp-border);
}

.price-item:last-child {
    border-bottom: none;
}

.service-name {
    font-weight: 600;
    color: var(--bp-text);
}

.service-price {
    font-weight: 700;
    color: var(--bp-primary);
    font-size: 1.1rem;
}

.service-price small {
    font-size: 0.8rem;
    color: var(--bp-text-light);
    font-weight: 400;
}

.price-footer {
    padding: 0 24px 24px;
    text-align: center;
}

.price-footer .btn {
    width: 100%;
    margin-bottom: 16px;
}

.price-note {
    font-size: 0.85rem;
    color: var(--bp-text-light);
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    .about-sidebar {
        position: static;
        margin-top: 40px;
    }
}

.features-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.features-list i {
    color: var(--bp-primary);
    font-size: 1.2rem;
    margin-top: 5px;
}

.image-placeholder {
    background: #e5e7eb;
    height: 400px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-placeholder i {
    font-size: 5rem;
    color: var(--bp-primary);
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: var(--bp-text-light);
}

/* Pricing Table */
.pricing-table-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: var(--bp-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--bp-border);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th {
    background: var(--bp-primary);
    color: white;
    padding: 24px;
    text-align: left;
    font-weight: 600;
    font-size: 18px;
}

.pricing-table th:last-child {
    text-align: right;
}

.pricing-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--bp-border);
    color: var(--bp-text);
    font-size: 16px;
}

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

.pricing-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--bp-primary);
    font-size: 18px;
}

.pricing-table tr:hover td {
    background: #f9fafb;
}

.pricing-note {
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: var(--bp-primary);
    color: white;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--bp-primary-dark);
    color: #f3f4f6;
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-info h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.footer-brand span {
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.footer-info p {
    color: rgba(255,255,255,0.92);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info i {
    color: #ffffff;
    width: 20px;
}

.footer-links h4,
.footer-areas h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.92);
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #ecfdf5;
    transform: translateX(5px);
}

.footer-areas p {
    color: rgba(255,255,255,0.92);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}

/* Booking Wizard Styles (Basic Inference) */
#expert-booking-wizard {
    display: flex;
    max-width: 1300px;
    width: 90%;
    margin: 40px auto;
    background: white;
    border-radius: 20px;
    box-shadow: var(--bp-shadow-lg);
    overflow: hidden;
    min-height: 600px;
}

.wizard-sidebar {
    width: 300px;
    background: #f3f4f6;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.wizard-content {
    flex: 1;
    padding: 40px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.step-indicator.active {
    opacity: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bp-primary);
}

.step-indicator.active .step-icon {
    background: var(--bp-primary);
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.service-card {
    border: 1px solid var(--bp-border);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.service-card:hover {
    border-color: var(--bp-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.service-card input {
    display: none;
}

/* --- Category Filtering (Prevent FOUC) --- */
/* Hide Upholstery cards when category is 'windows' */
html.category-windows .service-card[data-category="upholstery"] {
    display: none !important;
}

/* Hide Windows cards when category is 'upholstery' */
html.category-upholstery .service-card[data-category="windows"] {
    display: none !important;
}

.service-card:has(input:checked) {
    border-color: var(--bp-primary);
    background-color: #ecfdf5;
    box-shadow: 0 0 0 2px var(--bp-primary);
}

.service-image-container img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.service-card:hover .service-image-container img {
    transform: scale(1.05);
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--bp-text);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--bp-text-light);
    margin-bottom: 8px;
}

.card-content .price {
    font-weight: 700;
    color: var(--bp-primary);
    font-size: 1.1rem;
    display: block;
    margin-top: auto;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--bp-border);
    border-radius: 8px;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

@media (max-width: 800px) {
    #expert-booking-wizard {
        flex-direction: column;
        margin: 20px;
    }
    .wizard-sidebar {
        width: 100%;
        padding: 20px;
    }
}

/* =========================================
   Modal Styles (SVJ Popup)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999; /* Increased z-index to be sure */
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: white;
    border-radius: 24px;
    padding: 25px;
    width: 95%;
    max-width: 650px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(40px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--bp-border);
    padding-bottom: 15px;
}

.modal-title {
    font-size: 1.75rem;
    color: var(--bp-text);
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.modal-close {
    background: #f3f4f6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--bp-text-light);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #e5e7eb;
    color: var(--bp-text);
    transform: rotate(90deg);
}

.modal-body {
    margin-bottom: 30px;
}

/* Cookie Banner */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2,6,23,0.6);
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    animation: fadeIn 160ms ease-out;
}
.cookie-panel {
    background: var(--bp-white);
    color: var(--bp-text);
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    border-radius: 16px 16px 0 0;
    padding: 20px;
    box-shadow: var(--bp-shadow-lg);
    transform: translateY(0);
    animation: slideUp 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 6px;
}
.cookie-desc {
    font-size: 14px;
    color: var(--bp-text-light);
}
.cookie-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}
.cookie-card {
    background: #ffffff;
    border: 1px solid var(--bp-border);
    border-radius: 12px;
    padding: 12px;
}
.cookie-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.cookie-card p {
    font-size: 13px;
    color: var(--bp-text-light);
}
.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.cookie-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: #e5e7eb;
    border: 1px solid var(--bp-border);
    border-radius: 9999px;
    transition: background 0.2s ease;
}
.cookie-switch input {
    display: none;
}
.cookie-switch .thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f8fafc;
    transition: left 0.2s ease, background 0.2s ease;
}
.cookie-switch input:checked + .thumb {
    left: 22px;
    background: var(--bp-primary);
}
.cookie-floating-btn {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 600;
    cursor: pointer;
}
@media (max-width: 768px) {
    .cookie-panel {
        border-radius: 16px 16px 0 0;
    }
    .cookie-grid {
        grid-template-columns: 1fr;
    }
}
@keyframes slideUp {
    from { transform: translateY(12px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 980px;
    background: #ffffff;
    color: #0f172a;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(2,6,23,0.12);
    padding: 18px;
    z-index: 10000;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}
.cookie-banner .left {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
}
.cookie-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ecfdf5;
    color: var(--bp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.cookie-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}
.cookie-text {
    font-size: 14px;
    color: #475569;
}
.cookie-actions-inline {
    display: flex;
    gap: 10px;
}
.btn-outline {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}
.btn-outline:hover {
    background: #f8fafc;
}
@media (max-width: 768px) {
    .cookie-banner {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .cookie-actions-inline {
        flex-direction: column;
    }
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid var(--bp-border);
    padding-top: 25px;
}

/* =========================================
   Booking Wizard Extensions
   ========================================= */

/* Service Card Check Circle */
.check-circle {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: var(--bp-primary);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: popIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.service-card:has(input:checked) .check-circle {
    display: flex;
}

/* Modal Extensions */
.modal-price-box {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}

.modal-price-box:empty {
    display: none;
}

.modal-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bp-primary-dark);
}

.modal-body h4 {
    margin-bottom: 15px;
    color: var(--bp-text);
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: 600;
}

.modal-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.modal-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    color: var(--bp-text);
    background: #f9fafb;
    padding: 10px 15px;
    border-radius: 10px;
}

.modal-features li i {
    color: var(--bp-primary);
    margin-top: 0;
    background: #ecfdf5;
    padding: 6px;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Add-ons List */
.addon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--bp-border);
}

.addon-row:last-child {
    border-bottom: none;
}

.addon-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.addon-info label {
    font-weight: 500;
    color: var(--bp-text);
    cursor: pointer;
    font-size: 1.05rem;
}

.addon-price {
    font-size: 0.85rem;
    color: var(--bp-primary-dark);
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.addon-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9fafb;
    padding: 4px;
    border-radius: 50px;
    border: 1px solid var(--bp-border);
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--bp-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.quantity-btn:hover {
    background: var(--bp-primary);
    color: white;
    transform: scale(1.05);
}

.quantity-display {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    font-size: 1.1rem;
}

.m2-input {
    width: 80px;
    padding: 6px 10px;
    border: 1px solid var(--bp-border);
    border-radius: 6px;
    text-align: center;
    outline: none;
}

.m2-input:focus {
    border-color: var(--bp-primary);
}

/* Wizard Footer */
.wizard-footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 14px 20px;
    background: transparent;
    z-index: 1000;
    gap: 12px;
}

.btn-success {
    background-color: #10b981;
    color: white;
}

.btn-success:hover {
    background-color: #059669;
}

@media (max-width: 768px) {
    .wizard-footer {
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }
}

/* Reserve space so content isn't hidden behind fixed footer */
.wizard-content {
    padding-bottom: 120px;
}

/* Summary Card */
.summary-card {
    background: var(--bp-bg-light);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--bp-border);
}

/* Legal Pages */
.legal-header {
    text-align: center;
    padding: 60px 0 30px;
}
.legal-header h1 {
    font-size: 2.2rem;
    color: var(--bp-text);
    margin-bottom: 8px;
}
.legal-header p {
    color: var(--bp-text-light);
    font-size: 1rem;
}
.legal-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0 30px;
}
.legal-nav a {
    padding: 8px 14px;
    border: 1px solid var(--bp-border);
    border-radius: 9999px;
    color: var(--bp-text);
    background: #fff;
    font-weight: 500;
}
.legal-nav a:hover {
    border-color: var(--bp-primary);
    color: var(--bp-primary);
}
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}
.legal-section {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bp-border);
}
.legal-section h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--bp-text);
}
.legal-section p {
    color: var(--bp-text-light);
}

.legal-page {
    max-width: 820px;
    margin: 0 auto;
}
.legal-lead {
    color: var(--bp-text-light);
    margin-bottom: 20px;
}
.legal-summary {
    background: #fff;
    border: 1px solid var(--bp-border);
    border-radius: 12px;
    box-shadow: var(--bp-shadow);
    padding: 18px;
    margin: 10px 0 24px;
}
.legal-summary h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.legal-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}
.legal-summary li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--bp-text);
}
.legal-summary li i {
    color: var(--bp-primary);
    margin-top: 3px;
}

.feature-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0 28px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--bp-border);
    border-radius: 9999px;
    background: #fff;
    color: var(--bp-text);
    font-weight: 500;
    box-shadow: var(--bp-shadow);
}
.badge i {
    color: var(--bp-primary);
}
.grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
.info-card {
    background: #fff;
    border: 1px solid var(--bp-border);
    border-radius: 12px;
    box-shadow: var(--bp-shadow);
    padding: 18px;
}
.icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--bp-text);
}
.icon-list li i {
    color: var(--bp-primary);
    margin-top: 3px;
}
.callout {
    background: #ecfdf5;
    border: 1px solid #dcfce7;
    color: var(--bp-primary);
    border-radius: 12px;
    padding: 16px;
}
.contact-card .title {
    font-weight: 700;
    margin-bottom: 8px;
}

.summary-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bp-border);
}

.summary-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-section h4 {
    margin-bottom: 15px;
    color: var(--bp-text);
    font-size: 1.1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--bp-text);
}

.summary-sub-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--bp-text-light);
    padding-left: 20px;
    position: relative;
}

.summary-sub-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 1px;
    background: var(--bp-border);
}

.total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--bp-border);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--bp-primary);
}

.summary-item {
    margin-bottom: 15px;
}

/* Wizard Steps Visibility */
.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Calendar & Time Slots */
.datetime-selection-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .datetime-selection-wrapper {
        grid-template-columns: 1fr;
    }
}

.calendar-section, .time-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--bp-border);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--bp-text);
}

.calendar-nav-btn {
    background: transparent;
    border: 1px solid var(--bp-border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bp-text-light);
    transition: all 0.2s;
}

.calendar-nav-btn:hover {
    background: var(--bp-bg-light);
    color: var(--bp-primary);
    border-color: var(--bp-primary);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    color: var(--bp-text-light);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.calendar-day:not(.empty):not(.disabled):hover {
    background-color: var(--bp-bg-light);
    color: var(--bp-primary);
}

.calendar-day.selected {
    background-color: var(--bp-primary) !important;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.3);
}

.calendar-day.today {
    border: 1px solid var(--bp-primary);
    color: var(--bp-primary);
}

.calendar-day.disabled {
    color: #d1d5db;
    cursor: not-allowed;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.time-slot {
    padding: 12px;
    text-align: center;
    border: 1px solid var(--bp-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.time-slot:hover {
    border-color: var(--bp-primary);
    color: var(--bp-primary);
    background: var(--bp-bg-light);
}

.time-slot.selected {
    background-color: var(--bp-primary);
    color: white;
    border-color: var(--bp-primary);
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.3);
}

.time-slot.disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Address Suggestions */
.address-wrapper {
    position: relative;
}

.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--bp-border);
    border-radius: 12px;
    box-shadow: var(--bp-shadow-lg);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    margin-top: 5px;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--bp-border);
    transition: background 0.2s;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f9fafb;
    color: var(--bp-primary);
}

/* Payment Options */
.payment-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

@media (max-width: 600px) {
    .payment-options-grid {
        grid-template-columns: 1fr;
    }
}

.payment-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--bp-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.payment-option-card input {
    position: absolute;
    opacity: 0;
}

.payment-option-card:hover {
    border-color: var(--bp-primary);
    transform: translateY(-2px);
    box-shadow: var(--bp-shadow);
}

.payment-option-card:has(input:checked) {
    border-color: var(--bp-primary);
    background-color: #ecfdf5;
    color: var(--bp-primary-dark);
    box-shadow: 0 0 0 2px var(--bp-primary);
}

.payment-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--bp-text-light);
}

.payment-option-card:has(input:checked) .payment-icon {
    color: var(--bp-primary);
}

.payment-label {
    font-weight: 600;
}

/* Compact modal spacing on small screens */
@media (max-width: 420px) {
    .modal-title {
        font-size: 1.6rem;
    }
    .modal-body {
        margin-bottom: 16px;
    }
    .modal-footer {
        padding-top: 16px;
        gap: 10px;
    }
    .modal-price-box {
        padding: 16px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    .modal-price-row {
        font-size: 1.1rem;
    }
    .modal-body h4 {
        margin-top: 16px;
        margin-bottom: 12px;
        font-size: 1.1rem;
    }
    .modal-features {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 10px;
    }
    .modal-features li {
        padding: 8px 12px;
        gap: 10px;
        border-radius: 8px;
    }
    .modal-features li i {
        padding: 4px;
        font-size: 0.75rem;
    }
    .addon-row {
        padding: 10px 0;
    }
    .addon-info {
        gap: 10px;
    }
    .addon-info label {
        font-size: 1rem;
    }
    .addon-controls {
        gap: 8px;
        padding: 3px;
    }
    .quantity-btn {
        width: 32px;
        height: 32px;
    }
    .quantity-display {
        min-width: 26px;
    }
}
