/* SYBO Menu layout «آتلیه»: a bright lookbook with a mood picker and a product sheet. */
:root { --bg: #f7f6f3; --surface: #ffffff; --ink: #16161a; --muted: #6d6d78; --line: #e6e4df; --head-bg: transparent; --nav-bg: rgba(247, 246, 243, .92); }
body.sm { background: var(--bg); color: var(--ink); }
.atl-cover { position: relative; }
.atl-hero { display: block; width: 100%; height: min(46vh, 380px); object-fit: cover; border-radius: 0 0 36px 36px; }
.atl-hero-empty { background: radial-gradient(120% 90% at 80% 0%, color-mix(in srgb, var(--accent) 25%, #fff), #ecebe6); }
.atl-lang { position: absolute; top: 1rem; inset-inline-end: 1rem; }
.atl-id { text-align: center; margin-top: -54px; padding: 0 1.2rem; position: relative; }
.atl-logo { width: 100px; height: 100px; margin: 0 auto; display: grid; place-items: center; object-fit: cover; border-radius: 32px; border: 5px solid var(--bg); box-shadow: 0 16px 40px rgba(22, 22, 26, .22); transform: rotate(-4deg); background: var(--ink); color: #fff; font-weight: 900; font-size: 2.2rem; }
.atl-id h1 { margin: .8rem 0 0; font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 900; letter-spacing: -.02em; }
.atl-latin { margin: 0; color: var(--muted); letter-spacing: .2em; font-size: .78rem; }
.atl-tagline { margin: .3rem auto 0; color: var(--muted); max-width: 30em; }
.atl-id .sm-actions { justify-content: center; margin-top: .9rem; }
.atl-id .sm-action { background: #fff; color: var(--ink); border: 0; box-shadow: 0 2px 12px rgba(22, 22, 26, .07); }
.atl-mood { margin: 1.6rem auto 0; max-width: 720px; padding: 1.15rem; border-radius: 28px; background: var(--ink); color: #fff; width: calc(100% - 2rem); }
.atl-mood h2 { margin: 0 0 .7rem; font-size: 1.15rem; font-weight: 800; }
.atl-moods { display: flex; flex-wrap: wrap; gap: .45rem; }
.atl-moods button { font: inherit; font-size: .88rem; color: #fff; border: 1px solid rgba(255, 255, 255, .24); background: transparent; border-radius: 999px; padding: .45rem .95rem; cursor: pointer; }
.atl-moods button[aria-pressed="true"] { background: #ffcf6e; border-color: #ffcf6e; color: var(--ink); font-weight: 800; }
.atl-sticky { margin-top: 1rem; }
.atl-main { max-width: 980px; margin: 0 auto; }
.atl-main .sm-section-title { font-size: 1.35rem; font-weight: 900; }
.atl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .8rem; }
@media (min-width: 720px) { .atl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.atl-card { position: relative; transition: opacity .3s, transform .3s; }
.atl-grid .atl-card:nth-child(even) { margin-top: 1.6rem; }
@media (min-width: 720px) { .atl-grid .atl-card:nth-child(even) { margin-top: 0; } .atl-grid .atl-card:nth-child(3n+2) { margin-top: 1.6rem; } }
.atl-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; border-radius: 24px; overflow: hidden; }
.atl-open img, .atl-ph { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.atl-ph { display: grid; place-items: center; font-size: 2.4rem; font-weight: 900; color: var(--muted); background: #ecebe6; }
.atl-badge { position: absolute; top: .6rem; inset-inline-start: .6rem; font-size: .72rem; font-weight: 800; padding: .18rem .65rem; border-radius: 999px; background: #fff; color: var(--ink); }
.atl-badge.is-low { background: #ffcf6e; }
.atl-badge.is-out { background: var(--ink); color: #fff; }
.atl-card h3 { margin: .5rem 0 0; font-size: 1rem; font-weight: 700; }
.atl-price { margin: 0; color: var(--muted); font-size: .88rem; }
.atl-quick { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.atl-quick .sm-add { background: var(--ink); color: #fff; border: 0; border-radius: 999px; font-size: .78rem; padding: .3rem .8rem; }
.atl-card.is-out { opacity: .55; }
.atl-main.is-filtered .atl-card { opacity: .25; transform: scale(.97); }
.atl-main.is-filtered .atl-card.is-match { opacity: 1; transform: none; }
.atl-sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; max-height: 92svh; border-radius: 30px 30px 0 0; background: #fff; color: var(--ink); overflow-y: auto; }
@media (min-width: 720px) { .atl-sheet { margin: auto; border-radius: 30px; } }
.atl-sheet::backdrop { background: rgba(22, 22, 26, .45); }
.atl-sheet[open] { animation: atlRise .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes atlRise { from { transform: translateY(30%); } to { transform: none; } }
.atl-x { position: absolute; top: .8rem; inset-inline-end: .8rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); font-size: 1.4rem; cursor: pointer; }
.atl-sheet-media img { width: 100%; height: 320px; object-fit: cover; }
.atl-sheet-body { padding: 1.1rem 1.3rem 1.5rem; }
.atl-sheet-body h3 { margin: 0; font-size: 1.6rem; font-weight: 900; }
.atl-sheet-body > p { margin: .25rem 0 .8rem; color: var(--muted); }
.atl-sheet-price { font-size: 1.3rem; font-weight: 800; }
.atl-sizes { list-style: none; padding: 0; margin: 0 0 .9rem; display: grid; gap: .4rem; }
.atl-sizes li { display: flex; justify-content: space-between; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 14px; }
.atl-pair { display: flex; gap: .7rem; align-items: center; padding: .6rem; border-radius: 16px; background: var(--bg); margin-bottom: 1rem; }
.atl-pair-pic img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; display: block; }
.atl-pair small { display: block; color: var(--muted); font-size: .75rem; }
.atl-adds { display: flex; flex-wrap: wrap; gap: .5rem; }
.atl-adds .sm-add { flex: 1; min-height: 50px; border: 0; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 800; }
.sm-info { max-width: 980px; margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { .atl-card, .atl-sheet[open] { transition: none; animation: none; } }
.atl-main.is-filtered .atl-card.is-match.is-out { opacity: .55; }
