/* FOTO-ODAK-1 (2026-11-22).  Owner: "fotoğraf odağı olması lazım tüm sayfalarda, yazı değil; yazılar asla kaplamamalı;
   her sayfada eksiksiz gözükmeli işlemler; işlemlerin olduğu alanlara yazılar girmemeli, hiçbir çözünürlükte; minicik
   olmamalı".  Loaded last on every ATELİER page; ai_visual_audit/foto_odak_audit.mjs is its check (F1-F4).
   1 every procedure picture / film is shown WHOLE: its frame takes the picture's own shape (the width/height attributes
     hold the box before the file arrives, so nothing jumps), object-fit contain, no Ken-Burns zoom, no tint, no dust;
     a picture taller than the screen is limited to the screen and letterboxed -- never cut;
   2 nothing written sits on a picture: captions, before/after tags, look pickers, colour palettes, gallery labels and
     proof chips stand under it;
   3 the first picture on a phone is as large as it can be while the page's first WhatsApp / phone button still stands
     whole in the first screen (owner 22.11, second message: "reklam performansımızı düşürme"): the build bakes the
     page's measured fit on the hero (style="--fo-d", fotoodak.add_fit, ai_visual_audit/foto_odak_fit.mjs) and section 17
     turns it into --fo-fit; nothing moves after the first paint.  The 16-28 svh cropped strips of İLK EKRAN v1 /
     SAYFA-DÜZELT are gone; the page keeps its own order and words. */
/* --fo-max: a picture never runs under the fixed contact bar at the bottom of a phone (nav + bar + a little air) */
.at-page{--fo-max:calc(100svh - var(--at-nav-h, 56px) - var(--at-bar-h, 72px) - 12px);--fo-bar:38px;--fo-ink:var(--at-text-2,#5b5248)}

/* ---- 0. decoration that draws over a procedure goes --------------------------------------------------------- */
.at-page :is(.at-hero-media,.at-photo-stage,.at-cmp,.at-look-stage,.at-atelier-stage,.at-gcard,.at-led-frame,.at-ts-stage).at-lit::after,
.at-page .at-hero-media.at-lit::after{content:none!important;display:none!important}
.at-page :is(.at-photo-stage,.at-cmp,.at-look-stage,.at-atelier-stage,.at-gcard,.at-ts-stage) > canvas.at-dust{display:none!important}
.at-page :is(.at-kb,.at-photo-stage,.at-look-stage,.at-gcard,.at-tile,.at-ts-slide) img{animation:none!important;transform:none!important}

/* ---- 1. hero photo / film --------------------------------------------------------------------------------- */
.at-page .at-hero .at-hero-media{height:auto!important}
.at-page .at-photo-stage{aspect-ratio:auto!important;height:auto!important;min-height:0!important;max-height:none!important;
  overflow:visible!important;display:block!important;background:transparent!important}
.at-page .at-photo-stage > img{position:relative!important;inset:auto!important;display:block!important;width:100%!important;
  height:auto!important;max-height:min(var(--fo-max),var(--fo-fit,100vh))!important;object-fit:contain!important;object-position:50% 50%!important;
  opacity:1;background:#e9e3d9}
.at-page .at-photo-stage > video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:50% 50%!important}
/* caption and zoom: a line under the picture, not on it */
.at-page :is(.at-photo-stage,.at-cmp) > .at-photo-cap{position:absolute!important;z-index:2;top:calc(100% + 4px)!important;
  bottom:auto!important;left:var(--fo-in,12px)!important;right:auto!important;max-width:calc(100% - 72px)!important;
  padding:6px 0!important;background:transparent!important;border:0!important;border-radius:0!important;
  color:var(--fo-ink)!important;font:600 10.5px/1.3 var(--at-body)!important;letter-spacing:.14em!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.at-page :is(.at-photo-stage,.at-cmp) > .at-zoom-btn{top:calc(100% + 2px)!important;bottom:auto!important;
  right:var(--fo-in,12px)!important;left:auto!important;width:34px!important;height:34px!important;
  background:transparent!important;color:var(--at-text,#1b1a18)!important;border:1px solid var(--at-line-strong,rgba(27,26,24,.22))!important}
.at-page .at-hero-media:has(> :is(.at-photo-stage,.at-cmp) > :is(.at-photo-cap,.at-zoom-btn,.at-cmp-tag,.at-mirror-note)){
  padding-bottom:var(--fo-bar)!important}
.at-page .at-hero-media:has(> :is(.at-photo-stage,.at-cmp) > :is(.at-photo-cap,.at-zoom-btn,.at-cmp-tag)) + .at-hero-copy{padding-top:4px!important}

/* ---- 2. before / after ------------------------------------------------------------------------------------- */
.at-page .at-cmp{aspect-ratio:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
.at-page .at-cmp > img:first-of-type{position:relative!important;inset:auto!important;display:block!important;width:100%!important;
  height:auto!important;max-height:min(var(--fo-max),var(--fo-fit,100vh))!important;object-fit:contain!important;object-position:50% 50%!important}
.at-page .at-cmp > img:not(:first-of-type),.at-page .at-cmp > .at-cmp-a img{object-fit:contain!important;object-position:50% 50%!important}
/* the handle rides the bottom edge, not the middle of the face */
.at-page .at-cmp > .at-cmp-knob{top:auto!important;bottom:8px!important;margin:0 0 0 -23px!important}
.at-page .at-cmp > .at-cmp-tag{top:calc(100% + 4px)!important;bottom:auto!important;padding:6px 0!important;background:transparent!important;
  border:0!important;color:var(--fo-ink)!important;letter-spacing:.16em!important}
.at-page .at-cmp > .at-cmp-tag.at-a{left:var(--fo-in,12px)!important;right:auto!important}
.at-page .at-cmp > .at-cmp-tag.at-b{right:var(--fo-in,12px)!important;left:auto!important}
.at-page .at-cmp:has(> .at-zoom-btn) > .at-cmp-tag.at-b{right:calc(var(--fo-in,12px) + 46px)!important}
.at-page .at-cmp > .at-mirror-note{top:calc(100% + 34px)!important;bottom:auto!important;left:var(--fo-in,12px)!important;right:auto!important;
  background:transparent!important;border:0!important;padding:4px 0!important;color:var(--fo-ink)!important}
.at-page .at-mirror > .at-cmp{margin-bottom:calc(var(--fo-bar) + 26px)}
.at-page .at-mirror > .at-cmp > .at-cmp-tag{top:calc(100% + 6px)!important}

/* ---- 3. stages with a picker (lash looks, nail colours): picture first, the picker under it ------------------ */
.at-page :is(.at-look-stage,.at-atelier-stage){display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto!important;grid-auto-rows:auto!important;align-items:start;
  aspect-ratio:auto!important;height:auto!important;min-height:0!important;overflow:visible!important;background:transparent!important;
  box-shadow:none!important;border-radius:0!important}
.at-page .at-look-stage > img,.at-page .at-atelier-stage > img,.at-page .at-atelier-stage > .at-tint{grid-area:1/1/2/3!important;min-height:0!important;
  position:relative!important;inset:auto!important;width:100%!important;height:auto!important;object-fit:contain!important;
  object-position:50% 50%!important}
.at-page .at-look-stage > img{max-height:min(var(--fo-max),var(--fo-fit,100vh))!important;border-radius:18px}
.at-page .at-atelier-stage > .at-tint{height:100%!important;align-self:stretch}
/* nail pictures are 4:5; the stage is narrowed instead of letterboxed so the colour masks stay on the nails */
.at-page .at-atelier-stage{width:min(100%,calc(min(var(--fo-max),var(--fo-fit,100vh)) * .8))!important;margin-inline:auto!important}
.at-page .at-atelier-stage > img{border-radius:18px}
.at-page .at-look-stage > .at-look-pick,.at-page .at-atelier-stage > .at-palette{grid-area:3/1/4/3!important;position:relative!important;
  inset:auto!important;margin:8px 0 0!important;background:#1f1b18!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.at-page .at-look-stage > .at-zoom-btn{grid-area:2/2/3/3!important;position:relative!important;inset:auto!important;margin:8px 0 0!important;
  background:transparent!important;color:var(--at-text,#1b1a18)!important;border:1px solid var(--at-line-strong,rgba(27,26,24,.22))!important}
.at-page .at-atelier-stage > .at-ba-toggle{grid-area:2/1/3/3!important;position:relative!important;inset:auto!important;justify-self:start;
  margin:8px 0 0!important;background:#1f1b18!important}
.at-page .at-look-stage:not(:has(> .at-zoom-btn)) > .at-look-pick{grid-area:2/1/3/3!important}
.at-page .at-look-stage:has(> .at-zoom-btn) > .at-look-pick{grid-area:2/1/3/2!important;margin-right:8px!important}
.at-page .at-look-stage.at-wide{border-radius:0!important}
.at-page :is(.at-look-stage,.at-atelier-stage) > .at-tone-pick{position:relative!important;inset:auto!important;grid-column:1/3}

/* ---- 4. galleries: each card keeps its built footprint (3:4, wide 3:2) so no page grows longer than before (cta_audit F3);
   inside it the whole picture (contain) and, under it, its name -- not a pill on the photo.  The "before" layer of a
   pair covers exactly the picture box (the 28 px name line + 6 px gap stay below it). */
.at-page .at-gal{align-items:flex-start!important}     /* a wide pair card keeps its 3:2, not stretched to the tall cards' height */
.at-page .at-gcard{display:flex!important;flex-direction:column!important;gap:6px;overflow:hidden!important;background:transparent!important;
  box-shadow:none!important;border-radius:0!important}
.at-page .at-gcard > img:first-of-type{position:relative!important;inset:auto!important;display:block!important;flex:1 1 0!important;
  min-height:0!important;width:100%!important;height:auto!important;object-fit:contain!important;object-position:50% 50%!important;
  border-radius:18px;background:#e9e3d9}
.at-page .at-gcard > img:not(:first-of-type){position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:34px!important;
  width:100%!important;height:auto!important;object-fit:contain!important;object-position:50% 50%!important;border-radius:18px}
.at-page .at-gcard > .at-gl{position:static!important;flex:none;height:28px;display:flex!important;align-items:center;
  justify-content:space-between;gap:8px;padding:0 2px!important;color:var(--fo-ink)!important;letter-spacing:.12em!important}
.at-page .at-gcard > .at-gl span{background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;
  color:inherit!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.at-page .at-gcard > .at-gl span + span{flex:none;color:var(--at-gold-ink,#8a6a2c)!important}
.at-page .at-dark-band .at-gcard > .at-gl{color:#E8DFCC!important}
/* a body page's film card keeps its play button: it is the way into the film, not writing */
.at-page .at-gcard > .at-bm-play{z-index:3;top:calc(50% - 17px)!important}

/* ---- 5. service tiles and the home chooser: each tile keeps its built 4:5 footprint; the photo whole inside it, the words
   under it (not on a dark gradient over the photo) */
.at-page .at-tile{display:flex!important;flex-direction:column!important;gap:6px;overflow:hidden!important;background:transparent!important;
  box-shadow:none!important;border-radius:0!important;color:var(--at-text)!important}
.at-page .at-tile::after{content:none!important;display:none!important}
.at-page .at-tile > img{flex:1 1 0!important;min-height:0!important;width:100%!important;height:auto!important;object-fit:contain!important;
  border-radius:16px;box-shadow:var(--at-shadow);background:#e9e3d9;transform:none!important}
.at-page .at-tile > .at-tile-txt{position:static!important;flex:none;padding:0 2px;gap:1px!important}
.at-page .at-tile > .at-tile-txt b{color:var(--at-text)!important;font-size:19px!important}
.at-page .at-tile > .at-tile-txt span{color:var(--at-gold-ink,#8a6a2c)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.at-page .at-sec-tile img{object-fit:contain!important;background:#e9e3d9}
.at-page .at-secici[data-at-secpick] .at-sec-tile.at-on::after{position:static!important;transform:none!important;margin-top:2px}
.at-page .at-top-img img{object-fit:contain!important;background:#e9e3d9}

/* ---- 6. /kalici-makyaj strip: picture on top, words under it.  On a phone the brow before/after (the page's hero, hidden
   there until now) leads again, whole; the Kaş · Dudak · Dipliner strip follows the hero button, like the skin hub's
   cards -- the three 105 x 70 thumbnails were the page's only pictures in the first screen. */
.at-page .at-ps-card{height:auto!important;aspect-ratio:auto!important;justify-content:flex-start!important;background:#1f1b18!important}
.at-page .at-ps-img{position:relative!important;inset:auto!important}
.at-page .at-ps-img::after{content:none!important;display:none!important}
.at-page .at-ps-img img{height:auto!important;object-fit:contain!important}
.at-page .at-ps-n{padding-top:6px!important}
@media (max-width:959px){
  .at-page .at-hero:has(.at-pmustrip) .at-hero-media{display:block!important}
  .at-page .at-hero:has(.at-pmustrip) .at-hero-split{display:flex!important;flex-direction:column}
  .at-page .at-hero-copy > .at-pmustrip{order:1}
  .at-page .at-hero-copy:has(> .at-pmustrip) > .at-hero-cta ~ *{order:2}
}

/* ---- 7. /nail-art-ankara design strip: each design whole, its name under it -------------------------------- */
.at-page .at-ts-stage{aspect-ratio:auto!important;height:auto!important;overflow:visible!important;background:transparent!important}
.at-page .at-ts-track{height:auto!important;align-items:flex-start}
.at-page .at-ts-slide{height:auto!important;overflow:visible!important;background:transparent!important;display:flex!important;
  flex-direction:column;align-items:stretch}
.at-page .at-ts-slide > img{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;
  max-height:min(var(--fo-max),var(--fo-fit,100vh))!important;object-fit:contain!important;border-radius:14px;background:#e9e3d9}
.at-page .at-ts-slide > .at-ts-name{position:static!important;align-self:flex-start;margin:6px 0 0;background:transparent!important;
  border:0!important;padding:0!important;color:var(--fo-ink)!important}
.at-page .at-ts-stage > :is(.at-ts-hint){position:static!important;display:inline-block;margin:6px 0 0 12px;background:transparent!important;
  border:0!important;color:var(--fo-ink)!important;padding:0!important}
.at-page .at-ts-stage > .at-ts-ask{position:relative!important;inset:auto!important;margin:8px 12px 0 auto;display:flex;width:max-content}

/* ---- 8. laser hero: the treatment photo whole, the proof chips under it -------------------------------------- */
.at-page .lz-stage{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:grid!important;
  grid-template-columns:minmax(0,1fr);background:transparent!important}
.at-page .lz-stage > img,.at-page .lz-stage > video{grid-area:1/1!important;position:relative!important;inset:auto!important;width:100%!important;
  height:auto!important;max-height:min(var(--fo-max),var(--fo-fit,100vh))!important;object-fit:contain!important;object-position:50% 50%!important;animation:none!important;
  transform:none!important;background:#160C11}
.at-page .lz-stage > video{height:100%!important;align-self:stretch}
.at-page .lz-stage > :is(.lz-scan,.lz-glow,.lz-scrim){display:none!important}
.at-page .lz-stage > .lz-proof{grid-area:2/1!important;position:relative!important;inset:auto!important;margin:10px var(--lz-g,16px) 0!important}
@media (min-width:960px){
  .at-page .lz-hero{min-height:0!important}
  .at-page .lz-stage{align-self:center}
}

/* ---- 9. desktop: the hero column holds the whole picture, at most one screen high ------------------------------- */
@media (min-width:960px){
  .at-page{--fo-max:calc(100svh - var(--at-nav-h, 64px) - 72px)}
  .at-page .at-hero-split{align-items:start!important}
  .at-page .at-hero-split :is(.at-photo-stage,.at-look-stage,.at-atelier-stage,.at-ts-stage,.at-cmp){height:auto!important;max-height:none!important;aspect-ratio:auto!important}
  .at-page .at-hero-media{padding:16px 0 0 var(--at-gutter,48px)}
  .at-page .at-hero-media > :is(.at-photo-stage,.at-cmp) > img:first-of-type{border-radius:20px}
  .at-page .at-gal{align-items:start!important}
}
/* a landscape phone: the picture fits the screen height */

/* ---- 10. /cilt-bakimi "Hangi sonucu istiyorsunuz?": the cards as built (photo, name, line, price, all visible), the photo
   whole instead of the 1:1 / 4:1 / 5:2 crops; on a phone they stand right under the hero button, so the first screen keeps
   the button and a real picture (they were squeezed above it into 27 px strips). */
.at-page .at-sn-row{align-items:start!important}
.at-page .at-sn-card{align-content:start!important}
.at-page .at-sn-card > img{aspect-ratio:1/1!important;height:auto!important;object-fit:contain!important;background:#e9e3d9}
@media (max-width:959px){
  .at-page .at-hero-copy > .at-sonuc{order:1}
  .at-page .at-hero-copy:has(> .at-sonuc) > .at-hero-cta ~ *{order:2}
  .at-page .at-sn-card{padding-bottom:8px!important;gap:2px!important}
  .at-page .at-sn-card > img{margin-bottom:4px!important}
  .at-page .at-sn-name{font-size:13px!important}
  .at-page .at-sn-line,.at-page .at-sn-price{font-size:11.5px!important;line-height:1.3!important}
}

/* ---- 8b. laser hero on a phone: the treatment photo (whole), the copy with its buttons, then the proof chips -- no copy
   slid up over the photo, no photo as a dark backdrop behind the words (sd-lazer's two pages).  .fo-ilk (fotoodak.FIT_JS):
   the photo would be under half its size to keep the button in view, so the copy leads and the whole photo follows. */
.at-page .lz-copy{margin-top:0!important;padding-top:14px!important}
@media (max-width:959px){
  .at-page .lz-hero{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"foto" "copy" "proof";
    overflow:visible!important;padding-bottom:6px;min-height:0!important}
  .at-page .lz-hero > .lz-stage{display:contents!important}
  .at-page .lz-stage > img,.at-page .lz-stage > video{grid-area:foto!important;align-self:start}
  .at-page .lz-stage > video{align-self:stretch}
  .at-page .lz-hero > .lz-copy{grid-area:copy!important;order:0!important}
  .at-page .lz-stage > .lz-proof{grid-area:proof!important;margin:12px var(--lz-g,16px) 0!important}
  .at-page .lz-hero.fo-ilk{grid-template-areas:"copy" "foto" "proof"}
  .at-page .lz-hero.fo-ilk .lz-stage > :is(img,video){margin-top:12px}
}
@media (min-width:960px){ .at-page .lz-hero:has(.lz-stage) .lz-stage{display:grid!important} }

/* ---- 11. laser island: hygiene cards, film reels, page tiles -- each card keeps its built footprint (4:5, 9:16, 3:4,
   the odd last tile 16:9) so the page is not longer than before (cta_audit F3: the gap between two buttons); inside it the
   picture is whole (contain) and the words stand under it, not on it. */
.at-page :is(.lz-hy,.lz-tile,.lz-reel){display:flex!important;flex-direction:column!important;overflow:hidden!important;
  background:transparent!important;border:0!important;border-radius:0!important;gap:6px;padding:0!important}
.at-page :is(.lz-hy,.lz-tile,.lz-reel)::after{content:none!important;display:none!important}
.at-page :is(.lz-hy,.lz-tile) > img,.at-page .lz-reel > video{position:relative!important;inset:auto!important;flex:1 1 0!important;
  min-height:0!important;width:100%!important;height:auto!important;object-fit:contain!important;object-position:50% 50%!important;
  border-radius:16px;transform:none!important;background:#1a1113}
.at-page .lz-reel > video{background:#160C11;border:1px solid rgba(255,211,234,.18)}
.at-page :is(.lz-hy,.lz-tile) > span{position:static!important;flex:none;padding:0 2px;display:grid!important;gap:1px}
.at-page :is(.lz-hy,.lz-tile) > span b{font-size:16px!important;line-height:1.1!important}
.at-page :is(.lz-hy,.lz-tile) > span small{font-size:11px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.at-page .lz-reel > .lz-reel-t{position:static!important;flex:none;font-size:15px!important}
.at-page .lz-reel > .lz-reel-t i{width:22px;height:22px}
/* ---- 12. the LED / high-frequency films: the whole frame (the box was capped at 620 px and cut 3 %) ----------------- */
.at-page .at-led-frame > video{object-fit:contain!important}

/* ---- 13. the five "copy first" pages (.at-hero-cf2) lead with their picture too, sized by --fo-fit; when the picture
   would have to be smaller than 22 svh to keep their button in the first screen, the script marks the hero .fo-ilk and
   the page keeps its built order (copy, then the whole picture). */
@media (max-width:959px){
  .at-page .at-hero-cf2:not(.fo-ilk) .at-hero-copy{order:0!important}
  .at-page .at-hero-cf2:not(.fo-ilk) .at-hero-media{order:-1!important}
}

/* ---- 14. the lash / lifting mirror sits on a dark card: its labels under the picture are light -------------------- */
.at-page :is(.at-mirror,.at-dark-band) .at-cmp > :is(.at-cmp-tag,.at-mirror-note,.at-photo-cap){color:#E8DFCC!important}
.at-page :is(.at-mirror,.at-dark-band) .at-cmp > .at-zoom-btn{color:#F7F1E4!important;border-color:rgba(233,215,165,.45)!important}

/* ---- 15. the hours chip is rewritten by script ("Cumartesi hariç her gün ..." -> "Şu an açık · 20.00'ye kadar"); on a
   phone the two chips keep a row each, so the shorter text can never pull the page up (KLASIK-LAYOUT's fix, every page) */
@media (max-width:599px){
  .at-page .at-hero .at-chips{flex-direction:column!important;align-items:flex-start!important;flex-wrap:nowrap!important;
    height:auto!important;min-height:0!important}
  .at-page .at-hero .at-chips .at-chips-br{display:none}
}

/* ---- 16. the pickers under the hero picture keep the height their script gives them from the first paint: the look's
   menu line and the nail colour row are filled after load (they sat over the photo before, now they are in the page) */
@media (max-width:959px){
  .at-page .at-look-stage .at-look-meta{flex-direction:column!important;align-items:flex-start!important;flex-wrap:nowrap!important;row-gap:8px}
  .at-page .at-look-stage .at-look-meta [data-look-svc]{display:block;min-height:20px;line-height:20px;white-space:nowrap;overflow:hidden;
    text-overflow:ellipsis;max-width:100%}
  .at-page .at-look-stage .at-look-meta .at-pill-wa{margin-left:0!important}
  .at-page .at-atelier-stage .at-sw-row{min-height:38px}
  .at-page .at-atelier-stage .at-palette-top{flex-wrap:nowrap!important;min-height:22px}
  .at-page .at-atelier-stage .at-palette-top > *{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
}

/* ---- 17. the phone hero picture's largest height: the screen minus the bar and consent card (113 px) minus what the
   page measured above the picture and between it and its first contact button (--fo-d, baked by the build).  Never under
   150 px; on a screen under 700 px high never under 44 svh.  A hero marked fo-ilk leads with its copy: no limit there. */
@media (max-width:959px){
  .at-page :is(.at-hero,.lz-hero)[style*="--fo-d"]{--fo-fit:max(150px,calc(100svh - 113px - var(--fo-d)))}
  .at-page :is(.at-hero,.lz-hero).fo-ilk[style*="--fo-d"]{--fo-fit:100vh}
}
@media (max-width:959px) and (max-height:699px){
  .at-page :is(.at-hero,.lz-hero)[style*="--fo-d"]:not(.fo-ilk){--fo-fit:max(44svh,150px,calc(100svh - 113px - var(--fo-d)))}
}
