/* STORE_PAGES_V2
   Shared, evidence-led store roots and intent pages. */
.store-page-body {
  --store-accent: #08785d;
  --store-accent-soft: #eaf6f1;
  --store-accent-ink: #073f34;
  background: #f5f8f7;
}

.store-page-body.brand-noon {
  --store-accent: #c8a900;
  --store-accent-soft: #fff9c9;
  --store-accent-ink: #302800;
}

.store-page-body.brand-carrefour {
  --store-accent: #0b62a6;
  --store-accent-soft: #eef6fd;
  --store-accent-ink: #073d68;
}

.store-page-body.brand-sharaf-dg {
  --store-accent: #168447;
  --store-accent-soft: #edf8f1;
  --store-accent-ink: #0d4d2b;
}

.store-page-body.brand-careem {
  --store-accent: #008d68;
  --store-accent-soft: #e9f8f3;
  --store-accent-ink: #00523d;
}

.store-page-body.brand-jarir {
  --store-accent: #ce2535;
  --store-accent-soft: #fff0f2;
  --store-accent-ink: #76131d;
}

.store-page-body.brand-extra {
  --store-accent: #144b91;
  --store-accent-soft: #eef4fc;
  --store-accent-ink: #0b2d58;
}

.store-skip-link {
  position: fixed;
  z-index: 1000;
  top: -100px;
  left: 16px;
  border-radius: 6px;
  background: #102c32;
  color: #fff;
  font-weight: 850;
  padding: 11px 15px;
}

.store-skip-link:focus {
  top: 12px;
}

html[dir="rtl"] .store-skip-link {
  right: 16px;
  left: auto;
}

.store-page {
  width: min(1120px, calc(100% - 40px));
  padding-top: 30px;
  padding-bottom: 70px;
}

.store-page .breadcrumbs {
  margin-bottom: 16px;
  color: #5f6f73;
  font-size: 0.9rem;
}

.store-page .breadcrumbs a {
  color: var(--store-accent-ink);
  font-weight: 750;
}

.store-page .breadcrumb-separator {
  display: inline-block;
  margin: 0 0.4em;
  color: #93a19f;
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.35fr);
  overflow: hidden;
  border: 1px solid rgba(16, 44, 50, 0.13);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(29, 37, 40, 0.06);
}

.store-logo-panel {
  display: grid;
  min-height: 250px;
  place-items: center;
  background:
    linear-gradient(145deg, var(--store-accent-soft), #fff 78%);
  padding: 34px;
}

.store-logo-panel img {
  width: min(190px, 78%);
  height: 82px;
  object-fit: contain;
}

.store-hero-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 38px 42px;
}

.store-eyebrow {
  margin: 0;
  color: var(--store-accent-ink);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.store-hero h1 {
  margin: 0;
  color: #102c32;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.05;
}

.store-hero-copy > p:last-child {
  max-width: 650px;
  margin: 0;
  color: #44565a;
  font-size: 1.04rem;
  line-height: 1.65;
}

.store-panel {
  margin-top: 18px;
  border: 1px solid rgba(16, 44, 50, 0.12);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(29, 37, 40, 0.04);
  padding: 24px;
}

.store-section-head {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
}

.store-section-head h2 {
  margin: 0;
  color: #102c32;
  font-size: clamp(1.4rem, 2.4vw, 1.68rem);
  line-height: 1.2;
}

.store-section-head > p:not(.store-eyebrow) {
  max-width: 800px;
  margin: 0;
  color: #536368;
  line-height: 1.65;
}

.store-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.store-route-card {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto auto 1fr auto;
  gap: 9px;
  border: 1px solid #dce7e3;
  border-radius: 9px;
  background: #fbfdfc;
  padding: 18px;
}

.store-route-card .route-label {
  color: var(--store-accent-ink);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.store-route-card h3 {
  margin: 0;
  color: #102c32;
  font-size: 1.14rem;
  line-height: 1.25;
}

.store-route-card p {
  margin: 0;
  color: #536368;
  line-height: 1.58;
}

.store-route-card a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-self: start;
  margin-top: 4px;
  color: var(--store-accent-ink);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.store-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.store-guide-card {
  border: 1px solid #dfe9e5;
  border-radius: 9px;
  background: #fbfdfc;
  padding: 17px;
}

.store-guide-card .guide-label {
  display: block;
  margin-bottom: 7px;
  color: var(--store-accent-ink);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.store-guide-card h3 {
  margin: 0 0 8px;
  color: #102c32;
  font-size: 1.04rem;
  line-height: 1.28;
}

.store-guide-card p {
  margin: 0;
  color: #536368;
  line-height: 1.6;
}

.store-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: store-step;
}

.store-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
  border: 1px solid #dfe9e5;
  border-radius: 9px;
  background: #fbfdfc;
  padding: 15px;
  counter-increment: store-step;
}

.store-steps li::before {
  display: grid;
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--store-accent);
  color: #fff;
  content: counter(store-step);
  font-weight: 950;
}

.brand-noon .store-steps li::before {
  color: #191500;
}

.store-steps strong,
.store-steps span {
  grid-column: 2;
}

.store-steps strong {
  color: #173338;
}

.store-steps span {
  color: #536368;
  line-height: 1.55;
}

.store-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.store-editorial-copy p {
  margin: 0 0 13px;
  color: #43565a;
  line-height: 1.72;
}

.store-editorial-copy p:last-child {
  margin-bottom: 0;
}

.store-checklist {
  border: 1px solid color-mix(in srgb, var(--store-accent) 32%, #dfe9e5);
  border-radius: 9px;
  background: var(--store-accent-soft);
  padding: 18px;
}

.store-checklist h3 {
  margin: 0 0 10px;
  color: var(--store-accent-ink);
  font-size: 1.02rem;
}

.store-checklist ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: #405357;
}

.store-faq {
  border-top: 1px solid #e4ece9;
}

.store-faq details {
  border-bottom: 1px solid #e4ece9;
}

.store-faq summary {
  cursor: pointer;
  color: #173338;
  font-weight: 850;
  padding: 16px 0;
}

.store-faq details p {
  max-width: 800px;
  margin: 0;
  color: #536368;
  line-height: 1.65;
  padding: 0 0 17px;
}

.store-related {
  display: grid;
  gap: 10px;
  margin-top: 21px;
  border-top: 1px solid #dfe9e5;
  padding-top: 19px;
}

.store-related > strong {
  color: #536368;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.store-related > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-related a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid #d3e2dd;
  border-radius: 7px;
  background: #fff;
  color: var(--store-accent-ink);
  font-weight: 850;
  padding: 7px 12px;
}

.store-related a:hover {
  border-color: var(--store-accent);
}

.store-source-note {
  margin-top: 16px;
  color: #657579;
  font-size: 0.87rem;
  line-height: 1.55;
}

.store-source-note a {
  color: var(--store-accent-ink);
  font-weight: 800;
}

.store-page a:focus-visible,
.store-page summary:focus-visible {
  outline: 3px solid var(--store-accent);
  outline-offset: 3px;
}

html[dir="rtl"] .store-page-body {
  font-family: Tahoma, Arial, sans-serif;
  text-align: right;
}

html[dir="rtl"] .store-page-body .brand {
  direction: ltr;
}

html[dir="rtl"] .store-eyebrow,
html[dir="rtl"] .route-label,
html[dir="rtl"] .guide-label,
html[dir="rtl"] .store-related > strong {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .store-hero h1,
html[dir="rtl"] .store-section-head h2,
html[dir="rtl"] .store-route-card h3,
html[dir="rtl"] .store-guide-card h3 {
  line-height: 1.42;
}

html[dir="rtl"] .store-hero-copy > p:last-child,
html[dir="rtl"] .store-section-head > p:not(.store-eyebrow),
html[dir="rtl"] .store-route-card p,
html[dir="rtl"] .store-guide-card p,
html[dir="rtl"] .store-faq details p,
html[dir="rtl"] .store-editorial-copy p {
  line-height: 1.9;
}

html[dir="rtl"] .store-checklist ul {
  padding-right: 20px;
  padding-left: 0;
}

html[dir="rtl"] .store-route-card a {
  justify-self: start;
}

@media (max-width: 900px) {
  .store-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .store-page {
    width: calc(100% - 28px);
    padding-top: 22px;
  }

  .store-page,
  .store-page * {
    min-width: 0;
  }

  .store-hero,
  .store-route-grid,
  .store-guide-grid,
  .store-editorial {
    grid-template-columns: 1fr;
  }

  .store-logo-panel {
    min-height: 145px;
    padding: 25px;
  }

  .store-logo-panel img {
    height: 66px;
  }

  .store-hero-copy {
    padding: 25px;
  }

  .store-hero h1 {
    overflow-wrap: anywhere;
    font-size: 2rem;
  }

  .store-panel {
    padding: 19px;
  }

  .store-route-card a,
  .store-related a {
    min-height: 44px;
  }
}

@media (max-width: 680px) {
  body.store-page-body .nav {
    gap: 12px;
  }

  body.store-page-body .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    overflow: visible;
  }

  body.store-page-body .nav-links a {
    display: grid;
    min-width: 0;
    min-height: 44px;
    place-items: center;
    padding: 5px 7px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 360px) {
  body.store-page-body .brand-word {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-page-body *,
  .store-page-body *::before,
  .store-page-body *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* STORE_NAV_TARGETS_V2 */
body.store-page-body .nav-links a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
}


.store-route-card:only-child {
  grid-column: 1 / -1;
}

/* PM_STORE_SHELL_V1_START */
body.store-page-body :is(.brand, .nav-links a, .footer a) {
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
}

body.store-page-body :is(.brand, .nav-links a, .footer a) {
  display: inline-flex;
  align-items: center;
}
/* PM_STORE_SHELL_V1_END */
