/* Black Friday landing page – obsahová stránka Mamigo
   Všetko scopované pod #mamigo-content, triedy s prefixom mg-. 1rem = 15px. */

#mamigo-content {
    --mg-lime: #adcd5b;
    --mg-lime-dark: #8fb13f;
    --mg-lime-soft: #f1f6e2;
    --mg-dark: #152834;
    --mg-teal: #4a7b8c;
    --mg-grey: #5b6872;
    --mg-light: #f5f7fa;
    --mg-line: #e3e8ee;
    --mg-blue: #2ca9d6;
    --mg-red: #c0392b;
    --mg-radius: 14px;
    color: var(--mg-dark);
    font-family: 'Nunito', system-ui, sans-serif;
    line-height: 1.5;
    overflow-x: clip;
}

/* ---------- kontajner = e-shop container ---------- */
#mamigo-content .mg-wrap { width: 100%; margin: 0 auto; padding: 0 15px; }
@media (min-width: 640px)  { #mamigo-content .mg-wrap { max-width: 640px; } }
@media (min-width: 768px)  { #mamigo-content .mg-wrap { max-width: 768px; } }
@media (min-width: 1024px) { #mamigo-content .mg-wrap { max-width: 1024px; } }
@media (min-width: 1280px) { #mamigo-content .mg-wrap { max-width: 1280px; } }

/* ---------- typografia ---------- */
#mamigo-content h1 { font-size: 2.2rem; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 0.2rem 0 0.6rem; }
#mamigo-content h2 { font-size: 1.75rem; line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 0.8rem; }
#mamigo-content .mg-h2--small { font-size: 1.4rem; }
#mamigo-content p { margin: 0; }
#mamigo-content .mg-lead { font-size: 1.067rem; color: #2f4250; }
#mamigo-content .mg-lead--small { font-size: 1rem; }
#mamigo-content .mg-muted { color: var(--mg-grey); font-size: 0.933rem; }
#mamigo-content .mg-eyebrow { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mg-teal); }
#mamigo-content a.mg-link { color: var(--mg-teal); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
#mamigo-content a.mg-link:hover { text-decoration: underline; }
#mamigo-content :focus-visible { outline: 3px solid var(--mg-blue); outline-offset: 2px; border-radius: 6px; }

#mamigo-content .mg-section { padding: 3.5rem 15px; }
#mamigo-content .mg-stack > * + * { margin-top: 1.1rem; }
#mamigo-content .mg-stack--wide > * + * { margin-top: 2rem; }
#mamigo-content .mg-intro { max-width: 46rem; }
#mamigo-content .mg-intro--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
#mamigo-content .mg-intro--row h2 { margin: 0; }

#mamigo-content .mg-breadcrumbs { padding-top: 1rem; padding-bottom: 0.5rem; font-size: 0.867rem; color: var(--mg-grey); }

/* ---------- tlačidlá ---------- */
#mamigo-content .mg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 3.2rem; padding: 0 1.4rem; border-radius: 999px;
    font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
    border: 2px solid transparent; transition: background .15s, transform .1s, box-shadow .15s;
}
#mamigo-content .mg-btn--primary { background: var(--mg-lime); color: var(--mg-dark); box-shadow: 0 8px 22px -10px rgba(143,177,63,.9); }
#mamigo-content .mg-btn--primary:hover { background: var(--mg-lime-dark); }
#mamigo-content .mg-btn--primary:active { transform: translateY(1px); }
#mamigo-content .mg-btn--primary:disabled { opacity: .6; cursor: progress; box-shadow: none; }
#mamigo-content .mg-btn--ghost { background: #fff; color: var(--mg-dark); border-color: var(--mg-dark); }
#mamigo-content .mg-btn--ghost:hover { background: var(--mg-dark); color: #fff; }
#mamigo-content .mg-dark .mg-btn--ghost { background: transparent; color: #fff; border-color: #fff; }

/* ---------- hero / buy box ---------- */
#mamigo-content .mg-hero { display: grid; gap: 1.5rem; padding-top: 0.5rem; padding-bottom: 2.5rem; }
@media (min-width: 1024px) {
    #mamigo-content .mg-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: start; padding-top: 1rem; }
}

#mamigo-content .mg-gallery { display: grid; gap: 0.7rem; }
@media (min-width: 640px) { #mamigo-content .mg-gallery { grid-template-columns: 4.6rem minmax(0, 1fr); } }
#mamigo-content .mg-gallery__stage { position: relative; background: var(--mg-light); border-radius: var(--mg-radius); overflow: hidden; aspect-ratio: 4 / 3; }
#mamigo-content .mg-gallery__stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
#mamigo-content .mg-gallery__rail { display: flex; gap: 0.5rem; order: 2; overflow-x: auto; scrollbar-width: none; }
#mamigo-content .mg-gallery__rail::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { #mamigo-content .mg-gallery__rail { order: 0; flex-direction: column; overflow: visible; } }
#mamigo-content .mg-thumb {
    flex: 0 0 auto; width: 4.6rem; height: 4.6rem; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
    border: 2px solid var(--mg-line); background: var(--mg-light); display: block;
}
#mamigo-content .mg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
#mamigo-content .mg-thumb.is-active { border-color: var(--mg-dark); }
#mamigo-content .mg-thumb--more { display: grid; place-items: center; color: var(--mg-grey); font-size: 0.73rem; font-weight: 700; text-align: center; line-height: 1.2; border-style: dashed; cursor: default; }
#mamigo-content .mg-badge { position: absolute; top: 0.9rem; left: 0.9rem; padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.8rem; font-weight: 800; }
#mamigo-content .mg-badge--lime { background: var(--mg-lime); color: var(--mg-dark); }
#mamigo-content .mg-badge--sale { background: var(--mg-red); color: #fff; left: auto; right: 0.9rem; }

#mamigo-content .mg-buybox > * + * { margin-top: 1rem; }
#mamigo-content .mg-rating { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.867rem; color: var(--mg-grey); text-decoration: none; margin-top: 0 !important; }
#mamigo-content .mg-stars { color: #f3b231; letter-spacing: 0.05em; }
#mamigo-content .mg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; padding-top: 0.4rem; }
#mamigo-content .mg-price__now { font-size: 2rem; font-weight: 800; line-height: 1; }
#mamigo-content .mg-price__was { font-size: 1.1rem; color: var(--mg-grey); }
#mamigo-content .mg-price__note { font-size: 0.8rem; color: var(--mg-grey); width: 100%; }

#mamigo-content .mg-options { border: 0; padding: 0; margin: 0; min-width: 0; }
#mamigo-content .mg-options legend { font-weight: 800; font-size: 0.933rem; padding: 0; margin-bottom: 0.5rem; }
#mamigo-content .mg-options legend span { font-weight: 600; color: var(--mg-grey); }
#mamigo-content .mg-option {
    display: grid; grid-template-columns: 1.3rem minmax(0, 1fr) auto; gap: 0.3rem 0.7rem; align-items: center;
    padding: 0.7rem 0.9rem; border: 2px solid var(--mg-line); border-radius: 12px; cursor: pointer; background: #fff;
    margin-top: 0.45rem;
}
#mamigo-content .mg-option:hover { border-color: #c5cfd8; }
#mamigo-content .mg-option.is-selected { border-color: var(--mg-dark); background: var(--mg-lime-soft); }
#mamigo-content .mg-option input { margin: 0; width: 1.1rem; height: 1.1rem; accent-color: var(--mg-dark); }
#mamigo-content .mg-option__name { font-weight: 800; font-size: 0.933rem; }
#mamigo-content .mg-option__sub { grid-column: 2 / span 2; font-size: 0.8rem; color: var(--mg-grey); }
#mamigo-content .mg-option__price { font-weight: 800; font-size: 0.933rem; white-space: nowrap; }
#mamigo-content .mg-option__price small { font-weight: 600; color: var(--mg-grey); font-size: 0.75rem; display: block; text-align: right; }
#mamigo-content .mg-options__note { font-size: 0.8rem; color: var(--mg-teal); font-weight: 700; margin-top: 0.6rem; }
#mamigo-content .mg-member { padding: 0.8rem 1rem; border-radius: 12px; background: var(--mg-lime-soft); font-size: 0.867rem; }
#mamigo-content .mg-member b { display: block; }

#mamigo-content .mg-buy { display: flex; gap: 0.7rem; align-items: stretch; }
#mamigo-content .mg-qty { display: inline-flex; border: 2px solid var(--mg-line); border-radius: 999px; overflow: hidden; flex: 0 0 auto; }
#mamigo-content .mg-qty__btn { width: 2.8rem; background: #fff; border: 0; font-size: 1.3rem; font-weight: 700; cursor: pointer; color: var(--mg-dark); }
#mamigo-content .mg-qty__btn:hover { background: var(--mg-light); }
#mamigo-content .mg-qty__input { width: 2.8rem; text-align: center; border: 0; font: inherit; font-weight: 800; -moz-appearance: textfield; background: #fff; color: var(--mg-dark); }
#mamigo-content .mg-qty__input::-webkit-outer-spin-button, #mamigo-content .mg-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#mamigo-content .mg-btn--buy { flex: 1 1 auto; font-size: 1rem; padding: 0 1rem; white-space: nowrap; }
@media (min-width: 400px) { #mamigo-content .mg-btn--buy { font-size: 1.067rem; padding: 0 1.4rem; } }
#mamigo-content .mg-message { font-size: 0.867rem; font-weight: 700; min-height: 1.3rem; margin-top: 0.5rem !important; }
#mamigo-content .mg-message:empty { display: none; }
#mamigo-content .mg-message.is-ok { color: #3f7a1f; }
#mamigo-content .mg-message.is-error { color: var(--mg-red); }
#mamigo-content .mg-message a { color: inherit; text-decoration: underline; }

#mamigo-content .mg-stock { display: flex; align-items: center; gap: 0.45rem; font-size: 0.867rem; font-weight: 700; color: #3f7a1f; }
#mamigo-content .mg-stock.is-out { color: var(--mg-grey); }
#mamigo-content .mg-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1rem; padding: 1rem 0 0; border-top: 1px solid var(--mg-line); list-style: none; margin: 1.2rem 0 0; }
#mamigo-content .mg-trust li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.8rem; color: var(--mg-grey); line-height: 1.35; }
#mamigo-content .mg-trust svg { flex: 0 0 auto; color: var(--mg-teal); margin-top: 1px; }

/* ---------- fakty ---------- */
#mamigo-content .mg-facts { background: var(--mg-dark); color: #fff; }
#mamigo-content .mg-facts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); padding: 0; }
@media (min-width: 768px) { #mamigo-content .mg-facts__grid { grid-template-columns: repeat(4, 1fr); } }
#mamigo-content .mg-fact { background: var(--mg-dark); padding: 1.4rem 1rem; text-align: center; }
#mamigo-content .mg-fact b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--mg-lime); line-height: 1.1; }
#mamigo-content .mg-fact span { font-size: 0.8rem; color: rgba(255,255,255,.75); }

/* ---------- dvojstĺpec ---------- */
#mamigo-content .mg-two { display: grid; gap: 2rem; }
@media (min-width: 1024px) { #mamigo-content .mg-two { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } #mamigo-content .mg-two--top { align-items: start; } }
#mamigo-content .mg-figure { border-radius: var(--mg-radius); overflow: hidden; background: var(--mg-light); }
#mamigo-content .mg-figure img { width: 100%; height: 100%; object-fit: cover; }
#mamigo-content .mg-figure--tall { aspect-ratio: 4 / 3; }
#mamigo-content .mg-figure--contain { aspect-ratio: 1; }
#mamigo-content .mg-figure--contain img { object-fit: contain; padding: 1rem; }
#mamigo-content .mg-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
#mamigo-content .mg-checks li { position: relative; padding-left: 1.9rem; }
#mamigo-content .mg-checks li::before {
    content: ""; position: absolute; left: 0; top: 0.2rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--mg-lime);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='white'/><path d='M7 12.5l3.2 3L17 9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='white'/><path d='M7 12.5l3.2 3L17 9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}

/* ---------- svetlé pásy ---------- */
#mamigo-content .mg-band { background: var(--mg-light); padding: 3.5rem 0; }
#mamigo-content .mg-band--lime { background: var(--mg-lime-soft); }
#mamigo-content .mg-personas { display: grid; gap: 1rem; }
@media (min-width: 640px) { #mamigo-content .mg-personas { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { #mamigo-content .mg-personas { grid-template-columns: repeat(4, 1fr); } }
#mamigo-content .mg-persona { background: #fff; border-radius: var(--mg-radius); padding: 1.4rem; border-top: 4px solid var(--mg-lime); }
#mamigo-content .mg-persona b { display: block; font-size: 1.067rem; font-weight: 800; margin-bottom: 0.4rem; line-height: 1.25; }
#mamigo-content .mg-persona p { font-size: 0.933rem; color: var(--mg-grey); }

/* ---------- programy ---------- */
#mamigo-content .mg-programs { display: grid; gap: 2rem; }
@media (min-width: 1024px) { #mamigo-content .mg-programs { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; align-items: start; } }
#mamigo-content .mg-programs__grid { display: grid; gap: 0.9rem; }
@media (min-width: 640px) { #mamigo-content .mg-programs__grid { grid-template-columns: 1fr 1fr; } }
#mamigo-content .mg-program { border: 1px solid var(--mg-line); border-radius: 12px; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; }
#mamigo-content .mg-program b { font-size: 1.067rem; font-weight: 800; }
#mamigo-content .mg-program p { font-size: 0.867rem; color: var(--mg-grey); }
#mamigo-content .mg-chip { align-self: flex-start; font-size: 0.73rem; font-weight: 800; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--mg-lime-soft); color: #4f6b1e; letter-spacing: 0.02em; }

/* ---------- tmavý pás + video + kroky ---------- */
#mamigo-content .mg-dark { background: var(--mg-dark); color: #fff; padding: 3.5rem 0; }
#mamigo-content .mg-dark .mg-lead { color: rgba(255,255,255,.8); }
#mamigo-content .mg-video { position: relative; display: block; border-radius: var(--mg-radius); overflow: hidden; aspect-ratio: 16 / 9; background: #000; text-decoration: none; color: #fff; }
#mamigo-content .mg-video img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
#mamigo-content .mg-video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 4.6rem; height: 4.6rem; border-radius: 50%; background: var(--mg-lime); color: var(--mg-dark); display: grid; place-items: center; }
#mamigo-content .mg-video__caption { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.15rem; }
#mamigo-content .mg-video__caption b { font-size: 1.067rem; }
#mamigo-content .mg-video__caption span { font-size: 0.8rem; color: rgba(255,255,255,.7); }
#mamigo-content .mg-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; counter-reset: none; }
@media (min-width: 768px) { #mamigo-content .mg-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
#mamigo-content .mg-steps li { display: flex; gap: 0.9rem; align-items: flex-start; }
#mamigo-content .mg-steps__num { flex: 0 0 auto; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--mg-lime); color: var(--mg-dark); font-weight: 800; display: grid; place-items: center; font-size: 1.067rem; }
#mamigo-content .mg-steps li > span:last-child { display: block; font-size: 0.933rem; color: rgba(255,255,255,.8); }
#mamigo-content .mg-steps b { display: block; color: #fff; font-size: 1.067rem; margin-bottom: 0.2rem; }

/* ---------- porovnanie ---------- */
#mamigo-content .mg-compare { border: 1px solid var(--mg-line); border-radius: var(--mg-radius); overflow: hidden; }
#mamigo-content .mg-compare__row { display: grid; grid-template-columns: minmax(0, 1.3fr) 1fr 1fr; gap: 0.6rem; padding: 0.85rem 1rem; border-top: 1px solid var(--mg-line); align-items: center; font-size: 0.867rem; }
@media (min-width: 640px) { #mamigo-content .mg-compare__row { font-size: 1rem; padding: 1rem 1.4rem; } }
#mamigo-content .mg-compare__row > span:first-child { color: var(--mg-grey); font-weight: 700; }
#mamigo-content .mg-compare__row > b { font-weight: 800; }
#mamigo-content .mg-compare__row > *:nth-child(2) { background: var(--mg-lime-soft); margin: -0.85rem 0; padding: 0.85rem 0.6rem; align-self: stretch; display: flex; align-items: center; }
@media (min-width: 640px) { #mamigo-content .mg-compare__row > *:nth-child(2) { margin: -1rem 0; padding: 1rem 0.8rem; } }
#mamigo-content .mg-compare__head { border-top: 0; background: #fff; }
#mamigo-content .mg-compare__product { flex-direction: column; gap: 0.4rem; text-align: center; justify-content: center; }
#mamigo-content .mg-compare__product img { width: 4.5rem; height: 4.5rem; object-fit: contain; }
#mamigo-content .mg-compare__product b { font-size: 0.933rem; }
#mamigo-content .mg-compare__price > *:not(:first-child) { font-size: 1.2rem; font-weight: 800; }
#mamigo-content .mg-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }

/* ---------- placeholder ---------- */
#mamigo-content .mg-placeholder { border: 2px dashed #b9c4ce; border-radius: var(--mg-radius); background: #fff; color: var(--mg-grey); font-size: 0.867rem; font-weight: 700; text-align: center; display: grid; place-items: center; padding: 1.5rem; min-height: 8rem; line-height: 1.6; }
#mamigo-content .mg-placeholder--tall { min-height: 16rem; }

/* ---------- parametre + FAQ ---------- */
#mamigo-content .mg-spec-group > b { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mg-teal); margin-bottom: 0.4rem; }
#mamigo-content .mg-spec { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); border-top: 1px solid var(--mg-line); }
#mamigo-content .mg-spec dt, #mamigo-content .mg-spec dd { padding: 0.6rem 0; border-bottom: 1px solid var(--mg-line); margin: 0; font-size: 0.933rem; }
#mamigo-content .mg-spec dt { color: var(--mg-grey); font-weight: 700; padding-right: 1rem; }
#mamigo-content .mg-faq details { border: 1px solid var(--mg-line); border-radius: 12px; margin-bottom: 0.6rem; background: #fff; }
#mamigo-content .mg-faq summary { list-style: none; cursor: pointer; padding: 0.9rem 3rem 0.9rem 1.1rem; font-weight: 800; position: relative; font-size: 0.967rem; }
#mamigo-content .mg-faq summary::-webkit-details-marker { display: none; }
#mamigo-content .mg-faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--mg-lime-soft); display: grid; place-items: center; font-weight: 800; color: var(--mg-dark); }
#mamigo-content .mg-faq details[open] summary::after { content: "−"; }
#mamigo-content .mg-faq details p { padding: 0 1.1rem 1rem; font-size: 0.933rem; color: var(--mg-grey); }

/* ---------- súvisiace produkty ---------- */
#mamigo-content .mg-related { display: grid; gap: 1rem; }
@media (min-width: 640px) { #mamigo-content .mg-related { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { #mamigo-content .mg-related { grid-template-columns: repeat(4, 1fr); } }
#mamigo-content .mg-card { background: #fff; border-radius: var(--mg-radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--mg-line); }
#mamigo-content .mg-card__img { aspect-ratio: 1; background: var(--mg-light); display: grid; place-items: center; }
#mamigo-content .mg-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 0.8rem; }
#mamigo-content .mg-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
#mamigo-content .mg-card__name { font-weight: 800; font-size: 1rem; line-height: 1.3; color: var(--mg-dark); text-decoration: none; }
#mamigo-content .mg-card__name:hover { text-decoration: underline; }
#mamigo-content .mg-card__meta { font-size: 0.8rem; color: var(--mg-grey); }
#mamigo-content .mg-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding-top: 0.5rem; }
#mamigo-content .mg-card__price { font-weight: 800; font-size: 1.067rem; }
#mamigo-content .mg-card__price s { display: block; font-size: 0.8rem; color: var(--mg-grey); font-weight: 600; }
#mamigo-content .mg-card .mg-btn { min-height: 2.6rem; padding: 0 1rem; font-size: 0.867rem; }

/* ---------- sticky CTA (mobil) ---------- */
#mamigo-content .mg-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.7rem 15px calc(0.7rem + env(safe-area-inset-bottom)); background: #fff;
    border-top: 1px solid var(--mg-line); box-shadow: 0 -8px 24px -12px rgba(21,40,52,.35);
    transform: translateY(110%); transition: transform .25s;
}
#mamigo-content .mg-sticky.is-visible { transform: none; }
#mamigo-content .mg-sticky strong { font-size: 1.2rem; font-weight: 800; }
#mamigo-content .mg-sticky .mg-btn { min-height: 2.9rem; }
@media (min-width: 1024px) { #mamigo-content .mg-sticky { display: none; } }

/* =====================================================================
   Black Friday landing page – doplnky k spoločnej šablóne
   ===================================================================== */
#mamigo-content [hidden] { display: none !important; }
#mamigo-content { scroll-behavior: smooth; }
#mamigo-content [id] { scroll-margin-top: 90px; }
#mamigo-content h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
#mamigo-content .mg-bf-narrow { max-width: 54rem; }
#mamigo-content .mg-actions--center { justify-content: center; }
#mamigo-content .mg-checks--small { font-size: 0.933rem; gap: 0.45rem; }

/* ---------- hero ---------- */
#mamigo-content .mg-bf-hero { background: #0d1a22; color: #fff; padding: 2.5rem 0 3rem; position: relative; overflow: hidden; }
#mamigo-content .mg-bf-hero::before { content: ""; position: absolute; right: -8rem; top: -8rem; width: 26rem; height: 26rem; border-radius: 50%; background: radial-gradient(circle, rgba(173,205,91,.28), rgba(173,205,91,0) 70%); pointer-events: none; }
#mamigo-content .mg-bf-hero__inner { position: relative; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { #mamigo-content .mg-bf-hero { padding: 4rem 0 4.5rem; } #mamigo-content .mg-bf-hero__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; } }
#mamigo-content .mg-bf-hero h1 { color: #fff; font-size: 2.1rem; margin: 0; }
@media (min-width: 768px) { #mamigo-content .mg-bf-hero h1 { font-size: 2.9rem; } }
#mamigo-content .mg-bf-hero .mg-lead { color: rgba(255,255,255,.82); font-size: 1.133rem; }
#mamigo-content .mg-bf-tag { display: inline-block; padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--mg-lime); color: var(--mg-dark); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
#mamigo-content .mg-bf-deals { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
#mamigo-content .mg-bf-deals li { position: relative; padding-left: 1.6rem; color: rgba(255,255,255,.88); }
#mamigo-content .mg-bf-deals li::before { content: ""; position: absolute; left: 0; top: 0.5rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--mg-lime); }
#mamigo-content .mg-bf-deals b { color: var(--mg-lime); font-weight: 800; }
#mamigo-content .mg-bf-hero .mg-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
#mamigo-content .mg-bf-hero .mg-btn--ghost:hover { background: #fff; color: var(--mg-dark); }
#mamigo-content .mg-bf-ended { padding: 1rem 1.2rem; border-radius: var(--mg-radius); background: rgba(255,255,255,.1); font-weight: 800; }

/* ---------- odpočet ---------- */
#mamigo-content .mg-bf-clock { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--mg-radius); padding: 1.5rem; text-align: center; }
#mamigo-content .mg-bf-clock__label { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mg-lime); margin-bottom: 0.9rem; }
#mamigo-content .mg-bf-clock__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
#mamigo-content .mg-bf-clock__grid div { background: #fff; color: var(--mg-dark); border-radius: 12px; padding: 0.8rem 0.2rem 0.6rem; }
#mamigo-content .mg-bf-clock__grid b { display: block; font-size: 2rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
#mamigo-content .mg-bf-clock__grid span { font-size: 0.73rem; color: var(--mg-grey); font-weight: 700; }
#mamigo-content .mg-bf-clock__note { font-size: 0.8rem; color: rgba(255,255,255,.7); margin-top: 0.9rem; }
#mamigo-content .mg-bf-clock--inline { max-width: 26rem; margin-left: auto; margin-right: auto; }

/* ---------- pás dôvery ---------- */
#mamigo-content .mg-bf-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.5rem; padding-top: 1.2rem; padding-bottom: 1.2rem; font-size: 0.867rem; font-weight: 700; color: rgba(255,255,255,.85); }
@media (min-width: 1024px) { #mamigo-content .mg-bf-trust { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
#mamigo-content .mg-bf-trust span { position: relative; padding-left: 1.4rem; }
#mamigo-content .mg-bf-trust span::before { content: "✓"; position: absolute; left: 0; color: var(--mg-lime); font-weight: 800; }

/* ---------- rýchly výber ---------- */
#mamigo-content .mg-bf-pick { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { #mamigo-content .mg-bf-pick { grid-template-columns: 1fr 1fr; } }
#mamigo-content .mg-bf-pickcard { border: 1px solid var(--mg-line); border-radius: var(--mg-radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
#mamigo-content .mg-bf-pickcard__img { aspect-ratio: 16 / 10; background: var(--mg-light); overflow: hidden; }
#mamigo-content .mg-bf-pickcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
#mamigo-content .mg-bf-pickcard__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
#mamigo-content .mg-bf-pickcard__body h3 { font-size: 1.6rem; }
#mamigo-content .mg-bf-pickcard__body .mg-btn { margin-top: auto; align-self: flex-start; }
#mamigo-content .mg-bf-pickcard__body .mg-checks { margin-bottom: 1.4rem; }

/* ---------- karty balíčkov ---------- */
#mamigo-content .mg-bf-offers { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { #mamigo-content .mg-bf-offers { grid-template-columns: 1fr 1fr; gap: 2rem; } }
#mamigo-content .mg-bf-offer { background: #fff; border-radius: var(--mg-radius); overflow: hidden; border: 1px solid var(--mg-line); box-shadow: 0 18px 40px -28px rgba(21,40,52,.45); }
#mamigo-content .mg-bf-offer__img { position: relative; aspect-ratio: 3 / 2; background: var(--mg-light); }
#mamigo-content .mg-bf-offer__img img { width: 100%; height: 100%; object-fit: cover; }
#mamigo-content .mg-bf-offer__body { padding: 1.5rem; }
@media (min-width: 640px) { #mamigo-content .mg-bf-offer__body { padding: 1.8rem; } }
#mamigo-content .mg-bf-price { border-top: 1px solid var(--mg-line); padding-top: 1rem; display: grid; gap: 0.5rem; }
#mamigo-content .mg-bf-price__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; }
#mamigo-content .mg-bf-price__row > span { flex: 1 1 auto; color: var(--mg-grey); font-weight: 700; font-size: 0.933rem; }
#mamigo-content .mg-bf-price__row strong { font-size: 1.3rem; font-weight: 800; }
#mamigo-content .mg-bf-price__row s { color: var(--mg-grey); font-size: 0.933rem; }
#mamigo-content .mg-bf-price__row--deal { background: var(--mg-lime-soft); border-radius: 12px; padding: 0.7rem 0.9rem; }
#mamigo-content .mg-bf-price__row--deal > span { color: var(--mg-dark); }
#mamigo-content .mg-bf-price__row--deal strong { font-size: 2rem; line-height: 1; }
#mamigo-content .mg-bf-price__note { font-size: 0.8rem; color: var(--mg-grey); }
#mamigo-content .mg-bf-code { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.7rem 0.9rem; border: 2px dashed var(--mg-lime-dark); border-radius: 12px; font-size: 0.933rem; }
#mamigo-content .mg-bf-code b { font-weight: 800; letter-spacing: 0.04em; font-size: 1.067rem; }
#mamigo-content .mg-bf-code__btn { background: var(--mg-dark); color: #fff; border: 0; border-radius: 999px; padding: 0.45rem 1rem; font: inherit; font-size: 0.8rem; font-weight: 800; cursor: pointer; }
#mamigo-content .mg-bf-code__btn:hover { background: #24404f; }
#mamigo-content .mg-bf-offer .mg-btn--buy { width: 100%; white-space: normal; text-align: center; min-height: 3.6rem; }

/* prepínač farieb (rovnaký ako na stránke Luli Chef Midi) */
#mamigo-content .mg-colors legend span { font-weight: 800; color: var(--mg-dark); }
#mamigo-content .mg-swatches { display: flex; flex-wrap: wrap; gap: 0.6rem; }
#mamigo-content .mg-swatch { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; cursor: pointer; padding: 0.45rem 0.95rem 0.45rem 0.5rem; border: 2px solid var(--mg-line); border-radius: 999px; background: #fff; font-weight: 800; font-size: 0.933rem; }
#mamigo-content .mg-swatch:hover { border-color: #c5cfd8; }
#mamigo-content .mg-swatch.is-selected { border-color: var(--mg-dark); background: var(--mg-lime-soft); }
#mamigo-content .mg-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
#mamigo-content .mg-swatch:focus-within { outline: 3px solid var(--mg-blue); outline-offset: 2px; }
#mamigo-content .mg-swatch__dot { width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid #b9c4ce; flex: 0 0 auto; }

/* ---------- porovnanie bez zvýhodneného stĺpca ---------- */
#mamigo-content .mg-compare--neutral .mg-compare__row > *:nth-child(2) { background: transparent; }
#mamigo-content .mg-compare--neutral .mg-compare__row:nth-child(even) { background: var(--mg-light); }
#mamigo-content .mg-compare--neutral .mg-compare__price { background: var(--mg-lime-soft) !important; }

/* ---------- Mamigo Klub ---------- */
#mamigo-content .mg-bf-klubhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
#mamigo-content .mg-bf-klubhead img { width: 11rem; height: auto; flex: 0 0 auto; }
@media (min-width: 1024px) { #mamigo-content .mg-personas--3 { grid-template-columns: repeat(3, 1fr); } }
#mamigo-content .mg-bf-box { background: #fff; border-radius: var(--mg-radius); padding: 1.2rem 1.4rem; }
#mamigo-content .mg-bf-box b { display: block; font-weight: 800; font-size: 1.067rem; margin-bottom: 0.3rem; }
#mamigo-content .mg-bf-box p { font-size: 0.933rem; color: #2f4250; }

/* ---------- pred kúpou ---------- */
#mamigo-content .mg-bf-answers { display: grid; gap: 1.2rem; }
@media (min-width: 1024px) { #mamigo-content .mg-bf-answers { grid-template-columns: repeat(3, 1fr); } }
#mamigo-content .mg-bf-answer { border: 1px solid var(--mg-line); border-radius: var(--mg-radius); padding: 1.5rem; border-top: 4px solid var(--mg-lime); }
#mamigo-content .mg-bf-answer h3 { font-size: 1.133rem; margin-bottom: 0.7rem; }
#mamigo-content .mg-bf-answer p { font-size: 0.933rem; color: #2f4250; }
#mamigo-content .mg-bf-answer p + p { margin-top: 0.7rem; }
#mamigo-content .mg-faq details p a { color: var(--mg-teal); font-weight: 700; text-decoration: underline; }

/* ---------- záverečné CTA ---------- */
#mamigo-content .mg-bf-final { text-align: center; background: #0d1a22; }
#mamigo-content .mg-bf-final h2 { color: #fff; }
#mamigo-content .mg-bf-legal { font-size: 0.8rem; color: rgba(255,255,255,.6); }
#mamigo-content .mg-bf-legal a { color: rgba(255,255,255,.85); text-decoration: underline; }

/* odstupy v stĺpcoch (prebitie nulových marginov zo šablóny) */
#mamigo-content .mg-bf-hero .mg-stack > h1 { margin-top: 1rem; }
#mamigo-content .mg-stack > .mg-bf-deals,
#mamigo-content .mg-stack > .mg-checks,
#mamigo-content .mg-stack > .mg-options { margin-top: 1.1rem; }

/* rýchly výber: čisté produktové fotky, celý prístroj bez orezu */
#mamigo-content .mg-bf-pickcard__img { aspect-ratio: 16 / 10; background: var(--mg-light); padding: 1.2rem; }
#mamigo-content .mg-bf-pickcard__img img { object-fit: contain; object-position: center; mix-blend-mode: multiply; }
/* fotka MioMatu Classic má okolo prístroja prázdne okraje – zväčšíme ju, aby väčší prístroj nevyzeral menší */
#mamigo-content .mg-bf-pickcard:first-child .mg-bf-pickcard__img img { transform: scale(1.22); }

/* porovnanie: oba stĺpce rovnaké – bez odsadenia druhého stĺpca, hlavička zarovnaná s hodnotami */
#mamigo-content .mg-compare--neutral .mg-compare__row > *:nth-child(2) { margin: 0; padding: 0; display: block; }
#mamigo-content .mg-compare--neutral .mg-compare__head { align-items: end; }
#mamigo-content .mg-compare--neutral .mg-compare__head > .mg-compare__product { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0.5rem; text-align: left; }
#mamigo-content .mg-compare--neutral .mg-compare__product img { width: 4.5rem; height: 4.5rem; object-fit: contain; object-position: left bottom; }
#mamigo-content .mg-compare--neutral .mg-compare__row:not(.mg-compare__head) > *:nth-child(2) { align-self: center; }
#mamigo-content .mg-bf-clock__note a { color: var(--mg-lime); font-weight: 700; text-decoration: underline; }
