/* ==========================================================
   ANDALUS_PACKAGES_KEY_V1 — صفحة الباقات الجديدة (دراسة صفحة الباقات «مفتاح الخريطة»، الجلسة 1 — 18 Nov 2026; الشكل = الموكاب
   «النسخة 2 بعد المراجعة»). Loaded only with the new page (?pk=2 until it opens for everyone) — the old page's files do not change.
   Rules (القسم 8 + ض7): one decision per screen · the word, not a sign · nothing under 13px, the price and the room 15px+ ·
   a tap target ≥ 44px, a room tile ≥ 72px · motion = transform/opacity only, ≤ 250 ms, none for «وقّف الحركة» ·
   numbers in <bdi dir="ltr"> never cut · the columns from the width of the block (minmax(0,1fr)), no number per screen size.
   Colours from andalus-offers-clear-v1.css (--ofr-*); the red is the site's step red #c8202f (5.6:1 on white).
   ========================================================== */
.an-pk{ --pk-red:#c8202f; --pk-red-ink:#9b0e22; --pk-red-bg:#fce4e7; padding-top:10px; }
.an-pk *,.an-pkb *{ box-sizing:border-box; }
.an-pk h1,.an-pk h2,.an-pk h3,.an-pk p{ margin:0; }

/* ---------- the 4 steps (block 1) ---------- */
.an-pks{ display:flex; align-items:center; gap:8px; min-width:0; }
.an-pks__chip{ flex:none; height:24px; padding:0 10px; border-radius:12px; background:var(--ofr-dark,#24212b); color:#fff; font-size:13px; line-height:24px; font-weight:700; white-space:nowrap; }
.an-pks__list{ display:flex; align-items:center; gap:6px; margin:0; padding:0; list-style:none; min-width:0; }
.an-pks__s{ display:flex; align-items:center; gap:6px; min-width:0; font-size:14px; line-height:20px; font-weight:700; color:var(--ofr-ink,#24160f); }
.an-pks__s i{ flex:none; display:inline-grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#efe7de; color:var(--ofr-ink,#24160f); font-style:normal; font-size:13px; font-weight:800; }
.an-pks__s.is-now i{ background:var(--pk-red,#c8202f); color:#fff; }
/* a phone (upright or on its side): «الخطوة 1 من 4 · اختار أوضك» — the other steps stay in the list for a screen reader */
@media (max-width:559.98px), (orientation:landscape) and (max-height:500px){
  .an-pks__s:not(.is-now){ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  .an-pks__s.is-now i{ display:none; }
}
@media (min-width:560px) and (min-height:500.02px), (min-width:560px) and (orientation:portrait){
  .an-pks__chip{ display:none; }
  .an-pks__list{ flex-wrap:wrap; gap:6px 14px; }
  .an-pks__s{ font-size:14px; color:var(--ofr-soft,#6b584c); }
  .an-pks__s.is-now{ color:var(--ofr-ink,#24160f); }
  .an-pks__s + .an-pks__s::before{ content:""; width:18px; height:2px; border-radius:1px; background:var(--ofr-line-2,#dcc8b6); margin-inline-end:8px; }
}
/* the same strip in «تطلب باقتك إزاي؟» = the four steps, each on its own line */
#an-pks-how{ margin:4px 0 14px; }
#an-pks-how .an-pks__chip{ display:none; }
#an-pks-how .an-pks__list{ flex-direction:column; align-items:flex-start; gap:10px; }
#an-pks-how .an-pks__s{ position:static; width:auto; height:auto; overflow:visible; clip:auto; white-space:normal; font-size:15px; color:var(--ofr-ink,#24160f); }
#an-pks-how .an-pks__s i{ display:inline-grid; }
#an-pks-how .an-pks__s + .an-pks__s::before{ display:none; }

/* ---------- «محتاج أنهي أوض؟» + the tiles (block 2) ---------- */
.an-pkr{ position:relative; }
.an-pkr__top{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 12px; min-height:28px; }
.an-pkr__h1{ font-size:13px; line-height:20px; font-weight:700; color:var(--ofr-soft,#6b584c); }
.an-pkr__q{ margin-top:6px !important; font-size:19px; line-height:26px; font-weight:800; color:var(--ofr-ink,#24160f); }
.an-pkr__sub{ font-size:13px; line-height:20px; color:var(--ofr-soft,#6b584c); }
.an-pkr__grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:10px; }
.an-pkr__tile{ position:relative; display:flex; flex-direction:column; min-height:96px; padding:0; margin:0; border:2px solid var(--ofr-line,#eadfd5); border-radius:12px; background:#fff; color:inherit; font:inherit; text-align:center; overflow:hidden; cursor:pointer; -webkit-tap-highlight-color:transparent; touch-action:manipulation; transition:border-color .15s ease; }
.an-pkr__ph{ display:block; height:56px; background:#efe7de; overflow:hidden; }
.an-pkr__ph img{ display:block; width:100%; height:100%; object-fit:cover; }
.an-pkr__l{ flex:1 1 auto; display:flex; align-items:center; justify-content:center; min-height:40px; padding:4px 6px; font-size:13px; line-height:17px; font-weight:800; color:var(--ofr-ink,#24160f); overflow-wrap:anywhere; }
.an-pkr__tile[aria-pressed="true"]{ border-color:var(--pk-red,#c8202f); }
.an-pkr__tile[aria-pressed="true"] .an-pkr__l{ color:var(--pk-red-ink,#9b0e22); }
.an-pkr__ok{ position:absolute; top:6px; inset-inline-start:6px; display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:var(--pk-red,#c8202f); opacity:0; transform:scale(.6); transition:opacity .15s ease, transform .15s ease; pointer-events:none; }
.an-pkr__ok svg{ fill:none; stroke:#fff; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.an-pkr__tile[aria-pressed="true"] .an-pkr__ok{ opacity:1; transform:none; }
.an-pkr__tile:focus-visible{ outline:3px solid var(--ofr-ink,#24160f); outline-offset:2px; }
.an-pkr__n{ display:flex; align-items:center; justify-content:center; min-height:96px; padding:6px; border:1.5px dashed var(--ofr-line-2,#dcc8b6); border-radius:12px; font-size:13px; line-height:18px; font-weight:700; color:var(--ofr-soft,#6b584c); text-align:center; }
.an-pkr.is-nudge .an-pkr__grid{ animation:anPkNudge .5s ease; }
@keyframes anPkNudge{ 30%{ transform:translateY(-4px); } 60%{ transform:translateY(2px); } }

/* ANDALUS_PKC_V1 «باقتك المخصوصة» (الموكاب «موافق» 19 Nov 2026): 6 tiles = 3 × 2 on a phone (no counter tile), 6 in a row from 700px;
   the pieces line under them; «ترابيزة سفرة» says «السفرة الكاملة مكانها» while the full dining room is on (one place for the dining) */
.an-pkr__hint{ margin-top:8px !important; font-size:13px; line-height:20px; color:var(--ofr-soft,#6b584c); }
.an-pkr__alt{ display:block; margin-top:2px; font-size:13px; line-height:16px; font-weight:700; color:var(--ofr-soft,#6b584c); }
.an-pkr__alt[hidden]{ display:none; }
.an-pkr__l{ flex-direction:column; }
.an-pkr__tile.is-swapped{ border-style:dashed; }
.an-pkr__tile.is-swapped .an-pkr__ph{ opacity:.55; }

/* ---------- the result (block 3): in the bar always (ض1), and this card under the tiles ---------- */
.an-pkr__res:empty{ display:none; }
.an-pkres{ margin-top:10px; padding:12px; border:1px solid var(--ofr-line,#eadfd5); border-radius:14px; background:#fff; display:flex; flex-direction:column; gap:4px; animation:anPkIn .2s ease both; }
@keyframes anPkIn{ from{ opacity:0; transform:translateY(6px); } }
.an-pkres--pack{ border:2px solid var(--pk-red,#c8202f); }
.an-pkres__k{ font-size:13px; line-height:20px; font-weight:700; color:var(--ofr-soft,#6b584c); }
.an-pkres__t{ font-size:17px; line-height:24px; font-weight:800; color:var(--ofr-ink,#24160f); }
.an-pkres__r,.an-pkres__more,.an-pkres__note{ font-size:13px; line-height:20px; color:var(--ofr-soft,#6b584c); }
.an-pkres__more{ color:var(--ofr-text,#3d2a20); font-weight:600; }
.an-pkres__p{ display:flex; flex-wrap:wrap; align-items:baseline; gap:0 6px; font-size:15px; line-height:30px; font-weight:700; color:var(--ofr-ink,#24160f); }
.an-pkres__p b{ font-size:26px; font-weight:800; }
.an-pkres__tot{ justify-content:space-between; border-top:1px solid var(--ofr-line,#eadfd5); padding-top:4px; }
.an-pkres__m{ font-size:14px; line-height:20px; font-weight:700; color:var(--ofr-ok,#16723f); }
.an-pkres__save.is-chip{ align-self:flex-start; margin-top:2px !important; padding:2px 10px; border-radius:13px; background:var(--pk-red-bg,#fce4e7); color:var(--pk-red-ink,#9b0e22); font-size:13px; line-height:22px; font-weight:700; }
/* ANDALUS_PKP_SAVE_LINE_V1: «لو اشتريت الأوض دي لوحدها توصل لحد X، في الباقة بـ Y — يعني بتوفّر لحد Z جنيه.» */
.an-pkres__save:not(.is-chip){ margin-top:4px !important; padding:8px 10px; border-radius:10px; background:#eef6f1; font-size:14px; line-height:1.65; font-weight:600; color:var(--ofr-ink,#24160f); }
.an-pkres__save:not(.is-chip) b{ color:var(--ofr-ok,#16723f); font-weight:800; }
.an-pkres__save bdi{ white-space:nowrap; }
.an-pkres__lines{ margin:2px 0 0; padding:0; list-style:none; display:flex; flex-direction:column; gap:2px; }
.an-pkres__lines li{ display:flex; justify-content:space-between; gap:8px; font-size:13px; line-height:20px; color:var(--ofr-ink,#24160f); }
.an-pkres__lines b{ flex:none; }
.an-pkres__ask a,.an-pkres--few a{ color:var(--pk-red-ink,#9b0e22); font-weight:700; text-underline-offset:3px; }
.an-pkres--few p{ font-size:14px; line-height:22px; color:var(--ofr-text,#3d2a20); }
/* ANDALUS_PK_NEXT_IN_CARD_V1 (أ. محمد 19 Nov 2026): the next step in the card on every screen (it was a computer's only — the phone had it in
   the bar alone, and the bar didn't say it is the next step) */
.an-pkres__go{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:0 6px; min-height:52px; margin-top:8px; padding:6px 16px; border-radius:12px; background:var(--pk-red,#c8202f); color:#fff !important; font-size:16px; line-height:1.3; font-weight:800; text-align:center; text-decoration:none !important; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
.an-pkres__gk{ font-weight:600; }
.an-pkres__go svg{ flex:none; }
.an-pkres__go:focus-visible{ outline:3px solid var(--ofr-ink,#24160f); outline-offset:2px; }
@media (min-width:761px){ .an-pkres__go{ align-self:flex-start; } }
/* ANDALUS_PKC_V1: the custom package's card — the badge, the three numbers (alone · in his package · what he saves), the room that makes it
   a package (a light box: a sentence + one outlined button; the coloured button stays the next step) */
.an-pkres__badge{ display:inline-block; margin-inline-start:6px; padding:0 8px; border-radius:11px; background:var(--pk-red-bg,#fce4e7); color:var(--pk-red-ink,#9b0e22); font-size:13px; line-height:22px; font-weight:800; white-space:nowrap; }
.an-pkres__trio{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,5.6em),1fr)); gap:6px; margin:4px 0 0; padding:0; list-style:none; }   /* 3 in a row; a small phone with a big font = 2 (a number is never cut) */
.an-pkres__trio li{ display:flex; flex-direction:column; gap:0; min-width:0; padding:6px 8px; border-radius:10px; background:#f7f2ec; }
.an-pkres__trio small{ font-size:13px; line-height:18px; font-weight:700; color:var(--ofr-soft,#6b584c); }
.an-pkres__trio b{ font-size:15px; line-height:22px; font-weight:800; color:var(--ofr-ink,#24160f); }
.an-pkres__trio bdi{ white-space:nowrap; }
.an-pkres__trio li.is-ok{ background:#eef6f1; }
.an-pkres__trio li.is-ok b{ color:var(--ofr-ok,#16723f); }
.an-pkres__nudge{ display:flex; flex-direction:column; gap:6px; margin-top:6px; padding:10px; border:1.5px dashed var(--ofr-line-2,#dcc8b6); border-radius:12px; }
.an-pkres__nudge p{ font-size:14px; line-height:1.6; color:var(--ofr-text,#3d2a20); }
.an-pkres__nudge bdi{ white-space:nowrap; font-weight:800; }
.an-pkres__add{ align-self:flex-start; min-height:44px; padding:6px 16px; border:2px solid var(--pk-red,#c8202f); border-radius:12px; background:#fff; color:var(--pk-red-ink,#9b0e22); font:inherit; font-size:15px; line-height:1.3; font-weight:800; cursor:pointer; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
.an-pkres__add:focus-visible{ outline:3px solid var(--ofr-ink,#24160f); outline-offset:2px; }
@media (hover:hover){ .an-pkres__add:hover{ background:var(--pk-red-bg,#fce4e7); } }

/* ANDALUS_PK_STEPS_BACK_V1: «تطلب باقتك إزاي؟» — every step a way back up to «اختار أوضك», and a button under them */
.an-pks__a{ display:inline-flex; align-items:center; gap:inherit; min-height:44px; color:inherit !important; text-decoration:none !important; -webkit-tap-highlight-color:transparent; }
.an-pks__a span{ text-decoration:underline; text-decoration-color:var(--ofr-line-2,#dcc8b6); text-underline-offset:4px; }
.an-pks__a:focus-visible{ outline:3px solid var(--ofr-ink,#24160f); outline-offset:2px; border-radius:8px; }
#an-pks-how .an-pks__s{ gap:0; }
#an-pks-how .an-pks__a{ gap:8px; }
.an-pks-back{ display:inline-flex; align-items:center; justify-content:center; min-height:48px; margin:0 0 14px; padding:6px 18px; border:2px solid var(--pk-red,#c8202f); border-radius:12px; background:#fff; color:var(--pk-red-ink,#9b0e22) !important; font-size:15px; line-height:1.3; font-weight:800; text-align:center; text-decoration:none !important; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
.an-pks-back:focus-visible{ outline:3px solid var(--ofr-ink,#24160f); outline-offset:2px; }

/* ---------- «كل الباقات» (block 4) ---------- */
.an-pkt{ margin-top:18px; }
.an-pkt__h{ font-size:19px; line-height:28px; font-weight:800; color:var(--ofr-ink,#24160f); }
.an-pkt__sub{ font-size:13px; line-height:20px; color:var(--ofr-soft,#6b584c); }
.an-pkt__g{ margin:12px 0 6px !important; font-size:15px; line-height:22px; font-weight:800; color:var(--ofr-soft,#6b584c); }
.an-pkt__list{ display:flex; flex-direction:column; gap:8px; }
.an-pkt__head{ display:none; }
.an-pkt__head .an-pkt__c--m{ color:var(--ofr-soft,#6b584c); }
.an-pkt__row{ display:grid; grid-template-columns:56px auto minmax(0,1fr); grid-template-areas:"ph name name" "ph price m"; align-items:center; gap:2px 10px; min-height:68px; padding:8px 10px; border:1px solid var(--ofr-line,#eadfd5); border-radius:12px; background:#fff; color:inherit; text-decoration:none !important; -webkit-tap-highlight-color:transparent; }
/* a package with a choice of rooms: its price is a range — the range on its own line, the monthly under it */
.an-pkt__row.is-range{ grid-template-areas:"ph name name" "ph price price" "ph m m"; }
.an-pkt__row.is-range .an-pkt__c--m{ justify-self:start; text-align:start; }
.an-pkt__row:focus-visible{ outline:3px solid var(--ofr-ink,#24160f); outline-offset:2px; }
.an-pkt__ph{ grid-area:ph; width:56px; height:50px; border-radius:8px; overflow:hidden; background:#efe7de; }
.an-pkt__ph img{ display:block; width:100%; height:100%; object-fit:cover; }
.an-pkt__c--name{ grid-area:name; display:flex; flex-direction:column; gap:2px; min-width:0; }
.an-pkt__t{ display:flex; flex-wrap:wrap; align-items:center; gap:2px 6px; font-size:15px; line-height:21px; font-weight:800; color:var(--ofr-ink,#24160f); }
.an-pkt__mine{ padding:0 8px; border-radius:10px; background:var(--pk-red,#c8202f); color:#fff; font-style:normal; font-size:13px; line-height:20px; font-weight:700; }
.an-pkt__w{ font-size:13px; line-height:18px; color:var(--ofr-soft,#6b584c); }
.an-pkt__c--room{ display:none; }
.an-pkt__c--price{ grid-area:price; justify-self:start; text-align:start; min-width:0; font-size:15px; line-height:21px; font-weight:800; color:var(--ofr-ink,#24160f); }
/* a range breaks only at «إلى» (a big phone font on 280 px pushed the page sideways); each number and «جنيه» stay one piece */
.an-pkt__c--price bdi{ white-space:nowrap; }
.an-pkt__c--price small,.an-pkt__c--m small{ font-size:13px; font-weight:600; }
.an-pkt__u{ margin-inline-start:4px; color:var(--ofr-soft,#6b584c); }
.an-pkt__c--m{ grid-area:m; justify-self:end; text-align:end; font-size:13px; line-height:19px; font-weight:700; color:var(--ofr-ok,#16723f); }
.an-pkt bdi{ white-space:nowrap; }
.an-pkt__row.is-mine{ border:2px solid var(--pk-red,#c8202f); background:#fff8f3; padding:7px 9px; }
.an-pkt__yes{ display:inline-grid; place-items:center; width:24px; height:24px; border-radius:50%; background:var(--ofr-ok,#16723f); color:#fff; font-size:13px; font-weight:800; }
.an-pkt__pick{ font-style:normal; font-size:13px; font-weight:700; color:var(--pk-red-ink,#9b0e22); white-space:nowrap; }
.an-pkt__no{ color:var(--ofr-line-2,#dcc8b6); }
.an-pkt__more{ margin-top:10px; border:1px solid var(--ofr-line,#eadfd5); border-radius:12px; background:#fff; }
.an-pkt__more-s{ display:flex; align-items:center; justify-content:space-between; min-height:48px; padding:0 14px; font-size:14px; font-weight:700; color:var(--ofr-ink,#24160f); cursor:pointer; list-style:none; }
.an-pkt__more-s::-webkit-details-marker{ display:none; }
.an-pkt__more-s::after{ content:""; width:9px; height:9px; border:solid var(--ofr-ink,#24160f); border-width:0 2px 2px 0; transform:rotate(45deg); margin-inline-start:10px; transition:transform .2s ease; }
.an-pkt__more[open] > .an-pkt__more-s::after{ transform:rotate(-135deg); }
.an-pkt__more-b{ padding:0 14px 12px; display:flex; flex-direction:column; gap:12px; }
.an-pkt__dt{ font-size:15px; line-height:22px; font-weight:800; color:var(--ofr-ink,#24160f); }
.an-pkt__ds{ font-size:13px; line-height:20px; color:var(--ofr-soft,#6b584c); }
/* narrow phones: the price over the monthly, both under the name when the row gets tight */
@media (max-width:339.98px){
  .an-pkt__row{ grid-template-columns:48px minmax(0,1fr); grid-template-areas:"ph name" "ph price" "ph m"; }
  .an-pkt__ph{ width:48px; height:44px; }
  .an-pkt__c--m{ justify-self:start; text-align:start; }
}

/* ---------- block 5: «السعر شامل إيه» (ن7) — two plain lines over the trust list ---------- */
.an-pki{ margin:0 0 14px; padding:12px 14px; border:1px solid var(--ofr-line,#eadfd5); border-radius:14px; background:#fff; }
.an-pki__h{ margin:0 0 6px; font-size:16px; line-height:24px; font-weight:800; color:var(--ofr-ink,#24160f); }
.an-pki__l{ margin:0; font-size:14px; line-height:22px; color:var(--ofr-ink,#24160f); overflow-wrap:anywhere; }
.an-pki__l + .an-pki__l{ margin-top:6px; }
.an-pki__l b{ font-weight:800; }
.an-pki__l--out b{ color:var(--pk-ink,#9b0e22); }

/* ---------- the bar (block 9): the result + one coloured button + واتساب + اتصل on one row, all 48px ---------- */
.an-pkb{ padding:8px 12px calc(10px + env(safe-area-inset-bottom,0px)) !important; }
.an-pkb__in{ max-width:1180px; margin:0 auto; display:flex; flex-direction:column; gap:6px; }
.an-pkb__t{ margin:0; display:flex; flex-wrap:wrap; align-items:baseline; align-content:flex-start; gap:0 8px; min-height:20px; font-size:13px; line-height:20px; }
.an-pkb__t b{ font-size:14px; font-weight:800; color:var(--ofr-ink,#24160f); }
.an-pkb__t span{ font-weight:700; color:var(--ofr-soft,#6b584c); }
.an-pkb.is-on .an-pkb__t span{ color:var(--ofr-ok,#16723f); }
/* before a choice the bar is one line, like the mockup (92 px on 360×640) — the counter under the tiles says «اختار 3 أوض أو 4» */
.an-pkb__t span:empty{ display:none; }
.an-pkb__row{ display:flex; align-items:stretch; gap:8px; }
.an-pkb__go{ flex:1 1 auto; min-width:0; display:flex; align-items:center; justify-content:center; height:auto; min-height:48px; padding:3px 10px; border-radius:12px; background:var(--pk-red,#c8202f); color:#fff !important; font-size:15px; line-height:1.25; font-weight:800; text-align:center; text-decoration:none !important; -webkit-tap-highlight-color:transparent; }
.an-pkb__go[aria-disabled="true"]{ background:var(--ofr-cream,#fbf6f0); color:var(--ofr-soft,#6b584c) !important; border:1.5px dashed var(--ofr-line-2,#dcc8b6); }
.an-pkb__wa{ flex:none; display:inline-flex; align-items:center; justify-content:center; gap:6px; height:auto; min-height:48px; padding:0 12px; border:1.5px solid var(--ofr-wa,#128c4a); border-radius:12px; background:#fff; color:#0b6b32 !important; font-size:14px; font-weight:800; text-decoration:none !important; white-space:nowrap; }
.an-pkb__wa svg{ width:18px; height:18px; fill:currentColor; flex:none; }
html body .ofr-sticky.an-pkb .an-co-call{ flex:none; width:auto; min-width:48px; height:auto; min-height:48px; padding:0 12px; flex-direction:row; gap:6px; border-radius:12px; font-size:14px; line-height:18px; align-self:stretch; }
/* ≤ 339px: واتساب and اتصل become their icon (the word stays for a screen reader), so «اختار موديلات أوضك» keeps its room */
@media (max-width:339.98px){
  .an-pkb__wa,html body .ofr-sticky.an-pkb .an-co-call{ width:48px; padding:0; }
  .an-pkb__wa span,html body .ofr-sticky.an-pkb .an-co-call span{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
}
/* a phone on its side: one line — the result beside the buttons */
@media (orientation:landscape) and (max-height:500px){
  .an-pkb{ padding:5px 16px calc(5px + env(safe-area-inset-bottom,0px)) !important; }
  .an-pkb__in{ flex-direction:row; align-items:center; gap:12px; }
  .an-pkb__t{ flex:1 1 auto; min-width:0; }
  .an-pkb__row{ flex:0 1 60%; }
  /* 44 px = the phone's smallest place to press (ANDALUS_TAP_44_V1) */
  .an-pkb__go,.an-pkb__wa,html body .ofr-sticky.an-pkb .an-co-call{ height:auto; min-height:44px; }   /* a bigger phone font (130%) wraps «اختار موديلات أوضك» into two lines — the row grows with it, all three the same height (align-items:stretch) */
}

/* ---------- a phone on its side · a tablet · a computer ---------- */
@media (orientation:landscape) and (max-height:500px), (min-width:700px){
  .an-pkr__grid{ grid-template-columns:repeat(6,minmax(0,1fr)); }
}
@media (orientation:landscape) and (max-height:500px){
  .an-pkr__q{ margin-top:2px !important; font-size:17px; line-height:24px; }
  .an-pkr__grid{ margin-top:8px; gap:6px; }
  .an-pkr__tile,.an-pkr__n{ min-height:72px; }
  .an-pkr__ph{ height:32px; }
  .an-pkr__l{ min-height:36px; padding:2px 4px; }
}
@media (min-width:700px) and (min-height:500.02px){
  .an-pkr__ph{ height:84px; }
  .an-pkr__tile,.an-pkr__n{ min-height:128px; }
  .an-pkr__l{ font-size:14px; line-height:19px; }
  .an-pkr__q{ font-size:24px; line-height:32px; }
  .an-pkr__sub{ font-size:15px; line-height:24px; }
  .an-pkres{ padding:16px 18px; }
}
@media (min-width:1100px){
  .an-pkr__ph{ height:120px; }
  .an-pkr__tile,.an-pkr__n{ min-height:168px; }
  .an-pkr__l{ font-size:16px; line-height:22px; }
  .an-pkr__q{ font-size:28px; line-height:38px; }
  .an-pkres{ display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto; grid-auto-flow:dense; align-items:center; gap:2px 24px; }
  .an-pkres > *{ grid-column:1; }
  .an-pkres__p,.an-pkres__m,.an-pkres__save,.an-pkres__tot,.an-pkres__lines,.an-pkres__trio{ grid-column:2; }
  .an-pkres__go{ grid-column:3; grid-row:1 / span 4; align-self:center; margin:0; }
  .an-pkres--few{ display:block; }
  /* the table: the rooms are columns (✓ in the package · «تختار N» · —) */
  .an-pkt__list{ display:flex; gap:0; border:1px solid var(--ofr-line,#eadfd5); border-radius:14px; background:#fff; overflow:hidden; }
  .an-pkt__head,.an-pkt__row,.an-pkt__row.is-range{ display:grid; grid-template-columns:64px minmax(0,1.6fr) repeat(5,minmax(56px,.5fr)) minmax(150px,1fr) minmax(120px,.8fr); grid-template-areas:none; align-items:center; gap:0 10px; }
  .an-pkt__head{ min-height:44px; padding:0 14px; font-size:13px; font-weight:700; color:var(--ofr-soft,#6b584c); }
  .an-pkt__head .an-pkt__ph{ height:0; background:none; }
  .an-pkt__row,.an-pkt__row.is-range{ min-height:64px; padding:8px 14px; border:0; border-top:1px solid var(--ofr-line,#eadfd5); border-radius:0; }
  .an-pkt__row.is-mine{ border:0; border-top:1px solid var(--ofr-line,#eadfd5); background:var(--pk-red-bg,#fce4e7); padding:8px 14px; }
  .an-pkt__ph,.an-pkt__c--name,.an-pkt__c--price,.an-pkt__c--m{ grid-area:auto; }
  .an-pkt__c--price{ text-align:end; }
  .an-pkt__ph{ width:64px; height:52px; }
  .an-pkt__w{ display:none; }
  .an-pkt__c--room{ display:flex; justify-content:center; }
  .an-pkt__c--price,.an-pkt__c--m,.an-pkt__row.is-range .an-pkt__c--m{ justify-self:end; text-align:end; }
  /* a computer: the bar is one line — the result beside the three buttons */
  .an-pkb__in{ flex-direction:row; align-items:center; gap:16px; }
  .an-pkb__t{ flex:1 1 auto; min-width:0; font-size:14px; }
  .an-pkb__t b{ font-size:15px; }
  .an-pkb__row{ flex:0 1 560px; }
}
@media (prefers-reduced-motion:reduce){ .an-pkres,.an-pkr.is-nudge .an-pkr__grid{ animation:none; } .an-pkr__ok,.an-pkr__tile,.an-pkt__more-s::after{ transition:none; } }
html.an-calm .an-pkres,html.an-calm .an-pkr.is-nudge .an-pkr__grid{ animation:none; }   /* «وقّف الحركة» (ANDALUS_A11Y_V3) */
/* an upright phone: his package on one line, its price · monthly under it (before a choice one line = the mockup's 92 px; the bar grows
   upward only, the buttons keep their size and place) */
@media (max-width:480px) and (orientation:portrait){ .an-pkb__t{ flex-direction:column; align-items:flex-start; } }
/* ض7 «أقل خط 13» on the new page: the mattress card's bed names and its photo badge (10.5–11.5px in its own style) — this file is on the new page only */
html body .an-moc__size small, html body .an-moc__badge small{ font-size:13px; line-height:1.3; }
/* ANDALUS_TEXT_FIT_V2 on /packages/ (19 Nov 2026, text-fit-live 130%): «خصم مع الباقة» at 13px went 4 px out of its 78 / 66 px circle — the circle
   grows with its words (two short lines), a round badge still */
html body .an-moc__badge{ width:auto; height:auto; min-width:78px; min-height:78px; aspect-ratio:1 / 1; padding:6px; box-sizing:border-box; }
html body .an-moc__badge small{ max-width:62px; line-height:1.15; text-align:center; }
@media (max-width:360px){ html body .an-moc__badge{ min-width:66px; min-height:66px; } }
