/* KAYA pickup section, visual version (2026-11-18). Presentation only. */

/* ---- Steps: a picture path ---- */
html:root body:not(#kpv) #pickup-guide .kaya-pickup-guide-steps{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:8px auto 0;max-width:980px}
/* the dotted path behind the icons */
html:root body:not(#kpv) #pickup-guide .kaya-pickup-guide-steps:before{content:"";position:absolute;left:12.5%;right:12.5%;top:44px;border-top:3px dotted #9fcdb0;transform-origin:0 50%;z-index:0}
html:root body:not(#kpv) #pickup-guide .kp-step{display:flex!important;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:0 4px!important;background:transparent!important;border:0!important;box-shadow:none!important;position:relative;z-index:1}
html:root body:not(#kpv) #pickup-guide .kp-step>.kp-step-icon{position:relative;display:grid!important;place-items:center;flex:none!important;width:88px!important;height:88px!important;margin:0!important;border-radius:50%!important;background:#fffdf7!important;border:2px solid #cfe6d6;box-shadow:0 10px 24px -14px #0a784680,inset 0 0 0 6px #f1f8f2;color:#0A6B44!important}
html:root body:not(#kpv) #pickup-guide .kp-step-icon svg{width:46px;height:46px;display:block}
html:root body:not(#kpv) #pickup-guide .kp-step-num{position:absolute;top:-2px;right:-2px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#0A7846;color:#fff;font:900 13px/1 system-ui,sans-serif;font-style:normal;box-shadow:0 4px 10px -4px #0a7846aa;border:2px solid #fffdf7}
html:root body:not(#kpv) #pickup-guide .kp-step strong{display:block;font-size:clamp(1rem,calc(.2vw + .9rem),1.125rem)!important;font-weight:800;color:#163f2c;line-height:1.25}
html:root body:not(#kpv) #pickup-guide .kp-step small{display:block;font-size:clamp(.8125rem,calc(.1vw + .78rem),.875rem)!important;color:#5a7362;line-height:1.45;margin-top:4px;max-width:22ch;margin-left:auto;margin-right:auto}
@media (max-width:760px){
 /* phones: a vertical path, icon on the left */
 html:root body:not(#kpv) #pickup-guide .kaya-pickup-guide-steps{grid-template-columns:1fr;gap:14px;max-width:420px}
 html:root body:not(#kpv) #pickup-guide .kaya-pickup-guide-steps:before{left:35px;right:auto;top:36px;bottom:36px;border-top:0;border-left:3px dotted #9fcdb0;transform-origin:50% 0}
 html:root body:not(#kpv) #pickup-guide .kp-step{flex-direction:row;text-align:left;gap:14px;align-items:center}
 html:root body:not(#kpv) #pickup-guide .kp-step>.kp-step-icon{width:72px!important;height:72px!important}
 html:root body:not(#kpv) #pickup-guide .kp-step-icon svg{width:38px;height:38px}
 html:root body:not(#kpv) #pickup-guide .kp-step small{max-width:none;margin-left:0}
}

/* entrance */
#pickup-guide .kp-steps-wait .kp-step-icon{scale:.4;opacity:0;transition:scale .7s cubic-bezier(.34,1.7,.64,1),opacity .35s ease}
#pickup-guide .kp-steps-wait .kp-step>div{opacity:0;translate:0 10px;transition:opacity .5s ease,translate .6s cubic-bezier(.22,1,.36,1)}
#pickup-guide .kp-steps-wait:before{scale:0 1;transition:scale 1.4s cubic-bezier(.22,1,.36,1) .1s}
@media (max-width:760px){#pickup-guide .kp-steps-wait:before{scale:1 0}}
#pickup-guide .kp-steps-wait.kp-steps-in .kp-step-icon{scale:1;opacity:1}
#pickup-guide .kp-steps-wait.kp-steps-in .kp-step>div{opacity:1;translate:0 0}
#pickup-guide .kp-steps-wait.kp-steps-in:before{scale:1 1}
#pickup-guide .kp-steps-in .kp-step:nth-child(2) .kp-step-icon,#pickup-guide .kp-steps-in .kp-step:nth-child(2)>div{transition-delay:.25s}
#pickup-guide .kp-steps-in .kp-step:nth-child(3) .kp-step-icon,#pickup-guide .kp-steps-in .kp-step:nth-child(3)>div{transition-delay:.5s}
#pickup-guide .kp-steps-in .kp-step:nth-child(4) .kp-step-icon,#pickup-guide .kp-steps-in .kp-step:nth-child(4)>div{transition-delay:.75s}
@media (hover:hover) and (pointer:fine){
 #pickup-guide .kp-step-icon{transition:translate .35s cubic-bezier(.34,1.56,.64,1),scale .7s cubic-bezier(.34,1.7,.64,1),opacity .35s ease}
 #pickup-guide .kp-step:hover .kp-step-icon{translate:0 -5px}
}

/* ---- Opening hours: big status + week strip ---- */
html:root body:not(#kpv) #kayaOpeningHours.kp-week-on .kaya-hours-today,
html:root body:not(#kpv) #kayaOpeningHours.kp-week-on .kaya-hours-grid{display:none!important}
html:root body:not(#kpv) #kayaOpeningHours [data-kaya-hours-status]{font-size:1rem!important;font-weight:800!important;padding:9px 16px!important;gap:8px!important}
html:root body:not(#kpv) #kayaOpeningHours [data-kaya-hours-status]:before{content:""!important;width:10px!important;height:10px!important;flex:0 0 10px!important;border-radius:50%!important;background:#d0533f!important;box-shadow:0 0 0 0 #d0533f66;animation:kpPulseRed 2s ease-out infinite}
html:root body:not(#kpv) #kayaOpeningHours [data-kaya-hours-status][data-state=open]:before{background:#12a865!important;animation-name:kpPulseGreen}
html:root body:not(#kpv) #kayaOpeningHours .kaya-hours-status>span{font-size:.8125rem!important;font-weight:700;color:#3f5e4a}
@keyframes kpPulseGreen{0%{box-shadow:0 0 0 0 #12a86580}70%{box-shadow:0 0 0 9px #12a86500}100%{box-shadow:0 0 0 0 #12a86500}}
@keyframes kpPulseRed{0%{box-shadow:0 0 0 0 #d0533f66}70%{box-shadow:0 0 0 9px #d0533f00}100%{box-shadow:0 0 0 0 #d0533f00}}

.kp-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:4px 0 6px}
.kp-day{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 4px 12px;border-radius:16px;background:#f3f8ef;border:1px solid #e1eadb;text-align:center;min-width:0}
.kp-day-name{font-size:.9375rem;font-weight:800;color:#1d4a35;line-height:1.1}
.kp-km{display:none}
body.lang-km .kp-en{display:none}body.lang-km .kp-km{display:inline;font-size:.8125rem;white-space:nowrap}
body.lang-km .kp-day-tag{text-transform:none;letter-spacing:0}
.kp-day-dot{width:9px;height:9px;border-radius:50%;background:#2fb36e}
.kp-day-hours{font-size:.8125rem;font-weight:700;color:#0a5f3b;line-height:1.25;font-variant-numeric:tabular-nums}
.kp-closed{background:#f6f1ec;border-color:#ece2d8}
.kp-closed .kp-day-name{color:#7a6458}.kp-closed .kp-day-dot{background:#d9c6b8}.kp-closed .kp-day-hours{color:#82604f;font-weight:600}
.kp-today{background:#0A7846;border-color:#0A7846;box-shadow:0 12px 24px -14px #0a7846cc;transform:translateY(-4px)}
.kp-today .kp-day-name,.kp-today .kp-day-hours{color:#fff}.kp-today .kp-day-dot{background:#bff0d2}
.kp-today.kp-closed{background:#82604f;border-color:#82604f}
.kp-day-tag{position:absolute;top:-10px;left:50%;translate:-50% 0;padding:3px 8px;border-radius:999px;background:#f3c34f;color:#5b3d00;font-size:.6875rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;box-shadow:0 4px 8px -4px #0004}
html:root body:not(#kpv) #kayaOpeningHours .kaya-hours-note{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px!important;font-size:.875rem!important;font-weight:600;color:#3f5e4a!important}
.kp-note-clock{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fff4d6;font-size:14px}
@media (max-width:560px){
 /* phones: two rows (Mon–Thu, Fri–Sun) so every day stays easy to read */
 .kp-week{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 7px;margin-top:12px}
 .kp-day{padding:13px 2px 11px;border-radius:14px;gap:5px}
 .kp-day-name{font-size:.875rem}
 .kp-day-hours{font-size:.75rem;line-height:1.2;white-space:nowrap}
 .kp-day-tag{font-size:.6875rem;padding:2px 7px;top:-10px}
 html:root body:not(#kpv) #kayaOpeningHours .kaya-hours-note{font-size:.8125rem!important;text-align:left}
}
@media (prefers-reduced-motion:reduce){
 html:root body:not(#kpv) #kayaOpeningHours [data-kaya-hours-status]:before{animation:none!important}
 .kp-today{transform:none}
}
