* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .7rem 1.2rem; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; cursor: pointer; }
.button:hover { opacity: .78; }
.eyebrow { display: block; margin-bottom: .85rem; color: var(--quiet); font-size: .75rem; letter-spacing: .13em; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 10ch; margin-bottom: 1rem; font-size: clamp(2.5rem, 5vw, 5.7rem); line-height: 1.05; letter-spacing: -.055em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3.5rem); line-height: 1.1; letter-spacing: -.04em; }
h3 { font-size: 1.14rem; margin-bottom: .45rem; }
.media-slot { position: relative; display: grid; place-items: center; min-height: 380px; padding: 2rem; background: #dededb; border: 1px solid #bcbcb7; text-align: center; color: var(--quiet); }
.media-slot::before { content: ""; position: absolute; inset: 1.2rem; border: 1px dashed #999994; }
.section { padding: clamp(4rem, 8vw, 7rem) 5vw; }
.section--mist { background: var(--mist); }
.section__head { width: min(100%, 1150px); display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin: 0 auto 2.4rem; }
.section__head p { max-width: 34rem; margin: 0; color: var(--quiet); }
.grid { width: min(100%, 1150px); margin: 0 auto; display: grid; gap: 1rem; }
.product-card { border: 1px solid var(--line); background: #fff; }
.product-card__body { padding: 1.2rem; }
.text-link { display: inline-block; margin-top: 1rem; font-size: .88rem; font-weight: 700; border-bottom: 1px solid var(--ink); }
.story { width: min(100%, 1150px); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin: 0 auto; }
.products { grid-template-columns: repeat(3, 1fr); }
.product-card__image { min-height: 240px; background: #e4e4e0; display: grid; place-items: center; color: var(--quiet); font-size: .82rem; }
.product-card__meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; color: var(--quiet); }
.page-hero { padding: 5rem 5vw 3.5rem; background: var(--mist); border-bottom: 1px solid var(--line); }
.page-hero__inner { width: min(100%, 1150px); margin: 0 auto; }
.page-hero h1 { max-width: none; }
.page-hero p { max-width: 48rem; color: var(--quiet); }
.category-tabs { width: min(100%, 1150px); margin: 0 auto 2rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.tab { padding: .55rem .85rem; border: 1px solid var(--line); font-size: .86rem; }
.tab--active { border-color: var(--ink); font-weight: 700; }
.detail { width: min(100%, 1150px); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; }
.detail .media-slot { min-height: 520px; }
.detail__price { font-size: 1.2rem; font-weight: 700; }
.detail__facts { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail__facts li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 700; }
input, textarea, select { width: 100%; padding: .8rem; border: 1px solid var(--line); background: #fff; font: inherit; }
textarea { min-height: 120px; resize: vertical; }
.site-footer { padding: 3.5rem 5vw 1.6rem; border-top: 1px solid var(--line); }
.footer-grid { width: min(100%, 1150px); margin: 0 auto; display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 1.5rem; }
.footer-grid a { color: var(--quiet); font-size: .88rem; display: block; margin-bottom: .4rem; }
.legal { width: min(100%, 1150px); margin: 2.5rem auto 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--quiet); font-size: .76rem; }
@media (max-width: 800px) {
  .story, .detail { grid-template-columns: 1fr; gap: 2rem; }
  .media-slot { min-height: 300px; }
  .products { grid-template-columns: 1fr; }
  .section__head { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* هوية بيرلا الرسمية: الكحلي هو السطح الرئيسي، مع العاجي للقراءة والذهب للتفاصيل. */
:root { --ink: #1c1c1c; --paper: #ffffff; --mist: #f4f4f2; --line: #d7d7d3; --quiet: #6d6d68; --perla-navy: #0F2747; --perla-orange: #FF9E1B; --perla-gold: #C8A45D; --perla-ivory: #F6EFE5; }

/* نهاية ملف التنسيق: أولوية الصفحات الداخلية. */
body:not(.maison) .page-hero, body:not(.maison) .section--mist { background: var(--perla-ivory) !important; }

/* تصحيحات ختامية للصفحات الداخلية، توضع في آخر الملف لتعلو الطبقات الأقدم. */
html body:not(.maison) .product-card__image { background-color: var(--perla-navy); background-position: center; background-size: cover; }
html body:not(.maison) .product-photo--1 { background-image: url("assets/perla-real-box-02.jpeg") !important; }
html body:not(.maison) .product-photo--2 { background-image: url("assets/perla-real-box-04.jpeg") !important; }
html body:not(.maison) .product-photo--3 { background-image: url("assets/perla-real-box-03.jpeg") !important; }
html body:not(.maison) .product-photo--4 { background-image: url("assets/perla-real-box-06.jpeg") !important; }
html body:not(.maison) .product-photo--5 { background-image: url("assets/perla-real-box-01.jpeg") !important; }
html body:not(.maison) .product-photo--6 { background-image: url("assets/perla-real-box-05.jpeg") !important; }
html body:not(.maison) .product-detail-image { background: var(--perla-navy) url("assets/perla-real-box-02.jpeg") center / cover !important; color: transparent; }
html body:not(.maison) .product-detail-image::before { display: none; }

/* تحسينات الواجهة التجارية: صور حقيقية، طلب مباشر، وجوال بلا قصّ أفقي. */
html, body { max-width: 100%; overflow-x: clip; }
body.maison h1, body.maison h2, body.maison h3 { font-family: Alexandria, Arial, sans-serif; letter-spacing: 0; }
.lang-toggle { min-width: 42px; min-height: 42px; border: 1px solid rgba(200,164,93,.72); background: transparent; color: var(--perla-ivory); font: 600 .72rem/1 Alexandria, Arial, sans-serif; letter-spacing: .06em; cursor: pointer; }
.editorial-hero { display: grid; align-items: end; }
.editorial-hero__caption { grid-template-columns: minmax(0, 680px) auto; width: 100%; }
.editorial-hero__caption h1 { max-width: 14ch; margin: 0 0 .8rem; color: var(--perla-ivory); font-size: clamp(2.3rem, 5.4vw, 5.9rem); line-height: 1.15; font-weight: 500; }
.editorial-hero__caption p { max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.button--orange { border-color: var(--perla-orange); background: var(--perla-orange); color: var(--perla-navy); }
.hero-actions .underlined { color: var(--perla-ivory); white-space: nowrap; }
.universe h2 { margin: 0 0 clamp(2.1rem, 5vw, 4rem); font-size: clamp(2rem, 4.5vw, 4.7rem); font-weight: 400; line-height: 1.25; }
.collection-grid { width: min(100%, 1300px); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(200,164,93,.42); }
.collection-tile { position: relative; isolation: isolate; min-height: clamp(250px, 34vw, 480px); display: flex; align-items: end; padding: 1.2rem; overflow: hidden; color: var(--perla-ivory); background-position: center; background-size: cover; }
.collection-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(7,25,47,.88)); transition: background .25s ease; }
.collection-tile:hover::after { background: linear-gradient(180deg, rgba(7,25,47,.18), rgba(7,25,47,.92)); }
.collection-tile span { font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 600; }
.collection-tile--chocolate { background-image: url("assets/perla-real-box-02.jpeg"); }
.collection-tile--pastry { background-image: url("assets/perla-real-box-03.jpeg"); }
.collection-tile--gifts { background-image: url("assets/perla-real-box-01.jpeg"); }
.best-sellers { padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem); background: var(--perla-ivory); color: var(--perla-navy); }
.best-sellers__head { width: min(100%, 1300px); margin: 0 auto 2.1rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.best-sellers h2 { margin: 0; font-size: clamp(2rem, 4vw, 4.3rem); font-weight: 400; }
.best-sellers .underlined { color: var(--perla-navy); white-space: nowrap; }
.product-strip { width: min(100%, 1300px); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.product-preview { min-width: 0; background: #fff; border: 1px solid rgba(15,39,71,.13); }
.product-preview img { display: block; width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.product-preview > div { padding: 1.1rem; }
.product-preview h3 { margin: 0 0 .35rem; font-size: 1rem; font-weight: 600; }
.product-preview p { margin: 0 0 1rem; color: #40516a; font-size: .82rem; }
.product-preview a { display: inline-block; color: var(--perla-navy); border-bottom: 1px solid var(--perla-gold); font-size: .82rem; font-weight: 700; padding-bottom: .1rem; }
.mobile-order { display: none; }
@media (max-width: 800px) {
  .lang-toggle { width: 38px; min-width: 38px; height: 38px; min-height: 38px; }
  .editorial-hero__caption { grid-template-columns: 1fr; }
  .editorial-hero__caption h1 { max-width: 12ch; font-size: clamp(2.15rem, 10vw, 3.35rem); }
  .hero-actions { align-items: center; }
  .hero-actions .button { min-width: 130px; }
  .universe h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-tile { min-height: 220px; padding: 1rem; }
  .editorial-feature { min-width: 0; }
  .feature-copy { min-width: 0; }
  .feature-copy h2, .addresses h2 { overflow-wrap: anywhere; }
  .best-sellers { padding: 3.5rem 1rem; }
  .best-sellers__head { align-items: end; }
  .product-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; }
  .product-preview { flex: 0 0 min(76vw, 300px); scroll-snap-align: start; }
  .footer-grid { padding-inline: 1rem !important; }
  .mobile-order { position: fixed; z-index: 40; inset-inline: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); display: grid; place-items: center; min-height: 52px; background: var(--perla-orange); color: var(--perla-navy); box-shadow: 0 10px 28px rgba(0,0,0,.28); font-weight: 700; }
}
@media (max-width: 370px) {
  .lang-toggle { display: none; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-tile { min-height: 200px; }
}

/* هيدر ثابت للصفحات الداخلية: علامة بيرلا تبقى حاضرة مثل الرئيسية. */
.editorial-hero { background: var(--perla-navy) !important; }
.subpage-header { position: sticky; top: 0; z-index: 30; background: var(--perla-navy); color: var(--perla-ivory); border-bottom: 1px solid rgba(200,164,93,.42); font-family: Alexandria, Arial, sans-serif; }
.subpage-service { min-height: 30px; display: grid; place-items: center; padding: .3rem 1rem; border-bottom: 1px solid rgba(200,164,93,.32); background: #0b1e38; color: var(--perla-ivory); font-size: .7rem; text-align: center; }
.subpage-head { width: min(100%, 1340px); min-height: 82px; margin: 0 auto; padding: .7rem clamp(1rem,4vw,4rem); display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 1.2rem; }
.subpage-logo { grid-column: 2; display: grid; place-items: center; }
.subpage-logo img { display: block; width: min(205px, 22vw); height: auto; }
.subpage-nav { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: clamp(.85rem,1.7vw,1.85rem); font-size: .82rem; white-space: nowrap; }
.subpage-nav a { color: var(--perla-ivory); border-bottom: 1px solid transparent; padding: .35rem 0; }
.subpage-nav a:hover, .subpage-nav a[aria-current="page"] { color: var(--perla-orange); border-color: var(--perla-orange); }
.subpage-actions { grid-column: 3; grid-row: 1; display: flex; justify-content: flex-end; align-items: center; gap: .75rem; }
.subpage-search { display: inline-grid; place-items: center; width: 42px; height: 42px; color: var(--perla-ivory); }
.subpage-search svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; }
.subpage-order { display: inline-grid; place-items: center; min-height: 46px; padding: .65rem 1.25rem; background: var(--perla-orange); color: var(--perla-navy); font-weight: 700; font-size: .86rem; white-space: nowrap; }
.subpage-header + main .page-hero { padding-top: clamp(3.5rem,7vw,6rem); }
.branch-showcase { width: min(100%, 1150px); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.branch-card { overflow: hidden; background: #fff; border: 1px solid rgba(15,39,71,.12); color: var(--perla-navy); }
.branch-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.branch-card__body { padding: 1.35rem; }
.branch-card__eyebrow { display: block; margin-bottom: .55rem; color: #647089; font-size: .74rem; }
.branch-card h3 { margin-bottom: .55rem; font-size: 1.38rem; }
.branch-card p { margin-bottom: .9rem; color: #40516a; font-size: .9rem; }
.branch-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .45rem .8rem; padding-top: .9rem; border-top: 1px solid rgba(15,39,71,.12); font-size: .82rem; }
.branch-card dt { color: #647089; }
.branch-card dd { margin: 0; font-weight: 600; }
.demo-note { margin: 1rem 0 0; color: #6c5c38; font-size: .78rem; }
@media (max-width: 900px) {
  .subpage-head { min-height: 68px; padding: .55rem 1rem; grid-template-columns: auto minmax(0,1fr) auto; }
  .subpage-logo { grid-column: 2; }
  .subpage-logo img { width: min(160px, 42vw); }
  .subpage-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; flex-wrap: wrap; gap: .35rem 1rem; padding: .45rem 0 .15rem; font-size: .7rem; white-space: normal; }
  .subpage-actions { grid-column: 3; grid-row: 1; }
  .subpage-search { display: none; }
  .subpage-order { min-height: 38px; padding: .55rem .75rem; font-size: .75rem; }
  .branch-showcase { grid-template-columns: 1fr; }
}

/* توحيد الصفحات الداخلية مع عالم الرئيسية. */
body:not(.maison) { font-family: Alexandria, Arial, sans-serif; }
body:not(.maison) h1, body:not(.maison) h2, body:not(.maison) h3 { font-family: Alexandria, Arial, sans-serif; letter-spacing: 0; }
body:not(.maison) .page-hero { border-color: rgba(200,164,93,.45); }
body:not(.maison) .page-hero h1 { color: var(--perla-navy); }
body:not(.maison) .page-hero p { color: #40516a; }
body:not(.maison) .section { background: #fff; }
.category-tabs .tab { appearance: none; background: #fff; color: var(--perla-navy); cursor: pointer; font-family: inherit; }
.category-tabs .tab:hover, .category-tabs .tab--active { border-color: var(--perla-orange); background: var(--perla-orange); color: var(--perla-navy); }
.product-card[hidden] { display: none; }
body:not(.maison) .product-photo--1 { background-image: url("assets/perla-real-box-02.jpeg") !important; }
body:not(.maison) .product-photo--2 { background-image: url("assets/perla-real-box-04.jpeg") !important; }
body:not(.maison) .product-photo--3 { background-image: url("assets/perla-real-box-03.jpeg") !important; }
body:not(.maison) .product-photo--4 { background-image: url("assets/perla-real-box-06.jpeg") !important; }
body:not(.maison) .product-photo--5 { background-image: url("assets/perla-real-box-01.jpeg") !important; }
body:not(.maison) .product-photo--6 { background-image: url("assets/perla-real-box-05.jpeg") !important; }
body:not(.maison) .product-detail-image { background: var(--perla-navy) url("assets/perla-real-box-02.jpeg") center / cover !important; color: transparent; }
body:not(.maison) .product-detail-image::before { display: none; }
.site-footer--full { padding: 0; background: #091c34 !important; color: var(--perla-ivory) !important; border-color: rgba(200,164,93,.42) !important; }
.site-footer--full .footer-grid { padding: 3rem 5vw; }
.site-footer--full .footer-grid h3 { color: var(--perla-gold); }
.site-footer--full .footer-grid a { color: var(--perla-ivory) !important; }
.site-footer--full .subpage-logo { justify-items: start; }
.site-footer--full .subpage-logo img { width: min(190px, 48vw); }
.site-footer--full .legal { color: #dce4ed !important; border-color: rgba(200,164,93,.36) !important; }
@media (max-width: 800px) {
  .category-tabs { padding-inline: 0; }
  .site-footer--full .footer-grid { padding: 2.4rem 1rem; }
}

/* الفيديو الافتتاحي: طبقة كحلي تضمن وضوح النص وتُبقي الصورة الثابتة بديلاً فورياً. */
.editorial-hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.editorial-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(15,39,71,.84) 0%, rgba(15,39,71,.47) 55%, rgba(15,39,71,.30) 100%); }
@media (max-width: 800px) {
  .editorial-hero__video { object-position: 58% center; }
  .editorial-hero::after { background: linear-gradient(180deg, rgba(15,39,71,.34), rgba(15,39,71,.78)); }
}

/* صور بيرلا الحقيقية: تستخدم للعرض التجاري بدلاً من صور أو منتجات مولّدة. */
body.maison .feature-media { background: #3a2622 url("assets/perla-real-box-01.jpeg") center / cover no-repeat; }
html body:not(.maison) .product-card__image { background-image: url("assets/perla-real-box-02.jpeg"); }
html body:not(.maison) .product-card:nth-child(2) .product-card__image { background-image: url("assets/perla-real-box-03.jpeg"); }
html body:not(.maison) .product-card:nth-child(3) .product-card__image { background-image: url("assets/perla-real-box-05.jpeg"); }
html body:not(.maison) .detail .media-slot { background: #243f62 url("assets/perla-real-box-06.jpeg") center / cover; color: transparent; }
html body:not(.maison) .detail .media-slot::before { display: none; }
body:not(.maison) { background: var(--perla-ivory); color: var(--perla-navy); }
body:not(.maison) .button { background: var(--perla-orange); color: var(--perla-navy); border-color: var(--perla-orange); }
body:not(.maison) .product-card__image { background: #243f62 url("assets/perla-menu-boxes-07.webp") center / cover; color: transparent; }
body:not(.maison) .product-card:nth-child(2) .product-card__image { background-image: url("assets/perla-menu-chocolate-10.webp"); }
body:not(.maison) .product-card:nth-child(3) .product-card__image { background-image: url("assets/perla-menu-cakes-12.webp"); }
body:not(.maison) .site-footer { background: var(--perla-navy); color: var(--perla-ivory); border-color: rgba(200,164,93,.46); }
body:not(.maison) .site-footer * { color: var(--perla-ivory); }
@media (max-width: 430px) {
  .footer-grid, .form-grid { grid-template-columns: 1fr; }
}

/* الصفحة الرئيسية التحريرية: هيكل مستوحى من منطق «الدار + التشكيلات»، لا من نسخة الموقع المرجعي. */
.maison { background: #fff; color: #171717; }
.editorial-hero { isolation: isolate; overflow: hidden; position: relative; }
.editorial-hero__caption { z-index: 1; position: absolute; inset-inline: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.editorial-hero__caption p { margin: 0; font-size: .88rem; }
.editorial-hero__caption a, .underlined { border-bottom: 1px solid var(--ink); font-weight: 700; font-size: .86rem; padding-bottom: .15rem; }
.universe { margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) 5vw; text-align: center; }
.editorial-feature { width: min(100%, 1320px); margin: 0 auto; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; }
.feature-media { display: grid; place-items: center; padding: 2rem; position: relative; color: var(--quiet); text-align: center; font-size: .82rem; }
.feature-media::before { content: ""; position: absolute; inset: 1.75rem; border: 1px dashed #9e9e99; }
.feature-media span { position: relative; padding: .45rem .75rem; background: #dcdcd8; }
.feature-copy { padding: clamp(2rem, 6vw, 6rem); }
.feature-copy h2, .addresses h2 { font-family: Georgia, serif; font-weight: 400; }
.addresses { width: min(100%, 1150px); margin: 0 auto; padding: clamp(3rem, 7vw, 6.5rem) 5vw; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; border-top: 1px solid var(--line); }
.addresses p { max-width: 35rem; }
.addresses__cards article { display: grid; gap: .3rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.addresses__cards span { font-size: .9rem; }
@media (max-width: 800px) {
  .editorial-feature, .addresses { grid-template-columns: 1fr; }
}

/* طبقة هوية نهائية: توضع بعد الهيكل التحريري حتى يبقى الكحلي هو الخلفية الفعلية. */
body.maison { background: var(--perla-navy); color: var(--perla-ivory); font-family: Alexandria, Tajawal, Arial, sans-serif; }
.editorial-hero { min-height: min(74vh, 760px); }
.editorial-hero__caption { color: var(--perla-ivory); background: linear-gradient(90deg, rgba(15,39,71,.95), rgba(15,39,71,.55), transparent); padding: 2rem 5vw; }
.editorial-hero__caption p { color: var(--perla-gold); }
.editorial-hero__caption a, .underlined { color: inherit; border-color: var(--perla-gold); }
.universe { width: 100%; max-width: none; background: var(--perla-navy); }
.universe .eyebrow, .feature-copy .eyebrow, .addresses .eyebrow { color: var(--perla-gold); }
.editorial-feature { background: var(--perla-ivory); color: var(--perla-navy); }
.feature-media { min-height: 610px; background: #32201d url("assets/perla-menu-chocolate-10.webp") center / cover no-repeat; }
.feature-media::before, .feature-media span { display: none; }
.feature-copy p { color: #40516a; }
.feature-copy .underlined { color: var(--perla-navy); }
.addresses { border-color: rgba(246,239,229,.28); }
.addresses h2 { color: var(--perla-ivory); }
.addresses p, .addresses__cards span { color: #cdd5e1; }
.addresses__cards { border-top: 1px solid var(--line); border-color: rgba(246,239,229,.28); }
.addresses__cards article { border-color: rgba(246,239,229,.28); }

/* Home refinements (Ahmed, 6 Oct). Hero text: the caption shade sits behind the text in either
   direction, and the eyebrow is Perla gold, not grey on navy. */
.editorial-hero__caption .eyebrow { color: var(--perla-gold); }
.editorial-hero__caption h1, .editorial-hero__caption p { text-shadow: 0 1px 14px rgba(7,25,47,.55); }
[dir="rtl"] .editorial-hero__caption { background: linear-gradient(270deg, rgba(15,39,71,.95), rgba(15,39,71,.6) 55%, transparent); }
@media (max-width: 800px) {
  .editorial-hero__caption, [dir="rtl"] .editorial-hero__caption { background: linear-gradient(180deg, transparent, rgba(15,39,71,.92) 35%); }
  /* the sticky order bar appears once the hero (which has its own button) is scrolled past */
  .mobile-order { visibility: hidden; opacity: 0; transform: translateY(150%); transition: opacity .25s, transform .25s, visibility 0s .25s; }
  .mobile-order.is-shown { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  body.maison { padding-bottom: calc(52px + 2rem); }
}
@media (prefers-reduced-motion: reduce) { .mobile-order, .mobile-order.is-shown { transition: none; } }

/* Branches: the two real storefronts in identical square frames. */
.addresses__branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-self: center; }
.addresses__branch { display: grid; gap: .35rem; color: var(--perla-ivory); }
.addresses__branch img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: .6rem; border: 1px solid rgba(200,164,93,.35); }
.addresses__branch img[src*="ad-dilam"] { object-position: 50% 45%; }
.addresses__branch img[src*="al-kharj"] { object-position: 50% 30%; }
.addresses__branch b { font-size: 1.1rem; }
.addresses__branch span { color: #cdd5e1; font-size: .9rem; }
.addresses__branch:hover b { color: var(--perla-orange); }
