/* Grand Tours - Frontend */
:root{--gtp-blue:#2271b1;--gtp-dark:#1d2327;--gtp-green:#00a651;--gtp-wa:#25d366;--gtp-light:#f0f6fc;--gtp-border:#ddd;--gtp-radius:10px;--gtp-shadow:0 4px 20px rgba(0,0,0,.1)}
.gtp-front{font-family:'Segoe UI',Arial,sans-serif;color:var(--gtp-dark)}
.gtp-search-box{background:linear-gradient(135deg,#1a3a6b 0%,#2271b1 100%);border-radius:var(--gtp-radius);padding:35px;box-shadow:var(--gtp-shadow)}
.gtp-search-title{color:#fff;font-size:1.6em;margin:0 0 25px;text-align:center}
.gtp-search-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:15px;margin-bottom:15px}
.gtp-field label{display:block;color:rgba(255,255,255,.85);font-size:.82em;font-weight:600;margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px}
.gtp-search-box .gtp-field input,.gtp-search-box .gtp-field select{width:100%;padding:10px 12px;border:2px solid rgba(255,255,255,.3);border-radius:6px;background:rgba(255,255,255,.15);color:#fff;font-size:.95em;transition:border .2s;box-sizing:border-box}
.gtp-search-box .gtp-field select option{color:#222;background:#fff}
.gtp-search-box .gtp-field input:focus,.gtp-search-box .gtp-field select:focus{border-color:#fff;outline:none;background:rgba(255,255,255,.25)}
.gtp-ages-grid{display:flex;gap:12px;flex-wrap:wrap}
.gtp-btn-primary{display:block;width:100%;margin-top:20px;padding:14px;background:#fff;color:var(--gtp-blue);border:none;border-radius:8px;font-size:1.1em;font-weight:700;cursor:pointer;transition:all .2s}
.gtp-btn-primary:hover{background:var(--gtp-light);transform:translateY(-1px)}
.gtp-btn-primary:disabled{opacity:.6;cursor:wait}
.gtp-btn-wa{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;background:var(--gtp-wa);color:#fff;border-radius:8px;text-decoration:none;font-weight:700;font-size:1em;transition:all .2s}
.gtp-btn-wa:hover{background:#1eb050;color:#fff}
.gtp-results-header{display:block;margin-bottom:20px;color:var(--gtp-blue)}
.gtp-card{background:#fff;border:1px solid var(--gtp-border);border-radius:var(--gtp-radius);padding:22px;margin-bottom:16px;box-shadow:0 2px 8px rgba(0,0,0,.06);display:grid;grid-template-columns:1fr auto;gap:20px;align-items:start;transition:box-shadow .2s}
.gtp-card:hover{box-shadow:0 6px 20px rgba(0,0,0,.12)}
.gtp-card-name{font-size:1.2em;font-weight:700;color:var(--gtp-dark);margin:0 0 4px}
.gtp-card-stars{color:#f5a623;letter-spacing:1px;font-size:.9em}
.gtp-card-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px;font-size:.88em;color:#666}
.gtp-card-meta span{background:var(--gtp-light);padding:4px 10px;border-radius:20px}
.gtp-card-price-box{text-align:right}
.gtp-card-price-total{font-size:1.8em;font-weight:800;color:var(--gtp-blue);white-space:nowrap}
.gtp-card-price-sub{font-size:.82em;color:#888;margin-bottom:10px}
.gtp-card-children{font-size:.8em;color:#555;margin-top:6px}
.gtp-book-btn{margin-top:12px;padding:10px 22px;background:var(--gtp-blue);color:#fff;border:none;border-radius:6px;font-size:.95em;font-weight:700;cursor:pointer;transition:background .2s;white-space:nowrap}
.gtp-book-btn:hover{background:#1a5fa0}
.gtp-loading{text-align:center;padding:50px;color:var(--gtp-blue);font-size:1.1em}
.gtp-spinner{display:inline-block;width:36px;height:36px;border:4px solid var(--gtp-light);border-top-color:var(--gtp-blue);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:12px}
@keyframes spin{to{transform:rotate(360deg)}}
.gtp-no-results{text-align:center;padding:50px;color:#888;font-size:1.1em}
#gtp-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}
#gtp-modal{background:#fff;border-radius:12px;padding:35px;max-width:620px;width:100%;max-height:90vh;overflow-y:auto;position:relative}
#gtp-modal-close{position:absolute;top:15px;right:18px;background:none;border:none;font-size:1.4em;cursor:pointer;color:#888}
#gtp-modal h2{margin:0 0 15px;color:var(--gtp-blue)}
.gtp-modal-summary{background:var(--gtp-light);border-radius:8px;padding:15px;margin-bottom:20px;font-size:.92em;line-height:1.8}
.gtp-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
#gtp-modal .gtp-field label{display:block;font-weight:600;font-size:.85em;margin-bottom:5px;color:#444;text-transform:uppercase;letter-spacing:.3px}
#gtp-modal .gtp-field input,#gtp-modal .gtp-field select,#gtp-modal .gtp-field textarea{width:100%;padding:10px 12px;border:1.5px solid var(--gtp-border);border-radius:6px;font-size:.95em;box-sizing:border-box;transition:border .2s}
#gtp-modal .gtp-field input:focus,#gtp-modal .gtp-field select:focus,#gtp-modal .gtp-field textarea:focus{border-color:var(--gtp-blue);outline:none}
#gtp-modal .gtp-btn-primary{width:auto;padding:12px 28px;font-size:1em}
.gtp-success{background:#d1fae5;border:1px solid #6ee7b7;border-radius:8px;padding:20px;text-align:center;color:#065f46;font-size:1em}
.gtp-success strong{display:block;font-size:1.2em;margin-bottom:6px}
.gtp-error{background:#fee2e2;border:1px solid #fca5a5;border-radius:8px;padding:12px 18px;color:#991b1b;font-size:.9em}
@media(max-width:640px){.gtp-search-box{padding:20px}.gtp-search-grid{grid-template-columns:1fr 1fr}.gtp-card{grid-template-columns:1fr}.gtp-card-price-box{text-align:left}.gtp-form-grid{grid-template-columns:1fr}}

.gtp-details-btn {
    display: inline-block;
    margin-top: 8px;
    margin-left: 8px;
    padding: 8px 16px;
    background: transparent;
    color: var(--gtp-blue);
    border: 2px solid var(--gtp-blue);
    border-radius: 6px;
    font-size: .9em;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}
.gtp-details-btn:hover { background: var(--gtp-blue); color: #fff; }

/* ── Back / New Search buttons ── */
.gtp-results-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.gtp-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: .9em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    border: 2px solid var(--gtp-blue);
    background: transparent;
    color: var(--gtp-blue);
}
.gtp-back-btn:hover {
    background: var(--gtp-blue);
    color: #fff;
}
.gtp-back-site {
    border-color: #059669;
    color: #059669;
}
.gtp-back-site:hover {
    background: #059669;
    color: #fff;
}
/* ═══════════════════════════════════════════
   GTP — Price Range Filter (FIXED)
   أضف الكود ده في آخر ملف frontend.css
   ═══════════════════════════════════════════ */

.gtp-price-filter {
    background: #f0f6fc;
    border: 1px solid #c3d9f0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 14px;
    width: 100%;
    box-sizing: border-box;
    color: #1a3a5c;
}

.gtp-pf-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 6px;
}

.gtp-pf-label {
    font-weight: 600;
    font-size: 13px;
    color: #1a3a5c;
}

.gtp-pf-display {
    font-size: 13px;
    font-weight: 700;
    color: #2271b1;
    background: #daeaf7;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid #b0cfea;
}

.gtp-pf-track-wrap {
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.gtp-pf-track-bg {
    position: absolute;
    left: 0; right: 0;
    height: 4px;
    background: #c3d9f0;
    border-radius: 4px;
}

.gtp-pf-track-fill {
    position: absolute;
    height: 4px;
    background: #2271b1;
    border-radius: 4px;
    pointer-events: none;
}

.gtp-pf-range {
    position: absolute;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 3;
    margin: 0;
}

.gtp-pf-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #2271b1;
    pointer-events: all;
    cursor: pointer;
    box-shadow: 0 1px 5px rgba(0,0,0,.2);
}

.gtp-pf-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #2271b1;
    pointer-events: all;
    cursor: pointer;
}

.gtp-pf-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.gtp-pf-inp-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gtp-pf-inp-wrap label {
    font-size: 11px;
    color: #5a7a9a;
    font-weight: 600;
    letter-spacing: .4px;
}

.gtp-pf-inp-wrap input[type="number"] {
    width: 100%;
    padding: 7px 10px;
    border-radius: 7px;
    border: 1px solid #b0cfea;
    background: #fff;
    color: #1a3a5c;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
    -moz-appearance: textfield;
}

.gtp-pf-inp-wrap input[type="number"]:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34,113,177,.15);
}

.gtp-pf-inp-wrap input[type="number"]::-webkit-inner-spin-button {
    opacity: .5;
}

.gtp-pf-sep {
    font-size: 18px;
    color: #5a7a9a;
    padding-top: 18px;
}

.gtp-pf-count {
    font-size: 12px;
    text-align: right;
    color: #2271b1;
    font-weight: 600;
}

/* ── ROOM BREAKDOWN IN CARD ──────────────── */
.gtp-room-breakdown {
    margin-top: 10px;
    background: var(--gtp-light);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: .88em;
}
.gtp-room-line {
    padding: 4px 0;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gtp-room-line:last-child { border-bottom: none; }
.gtp-room-badge {
    background: var(--gtp-blue);
    color: #fff;
    font-size: .78em;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    min-width: 32px;
    text-align: center;
}

/* ── FILTER BAR ──────────────────────────── */
.gtp-filter-bar { padding: 15px; background: var(--gtp-light); border-radius: 8px; margin-bottom: 20px; }
.gtp-filter-top { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:12px; font-weight:600; color:var(--gtp-blue); }

/* ── ATTR FILTER BUTTONS ─────────────────── */
.gtp-attr-filters { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.gtp-attr-btn { padding:6px 14px; border:2px solid var(--gtp-blue); border-radius:20px; background:#fff; color:var(--gtp-blue); font-size:.85em; font-weight:600; cursor:pointer; transition:all .2s; }
.gtp-attr-btn.active { background:var(--gtp-blue); color:#fff; }
.gtp-attr-btn:hover { background:var(--gtp-light); }

/* ── HOTEL BADGES ────────────────────────── */
.gtp-hotel-badge { font-size:.72em; padding:2px 7px; border-radius:10px; font-weight:600; margin-right:4px; }
.gtp-hotel-badge.sea   { background:#e0f2fe; color:#0369a1; }
.gtp-hotel-badge.aqua  { background:#e0f7fa; color:#0097a7; }
.gtp-hotel-badge.adult { background:#fce7f3; color:#9d174d; }

/* ── HOTEL NAME SEARCH ───────────────────── */
.gtp-search-box .gtp-field input[type="text"] { width:100%; padding:10px 12px; border:2px solid rgba(255,255,255,.3); border-radius:6px; background:rgba(255,255,255,.15); color:#fff; font-size:.95em; box-sizing:border-box; }
.gtp-search-box .gtp-field input[type="text"]::placeholder { color:rgba(255,255,255,.6); }
.gtp-hotel-badge.couple { background:#fdf4ff; color:#7e22ce; }
.gtp-hotel-badge.family { background:#f0fdf4; color:#15803d; }

/* Hotel Features Panel */
.gtp-feat-panel {
    background: #1a3a6b;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 14px;
}
.gtp-feat-panel-title {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.gtp-feat-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    margin-bottom: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}
.gtp-feat-opt:last-child { margin-bottom: 0; }
.gtp-feat-opt:hover { background: rgba(255,255,255,0.2); }
.gtp-feat-opt.on { background: rgba(255,255,255,0.95); color: #1a3a6b; font-weight: 700; }
.gtp-chkb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    font-size: 13px;
    color: #1a3a6b;
    background: transparent;
    flex-shrink: 0;
    transition: all .2s;
}
.gtp-feat-opt.on .gtp-chkb {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
}

/* Cruise What's Included Panel */
.gtp-cruise-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}
.gtp-cruise-col {
    border-radius: 10px;
    padding: 14px 16px;
}
.gtp-cruise-included {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
}
.gtp-cruise-excluded {
    background: #fce4ec;
    border: 1px solid #f48fb1;
}
.gtp-cruise-col-title {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.gtp-cruise-included .gtp-cruise-col-title { color: #2e7d32; }
.gtp-cruise-excluded .gtp-cruise-col-title { color: #c62828; }
.gtp-cruise-col ul {
    margin: 0;
    padding-right: 16px;
    list-style: none;
}
.gtp-cruise-col ul li {
    font-size: 0.82em;
    padding: 3px 0;
    color: #333;
}
.gtp-cruise-included ul li::before { content: "✓  "; color: #2e7d32; font-weight: 700; }
.gtp-cruise-excluded ul li::before { content: "✕  "; color: #c62828; font-weight: 700; }
@media(max-width:640px){ .gtp-cruise-info { grid-template-columns: 1fr; } }