/* KERNELCRASH Promocoes */

.kc-promocoes,
.kc-promocoes *,
.kc-promocoes *::before,
.kc-promocoes *::after {
    box-sizing: border-box;
}


/* Container Principal */

.kc-promocoes {
    position: relative;

    width: 100vw !important;
    max-width: none !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding: 45px 30px 90px !important;

    background:
        radial-gradient(circle at 75% 15%,
            rgba(0, 238, 255, 0.08),
            transparent 35%),
        #050812 !important;

    color: #ffffff !important;

    font-family:
        "Courier New",
        Courier,
        monospace;

    overflow: hidden;
}


/* Hero */

.kc-promocoes .kc-hero {
    position: relative;

    width: 100% !important;
    max-width: 1400px !important;

    min-height: 430px;

    margin: 0 auto !important;

    padding: 70px 60px !important;

    display: flex;
    align-items: center;

    background:
        linear-gradient(135deg,
            #070b16 0%,
            #0a1020 60%,
            #091526 100%) !important;

    border: 1px solid #00eaff !important;

    overflow: hidden;
}


/* Grid de fundo */

.kc-promocoes .kc-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(0, 234, 255, 0.055) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(0, 234, 255, 0.055) 1px,
            transparent 1px);

    background-size: 30px 30px;

    pointer-events: none;
}


/* Luz cyberpunk */

.kc-promocoes .kc-hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -160px;
    top: -220px;

    border-radius: 50%;

    background: rgba(255, 0, 200, 0.08);

    filter: blur(80px);

    pointer-events: none;
}


.kc-promocoes .kc-hero-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 950px;
}


/* Badge */

.kc-promocoes .kc-badge {
    display: inline-block !important;

    margin-bottom: 30px !important;

    color: #00efff !important;

    font-size: 13px !important;
    font-weight: 700 !important;

    letter-spacing: 1px;

    opacity: 1 !important;

    text-transform: uppercase;
}


/* Titulo */

.kc-promocoes .kc-hero h1 {
    margin: 0 0 28px !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-family: inherit !important;

    font-size: clamp(42px, 5.2vw, 78px) !important;

    font-weight: 900 !important;

    line-height: 0.95 !important;

    letter-spacing: -3px !important;

    text-transform: uppercase;

    opacity: 1 !important;
}


.kc-promocoes .kc-hero h1 span {
    color: #ff2bc2 !important;

    opacity: 1 !important;

    text-shadow:
        0 0 20px rgba(255, 43, 194, 0.3);
}


/* Descricao */

.kc-promocoes .kc-hero p {
    width: 100% !important;
    max-width: 620px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #b7bfd3 !important;

    font-family: inherit !important;

    font-size: 17px !important;
    font-weight: 400 !important;

    line-height: 1.7 !important;

    opacity: 1 !important;
}


/* Filtros */

.kc-promocoes .kc-filtros {
    width: 100%;
    max-width: 1400px;

    margin: 35px auto !important;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


.kc-promocoes .kc-filtros button {
    appearance: none;

    padding: 13px 22px !important;

    background: #090d18 !important;

    border: 1px solid #273044 !important;

    color: #aeb7cb !important;

    font-family: inherit !important;

    font-size: 13px !important;

    cursor: pointer;

    transition: 0.2s;
}


.kc-promocoes .kc-filtros button:hover,
.kc-promocoes .kc-filtros button.ativo {
    background: #09131c !important;

    border-color: #00efff !important;

    color: #00efff !important;

    transform: translateY(-2px);
}


/* Grid dos Produtos */

.kc-promocoes .kc-grid {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto !important;

    display: grid;

    grid-template-columns:
        repeat(auto-fit,
            minmax(280px, 1fr));

    gap: 22px;
}


/* Cards  */

.kc-promocoes .kc-card {
    margin: 0 !important;

    overflow: hidden;

    background:
        linear-gradient(145deg,
            #0b101d,
            #080b13) !important;

    border: 1px solid #222b3d !important;

    transition:
        transform 0.25s,
        border-color 0.25s,
        box-shadow 0.25s;
}


.kc-promocoes .kc-card:hover {
    transform: translateY(-6px);

    border-color: #00eaff !important;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.35);
}


/* Imagem */

.kc-promocoes .kc-card-imagem {
    position: relative;

    width: 100%;
    height: 230px;

    overflow: hidden;

    background: #111827 !important;
}


.kc-promocoes .kc-card-imagem img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover;

    transition: transform 0.35s;
}


.kc-promocoes .kc-card:hover .kc-card-imagem img {
    transform: scale(1.04);
}


/* Desconto */

.kc-promocoes .kc-desconto {
    position: absolute;

    top: 15px;
    left: 15px;

    z-index: 5;

    padding: 8px 12px !important;

    background: #ff2bc2 !important;

    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: bold !important;

    box-shadow: 4px 4px 0 #121723;
}


/* Conteudo Card */

.kc-promocoes .kc-card-content {
    padding: 24px !important;
}


.kc-promocoes .kc-loja {
    display: block;

    color: #00eaff !important;

    font-size: 12px !important;
    font-weight: bold !important;

    letter-spacing: 1px;

    opacity: 1 !important;
}


.kc-promocoes .kc-card h2 {
    margin: 10px 0 20px !important;

    color: #ffffff !important;

    font-family: inherit !important;

    font-size: 21px !important;
    font-weight: 700 !important;

    line-height: 1.35 !important;

    opacity: 1 !important;
}


/* Precos */

.kc-promocoes .kc-precos {
    display: flex;
    flex-direction: column;

    gap: 3px;

    margin-bottom: 20px;
}


.kc-promocoes .kc-preco-antigo {
    color: #788196 !important;

    font-size: 14px !important;

    text-decoration: line-through;

    opacity: 1 !important;
}


.kc-promocoes .kc-precos strong {
    color: #00ffa3 !important;

    font-size: 29px !important;
    font-weight: 800 !important;

    opacity: 1 !important;
}


/* Botao */

.kc-promocoes .kc-btn {
    display: block !important;

    width: 100% !important;

    padding: 14px 20px !important;

    text-align: center;

    border: 1px solid #00eaff !important;

    background: transparent !important;

    color: #00eaff !important;

    font-family: inherit !important;

    font-size: 13px !important;
    font-weight: bold !important;

    text-decoration: none !important;

    transition: 0.2s;
}


.kc-promocoes .kc-btn:hover {
    background: #00eaff !important;

    color: #030711 !important;

    box-shadow:
        0 0 25px rgba(0, 234, 255, 0.2);
}


/* Tablet */

@media (max-width: 900px) {

    .kc-promocoes {
        padding: 30px 20px 70px !important;
    }

    .kc-promocoes .kc-hero {
        min-height: 370px;

        padding: 50px 35px !important;
    }

}


/* Celular */

@media (max-width: 600px) {

    .kc-promocoes {
        padding: 20px 15px 60px !important;
    }

    .kc-promocoes .kc-hero {
        min-height: 330px;

        padding: 35px 25px !important;
    }


    .kc-promocoes .kc-hero h1 {
        font-size: 42px !important;

        letter-spacing: -2px !important;
    }


    .kc-promocoes .kc-hero p {
        font-size: 15px !important;
    }


    .kc-promocoes .kc-filtros {
        gap: 7px;
    }


    .kc-promocoes .kc-filtros button {
        flex: 1;

        min-width: 130px;

        padding: 11px 10px !important;
    }


    .kc-promocoes .kc-grid {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================
   AJUSTE FINAL DO GRID / CARDS
   ========================================================== */

.kc-promocoes .kc-grid {
    width: 100% !important;
    max-width: 1400px !important;

    margin: 0 auto !important;

    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    gap: 24px !important;

    align-items: start !important;
}


/* Card não pode herdar altura do Kubio */

.kc-promocoes .kc-card {
    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    align-self: start !important;

    display: block !important;

    margin: 0 !important;

    background: #080d18 !important;

    border: 1px solid #1d293a !important;

    overflow: hidden !important;
}


/* Imagem */

.kc-promocoes .kc-card-imagem {
    position: relative !important;

    width: 100% !important;
    height: 210px !important;
    min-height: 210px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background:
        linear-gradient(145deg,
            #111a2a,
            #0b1220) !important;
}


.kc-promocoes .kc-card-imagem img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;

    object-fit: cover !important;
}


/* Conteúdo */

.kc-promocoes .kc-card-content {
    height: auto !important;
    min-height: 0 !important;

    padding: 22px !important;

    display: flex !important;
    flex-direction: column !important;

    gap: 10px !important;
}


/* Loja */

.kc-promocoes .kc-loja {
    margin: 0 !important;
}


/* Título produto */

.kc-promocoes .kc-card h2 {
    margin: 4px 0 8px !important;

    min-height: 0 !important;

    font-size: 18px !important;

    line-height: 1.4 !important;
}


/* Preços */

.kc-promocoes .kc-precos {
    margin: 0 0 10px !important;
}


/* Botão */

.kc-promocoes .kc-btn {
    margin-top: 4px !important;
}


/* Tablet */

@media (max-width: 1100px) {

    .kc-promocoes .kc-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

}


/* Celular */

@media (max-width: 650px) {

    .kc-promocoes .kc-grid {
        grid-template-columns:
            1fr !important;

        gap: 18px !important;
    }


    .kc-promocoes .kc-card-imagem {
        height: 220px !important;
    }

}
