/* Show configurator (/configurator, Views/Configurator/Index.cshtml).
   The page has its own layout (Layout = null) and can be embedded on
   artisticproductions.nl, so it does not load site.css. */

:root {
    --primary: #d22385;
    --primary-dark: #a3004a;
    --primary-soft: #fbe9f3;
    --secondary: #00bcd4;
    --dark: #ffffff;
    --darker: #f6f5f8;
    --light: #1a1a2e;
    --gray: #6f6f7b;
    --success: #1f9d55;
    --text: #1d1d24;
    --text-muted: #6f6f7b;
    /* Same values as customer-page.css (the facelift pages). */
    --line: #ececf1;
    --radius: 14px;
    --shadow: 0 10px 40px rgba(29, 29, 36, 0.08);
    --shadow-soft: 0 4px 18px rgba(29, 29, 36, 0.06);
    --heading: 'Montserrat', 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4,
button,
.section-title,
.product-name,
.product-price,
.summary-total,
.step-number {
    font-family: var(--heading);
}

/* ---------- Photo band (as on the customer pages) ---------- */

.cf-hero {
    position: relative;
    height: 220px;
    background: #222 url("/images/customer/hero.jpg") center 21% / cover;
    overflow: hidden;
}

/* Two magenta planes top right, like on the quote cover page. */
.cf-hero::before,
.cf-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cf-hero::before {
    background: var(--primary);
    opacity: 0.92;
    clip-path: polygon(77% 0, 100% 0, 100% 100%, 96% 100%);
}

.cf-hero::after {
    background: var(--primary-dark);
    opacity: 0.85;
    clip-path: polygon(93% 0, 100% 0, 100% 55%);
}

/* Logo in place of the kicker on the event-type start page. */
.cf-logo {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
}

/* Layout */
.page-wrapper {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 320px);
    padding: 0 48px 36px;
    /* The first card overlaps the photo band, like the title card on
       the portal pages. */
    margin-top: -40px;
    position: relative;
}

/* Sticky Sidebar */
.sidebar {
    width: 320px;
    flex-shrink: 0;
    align-self: flex-start;
    background: #ffffff;
    border-left: 1px solid var(--line);
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0,0,0,0.04);
}

.sidebar-logo {
    text-align: center;
    margin-bottom: 40px;
}

.sidebar-logo img {
    height: 40px;
}

/* Step Navigation */
.step-nav {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.step-nav-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.5;
}

.step-nav-item.active {
    opacity: 1;
}

.step-nav-item.completed {
    opacity: 0.8;
}

.step-nav-item:hover {
    opacity: 1;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s;
    color: var(--text);
}

.step-nav-item.active .step-number {
    background: var(--primary);
    color: white;
}

.step-nav-item.completed .step-number {
    background: var(--success);
}

.step-nav-item.completed .step-number::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.step-nav-item.completed .step-number span {
    display: none;
}

.step-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.step-info p {
    font-size: 12px;
    color: var(--gray);
}

/* Zodra er iets gekozen is vervangt de selectie de hint,
   dus dan mag die tekst niet meer als bijschrift wegvallen. */
.step-info p.has-selection {
    color: var(--text);
    font-weight: 500;
}

/* Progress line */
.step-nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 47px;
    width: 2px;
    height: 30px;
    background: rgba(0,0,0,0.1);
    margin-top: 50px;
}

/* Summary */
.sidebar-summary {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 15px;
    margin-top: auto;
    flex-shrink: 0;
}

.summary-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 15px;
}

.summary-total {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.summary-items {
    margin-top: 15px;
    font-size: 13px;
    max-height: 150px;
    overflow-y: auto;
}

.summary-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
}

.summary-discount {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.action-code-box {
    margin-top: 12px;
}

/* Mobiele plek boven de Verstuur-knop. Op desktop
   verborgen; op mobiel verplaatst JS het echte
   .action-code-box element hierheen (zie placeActionCodeBox). */
.action-code-mobile-slot {
    display: none;
}
@media (max-width: 992px) {
    .action-code-mobile-slot {
        display: block;
        margin: 0 0 20px 0;
    }
}

.action-code-input-row {
    display: flex;
    gap: 6px;
}

.action-code-input-row input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.action-code-input-row input:focus {
    border-color: var(--primary);
}

.action-code-input-row button {
    padding: 8px 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
}

.action-code-input-row button:hover {
    background: var(--primary-dark);
}

.action-code-message {
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
}

.action-code-message.success {
    color: var(--success);
}

.action-code-message.error {
    color: #f44336;
}

/* Sections */
.section {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
}

.section-header {
    margin-bottom: 28px;
}

.section-number {
    font-family: var(--heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
}

/* Event Type Selection — kopie van .product-grid (leading)
   zodat eventtype-, datetime- en productblokken altijd
   exact dezelfde breedte + responsive-stappen hebben.
   width:100% is nodig omdat de parent .section een
   flex-column is — zonder expliciete breedte zou de grid
   anders krimpen tot z'n intrinsieke content-breedte. */
.event-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px auto 0;
    max-width: 1200px;
    width: 100%;
}

/* Op de event-type-stap is er nog geen prijs-sidebar
   relevant. Verberg 'm dan en laat .main-content +
   het kaart-blok over de volle viewportbreedte
   centreren in plaats van links te blijven hangen
   met de sidebar-reservering. */
.page-wrapper.is-event-type-step .sidebar { display: none; }
.page-wrapper.is-event-type-step .main-content { max-width: 100%; }
.page-wrapper.is-event-type-step #section0 .section-header {
    text-align: center;
}

.event-type-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all 0.25s;
}

.event-type-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.event-type-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.9rem;
    margin-bottom: 18px;
}

.event-type-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.event-type-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Date/Time — kopie van .product-grid (leading). Zie
   comment bij .event-type-grid voor de width:100%. */
.datetime-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px auto 0;
    max-width: 1200px;
    width: 100%;
}

.datetime-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.datetime-card label {
    display: block;
    font-family: var(--heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray);
    margin-bottom: 10px;
}

.datetime-card input {
    display: block;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    color: #333;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    text-align: center;
}

.datetime-card input:focus {
    outline: none;
    border-color: var(--primary);
}

.availability-status {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    display: none;
}

.availability-status.available {
    display: block;
    background: rgba(0,230,118,0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.availability-status.busy {
    display: block;
    background: rgba(255,152,0,0.1);
    border: 1px solid var(--warning);
    color: var(--warning);
}

/* Flatpickr styling for configurator */
.flatpickr-calendar {
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    /* Pas zich aan smallere viewports aan zodat de
       kalender niet buiten de card / het scherm valt. */
    width: min(320px, calc(100vw - 24px));
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after,
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
    display: none;
}

.flatpickr-months {
    padding: 12px 8px 8px;
}

.flatpickr-months .flatpickr-month {
    background: transparent;
    color: var(--text);
    height: 40px;
}

.flatpickr-current-month {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    padding-top: 8px;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    color: var(--text);
    font-weight: 600;
    padding: 4px 8px;
}

.flatpickr-current-month input.cur-year {
    color: var(--text);
    font-weight: 600;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: var(--gray);
    fill: var(--gray);
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    background: #f8f9fa;
    color: var(--primary);
    fill: var(--primary);
}

.flatpickr-weekdays {
    background: transparent;
    padding: 0 12px;
}

.flatpickr-weekday {
    background: transparent;
    color: var(--gray);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.flatpickr-days {
    padding: 4px 12px 12px;
}

.flatpickr-day {
    color: var(--text);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    height: 38px;
    line-height: 38px;
    margin: 2px;
    max-width: 38px;
    transition: all 0.2s;
}

.flatpickr-day:hover {
    background: #f1f3f4;
    border-color: transparent;
}

.flatpickr-day.today {
    background: rgba(210, 35, 133, 0.1);
    border: none;
    color: var(--primary);
    font-weight: 700;
}

.flatpickr-day.today:hover {
    background: rgba(210, 35, 133, 0.2);
    color: var(--primary);
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.selected:focus {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    font-weight: 600;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: var(--gray);
    opacity: 0.5;
}

.flatpickr-day.flatpickr-disabled {
    color: var(--gray);
    opacity: 0.3;
    cursor: not-allowed;
}

.flatpickr-time {
    background: #f8f9fa;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-radius: 0 0 16px 16px;
    padding: 12px;
}

.flatpickr-time input {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    color: var(--text);
    font-weight: 600;
    padding: 8px;
}

.flatpickr-time input:hover,
.flatpickr-time input:focus {
    background: #ffffff;
    border-color: var(--primary);
}

.flatpickr-time .flatpickr-time-separator {
    color: var(--gray);
    font-weight: 600;
}

/* Date/time input with icon */
.datetime-card input.flatpickr-input {
    background: #f8f9fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%236c757d'%3E%3Cpath d='M152 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24V64zM48 448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192H48V448z'/%3E%3C/svg%3E") no-repeat right 15px center / 16px;
    padding-right: 45px;
    cursor: pointer;
}

/* Custom time select styling */
.time-select-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.time-select {
    width: 70px;
    padding: 12px 10px;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    text-align: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c757d'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 16px;
    padding-right: 24px;
    transition: all 0.3s;
}

.time-select:hover {
    border-color: var(--primary);
}

.time-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(210, 35, 133, 0.15);
}

.time-separator {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
}

/* Fix voor date/time picker iconen in donkere modus */
.datetime-card input::-webkit-calendar-picker-indicator {
    filter: none;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(210,35,133,0.4);
    box-shadow: var(--shadow);
}

.product-card.selected {
    border-color: var(--primary);
    box-shadow: var(--shadow), inset 0 0 0 2px var(--primary);
}

.product-card.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    z-index: 10;
}

.product-image {
    height: 180px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image i {
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.35;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, transparent 100%);
    pointer-events: none;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.product-description {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

.product-price small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gray);
}

/* Select Show Button */
.btn-select-show {
    width: 100%;
    padding: 12px 20px;
    margin-top: 15px;
    background: var(--primary);
    border: none;
    border-radius: 999px;
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-select-show:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.product-card.selected .btn-select-show {
    background: var(--success);
}

/* Addon Toggle Button */
.btn-addon-toggle {
    width: 100%;
    padding: 10px 16px;
    margin-top: 12px;
    background: var(--primary);
    border: none;
    border-radius: 999px;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-addon-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.product-card.selected .btn-addon-toggle {
    background: var(--success);
}

/* Image Overlay */
.product-image {
    position: relative;
    cursor: pointer;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 5;
}

.product-card:hover .image-overlay,
.product-image:hover .image-overlay {
    opacity: 1;
}

/* Show Detail Modal */
.show-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.show-modal-overlay.show {
    display: flex;
}

.show-modal {
    background: #ffffff;
    border: none;
    border-radius: 18px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

@keyframes modalIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.show-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.show-modal-close:hover {
    background: var(--primary);
}

.show-modal-image-wrapper {
    position: relative;
}

.show-modal-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, transparent 100%);
    pointer-events: none;
}

.show-modal-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    display: block;
}

.show-modal-content {
    padding: 30px;
}

.show-modal-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin-bottom: 10px;
}

.show-modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.show-modal-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.show-modal-description ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.show-modal-description li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.show-modal-description li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.show-modal-info-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--primary);
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.show-modal-info-link:hover {
    text-decoration: underline;
}

.show-modal-info-link[hidden] {
    display: none;
}

.show-modal-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.show-modal-actions .btn-select-show {
    flex: 2;
    height: 44px;
    margin: 0;
    padding: 0 24px;
}

.show-modal-actions .btn-select-show.selected {
    background: var(--success);
}

.show-modal-actions .btn-close {
    height: 44px;
    margin: 0;
    padding: 0 24px;
    background: #f8f9fa;
    border: none;
    border-radius: 25px;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.show-modal-actions .btn-close:hover {
    background: #e9ecef;
}

/* Addon cards (smaller) */
.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.addon-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: var(--shadow-soft);
}

.addon-card:hover {
    border-color: rgba(233,30,99,0.5);
}

.addon-card.selected {
    border-color: var(--success);
    background: rgba(0,200,83,0.08);
}

.addon-card .addon-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.addon-card .addon-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.addon-card .addon-price {
    color: var(--primary);
    font-weight: 600;
}

/* Location input */
.location-input {
    width: 100%;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
    margin-top: 10px;
}

.location-input:focus {
    outline: none;
    border-color: var(--primary);
}

.location-input-wrapper {
    position: relative;
}

.location-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 15px;
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.location-results.show {
    display: block;
}

.location-result-item {
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.location-result-item:last-child {
    border-bottom: none;
}

.location-result-item:hover {
    background: rgba(210,35,133,0.08);
}

.location-result-item .name {
    font-weight: 600;
    margin-bottom: 3px;
}

.location-result-item .address {
    font-size: 13px;
    color: var(--gray);
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Buttons */
.btn-submit, .btn-next {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    margin-top: 24px;
    transition: background 0.2s, transform 0.15s;
    font-family: var(--heading);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover, .btn-next:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-submit:disabled, .btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.section-footer {
    margin-top: 28px;
}

/* Validation Checklist */
.validation-checklist {
    background: rgba(255,152,0,0.1);
    border: 1px solid rgba(255,152,0,0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #ff9800;
}

.checklist-item i {
    font-size: 12px;
    color: #ff9800;
}

.checklist-item span {
    /* No flex:1 - link should appear right after text */
}

.checklist-link {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
}

.checklist-link:hover {
    text-decoration: underline;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Contact validation message */
.contact-validation {
    background: rgba(255,152,0,0.1);
    border: 1px solid rgba(255,152,0,0.3);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ff9800;
}

.contact-validation i {
    font-size: 18px;
}

/* Success Modal Overlay */
.success-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--darker);
    z-index: 10000;
    overflow-y: auto;
}

.success-overlay.show {
    display: block;
}

/* Card over the photo band, like the page after signing a quote. */
.success-message {
    position: relative;
    max-width: 560px;
    margin: -40px auto 40px;
    padding: 44px 36px 40px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.success-message h2 {
    font-size: clamp(24px, 3.4vw, 32px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 10px;
}

.success-message p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.success-message .btn-submit {
    text-decoration: none;
}

.success-icon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
    font-size: 38px;
    box-shadow: 0 0 0 10px rgba(31, 157, 85, 0.12);
    animation: cf-pop 0.5s ease-out both;
}

@keyframes cf-pop {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .success-icon { animation: none; }
}

@media (max-width: 600px) {
    .success-message {
        margin: -32px 12px 24px;
        padding: 36px 20px 32px;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.6;
    transition: opacity 0.3s;
    z-index: 100;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-indicator i {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Responsive */
@media (max-width: 1200px) {
    .sidebar { width: 280px; }
    .main-content { max-width: calc(100% - 280px); padding: 0 40px 30px; }
}

@media (max-width: 992px) {
    /* Sidebar wordt op mobiel een vaste bottom-balk
       zodat de winkelwagen (totaal + actiecode) altijd
       zichtbaar blijft. Step-nav en logo zijn niet
       nodig — gebruiker scrolt zelf door de secties. */
    .sidebar {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.1);
        box-shadow: 0 -5px 20px rgba(0,0,0,0.08);
        padding: 12px 16px;
        z-index: 1000;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
    .sidebar-logo,
    .step-nav { display: none; }
    .sidebar-summary {
        flex: 1;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .action-code-box {
        margin-top: 0;
        flex: 1;
        min-width: 160px;
    }
    /* Op mobiel verplaatst JS de actiecode naar
       #actionCodeMobileSlot boven de Verstuur-knop,
       zodat de bottom-bar minder druk is. */
    .action-code-mobile-slot .action-code-box {
        margin-top: 0;
        flex: none;
        min-width: 0;
        width: 100%;
    }
    .summary-total {
        font-size: 22px;
        margin-left: auto;
    }
    .main-content {
        max-width: 100%;
        padding-bottom: 140px;
    }
    /* Event-type, datetime en producten gaan op deze
       breakpoint allemaal naar 2 kolommen — gelijk aan
       .product-grid hieronder. */
    .event-type-grid { grid-template-columns: repeat(2, 1fr); }
    .datetime-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .main-content { padding: 0 12px 140px; margin-top: -32px; }
    .section { padding: 24px 18px; margin-bottom: 18px; }
    .cf-hero { height: 160px; }
    .event-type-grid { grid-template-columns: 1fr; }
    .datetime-grid { grid-template-columns: 1fr; }
    /* Flatpickr's vaste 320px past niet binnen de
       datetime-card op smalle telefoons. */
    .flatpickr-calendar {
        width: auto !important;
        max-width: calc(100vw - 20px);
    }
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.badge-populair {
    background: var(--primary);
    color: white;
}

.badge-premium {
    background: var(--text);
    color: white;
}

/* ?showprices=false: the view puts .hide-prices on the body. */
.hide-prices .product-price,
.hide-prices .addon-price,
.hide-prices .show-modal-price,
.hide-prices .summary-total {
    display: none !important;
}
