/**
 * Polymar Promoções - Estilos do Carrossel*/

.polymar-promocoes-wrapper {
    max-width: 1280px;
    margin: 10px auto 40px auto;
    padding: 0 10px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
}

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

/* ==========================================================================
   Header & Title
   ========================================================================== */
.pm-promo-header {
    text-align: center;
    margin-bottom: 30px;
}

.pm-promo-title {
    font-size: 30px;
    font-weight: 900;
    color: #f5a600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(245, 166, 0, 0.15);
}

/* ==========================================================================
   Slider Container & Track
   ========================================================================== */
.pm-promo-slider-container {
    position: relative;
    padding: 0 6px;
}

.pm-promo-track-wrapper {
    overflow: hidden;
    padding: 15px 4px 50px 4px;
    /* Espaço para o botão inferior não ser cortado */
}

.pm-promo-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* ==========================================================================
   Promotion Card (4 cards visíveis no Desktop)
   ========================================================================== */
.pm-promo-card {
    flex: 0 0 calc(25% - 15px);
    width: calc(25% - 15px);
    max-width: calc(25% - 15px);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    border-radius: 10px;
    background: transparent;
    user-select: none;
    outline: none;
}

/* Caixa com a Imagem ou Vídeo (Proporção idêntica ao banner 380x576) */
.pm-card-media-box {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 380 / 576;
    border-radius: 10px;
    overflow: hidden;
    background-color: #000000;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.pm-promo-card:hover .pm-card-media-box {
    transform: translateY(-8px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

/* Background Media (Image or Video) */
.pm-media-elem {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.85; /* Redução de 15% na opacidade */
    transition: opacity 0.35s ease;
}

.pm-promo-card:hover .pm-media-elem {
    opacity: 1;
}

.pm-media-placeholder {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

/* Overlay gradient for contrast */
.pm-media-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0) 35%,
            rgba(0, 0, 0, 0) 65%,
            rgba(0, 0, 0, 0.38) 100%);
    z-index: 2;
}

/* ==========================================================================
   Default State Badges (Texto na cor BRANCA na div pm-badge-seal)
   ========================================================================== */
.pm-card-default-badges {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.pm-promo-card:hover .pm-card-default-badges {
    opacity: 0;
    transform: translateY(-12px);
}

.pm-badge-seal {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #ffc72c 0%, #f5a600 100%);
    border-radius: 36px 36px 28px 28px / 32px 32px 30px 30px;
    padding: 12px 24px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.7);
    max-width: 86%;
    width: max-content;
    border: 2px solid rgba(255, 255, 255, 0.45);
    color: #ffffff !important;
}

.pm-seal-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 3px;
}

.pm-seal-icon svg {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
    stroke: #ffffff !important;
}

.pm-seal-text,
.pm-badge-seal .pm-seal-text {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff !important;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.pm-seal-sub,
.pm-badge-seal .pm-seal-sub {
    font-size: 9.5px;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* Badge Custom Image */
.pm-badge-custom-img {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 82%;
}

.pm-badge-custom-img img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}

/* Secondary Subtag (ex: "Janeiro, Fevereiro e Março") */
.pm-badge-subtag {
    position: absolute;
    top: 135px;
    left: 16px;
    background: #16BCC1;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(22, 188, 193, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Wave Hover Drawer (#16BCC1 com efeito de ONDA ao passar o mouse)
   ========================================================================== */
.pm-card-hover-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    transform: translateY(105%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.45s;
    pointer-events: none;
}

.pm-promo-card:hover .pm-card-hover-wave {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Top Wave Transition SVG */
.pm-wave-svg-wrap {
    width: 100%;
    height: 46px;
    /* Onda mais pronunciada e elegante */
    margin-bottom: -1px;
    line-height: 0;
    pointer-events: none;
}

.pm-wave-svg-wrap svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Container do Conteúdo com Fundo */
.pm-hover-content {
    background: linear-gradient(180deg, #16BCC1 0%, #0fa5a9 100%);
    padding: 8px 20px 58px 20px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 -4px 16px rgba(22, 188, 193, 0.3);
}

.pm-hover-title {
    font-size: 20px;
    /* Título aumentado */
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.2;
    letter-spacing: 0.4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.pm-hover-desc {
    font-size: 12px;
    /* Reduzido de 14px para 12px conforme solicitado */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.98);
    margin: 0 0 16px 0;
    line-height: 1.45;
    max-width: 95%;
}

/* Benefits Container (Centralizado e flexível para 1, 2 ou 3 itens) */
.pm-hover-benefits {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    margin-bottom: 4px;
}

.pm-benefit-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    flex: 1 1 0;
    max-width: 110px;
}

.pm-benefit-icon {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-benefit-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.pm-benefit-text {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

/* ==========================================================================
   Hanging Price Tag Pill (Botão de Tarifa Ajustado em #16BCC1)
   ========================================================================== */
.pm-card-price-tag {
    position: absolute;
    bottom: -16px;
    /* Posicionamento mais sutil e reduzido */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: linear-gradient(135deg, #18c9ce 0%, #12aab0 100%);
    border-radius: 10px;
    padding: 6px 12px;
    width: auto;
    max-width: 88%;
    min-width: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 8px 24px rgba(22, 188, 193, 0.5);
    white-space: nowrap;
    transition: all 0.25s ease;
}

.pm-promo-card:hover .pm-card-price-tag {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 28px rgba(22, 188, 193, 0.7);
    background: linear-gradient(135deg, #1fe0e6 0%, #14b8bf 100%);
}

.pm-price-prefix {
    font-size: 8px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: left;
    letter-spacing: 0.2px;
}

.pm-price-value {
    font-size: 17px;
    /* Reduzido para harmonizar com o card de 285px */
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1;
}

/* ==========================================================================
   Slider Navigation Arrows (< and >) em #16BCC1
   ========================================================================== */
.pm-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f5a600;
    /* Orange */
    color: #ffffff;
    border: 3px solid #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 4px 16px rgba(245, 166, 0, 0.45);
    outline: none;
    transition: all 0.2s ease;
    padding: 0;
}

.pm-slider-arrow:hover:not(:disabled),
.pm-slider-arrow:focus {
    background: #d99000;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 22px rgba(245, 166, 0, 0.6);
}

.pm-slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.pm-slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pm-slider-prev {
    left: -14px;
}

.pm-slider-next {
    right: -14px;
}

/* Empty State */
.pm-promo-empty {
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 12px;
    color: #718096;
    font-size: 15px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
    .pm-slider-arrow {
        width: 40px;
        height: 40px;
    }

    .pm-slider-prev {
        left: -4px;
    }

    .pm-slider-next {
        right: -4px;
    }
}

@media (max-width: 1140px) {
    .pm-promo-card {
        flex: 0 0 calc(33.333% - 13.33px);
        width: calc(33.333% - 13.33px);
        max-width: calc(33.333% - 13.33px);
    }
}

@media (max-width: 860px) {
    .pm-promo-card {
        flex: 0 0 calc(50% - 10px);
        width: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .pm-slider-arrow {
        width: 40px;
        height: 40px;
    }

    .pm-slider-prev {
        left: -4px;
    }

    .pm-slider-next {
        right: -4px;
    }
}

@media (max-width: 600px) {
    .pm-promo-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .pm-hover-content {
        min-height: 256px;
        padding: 8px 16px 50px 16px;
    }

    .pm-hover-title {
        font-size: 14px;
        /* Reduzido de 16px para 14px */
    }

    .pm-hover-desc {
        font-size: 12px;
        /* Reduzido para 12px */
    }

    .pm-promo-title {
        font-size: 24px;
    }

    .pm-card-price-tag {
        bottom: -16px;
        padding: 6px 14px;
        min-width: 170px;
    }

    .pm-price-value {
        font-size: 16px;
    }
}