/* Alpha 47 — WooCommerce account, checkout and mobile header polish. */
body.mbx-woocommerce-page{background:#f5f7f9;color:#102a43;font-family:"Cairo",sans-serif}
body.mbx-woocommerce-page #page,body.mbx-woocommerce-page #content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important}
body.mbx-woocommerce-page .site-content{display:block!important;padding:0!important}
body.mbx-woocommerce-page .content-area,body.mbx-woocommerce-page #primary{width:100%!important;max-width:none!important;float:none!important;margin:0!important;padding:0!important}
body.mbx-woocommerce-page #right-sidebar,body.mbx-woocommerce-page #left-sidebar,body.mbx-woocommerce-page .widget-area{display:none!important}
body.mbx-woocommerce-page .site-main{margin:0!important;padding:46px 0 72px!important}
body.mbx-woocommerce-page .inside-article{width:min(1240px,calc(100% - 36px))!important;max-width:1240px!important;margin:0 auto!important;padding:0!important;background:transparent!important;box-shadow:none!important}
body.mbx-woocommerce-page .entry-header{margin-bottom:24px!important}
body.mbx-woocommerce-page .entry-title{color:#0b2a47!important;font-size:34px!important;font-weight:800!important}
body.mbx-woocommerce-page .entry-content{margin:0!important}
body.mbx-woocommerce-page .woocommerce{direction:rtl}
body.mbx-woocommerce-page .woocommerce a{transition:.2s}
body.mbx-woocommerce-page .woocommerce button.button,body.mbx-woocommerce-page .woocommerce a.button,body.mbx-woocommerce-page .woocommerce input.button{font-family:inherit!important;border-radius:9px!important;background:#0b2a47!important;color:#fff!important;border:0!important;min-height:44px!important;padding:11px 18px!important;font-weight:800!important}
body.mbx-woocommerce-page .woocommerce .button.alt{background:linear-gradient(135deg,#e0b35a,#c99131)!important;color:#fff!important}
body.mbx-woocommerce-page input,body.mbx-woocommerce-page select,body.mbx-woocommerce-page textarea{font-family:inherit!important}

/* Account shell */
body.mbx-account-page .woocommerce{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:28px!important;align-items:start!important}
body.mbx-account-page .woocommerce-MyAccount-navigation{width:auto!important;float:none!important;background:linear-gradient(145deg,#0b3557,#061f36)!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 16px 35px rgba(8,41,68,.13)!important;position:sticky!important;top:105px!important}
body.mbx-account-page .woocommerce-MyAccount-navigation ul{list-style:none!important;margin:0!important;padding:10px!important}
body.mbx-account-page .woocommerce-MyAccount-navigation li{margin:0!important;padding:0!important;border-bottom:1px solid rgba(255,255,255,.09)!important}
body.mbx-account-page .woocommerce-MyAccount-navigation li:last-child{border-bottom:0!important}
body.mbx-account-page .woocommerce-MyAccount-navigation a{display:flex!important;align-items:center!important;min-height:49px!important;padding:0 14px!important;border-radius:9px!important;color:rgba(255,255,255,.85)!important;font-size:14px!important;font-weight:700!important}
body.mbx-account-page .woocommerce-MyAccount-navigation li.is-active a,body.mbx-account-page .woocommerce-MyAccount-navigation a:hover{background:rgba(217,168,78,.16)!important;color:#e6bc69!important;padding-right:18px!important}
body.mbx-account-page .woocommerce-MyAccount-content{width:auto!important;float:none!important;min-width:0!important;background:#fff!important;border:1px solid #e3e8ec!important;border-radius:16px!important;padding:28px!important;box-shadow:0 10px 30px rgba(8,41,68,.055)!important}
body.mbx-account-page .woocommerce-MyAccount-content h2,body.mbx-account-page .woocommerce-MyAccount-content h3{color:#0b2a47!important;font-weight:800!important}
body.mbx-account-page .woocommerce-MyAccount-content table{border:1px solid #e5eaee!important;border-radius:12px!important;overflow:hidden!important}
body.mbx-account-page .woocommerce-MyAccount-content th{background:#f5f8fa!important;color:#17364f!important}
body.mbx-account-page .woocommerce-Addresses{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
body.mbx-account-page .woocommerce-Address{width:auto!important;float:none!important;border:1px solid #e4e9ed!important;border-radius:13px!important;padding:18px!important;background:#fbfcfd!important}
body.mbx-account-page .mbr-account,body.mbx-account-page .mbr-booking-detail{max-width:none!important}

/* Checkout classic and block */
body.mbx-checkout-page .entry-title{text-align:center!important;margin-bottom:30px!important}
body.mbx-checkout-page .woocommerce-checkout{display:grid!important;grid-template-columns:minmax(0,1fr) 390px!important;grid-template-areas:"customer order"!important;gap:28px!important;align-items:start!important}
body.mbx-checkout-page #customer_details{grid-area:customer!important;display:grid!important;grid-template-columns:1fr!important;gap:20px!important}
body.mbx-checkout-page #order_review_heading,body.mbx-checkout-page #order_review{grid-area:order!important}
body.mbx-checkout-page #order_review_heading{align-self:start!important;margin:0 0 12px!important}
body.mbx-checkout-page #order_review{position:sticky!important;top:105px!important;background:#fff!important;border:1px solid #e2e8ec!important;border-radius:16px!important;padding:22px!important;box-shadow:0 12px 30px rgba(8,41,68,.07)!important}
body.mbx-checkout-page .col2-set .col-1,body.mbx-checkout-page .col2-set .col-2{width:100%!important;float:none!important;background:#fff!important;border:1px solid #e2e8ec!important;border-radius:16px!important;padding:24px!important;box-shadow:0 8px 24px rgba(8,41,68,.045)!important}
body.mbx-checkout-page form .form-row{margin:0 0 15px!important;padding:0!important}
body.mbx-checkout-page form .form-row label{display:block!important;color:#1d3a52!important;font-size:13px!important;font-weight:700!important;margin-bottom:7px!important}
body.mbx-checkout-page form .form-row input.input-text,body.mbx-checkout-page form .form-row textarea,body.mbx-checkout-page form .form-row select,.select2-container .select2-selection--single{height:48px!important;border:1px solid #d8e1e7!important;border-radius:9px!important;background:#fff!important;padding:0 13px!important;box-shadow:none!important}
body.mbx-checkout-page form .form-row textarea{height:110px!important;padding-top:12px!important}
body.mbx-checkout-page #payment{background:#f7fafc!important;border-radius:12px!important}
body.mbx-checkout-page #payment ul.payment_methods{border-bottom:1px solid #e3e9ed!important;padding:16px!important}
body.mbx-checkout-page #payment div.form-row{padding:16px!important}
body.mbx-checkout-page #place_order{width:100%!important;background:linear-gradient(135deg,#e1b45a,#c99031)!important;color:#fff!important;font-size:15px!important}
body.mbx-checkout-page .shop_table{border:0!important}
body.mbx-checkout-page .shop_table th,body.mbx-checkout-page .shop_table td{padding:13px 7px!important;border-bottom:1px solid #edf1f3!important}

body.mbx-checkout-page .wc-block-checkout{max-width:1240px!important;margin:0 auto!important;direction:rtl!important}
body.mbx-checkout-page .wc-block-checkout__main{padding-left:28px!important;padding-right:0!important}
body.mbx-checkout-page .wc-block-checkout__sidebar{padding-left:0!important;padding-right:0!important}
body.mbx-checkout-page .wc-block-components-sidebar-layout{gap:30px!important}
body.mbx-checkout-page .wc-block-components-checkout-step,body.mbx-checkout-page .wp-block-woocommerce-checkout-order-summary-block{background:#fff!important;border:1px solid #e2e8ec!important;border-radius:15px!important;padding:22px!important;margin-bottom:18px!important;box-shadow:0 8px 24px rgba(8,41,68,.045)!important}
body.mbx-checkout-page .wc-block-components-title{color:#0b2a47!important;font-family:"Cairo",sans-serif!important;font-weight:800!important}
body.mbx-checkout-page .wc-block-components-text-input input,body.mbx-checkout-page .wc-block-components-combobox .components-combobox-control__input{border-radius:9px!important;border-color:#d8e1e7!important;min-height:50px!important;font-family:"Cairo",sans-serif!important}
body.mbx-checkout-page .wc-block-components-checkout-place-order-button{background:linear-gradient(135deg,#e1b45a,#c99031)!important;color:#fff!important;border:0!important;border-radius:9px!important;min-height:52px!important;font-family:"Cairo",sans-serif!important;font-weight:800!important}

/* Header account icon + reliable mobile logo */
html body #makkah-v2-header .mb47-account-icon svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important}
@media(max-width:900px){
 html body #makkah-v2-header .makkah-v2-header-row{grid-template-columns:minmax(92px,1fr) auto 46px!important;gap:8px!important;padding:0 12px!important}
 html body #makkah-v2-header .makkah-v2-brand-wrap{grid-column:1!important;overflow:visible!important;min-width:92px!important}
 html body #makkah-v2-header .makkah-v2-custom-logo,html body #makkah-v2-header .makkah-v2-custom-logo .custom-logo-link{width:120px!important;max-width:120px!important;height:58px!important;overflow:visible!important}
 html body #makkah-v2-header .custom-logo{width:auto!important;height:auto!important;max-width:118px!important;max-height:56px!important;object-fit:contain!important;object-position:right center!important;filter:brightness(0) invert(1)!important;opacity:1!important;visibility:visible!important}
 html body #makkah-v2-header .makkah-v2-actions{grid-column:2!important;width:auto!important;height:46px!important;display:flex!important;gap:7px!important}
 html body #makkah-v2-header .makkah-v2-actions>a.mb30-header-icon{display:grid!important;width:40px!important;height:40px!important;min-width:40px!important;border-radius:10px!important}
 html body #makkah-v2-header .makkah-v2-actions>a:nth-of-type(3){display:none!important}
 html body #makkah-v2-header .makkah-v2-actions .makkah-v2-cta{display:none!important}
 html body #makkah-v2-header .makkah-v2-menu-toggle{grid-column:3!important;grid-row:1!important}
}
@media(max-width:620px){
 body.mbx-account-page .woocommerce{grid-template-columns:1fr!important}.woocommerce-MyAccount-navigation{position:static!important}
 body.mbx-account-page .woocommerce-MyAccount-navigation ul{display:flex!important;overflow-x:auto!important;gap:6px!important}.woocommerce-MyAccount-navigation li{flex:0 0 auto!important;border:0!important}.woocommerce-MyAccount-navigation a{white-space:nowrap!important}
 body.mbx-account-page .woocommerce-MyAccount-content{padding:18px!important}
 body.mbx-account-page .woocommerce-Addresses{grid-template-columns:1fr!important}
 body.mbx-checkout-page .woocommerce-checkout{grid-template-columns:1fr!important;grid-template-areas:"customer" "order"!important}.woocommerce-checkout #order_review{position:static!important}
 body.mbx-checkout-page .wc-block-components-sidebar-layout{display:block!important}.wc-block-checkout__main{padding:0!important}.wc-block-checkout__sidebar{width:100%!important}
 html body #makkah-v2-header .makkah-v2-header-row{grid-template-columns:minmax(78px,1fr) auto 44px!important;padding:0 8px!important;gap:5px!important}
 html body #makkah-v2-header .makkah-v2-custom-logo,html body #makkah-v2-header .makkah-v2-custom-logo .custom-logo-link{width:102px!important;max-width:102px!important}
 html body #makkah-v2-header .custom-logo{max-width:100px!important;max-height:50px!important}
 html body #makkah-v2-header .makkah-v2-actions{gap:4px!important}
 html body #makkah-v2-header .makkah-v2-actions>a.mb30-header-icon{width:36px!important;height:36px!important;min-width:36px!important}
 html body #makkah-v2-header .makkah-v2-actions>a:nth-of-type(2){display:none!important}
}


/* Alpha 50 — booking detail heading contrast. */
body.mbx-account-page .woocommerce-MyAccount-content .mbr-booking-detail>header h2,
body.mbx-account-page .woocommerce-MyAccount-content .mbr-booking-detail>header h2 a{
	color:#fff!important;
	text-shadow:0 1px 1px rgba(0,0,0,.08)!important;
}
body.mbx-account-page .woocommerce-MyAccount-content .mbr-booking-detail>header p{color:rgba(255,255,255,.82)!important}
