@media (max-width: 860px) {
            .brand-heading span {
                display: none;
            }
            .nav-link-btn span {
                display: none;
            }
            .nav-link-btn {
                padding: 6px 12px;
            }
        }













#distance-location-map {
            height: 200px;
            width: 100%;
            border-radius: 10px;
            border: 1px solid #cbd5e1;
            z-index: 1;
        }




.leaflet-container {
            font-family: inherit;
        }




@keyframes popupZoomIn {
            from {
                opacity: 0;
                transform: scale(0.96) translateY(8px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }




/* Header outside Popup */
        .popup-header-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            padding: 0 2px;
        }




.step-tag {
            font-size: 0.70rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--elg-light-blue);
            background: #f0f9ff;
            padding: 4px 12px;
            border-radius: 20px;
            border: 1px solid #bae6fd;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
            display: inline-flex;
            align-items: center;
        }




.btn-popup-back {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.25);
            color: #ffffff;
            font-size: 0.74rem;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.15s ease;
            display: none; /* Dold på dator - användaren använder steppern längst ner */
            align-items: center;
            gap: 4px;
        }




.btn-popup-back:hover {
            background: rgba(255, 255, 255, 0.25);
            color: #ffffff;
        }




.popup-title {
            font-size: 1.10rem;
            font-weight: 800;
            color: var(--elg-blue);
            margin: 0 0 1px 0;
        }




.popup-subtitle {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-bottom: 8px;
            line-height: 1.25;
        }




/* Product Type Switcher Pills */
        .prod-type-row {
            display: flex;
            gap: 8px;
            margin-bottom: 16px;
            overflow-x: auto;
            padding-bottom: 4px;
        }




.prod-type-btn {
            border: 1px solid var(--border-subtle);
            background: #ffffff;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.82rem;
            font-weight: 700;
            color: #475569;
            cursor: pointer;
            transition: all 0.15s ease;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 6px;
        }




.prod-type-btn:hover {
            border-color: #94a3b8;
        }




.prod-type-btn.active {
            background: var(--elg-blue);
            border-color: var(--elg-blue);
            color: #ffffff;
        }




/* Big Decision Choice Cards (Tomtgräns vs Inbärning) */
        .big-choices-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
            margin-bottom: 16px;
        }




@media (max-width: 500px) {
            .big-choices-grid {
                grid-template-columns: 1fr;
            }
        }




.big-choice-card {
            border: 2px solid var(--border-subtle);
            border-radius: 14px;
            padding: 20px 16px;
            cursor: pointer;
            transition: all 0.18s ease;
            position: relative;
            background: #ffffff;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }




.big-choice-card:hover {
            border-color: var(--elg-light-blue);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12);
        }




.big-choice-card.selected {
            border-color: #2563eb;
            background: #eff6ff;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18), 0 8px 18px rgba(37, 99, 235, 0.14);
        }




.choice-icon-wrap {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: #e0f2fe;
            color: #0369a1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            margin-bottom: 12px;
        }




.big-choice-card.selected .choice-icon-wrap {
            background: #2563eb;
            color: #ffffff;
        }




.choice-title {
            font-size: 1.05rem;
            font-weight: 800;
            color: var(--elg-blue);
            margin-bottom: 4px;
        }




.choice-desc {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 14px;
            line-height: 1.35;
            flex-grow: 1;
        }




.choice-price {
            font-size: 0.95rem;
            font-weight: 800;
            color: var(--elg-light-blue);
            background: #f0f9ff;
            border: 1px solid #bae6fd;
            padding: 4px 12px;
            border-radius: 20px;
        }




.choice-already-home {
            background: var(--bg-muted);
            border: 1px dashed #cbd5e1;
            border-radius: 10px;
            padding: 10px 14px;
            font-size: 0.82rem;
            color: #475569;
            cursor: pointer;
            transition: all 0.15s ease;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }




.choice-already-home:hover {
            border-color: var(--elg-light-blue);
            background: #ffffff;
        }




.choice-already-home.selected {
            background: #eff6ff;
            border-color: #2563eb;
            border-style: solid;
            font-weight: 700;
        }




/* Primary Action Proceed Button */
        .btn-popup-proceed {
            width: 100%;
            background: var(--elg-green);
            border: none;
            color: #ffffff;
            font-weight: 800;
            font-size: 0.92rem;
            padding: 9px 12px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.18s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 4px 14px rgba(21, 128, 61, 0.25);
            margin-top: 6px;
        }




.btn-popup-proceed:hover:not(:disabled) {
            background: var(--elg-green-hover);
            transform: translateY(-1px);
        }




.btn-popup-proceed:disabled {
            background: #94a3b8;
            cursor: not-allowed;
            box-shadow: none;
        }







@keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
            40% {transform: translateY(-10px);}
            60% {transform: translateY(-5px);}
        }




.btn-gradient-pill {
            background: linear-gradient(120deg, #4f46e5 0%, #0d9488 100%);
            border: none;
            color: #fff !important;
            box-shadow: 0 10px 30px rgba(79,70,229,0.35);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            font-weight: 700;
            letter-spacing: 0.5px;
            cursor: pointer;
        }




.btn-gradient-pill:hover,
        .btn-gradient-pill:focus,
        .btn-gradient-pill:active {
            color: #fff !important;
            box-shadow: 0 14px 34px rgba(79,70,229,0.45);
            transform: translateY(-2px);
        }










@keyframes bbSubtlePulseLight {
            0%, 100% {
                transform: translateX(-50%) scale(1);
                box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.08);
            }
            50% {
                transform: translateX(-50%) scale(1.012);
                box-shadow: 0 24px 55px -10px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(2, 132, 199, 0.35), 0 0 18px rgba(2, 132, 199, 0.15);
            }
        }




.bb-order-missing-panel .panel-header {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 8px 14px;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
            user-select: none;
        }




.bb-order-missing-panel .panel-header span {
            color: #001e62;
            font-weight: 800;
            font-size: 0.80rem;
            letter-spacing: 0.3px;
        }




.btn-panel-close {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: #e2e8f0;
            border: none;
            color: #64748b;
            border-radius: 50%;
            width: 22px;
            height: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 0.65rem;
            transition: all 0.15s ease;
            padding: 0;
        }




.btn-panel-close:hover {
            background: #cbd5e1;
            color: #0f172a;
            transform: translateY(-50%) scale(1.08);
        }







.bb-nav-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;
        }




.btn-bb-nav {
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            color: #334155;
            border-radius: 6px;
            padding: 2px 8px;
            font-size: 0.68rem;
            cursor: pointer;
            transition: all 0.15s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }




.btn-bb-nav:hover:not(:disabled) {
            background: #e2e8f0;
            color: #0f172a;
        }




.btn-bb-nav:disabled {
            opacity: 0.35;
            cursor: not-allowed;
        }




.bb-nav-count {
            font-size: 0.70rem;
            font-weight: 700;
            color: #64748b;
            letter-spacing: 0.5px;
        }




.bb-order-card {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            padding: 7px 10px;
            cursor: pointer;
            transition: all 0.15s ease;
        }




.bb-order-card:hover {
            background: #f1f5f9;
            border-color: #cbd5e1;
        }




.bb-order-address {
            font-size: 0.82rem;
            font-weight: 700;
            color: #dc2626;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            line-height: 1.2;
        }




.bb-order-date {
            font-size: 0.70rem;
            color: #64748b;
            text-align: center;
            margin-top: 2px;
            line-height: 1.2;
        }




.bb-order-date strong {
            color: #0f172a;
        }




.bb-order-input-container {
            margin-top: 6px;
            width: 100%;
        }




.bb-order-input {
            background: #ffffff;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            color: #0f172a;
            padding: 6px 10px;
            font-size: 0.75rem;
            font-weight: 600;
            text-align: center;
            width: 100%;
            transition: all 0.15s ease;
        }




.bb-order-input::placeholder {
            color: #94a3b8;
            font-style: italic;
            font-weight: 400;
            font-size: 0.72rem;
        }




.bb-order-input:focus {
            background: #ffffff;
            border-color: #0284c7;
            outline: none;
            box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
        }




.btn-bb-reopen {
            position: fixed;
            bottom: 48px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            color: #0f172a;
            border-radius: 30px;
            padding: 6px 16px;
            font-size: 0.74rem;
            font-weight: 700;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
        }




.btn-bb-reopen:hover {
            background: #f8fafc;
            transform: translateX(-50%) translateY(-1px);
        }




.floating-cart-panel {
            background: rgba(15, 23, 42, 0.96);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            color: #ffffff;
            border-radius: 18px;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
            z-index: 1050;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }




@media (min-width: 992px) {
            .floating-cart-panel {
                position: absolute;
                left: calc(100% + 20px);
                bottom: 0;
                width: 320px;
            }
        }




@media (max-width: 991px) {
            .floating-cart-panel {
                position: fixed;
                bottom: 84px;
                right: 14px;
                left: 14px;
                max-width: 440px;
                margin: 0 auto;
            }
        }




/* Collapsed / Summary Bar */
        .cart-summary-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 18px;
            cursor: pointer;
            gap: 12px;
            user-select: none;
            border-radius: 18px;
            transition: background 0.2s ease;
        }




.cart-summary-bar:hover {
            background: rgba(255, 255, 255, 0.05);
        }




.cart-title-label {
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.7);
            display: block;
        }




.cart-total-amount {
            font-size: 1.15rem;
            font-weight: 900;
            color: #4ade80;
            line-height: 1.2;
        }




.cart-status-wrap {
            text-align: right;
            border-left: 1px solid rgba(255, 255, 255, 0.15);
            padding-left: 12px;
            flex: 1;
            min-width: 0;
        }




.cart-status-text {
            font-size: 0.82rem;
            color: rgba(255, 255, 255, 0.9);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }




.cart-expand-hint {
            font-size: 0.7rem;
            color: #38bdf8;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-top: 2px;
        }




/* Drawer Header */
        .cart-drawer-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.12);
            cursor: pointer;
            user-select: none;
        }




.btn-cart-toggle {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.25);
            color: #fff;
            border-radius: 50%;
            width: 28px;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 0.75rem;
            transition: background 0.2s ease;
        }




.btn-cart-toggle:hover {
            background: rgba(255,255,255,0.15);
        }










.floating-cart-panel.expanded {
            border-radius: 20px;
        }




.floating-cart-panel.expanded .cart-summary-bar {
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            background: rgba(30, 41, 59, 0.6);
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
        }




.floating-cart-panel.expanded .cart-expand-hint {
            color: #94a3b8;
        }




/* Step 2: Installation Grid */
        .install-options-grid {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 16px;
            width: 100%;
        }




.install-option-card {
            border: 2px solid var(--border-subtle);
            border-radius: 12px;
            padding: 14px 16px;
            cursor: pointer;
            transition: all 0.15s ease;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #ffffff;
            width: 100%;
            box-sizing: border-box;
        }




.install-option-card:hover {
            border-color: var(--elg-light-blue);
            background: #f8fafc;
        }




.install-option-card.selected {
            border-color: #2563eb !important;
            background: #eff6ff !important;
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18) !important;
        }




.install-option-card .check-icon {
            display: none !important;
        }




.install-option-card.selected .check-icon {
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            color: #2563eb !important;
            font-size: 1.35rem !important;
            margin-left: 10px;
            flex-shrink: 0;
        }




.poka-warning-box {
            background: #fefce8;
            border-left: 4px solid #eab308;
            border-radius: 0 8px 8px 0;
            padding: 10px 14px;
            font-size: 0.8rem;
            color: #854d0e;
            margin-bottom: 16px;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }




/* Step 3: Addon items */
        .addon-item-box {
            border: 2px solid var(--border-subtle);
            border-radius: 12px;
            padding: 14px 16px;
            cursor: pointer;
            transition: all 0.15s ease;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #ffffff;
            margin-bottom: 10px;
        }




.addon-item-box:hover {
            border-color: var(--elg-light-blue);
        }




.addon-item-box.checked {
            border-color: var(--elg-green);
            background: #f0fdf4;
        }




/* Step 4: Housing & Address */
        .housing-toggle-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 16px;
        }




.house-btn {
            border: 2px solid var(--border-subtle);
            border-radius: 12px;
            padding: 14px 12px;
            text-align: center;
            cursor: pointer;
            background: #ffffff;
            font-weight: 700;
            color: #334155;
            transition: all 0.15s ease;
        }




.house-btn.active {
            border-color: var(--elg-blue);
            background: #f8fafc;
            color: var(--elg-blue);
            box-shadow: 0 0 0 2px rgba(0, 30, 98, 0.15);
        }




#address-section-wrapper,
        #villa-pop-details,
        #apt-pop-details {
            animation: fadeInStep 0.22s ease-out;
        }




.housing-accordion-header {
            cursor: pointer;
            user-select: none;
            transition: background 0.15s ease;
        }




.housing-accordion-header:hover {
            background: #f1f5f9;
        }




.accordion-toggle-icon {
            transition: transform 0.2s ease;
        }




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




.hiss-toggle-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 8px;
        }




.hiss-opt-btn {
            border: 1px solid var(--border-subtle);
            background: #ffffff;
            padding: 8px 10px;
            border-radius: 8px;
            font-size: 0.82rem;
            font-weight: 700;
            cursor: pointer;
            text-align: center;
            color: #475569;
        }




.hiss-opt-btn.active {
            background: var(--elg-green);
            border-color: var(--elg-green);
            color: #ffffff;
        }




/* Step 5: Dates & Summary (Centered 4 Tiles) */
        .date-pills-row {
            display: flex;
            justify-content: center;
            align-items: stretch;
            gap: 10px;
            margin: 0 auto 12px auto;
            max-width: 500px;
            width: 100%;
        }




.date-pill-tile {
            flex: 1;
            max-width: 115px;
            min-width: 90px;
            border: 2px solid var(--border-subtle);
            border-radius: 12px;
            padding: 9px 4px;
            text-align: center;
            cursor: pointer;
            background: #ffffff;
            transition: all 0.15s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }




.date-pill-tile:hover {
            border-color: #93c5fd;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 30, 98, 0.08);
        }




.date-pill-tile.selected {
            border-color: var(--elg-blue);
            background: #f0f9ff;
            box-shadow: 0 0 0 2px var(--elg-blue);
        }

.date-pill-tile.date-pill-full {
            background: #fef2f2 !important;
            border-color: #fca5a5 !important;
            opacity: 0.88;
        }

.date-pill-tile.date-pill-full:hover {
            border-color: #ef4444 !important;
            opacity: 1;
            box-shadow: 0 4px 10px rgba(239, 68, 68, 0.15) !important;
        }

/* Steg 5: Time Tag above card */
.step-time-tag {
            font-size: 0.70rem;
            font-weight: 700;
            color: #1e293b;
            background: #ffffff;
            padding: 4px 12px;
            border-radius: 20px;
            border: 1px solid #cbd5e1;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            display: inline-flex;
            align-items: center;
            white-space: nowrap;
            transition: all 0.2s ease;
        }

.step-time-tag:hover {
            border-color: #93c5fd;
            background: #f8fafc;
        }

.flatpickr-day.fp-day-full {
            background-color: #fef2f2 !important;
            color: #b91c1c !important;
            border-color: #fecaca !important;
        }




.calendar-open-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--elg-light-blue);
            background: #f0f9ff;
            border: 1px solid #bae6fd;
            border-radius: 20px;
            padding: 6px 16px;
            cursor: pointer;
            transition: all 0.15s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
        }




.calendar-open-btn:hover {
            background: #e0f2fe;
            border-color: var(--elg-blue);
            color: var(--elg-blue);
            transform: translateY(-1px);
        }




/* Day Bookings Modal Overlay (Fixed Center Modal) */
        .day-bookings-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(15, 23, 42, 0.75);
            backdrop-filter: blur(8px);
            z-index: 100000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
            animation: fadeInModal 0.2s ease-out;
        }




.day-bookings-content {
            background: #ffffff !important;
            border-radius: 18px;
            width: 100%;
            max-width: 540px;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.5);
            animation: zoomInModal 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            overflow: hidden;
            border: 1px solid #cbd5e1;
        }




.day-bookings-header {
            padding: 16px 20px 14px;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #f8fafc;
        }







.day-booking-card {
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 12px 14px;
            background: #f8fafc;
            transition: all 0.15s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.03);
        }




.day-booking-card:hover {
            border-color: #93c5fd;
            background: #ffffff;
            box-shadow: 0 4px 12px rgba(0, 30, 98, 0.08);
        }




.day-bookings-footer {
            padding: 12px 20px;
            border-top: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #f8fafc;
        }




/* Flatpickr Date Badges (Siffror på/över datumen) */
        .flatpickr-day {
            position: relative !important;
        }




.fp-day-badge {
            position: absolute;
            top: 2px;
            right: 2px;
            min-width: 15px;
            height: 15px;
            line-height: 14px;
            font-size: 0.62rem;
            font-weight: 800;
            border-radius: 10px;
            padding: 0 3px;
            text-align: center;
            pointer-events: none;
            z-index: 3;
        }




.fp-day-badge.has-bookings {
            background: #0284c7;
            color: #ffffff;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
        }




.fp-day-badge.zero-bookings {
            background: #dcfce7;
            color: #15803d;
            border: 1px solid #86efac;
        }




.flatpickr-day.selected .fp-day-badge {
            background: #ffffff !important;
            color: var(--elg-blue) !important;
            border-color: #ffffff !important;
        }




/* Flatpickr Styling Override */
        .flatpickr-calendar {
            z-index: 999999 !important;
            font-family: inherit !important;
            border-radius: 14px !important;
            box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3) !important;
            border: 1px solid #cbd5e1 !important;
        }




.flatpickr-day.selected {
            background: var(--elg-blue) !important;
            border-color: var(--elg-blue) !important;
        }

/* ======================================================= */
/* MODAL: DELIVERY CALENDAR (STEG 5)                      */
/* ======================================================= */
.delivery-calendar-modal-content {
    max-width: 580px !important;
    width: 100%;
}

.cal-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.btn-cal-nav {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.88rem;
    transition: all 0.15s ease;
}

.btn-cal-nav:hover:not(:disabled) {
    background: #e0f2fe;
    color: var(--elg-blue, #0284c7);
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.btn-cal-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.cal-month-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.cal-body-wrapper {
    padding: 14px 18px 12px 18px;
    background: #ffffff;
}

.cal-weekdays-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
    margin-bottom: 8px;
}

.cal-weekdays-row span {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cal-day-cell {
    min-height: 58px;
    border-radius: 12px;
    padding: 6px 3px 5px 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border: 1.5px solid transparent;
    transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    background: transparent;
}

.cal-day-cell.cal-day-empty {
    pointer-events: none;
    background: transparent;
    border: none;
}

.cal-day-cell.cal-day-disabled {
    background: #f8fafc;
    color: #94a3b8;
    opacity: 0.6;
    cursor: not-allowed;
    border: 1px dashed #e2e8f0;
}

.cal-day-cell.cal-day-blocked {
    background: #fef2f2;
    color: #991b1b;
    opacity: 1;
    cursor: pointer;
    border: 1px solid #f87171;
}

.cal-day-cell.cal-day-blocked:hover {
    background: #fee2e2;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(220, 38, 38, 0.18);
    z-index: 2;
}

.cal-day-cell.cal-day-blocked .cal-day-num {
    color: #991b1b;
}

.cal-day-cell.cal-day-running {
    background: #ffffff;
    border-color: #bae6fd;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cal-day-cell.cal-day-running:hover {
    border-color: var(--elg-blue, #0284c7);
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(2, 132, 199, 0.16);
    z-index: 2;
}

.cal-day-cell.cal-day-full {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #991b1b !important;
}

.cal-day-cell.cal-day-full:hover {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
}

.cal-day-cell.cal-day-holiday {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #be123c;
}

.cal-day-cell.cal-day-selected {
    background: var(--elg-blue, #0284c7) !important;
    border-color: var(--elg-blue, #0284c7) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.45) !important;
    transform: scale(1.03);
    z-index: 3;
}

.cal-day-cell.cal-day-selected .cal-day-num {
    color: #ffffff !important;
}

.cal-day-cell.cal-day-selected .cal-status-chip {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: none;
}

.cal-day-num {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    color: #1e293b;
    margin-top: 2px;
}

.cal-day-cell.cal-day-today .cal-day-num {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--elg-blue, #0284c7);
}

.cal-status-chip {
    font-size: 0.63rem;
    font-weight: 700;
    border-radius: 6px;
    padding: 2px 4px;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
    width: 100%;
    display: block;
}

.cal-status-chip.chip-free {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.cal-status-chip.chip-booked {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.cal-status-chip.chip-full {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.cal-status-chip.chip-blocked {
    background: #dc2626;
    color: #ffffff;
    border: 1px solid #b91c1c;
}

.cal-status-chip.chip-holiday {
    background: #ffe4e6;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.cal-legend-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 0.72rem;
    color: #475569;
    font-weight: 600;
}

.cal-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cal-legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.cal-legend-dot.dot-free {
    background: #22c55e;
    box-shadow: 0 0 0 2px #dcfce7;
}

.cal-legend-dot.dot-booked {
    background: #0284c7;
    box-shadow: 0 0 0 2px #e0f2fe;
}

.cal-legend-dot.dot-full {
    background: #ef4444;
    box-shadow: 0 0 0 2px #fee2e2;
}

.cal-legend-dot.dot-blocked {
    background: #dc2626;
    box-shadow: 0 0 0 2px #fee2e2;
}

.cal-legend-dot.dot-holiday {
    background: #f43f5e;
    box-shadow: 0 0 0 2px #ffe4e6;
}

.cal-selected-summary {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 480px) {
    .cal-body-wrapper {
        padding: 10px 10px 8px 10px;
    }
    .cal-days-grid {
        gap: 3px;
    }
    .cal-day-cell {
        min-height: 48px;
        padding: 4px 2px;
        border-radius: 8px;
    }
    .cal-day-num {
        font-size: 0.8rem;
    }
    .cal-status-chip {
        font-size: 0.56rem;
        padding: 1px 2px;
        border-radius: 4px;
    }
    .cal-legend-bar {
        gap: 8px 12px;
        font-size: 0.68rem;
    }
}





@media (max-width: 480px) {
            .date-pills-row {
                flex-wrap: wrap;
                gap: 8px;
            }
            .date-pill-tile {
                flex: 0 0 calc(50% - 4px);
                max-width: none;
            }
        }




.slot-selector-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-bottom: 14px;
        }




.slot-pill-btn {
            border: 1px solid var(--border-subtle);
            background: #ffffff;
            padding: 9px 12px;
            border-radius: 8px;
            font-size: 0.82rem;
            font-weight: 700;
            color: #334155;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }




.slot-pill-btn.selected {
            border-color: var(--elg-blue);
            background: #f0f9ff;
            border-width: 2px;
            color: var(--elg-blue);
        }




.summary-receipt-box {
            background: #f8fafc;
            border: 1px solid var(--border-subtle);
            border-radius: 9px;
            padding: 8px 12px;
            margin-bottom: 6px;
        }




.summary-line {
            display: flex;
            justify-content: space-between;
            font-size: 0.80rem;
            padding: 1px 0;
        }




.summary-total-row {
            border-top: 1px solid #cbd5e1;
            margin-top: 4px;
            padding-top: 4px;
            display: flex;
            justify-content: space-between;
            align-items: baseline;
        }




.summary-total-val {
            font-size: 1.15rem;
            font-weight: 900;
            color: var(--elg-blue);
        }




.summary-cost-row {
            border-top: 1px dashed #cbd5e1;
            margin-top: 5px;
            padding-top: 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }




.summary-cost-val {
            font-size: 1.00rem;
            font-weight: 800;
            color: var(--elg-green);
        }




.pos-btn {
            border: 1px solid var(--border-subtle);
            background: #ffffff;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 0.72rem;
            font-weight: 700;
            cursor: pointer;
            color: #334155;
            transition: all 0.15s ease;
        }




.pos-btn:hover {
            background: #f1f5f9;
            border-color: #94a3b8;
        }




/* Extra info toggle & flyout dropdown i Steg 6 */
        .extra-info-wrapper {
            position: relative;
        }




.extra-info-wrapper.active {
            z-index: 1050;
        }




.extra-info-backdrop {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.55);
            backdrop-filter: blur(3px);
            -webkit-backdrop-filter: blur(3px);
            z-index: 1040;
            border-radius: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
        }




.extra-info-toggle-wrap {
            margin: 4px 0 6px;
            display: flex;
            justify-content: center;
        }




.btn-extra-info-toggle {
            background: #f8fafc;
            border: 1px dashed #cbd5e1;
            color: #475569;
            font-size: 0.72rem;
            font-weight: 600;
            padding: 2px 10px;
            border-radius: 20px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            transition: all 0.15s ease;
            box-shadow: 0 1px 2px rgba(0,0,0,0.03);
        }




.btn-extra-info-toggle:hover {
            background: #e2e8f0;
            border-color: #94a3b8;
            color: #0f172a;
        }




.btn-extra-info-toggle.active {
            background: #eff6ff;
            border: 1px solid #93c5fd;
            color: #1d4ed8;
        }




.extra-order-info-box {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            z-index: 1050;
            background: #ffffff;
            border: 1px solid #cbd5e1;
            border-radius: 10px;
            padding: 9px 12px 11px;
            box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18), 0 4px 10px rgba(15, 23, 42, 0.08);
            animation: fadeInDown 0.16s cubic-bezier(0.16, 1, 0.3, 1);
        }




/* Smart Poka-Yoke Modal & Note Chips */
        .more-info-modal-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 1080;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }




.more-info-modal-card {
            background: #ffffff;
            border-radius: 14px;
            width: 100%;
            max-width: 490px;
            padding: 1.25rem;
            box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0,0,0,0.1);
            position: relative;
            border: 1px solid rgba(226, 232, 240, 0.8);
            animation: fadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        }




.badge-icon-warning {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: #fef3c7;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }




.note-chip {
            font-size: 0.68rem !important;
            padding: 2px 8px !important;
            border-radius: 12px !important;
            background: #f1f5f9 !important;
            border: 1px solid #cbd5e1 !important;
            color: #334155 !important;
            transition: all 0.15s ease !important;
            white-space: nowrap;
            cursor: pointer;
            line-height: 1.3 !important;
            font-weight: 500;
        }




.note-chip:hover {
            background: #e2e8f0 !important;
            color: #0f172a !important;
            border-color: #94a3b8 !important;
            transform: translateY(-1px);
        }











































#pop-notes::placeholder {
            color: #94a3b8 !important;
            opacity: 0.65 !important;
            font-weight: 400;
        }




@media (max-width: 768px) {
            .btn-popup-back {
                display: flex; /* Visas på mobil och mindre skärmar */
            }
        }




@media (max-width: 576px) {
            .bottom-stepper-bar {
                padding: 4px;
                bottom: 8px;
            }
            .step-circle {
                width: 28px;
                height: 28px;
                font-size: 0.75rem;
            }
            .stepper-progress-bar {
                top: 14px;
            }
            .step-label {
                font-size: 0.58rem;
            }
            .floating-mini-status {
                bottom: 74px;
                right: 10px;
                padding: 6px 12px;
                font-size: 0.75rem;
            }
        }




/* Smart Route Candidate Pill */
        .smart-route-candidate-pill {
            background: #ffffff;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 8px 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
            font-size: 0.8rem;
        }




.smart-route-candidate-pill:hover {
            border-color: #22c55e;
            background: #f0fdf4;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(34, 197, 94, 0.15);
        }




.smart-route-candidate-pill.selected {
            border-color: #22c55e;
            background: #dcfce7;
            font-weight: bold;
        }




/* Alternativ 2: Stora Kategori-kort (Paritet med index.html) */
        .service-category-card {
            border: 2px solid #e2e8f0;
            border-radius: 14px;
            background: #ffffff;
            padding: 16px 10px;
            text-align: center;
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }




.service-category-card:hover {
            border-color: #3b82f6;
            background: #f8fafc;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(59, 130, 246, 0.12);
        }




.service-category-card.selected {
            border-color: #2563eb;
            background: #eff6ff;
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
        }




.service-category-card img {
            max-height: 60px;
            max-width: 100%;
            margin-bottom: 8px;
            object-fit: contain;
            transition: transform 0.2s ease;
        }




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




.service-category-card h6 {
            font-weight: 700;
            margin-bottom: 3px;
            color: #1e293b;
            font-size: 0.95rem;
        }




.service-category-card p {
            font-size: 0.72rem;
            color: #64748b;
            margin-bottom: 0;
            line-height: 1.3;
        }




/* Minimerad aktiv kategori-banner */
        .category-summary-banner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #f8fafc;
            border: 1px solid #cbd5e1;
            border-radius: 12px;
            padding: 8px 14px;
            margin-bottom: 16px;
        }




.btn-change-category {
            font-size: 0.78rem;
            font-weight: 700;
            color: #2563eb;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }




.btn-change-category:hover {
            text-decoration: underline;
        }




/* Vitvara typ selector (Vanlig vs Side-by-side) */
        .mda-sub-type-row {
            display: flex;
            gap: 8px;
            margin-bottom: 14px;
        }




.mda-sub-type-btn {
            flex: 1;
            padding: 7px 10px;
            font-size: 0.8rem;
            font-weight: 600;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            background: #ffffff;
            color: #475569;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
        }




.mda-sub-type-btn:hover {
            border-color: #94a3b8;
        }




.mda-sub-type-btn.active {
            border-color: #2563eb;
            background: #eff6ff;
            color: #1d4ed8;
            font-weight: 700;
        }




/* Poka-Yoke: Restriktioner & Spärrade tillval */
        .addon-item-box.restricted {
            opacity: 0.55;
            background-color: #f1f5f9 !important;
            border-color: #cbd5e1 !important;
            cursor: not-allowed !important;
            pointer-events: none;
            box-shadow: none !important;
        }




.addon-item-box.restricted input[type="checkbox"] {
            cursor: not-allowed;
            pointer-events: none;
        }




.restriction-notice-badge {
            font-size: 0.72rem;
            font-weight: 600;
            color: #dc2626;
            background: #fef2f2;
            border: 1px solid #fecaca;
            border-radius: 6px;
            padding: 2px 8px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-top: 4px;
        }




/* Dropdown utfällning för Steg 1 */
        .service-category-card {
            position: relative;
        }




.service-category-card.selected {
            border-color: #2563eb !important;
            background: #eff6ff !important;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18), 0 8px 18px rgba(37, 99, 235, 0.14) !important;
            transform: translateY(-2px) scale(1.02);
            opacity: 1 !important;
        }




.service-category-card.selected::after {
            content: "\f058"; /* fa-circle-check */
            font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
            font-weight: 900;
            position: absolute;
            top: 8px;
            right: 8px;
            color: #2563eb;
            font-size: 1.05rem;
        }




/* Nedtoning av icke-valda kort för tydlig fokus */
        #category-selection-cards.has-selection .service-category-card:not(.selected) {
            opacity: 0.6;
            transform: scale(0.97);
        }




#category-selection-cards.has-selection .service-category-card:not(.selected):hover {
            opacity: 0.92;
            transform: translateY(-1px) scale(0.99);
        }




/* Mjuk CSS Grid Accordion-container */
        .category-dropdown-container {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows 0.42s cubic-bezier(0.16, 1, 0.3, 1),
                        opacity 0.32s ease,
                        margin-top 0.35s ease;
            opacity: 0;
            overflow: hidden;
            margin-top: 0;
        }




.category-dropdown-container.open {
            grid-template-rows: 1fr;
            opacity: 1;
            margin-top: 18px;
        }




.category-dropdown-inner {
            min-height: 0;
            padding-top: 18px;
            border-top: 1px dashed #cbd5e1;
            transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
            transform: translateY(-8px);
        }




.category-dropdown-container.open .category-dropdown-inner {
            transform: translateY(0);
        }




/* Mjuk infasning av fas-innehåll vid kategoriväxling */
        #step1-delivery-phase, #step1-other-phase {
            animation: fadeInSubtle 0.28s cubic-bezier(0.16, 1, 0.3, 1);
        }




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




/* White Goods Spec Grid (Steg 2) */
        .white-goods-select-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 6px;
            margin-bottom: 14px;
        }




@media (max-width: 576px) {
            .white-goods-select-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }




.white-goods-spec-card {
            border: 1.5px solid var(--border-subtle);
            border-radius: 8px;
            padding: 7px 10px;
            cursor: pointer;
            background: #ffffff;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.16s ease;
            min-height: 38px;
        }




.white-goods-spec-card:hover {
            border-color: var(--elg-light-blue);
            transform: translateY(-1px);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
        }




.white-goods-spec-card:active {
            transform: scale(0.97);
        }




.white-goods-spec-card.selected {
            border-color: #2563eb !important;
            background: #eff6ff !important;
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18) !important;
        }




.white-goods-spec-card .spec-name {
            font-weight: 600;
            font-size: 0.82rem;
            color: #1e293b;
            line-height: 1.2;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }




.white-goods-spec-card.selected .spec-name {
            color: #1d4ed8;
            font-weight: 700;
        }




.white-goods-spec-card .check-icon {
            display: none !important;
        }




.white-goods-spec-card.selected .check-icon {
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            color: #2563eb !important;
            font-size: 1.1rem !important;
            margin-left: 4px;
            flex-shrink: 0;
        }




.white-goods-spec-card.sbs-card {
            background: #fffdf5;
            border-color: #fde68a;
        }




.white-goods-spec-card.sbs-card:hover {
            border-color: #f59e0b;
        }




.white-goods-spec-card.sbs-card.selected {
            background: #eff6ff !important;
            border-color: #2563eb !important;
        }




.spec-side-badge {
            font-size: 0.64rem;
            font-weight: 700;
            background: #fef3c7;
            color: #92400e;
            border: 1px solid #fde68a;
            padding: 1px 4px;
            border-radius: 4px;
            white-space: nowrap;
            flex-shrink: 0;
        }




/* News popup (index_rethink - Frosted Muted Slate) */
        #news-popup {
            position: fixed;
            right: 40px;
            top: 220px;
            width: min(380px, calc(100vw - 32px));
            background: rgba(236, 242, 248, 0.93);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.7);
            border-left: 4px solid var(--elg-light-blue);
            border-radius: 14px;
            box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
            z-index: 10001;
            display: none;
            overflow: hidden;
            animation: fadeInDown 0.2s ease-out;
            color: #0f172a;
        }




@keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-8px); }
            to { opacity: 1; transform: translateY(0); }
        }




#news-popup.show {
            display: block;
        }




#news-popup .news-header {
            padding: 10px 14px;
            border-bottom: 1px solid #cbd5e1;
            background: rgba(226, 232, 240, 0.75);
            font-weight: 700;
            color: #0f172a;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }







#news-popup-title {
            color: #0f172a;
            font-weight: 700;
            font-size: 0.95rem;
        }




#news-popup-text {
            white-space: normal;
            word-break: break-word;
            color: #1e293b;
        }




#news-popup .news-title-icon {
            display: inline-block;
            color: var(--elg-light-blue);
            transform-origin: 70% 30%;
            animation: newsBellMove 1.8s ease-in-out infinite;
        }




#news-popup .news-close {
            border: 0;
            background: transparent;
            color: #64748b;
            cursor: pointer;
            font-size: 1.25rem;
            line-height: 1;
            padding: 0 4px;
            transition: color 0.15s ease;
        }




#news-popup .news-close:hover {
            color: #0f172a;
        }




#news-popup #news-prev-btn,
        #news-popup #news-next-btn {
            color: #64748b !important;
            transition: color 0.15s ease;
        }




#news-popup #news-prev-btn:hover,
        #news-popup #news-next-btn:hover {
            color: #0284c7 !important;
        }




#news-popup #news-counter {
            color: #64748b !important;
        }




@keyframes newsBellMove {
            0%, 100% { transform: rotate(0deg) scale(1); }
            12% { transform: rotate(14deg) scale(1.06); }
            24% { transform: rotate(-12deg) scale(1.06); }
            36% { transform: rotate(10deg) scale(1.04); }
            48% { transform: rotate(-6deg) scale(1.02); }
            60% { transform: rotate(0deg) scale(1); }
        }




@media (max-width: 768px) {
            #news-popup {
                left: 12px;
                right: 12px;
                width: auto;
                max-width: calc(100vw - 24px);
                margin: 0 auto;
                top: 50%;
                bottom: auto;
                transform: translateY(-50%);
                max-height: calc(100dvh - 140px);
                max-height: calc(100vh - 140px);
                animation: fadeInCenter 0.2s ease-out;
            }
            #news-popup .news-body {
                max-height: calc(100dvh - 220px);
                max-height: calc(100vh - 220px);
            }
            @keyframes fadeInCenter {
                from { opacity: 0; transform: translateY(calc(-50% - 8px)); }
                to { opacity: 1; transform: translateY(-50%); }
            }
            }
        }

/* Placeholder color when select is invalid (no selection) */
.villa-floor-select:invalid {
    color: #6c757d !important;
}
/* Riktiga val ska vara svarta */
.villa-floor-select option:not([disabled]) {
    color: #212529;
}

/* Unified Toast Notifications (#snackbar) */
#snackbar {
    visibility: hidden;
    min-width: 280px;
    max-width: 480px;
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    text-align: left;
    border-radius: 12px;
    padding: 14px 20px;
    position: fixed;
    z-index: 99999;
    left: 50%;
    bottom: 24px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

#snackbar.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

@media (max-width: 576px) {
    #snackbar {
        left: 50%;
        bottom: 16px;
        width: calc(100% - 32px);
        max-width: 480px;
        min-width: 0;
        transform: translateX(-50%) translateY(16px);
    }
    #snackbar.show {
        transform: translateX(-50%) translateY(0);
    }
}

/* Scroll-hint bounce animation for customer agreement modal */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(4px); }
}



