/* Home page sections — builds on atelier_base.css */

/* ── 1. Hero ──────────────────────────────────────────────────────── */
.az-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); position: relative; z-index: 2;
  /* clip sideways only (for the glow): the search dropdown must be able to hang below the hero, over the ribbon */
  overflow-x: hidden; overflow-x: clip; overflow-y: visible; }
.az-hero::before {
  content: ""; position: absolute; inset-block-start: -20%; inset-inline-end: -12%; width: 55vw; height: 55vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--az-gold) 22%, transparent), transparent 70%); pointer-events: none;
}
/* The scroll animation turns both columns into layers: keep the text column
   (it holds the search dropdown) above the photo column on stacked layouts. */
.az-hero__copy { position: relative; z-index: 5; }
.az-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.az-hero__title { font-family: var(--az-serif); font-weight: 500; font-size: clamp(2.9rem, 6.6vw, 5.6rem); line-height: .98; letter-spacing: -.03em; margin: 0 0 1.5rem; }
.az-hero__title em, .az-hero__title i { font-style: italic; color: var(--az-cocoa); }
html[lang="ar"] .az-hero__title { font-weight: 800; letter-spacing: 0; line-height: 1.25; font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.az-hero__lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--az-ink-soft); max-width: 46ch; margin: 0 0 2rem; }
.az-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }

.az-hero__search { position: relative; max-width: 30rem; }
.az-hero__search form { position: relative; }
.az-hero__search input {
  width: 100%; border: 1px solid var(--az-line); background: rgba(255, 255, 255, .7); border-radius: 999px;
  padding: .85rem 1.2rem; padding-inline-start: 2.9rem; font-size: .95rem; color: var(--az-ink); outline: none; transition: border-color .2s, background .2s;
}
.az-hero__search input:focus { border-color: var(--az-cocoa); background: #fff; }
.az-hero__search .fa-magnifying-glass { position: absolute; inset-inline-start: 1.15rem; top: 50%; transform: translateY(-50%); color: var(--az-ink-soft); font-size: .9rem; }

.az-hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; list-style: none; padding: 1.6rem 0 0; margin: 1.8rem 0 0; border-top: 1px solid var(--az-line); font-size: .88rem; font-weight: 600; color: var(--az-ink-soft); }
.az-hero__facts li { display: inline-flex; align-items: center; gap: .5rem; }
.az-hero__facts .az-star { color: var(--az-gold-deep); font-size: .8rem; }

.az-hero__visual { position: relative; padding-bottom: 2.5rem; padding-inline-start: 2.5rem; }
.az-hero__arch { aspect-ratio: 4 / 5; box-shadow: var(--az-shadow); }
.az-hero__arch::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .55); border-radius: var(--az-arch); pointer-events: none; z-index: 2; }
.az-hero__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 6s ease; }
.az-hero__slide.is-active { opacity: 1; transform: scale(1); }
.az-hero__slide a { position: absolute; inset: 0; z-index: 3; }

.az-hero__seal { position: absolute; inset-block-start: 6%; inset-inline-start: -.5rem; width: 132px; height: 132px; border-radius: 50%; background: var(--az-ink); color: var(--az-paper); display: grid; place-items: center; box-shadow: var(--az-shadow); z-index: 4; }
.az-hero__seal svg.az-seal-text { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: az-spin 22s linear infinite; }
.az-hero__seal text { font-size: 8.6px; text-transform: uppercase; fill: var(--az-paper); font-weight: 600; }
.az-hero__seal .az-star { color: var(--az-gold); font-size: 1.8rem; }
@keyframes az-spin { to { transform: rotate(360deg); } }
/* Glovo variant of the seal: a link to the shop's Glovo store */
a.az-hero__seal { text-decoration: none; transition: transform .3s var(--az-ease); }
a.az-hero__seal:hover { transform: scale(1.06) rotate(-4deg); }
.az-hero__seal--glovo { background: #ffc244; color: #1d1d1b; }
.az-hero__seal--glovo text { fill: #1d1d1b; font-weight: 800; }
.az-hero__seal--glovo .az-seal-icon { display: grid; justify-items: center; gap: .1rem; line-height: 1; }
.az-hero__seal--glovo .az-seal-icon i { color: #00a082; font-size: 1.7rem; }
.az-hero__seal--glovo .az-seal-icon b { font-size: .78rem; font-weight: 800; letter-spacing: .02em; }

.az-hero__pick {
  position: absolute; inset-block-end: 0; inset-inline-end: -1rem; z-index: 4; display: flex; align-items: center; gap: .85rem;
  background: #fff; border-radius: 16px; padding: .6rem 1.1rem .6rem .6rem; padding-inline: .6rem 1.1rem; box-shadow: var(--az-shadow); text-decoration: none; color: var(--az-ink); max-width: 290px;
  transition: transform .3s var(--az-ease);
}
.az-hero__pick:hover { transform: translateY(-3px); color: var(--az-ink); }
.az-hero__pick img { width: 62px; height: 62px; border-radius: 12px; object-fit: cover; flex: none; }
.az-hero__pick small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--az-terracotta); }
.az-hero__pick strong { display: block; font-family: var(--az-serif); font-size: 1.15rem; font-weight: 600; line-height: 1.15; }
.az-hero__pick span.az-price { font-weight: 800; font-size: .92rem; }
.az-hero__pick del { color: var(--az-ink-soft); font-size: .8rem; margin-inline-start: .35rem; }

@media (max-width: 991.98px) {
  .az-hero__grid { grid-template-columns: 1fr; }
  .az-hero__visual { max-width: 520px; width: 100%; margin-inline: auto; padding-inline-start: 1.5rem; }
  .az-hero__seal { width: 104px; height: 104px; }
}
@media (max-width: 575.98px) {
  .az-hero__actions .az-btn { flex: 1 1 auto; }
  .az-hero__pick { inset-inline-end: .25rem; max-width: 250px; }
}

/* ── 2. Category ribbon (marquee) ─────────────────────────────────── */
.az-ribbon { background: var(--az-ink); color: var(--az-paper); overflow: hidden; padding: 1.15rem 0; position: relative; }
.az-ribbon__track { display: flex; width: max-content; animation: az-marquee 38s linear infinite; }
.az-ribbon:hover .az-ribbon__track { animation-play-state: paused; }
.az-ribbon__group { display: flex; align-items: center; flex: none; }
.az-ribbon a { color: inherit; text-decoration: none; font-family: var(--az-serif); font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-style: italic; padding: 0 1.6rem; white-space: nowrap; transition: color .2s; }
html[lang="ar"] .az-ribbon a { font-style: normal; font-weight: 700; }
.az-ribbon a:hover { color: var(--az-gold); }
.az-ribbon .az-star { color: var(--az-gold); font-size: .85rem; }
@keyframes az-marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .az-ribbon__track { animation-name: az-marquee-rtl; }
@keyframes az-marquee-rtl { to { transform: translateX(50%); } }

/* ── 3. About: sand band, staggered photo collage (no arch, so it
      doesn't echo the hero) ───────────────────────────────────────── */
.az-about { background: var(--az-paper-2); }
.az-about__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.az-collage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(6, clamp(56px, 6.2vw, 92px)); gap: .9rem; }
.az-collage figure { margin: 0; overflow: hidden; border-radius: 6px; box-shadow: var(--az-shadow); background: var(--az-paper); }
.az-collage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--az-ease); }
.az-collage figure:hover img { transform: scale(1.04); }
.az-collage__tall { grid-column: 1; grid-row: 1 / 7; }
.az-collage__top { grid-column: 2; grid-row: 2 / 5; }
.az-collage__bottom { grid-column: 2; grid-row: 5 / 7; }
.az-collage:not(:has(.az-collage__bottom)) .az-collage__top { grid-row: 2 / 6; }
.az-collage:not(:has(.az-collage__top)) .az-collage__bottom { grid-row: 2 / 6; }
.az-collage--single { grid-template-columns: 1fr; }
.az-collage--single .az-collage__tall { grid-column: 1; }
.az-about__text { font-size: 1.05rem; color: var(--az-ink-soft); line-height: 1.85; }
.az-about__text > :first-child::first-letter {
  font-family: var(--az-serif); float: inline-start; font-size: 4.2rem; line-height: .82; padding-inline-end: .6rem; padding-top: .35rem; color: var(--az-cocoa); font-weight: 600;
}
html[lang="ar"] .az-about__text > :first-child::first-letter { float: none; font-size: inherit; padding: 0; line-height: inherit; color: inherit; font-weight: inherit; }
.az-about__sign { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; font-family: var(--az-serif); font-style: italic; font-size: 1.4rem; color: var(--az-cocoa); }
.az-about__sign::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
@media (max-width: 991.98px) {
  .az-about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .az-collage { grid-template-rows: repeat(6, 11vw); }
}
/* Phones: one short landscape photo is enough */
@media (max-width: 767.98px) {
  .az-collage { display: block; }
  .az-collage__top, .az-collage__bottom { display: none; }
  .az-collage__tall { aspect-ratio: 16 / 10; max-height: 240px; width: 100%; border-radius: var(--az-radius); }
}

/* ── 5. How to order ──────────────────────────────────────────────── */
.az-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: az-step; }
.az-step { background: rgba(255, 255, 255, .82); border: 1px solid var(--az-line); border-radius: var(--az-radius); padding: 2rem 1.75rem 1.75rem; position: relative; }
.az-step::before { counter-increment: az-step; content: counter(az-step); position: absolute; inset-block-start: 1.1rem; inset-inline-end: 1.4rem; font-family: var(--az-serif); font-size: 3.6rem; line-height: 1; color: color-mix(in srgb, var(--az-gold) 55%, transparent); font-weight: 600; }
.az-step__icon { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--az-ink); color: var(--az-paper); font-size: 1.1rem; margin-bottom: 1.4rem; }
.az-step h3 { font-family: var(--az-serif); font-size: 1.55rem; font-weight: 600; margin: 0 0 .5rem; }
html[lang="ar"] .az-step h3 { font-size: 1.2rem; font-weight: 800; }
.az-step p { color: var(--az-ink-soft); margin: 0; font-size: .95rem; }
.az-step a { color: var(--az-cocoa); font-weight: 700; }
@media (max-width: 767.98px) { .az-steps { grid-template-columns: 1fr; } }

/* ── 6. Gallery (catalogue mosaic) ────────────────────────────────── */
.az-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 230px); grid-auto-flow: dense; gap: .9rem; }
.az-mosaic__item { position: relative; border-radius: 14px; overflow: hidden; background: var(--az-paper-2); display: block; }
.az-mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; border-radius: var(--az-arch); }
.az-mosaic__item:nth-child(6) { grid-column: span 2; }
.az-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--az-ease); }
.az-mosaic__item:hover img { transform: scale(1.06); }
.az-mosaic__cap {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .9rem; color: #fff; font-weight: 600; font-size: .9rem;
  background: linear-gradient(to top, rgba(20, 12, 6, .72), transparent); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--az-ease);
}
.az-mosaic__item:hover .az-mosaic__cap, .az-mosaic__item:focus-visible .az-mosaic__cap { opacity: 1; transform: none; }
@media (max-width: 767.98px) {
  .az-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .az-mosaic__item:nth-child(6) { grid-column: span 1; }
  .az-mosaic__item:last-child:nth-child(even) { grid-column: span 2; }
  .az-mosaic__cap { opacity: 1; transform: none; font-size: .8rem; padding-top: 1.8rem; }
}

/* ── 7. Instagram ─────────────────────────────────────────────────── */
.az-insta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.az-insta__frame { border-radius: 260px 260px var(--az-radius) var(--az-radius); background: #fff; padding: 1.25rem; box-shadow: var(--az-shadow); max-width: 460px; margin-inline: auto; width: 100%; }
.az-insta__frame iframe { width: 100%; height: 560px; border: 0; border-radius: 240px 240px 12px 12px; background: var(--az-paper-2); display: block; }
.az-insta__lead { color: var(--az-ink-soft); font-size: 1.05rem; max-width: 42ch; margin-bottom: 2rem; }
@media (max-width: 991.98px) { .az-insta__grid { grid-template-columns: 1fr; } }

/* ── 8. Visit us ──────────────────────────────────────────────────── */
.az-visit { background: var(--az-ink); color: var(--az-paper); overflow: hidden; }
.az-visit .az-head__title, .az-visit h3 { color: var(--az-paper); }
.az-visit .az-head__meta { color: var(--az-gold); }
.az-visit .az-head__title em { color: var(--az-gold); }
.az-visit__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.az-visit__list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.4rem; }
.az-visit__list li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; align-items: start; }
.az-visit__list i { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); color: var(--az-gold); }
.az-visit__list small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(251, 246, 238, .55); font-weight: 700; margin-bottom: .15rem; }
html[lang="ar"] .az-visit__list small { letter-spacing: 0; font-size: .8rem; }
.az-visit__list a, .az-visit__list span { color: var(--az-paper); text-decoration: none; font-size: 1.02rem; }
.az-visit__list a:hover { color: var(--az-gold); }
.az-visit__shops { display: grid; gap: .75rem; margin-bottom: 2rem; }
.az-visit__shop { border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 1rem 1.15rem; }
.az-visit__shop strong { font-family: var(--az-serif); font-size: 1.25rem; font-weight: 600; display: block; }
.az-visit__shop span { color: rgba(251, 246, 238, .7); font-size: .9rem; display: block; }
.az-visit__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.az-visit__map { border-radius: var(--az-arch); overflow: hidden; min-height: 420px; background: rgba(255, 255, 255, .06); }
.az-visit__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.35) sepia(.15); display: block; }
@media (max-width: 991.98px) { .az-visit__grid { grid-template-columns: 1fr; } .az-visit__map { border-radius: var(--az-radius); min-height: 320px; } .az-visit__map iframe { min-height: 320px; } }

/* ── Trust badges (optional section) ──────────────────────────────── */
.az-trust { border-block: 1px solid var(--az-line); }
.az-trust__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.az-trust__item { display: flex; gap: .85rem; align-items: center; }
.az-trust__item i { font-size: 1.25rem; color: var(--az-cocoa); width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--az-paper-2); display: grid; place-items: center; flex: none; }
.az-trust__item strong { display: block; font-size: .95rem; }
.az-trust__item span { font-size: .82rem; color: var(--az-ink-soft); }

/* ── À la une (product showcase) ─────────────────────────────────── */
.az-show__feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.az-show__media { position: relative; display: block; overflow: hidden; border-radius: var(--az-radius); background: var(--az-paper-2); }
.az-show__media--feature { border-radius: var(--az-arch); aspect-ratio: 4 / 3.4; box-shadow: var(--az-shadow); }
.az-show__media--card { aspect-ratio: 4 / 3; }
.az-show__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--az-ease); }
.az-show__media:hover img { transform: scale(1.04); }
.az-show__placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.5rem; color: var(--az-gold); }
.az-show__flags { position: absolute; inset: auto auto 1rem 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
html[dir="rtl"] .az-show__flags { inset: auto 1rem 1rem auto; }
.az-show__media--feature .az-show__flags { inset: auto auto 1.25rem 1.25rem; }
html[dir="rtl"] .az-show__media--feature .az-show__flags { inset: auto 1.25rem 1.25rem auto; }
.az-show__flag { padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--az-ink); font-size: .74rem; font-weight: 800; letter-spacing: .04em; }
.az-show__flag--promo { background: var(--az-terracotta); color: #fff; }
.az-show__flag--out { background: var(--az-ink); color: var(--az-paper); }

.az-show__body { min-width: 0; }
.az-show__title { font-family: var(--az-serif); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.05; letter-spacing: -.02em; margin: .25rem 0 .9rem; }
.az-show__title a { color: inherit; text-decoration: none; }
.az-show__title a:hover { color: var(--az-cocoa); }
html[lang="ar"] .az-show__title { font-weight: 800; letter-spacing: 0; line-height: 1.3; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.az-show__desc { color: var(--az-ink-soft); font-size: 1.02rem; line-height: 1.7; margin: 0 0 1.1rem; max-width: 52ch; }
.az-show__features { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .5rem; }
.az-show__features li { display: flex; gap: .6rem; align-items: baseline; font-weight: 600; font-size: .95rem; }
.az-show__features .az-star { color: var(--az-gold); flex: none; }
.az-show__sizes { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; }
.az-show__sizes span { padding: .35rem .8rem; border: 1px solid var(--az-line); border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 700; }
.az-show__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.az-show__price small { font-size: .82rem; color: var(--az-ink-soft); font-weight: 600; }
.az-show__price strong { font-size: 1.9rem; font-weight: 800; color: var(--az-ink); line-height: 1; }
.az-show__price .az-cur { font-size: .5em; font-weight: 700; }
.az-show__price del { color: var(--az-ink-soft); font-size: 1rem; }
.az-show__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; }
.az-show__glovo-main { background: #ffc244; color: #1d1d1b; box-shadow: none; }
.az-show__glovo-main:hover { background: #f5b52a; color: #1d1d1b; }

.az-show__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.az-show__card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--az-line); border-radius: var(--az-radius); overflow: hidden; }
.az-show__card .az-show__media { border-radius: 0; }
.az-show__card .az-show__body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.az-show__card .az-show__title { font-size: 1.55rem; margin-bottom: .5rem; }
html[lang="ar"] .az-show__card .az-show__title { font-size: 1.25rem; }
.az-show__card .az-show__desc { font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.az-show__card .az-show__price { margin-top: auto; }
.az-show__card .az-show__price strong { font-size: 1.45rem; }
.az-show__card .az-btn { padding: .8rem 1.2rem; font-size: .9rem; }

@media (max-width: 991.98px) {
  .az-show__feature { grid-template-columns: 1fr; }
  .az-show__media--feature { border-radius: var(--az-radius); aspect-ratio: 4 / 3; }
}
@media (max-width: 575.98px) {
  .az-show__actions .az-btn--solid { flex: 1 1 100%; }
}
