:root {
  /* Trip Tapo: dark sea theme, like aliyyabeachfrontcampsite.com */
  --teal: #43B4BE;
  --teal-2: #5cc3cc;
  --teal-soft: #123E46;
  --sun: #EE8A4E;
  --sun-soft: #3A2A18;
  --cream: #10222A;
  --ink: #E2EEEE;
  --muted: #8EA6AA;
  --line: #24404A;
  --bg: #0A161A;
  --surface: #10222A;
  --surface-2: #16303A;
  --deep: #0A3D47;
  --brand: #17777E;
  --ok: #52C58C;
  --bad: #EE6E66;
  --on-accent: #06252B;
  --r: 14px;
  --shadow: none;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Nunito, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 16px; }
a { color: var(--teal); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 1.35rem; font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden { display: none !important; }

/* header */
.top { background: var(--deep); border-bottom: 0; position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: 14px; height: 62px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; }
.brand svg { width: 36px; height: 36px; }
.ttlogo { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; line-height: 1; }
.ttlogo b { position: relative; background: var(--brand); color: #fff; border-radius: 999px; padding: 7px 18px 8px; font-size: 1.2rem; font-weight: 800; letter-spacing: .01em; }
.ttlogo i { position: absolute; right: 7px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.ttlogo small { color: var(--sun); font-size: .62rem; font-weight: 800; letter-spacing: .18em; margin-top: 3px; }
.top nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.top nav a { text-decoration: none; font-weight: 700; padding: 7px 14px; border-radius: 999px; color: #EAF6F6; background: rgba(255, 255, 255, .1); font-size: .92rem; }
.top nav a:hover { background: rgba(255, 255, 255, .2); }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 12px; padding: 12px 18px; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; background: var(--teal); color: var(--on-accent); min-height: 46px; }
.btn:hover { background: var(--teal-2); }
.btn.sun { background: var(--sun); }
.btn.sun { color: #2a1400; }
.btn.sun:hover { background: #f4a06a; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--teal); background: transparent; }
.btn.small { padding: 7px 12px; min-height: 36px; font-size: .9rem; border-radius: 10px; }
.btn.danger { background: transparent; color: var(--bad); border: 1.5px solid #5a2a28; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.block { width: 100%; }
label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.field { margin-bottom: 14px; }
input, select, textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); min-height: 46px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(67, 180, 190, .25); }
.row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.check input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-weight: 700; cursor: pointer; font: inherit; font-size: .92rem; color: var(--ink); }
.chip.on { background: var(--teal); color: var(--on-accent); border-color: var(--teal); }
.err { color: var(--bad); font-weight: 700; }
.note { background: var(--sun-soft); border-radius: 12px; padding: 12px 14px; }
.okbox { background: #133528; border-radius: 12px; padding: 12px 14px; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.pad { padding: 18px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.lcard { text-decoration: none; color: inherit; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s; }
.lcard:hover { transform: translateY(-2px); }
.lcard .ph { aspect-ratio: 4 / 3; background: var(--teal-soft) center / cover no-repeat; position: relative; }
.lcard .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.lcard .name { font-weight: 800; font-size: 1.05rem; }
.lcard .price { margin-top: auto; padding-top: 8px; font-weight: 800; }
.lcard .price b { color: var(--teal); font-size: 1.1rem; }
.tag { display: inline-block; background: rgba(10, 22, 26, .85); color: var(--ink); border-radius: 999px; padding: 3px 10px; font-weight: 800; font-size: .78rem; }
.ph .tag { position: absolute; left: 10px; top: 10px; }
.ph .full { position: absolute; inset: 0; background: rgba(29, 43, 42, .55); color: #fff; display: grid; place-items: center; font-weight: 800; }
.pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-weight: 800; font-size: .78rem; background: var(--teal-soft); color: var(--teal); }
.pill.sun { background: var(--sun-soft); color: var(--sun); }
.pill.bad { background: #3E1C1A; color: var(--bad); }
.pill.ok { background: #133528; color: var(--ok); }
.pill.grey { background: var(--line); color: #c3d4d6; }

/* hero */
.hero { background: linear-gradient(180deg, #0C3640 0%, #0B2229 55%, var(--bg) 100%); position: relative; overflow: hidden; }
.hero .wrap { padding-top: 46px; padding-bottom: 30px; position: relative; z-index: 1; }
.hero .sunball { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, #f4a65a 0%, #E8892B 55%, rgba(232, 137, 43, 0) 70%); right: -80px; top: -60px; opacity: .3; }
.hero p.lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; }
.search { margin-top: 18px; padding: 16px; display: grid; gap: 12px; grid-template-columns: 1.4fr 1fr 1fr 1fr .8fr auto; align-items: end; }
.search .field { margin: 0; }
@media (max-width: 900px) { .search { grid-template-columns: 1fr 1fr; } .search .q, .search .go { grid-column: 1 / -1; } }
.types { margin: 18px 0 6px; }

/* listing page */
.gallery { display: grid; gap: 6px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 190px 190px; border-radius: var(--r); overflow: hidden; margin: 16px 0; }
.gallery a { background: var(--teal-soft) center / cover no-repeat; display: block; }
.gallery a:first-child { grid-row: span 2; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; grid-template-rows: 240px; } .gallery a:not(:first-child) { display: none; } }
.lay { display: grid; grid-template-columns: 1fr 370px; gap: 28px; align-items: start; }
.o-dates { margin-bottom: 14px; }
@media (max-width: 900px) {
  .lay { grid-template-columns: 1fr; gap: 0; }
  .lay > div, .lay > aside { display: contents; }
  .o-dates { order: 1; } .o-units { order: 2; } .o-pay { order: 3; margin-bottom: 26px; } .o-info { order: 4; }
}
.sticky { position: sticky; top: 76px; }
.unit { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.unit:first-child { border-top: 0; }
.unit .info { flex: 1; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.facil { display: flex; flex-wrap: wrap; gap: 8px; }
.facil span { background: var(--teal-soft); border-radius: 10px; padding: 5px 10px; font-weight: 700; font-size: .9rem; }
.sum { width: 100%; border-collapse: collapse; }
.sum td { padding: 4px 0; }
.sum td:last-child { text-align: right; white-space: nowrap; }
.sum tr.total td { border-top: 1px solid var(--line); padding-top: 8px; font-weight: 800; font-size: 1.1rem; }
.pre { white-space: pre-line; }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .9); z-index: 50; display: grid; place-items: center; }
.lightbox img { max-height: 90vh; max-width: 94vw; }

/* dashboard */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 12px; }
.tabs a { white-space: nowrap; text-decoration: none; font-weight: 800; padding: 9px 14px; border-radius: 10px; color: var(--muted); }
.tabs a.on { background: var(--teal); color: var(--on-accent); }
table.list { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.list th { text-align: left; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; padding: 8px; border-bottom: 1px solid var(--line); }
table.list td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.scroll { overflow-x: auto; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 18px; }
.stat { padding: 14px 16px; }
.stat b { display: block; font-size: 1.45rem; color: var(--teal); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.thumbs .t { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; background: var(--teal-soft) center / cover no-repeat; }
.thumbs .t button { position: absolute; top: 6px; right: 6px; border: 0; border-radius: 8px; background: rgba(10, 22, 26, .85); color: var(--ink); font-weight: 800; cursor: pointer; padding: 3px 8px; }
.thumbs .t .first { position: absolute; left: 6px; bottom: 6px; }
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 40; display: grid; place-items: center; padding: 16px; }
.modal .card { width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 700; z-index: 60; max-width: 92vw; }
.auth { max-width: 440px; margin: 40px auto; }
.step { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.step i { font-style: normal; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }

footer { margin-top: 56px; background: var(--deep); color: #c3d4d6; padding: 30px 0; }
footer a { color: #fff; }

/* listing page, dark sea theme like aliyyabeachfrontcampsite.com */
body.lp {
  --bg: #0A161A; --surface: #10222A; --surface-2: #16303A; --ink: #E2EEEE; --muted: #8EA6AA; --line: #24404A;
  --sea: #43B4BE; --sea-deep: #0A3D47; --amber: #E6A84A; --bad: #EE6E66;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  background: var(--bg); color: var(--ink); color-scheme: dark;
}
body.lp a { color: var(--sea); }
body.lp .top { background: var(--sea-deep); border-bottom: 0; }
body.lp .top nav a { color: #EAF6F6; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 7px 14px; font-size: .9rem; }
body.lp .top nav a:hover { background: rgba(255, 255, 255, .2); }
body.lp footer { background: var(--sea-deep); }
body.lp .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
body.lp .muted { color: var(--muted); }
body.lp .err { color: var(--bad); }
body.lp .label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
body.lp label { color: var(--muted); font-weight: 700; }
body.lp input { background: var(--bg); border-color: var(--line); color: var(--ink); }
body.lp input:focus { border-color: var(--sea); box-shadow: 0 0 0 3px rgba(67, 180, 190, .25); }
body.lp .btn { background: var(--sea); color: #06252B; }
body.lp .btn:hover { background: #5cc3cc; }
body.lp .btn.sun { background: var(--amber); color: #2a1a00; }
body.lp .btn.sun:hover { background: #f0b862; }
body.lp .btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
body.lp .btn[disabled] { opacity: .45; }
body.lp .pill.bad { background: #3E1C1A; color: var(--bad); }
body.lp .facil span { background: var(--surface-2); color: var(--ink); }
body.lp .toast { background: #E2EEEE; color: #0A161A; }
.lp .panel { min-width: 0; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.lp-title { margin: 18px 0 12px; }
.lp-title h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 0 0 2px; }
.strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.strip figure { flex: 0 0 min(300px, 78vw); margin: 0; scroll-snap-align: start; }
.strip a { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.strip figcaption, .plans figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.lp-plans h2 { margin: 0 0 2px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
.plans figure { margin: 0; }
.plans a { display: block; border-radius: 10px; overflow: hidden; background: #e9f3f3; }
.plans img { width: 100%; height: auto; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox figcaption { color: #E2EEEE; margin-top: 8px; }
.uimg { flex: none; width: 56px; height: 42px; border-radius: 8px; background: var(--surface-2) center / cover no-repeat; align-self: center; }
.uhead { align-items: center; }
.uhead h3 { flex: 1; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.slot { min-width: 56px; min-height: 40px; padding: 6px 12px; border-radius: 8px; border: 1.5px solid var(--line); border-top: 3px solid var(--sun); background: var(--bg); color: var(--ink); font: inherit; font-weight: 800; font-size: .88rem; cursor: pointer; }
.slot:hover:not([disabled]) { border-color: var(--sun); }
.slot.on { background: var(--sun); color: #2a1400; border-color: var(--sun); }
.slot[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; border-top-color: var(--line); }
.cart .aline { padding: 6px 0; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.lp-lay { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 22px; align-items: start; }
.lp-side { position: sticky; top: 76px; }
@media (max-width: 900px) {
  .lp-lay { display: flex; flex-direction: column; gap: 0; }
  .lp-main { display: contents; }
  .lp-side { position: static; order: 3; }
  .lp-dates { order: 1; } .lp-units { order: 2; } .lp-info { order: 4; }
}
.lp-dates { padding: 18px; }
.dgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .7fr); gap: 12px; }
.dgrid input { min-width: 0; width: 100%; padding-inline: 8px; font-size: .95rem; }
.dgrid .field { min-width: 0; }
.dgrid .field { margin-bottom: 14px; }
.dur { min-height: 46px; display: flex; align-items: center; font-weight: 700; }
@media (max-width: 520px) { .dgrid { grid-template-columns: 1fr 1fr; } .dgrid .field:last-child { grid-column: 1 / -1; } }
.lp-units { overflow: hidden; }
.banner { background: linear-gradient(90deg, #0C3640, #1d6f79); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.banner span { font-size: .82rem; color: #bfe3e6; font-weight: 700; }
.banner b { font-size: 1.25rem; color: #fff; font-style: italic; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.ucard { padding: 16px 18px; border-top: 1px solid var(--line); }
.ucard:first-child { border-top: 0; }
.ucard.on { box-shadow: inset 4px 0 0 var(--amber); }
.uhead { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.uhead h3 { margin: 0; font-size: 1.12rem; }
.uprice { white-space: nowrap; font-weight: 700; }
.uprice small { color: var(--muted); font-weight: 500; }
.umeta { font-size: .9rem; margin-top: 2px; }
.udesc { margin: 6px 0 0; font-size: .95rem; color: #c3d4d6; }
.ufoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.lp .qty button { width: 38px; height: 38px; background: #0A161A; color: var(--ink); border: 1.5px solid var(--line); }
.lp .qty button:not([disabled]):hover { border-color: var(--sea); }
.lp .qty button[disabled] { opacity: .35; cursor: default; }
.lp-info h2 { font-size: 1.1rem; margin: 18px 0 8px; }
.lp-info h2:first-child { margin-top: 0; }
.cart .when { margin: 0 0 12px; font-weight: 600; }
.cart .line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; }
.cart .addon { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 6px; }
.cart .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin: 8px 0 12px; padding-top: 12px; font-size: 1.05rem; }
.cart .total b { font-size: 1.7rem; }
.cart .who { border-top: 1px solid var(--line); padding-top: 14px; }

/* host: photo captions, unit names */
.tf { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.tf figcaption { display: flex; flex-direction: column; gap: 4px; }
.tfa { display: flex; gap: 4px; flex-wrap: wrap; }
.tfa .btn.small { min-height: 30px; padding: 4px 8px; font-size: .78rem; }
.thumbs { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.labels { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.labels span { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-size: .78rem; font-weight: 700; }
.uthumb { float: left; width: 44px; height: 44px; border-radius: 8px; margin: 0 10px 4px 0; background: var(--surface-2) center / cover no-repeat; }
