/* Site-only glue for the new front end (never in the template). The shared CSS stays byte-identical to design/alameen-template/assets. */

/* About lift, floor GF: admin copy longer than the design holds scrolls inside the floor instead of being cut off */
.am-lift.is-live .am-floor--gf .am-floor__body { min-height: 0; max-height: 100%; overflow-y: auto; scrollbar-width: thin; }

/* reCAPTCHA: the floating badge is replaced by Google's notice in the form (front/partials/recaptcha) */
.grecaptcha-badge { visibility: hidden; }
.am-captcha { flex-basis: 100%; font-size: var(--fs-xs); }

/* Product page (D14): the admin's extra photos as small prints under the carton label (the label sits at the line's start).
   Same white card and navy rule as the label; only shown when a product has gallery photos. */
.am-photostrip { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--s-3); margin: var(--s-6) 0 0; padding: 0; list-style: none; }
.am-photostrip a { display: block; padding: 6px; background: #fff; border: 2px solid var(--navy); border-radius: 4px; }
.am-photostrip a:is(:hover, :focus-visible) { outline: 3px solid var(--lemon); outline-offset: 2px; }
.am-photostrip img { display: block; width: 96px; height: 82px; object-fit: cover; }

/* Error pages, 500/503 (errors/light): the light frame's bar, only the logo, on the page's navy. */
.am-err__bar { padding-block: var(--s-4); background: var(--navy); }
.am-err__bar img { display: block; width: 150px; height: auto; }
body:has(> .am-err__bar) { background: var(--navy); } /* no footer under the light frame: the page stays navy */
