﻿/* MARKETAO PRO â€” Ofertas RelÃ¢mpago */
.mk-flash {
    position: relative;
    margin: 8px 0 28px;
}
.mk-flash .container { position: relative; }
.mk-flash__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.mk-flash__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #F59E0B;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.mk-flash__heading h2 {
    margin: 4px 0 2px;
    color: #0F172A;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.02em;
}
.mk-flash__heading p {
    margin: 0;
    color: #64748B;
    font-size: 13px;
}
.mk-flash__tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.mk-flash__timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 9px;
    background: #0F172A;
    color: #94A3B8;
    font-size: 11px;
}
.mk-flash__timer strong {
    color: #FDE047;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    letter-spacing: .04em;
}
.mk-flash__all {
    color: #264240;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
}
.mk-flash__all span { color: #559864; }
.mk-flash__all:hover { color: #559864; }
.mk-flash__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 2px 6px;
}
.mk-flash__viewport::-webkit-scrollbar { display: none; }
.mk-flash__track {
    display: flex;
    gap: 12px;
    align-items: stretch;
}
.mk-flash__slide {
    flex: 0 0 calc((100% - 60px) / 6);
    scroll-snap-align: start;
    min-width: 0;
}
.mk-flash__nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 42, .82);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .18);
    transition: background .2s ease, transform .2s ease;
}
.mk-flash__nav:hover { background: #559864; transform: scale(1.06); }
.mk-flash__nav--prev { inset-inline-start: -10px; }
.mk-flash__nav--next { inset-inline-end: -10px; }
.mk-flash__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}
.mk-flash__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #CBD5E1;
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}
.mk-flash__dot.is-active { width: 22px; background: #F59E0B; }
.mk-flash.is-single .mk-flash__nav,
.mk-flash.is-single .mk-flash__dots { display: none !important; }

/* card */
.mk-flash-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mk-flash-card:hover {
    transform: translateY(-2px);
    border-color: #A7F3D0;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .1);
}
.mk-flash-card__image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #F0F4F9;
}
.mk-flash-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.mk-flash-card:hover .mk-flash-card__image img { transform: scale(1.04); }
.mk-flash-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #F59E0B;
    font-size: 32px;
}
.mk-flash-card__badge {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #F63C3C;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}
.mk-flash-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px;
}
.mk-flash-card__category {
    display: block;
    overflow: hidden;
    color: #64748B;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none !important;
}
.mk-flash-card h3 {
    margin: 4px 0 8px;
    color: #0F172A;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mk-flash-card h3 a { color: inherit; text-decoration: none !important; }
.mk-flash-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
    flex-wrap: wrap;
}
.mk-flash-card__price strong {
    color: #559864;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.01em;
}
.mk-flash-card__price s { color: #94A3B8; font-size: 11px; }
.mk-flash-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    color: #264240;
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none !important;
}
.mk-flash-card__cta span { color: #F59E0B; }

/* small cards inside the slider */
.mk-flash--slider .mk-flash-card__body { padding: 10px; }
.mk-flash--slider .mk-flash-card h3 { font-size: 12.5px; margin: 3px 0 6px; }
.mk-flash--slider .mk-flash-card__price strong { font-size: 14px; }
.mk-flash--slider .mk-flash-card__category { font-size: 9.5px; }
.mk-flash--slider .mk-flash-card__cta { font-size: 10.5px; margin-top: 6px; }

/* page */
.mk-flash-page { background: #FAFCFF; padding-top: 20px; }
.mk-flash-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 4px;
    padding: 54px 0 48px;
    background: radial-gradient(800px 300px at 15% -20%, rgba(245, 158, 11, .22), transparent 60%),
                linear-gradient(135deg, #0B3B2E 0%, #264240 55%, #0F172A 100%);
    color: #fff;
}
.mk-flash-hero__glow {
    position: absolute;
    right: -100px;
    top: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(245, 158, 11, .16);
    filter: blur(60px);
}
.mk-flash-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.mk-flash-hero h1 {
    margin: 8px 0 8px;
    font-size: 48px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.04em;
    color: #fff;
}
.mk-flash-hero p {
    max-width: 560px;
    margin: 0;
    color: #CBD5E1;
    font-size: 15px;
    line-height: 1.6;
}
.mk-flash-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.mk-flash__timer--hero { background: rgba(15, 23, 42, .55); }
.mk-flash-hero__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 170px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(245, 158, 11, .35);
    background: rgba(245, 158, 11, .1);
    color: #F59E0B;
    font-size: 76px;
    box-shadow: inset 0 0 40px rgba(245, 158, 11, .12);
}
.mk-flash-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #559864;
    border-radius: 10px;
    background: #559864;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}
.mk-flash-btn:hover { background: #468156; border-color: #468156; transform: translateY(-1px); }
.mk-flash-btn--ghost {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .3);
    color: #fff !important;
}
.mk-flash-btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.mk-flash-page__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 22px;
    color: #64748B;
    font-size: 13px;
}
.mk-flash-page__bar strong { color: #0F172A; }
.mk-flash-page__bar a { color: #264240; font-weight: 800; text-decoration: none !important; }
.mk-flash-page__bar a span { color: #F59E0B; }
.mk-flash-empty {
    margin: 42px 0;
    padding: 54px 24px;
    border: 1px dashed #CBD5E1;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}
.mk-flash-empty__icon { font-size: 42px; }
.mk-flash-empty h2 { margin: 10px 0 6px; color: #0F172A; font-size: 24px; font-weight: 800; }
.mk-flash-empty p { margin: 0 auto 18px; max-width: 440px; color: #64748B; font-size: 14px; }

body.dark-mode .mk-flash__heading h2,
body.dark-mode .mk-flash-card h3,
body.dark-mode .mk-flash-card__cta,
body.dark-mode .mk-flash-page__bar strong,
body.dark-mode .mk-flash-empty h2 { color: #fff; }
body.dark-mode .mk-flash__heading p,
body.dark-mode .mk-flash-page__bar,
body.dark-mode .mk-flash-empty p { color: #94A3B8; }
body.dark-mode .mk-flash-card,
body.dark-mode .mk-flash-empty { background: #121F3E; border-color: rgba(148, 163, 184, .18); }
body.dark-mode .mk-flash-card__image { background: #1E293B; }
body.dark-mode .mk-flash-page { background: #0F172A; }
body.dark-mode .mk-flash-card__cta { color: #E2E8F0; }
body.dark-mode .mk-flash__nav { background: rgba(15, 23, 42, .9); }

@media (max-width: 991px) {
    .mk-flash__slide { flex-basis: calc((100% - 36px) / 4); }
    .mk-flash__nav--prev { inset-inline-start: 0; }
    .mk-flash__nav--next { inset-inline-end: 0; }
    .mk-flash-hero h1 { font-size: 38px; }
    .mk-flash-hero__mark { width: 130px; height: 130px; font-size: 58px; }
}
@media (max-width: 575px) {
    .mk-flash__header { align-items: flex-start; flex-direction: column; gap: 8px; }
    .mk-flash__heading h2 { font-size: 22px; }
    .mk-flash__tools { width: 100%; justify-content: space-between; }
    .mk-flash__slide { flex-basis: calc((100% - 12px) / 2); }
    .mk-flash__nav { display: none; }
    .mk-flash-page { padding-top: 32px; }
    .mk-flash-hero { padding: 36px 0 32px; }
    .mk-flash-hero h1 { font-size: 34px; }
    .mk-flash-hero p { font-size: 13.5px; }
    .mk-flash-hero__mark { display: none; }
    .mk-flash-hero__actions { align-items: flex-start; flex-direction: column; }
    .mk-flash-page__bar { align-items: flex-start; flex-direction: column; gap: 4px; }
    .mk-flash-card h3 { font-size: 12.5px; }
    .mk-flash-card__body { padding: 10px; }
}


/* compact flash-offer card embedded in product/course/event/job grids */
.mk-flash-mini {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    border: 1px solid #F59E0B;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(245, 158, 11, .12);
}
.mk-flash-mini__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 10px 12px;
    background: linear-gradient(120deg, #F63C3C, #F59E0B);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
}
.mk-flash-mini__head strong { display: inline-flex; gap: 4px; align-items: center; }
.mk-flash-mini__timer {
    padding: 3px 5px;
    border-radius: 5px;
    background: #0F172A;
    color: #FDE047;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9.5px;
    letter-spacing: .04em;
}
.mk-flash-mini__list { display: flex; flex-direction: column; flex: 1; }
.mk-flash-mini__row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 28px 8px 10px;
    border-bottom: 1px solid #F0F4F9;
    color: inherit;
    text-decoration: none !important;
    transition: background .15s ease;
}
.mk-flash-mini__row:hover { background: #FFFBF0; }
.mk-flash-mini__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #F0F4F9;
    color: #F59E0B;
    font-size: 18px;
}
.mk-flash-mini__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-flash-mini__meta { min-width: 0; flex: 1; }
.mk-flash-mini__title {
    display: -webkit-box;
    overflow: hidden;
    color: #0F172A;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.mk-flash-mini__prices { display: flex; align-items: baseline; gap: 4px; margin-top: 3px; flex-wrap: wrap; }
.mk-flash-mini__prices strong { color: #559864; font-size: 12px; font-weight: 800; white-space: nowrap; }
.mk-flash-mini__prices s { color: #94A3B8; font-size: 9px; }
.mk-flash-mini__off { position: absolute; top: 7px; right: 7px; color: #F63C3C; font-size: 9.5px; font-weight: 800; }
.mk-flash-mini__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 9px 10px;
    color: #264240;
    font-size: 10.5px;
    font-weight: 800;
    text-decoration: none !important;
}
.mk-flash-mini__footer span { color: #F59E0B; }
body.dark-mode .mk-flash-mini { background: #121F3E; border-color: rgba(245, 158, 11, .6); }
body.dark-mode .mk-flash-mini__row { border-bottom-color: rgba(148, 163, 184, .14); }
body.dark-mode .mk-flash-mini__row:hover { background: rgba(245, 158, 11, .08); }
body.dark-mode .mk-flash-mini__title { color: #fff; }
body.dark-mode .mk-flash-mini__footer { color: #E2E8F0; }
