/* CSS Gerado pelo Apx Customizer V2 - Ajustado 04/11/2025 */

/* === Banner (Carrossel de Imagens) === */
.carousel-container {
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* garante o corte ao deslocar a imagem */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    object-position: 50% 50%;
    transition: transform .25s ease;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.nav-button {
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: all;
    font-size: 1.5rem;
}

.carousel-container:hover .nav-button {
    opacity: 0.8;
}

.nav-button:hover {
    opacity: 1;
}

/* === Cards com Borda RGB === */
.product_card,
.sc-284a1cfc-6.fruMxE {
    position: relative;
    background: rgba(30, 90, 180, 0.2) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 16px !important;
    color: white !important;
    transition: transform 0.3s ease !important;
    cursor: pointer !important;
    overflow: hidden;
    border: 1px solid transparent;
}

.product_card::before,
.sc-284a1cfc-6.fruMxE::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #00ffff, #0000ff, #8a2be2, #ff00ff, #ff0000);
    background-size: 400% 400%;
    animation: rainbowBorder 8s ease infinite;
    z-index: 0;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.product_card>*,
.sc-284a1cfc-6.fruMxE>* {
    position: relative;
    z-index: 1;
}

@keyframes rainbowBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.product_card:hover,
.sc-284a1cfc-6.fruMxE:hover {
    transform: scale(1.02) !important;
}

.product_card .sc-284a1cfc-28.jXrkhw {
    background: rgba(30, 90, 180, 0.3) !important;
    border: 1px solid rgba(30, 90, 180, 0.5) !important;
}

/* === Mensagem de Boas-Vindas (Overlay) === */
#custom-overlay-wrapper {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    animation: overlayEntrance 0.5s ease forwards;
}

#custom-overlay-wrapper h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

#custom-overlay-wrapper h1 strong {
    color: #8A2BE2;
}

#custom-overlay-wrapper p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 2rem 0;
}

.custom-overlay-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.custom-overlay-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.custom-overlay-btn.primary {
    background-color: #8A2BE2;
    color: white;
}

.custom-overlay-btn.primary:hover {
    filter: brightness(1.2);
}

.custom-overlay-btn.secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.custom-overlay-btn.secondary:hover {
    background-color: white;
    color: #8A2BE2;
}

@keyframes overlayEntrance {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes overlayExit {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* === Pop-ups de Vendas === */
.sales-popup {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9999;
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: all .5s cubic-bezier(0.25, 1, 0.5, 1);
}

.sales-popup.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.sales-popup .popup-icon {
    font-size: 1.5rem;
    color: #32BCAD;
    width: 24px;
    height: 24px;
}

.sales-popup .popup-icon svg {
    fill: currentColor;
}

.sales-popup p {
    margin: 0;
    color: #b3b3b3 !important;
    font-size: 0.9rem;
}

.sales-popup p strong {
    color: #fff !important;
    font-weight: 600;
}

/* === Fundo do Site (restaurado também no mobile) === */
html {
    height: 100%;
    background: url('https://i.imgur.com/J5B020w.png') no-repeat center top fixed !important;
    background-size: cover !important;
    background-color: #000 !important;
}

body,
#root,
main,
.app,
.content,
.container {
    background: transparent !important;
}

html::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .30);
    pointer-events: none;
    z-index: 0;
}

body,
#root,
main,
header,
footer {
    position: relative;
    z-index: 1;
}

/* Mobile: alguns navegadores bugam o 'fixed'; garante exibição e mantém a mesma imagem */
@media (max-width: 768px) {
    html {
        background: url('https://i.imgur.com/J5B020w.png') no-repeat center top scroll !important;
        background-size: cover !important;
        background-color: #000 !important;
    }
}

/* === Banner Responsivo (tamanhos + alinhamento) === */
.carousel-container {
    height: auto !important;
    aspect-ratio: 3 / 1;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Desktop: 320px e puxa mais à esquerda (~8% extra) */
@media (min-width: 993px) {
    .carousel-container {
        max-height: 320px !important;
    }

    .carousel-item img {
        transform: translateX(-12%) !important;
        /* -12% (antes -4%) */
    }
}

/* Tablet: 260px e puxa um pouco à esquerda */
@media (min-width: 601px) and (max-width: 992px) {
    .carousel-container {
        max-height: 260px !important;
    }

    .carousel-item img {
        transform: translateX(-6%) !important;
    }
}

/* Mobile: 900px (bem maior) e puxa 10% à esquerda */
@media (max-width: 600px) {
    .carousel-container {
        max-height: 900px !important;
    }

    .carousel-item img {
        transform: translateX(-10%) !important;
    }
}