/* ARGANIA example-site kit — overlays shared by the four levels. Pages set --k-bg, --k-ink, --k-acc, --k-surf, --k-r, --k-font. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }   /* body overflow passes to the viewport, so tilted bands (KADAM marquee) are clipped here */
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.k-num { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
body.k-lock { overflow: hidden; }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.rv.in { opacity: 1; transform: none; }
.k-add { border: 0; border-radius: var(--k-r, 999px); background: var(--k-acc); color: var(--k-on, #fff); padding: 11px 18px; font-weight: 700; font-size: 14px; transition: transform .2s, opacity .2s; }
.k-add:hover { transform: translateY(-1px); } .k-add.ok { opacity: .85; }
.k-add.k-big { padding: 15px 26px; font-size: 16px; width: 100%; margin-top: 18px; }
.k-cartbtn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); background: none; color: inherit; display: grid; place-items: center; }
.k-cartbtn svg { width: 20px; height: 20px; }
.k-cartbtn .k-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--k-acc); color: var(--k-on, #fff); font: 700 10px/18px Inter, sans-serif; text-align: center; transform: scale(0); transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.k-cartbtn .k-count.on { transform: scale(1); }
.k-cartbtn.bump { animation: kb .45s; } @keyframes kb { 40% { transform: scale(1.15); } }
.k-wa { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; background: #15803d; color: #fff; padding: 14px 22px; font-weight: 700; font-size: 15px; }
.k-wa svg { width: 20px; height: 20px; }
.k-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(10,10,12,.45); opacity: 0; pointer-events: none; transition: opacity .35s; backdrop-filter: blur(3px); }
.k-scrim.on { opacity: 1; pointer-events: auto; }
.k-drawer, .k-chat { position: fixed; z-index: 90; top: 0; bottom: 0; inset-inline-end: 0; width: min(400px, 92vw); background: var(--k-surf, #fff); color: var(--k-ink); display: flex; flex-direction: column; transform: translateX(calc(var(--k-side, 1) * 105%)); transition: transform .5s cubic-bezier(.16,1,.3,1); box-shadow: 0 0 60px rgba(0,0,0,.2); font-family: var(--k-font); }
html[dir="rtl"] .k-drawer, html[dir="rtl"] .k-chat { --k-side: -1; }
.k-drawer.on, .k-chat.on { transform: none; }
.k-drawer header, .k-chat header { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(127,127,127,.18); }
.k-drawer header b { font-size: 20px; }
.k-drawer header button, .k-chat header button, .k-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(127,127,127,.14); color: inherit; }
.k-lines { flex: 1; overflow: auto; padding: 10px 20px; }
.k-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(127,127,127,.14); font-size: 14px; }
.k-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: rgba(127,127,127,.1); }
.k-line small { display: block; opacity: .6; }
.k-qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-weight: 700; }
.k-qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(127,127,127,.3); background: none; color: inherit; }
.k-empty { opacity: .6; text-align: center; padding: 40px 0; }
.k-drawer footer { padding: 18px 20px 22px; border-top: 1px solid rgba(127,127,127,.18); }
.k-total { display: flex; justify-content: space-between; font-size: 17px; margin-bottom: 14px; }
.k-checkout { width: 100%; border: 0; border-radius: 999px; padding: 15px; background: #15803d; color: #fff; font-weight: 800; font-size: 16px; }
.k-checkout:disabled { opacity: .4; cursor: default; }
.k-sheet { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.k-sheet-in { position: relative; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: 1fr 1fr; background: var(--k-surf, #fff); color: var(--k-ink); border-radius: calc(var(--k-r2, 24px)); opacity: 0; transform: translateY(30px) scale(.97); transition: .45s cubic-bezier(.16,1,.3,1); font-family: var(--k-font); }
.k-sheet.on { pointer-events: auto; } .k-sheet.on .k-sheet-in { opacity: 1; transform: none; }
.k-sheet-img { background: rgba(127,127,127,.08); min-height: 320px; } .k-sheet-img img { width: 100%; height: 100%; object-fit: cover; }
.k-sheet-txt { padding: 34px; } .k-sheet-txt small { opacity: .6; font-weight: 600; } .k-sheet-txt h3 { font-size: 30px; margin: 6px 0 10px; font-family: var(--k-head, inherit); } .k-sheet-txt p { line-height: 1.8; opacity: .8; }
.k-price { font-size: 22px; color: var(--k-acc); }
.k-sheet-txt ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; list-style: none; } .k-sheet-txt li { padding: 6px 12px; border-radius: 999px; background: rgba(127,127,127,.12); font-size: 13px; font-weight: 600; }
.k-x { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; background: rgba(255,255,255,.85); color: #111; }
@media (max-width: 700px) { .k-sheet-in { grid-template-columns: 1fr; } .k-sheet-img { min-height: 220px; max-height: 260px; } .k-sheet-txt { padding: 24px; } }
.k-chat { background: #efeae2; color: #111; font-family: var(--k-font); }
.k-chat header { background: #075e54; color: #fff; border: 0; justify-content: flex-start; }
.k-chat header div { flex: 1; } .k-chat header small { display: block; opacity: .8; font-size: 12px; } .k-chat header button { background: rgba(255,255,255,.15); }
.k-av { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #075e54; display: grid; place-items: center; font-weight: 800; }
.k-msgs { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.k-m { max-width: 82%; padding: 9px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.55; box-shadow: 0 1px 1px rgba(0,0,0,.08); animation: km .35s cubic-bezier(.16,1,.3,1); }
@keyframes km { from { opacity: 0; transform: translateY(6px); } }
.k-m.ag { align-self: flex-start; background: #fff; } .k-m.cu { align-self: flex-end; background: #d9fdd3; }
.k-m.typing { display: flex; gap: 4px; } .k-m.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa; animation: kt 1s infinite; } .k-m.typing i:nth-child(2) { animation-delay: .15s } .k-m.typing i:nth-child(3) { animation-delay: .3s }
@keyframes kt { 50% { opacity: .3; transform: translateY(-3px); } }
.k-in { display: flex; gap: 8px; padding: 10px 12px 16px; } .k-in span { flex: 1; background: #fff; border-radius: 20px; padding: 10px 14px; color: #8696a0; font-size: 14px; } .k-in i { width: 40px; height: 40px; border-radius: 50%; background: #075e54; color: #fff; display: grid; place-items: center; font-style: normal; }
.k-badge { position: fixed; z-index: 70; bottom: 14px; inset-inline-start: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(17,19,68,.92); color: #fff; font: 600 12px/1.3 Inter, Cairo, sans-serif; letter-spacing: .01em; pointer-events: none; }
html.embed .k-badge { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }
