/* ── tk-noleggi — front-end ────────────────────────────────────────── */
.tknol {
    --tknol-accent: #0d9488;
    --tknol-accent-d: #0f766e;
    --tknol-accent-l: #ccfbf1;
    --tknol-navy: #0f172a;
    --tknol-gray-50: #f8fafc;
    --tknol-gray-100: #f1f5f9;
    --tknol-gray-200: #e2e8f0;
    --tknol-gray-300: #cbd5e1;
    --tknol-gray-500: #64748b;
    --tknol-gray-700: #334155;
    --tknol-radius: 12px;
    --tknol-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    font-family: inherit;
    color: var(--tknol-gray-700);
    box-sizing: border-box;
}
.tknol *, .tknol *::before, .tknol *::after { box-sizing: border-box; }
.tknol .tknol-h2 { font-size: 24px; margin: 0 0 18px; color: var(--tknol-navy); }

/* Campi */
.tknol-field { display: flex; flex-direction: column; flex: 1 1 180px; min-width: 0; }
.tknol-field-sm { flex: 0 1 110px; }
.tknol-field-btn { flex: 0 0 auto; }
.tknol-field label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--tknol-gray-500); margin-bottom: 7px; }
.tknol input[type="text"], .tknol input[type="email"], .tknol input[type="tel"],
.tknol input[type="date"], .tknol input[type="time"], .tknol input[type="number"],
.tknol select, .tknol textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--tknol-gray-300);
    border-radius: 10px; font-size: 15px; background-color: #fff; color: var(--tknol-navy);
    font-family: inherit; line-height: 1.3; margin: 0; box-shadow: none;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.tknol textarea { min-height: 96px; }
.tknol input:hover, .tknol select:hover, .tknol textarea:hover { border-color: var(--tknol-gray-500); }
.tknol input:focus, .tknol select:focus, .tknol textarea:focus {
    outline: 0; border-color: var(--tknol-accent); box-shadow: 0 0 0 4px var(--tknol-accent-l);
}
.tknol select {
    -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center; background-size: 12px 8px;
}
.tknol .tknol-extra select { min-height: 0; padding-right: 30px; background-position: right 9px center; }

/* Controllo con icona */
.tknol-control { position: relative; width: 100%; }
.tknol-control::before {
    content: ""; position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
    background: var(--tknol-accent); pointer-events: none; z-index: 1;
    -webkit-mask: var(--tknol-ico) center / contain no-repeat; mask: var(--tknol-ico) center / contain no-repeat;
}
.tknol .tknol-control > input, .tknol .tknol-control > select { padding-left: 44px; }
.tknol-control input[type="date"], .tknol-control input[type="time"] { cursor: pointer; }
.tknol-control input::-webkit-calendar-picker-indicator {
    position: absolute; inset: 0; width: auto; height: auto; opacity: 0; cursor: pointer;
}
.tknol-ico-cal   { --tknol-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16.5' rx='2.5'/%3E%3Cpath d='M16 2.5v4M8 2.5v4M3 10h18'/%3E%3C/svg%3E"); }
.tknol-ico-clock { --tknol-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.tknol-ico-pin   { --tknol-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.tknol-ico-grid  { --tknol-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.tknol-ico-car   { --tknol-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 16.5H3.5v-4l2-5.2A2 2 0 0 1 7.4 6h9.2a2 2 0 0 1 1.9 1.3l2 5.2v4H19M9 16.5h6'/%3E%3Ccircle cx='7' cy='16.5' r='2'/%3E%3Ccircle cx='17' cy='16.5' r='2'/%3E%3Cpath d='M4 12h16'/%3E%3C/svg%3E"); }

/* Data + ora in un unico campo */
.tknol-dt {
    display: flex; align-items: stretch; background: #fff; border: 1px solid var(--tknol-gray-300);
    border-radius: 10px; transition: border-color .15s, box-shadow .15s;
}
.tknol-dt:hover { border-color: var(--tknol-gray-500); }
.tknol-dt:focus-within { border-color: var(--tknol-accent); box-shadow: 0 0 0 4px var(--tknol-accent-l); }
.tknol-dt .tknol-control { flex: 1 1 auto; min-width: 0; }
.tknol-dt .tknol-dt-time { flex: 0 0 128px; border-left: 1px solid var(--tknol-gray-200); }
.tknol .tknol-dt input, .tknol .tknol-dt input:hover, .tknol .tknol-dt input:focus,
.tknol .tknol-dt select, .tknol .tknol-dt select:hover, .tknol .tknol-dt select:focus {
    border: 0; box-shadow: none; background: transparent; border-radius: 10px;
}

/* Calendario personalizzato */
.tknol .tknol-dp-display {
    display: flex; align-items: center; width: 100%; min-height: 50px; margin: 0; padding: 12px 14px 12px 44px;
    border: 1px solid var(--tknol-gray-300); border-radius: 10px; background: #fff; color: var(--tknol-navy);
    font: inherit; font-size: 15px; font-weight: 500; line-height: 1.3; text-align: left; text-transform: none; letter-spacing: 0;
    cursor: pointer; box-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: border-color .15s, box-shadow .15s;
}
.tknol .tknol-dp-display:hover { border-color: var(--tknol-gray-500); background: #fff; color: var(--tknol-navy); }
.tknol .tknol-dp-display:focus { outline: 0; border-color: var(--tknol-accent); box-shadow: 0 0 0 4px var(--tknol-accent-l); }
.tknol .tknol-dp-display.is-empty { color: var(--tknol-gray-500); font-weight: 400; }
.tknol .tknol-dp-display.is-invalid { border-color: #ef4444; box-shadow: 0 0 0 4px #fee2e2; animation: tknol-shake .35s; }
@keyframes tknol-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.tknol .tknol-dt .tknol-dp-display, .tknol .tknol-dt .tknol-dp-display:hover, .tknol .tknol-dt .tknol-dp-display:focus { border: 0; box-shadow: none; background: transparent; }

.tknol-dp-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 99998; }
.tknol-dp-lock, .tknol-dp-lock body { overflow: hidden; }
.tknol.tknol-dp-pop {
    position: absolute; z-index: 99999; width: 640px; max-width: calc(100vw - 24px);
    background: #fff; border: 1px solid var(--tknol-gray-200); border-radius: 16px;
    box-shadow: 0 30px 70px -20px rgba(15,23,42,.35), 0 4px 14px rgba(15,23,42,.08);
    opacity: 0; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease; overflow: hidden;
}
.tknol.tknol-dp-pop.is-single { width: 340px; }
.tknol.tknol-dp-pop.is-open { opacity: 1; transform: none; }
.tknol-dp-pop button { font-family: inherit; text-transform: none; letter-spacing: 0; box-shadow: none; min-height: 0; line-height: 1.2; }
.tknol-dp-head { display: flex; align-items: stretch; gap: 8px; padding: 12px 12px 0 12px; }
.tknol-dp-tabs { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tknol-dp-tab {
    display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 14px; margin: 0;
    background: var(--tknol-gray-50); border: 1px solid transparent; border-radius: 10px; cursor: pointer; color: var(--tknol-navy); text-align: left;
}
.tknol-dp-tab small { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tknol-gray-500); }
.tknol-dp-tab strong { font-size: 14.5px; font-weight: 700; }
.tknol-dp-tab:hover { background: var(--tknol-gray-100); color: var(--tknol-navy); }
.tknol-dp-tab.is-active { background: #fff; border-color: var(--tknol-accent); box-shadow: 0 0 0 3px var(--tknol-accent-l); }
.tknol-dp-close {
    flex: 0 0 40px; width: 40px; padding: 0; margin: 0; border: 0; border-radius: 10px; background: transparent;
    color: var(--tknol-gray-500); font-size: 26px; cursor: pointer;
}
.tknol-dp-close:hover { background: var(--tknol-gray-100); color: var(--tknol-navy); }
.tknol-dp-body { position: relative; padding: 14px 18px 6px; }
.tknol-dp-months { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.tknol-dp-pop.is-single .tknol-dp-months { grid-template-columns: 1fr; }
.tknol-dp-title { text-align: center; font-weight: 700; font-size: 15px; color: var(--tknol-navy); text-transform: capitalize; height: 34px; line-height: 34px; margin-bottom: 6px; }
.tknol-dp-nav {
    position: absolute; top: 14px; width: 34px; height: 34px; padding: 0; margin: 0; border: 0; border-radius: 50%;
    background: transparent; cursor: pointer; color: var(--tknol-navy);
}
.tknol-dp-nav::before {
    content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px;
    border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateX(2px) rotate(45deg);
}
.tknol-dp-next::before { transform: translateX(-2px) rotate(-135deg); }
.tknol-dp-prev { left: 14px; }
.tknol-dp-next { right: 14px; }
.tknol-dp-nav:hover { background: var(--tknol-gray-100); color: var(--tknol-navy); }
.tknol-dp-nav:disabled { opacity: .25; cursor: default; background: transparent; }
.tknol-dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.tknol-dp-dow { text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tknol-gray-500); padding: 4px 0 8px; }
.tknol-dp-pad { display: block; }
.tknol-dp-day {
    position: relative; height: 40px; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent;
    font-size: 14px; font-weight: 500; color: var(--tknol-navy); cursor: pointer; z-index: 0;
}
.tknol-dp-day::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; z-index: -1; transition: background .12s; }
.tknol-dp-day:hover { background: transparent; color: var(--tknol-navy); }
.tknol-dp-day:hover::after { background: var(--tknol-gray-100); }
.tknol-dp-day.is-today { font-weight: 800; }
.tknol-dp-day.is-today::before { content: ""; position: absolute; left: 50%; bottom: 7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--tknol-accent); }
.tknol-dp-day.is-disabled { color: var(--tknol-gray-300); cursor: default; }
.tknol-dp-day.is-disabled:hover::after { background: transparent; }
.tknol-dp-day.is-closed { color: var(--tknol-gray-300); text-decoration: line-through; text-decoration-color: #ef4444; text-decoration-thickness: 1.5px; cursor: not-allowed; }
.tknol-dp-day.is-closed.is-range { color: var(--tknol-gray-500); }
.tknol-dp-day.is-range { background: var(--tknol-accent-l); }
.tknol-dp-day.is-start.has-range { background: linear-gradient(90deg, transparent 50%, var(--tknol-accent-l) 50%); }
.tknol-dp-day.is-end.has-range { background: linear-gradient(90deg, var(--tknol-accent-l) 50%, transparent 50%); }
.tknol-dp-day.is-start.is-end { background: transparent; }
.tknol .tknol-dp-day.is-start, .tknol .tknol-dp-day.is-end { color: #fff; font-weight: 700; }
.tknol-dp-day.is-start::after, .tknol-dp-day.is-end::after, .tknol-dp-day.is-start:hover::after, .tknol-dp-day.is-end:hover::after { background: var(--tknol-accent); }
.tknol-dp-day.is-start::before, .tknol-dp-day.is-end::before { background: #fff; }
.tknol-dp-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 18px 14px; border-top: 1px solid var(--tknol-gray-100); margin-top: 8px;
}
.tknol-dp-info { font-size: 13.5px; color: var(--tknol-gray-500); }
.tknol-dp-info strong { color: var(--tknol-navy); }
.tknol-dp-actions { display: flex; gap: 8px; }
.tknol-dp-clear, .tknol-dp-ok { padding: 9px 16px; margin: 0; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; }
.tknol-dp-clear { background: transparent; border: 0; color: var(--tknol-gray-500); }
.tknol-dp-clear:hover { background: var(--tknol-gray-100); color: var(--tknol-navy); }
.tknol-dp-ok { background: var(--tknol-accent); border: 0; color: #fff; }
.tknol-dp-ok:hover { background: var(--tknol-accent-d); color: #fff; }
@media (max-width: 640px) {
    .tknol.tknol-dp-pop, .tknol.tknol-dp-pop.is-single {
        position: fixed; left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; max-width: 100%;
        max-height: 92vh; overflow-y: auto; border-radius: 18px 18px 0 0; transform: translateY(100%);
        transition: transform .24s cubic-bezier(.2,.8,.2,1); opacity: 1; padding-bottom: env(safe-area-inset-bottom);
    }
    .tknol.tknol-dp-pop.is-open { transform: none; }
    .tknol-dp-pop::before { content: ""; display: block; width: 42px; height: 4px; border-radius: 4px; background: var(--tknol-gray-300); margin: 8px auto 0; }
    .tknol-dp-day { height: 46px; font-size: 15px; }
    .tknol-dp-tab strong { font-size: 13.5px; }
}

.tknol.tknol-search .tknol-dp-display, .tknol .tknol-filters .tknol-dp-display,
.tknol.tknol-search .tknol-dp-display:hover, .tknol .tknol-filters .tknol-dp-display:hover,
.tknol.tknol-search .tknol-dp-display:focus, .tknol .tknol-filters .tknol-dp-display:focus {
    border: 0; background: transparent; box-shadow: none; min-height: 30px; padding: 2px 0 2px 30px; font-weight: 600; border-radius: 0;
}
.tknol.tknol-search .tknol-dp-display.is-empty, .tknol .tknol-filters .tknol-dp-display.is-empty { font-weight: 500; }

/* Menu a tendina personalizzati */
.tknol .tknol-cs-native { position: absolute !important; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.tknol .tknol-cs-display {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; margin: 0; padding: 8px 40px 8px 44px; position: relative;
    border: 1px solid var(--tknol-gray-300); border-radius: 10px; background: #fff; color: var(--tknol-navy);
    font: inherit; font-size: 15px; font-weight: 500; line-height: 1.25; text-align: left; text-transform: none; letter-spacing: 0;
    cursor: pointer; box-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: border-color .15s, box-shadow .15s;
}
.tknol .tknol-cs-display::after {
    content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
    border-right: 2px solid var(--tknol-gray-500); border-bottom: 2px solid var(--tknol-gray-500); transform: rotate(45deg); transition: transform .18s, margin .18s;
}
.tknol .tknol-cs-display.is-open::after { transform: rotate(-135deg); margin-top: -2px; }
.tknol .tknol-cs-display:hover { border-color: var(--tknol-gray-500); background: #fff; color: var(--tknol-navy); }
.tknol .tknol-cs-display:focus, .tknol .tknol-cs-display.is-open { outline: 0; border-color: var(--tknol-accent); box-shadow: 0 0 0 4px var(--tknol-accent-l); }
.tknol .tknol-cs-display.is-empty { color: var(--tknol-gray-500); font-weight: 400; }
.tknol .tknol-cs-display.has-thumb { padding-left: 10px; min-height: 64px; }
.tknol-cs-wrap-item.tknol-control:has(.has-thumb)::before { display: none; }
.tknol .tknol-dt .tknol-cs-display, .tknol .tknol-dt .tknol-cs-display:hover, .tknol .tknol-dt .tknol-cs-display:focus, .tknol .tknol-dt .tknol-cs-display.is-open { border: 0; box-shadow: none; background: transparent; }
.tknol.tknol-search .tknol-cs-display, .tknol .tknol-filters .tknol-cs-display,
.tknol.tknol-search .tknol-cs-display:hover, .tknol .tknol-filters .tknol-cs-display:hover,
.tknol.tknol-search .tknol-cs-display:focus, .tknol .tknol-filters .tknol-cs-display:focus,
.tknol.tknol-search .tknol-cs-display.is-open, .tknol .tknol-filters .tknol-cs-display.is-open {
    border: 0; background: transparent; box-shadow: none; min-height: 30px; padding: 2px 24px 2px 30px; font-weight: 600; border-radius: 0;
}
.tknol.tknol-search .tknol-cs-display::after, .tknol .tknol-filters .tknol-cs-display::after { right: 4px; }

.tknol-cs-thumb { flex: 0 0 72px; width: 72px; height: 46px; object-fit: cover; border-radius: 8px; background: var(--tknol-gray-100); display: block; }
.tknol-cs-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tknol-cs-main strong { font-size: 15px; font-weight: 700; color: var(--tknol-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tknol-cs-main small { font-size: 12.5px; color: var(--tknol-gray-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tknol-cs-price { flex: 0 0 auto; font-weight: 800; font-size: 15px; color: var(--tknol-navy); white-space: nowrap; }
.tknol-cs-price small { font-weight: 500; font-size: 12px; color: var(--tknol-gray-500); margin-left: 1px; }

.tknol.tknol-cs-pop {
    position: absolute; z-index: 99999; background: #fff; border: 1px solid var(--tknol-gray-200); border-radius: 14px;
    box-shadow: 0 30px 70px -20px rgba(15,23,42,.35), 0 4px 14px rgba(15,23,42,.08);
    opacity: 0; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease; overflow: hidden;
}
.tknol.tknol-cs-pop.is-open { opacity: 1; transform: none; }
.tknol-cs-pop button { font-family: inherit; text-transform: none; letter-spacing: 0; box-shadow: none; min-height: 0; line-height: 1.2; }
.tknol-cs-head { display: none; align-items: center; justify-content: space-between; padding: 10px 12px 4px 18px; font-weight: 700; color: var(--tknol-navy); }
.tknol-cs-list { max-height: 340px; overflow-y: auto; padding: 6px; overscroll-behavior: contain; }
.tknol-cs-opt {
    display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 10px 12px; border: 1px solid transparent; border-radius: 10px;
    background: transparent; color: var(--tknol-navy); font-size: 15px; font-weight: 500; text-align: left; cursor: pointer;
}
.tknol-cs-opt:hover { background: var(--tknol-gray-50); color: var(--tknol-navy); }
.tknol-cs-opt.is-selected { background: var(--tknol-accent-l); color: var(--tknol-navy); font-weight: 700; }
.tknol-cs-list-item .tknol-cs-opt { padding: 8px; }
.tknol-cs-list-item .tknol-cs-opt + .tknol-cs-opt { margin-top: 2px; }
.tknol-cs-list-item .tknol-cs-opt.is-selected { background: #fff; border-color: var(--tknol-accent); box-shadow: 0 0 0 3px var(--tknol-accent-l); }
.tknol-cs-list-item .tknol-cs-thumb { flex-basis: 96px; width: 96px; height: 60px; }
.tknol-cs-list-time { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 12px; max-height: 380px; }
.tknol-cs-list-time .tknol-cs-opt { justify-content: center; padding: 10px 0; border: 1px solid var(--tknol-gray-200); font-variant-numeric: tabular-nums; font-size: 14px; }
.tknol-cs-list-time .tknol-cs-opt:hover { border-color: var(--tknol-accent); background: #fff; }
.tknol .tknol-cs-list-time .tknol-cs-opt.is-selected { background: var(--tknol-accent); border-color: var(--tknol-accent); color: #fff; }
@media (max-width: 640px) {
    .tknol.tknol-cs-pop {
        position: fixed; left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100% !important;
        border-radius: 18px 18px 0 0; transform: translateY(100%); opacity: 1; transition: transform .24s cubic-bezier(.2,.8,.2,1);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .tknol.tknol-cs-pop.is-open { transform: none; }
    .tknol-cs-pop::before { content: ""; display: block; width: 42px; height: 4px; border-radius: 4px; background: var(--tknol-gray-300); margin: 8px auto 0; }
    .tknol-cs-head { display: flex; }
    .tknol-cs-list { max-height: 65vh; }
    .tknol-cs-list-time { grid-template-columns: repeat(4, 1fr); }
    .tknol .tknol-cs-display.has-thumb .tknol-cs-price small { display: none; }
}

/* Barra di ricerca e filtri catalogo */
.tknol-filters, .tknol-search {
    display: flex; flex-wrap: wrap; gap: 0; align-items: stretch;
    background: #fff; border: 1px solid var(--tknol-gray-200);
    border-radius: calc(var(--tknol-radius) + 4px); padding: 8px; margin-bottom: 28px;
    box-shadow: 0 18px 44px -18px rgba(15,23,42,.22), 0 2px 6px rgba(15,23,42,.05);
}
.tknol-filters .tknol-field, .tknol-search .tknol-field {
    flex: 1 1 200px; padding: 10px 16px 8px; border-radius: var(--tknol-radius); position: relative;
    transition: background-color .15s;
}
.tknol-filters .tknol-field + .tknol-field:not(.tknol-field-btn)::before,
.tknol-search .tknol-field + .tknol-field:not(.tknol-field-btn)::before {
    content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--tknol-gray-200);
}
.tknol-filters .tknol-field:not(.tknol-field-btn):hover, .tknol-search .tknol-field:not(.tknol-field-btn):hover { background: var(--tknol-gray-50); }
.tknol-filters .tknol-field:focus-within, .tknol-search .tknol-field:focus-within { background: var(--tknol-gray-50); }
.tknol-filters .tknol-field label, .tknol-search .tknol-field label { margin-bottom: 2px; padding-left: 30px; color: var(--tknol-navy); }
.tknol .tknol-filters input, .tknol .tknol-filters select, .tknol-filters input, .tknol-filters select,
.tknol.tknol-search input, .tknol.tknol-search select {
    border: 0; background-color: transparent; min-height: 30px; padding-top: 2px; padding-bottom: 2px;
    border-radius: 0; box-shadow: none; font-weight: 600;
}
.tknol-filters .tknol-control > input, .tknol-filters .tknol-control > select,
.tknol.tknol-search .tknol-control > input, .tknol.tknol-search .tknol-control > select { padding-left: 30px; }
.tknol-filters .tknol-control::before, .tknol-search .tknol-control::before { left: 0; }
.tknol-filters .tknol-control select, .tknol.tknol-search .tknol-control select { background-position: right 2px center; }
.tknol-filters .tknol-field-btn, .tknol-search .tknol-field-btn { flex: 0 0 auto; padding: 0; display: flex; }
.tknol-filters .tknol-btn, .tknol-search .tknol-btn { min-height: 60px; padding: 0 30px; border-radius: var(--tknol-radius); font-size: 15px; }
.tknol-btn-ico {
    width: 17px; height: 17px; flex: 0 0 17px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M20 20l-4.8-4.8'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M20 20l-4.8-4.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tknol-btn, .tknol-btn-wa, .tknol-btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: 15px;
    text-decoration: none; border: 0; cursor: pointer; line-height: 1.2; transition: all .15s;
}
.tknol-btn { background: var(--tknol-accent); color: #fff !important; }
.tknol-btn:hover { background: var(--tknol-accent-d); }
.tknol-btn:disabled { opacity: .55; cursor: not-allowed; }
.tknol-btn-lg { width: 100%; padding: 15px 22px; font-size: 16px; margin-top: 14px; }
.tknol-btn-wa { background: #25d366; color: #fff !important; width: 100%; margin-top: 10px; }
.tknol-btn-wa:hover { background: #1da851; }
.tknol-btn-ghost { background: transparent; color: var(--tknol-gray-500) !important; border: 1px solid var(--tknol-gray-300); width: 100%; margin-top: 10px; }
.tknol-btn-ghost:hover { border-color: #ef4444; color: #b91c1c !important; }

/* Catalogo */
.tknol-result-info { font-size: 14px; color: var(--tknol-gray-500); margin: 0 0 16px; }
.tknol-grid { display: grid; grid-template-columns: repeat(var(--tknol-cols, 3), minmax(0, 1fr)); gap: 22px; }
.tknol-card { background: #fff; border: 1px solid var(--tknol-gray-200); border-radius: var(--tknol-radius); overflow: hidden; box-shadow: var(--tknol-shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.tknol-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.10); }
.tknol-card-img { position: relative; aspect-ratio: 16/10; min-height: 0; overflow: hidden; background: var(--tknol-gray-100); }
/* Assoluta: una foto più alta del 16:10 (es. scooter quasi quadrato) non deve allungare il riquadro */
.tknol-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.tknol-card-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 46px; }
.tknol-card-cat { position: absolute; z-index: 1; top: 10px; left: 10px; background: rgba(15,23,42,.85); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 4px 10px; border-radius: 50px; }
.tknol-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.tknol-card-title { font-size: 18px; margin: 0 0 2px; color: var(--tknol-navy); }
.tknol-card-sub { font-size: 13px; color: var(--tknol-gray-500); margin-bottom: 10px; }
/* Caratteristiche: griglia fissa a 2 colonne, allineata a sinistra, uguale in ogni card */
.tknol .tknol-specs { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; font-size: 13px; line-height: 1.3; color: var(--tknol-gray-700); text-align: left; justify-items: start; }
.tknol .tknol-specs li { margin: 0; padding: 0; display: flex; align-items: center; gap: 7px; min-width: 0; }
.tknol .tknol-specs li::before { content: none; }
.tknol-spec-ico { flex: 0 0 16px; color: var(--tknol-accent, currentColor); opacity: .9; }
.tknol-feats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tknol-feats span { font-size: 11px; background: var(--tknol-gray-100); color: var(--tknol-gray-700); padding: 3px 9px; border-radius: 50px; }
.tknol-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--tknol-gray-100); }
.tknol-price strong { font-size: 20px; color: var(--tknol-navy); }
.tknol-price span { font-size: 13px; color: var(--tknol-gray-500); }
.tknol-card-total { margin-top: 10px; font-size: 13px; color: var(--tknol-accent-d); background: var(--tknol-accent-l); padding: 7px 10px; border-radius: 8px; }
.tknol-empty { background: var(--tknol-gray-50); border: 1px dashed var(--tknol-gray-300); border-radius: var(--tknol-radius); padding: 28px; text-align: center; color: var(--tknol-gray-500); }

/* Form di prenotazione */
.tknol-cols { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.tknol-col-main { counter-reset: tknol-step; min-width: 0; }
.tknol-box { background: #fff; border: 1px solid var(--tknol-gray-200); border-radius: var(--tknol-radius); padding: 26px 28px 28px; margin-bottom: 20px; box-shadow: 0 12px 34px -20px rgba(15,23,42,.20), 0 1px 2px rgba(15,23,42,.04); }
.tknol-box h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 18px; line-height: 1.3; color: var(--tknol-navy); padding-bottom: 16px; border-bottom: 1px solid var(--tknol-gray-100); }
.tknol-step { counter-increment: tknol-step; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--tknol-accent-l); color: var(--tknol-accent-d); font-size: 14px; font-weight: 800; }
.tknol-step::before { content: counter(tknol-step); }
.tknol-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.tknol-row > .tknol-field { flex-basis: 240px; }
.tknol-row > .tknol-field-sm { flex-basis: 110px; }
.tknol-row:last-child { margin-bottom: 0; }
.tknol-w100 { flex: 1 1 100%; }
.tknol-hint { font-size: 13px; color: var(--tknol-gray-500); margin: 10px 0 0; }

.tknol-extra { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--tknol-gray-200); border-radius: 8px; margin-bottom: 8px; cursor: pointer; }
.tknol-extra:hover { border-color: var(--tknol-accent); background: #fbfffe; }
.tknol-extra select { width: auto; padding: 5px 8px; }
.tknol-extra-name { font-weight: 600; color: var(--tknol-navy); }
.tknol-extra-price { font-weight: 700; color: var(--tknol-accent-d); white-space: nowrap; }
.tknol-extra-desc { grid-column: 1 / -1; font-size: 12px; color: var(--tknol-gray-500); }

.tknol-pay { display: flex; flex-direction: column; gap: 8px; }
.tknol-pay-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--tknol-gray-200); border-radius: 8px; cursor: pointer; }
.tknol-pay-opt:hover { border-color: var(--tknol-accent); }
.tknol-pay-opt input { accent-color: var(--tknol-accent); }
.tknol-consents { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.tknol-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.tknol-check input { margin-top: 3px; accent-color: var(--tknol-accent); }
.tknol-terms-text { margin-top: 14px; max-height: 260px; overflow-y: auto; background: var(--tknol-gray-50); border: 1px solid var(--tknol-gray-200); border-radius: 8px; padding: 14px 16px; font-size: 13px; white-space: pre-line; }
.tknol-terms-details { margin-top: 18px; }
.tknol-terms-details summary { cursor: pointer; font-weight: 700; color: var(--tknol-navy); }

/* Riepilogo */
.tknol-summary { background: var(--tknol-navy); color: #fff; border-radius: var(--tknol-radius); padding: 20px 22px; }
/* Riepilogo + pulsanti scendono insieme: sticky sul blocco intero, non sul solo riepilogo */
.tknol-col-side { align-self: stretch; }
.tknol-side-sticky { position: sticky; top: var(--tknol-sticky-top, 20px); display: flex; flex-direction: column; gap: 12px; }
.tknol-side-sticky .tknol-btn, .tknol-side-sticky .tknol-btn-wa { margin: 0; }
@media (max-width: 900px) { .tknol-side-sticky { position: static; } }
.tknol-summary h3 { margin: 0 0 14px; font-size: 16px; color: #fff; }
.tknol-summary-body { font-size: 14px; color: rgba(255,255,255,.75); }
.tknol-quote { list-style: none; margin: 0; padding: 0; }
.tknol-quote li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.10); font-size: 14px; }
.tknol-quote li:last-child { border-bottom: 0; }
.tknol-quote-total { font-size: 17px !important; padding-top: 12px !important; border-top: 2px solid rgba(255,255,255,.25); border-bottom: 0 !important; }
.tknol-quote-total strong { color: #5eead4; }
.tknol-quote-note { font-size: 12.5px !important; opacity: .8; }
.tknol-quote-disc strong { color: #86efac; }
.tknol-loading { opacity: .7; font-style: italic; }

/* Box gestione (usa lo stesso .tknol-quote su sfondo chiaro) */
.tknol-manage .tknol-quote li { border-bottom-color: var(--tknol-gray-100); }
.tknol-manage .tknol-quote-total { border-top-color: var(--tknol-gray-300); }
.tknol-manage .tknol-quote-total strong { color: var(--tknol-accent-d); }
.tknol-manage-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.tknol-manage-sub { color: var(--tknol-gray-500); font-size: 15px; }
.tknol-manage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tknol-status { display: inline-flex; padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 700; }
.tknol-status-amber { background: #fef3c7; color: #92400e; }
.tknol-status-blue { background: #dbeafe; color: #1e40af; }
.tknol-status-indigo { background: #e0e7ff; color: #3730a3; }
.tknol-status-green { background: #d1fae5; color: #065f46; }
.tknol-status-red { background: #fee2e2; color: #991b1b; }
.tknol-status-gray { background: var(--tknol-gray-100); color: var(--tknol-gray-700); }

.tknol-pre { white-space: pre-wrap; font-family: inherit; font-size: 13.5px; background: var(--tknol-gray-50); border-radius: 8px; padding: 12px 14px; margin: 0 0 14px; line-height: 1.6; }
.tknol-msg { margin-top: 12px; font-size: 14px; font-weight: 600; }
.tknol-msg-err { color: #b91c1c; background: #fee2e2; padding: 10px 12px; border-radius: 8px; }
.tknol-msg-ok { color: #065f46; background: #d1fae5; padding: 10px 12px; border-radius: 8px; }

.tknol-done-box { background: #fff; border: 2px solid var(--tknol-accent); border-radius: var(--tknol-radius); padding: 28px; text-align: center; }
.tknol-done-icon { font-size: 46px; }
.tknol-done-code { font-size: 16px; }
.tknol-payinfo { text-align: left; margin-top: 16px; }

/* Card: foto e titolo portano alla scheda del mezzo */
a.tknol-card-img { display: block; text-decoration: none; color: inherit; }
.tknol-card-title a { color: inherit; text-decoration: none; }
.tknol-card-title a:hover { color: var(--tknol-accent-d); }

/* ── Scheda del singolo mezzo ──────────────────────────────────── */
.tknol-scheda { margin: 0 0 clamp(40px, 6vw, 80px); }
.tknol-scheda-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--tknol-gray-500); text-decoration: none; }
.tknol-scheda-back:hover { color: var(--tknol-navy); }
.tknol-scheda-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(22px, 3.5vw, 44px); align-items: start; }
.tknol-scheda-main { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--tknol-radius); border: 1px solid var(--tknol-gray-200); background: radial-gradient(90% 90% at 50% 40%, #fff, var(--tknol-gray-100)); }
.tknol-scheda-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4% 6%; margin: 0; display: block; }
.tknol-scheda-main .tknol-card-noimg { position: absolute; inset: 0; color: var(--tknol-gray-300); }
.tknol-scheda-main .tknol-card-cat { top: 14px; left: 14px; }
.tknol-scheda-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; margin-top: 12px; }
.tknol .tknol-scheda-thumb { position: relative; display: block; aspect-ratio: 4/3; padding: 0; margin: 0; min-height: 0; overflow: hidden; cursor: pointer; background: var(--tknol-gray-100); border: 2px solid transparent; border-radius: 8px; box-shadow: none; transition: border-color .15s; }
.tknol .tknol-scheda-thumb:hover { border-color: var(--tknol-gray-300); background: var(--tknol-gray-100); }
.tknol .tknol-scheda-thumb.is-active { border-color: var(--tknol-accent); }
.tknol-scheda-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.tknol-scheda-info { display: flex; flex-direction: column; gap: 16px; }
.tknol-scheda-sub { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--tknol-gray-500); }
.tknol-scheda-excerpt { margin: 0; font-size: 16px; line-height: 1.6; }
.tknol-scheda-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; padding-bottom: 16px; border-bottom: 1px solid var(--tknol-gray-200); }
.tknol-scheda-price small { flex: 1 1 100%; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--tknol-gray-500); }
.tknol-scheda-price strong { font-size: clamp(32px, 4vw, 42px); line-height: 1; color: var(--tknol-navy); }
.tknol-scheda-price span { font-size: 15px; color: var(--tknol-gray-500); }
.tknol .tknol-scheda-rates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.tknol .tknol-scheda-rates li { margin: 0; padding: 10px 12px; background: var(--tknol-gray-50); border: 1px solid var(--tknol-gray-200); border-radius: 8px; display: flex; flex-direction: column; gap: 2px; }
.tknol-scheda-rates li::before { content: none; }
.tknol-scheda-rates span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tknol-gray-500); }
.tknol-scheda-rates strong { font-size: 17px; color: var(--tknol-navy); }
.tknol .tknol-scheda-specs { margin: 0; font-size: 14px; gap: 10px 14px; }
.tknol-scheda-cta { display: flex; flex-direction: column; gap: 10px; }
.tknol-scheda-cta .tknol-btn-lg, .tknol-scheda-cta .tknol-btn-wa { margin: 0; text-align: center; }
.tknol-scheda-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(22px, 3.5vw, 44px); margin-top: clamp(28px, 4vw, 48px); align-items: start; }
.tknol-scheda-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.tknol-scheda-col .tknol-box { margin: 0; }
.tknol-scheda-text > :first-child { margin-top: 0; }
.tknol-scheda-text > :last-child { margin-bottom: 0; }
.tknol-scheda-text img { max-width: 100%; height: auto; }
.tknol .tknol-scheda-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin: 0; }
.tknol .tknol-scheda-dl-1 { grid-template-columns: 1fr; }
.tknol-scheda-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--tknol-gray-100); min-width: 0; }
.tknol-scheda-dl dt { margin: 0; font-size: 13px; color: var(--tknol-gray-500); font-weight: 600; }
.tknol-scheda-dl dd { margin: 0; font-size: 14px; color: var(--tknol-navy); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.tknol-scheda-feats { margin: 16px 0 0; }
.tknol-scheda-feats span { font-size: 12.5px; padding: 5px 11px; }
.tknol-scheda-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--tknol-accent-d); text-decoration: none; }
.tknol-scheda-book { margin-top: clamp(36px, 5vw, 60px); }
.tknol-scheda .tknol-book { scroll-margin-top: 110px; margin-bottom: 0 !important; }
.tknol-scheda-related { margin-top: clamp(40px, 6vw, 72px); }
.tknol-scheda-buy { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--tknol-gray-200); border-radius: var(--tknol-radius); box-shadow: var(--tknol-shadow); }
.tknol-scheda-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tknol-scheda-buy .tknol-msg { margin: 0; }
.tknol-scheda-buy .tknol-msg:empty { display: none; }
.tknol-scheda-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--tknol-gray-50); border-radius: 8px; }
.tknol-scheda-total[hidden] { display: none; }
.tknol-scheda-total span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tknol-gray-500); }
.tknol-scheda-total strong { font-size: 22px; color: var(--tknol-navy); }
.tknol .tknol-scheda-buy button.tknol-btn-wa { border: 0; cursor: pointer; font-family: inherit; background: #25d366; color: #fff !important; }
.tknol .tknol-scheda-buy button.tknol-btn-wa:hover { background: #1da851; }
.tknol-scheda-buy button:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 900px) {
    .tknol-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .tknol-cols { grid-template-columns: 1fr; }
    .tknol-summary { position: static; }
    .tknol-manage-grid { grid-template-columns: 1fr; }
    .tknol-scheda-top, .tknol-scheda-body { grid-template-columns: 1fr; }
    .tknol-filters .tknol-field-btn, .tknol-search .tknol-field-btn { flex: 1 1 100%; padding-top: 6px; }
    .tknol-filters .tknol-btn, .tknol-search .tknol-btn { width: 100%; min-height: 54px; }
}
@media (max-width: 600px) {
    .tknol-grid { grid-template-columns: 1fr; }
    .tknol-field, .tknol-field-sm { flex: 1 1 100%; }
    .tknol-filters, .tknol-search { padding: 6px; }
    .tknol-filters .tknol-field, .tknol-search .tknol-field { flex: 1 1 100%; padding: 10px 12px 8px; }
    .tknol-filters .tknol-field + .tknol-field:not(.tknol-field-btn)::before,
    .tknol-search .tknol-field + .tknol-field:not(.tknol-field-btn)::before { left: 12px; right: 12px; top: 0; bottom: auto; width: auto; height: 1px; }
    .tknol-dt .tknol-dt-time { flex-basis: 112px; }
    .tknol-box { padding: 20px 16px 22px; }
    .tknol-box h3 { font-size: 17px; }
    .tknol-btn, .tknol-btn-wa, .tknol-btn-ghost { width: 100%; }
    .tknol-card-foot { flex-direction: column; align-items: stretch; gap: 12px; }
    .tknol .tknol-scheda-dl { grid-template-columns: 1fr; }
    .tknol-scheda-dates { grid-template-columns: 1fr; }
    .tknol-scheda-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
}
