/* DEC-464 — «متجري»: the look of oLog (templatecookie/olog-html, MIT — THIRD_PARTY_NOTICES.md), its sizes and colours as its
   pages compute them, mirrored for Arabic: white header with a round search, one solid blue button with small corners, a
   hero with a large photo and one rounded corner, centred section titles, soft 12px photos, round departments, a dark
   footer. The shop's own parts keep their markup; only their look is oLog's. Light grey words are darkened for WCAG. */
.st-matjari { --ac: #335AFF; --ac2: #335AFF; --ac-ink: #fff; --dark: #1A2224; --page: #fff; --card: #fff; --line: #EBEDF0; --ink: #1A2224; --mut: #6B7080; --price: #1A2224; --svc: #1A2224; --nav-on: #335AFF; --hero-ink: #1A2224; --r: .6rem; }
.st-matjari.is-live { --co-ac: #335AFF; --co-act: #2A4AD9; --co-acb: #335AFF; --co-ink: #1A2224; --co-mut: #6B7080; --co-line: #EBEDF0; --co-card: #fff; }

/* ---------- the phone: oLog's stacked hero, plain cards, round departments ---------- */
.st-matjari .f-bar { background: #fff; border-bottom: 1px solid var(--line); }
.st-matjari .f-logo img { height: 3rem; }
.st-matjari .f-logo--name::after { content: "."; color: #EBCE3C; }
.st-matjari .f-hero { display: flex; flex-direction: column; height: auto !important; padding: 2.800rem 1.600rem 1.600rem; background: #fff; }
.st-matjari .f-hero__t { position: static; order: 1; text-align: right; }
.st-matjari .f-hero__t h2 { font-size: 3rem; font-weight: 600; line-height: 4.200rem; white-space: normal; }
.st-matjari .f-hero__t p { font-size: 1.400rem; line-height: 2.200rem; color: var(--mut); white-space: normal; }
.st-matjari .f-hero__i { position: static; order: 2; width: 100%; height: 30rem; margin-block-start: 2.200rem; border-radius: .8rem 6rem .8rem .8rem; object-fit: cover; }
.st-matjari .f-cta { height: 4.600rem; padding-inline: 3.200rem; border-radius: .4rem; background: #335AFF; color: #fff; font-size: 1.400rem; font-weight: 700; }
.st-matjari .f-cta .si { display: none; }
.st-matjari .f-h { justify-content: center; flex-direction: column; gap: .4rem; text-align: center; }
.st-matjari .f-h h2 { font-size: 2.200rem; font-weight: 600; }
.st-matjari .f-h a { color: #335AFF; font-size: 1.200rem; }
.st-matjari .f-card { border: 0; background: transparent; }
.st-matjari .f-card > a img { border-radius: 1.200rem; background: #F6F8FA; }
.st-matjari .f-card h3 { font-weight: 600; }
.st-matjari .f-card p b { color: var(--price); font-weight: 700; }
.st-matjari .f-card em { background: #EBCE3C; color: #1A2224; }
.st-matjari .f-svc { margin-inline: 1.200rem; border: 1px solid var(--line); border-radius: .6rem; background: #F6F8FA; }
.st-matjari .f-svc .si { color: #335AFF; }
.st-matjari .f-tiles a { height: auto; border: 0; background: transparent; }
.st-matjari .f-tiles img { width: 7.400rem; height: 7.400rem; margin-inline: auto; border-radius: 50%; object-fit: cover; }
.st-matjari .f-nav b, .st-matjari .f-bar .f-ic b { background: #335AFF; color: #fff; }
.st-matjari .f-btn { padding-inline: 2.400rem; border-radius: .4rem; }
.st-matjari .f-panel > .f-btn, .st-matjari .f-sheet > .f-btn { display: flex; width: calc(100% - 3.200rem); height: 4.600rem; margin-inline: 1.600rem; background: #335AFF; color: #fff; font-size: 1.500rem; font-weight: 700; }
.st-matjari .lv-ann { background: #F6F8FA; color: var(--mut); }
.st-matjari .lv-btn { border-radius: .4rem; }

/* ---------- the computer: oLog's header, hero, titles, products, departments and footer ---------- */
@media (min-width: 768px) {
  .st-matjari.is-live.has-dk .dk-wrap { width: min(1140px, 100% - 48px); }
  .st-matjari.is-live.has-dk .dk-ann { padding: 9px 16px; border-bottom: 1px solid #EFEFEF; background: #fff; color: #6B7080; font-size: 13px; font-weight: 400; }
  .st-matjari.is-live.has-dk .dk-head { box-shadow: none; border-bottom: 1px solid #F1F2F4; }
  .st-matjari.is-live.has-dk .dk-head__row { padding-block: 16px; }
  .st-matjari.is-live.has-dk .dk-logo b { color: #1A2224; font-size: 32px; font-weight: 700; letter-spacing: -.5px; }
  .st-matjari.is-live.has-dk .dk-logo b::after { content: "."; color: #EBCE3C; }
  .st-matjari.is-live.has-dk .dk-q { max-width: 440px; height: 50px; padding-inline: 22px; border: 1px solid #D9DCE3; background: #fff; font-size: 15px; font-weight: 400; }
  .st-matjari.is-live.has-dk .dk-icons a { min-width: 44px; }
  .st-matjari.is-live.has-dk .dk-icons a > span:not(.dk-icons__i) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* oLog's header shows icons alone; the names stay for screen readers */
  .st-matjari.is-live.has-dk .dk-icons a:hover, .st-matjari.is-live.has-dk .dk-icons a[aria-current] { background: transparent; color: #335AFF; }
  .st-matjari.is-live.has-dk .dk-icons b { background: #335AFF; color: #fff; }
  .st-matjari.is-live.has-dk .dk-nav { border: 0; }
  .st-matjari.is-live.has-dk .dk-nav__row > a, .st-matjari.is-live.has-dk .dk-mega__b { flex: 0 0 auto; padding: 8px 9px; border-radius: 0; background: transparent; color: #1A2224; font-size: 15px; font-weight: 400; }
  .st-matjari.is-live.has-dk .dk-nav__row > a.dk-nav__hot { color: #C8102E; }
  .st-matjari.is-live.has-dk .dk-nav__d--5, .st-matjari.is-live.has-dk .dk-nav__d--6 { display: none; }   /* a short menu, as oLog's; every department is in «الأقسام» */
  .st-matjari.is-live.has-dk .dk-nav__row > a:hover, .st-matjari.is-live.has-dk .dk-nav__row > a[aria-current] { background: transparent; color: #335AFF; font-weight: 500; }

  .st-matjari.is-live.has-dk .dk-hero { background: #fff; }
  .st-matjari.is-live.has-dk .dk-hero__in { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding-block: 40px 24px; }
  .st-matjari.is-live.has-dk .dk-hero__t small { display: none; }
  .st-matjari.is-live.has-dk .dk-hero__t p[role="heading"] { font-size: clamp(36px, 4vw, 52px); font-weight: 600; line-height: 1.3; }
  .st-matjari.is-live.has-dk .dk-hero__t p { color: #6B7080; font-size: 16px; font-weight: 400; line-height: 1.8; }
  .st-matjari.is-live.has-dk .dk-hero__go .lv-btn { flex: 0 0 auto; min-width: 181px; min-height: 56px; padding-inline: 45px; border-radius: 4px; font-size: 16px; font-weight: 500; }
  .st-matjari.is-live.has-dk .dk-hero__go .lv-btn--ghost { display: none; }   /* oLog's hero has one button; the offers are in the menu */
  .st-matjari.is-live.has-dk .dk-hero__m, .st-matjari.is-live.has-dk .dk-hero__m.is-n2, .st-matjari.is-live.has-dk .dk-hero__m.is-n3 { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 540px; }
  .st-matjari.is-live.has-dk .dk-hero__m img { grid-row: auto; border-radius: 8px 60px 8px 8px; background: #F6F8FA; }
  .st-matjari.is-live.has-dk .dk-hero__m img + img { display: none; }

  .st-matjari.is-live.has-dk .dk-block { margin-block-start: 72px; }
  .st-matjari.is-live.has-dk .dk-block__h { flex-direction: column; align-items: center; gap: 8px; margin-block-end: 32px; text-align: center; }
  .st-matjari.is-live.has-dk .dk-block__h h2 { font-size: 36px; font-weight: 600; line-height: 44px; }
  .st-matjari.is-live.has-dk .dk-block__h a { padding: 10px 22px; border-radius: 4px; background: #F1F4FF; color: #2A4AD9; font-weight: 500; }
  .st-matjari.is-live.has-dk .dk-grid:not(.is-list) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
  .st-matjari.is-live.has-dk .dk-block > .dk-grid:not(.is-list) > .lv-card:nth-child(n+9), .st-matjari.is-live.has-dk .dk-block > .dk-grid:not(.is-list) > .lv-card:nth-child(5):last-child { display: none; }   /* whole rows of four */
  .st-matjari.is-live.has-dk, .st-matjari.is-live.has-dk .dk-main { background: #fff; }
  .st-matjari.is-live.has-dk .dk-grid:not(.is-list) .lv-card { width: auto; border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .st-matjari.is-live.has-dk .dk-grid:not(.is-list) .lv-card__img { aspect-ratio: 370 / 340; border-radius: 12px; overflow: hidden; background: #F6F8FA; }
  .st-matjari.is-live.has-dk .dk-grid:not(.is-list) .lv-card__n { min-height: 0; padding-inline: 0; font-size: 16px; font-weight: 500; line-height: 24px; }
  .st-matjari.is-live.has-dk .dk-grid:not(.is-list) .lv-card__p { padding-inline: 0; }
  .st-matjari.is-live.has-dk .lv-card__p strong { color: #6B7080; font-size: 15px; font-weight: 500; }
  .st-matjari.is-live.has-dk .lv-card__off { background: #EBCE3C; color: #1A2224; }

  .st-matjari.is-live.has-dk .dk-trust { gap: 24px; margin-block-start: 56px; }
  .st-matjari.is-live.has-dk .dk-trust li { border: 0; border-radius: 8px; background: #F6F8FA; }
  .st-matjari.is-live.has-dk .dk-trust .si { border-radius: 50%; background: #E6F8EA; color: #12822C; }

  .st-matjari.is-live.has-dk .dk-depts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
  .st-matjari.is-live.has-dk .dk-dept { padding: 0; border: 0; background: transparent; }
  .st-matjari.is-live.has-dk .dk-dept:hover { box-shadow: none; transform: none; }
  .st-matjari.is-live.has-dk .dk-depts:not(.dk-depts--big) .dk-dept span { width: 150px; height: 150px; }
  .st-matjari.is-live.has-dk .dk-dept b { font-size: 18px; font-weight: 500; }
  .st-matjari.is-live.has-dk .dk-depts--big .dk-dept span { border-radius: 12px; }

  .st-matjari.is-live.has-dk .lv-btn { border-radius: 4px; }

  /* ---------- oLog's grey title band over the shop, a product and the cart ---------- */
  .st-matjari.is-live.has-dk .dk-crumbs, .st-matjari.is-live.has-dk .dk-crumbs + .dk-h1 { background: #FAFAFA; box-shadow: 0 0 0 100vmax #FAFAFA; clip-path: inset(0 -100vmax); }
  .st-matjari.is-live.has-dk .dk-crumbs { padding-block: 40px 40px; font-size: 14px; color: #6B7080; }
  .st-matjari.is-live.has-dk .dk-crumbs:has(+ .dk-h1) { padding-block-end: 4px; }
  .st-matjari.is-live.has-dk .dk-crumbs + .dk-h1 { margin: 0; padding-block: 4px 44px; font-size: 32px; font-weight: 600; color: #2C303E; }

  /* ---------- the shop: a wide search with its blue button, the filters in a row, three large products a row ---------- */
  .st-matjari.is-live.has-dk .dk-list { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-block-start: 40px; }
  .st-matjari.is-live.has-dk .dk-side { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px 28px; padding: 0; border: 0; border-radius: 0; }
  .st-matjari.is-live.has-dk .dk-side h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .st-matjari.is-live.has-dk .dk-side .lv-tools__q { order: -2; flex: 1 1 calc(100% - 360px); height: 59px; padding-inline: 24px; border: 1.6px solid rgba(152, 155, 167, .5); border-radius: 4px; }
  .st-matjari.is-live.has-dk .dk-side__f { order: -1; flex: 0 0 auto; }
  .st-matjari.is-live.has-dk .dk-side__f .lv-btn { min-height: 59px; min-width: 156px; padding-inline: 32px; font-size: 16px; font-weight: 500; }
  .st-matjari.is-live.has-dk .dk-fset { margin: 0; padding: 0; border: 0; }
  .st-matjari.is-live.has-dk .dk-fset legend { margin-block-end: 8px; color: #6B7080; font-size: 12px; font-weight: 600; }
  .st-matjari.is-live.has-dk .dk-side__d { display: flex; flex-wrap: wrap; gap: 8px; }
  .st-matjari.is-live.has-dk .dk-side__d a { gap: 6px; padding: 6px 14px; border: 1px solid #EBEDF0; border-radius: 4px; }
  .st-matjari.is-live.has-dk .dk-side__d a[aria-current] { border-color: #335AFF; background: #335AFF; color: #fff; }
  .st-matjari.is-live.has-dk .dk-side__d a[aria-current] small { color: #fff; }
  .st-matjari.is-live.has-dk .dk-side .lv-range { display: flex; gap: 10px; }
  .st-matjari.is-live.has-dk .dk-side .lv-range input { width: 110px; border-radius: 4px; }
  .st-matjari.is-live.has-dk .dk-results .dk-h1 { font-size: 24px; font-weight: 600; }
  .st-matjari.is-live.has-dk .dk-results__tools select { border-radius: 4px; }
  .st-matjari.is-live.has-dk .dk-grid.dk-grid--4:not(.is-list) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
  .st-matjari.is-live.has-dk .dk-results .dk-grid:not(.is-list) .lv-card__img { border-radius: 4px; }
  .st-matjari.is-live.has-dk .dk-results .dk-grid:not(.is-list) .lv-card__n { font-size: 20px; font-weight: 600; line-height: 30px; }

  /* ---------- a product: oLog's calm title and price, square choices, one large blue button ---------- */
  .st-matjari.is-live.has-dk .dk-pd { margin-block-start: 40px; gap: 60px; }
  .st-matjari.is-live.has-dk .dk-gal__m { border-radius: 12px; background: #F6F8FA; }
  .st-matjari.is-live.has-dk .dk-gal__t img { border-radius: 4px; }
  .st-matjari.is-live.has-dk .dk-info p[role="heading"] { font-size: 24px; font-weight: 600; }
  .st-matjari.is-live.has-dk .dk-info__sec { color: #6B7080; font-weight: 500; }
  .st-matjari.is-live.has-dk .dk-price strong { color: #1A2224; font-size: 22px; font-weight: 600; }
  .st-matjari.is-live.has-dk .dk-price em { border-radius: 4px; background: #EBCE3C; color: #1A2224; }
  .st-matjari.is-live.has-dk .dk-opt h3 { font-size: 14px; font-weight: 600; }
  .st-matjari.is-live.has-dk .dk-opt__v button { min-width: 42px; min-height: 42px; border: 1px solid #EBEDF0; border-radius: 4px; }
  .st-matjari.is-live.has-dk .dk-opt__v button[aria-pressed="true"] { border-color: #1A2224; background: #1A2224; color: #fff; }
  .st-matjari.is-live.has-dk .dk-opt--c .dk-opt__v button.is-sw[aria-pressed="true"] { background: var(--sw); box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1A2224; }
  .st-matjari.is-live.has-dk .dk-qty { border: 1px solid #EBEDF0; border-radius: 4px; }
  .st-matjari.is-live.has-dk .dk-buy__add { min-height: 62px; border-radius: 4px; font-size: 16px; font-weight: 500; }
  .st-matjari.is-live.has-dk .dk-buy__w.lv-card__w { position: static; flex: 0 0 66px; width: 66px; height: auto; border-radius: 4px; background: #335AFF; color: #fff; box-shadow: none; }
  .st-matjari.is-live.has-dk .dk-buy__w.lv-card__w[aria-pressed="true"] { background: #1A2224; color: #fff; }
  .st-matjari.is-live.has-dk .dk-facts { grid-template-columns: 1fr 1fr; border: 0; }

  /* ---------- the cart: lines across the page, the summary in a thin-bordered card under them ---------- */
  .st-matjari.is-live.has-dk .dk-cart { grid-template-columns: 1fr 1fr; gap: 40px 48px; margin-block-start: 40px; }
  .st-matjari.is-live.has-dk .dk-cart__lines { grid-column: 1 / -1; padding: 0; border: 0; border-radius: 0; }
  .st-matjari.is-live.has-dk .dk-cart__lines .lv-mline { grid-template-columns: 175px minmax(0, 1fr) auto; padding-block: 0 24px; margin-block-end: 24px; border-block-end: 1px solid #EFEFEF; }
  .st-matjari.is-live.has-dk .dk-cart__lines .lv-mline img { width: 175px; height: 136px; border-radius: 4px; }
  .st-matjari.is-live.has-dk .dk-cart__sum { grid-column: 2; position: static; padding: 26px; border: 1.6px solid #EFEFEF; border-radius: 4px; }
  .st-matjari.is-live.has-dk .dk-cart__sum h2 { font-size: 24px; font-weight: 600; }
  .st-matjari.is-live.has-dk .dk-cart__total strong { color: #1A2224; font-size: 20px; }
  .st-matjari.is-live.has-dk .dk-cart__sum .lv-btn { min-height: 55px; font-size: 16px; font-weight: 500; }
  .st-matjari.is-live.has-dk .lv-cpn input { height: 48px; border: 1px solid rgba(152, 155, 167, .5); border-radius: 4px; }
  .st-matjari.is-live.has-dk .dk-foot { margin-block-start: 96px; border: 0; background: #1A2224; color: #fff; }
  .st-matjari.is-live.has-dk .dk-foot__g { padding-block: 70px 40px; }
  .st-matjari.is-live.has-dk .dk-foot h2 { color: #fff; font-size: 18px; font-weight: 600; }
  .st-matjari.is-live.has-dk .dk-foot .dk-logo b { color: #fff; }
  .st-matjari.is-live.has-dk .dk-foot nav a, .st-matjari.is-live.has-dk .dk-foot__about p, .st-matjari.is-live.has-dk .dk-foot .dk-foot__by, .st-matjari.is-live.has-dk .dk-foot .dk-mut { color: #A7ABB8; font-weight: 400; }
  .st-matjari.is-live.has-dk .dk-foot nav a:hover { color: #fff; }
}

/* ---------- DEC-465: oLog's checkout in steps — text tabs, thin boxes, a bordered summary ---------- */
.st-matjari .co-tabs { display: flex; gap: 1.800rem; margin: 1.200rem 1.600rem 0; padding: 0; overflow-x: auto; border-bottom: 1px solid var(--line); list-style: none; font-size: 1.300rem; font-weight: 500; color: var(--mut); white-space: nowrap; }
.st-matjari .co-tabs li { padding-block: .800rem; }
.st-matjari .co-tabs a { color: inherit; text-decoration: none; }
.st-matjari .co-tabs li.is-done { color: #335AFF; }
.st-matjari .co-tabs li.is-now { color: #1A2224; font-weight: 700; box-shadow: inset 0 -2px 0 #335AFF; }
.st-matjari .co-step .lv-co__h:focus { outline: none; }
.st-matjari .co-step__nav { display: flex; gap: 1rem; margin: 1.600rem 1.600rem 0; }
.st-matjari .co-step__nav > .co-step__next { flex: 1; width: auto; height: 4.600rem; margin: 0; }
.st-matjari .co-step__back { flex: 0 0 auto; height: 4.600rem; padding-inline: 2rem; border: 1px solid #D9DCE3; border-radius: .4rem; background: #fff; color: #1A2224; font: inherit; font-weight: 600; cursor: pointer; }
.st-matjari .co-sum { margin: 2.200rem 1.600rem 0; padding-block: .200rem 1.200rem; border: 1.6px solid #EFEFEF; border-radius: .4rem; }
.st-matjari .lv-co .f-field { border: 1px solid #D9DCE3; border-radius: .4rem; background: #fff; }
.st-matjari .lv-co .f-field:focus-within { border-color: #335AFF; }
.st-matjari .lv-co .f-radio { border: 1px solid #EBEDF0; border-radius: .4rem; background: #fff; }
.st-matjari .lv-co .f-radio.is-on { border-color: #335AFF; }
.st-matjari .lv-co .f-coupon button { border-radius: .4rem; background: #335AFF; color: #fff; }
.st-matjari .lv-co__go.f-btn { background: #335AFF; color: #fff; border-radius: .4rem; }
@media (min-width: 768px) {
  .st-matjari.has-dk .co-sum__lines { display: none; }   /* the computer shows the order's lines beside the form */
  .st-matjari.has-dk .dk-cosum { border: 1.6px solid #EFEFEF; border-radius: 4px; box-shadow: none; }
}
@media (min-width: 1100px) {
  body.st-matjari.has-dk.st-s-checkout { grid-template-columns: minmax(0, 1fr) minmax(0, 560px) 380px minmax(0, 1fr); column-gap: 48px; }
  body.st-matjari.has-dk.st-s-checkout > .st-page { border-radius: 0; box-shadow: none; }
}

.st-matjari .f-bar, .st-matjari .f-bar .f-ic, .st-matjari .f-bar__t { color: #1A2224; }   /* a white bar with dark words on every page */

/* ---------- DEC-465: the order's page — thin cards, a soft status line, blue progress dots ---------- */
.st-matjari .so { --so-r: 4px; --so-line: #EFEFEF; }
.st-matjari .so .panel { border-width: 1.6px; }
.st-matjari .so .order-status__now:not(.is-cancelled) { background: #F1F4FF; color: #2A4AD9; }
.st-matjari .so .order-steps li.is-done span, .st-matjari .so .order-steps li.is-current span { border-color: #335AFF; background: #335AFF; color: #fff; }
.st-matjari .so-find input, .st-matjari .so-find button { border-radius: 4px; }
