/* REZZ MALL skeleton screens (owner 2026-11-23: "evet kur, önce önizlemede göster"). PREVIEW: only on html.sk (?sk=1 sets the 'sk' cookie,
   ?sk=0 clears it; inc.php lc_sk). Gray blocks where content is still on its way: the next cards of a list, a card picture still loading, the
   brand panel before its data, the live search and the cart. The shine moves with transform only; reduced motion = still gray. */
/* the colours come from the page's own tokens where the block stands (body.p2 / the panel), light or dark */
.sk-box,.sk-line{position:relative;overflow:hidden;background:var(--bg2,#efede9)}
.sk-line{display:block;height:12px;border-radius:3px;width:100%}
.sk-line.w80{width:80%}.sk-line.w70{width:70%}.sk-line.w60{width:60%}.sk-line.w50{width:50%}.sk-line.w40{width:40%}.sk-line.w30{width:30%}.sk-line.w20{width:20%}
.sk-line.big{height:16px}.sk-line.sm{height:9px}
.sk-box::after,.sk-line::after,html.sk .pc-img.sk-ld::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--panel,#fff) 70%,transparent),transparent);animation:sk-shine 1.25s ease-in-out infinite;pointer-events:none}
@keyframes sk-shine{to{transform:translateX(100%)}}
:root[data-theme=dark] .sk-box::after,:root[data-theme=dark] .sk-line::after,:root[data-theme=dark].sk .pc-img.sk-ld::after{background:linear-gradient(90deg,transparent,rgba(255,255,255,.07),transparent)}
@media (prefers-reduced-motion:reduce){.sk-box::after,.sk-line::after,html.sk .pc-img.sk-ld::after{animation:none;opacity:0}}

/* a card picture still loading: its 4:3 place is already kept by the img; the place shines until the picture is there */
html.sk .pc-img.sk-ld img{opacity:0}
html.sk .pc-img img{transition:opacity .25s ease,transform .35s cubic-bezier(.2,.7,.2,1)}
html.sk .pc-img.sk-ld{background:var(--bg2,#efede9)}

/* the next cards of a list (auto-load on scroll / Show more) */
.sk-card{pointer-events:none}
.sk-card .sk-pic{display:block;aspect-ratio:4/3}
.sk-card .pc-b{gap:8px;padding-top:12px}
.sk-card .sk-act{display:flex;gap:6px;margin-top:auto;padding-top:10px}
.sk-card .sk-act .sk-box{height:38px;flex:1}.sk-card .sk-act .sk-box+.sk-box{flex:none;width:38px}

/* the live search and the cart */
.srch-l li.sk-li{border-bottom:1px solid var(--line)}
.srch-l li.sk-li .th{background:var(--bg2,#efede9)}
.srch-l li.sk-li .nm{display:flex;flex-direction:column;gap:7px}
.cart-l li.sk-li{opacity:.9}
.cart-l li.sk-li .th{display:block;aspect-ratio:4/3;background:var(--bg2,#efede9)}
.cart-l li.sk-li .nm{display:flex;flex-direction:column;gap:6px}
.sk-ads{display:grid;gap:8px;padding:10px 0}
.sk-ads .sk-row{display:grid;grid-template-columns:56px minmax(0,1fr) 48px;gap:10px;align-items:center}
.sk-ads .sk-row .sk-box{aspect-ratio:4/3}
.sk-ads .sk-row span:nth-child(2){display:flex;flex-direction:column;gap:6px}

/* the brand panel before its data */
.pt-sk{padding:4px 0 32px}
.pt-sk-head{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}
.pt-sk-head .sk-av{width:56px;height:56px;border-radius:50%;flex:none}
.pt-sk-head .sk-who{display:flex;flex-direction:column;gap:8px;flex:1;max-width:340px}
.pt-sk-body{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;padding-top:20px}
.pt-sk-nav{display:flex;flex-direction:column;gap:10px}
.pt-sk-nav .sk-line{height:34px;border-radius:4px}
.pt-sk-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
.pt-sk-grid li{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);padding:0 0 12px}
.pt-sk-grid li .sk-box{aspect-ratio:4/3}
.pt-sk-grid li .sk-line{margin:0 12px;width:auto}
.pt-sk-grid li .sk-line.w50{width:45%}
.pt-sk-rows{display:grid;gap:10px;padding:8px 0}
.pt-sk-rows .sk-line{height:14px}
@media (max-width:760px){.pt-sk-body{grid-template-columns:1fr}.pt-sk-nav{flex-direction:row}.pt-sk-nav .sk-line{width:30%}.pt-sk-nav .sk-line:nth-child(n+4){display:none}.pt-sk-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
html.sk .srch-l.busy:has(.sk-li){opacity:1}
.srch-l li.sk-li .pr{display:block;width:56px}
