/* Information pages (Terms, About…) and Contact Us — content/info-pages.php. Same look as the store and booking pages. */
.ip { --ip-ink: #0f172a; --ip-muted: #64748b; --ip-line: #e3e8f0; --ip-brand: #0b6b78; --ip-brand-soft: #e6f4f5; color: var(--ip-ink); font-family: "Inter", "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: #f4f7f9; padding-bottom: 56px; }
.ip *, .ip *::before, .ip *::after { box-sizing: border-box; }
.ip a { text-decoration: none; }
.ip-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.ip-hero { color: #fff; padding: 40px 0 46px; margin-bottom: 26px; background: radial-gradient(700px 300px at 90% 0%, rgba(45,212,191,.32), transparent 60%), linear-gradient(120deg, #075e69, #0b3b5c); }
.ip-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.6px; margin: 8px 0 8px; }
.ip-hero p { color: rgba(255,255,255,.86); max-width: 640px; margin: 0; font-size: 15.5px; line-height: 1.6; }
.ip-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,.75); }
.ip-crumbs a { color: #99f6e4; }
.ip-crumbs b { color: #fff; font-weight: 600; }
.ip-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.ip-lang { display: inline-flex; background: rgba(255,255,255,.12); border-radius: 999px; padding: 4px; }
.ip-lang a { color: #fff; padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: 13.5px; }
.ip-lang a.on { background: #fff; color: #0b3b5c; }
.ip-ghost { border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.ip-card { background: #fff; border: 1px solid var(--ip-line); border-radius: 18px; padding: 24px; box-shadow: 0 4px 18px rgba(24,45,66,.06); }
.ip-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--ip-brand); color: #fff !important; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 8px 18px rgba(11,107,120,.22); }
.ip-btn:hover { filter: brightness(1.07); }
.ip-btn[disabled] { opacity: .6; cursor: wait; }
.ip-btn-light { background: var(--ip-brand-soft); color: var(--ip-brand) !important; box-shadow: none; }
.ip-muted { color: var(--ip-muted); font-size: 13.5px; }

/* Long pages: index | content | help */
.ip-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.ip-body.has-toc { grid-template-columns: 240px minmax(0, 1fr) 260px; }
.ip-toc { position: sticky; top: 90px; background: #fff; border: 1px solid var(--ip-line); border-radius: 16px; padding: 18px; max-height: calc(100vh - 110px); overflow: auto; }
.ip-toc b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--ip-muted); margin-bottom: 10px; }
.ip-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.ip-toc li a { display: block; padding: 7px 10px; border-radius: 9px; color: #334155; font-size: 13.5px; line-height: 1.35; }
.ip-body[dir="rtl"] .ip-toc li.sub a { padding-left: 10px; padding-right: 22px; }
.ip-body[dir="rtl"], .ip-hero[dir="rtl"] { font-family: "Cairo", "Tajawal", system-ui, sans-serif; }
.ip-toc li.sub a { padding-left: 22px; font-size: 12.5px; color: var(--ip-muted); }
.ip-toc li a:hover { background: #f1f5f9; }
.ip-toc li a.on { background: var(--ip-brand-soft); color: var(--ip-brand); font-weight: 700; }
.ip-content { padding: 34px 38px; font-size: 15.5px; line-height: 1.75; color: #1e293b; overflow-wrap: anywhere; }
.ip-content h1 { font-size: 26px; font-weight: 800; margin: 0 0 18px; color: var(--ip-ink); letter-spacing: -.3px; }
.ip-content h2 { font-size: 20px; font-weight: 800; margin: 34px 0 12px; padding-top: 18px; border-top: 1px solid var(--ip-line); color: var(--ip-ink); scroll-margin-top: 90px; }
.ip-content h3 { font-size: 16.5px; font-weight: 700; margin: 24px 0 8px; color: var(--ip-ink); scroll-margin-top: 90px; }
.ip-content p { margin: 0 0 14px; white-space: pre-line; }
.ip-content ul, .ip-content ol { padding-left: 22px; margin: 0 0 14px; }
.ip-content[dir="rtl"] { font-family: "Cairo", "Tajawal", system-ui, sans-serif; text-align: right; }
.ip-content[dir="rtl"] ul, .ip-content[dir="rtl"] ol { padding-left: 0; padding-right: 22px; }
.ip-help { position: sticky; top: 90px; }
.ip-help b { display: block; font-size: 16px; margin-bottom: 6px; }
.ip-help p { color: var(--ip-muted); font-size: 13.5px; margin: 0 0 14px; }
.ip-help .ip-btn { width: 100%; margin-top: 8px; }
.ip-empty { max-width: 560px; margin: 40px auto; text-align: center; }

/* Contact */
.ip-hero-contact { padding-bottom: 86px; margin-bottom: 0; }
.ip-channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -52px; position: relative; }
.ip-channel { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--ip-line); border-radius: 18px; padding: 18px; color: var(--ip-ink) !important; box-shadow: 0 10px 28px rgba(24,45,66,.10); transition: transform .15s, box-shadow .15s; min-width: 0; }
.ip-channel:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(24,45,66,.14); }
.ip-channel > i { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex: none; color: #fff; }
.ip-channel.wa > i { background: #16a34a; } .ip-channel.call > i { background: var(--ip-brand); } .ip-channel.fb > i { background: #1877f2; } .ip-channel.mail > i { background: #f59e0b; }
.ip-channel > span { flex: 1; min-width: 0; font-size: 12.5px; color: var(--ip-muted); line-height: 1.35; overflow-wrap: anywhere; }
.ip-channel > span b { display: block; color: var(--ip-ink); font-size: 15px; }
.ip-channel em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ip-brand); white-space: nowrap; }
.ip-contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; margin-top: 22px; align-items: start; }
.ip-card h2 { font-size: 19px; font-weight: 800; margin: 0 0 6px; color: var(--ip-ink); }
.ip-form form { margin-top: 18px; }
.ip-form label { display: block; margin-bottom: 14px; }
.ip-form label > span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #334155; }
.ip-form label em { color: #b91c1c; font-style: normal; }
.ip-form input, .ip-form select, .ip-form textarea { width: 100%; border: 1px solid var(--ip-line); border-radius: 12px; padding: 0 14px; height: 48px; font: inherit; font-size: 15px; color: var(--ip-ink); background: #fff; outline: none; }
.ip-form input, .ip-form select, .ip-form textarea { margin: 0 !important; display: block; float: none; }
.ip-form textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 130px; }
.ip-form input:focus, .ip-form select:focus, .ip-form textarea:focus { border-color: var(--ip-brand); box-shadow: 0 0 0 4px rgba(11,107,120,.14); }
.ip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ip-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ip-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ip-note { margin-top: 14px; border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.ip-note.ok { background: #dcfce7; color: #15803d; }
.ip-note.bad { background: #fee2e2; color: #b91c1c; }
.ip-side { display: flex; flex-direction: column; gap: 20px; }
.ip-visit p { display: flex; gap: 10px; color: #334155; font-size: 14px; line-height: 1.55; margin: 10px 0 14px; }
.ip-visit p > i { color: var(--ip-brand); font-size: 18px; margin-top: 2px; }
.ip-ar { display: block; color: var(--ip-muted); font-family: "Cairo", system-ui, sans-serif; margin-top: 4px; }
.ip-map { border-radius: 14px; overflow: hidden; border: 1px solid var(--ip-line); height: 220px; margin-bottom: 14px; background: #eef2f6; }
.ip-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ip-visit .ip-btn { width: 100%; }
.ip-quick a { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ip-line); color: var(--ip-ink) !important; }
.ip-quick a:last-child { border-bottom: 0; padding-bottom: 0; }
.ip-quick a > i { width: 38px; height: 38px; border-radius: 11px; background: var(--ip-brand-soft); color: var(--ip-brand); display: flex; align-items: center; justify-content: center; flex: none; }
.ip-quick a span { font-size: 12.5px; color: var(--ip-muted); line-height: 1.35; }
.ip-quick a span b { display: block; color: var(--ip-ink); font-size: 14.5px; }
.ip-quick a:hover b { color: var(--ip-brand); }

@media (max-width: 1100px) {
  .ip-body.has-toc { grid-template-columns: 220px minmax(0, 1fr); }
  .ip-body.has-toc .ip-help { display: none; }
}
@media (max-width: 900px) {
  .ip-body, .ip-body.has-toc { grid-template-columns: minmax(0, 1fr); }
  .ip-toc { position: static; max-height: none; }
  .ip-help { position: static; display: block !important; }
  .ip-channels { grid-template-columns: 1fr 1fr; }
  .ip-contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .ip-hero { padding: 28px 0 34px; }
  .ip-hero-contact { padding-bottom: 70px; }
  .ip-content { padding: 22px 18px; font-size: 15px; }
  .ip-channels { grid-template-columns: 1fr; gap: 10px; }
  .ip-row { grid-template-columns: 1fr; gap: 0; }
  .ip-form-foot .ip-btn { width: 100%; }
}
@media print {
  .mrf-chrome, .ip-hero .ip-tools, .ip-toc, .ip-help { display: none !important; }
  .ip-hero { background: none; color: #000; padding: 0; } .ip-hero h1, .ip-hero p, .ip-crumbs b { color: #000; }
  .ip-body { display: block; } .ip-card { border: 0; box-shadow: none; padding: 0; }
}
.ip-hero[dir="rtl"] h1, .ip-hero[dir="rtl"] p, .ip-body[dir="rtl"] .ip-toc, .ip-body[dir="rtl"] .ip-help { text-align: right; }
