/* Alpha 18 — definitive header, engagement pages, and offers */
:root{--mb18-header-height:86px;--mb18-topbar-height:34px}
html,body{margin-top:0!important}
body.makkah-theme-v2{padding-top:calc(var(--mb18-header-height) + var(--mb18-topbar-height))!important}
body.makkah-theme-v2.admin-bar{padding-top:calc(var(--mb18-header-height) + var(--mb18-topbar-height))!important}
#makkah-v2-header.makkah-v2-header{position:fixed!important;top:0!important;right:0!important;left:0!important;width:100%!important;height:calc(var(--mb18-header-height) + var(--mb18-topbar-height))!important;z-index:2147483000!important;background:#082b4b!important;margin:0!important;transform:none!important;overflow:visible!important}
body.admin-bar #makkah-v2-header.makkah-v2-header{top:32px!important}
#makkah-v2-header .mb18-topbar{height:var(--mb18-topbar-height);display:flex;align-items:center;background:#061d32;color:#d9e2e9;font:600 12px "Cairo",sans-serif}
#makkah-v2-header .mb18-topbar .makkah-v2-shell{width:min(1200px,calc(100% - 32px));display:flex;justify-content:space-between;align-items:center;gap:18px}
#makkah-v2-header .mb18-topbar a{color:#fff;text-decoration:none;margin-inline-start:14px}
#makkah-v2-header .makkah-v2-header-row{height:var(--mb18-header-height)!important;min-height:var(--mb18-header-height)!important}
#makkah-v2-header.is-scrolled{box-shadow:0 12px 32px rgba(2,20,36,.22)!important;background:rgba(5,35,61,.98)!important;backdrop-filter:blur(14px)}
#makkah-v2-header svg{width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important;display:inline-block!important;vertical-align:middle!important}

/* Engagement page reset: protect against GeneratePress and legacy icon CSS */
.mb14-engagement-page,.mb14-engagement-page *{box-sizing:border-box}
.mb14-engagement-page{width:100%;max-width:none!important;margin:0!important;padding:0!important;background:#f4f7fa!important;color:#0b2a47;font-family:"Cairo",sans-serif}
.mb14-page-hero{padding:70px 0!important;background:linear-gradient(135deg,#082b4b,#0d456f)!important}
.mb14-page-content{padding:48px 0 90px!important}
.mb14-page-toolbar{background:#fff;border:1px solid #e3e8ed;border-radius:14px;padding:18px 20px;box-shadow:0 10px 32px rgba(9,38,63,.05)}
.mb14-page-toolbar button{background:#fff!important;color:#8b3d32!important;border:1px solid #d8a94f!important;font-weight:800!important}
.mb14-loader{min-height:260px;display:grid;place-content:center;background:#fff!important}
.mb14-wishlist-grid,.mb14-engagement-page [data-mode="wishlist"] .mba-results-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
.mb14-wishlist-grid .mba-hotel-card,.mb14-engagement-page [data-mode="wishlist"] .mba-hotel-card{display:flex!important;flex-direction:column!important;min-width:0!important;border:1px solid #e2e8ed!important;border-radius:16px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 12px 35px rgba(7,34,57,.07)!important}
.mb14-wishlist-grid .mba-card-media{height:220px!important;min-height:220px!important;position:relative!important}
.mb14-wishlist-grid .mba-card-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.mb14-wishlist-grid .mba-card-content{padding:18px!important;display:block!important}
.mb14-wishlist-grid .mba-card-heading{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important}
.mb14-wishlist-grid .mba-card-heading h3{font-size:20px!important;line-height:1.4!important;margin:0 0 6px!important}
.mb14-wishlist-grid .mba-card-heading h3 a{color:#0b2a47!important;text-decoration:none!important}
.mb14-wishlist-grid .mba-card-heading p{font-size:13px!important;margin:0!important;color:#778692!important}
.mb14-wishlist-grid .mba-score{display:grid!important;place-items:center!important;min-width:54px!important;height:58px!important;border-radius:10px!important;background:#0b2a47!important;color:#fff!important}
.mb14-wishlist-grid .mba-score strong{font-size:18px!important}.mb14-wishlist-grid .mba-score span{font-size:9px!important}
.mb14-wishlist-grid .mba-stars{margin:13px 0!important;color:#f4ad24!important}.mb14-wishlist-grid .mba-stars small{color:#89949e!important}
.mb14-wishlist-grid .mba-amenities{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-bottom:14px!important}
.mb14-wishlist-grid .mba-amenities span{font-size:11px!important;background:#f5f7f9!important;border-radius:999px!important;padding:6px 9px!important}
.mb14-wishlist-grid .mba-excerpt{display:none!important}
.mb14-wishlist-grid .mba-card-bottom{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:12px!important;border-top:1px solid #edf0f2!important;padding-top:15px!important}
.mb14-wishlist-grid .mba-card-price small,.mb14-wishlist-grid .mba-card-price span{display:block!important;font-size:10px!important;color:#8a969f!important}.mb14-wishlist-grid .mba-card-price strong{font-size:19px!important;color:#0b2a47!important}
.mb14-wishlist-grid .mba-view-hotel{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#d6ab5b!important;color:#082b4b!important;padding:10px 14px!important;border-radius:8px!important;text-decoration:none!important;font-weight:900!important}
.mb14-wishlist-grid .mba-card-media svg,.mb14-engagement-page svg{width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important}
.mb14-wishlist-grid .mba-card-heading p svg{width:15px!important;height:15px!important}
.mb14-compare-table svg{width:18px!important;height:18px!important}
.mb14-empty{min-height:320px!important;background:#fff!important;border:1px solid #e2e8ed!important}
.mb14-empty .mb17-empty-icon{font-size:48px!important;color:#d6ab5b!important;background:none!important;width:auto!important;height:auto!important}

/* offers archive */
.mb18-offers-page{background:#f4f7fa;min-height:70vh;font-family:"Cairo",sans-serif;color:#0b2a47}
.mb18-offers-hero{padding:78px 0;background:linear-gradient(125deg,rgba(5,35,61,.96),rgba(9,65,101,.88)),url('../images/makkah-v2/offer.jpg') center/cover;color:#fff}
.mb18-offers-hero span{color:#d6ab5b;font-weight:800}.mb18-offers-hero h1{font-size:46px;margin:7px 0 10px;color:#fff}.mb18-offers-hero p{max-width:620px;color:rgba(255,255,255,.82)}
.mb18-offers-content{padding:55px 0 90px}.mb18-offers-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.mb18-offers-head h2{margin:0;font-size:30px}.mb18-offers-count{color:#7b8994}
.mb18-offers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.mb18-offer-card{background:#fff;border:1px solid #e1e7ec;border-radius:16px;overflow:hidden;box-shadow:0 14px 38px rgba(7,34,57,.07)}.mb18-offer-media{height:220px;position:relative}.mb18-offer-media img{width:100%;height:100%;object-fit:cover}.mb18-discount{position:absolute;top:14px;right:14px;background:#d6ab5b;color:#082b4b;padding:8px 12px;border-radius:999px;font-weight:900}.mb18-offer-body{padding:18px}.mb18-offer-body h3{font-size:20px;margin:0 0 8px}.mb18-offer-body h3 a{color:#0b2a47;text-decoration:none}.mb18-offer-meta{display:flex;gap:10px;flex-wrap:wrap;color:#778692;font-size:12px;margin-bottom:14px}.mb18-offer-footer{display:flex;justify-content:space-between;align-items:end;border-top:1px solid #edf0f2;padding-top:14px}.mb18-offer-price strong{display:block;font-size:20px}.mb18-offer-footer>a{background:#d6ab5b;color:#082b4b;text-decoration:none;padding:10px 15px;border-radius:8px;font-weight:900}

@media(max-width:782px){body.admin-bar #makkah-v2-header.makkah-v2-header{top:46px!important}}
@media(max-width:860px){:root{--mb18-header-height:70px;--mb18-topbar-height:0px}body.makkah-theme-v2{padding-top:70px!important}#makkah-v2-header .mb18-topbar{display:none!important}#makkah-v2-header.makkah-v2-header{height:70px!important}#makkah-v2-header .makkah-v2-header-row{height:70px!important;min-height:70px!important}.mb14-wishlist-grid,.mb14-engagement-page [data-mode="wishlist"] .mba-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.mb14-wishlist-grid .mba-card-media{height:145px!important;min-height:145px!important}.mb14-wishlist-grid .mba-card-content{padding:11px!important}.mb14-wishlist-grid .mba-card-heading h3{font-size:15px!important}.mb14-wishlist-grid .mba-score{display:none!important}.mb14-wishlist-grid .mba-amenities,.mb14-wishlist-grid .mba-stars small{display:none!important}.mb14-wishlist-grid .mba-card-bottom{display:block!important}.mb14-wishlist-grid .mba-view-hotel{width:100%!important;margin-top:8px!important;padding:8px!important;font-size:12px!important}.mb18-offers-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mb18-offer-media{height:150px}.mb18-offer-body{padding:12px}.mb18-offer-body h3{font-size:15px}.mb18-offers-hero h1{font-size:34px}}
