/* V22.12 — Offers & Deals page */
.of{max-width:1240px;margin:0 auto;padding:0 20px 40px;font-family:Inter,system-ui,-apple-system,sans-serif;color:#10201A}
.of svg{flex:none}
.of-hero{margin:14px 0 0;border-radius:20px;background:linear-gradient(135deg,#10201A 0%,#0F5A2B 100%);color:#fff;padding:24px 26px 20px}
.of-top{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.of-crumb{margin:0 0 6px;font-size:12.5px;color:#8A968F} .of-crumb a{color:#16833F;font-weight:700;text-decoration:none}
.of-hero h1{margin:0 0 4px;font-size:30px;font-weight:800;letter-spacing:-.02em;color:#fff!important} .of-top p{margin:0;color:#D3DED7;font-size:14.5px;max-width:560px}
.of-stats{display:flex;gap:8px;align-items:stretch;flex-wrap:wrap} .of-stats > span{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:8px 14px;font-size:12px;color:#AEB9B2} .of-stats b{display:block;font-size:19px;color:#fff}
.of-post{display:inline-flex;align-items:center;gap:7px;background:#16833F;color:#fff;border-radius:12px;padding:0 16px;font-weight:800;font-size:14px;text-decoration:none} .of-post svg{width:17px;height:17px}
.of-bar{margin-top:18px;background:#fff;border-radius:16px;padding:8px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr)) auto;gap:6px;color:#10201A}
.of-f{display:flex;align-items:center;gap:9px;border:1px solid #E2EAE5;border-radius:12px;padding:6px 10px;cursor:pointer;min-width:0} .of-f:focus-within{border-color:#10201A}
.of-f svg{width:18px;height:18px;color:#16833F} .of-f > span{min-width:0;flex:1}
.of-f small{display:block;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#8A968F}
.of-f select{width:100%;border:0;outline:0;background:none;padding:0;font:700 13.5px Inter,system-ui,sans-serif;color:#10201A;cursor:pointer;appearance:none;-webkit-appearance:none;text-overflow:ellipsis}
.of-go{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:12px;background:#16833F;color:#fff;font:800 14px Inter,system-ui,sans-serif;padding:0 20px;cursor:pointer} .of-go svg{width:17px;height:17px}
.of-chips{display:flex;gap:6px;overflow-x:auto;margin-top:14px;padding-bottom:2px;scrollbar-width:none} .of-chips::-webkit-scrollbar{display:none}
.of-chip{flex:none;border-radius:99px;padding:7px 13px;font-size:13px;font-weight:700;color:#E2EAE5;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);text-decoration:none;white-space:nowrap} .of-chip:hover{background:rgba(255,255,255,.16)} .of-chip.is-on{background:#fff;color:#10201A;border-color:#fff}
.of-res{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 2px 12px;font-size:14px;color:#5A6962} .of-res > b{color:#10201A}
.of-af{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #E2EAE5;border-radius:99px;padding:5px 11px;font-size:12.5px;font-weight:700;color:#374151;text-decoration:none} .of-af i{font-style:normal;color:#8A968F} .of-af:hover{border-color:#16833F} .of-af:hover i{color:#16833F}
.of-clear{font-size:12.5px;font-weight:700;color:#16833F;text-decoration:none}
.of-sort{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:13px} .of-sort > select{border:1px solid #E2EAE5;border-radius:10px;padding:7px 10px;font:700 13px Inter,system-ui,sans-serif;background:#fff;color:#10201A}
.of-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
/* card */
.dc{position:relative;background:#fff;border:1px solid #EEF3F0;border-radius:18px;padding:16px;overflow:hidden;box-shadow:0 4px 16px rgba(17,19,24,.04);transition:box-shadow .2s,transform .2s} .dc:hover{box-shadow:0 14px 34px rgba(17,19,24,.1);transform:translateY(-2px)}
.dc-img{position:absolute;right:0;top:0;width:46%;height:150px;background:linear-gradient(160deg,#DCE8F3,#F4F6F8);pointer-events:none}
.dc-img::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.85) 18%,rgba(255,255,255,0) 55%),linear-gradient(0deg,#fff 0%,rgba(255,255,255,0) 40%)}
.dc-img img{width:100%;height:100%;object-fit:cover;display:block} .dc-img svg{position:absolute;right:12px;bottom:6px;width:118px;height:108px;opacity:.95}
.dc > *:not(.dc-img){position:relative}
.dc-tags{display:flex;gap:6px;flex-wrap:wrap;max-width:70%} .dc-tag{font-size:10.5px;font-weight:800;letter-spacing:.03em;border-radius:99px;padding:3px 9px;border:1px solid #DDF2E3;color:#16833F;background:#fff} .dc-tag--f{background:#E3F4E8;border-color:#E3F4E8}
.dc-t{margin:12px 0 4px;font-size:17px;font-weight:800;line-height:1.25;max-width:78%} .dc-t a{color:inherit;text-decoration:none} .dc-t a::after{content:"";position:absolute;inset:0;z-index:0}
.dc-loc{display:flex;align-items:center;gap:5px;font-size:13px;color:#5A6962} .dc-loc svg{width:15px;height:15px}
.dc-facts{display:flex;flex-wrap:wrap;gap:4px 14px;margin:10px 0 6px;font-size:12.5px;color:#5A6962} .dc-facts span{white-space:nowrap}
.dc-price{margin-top:6px;font-size:22px;font-weight:800;color:#16833F} .dc-price small{font-size:13px;color:#10201A;font-weight:700} .dc-price s{font-size:13px;color:#8A968F;font-weight:600;margin-left:4px}
.dc-boxes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.dc-bx{display:flex;align-items:center;gap:8px;border-radius:12px;padding:10px;font-size:11.5px;color:#5A6962;line-height:1.35;min-width:0} .dc-bx svg{width:20px;height:20px} .dc-bx b{display:block;font-size:12.5px;color:#10201A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dc-bx > span{min-width:0} .dc-bx--hl{background:#F2F4F7} .dc-bx--hl svg{color:#374151}
.dc-bx--cd{background:#F2FAF4} .dc-bx--cd svg{color:#16833F} .dc-bx--cd b{color:#16833F;font-size:15px;font-variant-numeric:tabular-nums} .dc-bx--cd.is-soon{background:#E3F4E8;animation:dcPulse 2s ease-in-out infinite}
@keyframes dcPulse{50%{box-shadow:0 0 0 3px rgba(22,131,63,.15)}}
.dc-ft{display:flex;align-items:center;gap:8px;z-index:1}
.dc-av{width:36px;height:36px;border-radius:50%;background:#3A4A42;color:#fff;display:grid;place-items:center;font-size:12.5px;font-weight:800;overflow:hidden;flex:none;text-decoration:none} .dc-av img{width:100%;height:100%;object-fit:cover}
.dc-who{min-width:0;flex:1;font-size:11.5px;color:#5A6962;text-decoration:none;line-height:1.3} .dc-who b{display:block;color:#10201A;font-size:12.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .dc-ver{color:#16A34A}
.dc-btn{flex:none;border:1.5px solid #E2EAE5;border-radius:10px;padding:8px 11px;font-weight:800;font-size:12.5px;color:#10201A;text-decoration:none;white-space:nowrap} .dc-btn:hover{border-color:#10201A}
/* V22.75: WhatsApp / chat icon buttons beside "View deal", and the price-drop arrow in the tag */
.dc-ibtn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0}
.dc-ibtn .ui-ic{width:20px;height:20px}
.dc-ibtn--wa{color:#128C7E} .dc-ibtn--wa:hover{border-color:#128C7E;background:#F0FBF8}
.dc-tag-ic{width:14px;height:14px;margin:-2px 4px -2px 0;vertical-align:middle}
.dc-btn--red{background:#16833F;border-color:#16833F;color:#fff} .dc-btn--red:hover{background:#12703A;border-color:#12703A}
/* empty */
.of-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;background:#fff;border:1.5px dashed #E2EAE5;border-radius:18px;padding:36px 20px} .of-empty b{font-size:18px} .of-empty > span:not(.of-eic){color:#5A6962;font-size:14.5px;max-width:520px}
.of-eic{width:56px;height:56px;border-radius:16px;background:#E3F4E8;display:grid;place-items:center} .of-eic svg{width:26px;height:26px;color:#16833F}
.of-eb{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:8px}
.of-btn{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 16px;border-radius:11px;border:1.5px solid #E2EAE5;background:#fff;color:#10201A;font-weight:800;font-size:14px;text-decoration:none} .of-btn svg{width:16px;height:16px}
.of-btn--red{background:#16833F;border-color:#16833F;color:#fff}
@media (max-width:1180px){ .of-grid{grid-template-columns:repeat(2,minmax(0,1fr))} .of-bar{grid-template-columns:repeat(3,minmax(0,1fr))} .of-go{grid-column:1/-1;height:44px;justify-content:center} }
@media (max-width:700px){ .of{padding:0 12px 28px} .of-hero{padding:18px 16px 16px} .of-hero h1{font-size:25px} .of-stats{width:100%} .of-stats > span{flex:1} .of-post{flex:1 1 100%;justify-content:center;height:42px}
  .of-grid{grid-template-columns:1fr} .of-bar{grid-template-columns:1fr 1fr} .of-sort{margin-left:0;width:100%} .dc-t{font-size:16px} }
/* polish: highlight wraps; footer wraps buttons onto their own row when the card is narrow */
.dc-bx b{white-space:normal;overflow:visible;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dc-bx--cd b{white-space:nowrap}
.dc-ft{flex-wrap:wrap;row-gap:10px}
.dc-who{flex:1 1 150px} .dc-who{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dc-ft .dc-btn{flex:1 0 auto;text-align:center}
.dc-ft .dc-btn--red{margin-left:auto}
.dc-who{flex:1 1 calc(100% - 50px)} .dc-ft .dc-btn{flex:1 1 0;margin:0} .dc-ft .dc-btn--red{margin-left:0}
.dc-ft .dc-ibtn{flex:0 0 44px}
/* V22.13 — styled dropdowns in the filter bar and sort (light) */
.of .ds{position:static} .of-f{position:relative} .of-sort{position:relative}
.of .ds select{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.of-f .ds-btn{width:100%;padding:0 18px 0 0;background:none;border:0;color:#10201A;font:700 13.5px Inter,system-ui,sans-serif;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative}
.of-f .ds-btn::after, .of-sort .ds-btn::after{content:"";position:absolute;right:2px;top:50%;width:7px;height:7px;border-right:2px solid #8A968F;border-bottom:2px solid #8A968F;transform:translateY(-70%) rotate(45deg)}
.of-f .ds-btn.is-placeholder{color:#10201A}
.of .ds-menu{position:absolute;left:0;top:calc(100% + 8px);z-index:40;width:max(100%,250px);max-width:calc(100vw - 32px);background:#fff;color:#10201A;border:1px solid #E2EAE5;border-radius:14px;box-shadow:0 20px 50px rgba(17,19,24,.18);padding:6px}
.of .ds-search{width:100%;box-sizing:border-box;height:40px;background:#F4F7F5;border:1px solid #E2EAE5;border-radius:10px;color:#10201A;padding:0 12px;font:500 14px Inter,system-ui,sans-serif;margin-bottom:6px;outline:0} .of .ds-search:focus{border-color:#10201A;background:#fff}
.of .ds-list{max-height:300px;overflow:auto;scrollbar-width:thin;scrollbar-color:#D3DED7 transparent}
.of .ds-list button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 12px;border:0;border-radius:9px;background:none;color:#374151;font:500 14px Inter,system-ui,sans-serif;text-align:left;cursor:pointer}
.of .ds-list button:hover{background:#F4F7F5;color:#10201A} .of .ds-list button.is-on{background:#F2FAF4;color:#16833F;font-weight:700} .of .ds-list button svg{width:18px;height:18px;color:#16833F}
.of .ds-empty{padding:12px;color:#8A968F;font-size:14px}
.of-sort .ds{position:relative} .of-sort .ds-btn{border:1px solid #E2EAE5;border-radius:10px;padding:7px 30px 7px 12px;background:#fff;font:700 13px Inter,system-ui,sans-serif;color:#10201A;cursor:pointer;position:relative}
.of-sort .ds-btn::after{right:12px} .of-sort .ds-menu{left:auto;right:0;width:220px}
@media (max-width:700px){ .of-bar .of-f:nth-child(even) .ds-menu{left:auto;right:0} .of-sort .ds{flex:1} .of-sort .ds-btn{width:100%;text-align:left} }

.of .ds > select{position:absolute!important;opacity:0!important;pointer-events:none;width:1px!important;height:1px!important;padding:0!important;border:0!important}
.of-f small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:1500px) and (min-width:1181px){ .of-f > svg{display:none} .of-f{padding:6px 10px 6px 12px} }
/* V22.34 — Dubai only: five filters */
.of-bar--5{grid-template-columns:repeat(5,minmax(0,1fr)) auto}
@media (max-width:1180px){ .of-bar--5{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width:700px){ .of-bar--5{grid-template-columns:1fr 1fr} }

/* V22.83 — deal filter chips: the deal type's icon */
.of-chip-ic{width:15px;height:15px;margin:-2px 6px -2px 0;vertical-align:middle;flex:none}
.of-chip{display:inline-flex;align-items:center}

/* V22.85 — the drop and the reason on offer cards */
.dc-tag--pct{background:#12703A !important;border-color:#12703A !important;color:#fff !important;font-weight:800}
.dc-tag--pct small{font-size:10px;font-weight:600;opacity:.9;text-transform:none;letter-spacing:0}
.dc-feats{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 2px}
.dc-feats[hidden]{display:none}
.dc-feats span{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;padding:4px 8px;border-radius:7px;background:#EEF3F0;color:#10201A}
.dc-feat-ic{width:14px;height:14px;flex:none}

.of-chl{flex:none;align-self:center;margin-right:4px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8A968F}
.of-chsep{flex:none;width:1px;align-self:stretch;margin:4px 6px;background:rgba(255,255,255,.18)}
.of-chips+.of-chips{margin-top:8px}

/* V22.86 — the image opens the deal; the "why" block replaces "View deal" */
a.dc-img{pointer-events:auto;cursor:pointer}
.dc-why{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 12px 6px 10px;border-radius:12px;border:1px solid #DDF2E3;background:#F6FBF8;color:#10201A;text-decoration:none}
.dc-why:hover{border-color:#12703A;background:#F2FAF4;color:#10201A}
.dc-why:focus-visible{outline:2px solid #12703A;outline-offset:2px}
.dc-why-ic{width:22px;height:22px;flex:none;color:#12703A}
.dc-why>span{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}
.dc-why small{font-size:10.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#0F5A2B}
.dc-why b{font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dc-why-go{width:18px;height:18px;flex:none;color:#12703A}
.dc-ft .dc-why{margin:0}

/* V22.87 — "N photos" on the card cover */
.dc-pcount{position:absolute;right:10px;bottom:10px;z-index:2;font-size:11px;font-weight:700;color:#fff;background:rgba(21,23,28,.72);padding:3px 7px;border-radius:6px}
