/* Mama i Mia – kreator kubka 3.0. Wartości ze strony produktu sklepu (motyw Astra + fragment „wygląd przycisków wariantów”):
   czcionka motywu (Cambay), tekst #4A3B34, nagłówki #3B2F2A, brąz #6B4331, obramowania #D9CBB9, tło #FBF6EE.
   Przyciski: pełne zaokrąglenie (999 px) jak „Kontynuuj zakupy” w koszyku, min. 44–48 px wysokości. */
.mmkk-stage, .mmkk-panel {
	--mmkk-ink: #3B2F2A; --mmkk-text: #4A3B34; --mmkk-muted: #7D6A5C; --mmkk-accent: #6B4331; --mmkk-accent-hover: #55341F;
	--mmkk-line: #D9CBB9; --mmkk-input: #B9A793; --mmkk-bg: #FBF6EE; --mmkk-surface: #FFFDF9; --mmkk-soft: #F3E9DB;
	--mmkk-ok: #2F6B4F; --mmkk-warn: #8A5208; --mmkk-err: #B3261E;
}
.mmkk-stage [hidden], .mmkk-panel [hidden] { display: none !important; }
.mmkk-layout { display: flow-root; }
.mmkk-panel *, .mmkk-stage * { box-sizing: border-box; }

/* ---------- podgląd (w miejscu galerii zdjęć) ---------- */
.mmkk-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; align-self: start; width: 100%; }
.mmkk-3d-box { position: relative; background: radial-gradient(ellipse at 50% 40%, #FFFDF9 0%, var(--mmkk-bg) 70%); border: 1px solid var(--mmkk-line); border-radius: 18px; overflow: hidden; }
#mmkk-3d { display: block; width: 100%; height: clamp(200px, calc(100vh - var(--mmkk-sticky-max, 0px) - 470px), 330px); touch-action: pan-y; cursor: grab; outline: none; }
#mmkk-3d.mmkk-dragging { cursor: grabbing; }
#mmkk-3d:focus-visible { outline: 2px solid var(--mmkk-accent); outline-offset: -2px; }
.mmkk-3d-hint { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); white-space: nowrap; font-size: 13px; color: var(--mmkk-muted); background: rgba(255, 253, 249, .9); padding: 2px 12px; border-radius: 999px; pointer-events: none; }
.mmkk-mode { position: absolute; left: 8px; top: 8px; display: flex; gap: 6px; z-index: 2; }
.mmkk-stage .mmkk-ib {
	width: 44px; height: 44px; min-height: 0; border-radius: 50%; border: 1px solid var(--mmkk-line); background: rgba(255, 253, 249, .78); color: var(--mmkk-accent);
	display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: none; transition: background .2s, color .2s;
}
.mmkk-stage .mmkk-ib:hover { background: rgba(255, 253, 249, .98); color: var(--mmkk-accent); }
.mmkk-stage .mmkk-ib[aria-pressed="true"] { background: var(--mmkk-accent); border-color: var(--mmkk-accent); color: #fff; }
.mmkk-canvas-box { background: var(--mmkk-bg); border: 1px solid var(--mmkk-line); border-radius: 14px; overflow: hidden; }
#mmkk-canvas { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 483; touch-action: none; }
.mmkk-place { display: grid; gap: 6px; justify-items: center; text-align: center; }
.mmkk-place-title { font-size: 15px; }
.mmkk-seg4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 440px; }
.mmkk-stage .mmkk-pill, .mmkk-panel .mmkk-pill {
	min-height: 44px; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--mmkk-accent); background: transparent; color: var(--mmkk-accent);
	font: inherit; font-weight: 700; font-size: 15px; line-height: 1.1; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; transition: background .2s, color .2s;
}
.mmkk-stage .mmkk-pill:hover, .mmkk-panel .mmkk-pill:hover { background: var(--mmkk-soft); color: var(--mmkk-accent); }
.mmkk-stage .mmkk-pill[aria-pressed="true"], .mmkk-panel .mmkk-pill[aria-pressed="true"] { background: var(--mmkk-accent); color: #fff; border-color: var(--mmkk-accent); }
.mmkk-small, .mmkk-note { font-size: 14px; line-height: 1.45; color: var(--mmkk-muted); margin: 0; }
.mmkk-note { display: flex; justify-content: space-between; gap: 10px; }
.mmkk-stage button:focus-visible, .mmkk-panel button:focus-visible { outline: 2px solid var(--mmkk-accent); outline-offset: 2px; }
@media (min-width: 922px) {
	.mmkk-stage { position: sticky; top: calc(var(--mmkk-sticky-top, 0px) + 20px); transition: top .25s ease; }
}

/* ---------- panel ---------- */
.mmkk-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; width: 100%; margin-bottom: 18px; color: var(--mmkk-text); }
.mmkk-steps-tabs, .mmkk-bar { display: none; }
.mmkk-card { min-width: 0; background: var(--mmkk-surface); border: 1px solid var(--mmkk-line); border-radius: 18px; padding: 16px 18px; }
.mmkk-h { margin: 0; font-size: 18px; line-height: 1.2; font-weight: 600; color: var(--mmkk-ink); display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: normal; }
.mmkk-num { width: 28px; height: 28px; border-radius: 50%; background: var(--mmkk-accent); color: #fff; display: inline-grid; place-items: center; font-size: 15px; font-weight: 700; flex: none; }
.mmkk-num.mmkk-okn { background: var(--mmkk-ok); }
.mmkk-sub { margin: 2px 0 12px 38px; color: var(--mmkk-muted); font-size: 14px; line-height: 1.4; }
.mmkk-chip-ok { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--mmkk-ok); background: #E7F1EB; border-radius: 999px; padding: 1px 10px; white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.mmkk-count { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--mmkk-muted); background: var(--mmkk-soft); border-radius: 999px; padding: 1px 10px; }
.mmkk-field { display: grid; gap: 8px; margin-bottom: 12px; }
.mmkk-label { font-size: 16px; font-weight: 600; color: var(--mmkk-ink); line-height: 1.3; }
.mmkk-color-name { font-weight: 400; color: var(--mmkk-accent); }
.mmkk-row { display: flex; gap: 8px; flex-wrap: wrap; }
.mmkk-row .mmkk-pill { flex: 1; }
.mmkk-panel textarea {
	width: 100%; min-height: 76px; resize: vertical; font: inherit; font-size: 16px; line-height: 1.45; color: var(--mmkk-ink);
	background: #fff; border: 1px solid var(--mmkk-input); border-radius: 14px; padding: 10px 14px; box-shadow: none;
}
.mmkk-panel textarea:focus { border-color: var(--mmkk-accent); outline: none; box-shadow: 0 0 0 1px var(--mmkk-accent); }
.mmkk-panel input[type="range"] { width: 100%; accent-color: var(--mmkk-accent); background: transparent; border: 0; padding: 0; }
.mmkk-range { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; color: var(--mmkk-muted); }
.mmkk-range .mmkk-big { font-size: 22px; }

/* komunikaty */
.mmkk-msg { font-size: 14px; line-height: 1.45; border-radius: 10px; padding: 9px 12px; margin: 8px 0 0; background: var(--mmkk-soft); color: var(--mmkk-text); }
.mmkk-msg.mmkk-ok { background: #E7F1EB; color: var(--mmkk-ok); }
.mmkk-msg.mmkk-warn { background: #FBEFD9; color: var(--mmkk-warn); }
.mmkk-msg.mmkk-err { background: #F8E1DF; color: var(--mmkk-err); }

/* ---------- krok 1: kolory (przewijany pasek) i kubki ---------- */
.mmkk-cwrap { position: relative; margin: 0 0 14px; }
@media (hover: hover) { .mmkk-cwrap { padding: 0 40px; } } /* strzałki stoją obok paska, nie na kolorach */
.mmkk-colors { position: relative; display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 6px 8px; }
.mmkk-colors::-webkit-scrollbar { display: none; }
.mmkk-panel .mmkk-col { flex: none; display: grid; justify-items: center; gap: 3px; width: auto; min-width: 70px; padding: 0 4px; white-space: nowrap; min-height: 0; background: none; border: 0; font: inherit; font-size: 13px; color: var(--mmkk-ink); cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; }
.mmkk-dot { width: 44px; height: 44px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px var(--mmkk-line), inset 0 0 0 3px #fff; }
.mmkk-panel .mmkk-col[aria-pressed="true"] .mmkk-dot { box-shadow: 0 0 0 3px var(--mmkk-accent), inset 0 0 0 3px #fff; }
.mmkk-panel .mmkk-col[aria-pressed="true"] { font-weight: 700; }
.mmkk-dot-all { background: conic-gradient(#e53935, #fdd835, #43a047, #00acc1, #1e88e5, #8e24aa, #e53935); }
.mmkk-col small { color: var(--mmkk-muted); font-size: 11px; line-height: 1; }
.mmkk-panel .mmkk-cnav { position: absolute; top: 14px; width: 36px; height: 36px; min-height: 0; padding: 0; border-radius: 50%; border: 1px solid var(--mmkk-line); background: #fff; color: var(--mmkk-accent); font-size: 20px; line-height: 1; box-shadow: 0 1px 6px rgba(0, 0, 0, .12); display: grid; place-items: center; cursor: pointer; }
.mmkk-cnav.mmkk-l { left: 0; } .mmkk-cnav.mmkk-r { right: 0; }
@media (hover: none) { .mmkk-panel .mmkk-cnav { display: none; } }
.mmkk-mugs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.mmkk-mug { position: relative; }
.mmkk-panel .mmkk-mug-pick {
	display: grid; gap: 2px; width: 100%; text-align: center; padding: 6px 6px 8px; cursor: pointer; min-height: 44px;
	border: 1px solid var(--mmkk-line); border-radius: 14px; background: #fff; color: var(--mmkk-ink);
	font: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; transition: transform .15s, border-color .2s;
}
.mmkk-panel .mmkk-mug-pick img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 8px; background: #fff; }
.mmkk-panel .mmkk-mug-pick:hover { border-color: var(--mmkk-accent); background: #fff; color: var(--mmkk-ink); }
@media (hover: hover) { .mmkk-panel .mmkk-mug-pick:hover { transform: scale(1.03); } }
.mmkk-panel .mmkk-mug-pick[aria-checked="true"] { border-color: var(--mmkk-accent); box-shadow: inset 0 0 0 2px var(--mmkk-accent); background: var(--mmkk-soft); }
.mmkk-mug-name { font-size: 13px; line-height: 1.25; }
.mmkk-mug-price { font-size: 13px; line-height: 1.2; color: var(--mmkk-muted); }
.mmkk-panel .mmkk-mug-zoom {
	position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 50%; cursor: pointer;
	border: 0; background: rgba(255, 255, 255, .85); color: var(--mmkk-accent); font-size: 22px; line-height: 1; font-weight: 600; box-shadow: 0 0 0 1px var(--mmkk-line); opacity: 0; transition: opacity .15s;
}
.mmkk-mug:hover .mmkk-mug-zoom, .mmkk-mug-zoom:focus-visible { opacity: 1; }
@media (hover: none) { .mmkk-panel .mmkk-mug-zoom { opacity: 1; top: 2px; right: 2px; } }

/* powiększenie zdjęcia kubka */
.mmkk-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(40, 28, 22, .85); display: grid; place-items: center; padding: 16px; }
.mmkk-lb[hidden] { display: none; }
.mmkk-lb-inner { position: relative; display: grid; gap: 10px; justify-items: center; max-width: min(92vw, 760px); max-height: 94vh; background: #fff; border-radius: 14px; padding: 16px; }
.mmkk-lb img { display: block; max-width: 100%; max-height: 66vh; width: auto; height: auto; border-radius: 8px; }
.mmkk-lb-cap { margin: 0; color: #3B2F2A; font-size: 16px; text-align: center; }
.mmkk-lb .mmkk-lb-btn { position: absolute; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #6B4331; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.mmkk-lb .mmkk-lb-prev { left: 8px; top: 40%; } .mmkk-lb .mmkk-lb-next { right: 8px; top: 40%; } .mmkk-lb .mmkk-lb-close { right: 8px; top: 8px; }
.mmkk-lb .mmkk-lb-choose { border-radius: 999px; border: 1px solid #6B4331; background: #6B4331; color: #fff; padding: 10px 22px; font-size: 16px; font-weight: 700; cursor: pointer; min-height: 46px; }
.mmkk-lb button:focus-visible { outline: 3px solid #E3B572; outline-offset: 2px; }

/* ---------- kafelki napisów i zdjęć: kwadraty obok siebie ---------- */
.mmkk-thumbs { list-style: none; margin: 0 0 12px; padding: 6px 6px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mmkk-thumbs:empty { display: none; }
.mmkk-th, .mmkk-slot { position: relative; aspect-ratio: 1; border-radius: 16px; min-width: 0; margin: 0; }
.mmkk-th { border: 1px solid var(--mmkk-line); background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 14px 14px; }
.mmkk-th.mmkk-tx { background: #fff; display: grid; place-items: center; }
.mmkk-th.mmkk-sel { border-color: var(--mmkk-accent); box-shadow: 0 0 0 3px var(--mmkk-accent); }
.mmkk-th .mmkk-pick { position: absolute; inset: 0; border: 0; background: transparent; border-radius: 16px; z-index: 1; padding: 0; min-height: 0; cursor: pointer; box-shadow: none; }
.mmkk-th img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; border-radius: 10px; pointer-events: none; }
.mmkk-smp { position: relative; z-index: 1; font-size: 19px; line-height: 1.1; text-align: center; overflow: hidden; max-width: 84%; max-height: 68%; pointer-events: none; overflow-wrap: anywhere; }
.mmkk-no { position: absolute; left: 6px; bottom: 6px; z-index: 2; min-width: 22px; height: 22px; border-radius: 999px; background: rgba(59, 47, 42, .78); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; pointer-events: none; }
/* mały, subtelny „×” na narożniku; obszar dotyku 44 px dzięki ::after */
.mmkk-panel .mmkk-rm {
	position: absolute; z-index: 3; top: -7px; right: -7px; width: 24px; height: 24px; min-height: 0; border-radius: 50%; border: 1px solid var(--mmkk-line); background: #fff; color: var(--mmkk-muted);
	font-size: 16px; line-height: 1; display: grid; place-items: center; padding: 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); cursor: pointer; text-transform: none;
}
.mmkk-rm::after { content: ""; position: absolute; inset: -10px; }
.mmkk-panel .mmkk-rm:hover, .mmkk-panel .mmkk-rm:focus-visible { background: #F8E1DF; color: #B3262E; border-color: #E3B5B1; }
.mmkk-slot { border: 2px dashed var(--mmkk-line); display: grid; place-items: center; }
.mmkk-slot.mmkk-add { border-color: var(--mmkk-accent); color: var(--mmkk-accent); font-weight: 700; background: var(--mmkk-surface); }
.mmkk-slot.mmkk-add .mmkk-pick { position: absolute; inset: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; border-radius: 14px; display: grid; place-items: center; align-content: center; padding: 0; min-height: 0; box-shadow: none; }
.mmkk-slot.mmkk-add:hover { background: var(--mmkk-soft); }
.mmkk-slot.mmkk-add b { font-size: 28px; line-height: 1; font-weight: 400; }
.mmkk-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* czcionki i kolory napisu */
.mmkk-fonts { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; }
.mmkk-panel .mmkk-font {
	flex: none; display: grid; gap: 2px; text-align: left; min-width: 150px; min-height: 44px; cursor: pointer;
	border: 1px solid var(--mmkk-line); background: var(--mmkk-bg); color: var(--mmkk-ink); border-radius: 14px; padding: 8px 14px; font: inherit; text-transform: none; letter-spacing: normal; box-shadow: none;
}
.mmkk-panel .mmkk-font:hover { border-color: var(--mmkk-accent); background: var(--mmkk-bg); color: var(--mmkk-ink); }
.mmkk-panel .mmkk-font[aria-pressed="true"] { border-color: var(--mmkk-accent); box-shadow: inset 0 0 0 1px var(--mmkk-accent); background: var(--mmkk-soft); }
.mmkk-font-sample { font-size: 22px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mmkk-font-name { font-size: 13px; line-height: 1.3; color: var(--mmkk-muted); }
.mmkk-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.mmkk-panel .mmkk-swatch { width: 40px; height: 40px; min-height: 0; border-radius: 50%; padding: 0; cursor: pointer; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--mmkk-line); }
.mmkk-panel .mmkk-swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--mmkk-accent); }
.mmkk-cust { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--mmkk-line); background: conic-gradient(#e53935, #fdd835, #43a047, #00acc1, #1e88e5, #8e24aa, #e53935); display: grid; place-items: center; cursor: pointer; }
.mmkk-cust.mmkk-on { box-shadow: 0 0 0 3px var(--mmkk-accent); }
.mmkk-cust i { font-style: normal; color: #fff; font-weight: 700; font-size: 22px; line-height: 1; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); pointer-events: none; }
.mmkk-cust input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.mmkk-cust:focus-within { outline: 2px solid var(--mmkk-accent); outline-offset: 3px; }
.mmkk-quality-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.mmkk-quality { font-size: 14px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.mmkk-quality.mmkk-ok { background: #E7F1EB; color: var(--mmkk-ok); } .mmkk-quality.mmkk-warn { background: #FBEFD9; color: var(--mmkk-warn); } .mmkk-quality.mmkk-err { background: #F8E1DF; color: var(--mmkk-err); }

/* ---------- krok 4: podsumowanie w segmentach, ilość, zgoda ---------- */
.mmkk-sumlist { font-size: 15px; margin: 6px 0 10px; }
.mmkk-sg { display: grid; grid-template-columns: 7.6em minmax(0, 1fr) auto; gap: 4px 14px; padding: 12px 0; border-top: 1px dashed var(--mmkk-line); }
.mmkk-sg:first-child { border-top: 0; padding-top: 4px; } .mmkk-sg:last-child { padding-bottom: 4px; }
.mmkk-sg dt { color: var(--mmkk-muted); font-weight: 400; margin: 0; }
.mmkk-sg dd { margin: 0; overflow-wrap: anywhere; color: var(--mmkk-ink); }
.mmkk-sg a { color: var(--mmkk-accent); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mmkk-qtyrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 4px 0 12px; }
.mmkk-qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--mmkk-line); border-radius: 999px; background: #fff; padding: 2px; }
.mmkk-qty button { position: relative; width: 32px; height: 32px; min-width: 0; min-height: 0; padding: 0; line-height: 1; border-radius: 50%; border: 0; background: var(--mmkk-soft); color: var(--mmkk-accent); font-size: 18px; font-weight: 700; cursor: pointer; }
.mmkk-qty button::after { content: ""; position: absolute; left: -6px; right: -6px; top: -6px; bottom: -6px; } /* pole dotyku nadal ≥ 44 px */
.mmkk-qty output { min-width: 28px; text-align: center; font-weight: 700; font-size: 15px; color: var(--mmkk-ink); }
.mmkk-price { font-size: 22px; font-weight: 700; color: var(--mmkk-ink); white-space: nowrap; margin-left: auto; }
.mmkk-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; color: var(--mmkk-ink); margin: 8px 0; }
.mmkk-check input { margin-top: 3px; width: 22px; height: 22px; accent-color: var(--mmkk-accent); flex: none; }

/* ---------- WooCommerce: nasz wybór kubka, ilości i przycisku zastępuje standardowe ---------- */
.mmkk-aktywny form.variations_form table.variations, .mmkk-aktywny form.variations_form .reset_variations { display: none !important; }
.mmkk-aktywny form.cart .quantity { display: none !important; }
.mmkk-aktywny form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mmkk-aktywny form.cart .mmkk-panel { flex: 1 1 100%; }
/* „Dodaj do koszyka” (przycisk motywu) – jak „Kontynuuj zakupy”: brązowa pastylka na całą szerokość kolumny kreatora */
.mmkk-aktywny form.cart .single_variation_wrap, .mmkk-aktywny form.cart .woocommerce-variation-add-to-cart { flex: 1 1 100%; width: 100%; max-width: 100%; display: block; margin: 0; }
.mmkk-aktywny form.cart .single_add_to_cart_button, .mmkk-aktywny form.cart .single_add_to_cart_button.disabled, .mmkk-aktywny form.cart .single_add_to_cart_button.wc-variation-selection-needed {display: block !important; box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; min-height: 48px !important; margin: 0 !important; padding: 12px 24px !important; border: 0 !important; border-radius: 999px !important; background: #6B4331 !important; color: #fff !important; font-weight: 700 !important; font-size: 16px !important; line-height: 1.2 !important; text-align: center !important; text-transform: none !important; letter-spacing: normal !important; box-shadow: none !important; opacity: 1 !important; cursor: pointer !important; }
.mmkk-aktywny form.cart .single_add_to_cart_button:hover, .mmkk-aktywny form.cart .single_add_to_cart_button:focus-visible {background: #55341F !important; color: #fff !important; }
.mmkk-aktywny form.cart .single_add_to_cart_button[disabled] { opacity: .6 !important; cursor: wait !important; }
.mmkk-cart-thumb { border-radius: 10px; height: auto; }

/* ---------- komputer ---------- */
@media (min-width: 922px) {
	.mmkk-card { display: block; }
}

/* ---------- telefon i tablet: podgląd przyklejony u góry, jeden krok naraz, stały pasek na dole ---------- */
@media (max-width: 921px) {
	.mmkk-stage { position: sticky; top: var(--mmkk-sticky-top, 0px); z-index: 5; background: var(--mmkk-bg); padding: 6px 0 8px; gap: 4px; transition: top .25s ease; }
	.mmkk-3d-box { border: 0; border-radius: 0; background: transparent; }
	#mmkk-3d { height: min(30vh, 240px); transition: height .25s; }
	.mmkk-kb #mmkk-3d { height: 112px; }
	.mmkk-canvas-box, .mmkk-place-title { display: none; }
	.mmkk-no3d .mmkk-canvas-box { display: block; }
	.mmkk-stage .mmkk-pill { min-height: 40px; font-size: 14px; }
	.mmkk-place { gap: 0; }
	.mmkk-place .mmkk-small { display: none; }
	.mmkk-steps-tabs { display: flex; gap: 6px; }
	.mmkk-panel .mmkk-tabbtn { flex: 1; min-height: 40px; border-radius: 999px; border: 1px solid var(--mmkk-line); background: #fff; color: var(--mmkk-ink); font: inherit; font-weight: 700; font-size: 13px; padding: 4px 2px; cursor: pointer; text-transform: none; letter-spacing: normal; box-shadow: none; }
	.mmkk-panel .mmkk-tabbtn.mmkk-done { background: #EEF6F1; border-color: #BBD5C6; color: var(--mmkk-ok); }
	.mmkk-panel .mmkk-tabbtn[aria-selected="true"] { background: var(--mmkk-accent); border-color: var(--mmkk-accent); color: #fff; }
	.mmkk-card { display: none; border-radius: 16px; padding: 14px; }
	.mmkk-card.mmkk-active { display: block; }
	.mmkk-sub { margin-left: 0; }
	.mmkk-chip-ok { display: none; }
	.mmkk-mugs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mmkk-bar { display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990; background: #fff; border-top: 1px solid var(--mmkk-line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
	.mmkk-bar .mmkk-price { font-size: 18px; margin: 0; }
	.mmkk-panel .mmkk-cta { flex: 1; min-height: 46px; border: 0; border-radius: 999px; background: var(--mmkk-accent); color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; text-transform: none; letter-spacing: normal; box-shadow: none; }
	.mmkk-panel .mmkk-cta:hover { background: var(--mmkk-accent-hover); color: #fff; }
	.mmkk-panel .mmkk-cta[disabled] { opacity: .45; cursor: not-allowed; }
	.mmkk-kbopen .mmkk-bar { display: none; }
	.mmkk-aktywny { padding-bottom: 76px; }
	.mmkk-aktywny form.cart .woocommerce-variation-add-to-cart, .mmkk-aktywny form.cart .single_add_to_cart_button { display: none !important; }
	.mmkk-price { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .mmkk-panel *, .mmkk-stage * { transition: none !important; } }
