@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Oswald:wght@500;600&display=swap');

body .nmb-calendar {
    border: 1px solid #e6e6e6;
    padding: 18px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    max-width: 520px;
    position: relative;
}

body .nmb-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #ffffff;
    gap: 8px;
}

body .nmb-calendar-title strong {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
}

body .nmb-calendar-range {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid #ededed;
    border-radius: 12px;
    background: #fafafa;
    font-size: 13px;
    color: #444444;
}

body .nmb-range-arrow {
    color: #9a9a9a;
}

body .nmb-calendar-manual {
    margin-bottom: 8px;
}

body .nmb-manual-input {
    width: 100%;
    border: 1px solid #ededed;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fafafa;
    font-size: 13px;
    color: #111111;
    text-align: center;
}

body .nmb-manual-input:focus {
    outline: none;
    border-color: #ff6a00;
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}

body .nmb-range-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 13px;
    color: #111111;
    text-align: center;
}

body .nmb-range-input:focus {
    outline: none;
}

body .nmb-calendar-nav {
    border: none;
    background: #f2f2f2;
    color: #333333;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

body .nmb-calendar-nav:hover {
    transform: translateY(-1px);
    background: #ff6a00;
}


body .nmb-calendar table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

body .nmb-calendar th,
body .nmb-calendar td {
    padding: 6px;
    height: 34px;
    border: none;
    background: #ffffff;
}

body .nmb-calendar th {
    font-size: 11px;
    color: #9a9a9a;
    font-weight: 500;
    text-transform: uppercase;
}

body .nmb-calendar td.free {
    background: #ffffff;
    color: #111111;
    pointer-events: auto;
}

body .nmb-calendar td.busy {
    background: repeating-linear-gradient(
        135deg,
        rgba(255, 106, 0, 0.16),
        rgba(255, 106, 0, 0.16) 6px,
        rgba(0, 0, 0, 0.02) 6px,
        rgba(0, 0, 0, 0.02) 12px
    );
    color: #8b8b8b;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

body .nmb-calendar td.busy::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    inset: 0;
    margin: auto;
    border-radius: 6px;
    background:
        rgba(255, 255, 255, 0.75)
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='11' width='14' height='10' rx='2'/><path d='M8 11V8a4 4 0 0 1 8 0v3'/></svg>")
        no-repeat center/12px;
}

body .nmb-calendar td.past {
    background: #f2f2f2;
    color: #b0b0b0;
    cursor: not-allowed;
    pointer-events: none;
}

body .nmb-calendar-legend {
    display: none;
}

body .nmb-calendar-legend span {
    padding: 4px 8px;
    border-radius: 6px;
}

body .nmb-calendar-legend .free {
    background: #ffffff;
    border: 1px solid #ededed;
}

body .nmb-calendar-legend .busy {
    background: #f2f2f2;
    color: #b0b0b0;
}


body .nmb-booking-form {
    display: grid;
    gap: 16px;
    max-width: 640px;
    font-family: inherit;
}

body .nmb-booking-form .nmb-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

body .nmb-booking-form .nmb-grid-times {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
}

body .nmb-time-warning {
    font-size: 12px;
    color: #c14800;
    min-height: 16px;
}

body .nmb-booking-form label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: #6b6b6b;
}

body .nmb-booking-form input {
    padding: 12px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    height: 50px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

body .nmb-booking-form textarea {
    padding: 12px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    resize: vertical;
    min-height: 90px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

body .nmb-booking-form select {
    padding: 12px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    height: 50px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

body .nmb-booking-form input:focus,
body .nmb-booking-form select:focus,
body .nmb-booking-form textarea:focus {
    outline: none;
    border-color: #ff6a00;
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}

body .nmb-summary {
    background: #ffffff;
    padding: 8px 0 0;
    border-radius: 0;
    display: grid;
    gap: 6px;
    color: #111111;
    position: relative;
}

body .nmb-summary.is-loading::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 16px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(17, 17, 17, 0.2);
    border-top-color: #111111;
    animation: nmbSpin 0.8s linear infinite;
}

body .nmb-summary-total {
    display: grid;
    gap: 6px;
}

body .nmb-summary-total span {
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 11px;
    color: #6b6b6b;
}

body .nmb-summary-total .nmb-total {
    font-size: 22px;
    font-weight: 600;
}

body .nmb-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

body .nmb-summary-total-row {
    font-size: 16px;
    font-weight: 600;
}

body .nmb-summary-total-row strong {
    font-size: 18px;
}

body .nmb-summary-title {
    font-size: 13px;
    font-weight: 600;
    color: #6b6b6b;
    margin-top: 6px;
}

body .nmb-summary-muted {
    color: #6b6b6b;
}

body .nmb-info {
    font-size: 13px;
    color: #6b6b6b;
}

body .nmb-vat {
    font-size: 12px;
    color: #6b6b6b;
}

body .nmb-notice {
    padding: 10px 12px;
    background: #f0f7ff;
    border: 1px solid #cfe2ff;
    border-radius: 10px;
}

body .nmb-submit {
    background: #ff6a00;
    color: #ffffff;
    border: none;
    padding: 14px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    height: 52px;
    width: 100%;
    font-weight: 600;
}

body .nmb-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    background: #f16000;
}

body .nmb-submit:disabled {
    background: #f2f2f2;
    color: #9e9e9e;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

body .nmb-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #2b2b2b;
}

body .nmb-motorcycles {
    --nmb-orange: #ff6a00;
    --nmb-orange-strong: #ff7f1a;
    --nmb-black: #0f0f10;
    --nmb-ink: #151515;
    --nmb-cream: #fff3e8;
    --nmb-light: #f7f7f7;
    --nmb-border: rgba(15, 15, 16, 0.12);
    font-family: 'Inter', sans-serif;
    position: relative;
    padding: 28px;
    border-radius: 26px;
    background: #ffffff;
    overflow: hidden;
}

body .nmb-motorcycles::after {
    content: none;
}

body .nmb-motorcycles-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 26px;
}

body .nmb-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #ededed;
    box-shadow: 0 14px 30px rgba(15, 15, 16, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    animation: nmbFadeUp 0.5s ease both;
    animation-delay: var(--nmb-delay, 0ms);
    position: relative;
}

body .nmb-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f2f2f2;
    margin: 16px 16px 0;
    border-radius: 12px;
}

body .nmb-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.1);
}

body .nmb-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff7a18;
    color: #ffffff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(255, 122, 24, 0.35);
    z-index: 2;
}

body .nmb-card-image-empty {
    background: linear-gradient(135deg, #1d1d1f, #3a3a3a);
}

body .nmb-card-body {
    padding: 14px 18px 18px;
    display: grid;
    gap: 8px;
}

body .nmb-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    letter-spacing: 0.5px;
    margin: 0;
    color: var(--nmb-ink);
}

body .nmb-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

body .nmb-card-specs span + span {
    position: relative;
    padding-left: 12px;
}

body .nmb-card-specs span + span::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    width: 2px;
    height: 12px;
    background: #ff7a18;
    transform: translateY(-50%);
    border-radius: 2px;
}

body .nmb-card-desc {
    margin: 0;
    color: #2b2b2b;
    font-size: 13px;
    line-height: 1.5;
}

body .nmb-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body .nmb-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f2f2f2;
    color: #3a3a3a;
    font-size: 12px;
    font-weight: 600;
}

body .nmb-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body .nmb-modal-tags .nmb-tag {
    background: #ffffff;
    border: 1px solid #ededed;
    color: #3a3a3a;
    padding: 6px 12px;
}

body .nmb-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body .nmb-card-price {
    font-size: 13px;
    color: #2b2b2b;
}

body .nmb-card-price strong {
    color: var(--nmb-black);
}

body .nmb-card-deposit {
    font-size: 12px;
    color: #6b6b6b;
}

body .nmb-card-button {
    background: #ff6a00;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body .nmb-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 106, 0, 0.35);
    background: #f16000;
}

body .nmb-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 9999;
}

body .nmb-modal.is-open {
    display: flex;
    animation: nmbFadeIn 0.25s ease;
}

body .nmb-modal-dialog {
    background: #ffffff;
    border-radius: 20px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    padding: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    border: 1px solid #ededed;
}

body .nmb-modal-close {
    position: static;
    background: #111111;
    color: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
}

body .nmb-modal-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: 0;
    padding: 0;
    background: transparent;
    border-bottom: none;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    pointer-events: none;
}

body .nmb-modal-head-spacer {
    flex: 1;
}

body .nmb-modal-eyebrow {
    display: none;
}

body .nmb-modal-title {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    margin: 8px 0 0;
    color: #111111;
}

body .nmb-modal-spec-line {
    font-size: 12px;
    color: #6b6b6b;
    margin: 6px 0 10px;
}

body .nmb-modal-price {
    display: none;
}

body .nmb-modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 28px;
}

body .nmb-modal-right {
    display: grid;
    gap: 16px;
    align-content: start;
    max-width: 420px;
    justify-self: end;
    width: 100%;
}

body .nmb-panel-title {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 8px;
}

body .nmb-modal-calendar,
body .nmb-modal-form {
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body .nmb-modal-badges {
    display: none;
}

body .nmb-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #1f1f22;
    color: #ffd1b2;
    font-size: 12px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

body .nmb-gallery {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
}

body .nmb-gallery-main {
    width: 100%;
    height: 360px;
    object-fit: cover;
    background: #f7f7f7;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

body .nmb-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    background: rgba(255, 255, 255, 0.9);
    color: #111111;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

body .nmb-gallery-prev {
    left: 12px;
}

body .nmb-gallery-next {
    right: 12px;
}

body .nmb-gallery-thumbs {
    display: none;
}

body .nmb-modal-meta {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
}

body .nmb-modal-equip-title {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    margin-top: 8px;
}

body .nmb-modal-specs {
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    gap: 12px;
}

body .nmb-modal-specs div {
    background: #fafafa;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid #ededed;
}

body .nmb-modal-specs span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b6b6b;
}

body .nmb-modal-specs strong {
    display: block;
    font-size: 16px;
    color: #111111;
}

body .nmb-modal-description {
    font-size: 15px;
    line-height: 1.6;
    color: #2b2b2b;
    margin-bottom: 16px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
}

body .nmb-modal-booking {
    display: grid;
    gap: 16px;
}

body .nmb-modal-body {
    display: grid;
    gap: 26px;
}

body .nmb-modal .nmb-calendar,
body .nmb-modal .nmb-booking-form {
    max-width: none;
    width: 100%;
}

body .nmb-modal .nmb-calendar {
    border: 1px solid #ededed;
    box-shadow: none;
    background: #ffffff;
    padding: 14px;
}

body .nmb-modal .nmb-calendar-header {
    background: #ffffff;
}

body .nmb-modal .nmb-calendar-select {
    background: #ffffff;
    color: #222222;
    border-color: #dddddd;
}

body .nmb-modal .nmb-calendar-nav {
    background: #f2f2f2;
    color: #333333;
}

body .nmb-modal .nmb-calendar-time select {
    background: #ffffff;
    color: #222222;
    border-color: #dddddd;
}

body .nmb-modal .nmb-calendar td.free {
    background: #ffffff;
    color: #111111;
}

body .nmb-modal .nmb-calendar td.busy {
    background: repeating-linear-gradient(
        135deg,
        rgba(255, 106, 0, 0.16),
        rgba(255, 106, 0, 0.16) 6px,
        rgba(0, 0, 0, 0.02) 6px,
        rgba(0, 0, 0, 0.02) 12px
    );
    color: #8b8b8b;
}

body .nmb-modal .nmb-submit {
    background: #ff6a00;
    color: #ffffff;
}

body .nmb-modal .nmb-submit:hover {
    background: #f16000;
}

body .nmb-modal .nmb-booking-form label {
    color: #222222;
}

body .nmb-modal .nmb-booking-form input,
body .nmb-modal .nmb-booking-form select,
body .nmb-modal .nmb-booking-form textarea {
    background: #ffffff;
    border-color: #dddddd;
    color: #222222;
    pointer-events: auto;
}

body .nmb-modal .nmb-booking-form input:focus,
body .nmb-modal .nmb-booking-form select:focus,
body .nmb-modal .nmb-booking-form textarea:focus {
    border-color: #ff6a00;
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}

body .nmb-modal .nmb-summary {
    background: transparent;
    border: none;
}

body .nmb-modal .nmb-info {
    color: #666666;
}

body .nmb-modal .nmb-vat {
    color: #6b6b6b;
}

body .nmb-modal .nmb-consent {
    color: #333333;
}

body .nmb-calendar td.free {
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

body .nmb-calendar td.free:hover {
    background: rgba(255, 106, 0, 0.12);
    color: #111111;
    box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.4);
}

body .nmb-calendar td.nmb-selected-start,
body .nmb-calendar td.nmb-selected-end {
    background: #ff6a00;
    color: #ffffff;
    position: relative;
    animation: nmbPop 0.2s ease;
    border-radius: 8px;
    box-shadow:
        0 0 0 2px rgba(255, 106, 0, 0.45),
        0 10px 22px rgba(255, 106, 0, 0.28);
}

body .nmb-calendar td.free.nmb-selected-start,
body .nmb-calendar td.free.nmb-selected-end {
    background: #ff6a00 !important;
    color: #ffffff !important;
    box-shadow:
        0 0 0 2px rgba(255, 106, 0, 0.45),
        0 10px 22px rgba(255, 106, 0, 0.28);
}

body .nmb-calendar td.nmb-selected-range {
    background: rgba(255, 106, 0, 0.16) !important;
    color: #111111 !important;
    border-radius: 6px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 106, 0, 0.22),
        0 8px 18px rgba(255, 106, 0, 0.12);
}

body .nmb-calendar td.free.nmb-selected-range {
    background: rgba(255, 106, 0, 0.16) !important;
}

body .nmb-calendar td.nmb-hover-range {
    background: rgba(255, 106, 0, 0.14);
    color: #111111;
    transition: background 0.24s ease 0.04s, box-shadow 0.24s ease 0.04s;
    border-radius: 6px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 106, 0, 0.26),
        0 10px 22px rgba(255, 106, 0, 0.14);
}

body .nmb-calendar.nmb-range-picking td.nmb-hover-range {
    background: linear-gradient(
        90deg,
        rgba(255, 106, 0, 0.08),
        rgba(255, 106, 0, 0.26),
        rgba(255, 106, 0, 0.08)
    );
    background-size: 200% 100%;
    animation: nmbRangeSweep 0.6s ease-in-out infinite;
}

body .nmb-calendar.nmb-range-complete td.nmb-selected-range {
    animation: nmbRangeFill 0.25s ease;
}

body .nmb-calendar.nmb-range-picking td.nmb-hover-range {
    animation: nmbRangePulse 0.6s ease;
}

body .nmb-calendar-data {
    display: none;
}

body.nmb-modal-open {
    overflow: hidden;
}

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

@keyframes nmbFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes nmbPop {
    from {
        transform: scale(0.92);
    }
    to {
        transform: scale(1);
    }
}

@keyframes nmbRangeFill {
    from {
        background: rgba(255, 106, 0, 0.02);
    }
    to {
        background: rgba(255, 106, 0, 0.12);
    }
}

@keyframes nmbRangePulse {
    0% {
        background: rgba(255, 106, 0, 0.08);
    }
    100% {
        background: rgba(255, 106, 0, 0.18);
    }
}

@keyframes nmbRangeSweep {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@media (max-width: 900px) {
    body .nmb-motorcycles-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    body .nmb-modal-layout {
        grid-template-columns: 1fr;
    }

    body .nmb-modal-booking {
        grid-template-columns: 1fr;
    }

    body .nmb-modal-dialog {
        padding: 20px;
    }

    body .nmb-gallery-main {
        height: 240px;
    }

    body .nmb-summary {
        position: sticky;
        bottom: 76px;
        z-index: 1;
    }

    body .nmb-submit {
        position: sticky;
        bottom: 16px;
        z-index: 2;
    }
}

@media (max-width: 640px) {
    body .nmb-motorcycles-grid {
        grid-template-columns: 1fr;
    }

    body .nmb-modal-close {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    body .nmb-modal-head {
        top: 8px;
        right: 8px;
    }
}
