@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@600;700&family=Almarai:wght@400;700&display=swap');

:root {
  --olivon-deep: #263B2E;
  --olivon-olive: #556B3D;
  --olivon-ivory: #F7F3E8;
  --olivon-paper: #FFFDF7;
  --olivon-honey: #B8812F;
  --olivon-ink: #243127;
  --olivon-muted: #657064;
  --olivon-line: rgba(38, 59, 46, .16);
  --olivon-heading-font: 'Alexandria', sans-serif;
  --olivon-body-font: 'Almarai', sans-serif;
}

html.olivon-enhanced {
  direction: rtl;
  --fd-deep: var(--olivon-deep);
  --fd-green: var(--olivon-deep);
  --fd-blue: var(--olivon-olive);
  --fd-cream: var(--olivon-ivory);
  --fd-paper: var(--olivon-paper);
  --fd-h: var(--olivon-heading-font);
  --fd-b: var(--olivon-body-font);
}
html.olivon-enhanced body {
  color: var(--olivon-ink);
  background: var(--olivon-ivory);
  font-family: var(--olivon-body-font);
}
.olivon-wordmark {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  color: var(--olivon-deep);
  font: 600 28px/1 var(--olivon-heading-font);
  letter-spacing: -.04em;
  text-decoration: none;
}
.olivon-wordmark::before {
  content: '';
  display: inline-block;
  width: .72em;
  height: 1em;
  border-radius: 78% 4% 78% 8%;
  transform: rotate(-28deg);
  background: linear-gradient(135deg, var(--olivon-olive) 56%, var(--olivon-honey) 57%);
}
.olivon-hero-visual {
  background: radial-gradient(circle at 70% 30%, rgba(184, 129, 47, .26), transparent 38%),
    linear-gradient(135deg, #d8dfbf, var(--olivon-ivory) 70%);
}

html.olivon-enhanced *, html.olivon-enhanced *::before, html.olivon-enhanced *::after { box-sizing: border-box; }
html.olivon-enhanced body { margin: 0; overflow-x: clip; }
html.olivon-enhanced :is(button, input, select, textarea) { font-family: var(--olivon-body-font) !important; }
html.olivon-enhanced :is(.fd-site, .ab-header, .ab-footer, .ab-pgrid, #product-id, [data-cart="panel"], .checkout_container) { direction: rtl !important; }
html.olivon-enhanced :is(.fd-site h1, .fd-site h2, .fd-site h3, .ab-pgrid-title, .ab-pd-name) { font-family: var(--olivon-heading-font) !important; }
html.olivon-enhanced :is(.fd-site p, .fd-site li, .fd-site a, .ab-pgrid, #product-id, .ab-footer) { font-family: var(--olivon-body-font) !important; }

/* The existing Builder section shells retain their fields; only the visual language changes. */
html.olivon-enhanced main.container_class:has(.fd-hero),
html.olivon-enhanced main.container_class:has(.fd-hero) .content_container { background: var(--olivon-ivory) !important; padding-block: 0 !important; margin-block: 0 !important; }
html.olivon-enhanced main.container_class:has(.fd-hero) :is(.fd-hero, .fd-service-rail, .fd-care-index, .fd-guide, .fd-faq) { margin-block: 0 !important; }
html.olivon-enhanced :is(.fd-hero, .fd-service-rail, .fd-care-index, .fd-guide, .fd-faq, .ab-pgrid) {
  width: 100vw !important; max-width: none !important; margin-inline: calc(50% - 50vw) !important;
}
html.olivon-enhanced :is(.fd-hero, .fd-care-index, .fd-guide, .fd-faq) > .fd-container { width: min(100% - 40px, 1220px) !important; margin-inline: auto !important; }
html.olivon-enhanced :is(.fd-care-index, .fd-guide, .fd-faq) { direction: rtl; text-align: right; }
html.olivon-enhanced :is(.fd-care-index-grid, .fd-faq-grid) { direction: rtl; }
html.olivon-enhanced .fd-hero {
  position: relative; display: grid; min-height: min(720px, 83svh); align-items: center;
  overflow: hidden; background: linear-gradient(115deg, #e9e3cf 0%, #f7f3e8 53%, #f3edda 100%) !important;
  color: var(--olivon-deep) !important;
}
html.olivon-enhanced .fd-hero-media, html.olivon-enhanced .fd-hero-dim { display: none !important; }
html.olivon-enhanced .fd-hero::before {
  content: ''; position: absolute; width: min(46vw, 610px); aspect-ratio: 1; left: 5%; top: 11%;
  background: radial-gradient(ellipse at 58% 53%, #c88935 0 11%, #f3ce80 12% 14%, transparent 15%),
    radial-gradient(ellipse 37% 16% at 25% 55%, #647b47 0 90%, transparent 92%),
    radial-gradient(ellipse 35% 14% at 56% 24%, #587140 0 90%, transparent 92%),
    radial-gradient(ellipse 34% 15% at 72% 73%, #435c38 0 90%, transparent 92%),
    linear-gradient(55deg, transparent 47%, #8a6739 48% 49%, transparent 50%);
  border-radius: 50%; transform: rotate(-20deg); opacity: .94; pointer-events: none;
}
html.olivon-enhanced .fd-hero-content { position: relative; z-index: 1; margin-inline: auto !important; padding-block: 96px !important; padding-inline-start: min(38vw, 460px) !important; }
html.olivon-enhanced .fd-hero h1 { max-width: 720px; color: var(--olivon-deep) !important; font-size: clamp(38px, 5vw, 74px) !important; line-height: 1.3 !important; }
html.olivon-enhanced .fd-hero p { max-width: 560px; color: var(--olivon-ink) !important; font-size: clamp(16px, 1.4vw, 19px) !important; line-height: 1.9 !important; }
html.olivon-enhanced .fd-hero :is(.fd-btn, a[class*="btn"]) { display: inline-flex; align-items: center; gap: 12px; padding: 15px 25px !important; border-radius: 5px !important; background: var(--olivon-deep) !important; border-color: var(--olivon-deep) !important; color: #fff !important; text-decoration: none; }
html.olivon-enhanced .fd-service-rail { background: var(--olivon-deep) !important; color: #fff !important; }
html.olivon-enhanced .fd-service-rail * { color: #fff !important; }
html.olivon-enhanced :is(.fd-care-index, .fd-faq) { background: var(--olivon-paper) !important; padding-block: clamp(64px, 8vw, 110px) !important; color: var(--olivon-ink) !important; }
html.olivon-enhanced .fd-guide { background: var(--olivon-deep) !important; padding-block: clamp(64px, 8vw, 110px) !important; color: #fff !important; }
html.olivon-enhanced :is(.fd-care-index h2, .fd-faq h2) { color: var(--olivon-deep) !important; }
html.olivon-enhanced .fd-guide :is(h2, p, li, a, span) { color: #fff !important; }
html.olivon-enhanced :is(.fd-care-index, .fd-guide, .fd-faq) h2 { font-size: clamp(34px, 4.3vw, 60px) !important; line-height: 1.35 !important; }
html.olivon-enhanced :is(.fd-care-index, .fd-guide, .fd-faq) p { font-size: 16px !important; line-height: 1.9 !important; }
html.olivon-enhanced .fd-care-links a { color: var(--olivon-deep) !important; border-color: var(--olivon-line) !important; text-decoration: none; }
html.olivon-enhanced .fd-care-links a strong { font-size: 19px; }
html.olivon-enhanced .fd-care-links a small { color: var(--olivon-muted) !important; }
html.olivon-enhanced .fd-guide-visual { display: none !important; }
html.olivon-enhanced .fd-guide-grid { display: block !important; }
html.olivon-enhanced .fd-guide-copy { max-width: 780px; margin-inline: auto; }
html.olivon-enhanced .fd-guide li { margin-block: 10px; line-height: 1.8; }
html.olivon-enhanced .fd-accordion { border-color: var(--olivon-line) !important; }
html.olivon-enhanced .fd-accordion summary { color: var(--olivon-deep) !important; cursor: pointer; direction: rtl; text-align: right; }
html.olivon-enhanced .fd-accordion summary span { margin-inline-start: auto; margin-inline-end: 0; }
html.olivon-enhanced .fd-answer { color: var(--olivon-ink) !important; line-height: 1.9; }
html.olivon-enhanced .olivon-preview-notice { margin: 0 !important; padding: 14px 24px; text-align: center; background: #e8eddf; color: var(--olivon-deep); font: 700 14px/1.6 var(--olivon-body-font); }
html.olivon-preview [data-olivon-preview-hide], html.olivon-preview :is(.ab-search, .ab-search-trigger, .related-products, .product-recommendations) { display: none !important; }
html.olivon-preview :is(.fd-grid, .fd-featured, .fd-list) { display: none !important; }
/* تكرار [hidden] يرفع الـ specificity فوق قواعد مثل .fd-care-links a (0,2,2) التي تفرض display !important وتعوّض سلوك المتصفح الافتراضي للـ hidden */
html.olivon-enhanced [hidden][hidden] { display: none !important; }

html.olivon-enhanced :is(.fd-topbar, .fd-header, .fd-footer) { background: var(--olivon-deep) !important; color: #fff !important; }
html.olivon-enhanced :is(.fd-header, .fd-footer) :is(a, button) { color: #fff !important; }
html.olivon-enhanced .fd-brand-ar { font: 700 clamp(22px, 2.1vw, 30px)/1.2 var(--olivon-heading-font) !important; letter-spacing: -.04em; }
html.olivon-enhanced :is(.fd-brand-ar, .fd-footer-brand)::before { content: ''; display: inline-block; width: .42em; height: .7em; margin-inline-end: .28em; border-radius: 78% 4% 78% 8%; transform: rotate(-28deg); background: linear-gradient(135deg, #8da66d 55%, #d8a956 56%); }
html.olivon-enhanced .fd-brand-sub { font: 400 10px/1.6 var(--olivon-body-font) !important; }
html.olivon-enhanced .fd-count { background: var(--olivon-honey) !important; color: var(--olivon-deep) !important; }
html.olivon-enhanced .fd-footer-main { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(160px, 1fr)) !important; gap: 32px !important; }
html.olivon-enhanced .fd-footer-brand { font: 700 30px/1.4 var(--olivon-heading-font) !important; }
html.olivon-enhanced .fd-footer-main p { color: #f0f3eb !important; line-height: 1.9 !important; }
html.olivon-enhanced .fd-footer-bottom { border-color: rgba(255,255,255,.2) !important; color: #f0f3eb !important; }
html.olivon-enhanced .fd-product-details { background: var(--olivon-ivory) !important; }
html.olivon-enhanced .fd-product-details h1 { color: var(--olivon-deep) !important; font-family: var(--olivon-heading-font) !important; }
html.olivon-enhanced .fd-product-details :is(.fd-product-meta, .fd-product-price strong) { color: var(--olivon-deep) !important; }
html.olivon-enhanced .fd-product-description { background: var(--olivon-paper) !important; }
html.olivon-enhanced .fd-product-benefit-rail { display: none !important; }
html.olivon-preview .fd-service-rail { display: none !important; }
html.olivon-preview .fd-announcement b { display: none !important; }

@media (max-width: 760px) {
  html.olivon-enhanced .fd-hero { min-height: 640px; align-items: end; }
  html.olivon-enhanced .fd-hero::before { width: 300px; max-width: 80vw; top: 0; left: 5%; opacity: .65; }
  html.olivon-enhanced .fd-hero-content { padding: 270px 0 55px !important; }
  html.olivon-enhanced .fd-hero h1 { font-size: clamp(36px, 10vw, 54px) !important; }
  html.olivon-enhanced :is(.fd-care-index, .fd-guide, .fd-faq) > .fd-container { width: min(100% - 32px, 1220px) !important; }
}

/* Platform chrome and real destination-store product data. */
html.olivon-enhanced :is(.ab-header, #eo-header) { background: var(--olivon-deep) !important; color: #fff !important; border-color: rgba(255,255,255,.15) !important; }
html.olivon-enhanced :is(.ab-header, #eo-header) :is(a, button, svg) { color: #fff !important; }
html.olivon-enhanced .ab-logo { font-size: 0 !important; }
html.olivon-enhanced .ab-logo > :not(.olivon-wordmark) { display: none !important; }
html.olivon-enhanced .ab-logo .olivon-wordmark { color: #fff !important; }
html.olivon-enhanced :is(.ab-announcement, .ab-ann-bar, .ab-ann-slider) { background: var(--olivon-olive) !important; color: #fff !important; }
html.olivon-enhanced .ab-ann-slide { color: #fff !important; }
html.olivon-enhanced :is(.ab-header .ab-cart-count, #header-cart-count) { background: var(--olivon-honey) !important; color: var(--olivon-deep) !important; }
html.olivon-enhanced .ab-footer { background: var(--olivon-deep) !important; color: #fff !important; }
html.olivon-enhanced .ab-footer :is(a, h2, h3, p, span) { color: #fff !important; }
html.olivon-enhanced .ab-footer-inner { width: min(100% - 40px, 1220px); margin-inline: auto; padding-block: 54px 28px !important; }
html.olivon-enhanced .ab-footer-grid { display: grid !important; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(160px, 1fr)) !important; gap: 30px !important; }
html.olivon-enhanced .olivon-footer-brand .olivon-wordmark { font-size: 32px; color: #fff; }
html.olivon-enhanced .olivon-footer-brand p { max-width: 340px; line-height: 1.9; opacity: .88; }
html.olivon-enhanced .olivon-footer-nav { display: grid; gap: 11px; align-content: start; }
html.olivon-enhanced .olivon-footer-nav a { text-decoration: none; }
html.olivon-enhanced .olivon-footer-nav a:hover { text-decoration: underline; }
html.olivon-enhanced .ab-footer-bottom { border-top: 1px solid rgba(255,255,255,.2) !important; padding-top: 20px !important; }
html.olivon-preview .ab-footer-col { display: none !important; }

html.olivon-enhanced .ab-pgrid { background: var(--olivon-ivory) !important; padding: 65px max(20px, calc((100vw - 1220px)/2)) !important; }
html.olivon-enhanced .ab-pgrid-title { color: var(--olivon-deep) !important; font-size: clamp(26px, 3vw, 40px) !important; }
html.olivon-enhanced .ab-pgrid-wrap { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important; gap: 20px !important; }
html.olivon-enhanced .ab-pgrid-card { min-width: 0 !important; overflow: hidden; background: var(--olivon-paper) !important; border: 1px solid var(--olivon-line) !important; border-radius: 12px !important; box-shadow: none !important; }
html.olivon-enhanced .ab-pgrid-media { background: #f0eee4 !important; }
html.olivon-enhanced .ab-pgrid-card :is(.ab-pgrid-img-primary, .ab-pgrid-img-hover) { width: 100%; aspect-ratio: 1; object-fit: contain !important; padding: 16px; }
html.olivon-enhanced .ab-pgrid-name { color: var(--olivon-deep) !important; line-height: 1.6 !important; display: -webkit-box !important; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
html.olivon-enhanced .ab-pgrid-price { color: var(--olivon-deep) !important; font-weight: 700 !important; }
html.olivon-enhanced .ab-pgrid-load-more { background: var(--olivon-deep) !important; color: #fff !important; border-radius: 5px !important; }

html.olivon-enhanced :is(.checkout_btn, .form_checkout_btn, .ab-fixed-buy-btn, .ab-desktop-quick-btn, .ab-card-cart-btn, .add-to-cart-button, #checkout-button .checkout_buy_now, [data-cart="checkout-wrapper"] :is(a, button)) {
  background: var(--olivon-deep) !important; border-color: var(--olivon-deep) !important; color: #fff !important; font-family: var(--olivon-body-font) !important; border-radius: 6px !important;
}
html.olivon-enhanced :is(.checkout_btn, .form_checkout_btn, .ab-fixed-buy-btn, .ab-desktop-quick-btn, .ab-card-cart-btn, .add-to-cart-button, #checkout-button .checkout_buy_now):hover { background: var(--olivon-olive) !important; }

html.olivon-enhanced #product-id { background: var(--olivon-ivory) !important; }
html.olivon-enhanced #product-id .product_container { max-width: 1220px !important; margin-inline: auto !important; }
html.olivon-enhanced #product-id :is(.p_details_container, .p_gallery_container, .product_form_checkout) {
  background: var(--olivon-paper) !important; border: 1px solid var(--olivon-line) !important; border-radius: 12px !important; padding: clamp(18px, 2.2vw, 30px) !important; box-shadow: 0 12px 35px rgba(38,59,46,.07) !important;
}
html.olivon-enhanced #product-id :is(.ab-gallery-main, .ab-gallery-main-slide) { background: #f0eee4 !important; }
html.olivon-enhanced #product-id .ab-gallery-main-media { object-fit: contain !important; }
html.olivon-enhanced #product-id .ab-pd-name { color: var(--olivon-deep) !important; font-size: clamp(26px, 3vw, 40px) !important; line-height: 1.45 !important; }
html.olivon-enhanced #product-id .ab-pd-description { color: var(--olivon-ink) !important; line-height: 1.9 !important; font-size: 16px !important; }
html.olivon-enhanced #product-id .ab-pd-price-row { border-bottom: 1px solid var(--olivon-line) !important; padding-bottom: 16px !important; }
html.olivon-enhanced #product-id :is(.ab-fake-counter, .ab-fake-visitor) { display: none !important; }
html.olivon-enhanced #product-id .bundles_item { background: #fff !important; border: 1px solid var(--olivon-line) !important; border-radius: 8px !important; }
html.olivon-enhanced #product-id .bundles_item:has(.radio_circle.bg-blue-500) { border-color: var(--olivon-olive) !important; background: #f1f4ea !important; }
html.olivon-enhanced #product-id .radio_circle.bg-blue-500 { background: var(--olivon-olive) !important; }
html.olivon-enhanced #product-id :is(input, textarea, select) { background: #fff !important; color: var(--olivon-ink) !important; border: 1px solid var(--olivon-line) !important; border-radius: 6px !important; }
html.olivon-enhanced #product-id :is(input[type="tel"], input[type="number"]) { direction: ltr; text-align: right; }
html.olivon-enhanced #product-id .product_form_checkout label { color: var(--olivon-deep) !important; }
html.olivon-enhanced #product-id .related-products:has(.products-grid:empty) { display: none !important; }

html.olivon-enhanced [data-cart="panel"] { direction: rtl !important; color: var(--olivon-ink) !important; }
html.olivon-enhanced [data-cart="panel-inner"] { background: var(--olivon-paper) !important; color: var(--olivon-ink) !important; }
html.olivon-enhanced [data-cart="header"] { border-bottom: 1px solid var(--olivon-line) !important; }
html.olivon-enhanced [data-cart="content"] { flex: 0 1 auto !important; min-height: 0 !important; }
html.olivon-enhanced [data-cart="item"] { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 12px; align-items: start; padding-block: 16px !important; border-bottom: 1px solid var(--olivon-line) !important; }
html.olivon-enhanced [data-cart="item"] img { width: 88px !important; height: 88px !important; object-fit: contain !important; background: var(--olivon-ivory); border-radius: 8px; }
html.olivon-enhanced [data-cart="item-name"] { color: var(--olivon-deep) !important; line-height: 1.5 !important; }
html.olivon-enhanced [data-cart="item-remove"] { color: var(--olivon-olive) !important; }
html.olivon-enhanced :is([data-cart="item-increase"], [data-cart="item-decrease"]) { background: #fff !important; color: var(--olivon-deep) !important; border: 1px solid var(--olivon-line) !important; border-radius: 6px !important; }
html.olivon-enhanced :is([data-cart="footer"], [data-cart="checkout-wrapper"]) { background: var(--olivon-paper) !important; border-top: 1px solid var(--olivon-line) !important; }

html.olivon-enhanced body.olivon-checkout-page { background: var(--olivon-ivory) !important; min-height: 100dvh; }
html.olivon-enhanced body.olivon-checkout-page::before { display: none !important; content: none !important; }
html.olivon-enhanced body.olivon-checkout-page :is(header:has(.checkout_header), .checkout_header, .checkout_bg_right, .checkout_bg_left) { display: none !important; }
html.olivon-enhanced body.olivon-checkout-page .checkout_container { display: grid !important; grid-template-columns: minmax(0,1fr) minmax(300px,.84fr) !important; max-width: 1180px !important; gap: 24px !important; margin-inline: auto !important; padding: 42px 20px !important; background: transparent !important; }
html.olivon-enhanced body.olivon-checkout-page :is(#checkout-form, #checkout-order-summary) { background: var(--olivon-paper) !important; border: 1px solid var(--olivon-line) !important; border-radius: 12px !important; padding: 26px !important; box-shadow: 0 12px 35px rgba(38,59,46,.07) !important; }
html.olivon-enhanced body.olivon-checkout-page :is(h1, h2, h3, label) { color: var(--olivon-deep) !important; }
html.olivon-enhanced body.olivon-checkout-page :is(input, select, textarea) { background: #fff !important; border: 1px solid var(--olivon-line) !important; color: var(--olivon-ink) !important; border-radius: 6px !important; }

@media (max-width: 760px) {
  html.olivon-enhanced .ab-footer-grid { grid-template-columns: 1fr !important; }
  html.olivon-enhanced .ab-pgrid-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  html.olivon-enhanced .ab-pgrid { padding: 46px 16px !important; }
  html.olivon-enhanced #product-id :is(.p_details_container, .p_gallery_container, .product_form_checkout) { padding: 16px !important; }
  html.olivon-enhanced body.olivon-checkout-page .checkout_container { display: flex !important; flex-direction: column !important; padding: 18px 14px 90px !important; }
  html.olivon-enhanced body.olivon-checkout-page :is(#checkout-form, #checkout-order-summary) { width: 100% !important; padding: 18px !important; }
  html.olivon-enhanced [data-cart="checkout-wrapper"] { position: sticky; bottom: 0; z-index: 2; padding: 12px !important; }
  html.olivon-enhanced .fd-footer-main { grid-template-columns: 1fr !important; }
}

/* The Builder stylesheet loads after this bundle; these rules restore the intended Olivon layout. */
html.olivon-preview .ab-announce { display: none !important; }
html.olivon-enhanced :is(.fd-hero, .fd-care-index, .fd-guide, .fd-faq) :is(h1, h2),
html.olivon-enhanced :is(.fd-care-links strong, .fd-accordion summary) {
  font-family: var(--olivon-heading-font) !important;
  letter-spacing: -.035em !important;
}
html.olivon-enhanced :is(.fd-hero, .fd-care-index, .fd-guide, .fd-faq) .fd-kicker {
  color: var(--olivon-olive) !important;
  font: 700 13px/1.6 var(--olivon-body-font) !important;
}
html.olivon-enhanced .fd-guide .fd-kicker { color: #d4b776 !important; }

html.olivon-enhanced .fd-hero { min-height: 620px !important; }
html.olivon-enhanced .fd-hero::before {
  width: min(31vw, 450px); height: 470px; aspect-ratio: auto;
  left: max(32px, calc((100vw - 1220px) / 2)); top: 50%;
  transform: translateY(-50%); border-radius: 230px 230px 18px 18px;
  background: radial-gradient(circle at 72% 25%, rgba(237,192,95,.8) 0 7%, transparent 7.2%),
    radial-gradient(circle at 28% 79%, rgba(182,138,59,.36), transparent 38%),
    linear-gradient(145deg, #829267, #3b563e 70%, #273e31);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,.16), 0 22px 60px rgba(38,59,46,.13);
  opacity: 1;
}
html.olivon-enhanced .fd-hero::after {
  content: 'olivon'; position: absolute; z-index: 0;
  left: max(32px, calc((100vw - 1220px) / 2)); top: 50%;
  width: min(31vw, 450px); transform: translateY(-45%);
  color: #fffdf7; text-align: center;
  font: 600 clamp(44px, 4.5vw, 68px)/1 var(--olivon-heading-font);
  letter-spacing: -.075em; pointer-events: none;
}
html.olivon-enhanced .fd-hero-content {
  width: min(100% - 48px, 1220px) !important;
  min-height: 620px !important;
  padding: 70px 0 !important;
  margin-inline: auto !important;
  align-items: flex-start !important;
  text-align: right !important;
}
html.olivon-enhanced .fd-hero h1 {
  width: min(100%, 590px); max-width: 590px !important;
  margin: 0 0 24px !important;
  font-size: clamp(43px, 4.4vw, 68px) !important;
  line-height: 1.3 !important;
}
html.olivon-enhanced .fd-hero p { width: min(100%, 530px); margin: 0 0 32px !important; }
html.olivon-enhanced .fd-hero .fd-btn { min-height: 54px; font-size: 15px !important; }
html.olivon-enhanced .olivon-preview-notice {
  width: 100vw !important; max-width: none !important;
  margin-inline: calc(50% - 50vw) !important;
  border-block: 1px solid var(--olivon-line);
}

html.olivon-enhanced :is(.fd-care-index, .fd-faq) { background: var(--olivon-ivory) !important; }
html.olivon-enhanced :is(.fd-care-index, .fd-faq) { padding-block: clamp(64px, 6vw, 88px) !important; }
html.olivon-enhanced .fd-care-index-grid {
  display: grid !important;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr) !important;
  gap: clamp(32px, 5vw, 86px) !important;
  align-items: center !important;
}
html.olivon-enhanced .fd-care-index-copy { max-width: 390px; }
html.olivon-enhanced .fd-care-links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important; border: 0 !important;
}
html.olivon-enhanced .fd-care-links a {
  display: flex !important; flex-direction: column; align-items: stretch; justify-content: space-between;
  min-height: 226px; padding: 26px !important;
  border: 1px solid var(--olivon-line) !important;
  border-radius: 16px; background: #ebefdf;
  transition: transform .2s, box-shadow .2s;
}
html.olivon-enhanced .fd-care-links a:nth-child(2) { background: #f4e9d3; }
html.olivon-enhanced .fd-care-links a::before {
  content: '01'; color: var(--olivon-olive);
  font: 700 13px/1 var(--olivon-body-font);
}
html.olivon-enhanced .fd-care-links a:nth-child(2)::before { content: '02'; color: var(--olivon-honey); }
html.olivon-enhanced .fd-care-links a:not([role="group"]):hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(38,59,46,.1); }
html.olivon-enhanced .fd-care-links a[role="group"] { cursor: default; }
html.olivon-enhanced .fd-care-links a[role="group"] b { display: none; }
html.olivon-enhanced .fd-care-links a strong { font-size: clamp(19px, 1.5vw, 23px) !important; line-height: 1.5; }
html.olivon-enhanced .fd-care-links a small { font-size: 13px; line-height: 1.7; }

html.olivon-enhanced .fd-guide { padding-block: 72px !important; }
html.olivon-enhanced .fd-guide-grid { display: block !important; min-height: 0 !important; }
html.olivon-enhanced .fd-guide-copy {
  display: grid !important; max-width: none !important; padding: 0 !important; margin: 0 !important;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
  grid-template-rows: auto auto auto 1fr; gap: 0 clamp(35px, 6vw, 95px);
  align-items: start;
}
html.olivon-enhanced .fd-guide-copy > .fd-kicker { grid-column: 1; grid-row: 1; }
html.olivon-enhanced .fd-guide-copy > h2 { grid-column: 1; grid-row: 2; margin-block: 12px 20px !important; }
html.olivon-enhanced .fd-guide-copy > h2 { font-size: clamp(35px, 3.4vw, 48px) !important; }
html.olivon-enhanced .fd-guide-copy > p { grid-column: 1; grid-row: 3; margin: 0 !important; }
html.olivon-enhanced .fd-guide-copy > ul {
  grid-column: 2; grid-row: 1 / 5; align-self: stretch;
  list-style: none; counter-reset: olivon-step;
  margin: 0 !important; padding: 14px 30px !important;
  border: 1px solid rgba(255,255,255,.26); border-radius: 16px;
  background: rgba(255,255,255,.055);
}
html.olivon-enhanced .fd-guide-copy li {
  display: flex; align-items: center; gap: 18px;
  margin: 0 !important; padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-size: 16px; line-height: 1.7;
}
html.olivon-enhanced .fd-guide-copy li:last-child { border-bottom: 0; }
html.olivon-enhanced .fd-guide-copy li::before {
  counter-increment: olivon-step; content: counter(olivon-step, decimal-leading-zero);
  color: #d4b776; font: 700 13px/1 var(--olivon-body-font);
}
html.olivon-enhanced .fd-guide-copy > .fd-guide-link {
  grid-column: 1; grid-row: 4; margin-top: 26px; align-self: end;
  font-size: 15px;
}

html.olivon-enhanced .fd-faq-grid {
  display: grid !important;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr) !important;
  gap: clamp(32px, 5vw, 85px) !important;
  align-items: start;
}
html.olivon-enhanced .fd-faq-grid > div:first-child { max-width: 390px; }
html.olivon-enhanced .fd-accordion summary { font-size: 17px !important; padding-block: 18px !important; line-height: 1.6 !important; }
html.olivon-enhanced .fd-accordion .fd-answer {
  font-size: 16px !important;
  line-height: 1.8 !important;
  padding-block: 0 18px !important;
  margin-top: -2px !important;
  max-width: 62ch;
  color: var(--olivon-muted) !important;
}

html.olivon-enhanced .ab-footer-inner { width: min(100% - 48px, 1220px) !important; max-width: none !important; padding-block: 66px 28px !important; }
html.olivon-enhanced .ab-footer-grid { width: 100% !important; max-width: none !important; }
html.olivon-preview .ab-footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr) !important; gap: 70px !important; }
html.olivon-enhanced .olivon-footer-brand p { font-size: 15px !important; line-height: 1.9 !important; }
html.olivon-enhanced .olivon-footer-nav a { font-size: 14px !important; line-height: 1.8 !important; }
html.olivon-enhanced .ab-footer-bottom { margin-top: 46px; }
html.olivon-enhanced .ab-footer-copy { font: 400 12px/1.6 var(--olivon-body-font) !important; }

@media (max-width: 900px) {
  html.olivon-enhanced .fd-hero::before, html.olivon-enhanced .fd-hero::after { display: none !important; }
  html.olivon-enhanced .fd-hero { min-height: 0 !important; background: linear-gradient(135deg, #e3e9d9, var(--olivon-ivory)) !important; }
  html.olivon-enhanced .fd-hero-content { min-height: 0 !important; padding: 88px 0 !important; }
  html.olivon-enhanced .fd-hero h1 { max-width: 680px !important; }
}
@media (max-width: 760px) {
  html.olivon-enhanced .fd-hero-content { width: min(100% - 36px, 1220px) !important; padding: 72px 0 !important; }
  html.olivon-enhanced .fd-hero h1 { font-size: clamp(34px, 9vw, 49px) !important; }
  html.olivon-enhanced .fd-care-index-grid, html.olivon-enhanced .fd-faq-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 28px !important; }
  html.olivon-enhanced .fd-care-index-copy, html.olivon-enhanced .fd-faq-grid > div:first-child { max-width: none; }
  html.olivon-enhanced .fd-guide { padding-block: 64px !important; }
  html.olivon-enhanced .fd-guide-copy { grid-template-columns: minmax(0, 1fr) !important; }
  html.olivon-enhanced .fd-guide-copy > * { grid-column: 1 !important; grid-row: auto !important; }
  html.olivon-enhanced .fd-guide-copy > ul { margin-top: 30px !important; padding: 8px 20px !important; }
  html.olivon-enhanced .ab-footer-inner { width: min(100% - 36px, 1220px) !important; }
  html.olivon-preview .ab-footer-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
}
@media (max-width: 560px) {
  html.olivon-enhanced .fd-care-links { grid-template-columns: 1fr !important; }
  html.olivon-enhanced .fd-care-links a { min-height: 170px; }
  html.olivon-enhanced :is(.fd-care-index, .fd-faq) { padding-block: 64px !important; }
}

/* Photo mode is opt-in: the inherited Herpal image stays hidden until the Olivon asset is selected. */
html.olivon-enhanced .fd-hero.olivon-hero-photo {
  min-height: clamp(600px, 76svh, 820px) !important;
  background: var(--olivon-deep) !important;
}
html.olivon-enhanced .fd-hero.olivon-hero-photo::before,
html.olivon-enhanced .fd-hero.olivon-hero-photo::after { display: none !important; }
html.olivon-enhanced .fd-hero.olivon-hero-photo .fd-hero-media,
html.olivon-enhanced .fd-hero.olivon-hero-photo .fd-hero-dim {
  display: block !important; position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important; margin: 0 !important;
}
html.olivon-enhanced .fd-hero.olivon-hero-photo .fd-hero-media { z-index: 0 !important; overflow: hidden; }
html.olivon-enhanced .fd-hero.olivon-hero-photo .fd-hero-media img {
  display: block !important; width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center center !important;
}
html.olivon-enhanced .fd-hero.olivon-hero-photo .fd-hero-dim {
  z-index: 1 !important; pointer-events: none;
  background: linear-gradient(to left, rgba(20, 35, 25, .86) 0%, rgba(20, 35, 25, .62) 39%, rgba(20, 35, 25, .12) 76%, transparent 100%) !important;
}
html.olivon-enhanced .fd-hero.olivon-hero-photo .fd-hero-content {
  z-index: 2 !important; min-height: clamp(600px, 76svh, 820px) !important;
  padding: 92px 0 !important; justify-content: center !important;
}
html.olivon-enhanced .fd-hero.olivon-hero-photo :is(h1, p) { color: #fffdf7 !important; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
html.olivon-enhanced .fd-hero.olivon-hero-photo .fd-btn {
  background: var(--olivon-honey) !important; border-color: var(--olivon-honey) !important;
  color: #17261b !important; text-shadow: none !important;
}
@media (max-width: 900px) {
  html.olivon-enhanced .fd-hero.olivon-hero-photo,
  html.olivon-enhanced .fd-hero.olivon-hero-photo .fd-hero-content { min-height: 620px !important; }
  html.olivon-enhanced .fd-hero.olivon-hero-photo .fd-hero-media img { object-position: 34% center !important; }
  html.olivon-enhanced .fd-hero.olivon-hero-photo .fd-hero-dim {
    background: linear-gradient(0deg, rgba(20, 35, 25, .9), rgba(20, 35, 25, .53)) !important;
  }
  html.olivon-enhanced .fd-hero.olivon-hero-photo .fd-hero-content { padding: 78px 0 !important; }
}

/* ——— بطاقات المجموعات: العنوان والوصف فوق بعض بدل ما يتداخلوا ——— */
html.olivon-enhanced .fd-care-index { max-width: 100% !important; overflow-x: clip; }
@media (min-width: 561px) {
  html.olivon-enhanced .fd-care-links { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
html.olivon-enhanced .fd-care-links a { min-width: 0; }
html.olivon-enhanced .fd-care-links a > span {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  min-width: 0;
}
html.olivon-enhanced .fd-care-links a strong { display: block !important; line-height: 1.45 !important; }
html.olivon-enhanced .fd-care-links a small { display: block !important; line-height: 1.8 !important; max-width: 100%; }

/* ——— صفحة التصنيف / عرض المزيد: خلفية وألوان هوية Olivon ——— */
html.olivon-enhanced body,
html.olivon-enhanced .app_container { background: var(--olivon-ivory) !important; }
html.olivon-enhanced .collection_container {
  background: var(--olivon-ivory) !important;
  color: var(--olivon-ink) !important;
  direction: rtl !important;
  text-align: right !important;
}
html.olivon-enhanced .collection_container :is(.ab-pgrid-count, .ab-pgrid-count-text) { color: var(--olivon-muted) !important; }
html.olivon-enhanced .collection_container :is(.ab-pgrid-price-row, .ab-pgrid-price) { color: var(--olivon-deep) !important; font-weight: 700 !important; }
html.olivon-enhanced .category_section_header { direction: rtl !important; }
html.olivon-enhanced .category_section_header button {
  background: var(--olivon-paper) !important;
  border-color: var(--olivon-line) !important;
  color: var(--olivon-deep) !important;
  border-radius: 10px !important;
}
html.olivon-enhanced .ab-pgrid-load-more {
  background: var(--olivon-paper) !important;
  color: var(--olivon-deep) !important;
  border: 1px solid var(--olivon-line) !important;
  border-radius: 999px !important;
  padding: 14px 36px !important;
  font-weight: 700 !important;
}
html.olivon-enhanced .ab-pgrid-load-more:hover {
  background: var(--olivon-honey) !important;
  border-color: var(--olivon-honey) !important;
  color: #17261b !important;
}

/* ——— الفوتر: محاذاة يمين وإزالة صور الدفع ——— */
html.olivon-enhanced .ab-footer { direction: rtl !important; text-align: right !important; }
html.olivon-enhanced .ab-footer :is(a, h2, h3, p, span) { text-align: right !important; }
html.olivon-enhanced .ab-footer-bottom {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  text-align: right !important;
}
html.olivon-enhanced .ab-footer-bottom-left { text-align: right !important; align-items: flex-start !important; }
html.olivon-enhanced .ab-footer-payment,
html.olivon-enhanced .ab-footer img[alt*="payment" i] { display: none !important; }

/* ——— نموذج الطلب وصفحة الـcheckout ——— */
html.olivon-enhanced :is(.checkout_container, .checkout_form, .checkout_order_summary, #product-id form) {
  direction: rtl !important;
  text-align: right !important;
}
html.olivon-enhanced .checkout_container { background: var(--olivon-ivory) !important; }
html.olivon-enhanced .checkout_order_summary {
  background: var(--olivon-paper) !important;
  border: 1px solid var(--olivon-line) !important;
  border-radius: 16px !important;
}
html.olivon-enhanced .checkout_form :is(label, h2, h3, p, span, dt, dd) { text-align: right !important; }
html.olivon-enhanced :is(.checkout_form, #product-id) :is(.global_input, .global_textarea) {
  text-align: right !important;
  direction: rtl !important;
  transition: none !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(38, 59, 46, .3) !important;
  border-radius: 10px !important;
  padding: 13px 14px !important;
  min-height: 50px !important;
  font-size: 16px !important;
  color: var(--olivon-ink) !important;
  box-shadow: 0 1px 3px rgba(38, 59, 46, .07) !important;
}
html.olivon-enhanced :is(.checkout_form, #product-id) :is(.global_input, .global_textarea)::placeholder {
  color: rgba(36, 49, 39, .5) !important;
}
html.olivon-enhanced :is(.checkout_form, #product-id) textarea.global_textarea { min-height: 110px !important; }
html.olivon-enhanced :is(#checkout-form, #checkout-order-summary) :is(.global_input, .global_textarea),
html.olivon-enhanced #product-id .global_input,
html.olivon-enhanced #product-id .global_textarea {
  background-color: #ffffff !important;
}
html.olivon-enhanced body #__next :is(#product-id, #checkout-form) :is(.global_input, .global_textarea) {
  transition: none !important;
  background-color: #ffffff !important;
  border: 1.5px solid rgba(38, 59, 46, .32) !important;
  box-shadow: 0 1px 3px rgba(38, 59, 46, .08) !important;
}
html.olivon-enhanced :is(.checkout_form, #product-id) :is(.global_input, .global_textarea):focus {
  border-color: var(--olivon-olive) !important;
  box-shadow: 0 0 0 3px rgba(85, 107, 61, .16) !important;
  outline: none !important;
}
html.olivon-enhanced .checkout_form .select__control {
  background: var(--olivon-paper) !important;
  border-color: var(--olivon-line) !important;
  border-radius: 10px !important;
  min-height: 48px !important;
}
html.olivon-enhanced .checkout_form .select__single-value { color: var(--olivon-ink) !important; }
html.olivon-enhanced .checkout_form .select__menu { text-align: right !important; direction: rtl !important; }
html.olivon-enhanced .checkout_container :is(.checkout_buy_now, .checkout_btn) {
  background: var(--olivon-deep) !important;
  color: #fffdf7 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}
html.olivon-enhanced .checkout_discount_section { display: none !important; }
html.olivon-enhanced :is(.checkout_add_discount, #checkout-discount-section, #in-product-discount-section) { display: none !important; }
html.olivon-enhanced #product-id :is(.checkout_discount_section, [name="in-product-coupon-input"]) { display: none !important; }
html.olivon-enhanced #product-id .in-product-coupon-input { display: none !important; }
html.olivon-enhanced .in-product-quantity-counter > label { display: none !important; }

/* ——— سلة التسوق الجانبية ——— */
html.olivon-enhanced [role="dialog"] { direction: rtl !important; }
html.olivon-enhanced [role="dialog"] :is(h2, h3, p, dt, dd, span) { text-align: right; }
html.olivon-enhanced [role="dialog"] :is(.bg-white, .shadow-xl) { background-color: var(--olivon-paper) !important; }
html.olivon-enhanced [role="dialog"] :is(.bg-skin-primary, .checkout_buy_now) { border-radius: 10px !important; }

/* ——— توحيد الخطوط: الثيم بيستخدم Jost اللي مفيهوش عربي ——— */
html.olivon-enhanced body :is(p, span, label, dt, dd, li, button, input, textarea, select, a, small, strong, em, summary, blockquote) {
  font-family: var(--olivon-body-font) !important;
}
html.olivon-enhanced body :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--olivon-heading-font) !important;
}
html.olivon-enhanced body #__next :is(p, span, label, dt, dd, li, button, input, textarea, select, a, small, strong, em, summary, blockquote) {
  font-family: var(--olivon-body-font) !important;
}
html.olivon-enhanced body #__next :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--olivon-heading-font) !important;
}
html.olivon-enhanced body .olivon-wordmark {
  font-family: var(--olivon-heading-font) !important;
  letter-spacing: .01em;
}

/* ——— صفحة المنتج: العنوان والخط ——— */
html.olivon-enhanced #product-id { text-align: right !important; }
html.olivon-enhanced #product-id :is(.product_name, .ab-pd-name) {
  text-align: right !important;
  font-family: var(--olivon-heading-font) !important;
  font-weight: 700 !important;
  color: var(--olivon-deep) !important;
  font-size: clamp(26px, 2.8vw, 34px) !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}
html.olivon-enhanced #product-id :is(.product_name, .ab-pd-name) + * { text-align: right !important; }

/* ——— قائمة الموبايل ——— */
html.olivon-enhanced :is(#eo-mobile-menu, .ab-mobile-menu) { background: var(--olivon-paper) !important; }
html.olivon-enhanced :is(#eo-mobile-menu, .ab-mobile-menu) .ab-mobile-menu-logo img { display: none !important; }
html.olivon-enhanced :is(#eo-mobile-menu, .ab-mobile-menu) .ab-mobile-menu-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: right !important;
}
html.olivon-enhanced :is(#eo-mobile-menu, .ab-mobile-menu) .ab-mobile-menu-logo .olivon-wordmark {
  font-size: 26px !important;
  color: var(--olivon-deep) !important;
}
html.olivon-enhanced :is(#eo-mobile-menu, .ab-mobile-menu) .ab-mobile-nav { padding: 8px 22px 20px !important; }
html.olivon-enhanced :is(#eo-mobile-menu, .ab-mobile-menu) .ab-mobile-nav a {
  display: block !important;
  padding: 15px 0 !important;
  border-bottom: 1px solid var(--olivon-line) !important;
  color: var(--olivon-deep) !important;
  font: 700 16px/1.5 var(--olivon-body-font) !important;
  text-align: right !important;
}
html.olivon-enhanced :is(#eo-mobile-menu, .ab-mobile-menu) .ab-mobile-nav a:last-child { border-bottom: 0 !important; }
html.olivon-enhanced :is(#eo-mobile-menu, .ab-mobile-menu) .ab-mobile-close { color: var(--olivon-deep) !important; }

/* ——— استبدال ألوان الثيم القديم (الوردي) بهوية Olivon في كل الصفحات ——— */
html.olivon-enhanced {
  --color-primary: 38, 59, 46 !important;
  --body-text: var(--olivon-ink) !important;
  --buy-btn-bg: var(--olivon-deep) !important;
  --buy-btn-border: var(--olivon-deep) !important;
  --ft-bg: var(--olivon-deep) !important;
  --ft-text: #EFEAD9 !important;
  --hd-bg: var(--olivon-ivory) !important;
  --hd-text: var(--olivon-deep) !important;
  --ann-bg: var(--olivon-deep) !important;
  --ann-text: var(--olivon-ivory) !important;
  --product-name-text: var(--olivon-ink) !important;
  --crt-btn-border: var(--olivon-olive) !important;
  --crt-btn-text: var(--olivon-olive) !important;
  --header-count-badge-bg: var(--olivon-honey) !important;
  --nav-badge-new-bg: var(--olivon-honey) !important;
}

/* ——— لمسات صفحة الطلب ——— */
html.olivon-enhanced :is(.checkout_form, .checkout_order_summary) :is(h1, h2, h3) {
  font-family: var(--olivon-heading-font) !important;
  color: var(--olivon-deep) !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
}
html.olivon-enhanced .checkout_form label,
html.olivon-enhanced #product-id form label {
  display: block !important;
  margin-bottom: 6px !important;
  color: var(--olivon-deep) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}
html.olivon-enhanced .checkout_container .checkout_buy_now {
  min-height: 52px !important;
  font-size: 17px !important;
  letter-spacing: 0 !important;
}
html.olivon-enhanced .checkout_order_summary :is(dt, dd) { color: var(--olivon-ink) !important; }
html.olivon-enhanced .checkout_container :is(.checkout_cart_item, .checkout_cart_items_container) { text-align: right !important; }
html.olivon-enhanced .checkout_container .text-red-600 { font-weight: 700 !important; }
html.olivon-enhanced #product-id .in-product-quantity-counter { text-align: right !important; }
html.olivon-enhanced #product-id .in-product-quantity-counter .quantity_container { justify-content: flex-start !important; }
html.olivon-enhanced #product-id form > dl,
html.olivon-enhanced #product-id form dl.space-y-4 { border-top-color: var(--olivon-line) !important; }


/* --- Header: policy pages live in the footer/mobile menu only --- */
html.olivon-enhanced .ab-nav a[href^="/pages/"] { display: none !important; }

/* --- Checkout: remove theme white shell + default blue links --- */
html.olivon-enhanced body.olivon-checkout-page .bg-white:has(> .checkout_container) { background: transparent !important; }
html.olivon-enhanced body.olivon-checkout-page .checkout_container a:not(.olivon-wordmark) { color: var(--olivon-deep) !important; text-decoration-color: rgba(38, 59, 46, .35) !important; }
