.mk-wheel {
  --ink:#243623;
  --line:#d5dfcc;
  --leaf:#52862d;
  container-type:inline-size;
  box-sizing:border-box;
  min-width:0;
  color:var(--ink);
  background:#f6f8ef;
  border:1px solid var(--line);
  border-radius:12px;
  padding:clamp(14px,2vw,24px);
}
.mk-wheel--card { margin:20px 0; }
.mk-wheel *, .mk-wheel *::after, .mk-wheel *::before { box-sizing:border-box; }
.mk-wheel [hidden], .mk-pilot-cart-promos [hidden] { display:none!important; }
.mk-wheel__layout {
  display:grid;
  grid-template-columns:minmax(116px, .92fr) minmax(0, 1.08fr);
  gap:clamp(12px,3cqw,26px);
  align-items:center;
}
.mk-wheel__frame {
  position:relative;
  justify-self:center;
  width:100%;
  max-width:202px;
  aspect-ratio:1;
  border:4px solid #536740;
  border-radius:50%;
  background:#fffef9;
  box-shadow:inset 0 0 0 2px #e8dfbe,0 3px 8px #2c452826;
}
.mk-wheel__dial {
  position:absolute;
  inset:4px;
  overflow:hidden;
  border-radius:50%;
  background:
    repeating-conic-gradient(from -18deg,transparent 0deg 35.1deg,#657340 35.1deg 36deg),
    conic-gradient(from -18deg,#d9ebbf 0 36deg,#f9f2d9 36deg 72deg,#b6d59d 72deg 108deg,#f2d1af 108deg 144deg,#dcecc7 144deg 180deg,#f9efce 180deg 216deg,#b6d59d 216deg 252deg,#f4d5b9 252deg 288deg,#e1ecc8 288deg 324deg,#436f43 324deg 360deg);
  transform:rotate(0deg);
  transition:transform 1.65s cubic-bezier(.15,.64,.12,1);
}
.mk-wheel__sector { position:absolute; inset:0; transform:rotate(var(--angle)); pointer-events:none; }
.mk-wheel__sector b { position:absolute; top:7%; left:50%; transform:translateX(-50%); line-height:1; font-size:clamp(12px,3.8cqw,19px); color:#273822; font-weight:700; font-variant-numeric:tabular-nums; }
.mk-wheel__sector:last-child b { color:#fff; }
.mk-wheel__hub { position:absolute; top:50%; left:50%; width:12%; height:12%; transform:translate(-50%,-50%); border-radius:50%; background:#fff9dd; border:3px solid #647249; box-shadow:0 1px 3px #28372744; }
.mk-wheel__pointer { position:absolute; top:-7px; left:50%; width:16px; height:23px; transform:translateX(-50%); background:#304b2f; clip-path:polygon(0 0,100% 0,50% 100%); }
.mk-wheel__details { min-width:0; }
.mk-wheel__details h3 { margin:0 0 5px; font-size:clamp(18px,5.5cqw,26px); line-height:1.12; color:var(--ink); }
.mk-wheel__details p { margin:5px 0; line-height:1.34; }
.mk-wheel__lead, .mk-wheel__next { font-size:14px; }
.mk-wheel__result { font-weight:650; color:#365b24; }
.mk-wheel__actions { display:flex; flex-wrap:wrap; align-items:center; gap:5px 12px; margin-top:10px; }
.mk-wheel__actions .btn { min-height:42px; max-width:100%; white-space:normal; padding:9px 14px; border-radius:7px; line-height:1.22; text-align:center; }
.mk-wheel__actions button:disabled { opacity:.62; }
.mk-wheel__link { border:0; padding:6px 0; background:none; color:#426b31; text-decoration:underline; font:inherit; font-size:13px; }
.mk-wheel select { width:100%; max-width:100%; padding:6px; border:1px solid #aebda4; background:white; border-radius:4px; font:inherit; }
.mk-wheel__message, .mk-wheel__next { font-size:13px; }
.mk-wheel__message:empty, .mk-wheel__next:empty { display:none; }
.mk-wheel__terms { margin-top:14px; font-size:12px; color:#53604c; }
.mk-wheel__terms summary, .mk-wheel [data-invite]>summary { cursor:pointer; }
.mk-wheel__terms p { margin:6px 0 0; line-height:1.4; }
.mk-wheel [data-invite]>summary { line-height:1.35; list-style:none; display:flex; align-items:center; gap:9px; }
.mk-wheel [data-invite]>summary::-webkit-details-marker { display:none; }
.mk-wheel [data-invite]>summary::after { content:'⌄'; margin-left:auto; font-size:20px; }
.mk-wheel [data-invite][open]>summary::after { transform:rotate(180deg); }
.mk-wheel [data-invite][open]>.mk-wheel__layout { margin-top:13px; }
.mk-wheel__mini { background:#d9e8ca; color:#395d2b; border-radius:50%; width:30px; height:30px; display:grid; place-items:center; font-weight:bold; }
.mk-wheel :focus-visible { outline:2px solid #346321; outline-offset:3px; }
.mk-pilot-cart-promos { display:block; min-width:0; width:100%; margin-top:16px; }
.mk-pilot-cart-promos .mk-pilot-cart-delivery { font-size:13px; line-height:1.4; margin:12px 0 0; color:#4e594d; }
.mk-pilot-cart-promos ~ .popup-footer__order { display:grid; grid-template-columns:minmax(0,1fr) max-content; align-items:end; gap:12px; margin-top:16px; }
.mk-pilot-cart-promos ~ .popup-footer__order .popup-footer__total { min-width:0; }
@container (max-width:275px) {
  .mk-wheel__layout { grid-template-columns:1fr; text-align:center; gap:12px; }
  .mk-wheel__frame { max-width:148px; }
  .mk-wheel__actions { justify-content:center; }
}
@media (max-width:650px) {
  #popup-okno:has(.mk-pilot-cart-promos) { max-width:100%; width:100%; padding:17px; box-sizing:border-box; }
  .mfp-wrap:has(.mk-pilot-cart-promos) { overflow-x:hidden!important; overflow-y:auto!important; }
  .mfp-container:has(.mk-pilot-cart-promos) { height:auto; min-height:100%; padding:8px; }
  .mfp-content:has(.mk-pilot-cart-promos) { max-width:100%; min-width:0; }
  .mk-pilot-cart-promos ~ .popup-footer__order { grid-template-columns:1fr; gap:12px; }
  .mk-pilot-cart-promos ~ .popup-footer__order .popup-footer__btn .btn { width:100%; max-width:100%; white-space:normal; }
}
@media (prefers-reduced-motion:reduce) {
  .mk-wheel__dial { transition-duration:0s!important; }
}
.mk-wheel__actions .btn-primary { background:#55843b; border-color:#55843b; color:white; font-weight:600; }
.mk-wheel__actions .btn-primary:hover { background:#416d2b; border-color:#416d2b; }
@container (max-width:350px) {
  .mk-wheel__layout { grid-template-columns:1fr; text-align:center; gap:12px; }
  .mk-wheel__frame { width:174px; max-width:100%; }
  .mk-wheel__sector b { font-size:15px; }
  .mk-wheel__actions { justify-content:center; }
  .mk-wheel__actions .btn-primary { min-width:min(210px,100%); }
}
.mk-wheel-flight {
  position:fixed; z-index:2147483645; top:0; left:0; pointer-events:none;
  padding:7px 12px; border-radius:6px; background:#3e6e2d; color:#fff;
  font-family:inherit; font-size:15px; font-weight:700; line-height:1.2;
  box-shadow:0 3px 12px #243a2566; white-space:nowrap;
}
