:root{
  --ink:#14140f;
  --gold:#c9a227;
  --cream:#f6f1e7;
  --stone:#86807a;
}
* { box-sizing: border-box; }
body {
    font-family: 'Heebo', 'Segoe UI', Arial, sans-serif;
    background: var(--cream);
    color: var(--ink);
    margin: 0;
    direction: rtl;
}
h1,h2,h3 { font-family:'Rubik','Segoe UI',sans-serif; }

.wrap{max-width:1080px;margin:0 auto;padding:0 32px;}
header{
    position:sticky;top:0;z-index:20;
    background:rgba(246,241,231,0.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid rgba(20,20,15,0.08);
}
header .wrap{display:flex;align-items:center;justify-content:space-between;height:76px;}
.brand{font-family:'Rubik',sans-serif;font-weight:700;font-size:20px;}
nav{display:flex;gap:28px;font-size:15px;color:var(--stone);}
nav a{color:inherit;text-decoration:none;}
nav a:hover{color:var(--ink);}
.btn-call{
    background:var(--ink);color:var(--cream);
    padding:10px 22px;border-radius:2px;
    font-size:15px;font-weight:500;
    border:1px solid var(--ink);
    text-decoration:none;
}
.btn-call:hover{background:transparent;color:var(--ink);}
@media (max-width:820px){ nav{display:none;} }

.page-wrap {
    max-width: 520px;
    margin: 0 auto;
    padding: 24px 16px;
}
.container {
    background: #fff;
    border: 1px solid rgba(20,20,15,0.12);
    border-radius: 2px;
    padding: 28px;
}
h1 { font-size: 1.5rem; margin: 0 0 22px; text-align: center; font-weight: 700; }
label { display: block; margin: 14px 0 5px; font-weight: 500; font-size: 0.9rem; color: var(--ink); }
input[type="text"], select {
    width: 100%;
    padding: 11px;
    border: 1px solid rgba(20,20,15,0.2);
    border-radius: 2px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--cream);
}
input[type="text"]:focus{ outline:none; border-color: var(--gold); background:#fff; }
.datetime-row {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.datetime-field {
    flex: 1;
}
.datetime-field label {
    margin: 14px 0 6px;
}
input[type="date"], input[type="time"] {
    width: 100%;
    padding: 14px 12px;
    border: 2px solid var(--gold);
    border-radius: 2px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    background: var(--cream);
    font-family: inherit;
}
input[type="date"]:focus, input[type="time"]:focus {
    outline: none;
    border-color: var(--ink);
    background: #fff;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
}
.checkbox-label input { width: auto; margin: 0; accent-color: var(--gold); }
button {
    width: 100%;
    margin-top: 22px;
    padding: 14px;
    background: var(--gold);
    color: var(--ink);
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
}
button:hover { background: var(--ink); color: var(--cream); }
.hidden { display: none; }
.suggestions {
    position: relative;
    z-index: 10;
    background: #fff;
    border: 1px solid rgba(20,20,15,0.15);
    border-radius: 2px;
    margin-top: 2px;
    max-height: 180px;
    overflow-y: auto;
}
.suggestion {
    padding: 9px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(20,20,15,0.08);
}
.suggestion:last-child { border-bottom: none; }
.suggestion:hover { background: var(--cream); }
#loading { text-align: center; margin-top: 18px; color: var(--stone); }
.error { color: #9a3324; margin-top: 18px; text-align: center; }
#results { margin-top: 22px; }
.option {
    border: 1px solid rgba(20,20,15,0.15);
    border-radius: 2px;
    padding: 16px;
    margin-bottom: 14px;
}
.option h3 { margin: 0 0 6px; font-size: 1.05rem; }
.option .meta { font-size: 0.85rem; color: var(--stone); margin-bottom: 10px; }
.row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 4px 0; }
.total { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(20,20,15,0.2); text-align: left; font-size: 1.1rem; font-weight: 500; }
#map {
    height: 300px;
    width: 100%;
    border-radius: 2px;
    margin-top: 18px;
    z-index: 1;
    border: 1px solid rgba(20,20,15,0.15);
}
.legend {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    font-size: 0.85rem;
}
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i {
    display: inline-block;
    width: 18px;
    height: 4px;
    border-radius: 2px;
}
.option.unavailable { text-align: center; color: var(--stone); }
.legal-disclaimer {
    margin-top: 20px;
    font-size: 11px;
    line-height: 1.6;
    color: var(--stone);
    text-align: center;
    opacity: 0.8;
}

/* שדה מוצא + כפתור "המיקום שלי" */
.input-row { display: flex; gap: 8px; align-items: stretch; }
.input-row input[type="text"] { flex: 1; min-width: 0; }
button.gps-btn {
    width: auto;
    margin: 0;
    padding: 0 12px;
    white-space: nowrap;
    font-size: 0.85rem;
    background: var(--ink);
    color: var(--cream);
    border: 1px solid var(--ink);
}
button.gps-btn:hover { background: transparent; color: var(--ink); }
button.gps-btn:disabled { opacity: 0.6; cursor: wait; }
